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

1 line
12 KiB
Plaintext
Raw Normal View History

2024-09-19 07:20:14 +08:00
{"version":3,"file":"apply.js","sources":["../../../../../../../src/modules/mall/order/aftersale/apply.vue","../../../../../../../uniPage:/bW9kdWxlc1xtYWxsXG9yZGVyXGFmdGVyc2FsZVxhcHBseS52dWU"],"sourcesContent":["<!-- 售后申请 -->\r\n<template>\r\n <s-layout title=\"申请售后\">\r\n <!-- 售后商品 -->\r\n <view class=\"goods-box\">\r\n <s-goods-item\r\n :img=\"state.item.picUrl\"\r\n :title=\"state.item.spuName\"\r\n :skuText=\"state.item.properties?.map((property) => property.valueName).join(' ')\"\r\n :price=\"state.item.price\"\r\n :num=\"state.item.count\"\r\n />\r\n </view>\r\n\r\n <uni-forms ref=\"form\" v-model=\"formData\" :rules=\"rules\" label-position=\"top\">\r\n <!-- 售后类型 -->\r\n <view class=\"refund-item\">\r\n <view class=\"item-title ss-m-b-20\">售后类型</view>\r\n <view class=\"ss-flex-col\">\r\n <radio-group @change=\"onRefundChange\">\r\n <label\r\n class=\"ss-flex ss-col-center ss-p-y-10\"\r\n v-for=\"(item, index) in state.wayList\"\r\n :key=\"index\"\r\n >\r\n <radio\r\n :checked=\"formData.type === item.value\"\r\n color=\"var(--ui-BG-Main)\"\r\n style=\"transform: scale(0.8)\"\r\n :value=\"item.value\"\r\n />\r\n <view class=\"item-value ss-m-l-8\">{{ item.text }}</view>\r\n </label>\r\n </radio-group>\r\n </view>\r\n </view>\r\n <!-- 退款金额 -->\r\n <view class=\"refund-item ss-flex ss-col-center ss-row-between\" @tap=\"state.showModal = true\">\r\n <text class=\"item-title\">退款金额</text>\r\n <view class=\"ss-flex refund-cause ss-col-center\">\r\n <text class=\"ss-m-r-20\">¥{{ fen2yuan(state.item.payPrice) }}</text>\r\n </view>\r\n </view>\r\n <!-- 申请原因 -->\r\n <view class=\"refund-item ss-flex ss-col-center ss-row-between\" @tap=\"state.showModal = true\">\r\n <text class=\"item-title\">申请原因</text>\r\n <view class=\"ss-flex refund-cause ss-col-center\">\r\n <text class=\"ss-m-r-20\" v-if=\"formData.applyReason\">{{ formData.applyReason }}</text>\r\n <text class=\"ss-m-r-20\" v-else>请选择申请原因~</text>\r\n <text class=\"cicon-forward\" style=\"height: 28rpx\"></text>\r\n </view>\r\n </view>\r\n\r\n <!-- 留言 -->\r\n <view class=\"refund-item\">\r\n <view class=\"item-title ss-m-b-20\">相关描述</view>\r\n <view class=\"describe-box\">\r\n <uni-easyinput\r\n :inputBorder=\"false\"\r\n class=\"describe-content\"\r\n type=\"textarea\"\r\n maxlength=\"120\"\r\n autoHeight\r\n v-model=\"formData.applyDescription\"\r\n placeholder=\"客官~请描述您遇到的问题,建议上传照片\"\r\n />\r\n <!-- TODO 芋艿:上传的测试 -->\r\n <view class=\"upload-img\">\r\n <s-uploader\r\n v-model:url=\"formData.images\"\r\n fileMediatype=\"image\"\r\n limit=\"9\"\r\n mode=\"grid\"\r\n :imageStyles=\"{ width: '168rpx', height: '168rpx' }\"\r\n />\r\n </view>\r\n </view>\r\n </view>\r\n </uni-forms>\r\n\r\n <!-- 底部按钮 -->\r\n <su-fixed bottom placeholder>\r\n <view class=\"foot-wrap\">\r\n <view class=\"foot_box ss-flex ss-col-center ss-row-between ss-p-x-30\">\r\n <button\r\n class=\"ss-reset-button contcat-btn\"\r\n @tap=\"sheep.$router.go('/modules/mall/chat/index')\"\r\n >\r\n 联系客服\r\n </button>\r\n <button class=\"ss-reset-button ui-BG-Main-Gradient sub-btn\" @tap=\"submit\">提交</button>\r\n </view>\r\n </view>\r\n </su-fixed>\r\n\r\n <!-- 申请原因弹窗 -->\r\n <su-popup :show=