1 line
12 KiB
Plaintext
1 line
12 KiB
Plaintext
|
{"version":3,"file":"detail.js","sources":["../../../../../../../src/modules/mall/order/aftersale/detail.vue","../../../../../../../uniPage:/bW9kdWxlc1xtYWxsXG9yZGVyXGFmdGVyc2FsZVxkZXRhaWwudnVl"],"sourcesContent":["<!-- 售后详情 -->\r\n<template>\r\n <s-layout title=\"售后详情\" :navbar=\"!isEmpty(state.info) && state.loading ? 'inner' : 'normal'\">\r\n <view class=\"content_box\" v-if=\"!isEmpty(state.info) && state.loading\">\r\n <!-- 步骤条 -->\r\n <view\r\n class=\"steps-box ss-flex\"\r\n :style=\"[\r\n {\r\n marginTop: '-' + Number(statusBarHeight + 88) + 'rpx',\r\n paddingTop: Number(statusBarHeight + 88) + 'rpx',\r\n },\r\n ]\"\r\n >\r\n <view class=\"ss-flex\">\r\n <view class=\"steps-item\" v-for=\"(item, index) in state.list\" :key=\"index\">\r\n <view class=\"ss-flex\">\r\n <text\r\n class=\"sicon-circleclose\"\r\n v-if=\"state.list.length - 1 === index && [61, 62, 63].includes(state.info.status)\"\r\n />\r\n <text\r\n class=\"sicon-circlecheck\"\r\n v-else\r\n :class=\"state.active >= index ? 'activity-color' : 'info-color'\"\r\n />\r\n\r\n <view\r\n v-if=\"state.list.length - 1 !== index\"\r\n class=\"line\"\r\n :class=\"state.active >= index ? 'activity-bg' : 'info-bg'\"\r\n />\r\n </view>\r\n <view\r\n class=\"steps-item-title\"\r\n :class=\"state.active >= index ? 'activity-color' : 'info-color'\"\r\n >\r\n {{ item.title }}\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n\r\n <!-- 服务状态 -->\r\n <view\r\n class=\"status-box ss-flex ss-col-center ss-row-between ss-m-x-20\"\r\n @tap=\"sheep.$router.go('/modules/mall/order/aftersale/log', { id: state.id })\"\r\n >\r\n <view class=\"\">\r\n <view class=\"status-text\">\r\n {{ formatAfterSaleStatusDescription(state.info) }}\r\n </view>\r\n <view class=\"status-time\">\r\n {{ sheep.$helper.timeFormat(state.info.updateTime, 'yyyy-mm-dd hh:MM:ss') }}\r\n </view>\r\n </view>\r\n <text class=\"ss-iconfont _icon-forward\" style=\"color: #666\" />\r\n </view>\r\n\r\n <!-- 退款金额 -->\r\n <view class=\"aftersale-money ss-flex ss-col-center ss-row-between\">\r\n <view class=\"aftersale-money--title\">退款总额</view>\r\n <view class=\"aftersale-money--num\">¥{{ fen2yuan(state.info.refundPrice) }}</view>\r\n </view>\r\n <!-- 服务商品 -->\r\n <view class=\"order-shop\">\r\n <s-goods-item\r\n :img=\"state.info.picUrl\"\r\n :title=\"state.info.spuName\"\r\n :titleWidth=\"480\"\r\n :skuText=\"state.info.properties.map((property) => property.valueName).join(' ')\"\r\n :num=\"state.info.count\"\r\n />\r\n </view>\r\n\r\n <!-- 服务内容 -->\r\n <view class=\"aftersale-content\">\r\n <view class=\"aftersale-item ss-flex ss-col-center\">\r\n <view class=\"item-title\">服务单号:</view>\r\n <view class=\"item-content ss-m-r-16\">{{ state.info.no }}</view>\r\n <button class=\"ss-reset-button copy-btn\" @tap=\"onCopy\">复制</button>\r\n </view>\r\n <view class=\"aftersale-item ss-flex ss-col-center\">\r\n <view class=\"item-title\">申请时间:</view>\r\n <view class=\"item-content\">\r\n {{ sheep.$helper.timeFormat(state.info.createTime, 'yyyy-mm-dd hh:MM:ss') }}\r\n </view>\r\n </view>\r\n <view class=\"aftersale-item ss-flex ss-col-center\">\r\n <view class=\"item-title\">售后类型:</view>\r\n <view class=\"item-content\">{{ state.info.way === 10 ? '仅退款' : '退款退货' }}</view>\r
|