1 |
- {"version":3,"sources":["uni-app:///main.js","webpack:///G:/item/appBase/pages/order/createOrder.vue?ca1d","webpack:///G:/item/appBase/pages/order/createOrder.vue?5b96","webpack:///G:/item/appBase/pages/order/createOrder.vue?c05b","webpack:///G:/item/appBase/pages/order/createOrder.vue?6560","uni-app:///pages/order/createOrder.vue","webpack:///G:/item/appBase/pages/order/createOrder.vue?655d","webpack:///G:/item/appBase/pages/order/createOrder.vue?1849"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,yG;AACAA,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwH;AACxH;AAC+D;AACL;AACc;;;AAGxE;AAC2K;AAC3K,gBAAgB,oLAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,sFAAM;AACR,EAAE,+FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrBA;AAAA;AAAA;AAAA;AAAmoB,CAAgB,wpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8JvpB;AACA;AACA,+D;AACA;AACA,MADA,kBACA;AACA;AACA;AACA,8mIAFA;AAGA;AACA,wBAJA;AAKA;AACA;AACA,gBADA;AAEA,oBAFA,EADA;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AACA,uCAHA,EAGA;AACA,sCAJA,CAIA;AAJA;AAMA,UANA,CAMA;AACA;AACA;AACA;AACA;AACA;AACA,OAZA;AAaA,WAbA,CAaA;AACA;AACA;AACA;AACA,OAjBA;AAkBA,KAhDA;AAiDA;AACA,mBAlDA,6BAkDA;AACA;AACA,KApDA;AAqDA;AACA,aAtDA,qBAsDA,IAtDA,EAsDA;AACA;AACA;AACA,KAzDA;AA0DA;AACA,gBA3DA,wBA2DA,KA3DA,EA2DA;AACA;AACA;AACA;AACA;AACA;AACA,OALA;AAMA,KAlEA;AAmEA;AACA,YApEA,oBAoEA,KApEA,EAoEA;AACA;AACA,KAtEA;AAuEA;AACA,cAxEA,sBAwEA,IAxEA,EAwEA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,KAFA;AAGA,KA/EA;AAgFA,YAhFA,sBAgFA;AACA;AACA;AACA;AACA,qCAFA,CAEA;AACA,uCAHA,CAGA;AACA,qCAJA,CAIA;AACA;AACA;AACA;AACA;AACA,OATA;AAUA,KA5FA;AA6FA;AACA,gBA9FA,wBA8FA,IA9FA,EA8FA;AACA;AACA,KAhGA;AAiGA;AACA,iBAlGA,yBAkGA,IAlGA,EAkGA;AACA;AACA,KApGA;AAqGA;AACA,UAtGA,oBAsGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBADA;;AAGA,KAtHA,EAvFA,E;;;;;;;;;;;;;ACjKA;AAAA;AAAA;AAAA;AAA6pC,CAAgB,8nCAAG,EAAC,C;;;;;;;;;;;ACAjrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/order/createOrder.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/order/createOrder.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./createOrder.vue?vue&type=template&id=354cd270&\"\nvar renderjs\nimport script from \"./createOrder.vue?vue&type=script&lang=js&\"\nexport * from \"./createOrder.vue?vue&type=script&lang=js&\"\nimport style0 from \"./createOrder.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\work\\\\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 = \"pages/order/createOrder.vue\"\nexport default component.exports","export * from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./createOrder.vue?vue&type=template&id=354cd270&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n _vm.couponListshow ? _vm.toggleMask(\"show\") : \"\"\n }\n\n _vm.e1 = function($event) {\n _vm.checkedPoints = !_vm.checkedPoints\n }\n\n _vm.e2 = function($event) {\n _vm.payType ? _vm.submit() : \"\"\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./createOrder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./createOrder.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<view class=\"navbar\">\r\n\t\t\t<view v-for=\"(item, index) in navList\" :key=\"index\" class=\"nav-item\" :class=\"{ current: tabCurrentIndex === index }\" @click=\"tabClick(index)\">{{ item.text }}</view>\r\n\t\t</view>\r\n\r\n\t\t<!-- 地址 -->\r\n\t\t<navigator v-if=\"tabCurrentIndex == 0\" url=\"/pages/set/address?source=1\" class=\"address-section\">\r\n\t\t\t<view class=\"order-content\" v-if=\"addressData.real_name\">\r\n\t\t\t\t<text class=\"iconfont iconlocation\"></text>\r\n\t\t\t\t<view class=\"cen\">\r\n\t\t\t\t\t<view class=\"top\">\r\n\t\t\t\t\t\t<text class=\"name\">{{ addressData.real_name }}</text>\r\n\t\t\t\t\t\t<text class=\"mobile\">{{ addressData.phone }}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<text class=\"address\">{{ addressData.province + addressData.city + addressData.district }} {{ addressData.detail }}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<text class=\"iconfont iconenter\"></text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"order-content\" v-if=\"!addressData.real_name\">\r\n\t\t\t\t<view class=\"addAddress\">\r\n\t\t\t\t\t<text class=\"iconfont iconaddition\"></text>\r\n\t\t\t\t\t<text>添加收货地址</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\r\n\t\t\t<image class=\"a-bg\" :src=\"addressImg\"></image>\r\n\t\t</navigator>\r\n\t\t<navigator v-if=\"tabCurrentIndex == 1\" url=\"/pages/address/shopList\" class=\"address-section\">\r\n\t\t\t<view class=\"order-content\" v-if=\"shopAddress.name\">\r\n\t\t\t\t<text class=\"iconfont iconlocation\"></text>\r\n\t\t\t\t<view class=\"cen\">\r\n\t\t\t\t\t<view class=\"top\">\r\n\t\t\t\t\t\t<text class=\"name\">{{ shopAddress.name }}</text>\r\n\t\t\t\t\t\t<text class=\"mobile\">{{ shopAddress.mobile }}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<text class=\"address\">{{ shopAddress.address }} {{ shopAddress.area }}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<text class=\"iconfont iconenter\"></text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"order-content\" v-if=\"!shopAddress.name\">\r\n\t\t\t\t<text class=\"addAddress\">\r\n\t\t\t\t\t<text class=\"iconfont iconaddition\"></text>\r\n\t\t\t\t\t<text>添加收货地址</text>\r\n\t\t\t\t</text>\r\n\t\t\t</view>\r\n\r\n\t\t\t<image class=\"a-bg\" :src=\"addressImg\"></image>\r\n\t\t</navigator>\r\n\r\n\t\t<view class=\"goods-section\" v-for=\"(ls, ind) in shopList\" :key=\"ind\">\r\n\t\t\t<!-- <view class=\"g-header b-b\">\r\n\t\t\t\t<image class=\"logo\" :src=\"ls.productInfo.image\"></image>\r\n\t\t\t\t<text class=\"name\">{{ ls.name }}</text>\r\n\t\t\t</view> -->\r\n\t\t\t<!-- 商品列表 -->\r\n\t\t\t<view class=\"g-item\">\r\n\t\t\t\t<image :src=\"ls.productInfo.image\"></image>\r\n\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t<text class=\"title clamp\">{{ ls.productInfo.store_name }}</text>\r\n\t\t\t\t\t<text class=\"spec\">{{ ls.productInfo.attrInfo ? ls.productInfo.attrInfo.suk : '默认' }}</text>\r\n\t\t\t\t\t<view class=\"price-box\">\r\n\t\t\t\t\t\t<text class=\"price\">¥{{ ls.productInfo.attrInfo ? ls.productInfo.attrInfo.price : ls.productInfo.price }}</text>\r\n\t\t\t\t\t\t<text class=\"number\">{{ 'x ' + ls.cart_num + (ls.productInfo.unit_name || '') }}</text>\r\n\t\t\t\t\t\t<!-- <view><text class=\"price\">¥{{lss.price}}</text></view> -->\r\n\t\t\t\t\t\t<!-- <view class=\"number\">\r\n\t\t\t\t\t\t\t<uni-number-box class=\"step\" :value=\"lss.number\" :index=\"indx\" @eventChange=\"numberChange\"></uni-number-box>\r\n\t\t\t\t\t\t</view> -->\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<!-- 优惠明细 -->\r\n\t\t<view class=\"yt-list\">\r\n\t\t\t<view class=\"yt-list-cell b-b\" @click=\"couponListshow ? toggleMask('show') : ''\">\r\n\t\t\t\t<view class=\"cell-icon\">券</view>\r\n\t\t\t\t<text class=\"cell-tit clamp\">优惠券</text>\r\n\t\t\t\t<text class=\"cell-tip active\" v-if=\"couponListshow && !couponChecked.coupon_price\">选择优惠券</text>\r\n\t\t\t\t<text class=\"cell-tip red\" v-if=\"couponChecked.coupon_price\">-¥{{ couponChecked.coupon_price }}</text>\r\n\t\t\t\t<text class=\"cell-tip disabled\" v-if=\"!couponListshow && !couponChecked.coupon_price\">没有优惠券</text>\r\n\t\t\t\t<text class=\"cell-more wanjia wanjia-gengduo-d\"></text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"yt-list-cell b-b\" v-if=\"moneyAll.storeFreePostage > 0\">\r\n\t\t\t\t<view class=\"cell-icon hb\">减</view>\r\n\t\t\t\t<text class=\"cell-tit clamp\">商家促销</text>\r\n\t\t\t\t<text class=\"cell-tip disabled\">满{{ moneyAll.storeFreePostage }}包邮</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 金额明细 -->\r\n\t\t<view class=\"yt-list\">\r\n\t\t\t<!-- <view class=\"yt-list-cell b-b\">\r\n\t\t\t\t<text class=\"cell-tit clamp\">优惠金额</text>\r\n\t\t\t\t<text class=\"cell-tip red\">-¥35</text>\r\n\t\t\t</view> -->\r\n\t\t\t<view class=\"yt-list-cell b-b\">\r\n\t\t\t\t<text class=\"cell-tit clamp\">积分抵扣{{ '(当前积分:' + integralAll + ')' }}</text>\r\n\t\t\t\t<view class=\"cell-tip\"><radio @click=\"checkedPoints = !checkedPoints\" color=\" #5dbc7c\" :checked=\"checkedPoints\" /></view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"yt-list-cell b-b\">\r\n\t\t\t\t<text class=\"cell-tit clamp\">运费</text>\r\n\t\t\t\t<text class=\"cell-tip\">{{ Postage }}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"yt-list-cell b-b\">\r\n\t\t\t\t<text class=\"cell-tit clamp\">备注</text>\r\n\t\t\t\t<input class=\"desc\" type=\"text\" v-model=\"desc\" placeholder=\"请填写备注信息\" placeholder-class=\"placeholder\" />\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"yt-list\">\r\n\t\t\t<view class=\"yt-list-cell b-b\">\r\n\t\t\t\t<text class=\"cell-tit clamp\">商品金额</text>\r\n\t\t\t\t<text class=\"cell-tip\">¥{{ payAllMoney }}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"yt-list-cell b-b\" v-if=\"checkedPoints && integralShow\">\r\n\t\t\t\t<text class=\"cell-tit clamp\">积分抵扣</text>\r\n\t\t\t\t<text class=\"cell-tip\">-¥{{ integralMoney }}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"yt-list-cell b-b\" v-if=\"moneyAll.vipPrice > 0\">\r\n\t\t\t\t<text class=\"cell-tit clamp\">VIP优惠</text>\r\n\t\t\t\t<text class=\"cell-tip\">-¥{{ moneyAll.vipPrice }}</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<!-- 底部 -->\r\n\t\t<view class=\"footer\">\r\n\t\t\t<view class=\"price-content\">\r\n\t\t\t\t<text>实付款</text>\r\n\t\t\t\t<text class=\"price-tip\">¥</text>\r\n\t\t\t\t<text class=\"price\">{{ payPrice }}</text>\r\n\t\t\t</view>\r\n\t\t\t<text class=\"submit\" :class=\"{ submitNo: !payType }\" @click=\"payType ? submit() : ''\">提交订单</text>\r\n\t\t</view>\r\n\r\n\t\t<!-- 优惠券面板 -->\r\n\t\t<view class=\"mask\" :class=\"maskState === 0 ? 'none' : maskState === 1 ? 'show' : ''\" @click=\"toggleMask\">\r\n\t\t\t<view class=\"mask-content\">\r\n\t\t\t\t<!-- 优惠券页面,仿mt -->\r\n\t\t\t\t<view class=\"coupon-item\" @click=\"checkedCp(item)\" v-for=\"(item, index) in couponList\" :key=\"index\">\r\n\t\t\t\t\t<view class=\"con\">\r\n\t\t\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t\t\t<text class=\"title\">{{ item.coupon_title }}</text>\r\n\t\t\t\t\t\t\t<text class=\"time\">领取时间{{ item.add_time }}</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t\t\t<text class=\"price\">{{ item.coupon_price }}</text>\r\n\t\t\t\t\t\t\t<text>满{{ item.use_min_price }}可用</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"circle l\"></view>\r\n\t\t\t\t\t\t<view class=\"circle r\"></view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<text class=\"tips\">有效期至{{ item.end_time }}</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\nimport { confirm,computedOrderkey,couponsOrder } from '@/api/order.js';\r\nimport { userinfo } from '@/api/user.js';\r\nimport { cartAdd } from '@/api/product.js';\r\nexport default {\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\taddressImg:\r\n\t\t\t\t'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAu4AAAAFCAYAAAAaAWmiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0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PRnz6B/u4t9I+U9cYCH81hddoFuBG4bxNq7v9xSfh+G/H9wKkIwF5JkR38fF3VLb73dDXhpsYS8P0Vxve7MZ14E04EkX2SumDj40Lkjz2LS9x1nZVqcK1rh1L/GaiZDB1GYwGPRi9+sA4r63odGEjAoKTZS0mTwUtoS2sTPioc1jd64KJqNZXRP9EtLFrLT5KQOd6H1JtvQ/SUQ1CUC1Z/tjp5MgXn51bAfc1VpAUVb6pqi+bsqRlrOB0ITSI0kUa1IvF7JcribPbxZnt9BYIeBZm0ap1BO2yHLMOIxjH111chmDocXg9XzZFR4fD74e5cA9GtQEulbLGbfaNMvv4+BfG3hiet9wxlUeDGdDPn68uqXVgVKKezbiBN/HHYoTnrqlORkDx0BHr/ABzVVbknbZysZ3wnRVyda6HU1UIjvpt28p2C+T+GEtYeeEh3jqcdKjl2BcWY65q9UAQb+c6+k3iePnaS+P5Pq8spOJ38fJ09RVI1OFuWo6xtJXSD+J6xh++OHN8PEt8HxtNY4pbAczC+m2Rnh8V3J9Q0Fa4LeG97YQdehj4aoSL9NZiZNMTKStp6g5/x5NsW37vWQaS1WXzPHvjihzYS/lgshbeJ75WySHm7wNXXk8SbK/xutOX4ntHtYRxE0eJn6uARaGf6ie++7GPNxVkf/78AAwCn1+RYqusbZQAAAABJRU5ErkJggg==',\r\n\t\t\t// 当前选中的支付方式\r\n\t\t\ttabCurrentIndex: 0,\r\n\t\t\tnavList: [\r\n\t\t\t\t{\r\n\t\t\t\t\tstate: 0,\r\n\t\t\t\t\ttext: '快递配送'\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tstate: 1,\r\n\t\t\t\t\ttext: '到店自提'\r\n\t\t\t\t}\r\n\t\t\t],\r\n\t\t\tmaskState: 0, //优惠券面板显示状态\r\n\t\t\tdesc: '', //备注\r\n\t\t\tpayType: 1, //1微信 2支付宝\r\n\t\t\t// 优惠券列表\r\n\t\t\tcouponList: [],\r\n\t\t\tcouponListshow: false, //是有可以显示优惠券列表\r\n\t\t\tcouponChecked: {}, //选中的优惠券\r\n\t\t\t// 收货地址\r\n\t\t\taddressData: {},\r\n\t\t\t// 店铺地址\r\n\t\t\tshopAddress: {\r\n\t\t\t\tname: '',\r\n\t\t\t\tmobile: '',\r\n\t\t\t\taddressName: '',\r\n\t\t\t\taddress: '',\r\n\t\t\t\tarea: '',\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\t// 商品列表\r\n\t\t\tshopList: [],\r\n\t\t\t// 购物车id\r\n\t\t\tcartId: '',\r\n\t\t\t//购物金额详情\r\n\t\t\tmoneyAll: {\r\n\t\t\t\tstoreFreePostage: 0, //邮费优惠\r\n\t\t\t\tstorePostage: 0, //邮费\r\n\t\t\t\ttotalPrice: 0, //总支付金额\r\n\t\t\t\tvipPrice: 0 //vip优惠价\r\n\t\t\t},\r\n\t\t\tpayPrice: 0, //总支付金额\r\n\t\t\torderKey: '', //订单id\r\n\t\t\tcheckedPoints: false, //判断是否积分抵扣\r\n\t\t\tintegralAll: 0, //可使用的积分\r\n\t\t\tintegralMoney: 0, //积分抵扣金额\r\n\t\t\tintegralShow: false, //是否显示积分抵扣金额\r\n\t\t\tpayType: true, //是否可支付\r\n\t\t\tpinkid: '' //保存拼团商品id\r\n\t\t};\r\n\t},\r\n\tonLoad(option) {\r\n\t\t// 判断是否为拼团商品\r\n\t\tif (option.type == 'pink') {\r\n\t\t\tthis.pinkid = option.pinkId;\r\n\t\t\tthis.cartAdd(option);\r\n\t\t} else {\r\n\t\t\t// 保存当前商品在购物车中的id\r\n\t\t\tthis.cartId = option.id;\r\n\t\t\tthis.loadData();\r\n\t\t}\r\n\t\tthis.userinfo();\r\n\t},\r\n\twatch: {\r\n\t\tcheckedPoints(newValue, oldValue) {\r\n\t\t\tthis.integralShow = false;\r\n\t\t\tthis.payMoneyNub();\r\n\t\t}\r\n\t},\r\n\tcomputed: {\r\n\t\tPostage() {\r\n\t\t\tlet money = +this.moneyAll.storePostage;\r\n\t\t\tif (money == 0) {\r\n\t\t\t\treturn '免运费';\r\n\t\t\t} else {\r\n\t\t\t\treturn '¥' + money;\r\n\t\t\t}\r\n\t\t},\r\n\t\tpayAllMoney() {\r\n\t\t\treturn +this.moneyAll.totalPrice + +this.moneyAll.vipPrice;\r\n\t\t}\r\n\t},\r\n\tmethods: {\r\n\t\t// 添加商品到购物车\r\n\t\tcartAdd(opt) {\r\n\t\t\tlet obj = this;\r\n\t\t\tcartAdd({\r\n\t\t\t\tcartNum: 1, //商品数量\r\n\t\t\t\tnew: 1, //商品是否新增加到购物车1为不加入0为加入\r\n\t\t\t\tmer_id: +opt.merid, //商店id\r\n\t\t\t\tcombinationId: +opt.gid, //拼团商品id\r\n\t\t\t\tproductId: +opt.pid //普通商品id\r\n\t\t\t})\r\n\t\t\t\t.then(function(e) {\r\n\t\t\t\t\tlet da = e.data;\r\n\t\t\t\t\t// 獲取购物车号\r\n\t\t\t\t\tobj.cartId = da.cartId;\r\n\t\t\t\t\t// 加载数据\r\n\t\t\t\t\tobj.loadData();\r\n\t\t\t\t})\r\n\t\t\t\t.catch(e => {\r\n\t\t\t\t\tconsole.log(e);\r\n\t\t\t\t});\r\n\t\t},\r\n\t\t// 加载用户基础信息\r\n\t\tuserinfo() {\r\n\t\t\tuserinfo({}).then(({ data }) => {\r\n\t\t\t\tthis.integralAll = data.integral;\r\n\t\t\t});\r\n\t\t},\r\n\t\t// 计算支付金额\r\n\t\tpayMoneyNub() {\r\n\t\t\tcomputedOrderkey({\r\n\t\t\t\torderkey: this.orderKey,\r\n\t\t\t\tuseIntegral: this.checkedPoints ? 1 : 0, //是否积分抵扣\r\n\t\t\t\tcouponId: this.couponChecked.id, //优惠券编号\r\n\t\t\t\taddressId: this.addressData.id //地址编号\r\n\t\t\t})\r\n\t\t\t\t.then(({ data }) => {\r\n\t\t\t\t\tthis.payType = true;\r\n\t\t\t\t\tthis.integralShow = true;\r\n\t\t\t\t\t// 获取支付金额\r\n\t\t\t\t\tthis.payPrice = +data.result.pay_price;\r\n\t\t\t\t\tthis.integralMoney = data.result.deduction_price;\r\n\t\t\t\t})\r\n\t\t\t\t.catch(e => {\r\n\t\t\t\t\tconsole.log(e);\r\n\t\t\t\t\tthis.integralShow = false;\r\n\t\t\t\t\tthis.payType = false;\r\n\t\t\t\t});\r\n\t\t},\r\n\t\t// 是否使用积分\r\n\t\tcheckedIntegral() {\r\n\t\t\tthis.checkedPoints = !this.checkedPoints;\r\n\t\t},\r\n\t\t// 选中优惠券\r\n\t\tcheckedCp(item) {\r\n\t\t\tthis.couponChecked = item;\r\n\t\t\tthis.payMoneyNub();\r\n\t\t},\r\n\t\t// 加载优惠券列表\r\n\t\tcouponsOrder(money) {\r\n\t\t\tcouponsOrder({}, money).then(e => {\r\n\t\t\t\tif (e.data.length > 0) {\r\n\t\t\t\t\tthis.couponListshow = true;\r\n\t\t\t\t}\r\n\t\t\t\tthis.couponList = e.data;\r\n\t\t\t});\r\n\t\t},\r\n\t\t//顶部tab点击\r\n\t\ttabClick(index) {\r\n\t\t\tthis.tabCurrentIndex = index;\r\n\t\t},\r\n\t\t//显示优惠券面板\r\n\t\ttoggleMask(type) {\r\n\t\t\tlet timer = type === 'show' ? 10 : 300;\r\n\t\t\tlet state = type === 'show' ? 1 : 0;\r\n\t\t\tthis.maskState = 2;\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tthis.maskState = state;\r\n\t\t\t}, timer);\r\n\t\t},\r\n\t\tloadData() {\r\n\t\t\tlet obj = this;\r\n\t\t\tconfirm({ cartId: obj.cartId+'' }).then(({ data }) => {\r\n\t\t\t\tobj.addressData = data.addressInfo || {};\r\n\t\t\t\tobj.shopList = data.cartInfo; //商品列表\r\n\t\t\t\tobj.moneyAll = data.priceGroup; //金额数据\r\n\t\t\t\tobj.orderKey = data.orderKey; //订单key\r\n\t\t\t\t// 计算金额\r\n\t\t\t\tthis.payMoneyNub();\r\n\t\t\t\t// 加载优惠券\r\n\t\t\t\tobj.couponsOrder(data.priceGroup.totalPrice);\r\n\t\t\t});\r\n\t\t},\r\n\t\t// 购买数量变化\r\n\t\tnumberChange(data) {\r\n\t\t\tthis.number = data.number;\r\n\t\t},\r\n\t\t// 修改支付方式\r\n\t\tchangePayType(type) {\r\n\t\t\tthis.payType = type;\r\n\t\t},\r\n\t\t// 提交订单\r\n\t\tsubmit() {\r\n\t\t\tif (this.checkedPoints && this.shopList.length > 1) {\r\n\t\t\t\tthis.$api.msg('积分商品只可单件购买');\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\tif (!this.addressData.real_name) {\r\n\t\t\t\tthis.$api.msg('请选择收货地址');\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\tlet url = '/pages/money/pay?key='+ this.orderKey\r\n\t\t\tif(this.pinkid){\r\n\t\t\t\turl += '&pinkid='+this.pinkid\r\n\t\t\t}\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\npage {\r\n\tbackground: $page-color-base;\r\n\tpadding-bottom: 100rpx;\r\n}\r\n.navbar {\r\n\tdisplay: flex;\r\n\theight: 80rpx;\r\n\tpadding: 0 5px;\r\n\tbackground: #fff;\r\n\tbox-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.06);\r\n\tposition: relative;\r\n\tz-index: 10;\r\n\t.nav-item {\r\n\t\tflex: 1;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\theight: 100%;\r\n\t\tfont-size: $font-lg + 4rpx;\r\n\t\tcolor: $font-color-dark;\r\n\t\tposition: relative;\r\n\t\t&.current {\r\n\t\t\tcolor: $base-color;\r\n\t\t\t&:after {\r\n\t\t\t\tcontent: '';\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\tleft: 50%;\r\n\t\t\t\tbottom: 0;\r\n\t\t\t\ttransform: translateX(-50%);\r\n\t\t\t\twidth: 140rpx;\r\n\t\t\t\theight: 0;\r\n\t\t\t\tborder-bottom: 2px solid $base-color;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n.address-section {\r\n\tpadding: 30rpx 0;\r\n\tbackground: #fff;\r\n\tposition: relative;\r\n\tborder-top: 1px solid $border-color-light;\r\n\t.order-content {\r\n\t\tmin-height: 100rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\t.addAddress {\r\n\t\t\ttext-align: center;\r\n\t\t\twidth: 100%;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\t.iconaddition {\r\n\t\t\t\tfont-size: 55rpx;\r\n\t\t\t\tline-height: 1;\r\n\t\t\t\tborder-radius: 100rpx;\r\n\t\t\t\tmargin-right: 20rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.iconlocation {\r\n\t\tflex-shrink: 0;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\twidth: 90rpx;\r\n\t\tcolor: #888;\r\n\t\tfont-size: 44rpx;\r\n\t}\r\n\r\n\t.cen {\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\tflex: 1;\r\n\t\tfont-size: 28rpx;\r\n\t\tcolor: $font-color-dark;\r\n\t}\r\n\r\n\t.name {\r\n\t\tfont-size: 34rpx;\r\n\t\tmargin-right: 24rpx;\r\n\t}\r\n\r\n\t.address {\r\n\t\tmargin-top: 16rpx;\r\n\t\tmargin-right: 20rpx;\r\n\t\tcolor: $font-color-light;\r\n\t}\r\n\r\n\t.icon-you {\r\n\t\tfont-size: 32rpx;\r\n\t\tcolor: $font-color-light;\r\n\t\tmargin-right: 30rpx;\r\n\t}\r\n\r\n\t.a-bg {\r\n\t\tposition: absolute;\r\n\t\tleft: 0;\r\n\t\tbottom: 0;\r\n\t\tdisplay: block;\r\n\t\twidth: 100%;\r\n\t\theight: 5rpx;\r\n\t}\r\n}\r\n\r\n.goods-section {\r\n\tmargin-top: 16rpx;\r\n\tbackground: #fff;\r\n\tpadding-bottom: 1px;\r\n\r\n\t.g-header {\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\theight: 84rpx;\r\n\t\tpadding: 0 30rpx;\r\n\t\tposition: relative;\r\n\t}\r\n\r\n\t.logo {\r\n\t\tdisplay: block;\r\n\t\twidth: 50rpx;\r\n\t\theight: 50rpx;\r\n\t\tborder-radius: 100px;\r\n\t}\r\n\r\n\t.name {\r\n\t\tfont-size: 30rpx;\r\n\t\tcolor: $font-color-base;\r\n\t\tmargin-left: 24rpx;\r\n\t}\r\n\r\n\t.g-item {\r\n\t\tdisplay: flex;\r\n\t\tmargin: 20rpx 30rpx;\r\n\r\n\t\timage {\r\n\t\t\tflex-shrink: 0;\r\n\t\t\tdisplay: block;\r\n\t\t\twidth: 140rpx;\r\n\t\t\theight: 140rpx;\r\n\t\t\tborder-radius: 4rpx;\r\n\t\t}\r\n\r\n\t\t.right {\r\n\t\t\tflex: 1;\r\n\t\t\tpadding-left: 24rpx;\r\n\t\t\toverflow: hidden;\r\n\t\t}\r\n\r\n\t\t.title {\r\n\t\t\tfont-size: 30rpx;\r\n\t\t\tcolor: $font-color-dark;\r\n\t\t}\r\n\r\n\t\t.spec {\r\n\t\t\tfont-size: 26rpx;\r\n\t\t\tcolor: $font-color-light;\r\n\t\t}\r\n\r\n\t\t.price-box {\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tcolor: $font-color-dark;\r\n\t\t\tpadding-top: 10rpx;\r\n\r\n\t\t\t.price {\r\n\t\t\t\tmargin-bottom: 4rpx;\r\n\t\t\t\tcolor: $color-red;\r\n\t\t\t}\r\n\t\t\t.number {\r\n\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\tcolor: $font-color-base;\r\n\t\t\t\tmargin-left: 20rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.step-box {\r\n\t\t\tposition: relative;\r\n\t\t}\r\n\t}\r\n}\r\n.yt-list {\r\n\tmargin-top: 16rpx;\r\n\tbackground: #fff;\r\n}\r\n.yt-list-cell {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tpadding: 10rpx 30rpx 10rpx 40rpx;\r\n\tline-height: 70rpx;\r\n\tposition: relative;\r\n\r\n\t&.cell-hover {\r\n\t\tbackground: #fafafa;\r\n\t}\r\n\r\n\t&.b-b:after {\r\n\t\tleft: 30rpx;\r\n\t}\r\n\r\n\t.cell-icon {\r\n\t\theight: 32rpx;\r\n\t\twidth: 32rpx;\r\n\t\tfont-size: 22rpx;\r\n\t\tcolor: #fff;\r\n\t\ttext-align: center;\r\n\t\tline-height: 32rpx;\r\n\t\tbackground: #f85e52;\r\n\t\tborder-radius: 4rpx;\r\n\t\tmargin-right: 12rpx;\r\n\r\n\t\t&.hb {\r\n\t\t\tbackground: #ffaa0e;\r\n\t\t}\r\n\r\n\t\t&.lpk {\r\n\t\t\tbackground: #3ab54a;\r\n\t\t}\r\n\t}\r\n\r\n\t.cell-more {\r\n\t\talign-self: center;\r\n\t\tfont-size: 24rpx;\r\n\t\tcolor: $font-color-light;\r\n\t\tmargin-left: 8rpx;\r\n\t\tmargin-right: -10rpx;\r\n\t}\r\n\r\n\t.cell-tit {\r\n\t\tflex: 1;\r\n\t\tfont-size: 26rpx;\r\n\t\tcolor: $font-color-light;\r\n\t\tmargin-right: 10rpx;\r\n\t}\r\n\r\n\t.cell-tip {\r\n\t\tfont-size: 26rpx;\r\n\t\tcolor: $font-color-dark;\r\n\t\t&.disabled {\r\n\t\t\tcolor: $font-color-light;\r\n\t\t}\r\n\t\t&.active {\r\n\t\t\tcolor: $base-color;\r\n\t\t}\r\n\t\t&.red {\r\n\t\t\tcolor: $base-color;\r\n\t\t}\r\n\t}\r\n\r\n\t&.desc-cell {\r\n\t\t.cell-tit {\r\n\t\t\tmax-width: 90rpx;\r\n\t\t}\r\n\t}\r\n\t.desc {\r\n\t\tflex: 1;\r\n\t\ttext-align: right;\r\n\t\tfont-size: $font-base;\r\n\t\tcolor: $font-color-dark;\r\n\t}\r\n}\r\n\r\n/* 支付列表 */\r\n.pay-list {\r\n\tpadding-left: 40rpx;\r\n\tmargin-top: 16rpx;\r\n\tbackground: #fff;\r\n\t.pay-item {\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tpadding-right: 20rpx;\r\n\t\tline-height: 1;\r\n\t\theight: 110rpx;\r\n\t\tposition: relative;\r\n\t}\r\n\t.icon-weixinzhifu {\r\n\t\twidth: 80rpx;\r\n\t\tfont-size: 40rpx;\r\n\t\tcolor: #6bcc03;\r\n\t}\r\n\t.icon-alipay {\r\n\t\twidth: 80rpx;\r\n\t\tfont-size: 40rpx;\r\n\t\tcolor: #06b4fd;\r\n\t}\r\n\t.icon-xuanzhong2 {\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\twidth: 60rpx;\r\n\t\theight: 60rpx;\r\n\t\tfont-size: 40rpx;\r\n\t\tcolor: $base-color;\r\n\t}\r\n\t.tit {\r\n\t\tfont-size: 32rpx;\r\n\t\tcolor: $font-color-dark;\r\n\t\tflex: 1;\r\n\t}\r\n}\r\n\r\n.footer {\r\n\tposition: fixed;\r\n\tleft: 0;\r\n\tbottom: 0;\r\n\tz-index: 995;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\twidth: 100%;\r\n\theight: 90rpx;\r\n\tjustify-content: space-between;\r\n\tfont-size: 30rpx;\r\n\tbackground-color: #fff;\r\n\tz-index: 998;\r\n\tcolor: $font-color-base;\r\n\tbox-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);\r\n\t.price-content {\r\n\t\tpadding-left: 30rpx;\r\n\t}\r\n\t.price-tip {\r\n\t\tcolor: $font-color-base;\r\n\t\tmargin-left: 8rpx;\r\n\t}\r\n\t.price {\r\n\t\tfont-size: 36rpx;\r\n\t\tcolor: $font-color-base;\r\n\t}\r\n\t.submit {\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\twidth: 280rpx;\r\n\t\theight: 100%;\r\n\t\tcolor: #fff;\r\n\t\tfont-size: 32rpx;\r\n\t\tbackground-color: $base-color;\r\n\t\t&.submitNo {\r\n\t\t\tbackground-color: $font-color-disabled;\r\n\t\t}\r\n\t}\r\n}\r\n\r\n/* 优惠券面板 */\r\n.mask {\r\n\tdisplay: flex;\r\n\talign-items: flex-end;\r\n\tposition: fixed;\r\n\tleft: 0;\r\n\ttop: var(--window-top);\r\n\tbottom: 0;\r\n\twidth: 100%;\r\n\tbackground: rgba(0, 0, 0, 0);\r\n\tz-index: 9995;\r\n\ttransition: 0.3s;\r\n\t.mask-content {\r\n\t\twidth: 100%;\r\n\t\tmax-height: 70vh;\r\n\t\tbackground: #f3f3f3;\r\n\t\ttransform: translateY(100%);\r\n\t\ttransition: 0.3s;\r\n\t\toverflow-y: scroll;\r\n\t}\r\n\t&.none {\r\n\t\tdisplay: none;\r\n\t}\r\n\t&.show {\r\n\t\tbackground: rgba(0, 0, 0, 0.4);\r\n\r\n\t\t.mask-content {\r\n\t\t\ttransform: translateY(0);\r\n\t\t}\r\n\t}\r\n}\r\n\r\n/* 优惠券列表 */\r\n.coupon-item {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tmargin: 20rpx 24rpx;\r\n\tbackground: #fff;\r\n\t.con {\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tposition: relative;\r\n\t\theight: 120rpx;\r\n\t\tpadding: 0 30rpx;\r\n\t\t&:after {\r\n\t\t\tposition: absolute;\r\n\t\t\tleft: 0;\r\n\t\t\tbottom: 0;\r\n\t\t\tcontent: '';\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 0;\r\n\t\t\tborder-bottom: 1px dashed #f3f3f3;\r\n\t\t\ttransform: scaleY(50%);\r\n\t\t}\r\n\t}\r\n\t.left {\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\tjustify-content: center;\r\n\t\tflex: 1;\r\n\t\toverflow: hidden;\r\n\t\theight: 100rpx;\r\n\t}\r\n\t.title {\r\n\t\tfont-size: 32rpx;\r\n\t\tcolor: $font-color-dark;\r\n\t\tmargin-bottom: 10rpx;\r\n\t}\r\n\t.time {\r\n\t\tfont-size: 24rpx;\r\n\t\tcolor: $font-color-light;\r\n\t}\r\n\t.right {\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tfont-size: 26rpx;\r\n\t\tcolor: $font-color-base;\r\n\t\theight: 100rpx;\r\n\t}\r\n\t.price {\r\n\t\tfont-size: 44rpx;\r\n\t\tcolor: $base-color;\r\n\t\t&:before {\r\n\t\t\tcontent: '¥';\r\n\t\t\tfont-size: 34rpx;\r\n\t\t}\r\n\t}\r\n\t.tips {\r\n\t\tfont-size: 24rpx;\r\n\t\tcolor: $font-color-light;\r\n\t\tline-height: 60rpx;\r\n\t\tpadding-left: 30rpx;\r\n\t}\r\n\t.circle {\r\n\t\tposition: absolute;\r\n\t\tleft: -6rpx;\r\n\t\tbottom: -10rpx;\r\n\t\tz-index: 10;\r\n\t\twidth: 20rpx;\r\n\t\theight: 20rpx;\r\n\t\tbackground: #f3f3f3;\r\n\t\tborder-radius: 100px;\r\n\t\t&.r {\r\n\t\t\tleft: auto;\r\n\t\t\tright: -6rpx;\r\n\t\t}\r\n\t}\r\n}\r\n</style>\r\n","import mod from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./createOrder.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./createOrder.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1618025084503\n var cssReload = require(\"D:/work/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
|