acdr-ui/dist/dev/mp-weixin/modules/mall/order/detail.js.map

1 line
23 KiB
Plaintext
Raw Normal View History

2024-09-19 07:20:14 +08:00
{"version":3,"file":"detail.js","sources":["../../../../../../src/modules/mall/order/detail.vue","../../../../../../uniPage:/bW9kdWxlc1xtYWxsXG9yZGVyXGRldGFpbC52dWU"],"sourcesContent":["<!-- 订单详情 -->\r\n<template>\r\n <s-layout title=\"订单详情\" class=\"index-wrap\" navbar=\"inner\">\r\n <!-- 订单状态 TODO -->\r\n <view\r\n class=\"state-box ss-flex-col ss-col-center ss-row-right\"\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 ss-m-t-32 ss-m-b-20\">\r\n <image\r\n v-if=\"\r\n state.orderInfo.status_code == 'unpaid' ||\r\n state.orderInfo.status === 10 || // 待发货\r\n state.orderInfo.status_code == 'nocomment'\r\n \"\r\n class=\"state-img\"\r\n :src=\"sheep.$url.static('/static/img/shop/order/order_loading.png')\"\r\n ></image>\r\n <image\r\n v-if=\"\r\n state.orderInfo.status_code == 'completed' ||\r\n state.orderInfo.status_code == 'refund_agree'\r\n \"\r\n class=\"state-img\"\r\n :src=\"sheep.$url.static('/static/img/shop/order/order_success.png')\"\r\n ></image>\r\n <image\r\n v-if=\"state.orderInfo.status_code == 'cancel' || state.orderInfo.status_code == 'closed'\"\r\n class=\"state-img\"\r\n :src=\"sheep.$url.static('/static/img/shop/order/order_close.png')\"\r\n ></image>\r\n <image\r\n v-if=\"state.orderInfo.status_code == 'noget'\"\r\n class=\"state-img\"\r\n :src=\"sheep.$url.static('/static/img/shop/order/order_express.png')\"\r\n ></image>\r\n <view class=\"ss-font-30\">{{ formatOrderStatus(state.orderInfo) }}</view>\r\n </view>\r\n <view class=\"ss-font-26 ss-m-x-20 ss-m-b-70\">\r\n {{ formatOrderStatusDescription(state.orderInfo) }}\r\n </view>\r\n </view>\r\n\r\n <!-- 收货地址 -->\r\n <view class=\"order-address-box\" v-if=\"state.orderInfo.receiverAreaId > 0\">\r\n <view class=\"ss-flex ss-col-center\">\r\n <text class=\"address-username\">\r\n {{ state.orderInfo.receiverName }}\r\n </text>\r\n <text class=\"address-phone\">{{ state.orderInfo.receiverMobile }}</text>\r\n </view>\r\n <view class=\"address-detail\">\r\n {{ state.orderInfo.receiverAreaName }} {{ state.orderInfo.receiverDetailAddress }}\r\n </view>\r\n </view>\r\n\r\n <view\r\n class=\"detail-goods\"\r\n :style=\"[{ marginTop: state.orderInfo.receiverAreaId > 0 ? '0' : '-40rpx' }]\"\r\n >\r\n <!-- 订单信 -->\r\n <view class=\"order-list\" v-for=\"item in state.orderInfo.items\" :key=\"item.goods_id\">\r\n <view class=\"order-card\">\r\n <s-goods-item\r\n @tap=\"onGoodsDetail(item.spuId)\"\r\n :img=\"item.picUrl\"\r\n :title=\"item.spuName\"\r\n :skuText=\"item.properties.map((property) => property.valueName).join(' ')\"\r\n :price=\"item.price\"\r\n :num=\"item.count\"\r\n >\r\n <template #tool>\r\n <view class=\"ss-flex\">\r\n <button\r\n class=\"ss-reset-button apply-btn\"\r\n v-if=\"[10, 20, 30].includes(state.orderInfo.status) && item.afterSaleStatus === 0\"\r\n @tap.stop=\"\r\n sheep.$router.go('/modules/mall/order/aftersale/apply', {\r\n orderId: state.orderInfo.id,\r\n itemId: item.id,\r\n })\r\n \"\r\n >\r\n 申请售后\r\n </button>\r\n <button\r\n class=\"ss-reset-button apply-btn\"\r\n v-if=\"item.afterSaleStatus === 10\"\r\n @tap.stop=\"\r\n sheep.$rou