1 line
8.5 KiB
Plaintext
1 line
8.5 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/applyAfterSales/applyAfterSales.vue?f191","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/applyAfterSales/applyAfterSales.vue?2da5","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/applyAfterSales/applyAfterSales.vue?b9c4","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/applyAfterSales/applyAfterSales.vue?402c","uni-app:///pagesA/applyAfterSales/applyAfterSales.vue"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,4H;AACAA,UAAU,CAACC,wBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAA4H;AAC5H;AACmE;AACL;;;AAG9D;AACmL;AACnL,gBAAgB,uLAAU;AAC1B,EAAE,qFAAM;AACR,EAAE,0FAAM;AACR,EAAE,mGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,8FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA4rB,CAAgB,2qBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+BhtB;AACA,MADA,kBACA;AACA;AACA,qBADA;AAEA,kBAFA;AAGA,iBAHA;AAIA,oBAJA;AAKA,gDALA;;AAOA,GATA;AAUA,UAVA,sBAUA;AACA;AACA,GAZA;AAaA,QAbA,oBAaA;AACA;AACA,GAfA;AAgBA,QAhBA,oBAgBA;AACA;AACA,GAlBA;AAmBA;AACA;AACA,aAFA,qBAEA,EAFA,EAEA;AACA;AACA;AACA,OAFA,EAEA,mBAFA;AAGA,KANA;AAOA,UAPA,oBAOA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAFA,EAEA,IAFA;AAGA;AACA,SATA,EASA,mBATA;AAUA;AACA,KAxBA,EAnBA,E","file":"pagesA/applyAfterSales/applyAfterSales.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pagesA/applyAfterSales/applyAfterSales.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./applyAfterSales.vue?vue&type=template&id=707bc9a9&\"\nvar renderjs\nimport script from \"./applyAfterSales.vue?vue&type=script&lang=js&\"\nexport * from \"./applyAfterSales.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pagesA/applyAfterSales/applyAfterSales.vue\"\nexport default component.exports","export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./applyAfterSales.vue?vue&type=template&id=707bc9a9&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./applyAfterSales.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./applyAfterSales.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"\">\n <!-- 使用标题栏 -->\r\n <status-nav :statusBackw=\"true\" :statusTitle=\"true\" :title-val=\"'申请售后'\" :tabcolor=\"'#ffffff'\"></status-nav>\r\n <view :style=\"{paddingTop:statusHNH+'px'}\">\r\n <view class=\"bacb margin-s20 padding-s30 padding-zy20 padding-x40\">\r\n <view class=\"margin-x20 fon24 color33\">订单号:{{afterOrder.orderId}}</view>\r\n <view class=\"dis borbot padding-x30 \">\r\n <image class=\"flexs goodsImg\" :src=\"afterOrder.skuList[0].src\" mode=\"\"></image>\r\n <view class=\"margin-z20 margin-y30 width100\">\r\n <view class=\"clips2 fon28\">{{afterOrder.skuList[0].title}}</view>\r\n <view class=\"fon24 color9 margin-s10\">{{afterOrder.skuList[0].cate}}</view>\r\n </view>\r\n <view class=\"margin-z20 \" style=\"text-align: right;\">\r\n <view class=\"fon24 bold\">¥<text class=\"fon32\">{{afterOrder.skuList[0].price}}</text>.0</view>\r\n <view class=\"margin-s10\" style=\"font-size: 30rpx;color: #6f6f6f;\">共{{afterOrder.skuList[0].num}}件</view>\r\n </view>\r\n </view>\r\n <view class=\"padding-s30 margin-x20\">申请售后原因</view>\r\n <view style=\"background-color: #f6f6f6;padding: 20rpx;height: 230rpx;border-radius: 8rpx;\">\r\n <textarea v-model=\"content\" style=\"background-color: #f6f6f6;width: 100%;font-size: 26rpx;height: 100%;\" placeholder=\"请输入不想要的原因\" />\r\n </view>\r\n </view>\r\n <view class=\"disbc\">\r\n <button class=\"businessbtn\" :disabled=\"disabled\" @tap=\"submit\">{{btncon}}</button>\r\n </view>\r\n </view>\r\n </view>\n</template>\n\n<script>\n export default {\n data() {\n return {\r\n disabled:false,\r\n btncon:'提交',\r\n content:'',\r\n\t\t\t\tafterOrder:{},\r\n\t\t\t\tstatusHNH:uni.getStorageSync('statusHNH')\r\n }\n },\r\n\t\tonUnload() {\r\n\t\t\tuni.removeStorageSync('afterOrder')\r\n\t\t},\r\n onLoad() {\r\n\t\t\tthis.afterOrder = uni.getStorageSync('afterOrder')\r\n },\r\n\t\tonShow() {\r\n\t\t\tthis.$toolAll.tools.guoq()\r\n\t\t},\n methods: {\r\n\t\t\t// 获取要申请售后的订单信息\r\n\t\t\tcheckInfo(id){\r\n\t\t\t\tthis.$requst.post('order/get-after-sale-list',{order_id:id}).then(res=>{\r\n\t\t\t\t\t// console.log('售后订单信息',res);\r\n\t\t\t\t},error=>{})\r\n\t\t\t},\n submit(){\r\n if(!this.content){\r\n this.$toolAll.tools.showToast('请输入原因')\r\n } else {\r\n\t\t\t\t\tthis.disabled = true\r\n\t\t\t\t\tthis.btncon = '正在提交...'\r\n\t\t\t\t\tthis.$requst.post('order/after-sale-apply',{order_id:this.afterOrder.id,description:this.content}).then(res=>{\r\n\t\t\t\t\t\t// console.log(res);\r\n\t\t\t\t\t\tif(res.code==0){\r\n\t\t\t\t\t\t\tthis.btncon = '提交'\r\n\t\t\t\t\t\t\tthis.$toolAll.tools.showToast('恭喜售后申请成功(*^▽^*)')\r\n\t\t\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t\t\tuni.navigateBack({delta:1})\r\n\t\t\t\t\t\t\t},1000)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},error=>{})\r\n }\r\n }\n }\n }\n</script>\n\n<style>\n</style>\n"],"sourceRoot":""} |