1 |
- {"version":3,"sources":["webpack:///./src/components/CouponListWindow.vue?cae0","webpack:///./src/assets/images/noAddress.png","webpack:///./src/assets/images/noCoupon.png","webpack:///./src/views/order/OrderSubmission.vue?0d8a","webpack:///./src/components/CouponListWindow.vue?50f3","webpack:///src/components/CouponListWindow.vue","webpack:///./src/components/CouponListWindow.vue?7e0a","webpack:///./src/components/CouponListWindow.vue?ef12","webpack:///./src/components/AddressWindow.vue?d079","webpack:///src/components/AddressWindow.vue","webpack:///./src/components/AddressWindow.vue?5bed","webpack:///./src/components/AddressWindow.vue","webpack:///src/views/order/OrderSubmission.vue","webpack:///./src/views/order/OrderSubmission.vue?24e0","webpack:///./src/views/order/OrderSubmission.vue","webpack:///./src/components/OrderGoods.vue?340e","webpack:///src/components/OrderGoods.vue","webpack:///./src/components/OrderGoods.vue?8945","webpack:///./src/components/OrderGoods.vue","webpack:///./src/assets/images/line.jpg","webpack:///./src/api/order.js"],"names":["_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CouponListWindow_vue_vue_type_style_index_0_id_461056f4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CouponListWindow_vue_vue_type_style_index_0_id_461056f4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","n","module","exports","p","render","_vm","this","_h","$createElement","_c","_self","staticClass","_m","on","click","addressTap","addressInfo","_v","_s","real_name","phone","_e","province","city","district","detail","attrs","evaluate","cartInfo","orderGroupInfo","deduction","couponTap","usableCoupon","coupon_title","directives","name","rawName","value","expression","type","domProps","checked","Array","isArray","useIntegral","_i","change","$event","$$a","$$el","target","$$c","$$v","$$i","concat","slice","userInfo","integral","priceGroup","storePostage","placeholder","input","composing","mark","class","active","payItem","isWeixin","now_money","offlinePayStatus","undefined","orderPrice","total_price","pay_postage","coupon_price","deduction_price","staticStyle","height","pay_price","createOrder","price","id","couponchange","changecoupon","changeCoupon","model","callback","showCoupon","ref","changeAddress","redirect","addressRedirect","showAddress","staticRenderFns","src","CouponListWindowvue_type_template_id_461056f4_scoped_true_render","close","couponList","length","_l","coupon","key","end_time","add_time","couponNo","loaded","hidden","touchmove","preventDefault","CouponListWindowvue_type_template_id_461056f4_scoped_true_staticRenderFns","CouponListWindowvue_type_script_lang_js_","props","Boolean","Number","String","default","data","watch","getCoupon","mounted","methods","$emit","_this","Object","order","then","res","components_CouponListWindowvue_type_script_lang_js_","component","componentNormalizer","CouponListWindow","AddressWindowvue_type_template_id_dc632dd0_render","closeAddress","addressList","item","index","tapAddress","goAddressPages","AddressWindowvue_type_template_id_dc632dd0_staticRenderFns","AddressWindowvue_type_script_lang_js_","current","cartId","pinkId","couponId","getAddressList","that","user","$router","push","path","components_AddressWindowvue_type_script_lang_js_","AddressWindow_component","AddressWindow","NAME","_isWeixin","utils","OrderSubmissionvue_type_script_lang_js_","components","OrderGoods","from","addressLoaded","computed","vuex_esm","computedPrice","$route","getCartInfo","query","pinkid","orderKey","addressId","status","replace","result","orderId","_this2","cartIds","params","$dialog","error","go","offline_pay_status","catch","$refs","mychild","_this3","loading","open","payType","seckill_id","combinationId","combination_id","bargainId","bargain_id","toast","mes","msg","success","setTimeout","location","href","jsConfig","mweb_url","wechat","finally","err","console","log","order_OrderSubmissionvue_type_script_lang_js_","OrderSubmission_component","__webpack_exports__","cart","productInfo","image","store_name","cart_num","attrInfo","suk","truePrice","unique","OrderGoodsvue_type_script_lang_js_","components_OrderGoodsvue_type_script_lang_js_","d","postOrderConfirm","postOrderComputed","getOrderCoupon","getOrderData","getOrderList","cancelOrder","orderDetail","getRefundReason","postOrderRefund","takeOrder","delOrder","express","payOrder","_utils_request__WEBPACK_IMPORTED_MODULE_0__","request","post","get","parseFloat","uni","paytype"],"mappings":"kHAAA,IAAAA,EAAAC,EAAA,QAAAC,EAAAD,EAAAE,EAAAH,GAA4eE,EAAG,0BCA/eE,EAAAC,QAAiBJ,EAAAK,EAAuB,wDCAxCF,EAAAC,QAAiBJ,EAAAK,EAAuB,kGCAxC,IAAAC,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,oBAA+B,CAAAN,EAAAO,GAAA,GAAAH,EAAA,OAAsBE,YAAA,uCAAAE,GAAA,CAAuDC,MAAAT,EAAAU,aAAwB,CAAAV,EAAAW,YAAA,UAAAP,EAAA,OAAwCE,YAAA,cAAyB,CAAAF,EAAA,OAAYE,YAAA,QAAmB,CAAAN,EAAAY,GAAA,aAAAZ,EAAAa,GAAAb,EAAAW,YAAAG,WAAA,cAAAV,EAAA,QAAiFE,YAAA,SAAoB,CAAAN,EAAAY,GAAAZ,EAAAa,GAAAb,EAAAW,YAAAI,YAAAX,EAAA,OAAAJ,EAAAW,YAAA,WAAAP,EAAA,QAA8FE,YAAA,4BAAuC,CAAAN,EAAAY,GAAA,UAAAZ,EAAAgB,KAAAhB,EAAAY,GAAA,aAAAZ,EAAAa,GAAAb,EAAAW,YAAAM,UAAAjB,EAAAa,GAAAb,EAAAW,YAAAO,MAAAlB,EAAAa,GAAAb,EAAAW,YAAAQ,UAAAnB,EAAAa,GAAAb,EAAAW,YAAAS,QAAA,gBAAAhB,EAAA,OAAwME,YAAA,cAAyB,CAAAF,EAAA,OAAYE,YAAA,cAAyB,CAAAN,EAAAY,GAA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AKe,GAC/B,OAAOwH,OAAQC,KAAK,iBAAmBxI,EAAKe,GAAQ,IAO/C,SAAS6G,IACd,OAAOW,OAAQE,IAAI,eAOd,SAASZ,EAAa9G,GAC3B,OAAOwH,OAAQE,IAAI,cAAe1H,GAO7B,SAAS+G,EAAYlJ,GAC1B,OAAO2J,OAAQC,KAAK,gBAAiB,CAAE5J,OAOlC,SAASmJ,EAAYnJ,GAC1B,OAAO2J,OAAQE,IAAI,iBAAmB7J,GAOjC,SAASoJ,IACd,OAAOO,OAAQE,IAAI,wBAOd,SAASR,EAAgBlH,GAC9B,OAAOwH,OAAQC,KAAK,uBAAwBzH,GAOvC,SAASmH,EAAUS,GACxB,OAAOJ,OAAQC,KAAK,cAAe,CAAEG,QAOhC,SAASR,EAASQ,GACvB,OAAOJ,OAAQC,KAAK,aAAc,CAAEG,QAO/B,SAASP,EAAQO,GACtB,OAAOJ,OAAQE,IAAI,iBAAmBE,GAOjC,SAASN,EAASM,EAAKC,EAASlF,GACrC,OAAO6E,OAAQC,KAAK,YAAa,CAAEG,MAAKC,UAASlF","file":"h5/js/chunk-7492165a.a78bf334.js","sourcesContent":["import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CouponListWindow.vue?vue&type=style&index=0&id=461056f4&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CouponListWindow.vue?vue&type=style&index=0&id=461056f4&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"h5/img/noAddress.d76a1cef.png\";","module.exports = __webpack_public_path__ + \"h5/img/noCoupon.e524084b.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"order-submission\"},[_vm._m(0),_c('div',{staticClass:\"address acea-row row-between-wrapper\",on:{\"click\":_vm.addressTap}},[(_vm.addressInfo.real_name)?_c('div',{staticClass:\"addressCon\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"\\n \"+_vm._s(_vm.addressInfo.real_name)+\"\\n \"),_c('span',{staticClass:\"phone\"},[_vm._v(_vm._s(_vm.addressInfo.phone))])]),_c('div',[(_vm.addressInfo.is_default)?_c('span',{staticClass:\"default font-color-green\"},[_vm._v(\"[默认]\")]):_vm._e(),_vm._v(\"\\n \"+_vm._s(_vm.addressInfo.province)+_vm._s(_vm.addressInfo.city)+_vm._s(_vm.addressInfo.district)+_vm._s(_vm.addressInfo.detail)+\"\\n \")])]):_c('div',{staticClass:\"addressCon\"},[_c('div',{staticClass:\"setaddress\"},[_vm._v(\"设置收货地址\")])]),_c('div',{staticClass:\"iconfont icon-jiantou\"})]),_c('OrderGoods',{attrs:{\"evaluate\":0,\"cartInfo\":_vm.orderGroupInfo.cartInfo}}),_c('div',{staticClass:\"wrapper\"},[(_vm.deduction === false)?_c('div',{staticClass:\"item acea-row row-between-wrapper\",on:{\"click\":_vm.couponTap}},[_c('div',[_vm._v(\"优惠券\")]),_c('div',{staticClass:\"discount\"},[_vm._v(\"\\n \"+_vm._s(_vm.usableCoupon.coupon_title || \"请选择\")+\"\\n \"),_c('span',{staticClass:\"iconfont icon-jiantou\"})])]):_vm._e(),(_vm.deduction === false)?_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',[_vm._v(\"积分抵扣\")]),_c('div',{staticClass:\"discount\"},[_c('div',{staticClass:\"select-btn\"},[_c('div',{staticClass:\"checkbox-wrapper\"},[_c('label',{staticClass:\"well-check\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.useIntegral),expression:\"useIntegral\"}],attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.useIntegral)?_vm._i(_vm.useIntegral,null)>-1:(_vm.useIntegral)},on:{\"change\":function($event){var $$a=_vm.useIntegral,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.useIntegral=$$a.concat([$$v]))}else{$$i>-1&&(_vm.useIntegral=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.useIntegral=$$c}}}}),_c('i',{staticClass:\"icon\"}),_c('span',{staticClass:\"integral\"},[_vm._v(\"\\n 当前积分\\n \"),_c('span',{staticClass:\"num font-color-orange\"},[_vm._v(\"\\n \"+_vm._s(_vm.userInfo.integral || 0)+\"\\n \")])])])])])])]):_vm._e(),_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',[_vm._v(\"快递费用\")]),_c('div',{staticClass:\"discount\"},[_vm._v(\"\\n \"+_vm._s(_vm.orderGroupInfo.priceGroup.storePostage > 0\n ? _vm.orderGroupInfo.priceGroup.storePostage\n : \"免运费\")+\"\\n \")])]),_c('div',{staticClass:\"item\"},[_c('div',[_vm._v(\"备注信息\")]),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.mark),expression:\"mark\"}],attrs:{\"placeholder\":\"请添加备注(150字以内)\"},domProps:{\"value\":(_vm.mark)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.mark=$event.target.value}}})])]),_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"item\"},[_c('div',[_vm._v(\"支付方式\")]),_c('div',{staticClass:\"list\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isWeixin),expression:\"isWeixin\"}],staticClass:\"payItem acea-row row-middle\",class:_vm.active === 'weixin' ? 'on' : '',on:{\"click\":function($event){return _vm.payItem('weixin')}}},[_c('div',{staticClass:\"name acea-row row-center-wrapper\"},[_c('div',{staticClass:\"iconfont icon-weixin2\",class:_vm.active === 'weixin' ? 'bounceIn' : ''}),_vm._v(\"\\n 微信支付\\n \")]),_c('div',{staticClass:\"tip\"},[_vm._v(\"微信快捷支付\")])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isWeixin),expression:\"!isWeixin\"}],staticClass:\"payItem acea-row row-middle\",class:_vm.active === 'weixin' ? 'on' : '',on:{\"click\":function($event){return _vm.payItem('weixin')}}},[_c('div',{staticClass:\"name acea-row row-center-wrapper\"},[_c('div',{staticClass:\"iconfont icon-weixin2\",class:_vm.active === 'weixin' ? 'bounceIn' : ''}),_vm._v(\"\\n 微信支付\\n \")]),_c('div',{staticClass:\"tip\"},[_vm._v(\"微信快捷支付\")])]),_c('div',{staticClass:\"payItem acea-row row-middle\",class:_vm.active === 'yue' ? 'on' : '',on:{\"click\":function($event){return _vm.payItem('yue')}}},[_c('div',{staticClass:\"name acea-row row-center-wrapper\"},[_c('div',{staticClass:\"iconfont icon-icon-test\",class:_vm.active === 'yue' ? 'bounceIn' : ''}),_vm._v(\"\\n 余额支付\\n \")]),_c('div',{staticClass:\"tip\"},[_vm._v(\"可用余额:\"+_vm._s(_vm.userInfo.now_money || 0))])]),(_vm.offlinePayStatus === 1 && _vm.deduction === false)?_c('div',{staticClass:\"payItem acea-row row-middle\",class:_vm.active === 'offline' ? 'on' : '',on:{\"click\":function($event){return _vm.payItem('offline')}}},[_c('div',{staticClass:\"name acea-row row-center-wrapper\"},[_c('div',{staticClass:\"iconfont icon-yinhangqia\",class:_vm.active === 'offline' ? 'bounceIn' : ''}),_vm._v(\"\\n 线下支付\\n \")]),_c('div',{staticClass:\"tip\"},[_vm._v(\"线下方便支付\")])]):_vm._e()])])]),_c('div',{staticClass:\"moneyList\"},[(_vm.orderPrice.total_price !== undefined)?_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',[_vm._v(\"商品总价:\")]),_c('div',{staticClass:\"money\"},[_vm._v(\"¥\"+_vm._s(_vm.orderPrice.total_price))])]):_vm._e(),(_vm.orderPrice.pay_postage > 0)?_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',[_vm._v(\"运费:\")]),_c('div',{staticClass:\"money\"},[_vm._v(\"¥\"+_vm._s(_vm.orderPrice.pay_postage))])]):_vm._e(),(_vm.orderPrice.coupon_price > 0)?_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',[_vm._v(\"优惠券抵扣:\")]),_c('div',{staticClass:\"money\"},[_vm._v(\"-¥\"+_vm._s(_vm.orderPrice.coupon_price))])]):_vm._e(),(_vm.orderPrice.deduction_price > 0)?_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',[_vm._v(\"积分抵扣:\")]),_c('div',{staticClass:\"money\"},[_vm._v(\"-¥\"+_vm._s(_vm.orderPrice.deduction_price))])]):_vm._e()]),_c('div',{staticStyle:{\"height\":\"1.2rem\"}}),_c('div',{staticClass:\"footer acea-row row-between-wrapper\"},[_c('div',[_vm._v(\"\\n 合计:\\n \"),_c('span',{staticClass:\"font-color-orange font-color-orange\"},[_vm._v(\"¥\"+_vm._s(_vm.orderPrice.pay_price))])]),_c('div',{staticClass:\"settlement bg-color-green\",on:{\"click\":_vm.createOrder}},[_vm._v(\"立即结算\")])]),_c('CouponListWindow',{attrs:{\"price\":_vm.orderPrice.total_price,\"checked\":_vm.usableCoupon.id},on:{\"couponchange\":function($event){return _vm.changecoupon($event)},\"checked\":_vm.changeCoupon},model:{value:(_vm.showCoupon),callback:function ($$v) {_vm.showCoupon=$$v},expression:\"showCoupon\"}}),_c('AddressWindow',{ref:\"mychild\",attrs:{\"checked\":_vm.addressInfo.id},on:{\"checked\":_vm.changeAddress,\"redirect\":_vm.addressRedirect},model:{value:(_vm.showAddress),callback:function ($$v) {_vm.showAddress=$$v},expression:\"showAddress\"}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"line\"},[_c('img',{attrs:{\"src\":require(\"@assets/images/line.jpg\")}})])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"coupon-list-window\",class:_vm.value === true ? 'on' : ''},[_c('div',{staticClass:\"title\"},[_vm._v(\"\\n 优惠券\\n \"),_c('span',{staticClass:\"iconfont icon-guanbi\",on:{\"click\":_vm.close}})]),(_vm.couponList.length > 0)?_c('div',[_c('div',{staticClass:\"coupon-list\"},_vm._l((_vm.couponList),function(coupon){return _c('div',{key:coupon.id,staticClass:\"item acea-row row-center-wrapper\",on:{\"click\":function($event){return _vm.click(coupon)}}},[_c('div',{staticClass:\"money\"},[_vm._v(\"\\n ¥\\n \"),_c('span',{staticClass:\"num\"},[_vm._v(_vm._s(coupon.coupon_price))])]),_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"condition line1\"},[_vm._v(_vm._s(coupon.coupon_title))]),_c('div',{staticClass:\"data acea-row row-between-wrapper\"},[(coupon.end_time === 0)?_c('div',[_vm._v(\"不限时\")]):_c('div',[_vm._v(_vm._s(coupon.add_time)+\"-\"+_vm._s(coupon.end_time))]),(_vm.checked === coupon.id)?_c('div',{staticClass:\"iconfont icon-xuanzhong1 font-color-orange\"}):_c('div',{staticClass:\"iconfont icon-weixuanzhong\"})])])])}),0),_c('div',{staticClass:\"couponNo bg-color-green\",on:{\"click\":_vm.couponNo}},[_vm._v(\"\\n 不使用优惠券\\n \")])]):_vm._e(),(!_vm.couponList.length && _vm.loaded)?_c('div',[_vm._m(0)]):_vm._e()]),_c('div',{staticClass:\"mask\",attrs:{\"hidden\":_vm.value === false},on:{\"touchmove\":function($event){$event.preventDefault();},\"click\":_vm.close}})])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pictrue\"},[_c('img',{staticClass:\"image\",attrs:{\"src\":require(\"@assets/images/noCoupon.png\")}})])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <div class=\"coupon-list-window\" :class=\"value === true ? 'on' : ''\">\r\n <div class=\"title\">\r\n 优惠券\r\n <span class=\"iconfont icon-guanbi\" @click=\"close\"></span>\r\n </div>\r\n <div v-if=\"couponList.length > 0\">\r\n <div class=\"coupon-list\">\r\n <div\r\n class=\"item acea-row row-center-wrapper\"\r\n v-for=\"coupon in couponList\"\r\n :key=\"coupon.id\"\r\n @click=\"click(coupon)\"\r\n >\r\n <div class=\"money\">\r\n ¥\r\n <span class=\"num\">{{ coupon.coupon_price }}</span>\r\n </div>\r\n <div class=\"text\">\r\n <div class=\"condition line1\">{{ coupon.coupon_title }}</div>\r\n <div class=\"data acea-row row-between-wrapper\">\r\n <div v-if=\"coupon.end_time === 0\">不限时</div>\r\n <div v-else>{{ coupon.add_time }}-{{ coupon.end_time }}</div>\r\n <div\r\n class=\"iconfont icon-xuanzhong1 font-color-orange\"\r\n v-if=\"checked === coupon.id\"\r\n ></div>\r\n <div class=\"iconfont icon-weixuanzhong\" v-else></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"couponNo bg-color-green\" @click=\"couponNo\">\r\n 不使用优惠券\r\n </div>\r\n </div>\r\n <div v-if=\"!couponList.length && loaded\">\r\n <div class=\"pictrue\">\r\n <img src=\"@assets/images/noCoupon.png\" class=\"image\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mask\"\r\n @touchmove.prevent\r\n :hidden=\"value === false\"\r\n @click=\"close\"\r\n ></div>\r\n </div>\r\n</template>\r\n<style scoped>\r\n.coupon-list-window .iconfont {\r\n font-size: 0.4rem;\r\n}\r\n.couponNo {\r\n font-size: 0.3rem;\r\n font-weight: bold;\r\n color: #fff;\r\n width: 6.9rem;\r\n height: 0.86rem;\r\n border-radius: 0.43rem;\r\n text-align: center;\r\n line-height: 0.86rem;\r\n margin: 0.6rem auto;\r\n}\r\n</style>\r\n<script>\r\nimport { getOrderCoupon } from \"@api/order\";\r\n\r\nexport default {\r\n name: \"CouponListWindow\",\r\n props: {\r\n value: Boolean,\r\n checked: Number,\r\n price: {\r\n type: [Number, String],\r\n default: undefined\r\n }\r\n },\r\n data: function() {\r\n return {\r\n couponList: [],\r\n loaded: false\r\n };\r\n },\r\n watch: {\r\n price(n) {\r\n if (n === undefined || n == null) return;\r\n this.getCoupon();\r\n }\r\n },\r\n mounted: function() {},\r\n methods: {\r\n close: function() {\r\n this.$emit(\"input\", false);\r\n this.$emit(\"close\");\r\n },\r\n getCoupon() {\r\n getOrderCoupon(this.price).then(res => {\r\n this.couponList = res.data;\r\n this.loaded = true;\r\n });\r\n },\r\n click(coupon) {\r\n this.$emit(\"checked\", coupon);\r\n this.$emit(\"input\", false);\r\n },\r\n couponNo: function() {\r\n this.$emit(\"checked\", null);\r\n this.$emit(\"input\", false);\r\n }\r\n }\r\n};\r\n</script>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CouponListWindow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CouponListWindow.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CouponListWindow.vue?vue&type=template&id=461056f4&scoped=true&\"\nimport script from \"./CouponListWindow.vue?vue&type=script&lang=js&\"\nexport * from \"./CouponListWindow.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CouponListWindow.vue?vue&type=style&index=0&id=461056f4&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"461056f4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"address-window\",class:_vm.value === true ? 'on' : ''},[_c('div',{staticClass:\"title\"},[_vm._v(\"\\n 选择地址\"),_c('span',{staticClass:\"iconfont icon-guanbi\",on:{\"click\":_vm.closeAddress}})]),(_vm.addressList.length)?_c('div',{staticClass:\"list\"},_vm._l((_vm.addressList),function(item,index){return _c('div',{key:index,staticClass:\"item acea-row row-between-wrapper\",class:item.id === _vm.checked ? 'font-color-green' : '',on:{\"click\":function($event){return _vm.tapAddress(index)}}},[_c('span',{staticClass:\"iconfont icon-ditu\",class:item.id === _vm.checked ? 'font-color-green' : ''}),_c('div',{staticClass:\"addressTxt\"},[_c('div',{staticClass:\"name\",class:item.id === _vm.checked ? 'font-color-green' : ''},[_vm._v(\"\\n \"+_vm._s(item.real_name)),_c('span',{staticClass:\"phone\"},[_vm._v(_vm._s(item.phone))])]),_c('div',{staticClass:\"line1\"},[_vm._v(\"\\n \"+_vm._s(item.province)+_vm._s(item.city)+_vm._s(item.district)+_vm._s(item.detail)+\"\\n \")])]),_c('span',{staticClass:\"iconfont icon-complete\",class:item.id === _vm.checked ? 'font-color-green' : ''})])}),0):_vm._e(),(_vm.addressList.length < 1)?_c('div',{staticClass:\"pictrue\"},[_c('img',{staticClass:\"image\",attrs:{\"src\":require(\"@assets/images/noAddress.png\")}})]):_vm._e(),_c('div',{staticClass:\"addressBnt bg-color-green\",on:{\"click\":_vm.goAddressPages}},[_vm._v(\"\\n 新加地址\\n \")])]),_c('div',{staticClass:\"mask\",attrs:{\"hidden\":_vm.value === false},on:{\"touchmove\":function($event){$event.preventDefault();},\"click\":_vm.closeAddress}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <div class=\"address-window\" :class=\"value === true ? 'on' : ''\">\r\n <div class=\"title\">\r\n 选择地址<span class=\"iconfont icon-guanbi\" @click=\"closeAddress\"></span>\r\n </div>\r\n <div class=\"list\" v-if=\"addressList.length\">\r\n <div\r\n class=\"item acea-row row-between-wrapper\"\r\n :class=\"item.id === checked ? 'font-color-green' : ''\"\r\n v-for=\"(item, index) in addressList\"\r\n @click=\"tapAddress(index)\"\r\n :key=\"index\"\r\n >\r\n <span\r\n class=\"iconfont icon-ditu\"\r\n :class=\"item.id === checked ? 'font-color-green' : ''\"\r\n ></span>\r\n <div class=\"addressTxt\">\r\n <div\r\n class=\"name\"\r\n :class=\"item.id === checked ? 'font-color-green' : ''\"\r\n >\r\n {{ item.real_name }}<span class=\"phone\">{{ item.phone }}</span>\r\n </div>\r\n <div class=\"line1\">\r\n {{ item.province }}{{ item.city }}{{ item.district\r\n }}{{ item.detail }}\r\n </div>\r\n </div>\r\n <span\r\n class=\"iconfont icon-complete\"\r\n :class=\"item.id === checked ? 'font-color-green' : ''\"\r\n ></span>\r\n </div>\r\n </div>\r\n <div class=\"pictrue\" v-if=\"addressList.length < 1\">\r\n <img src=\"@assets/images/noAddress.png\" class=\"image\" />\r\n </div>\r\n <div class=\"addressBnt bg-color-green\" @click=\"goAddressPages\">\r\n 新加地址\r\n </div>\r\n </div>\r\n <div\r\n class=\"mask\"\r\n @touchmove.prevent\r\n :hidden=\"value === false\"\r\n @click=\"closeAddress\"\r\n ></div>\r\n </div>\r\n</template>\r\n<script>\r\nimport { getAddressList } from \"../api/user\";\r\nexport default {\r\n name: \"AddressWindow\",\r\n props: {\r\n value: Boolean,\r\n checked: Number\r\n },\r\n data: function() {\r\n return {\r\n addressList: [],\r\n current: 0,\r\n cartId: 0,\r\n pinkId: 0,\r\n couponId: 0\r\n };\r\n },\r\n mounted: function() {},\r\n methods: {\r\n getAddressList: function() {\r\n let that = this;\r\n getAddressList().then(res => {\r\n that.addressList = res.data;\r\n });\r\n },\r\n closeAddress() {\r\n this.$emit(\"input\", false);\r\n },\r\n goAddressPages: function() {\r\n this.$router.push({ path: \"/user/add_address\" });\r\n this.$emit(\"redirect\");\r\n },\r\n tapAddress: function(index) {\r\n this.$emit(\"checked\", this.addressList[index]);\r\n this.$emit(\"input\", false);\r\n }\r\n }\r\n};\r\n</script>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddressWindow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddressWindow.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddressWindow.vue?vue&type=template&id=dc632dd0&\"\nimport script from \"./AddressWindow.vue?vue&type=script&lang=js&\"\nexport * from \"./AddressWindow.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"order-submission\">\r\n <div class=\"line\">\r\n <img src=\"@assets/images/line.jpg\" />\r\n </div>\r\n <div class=\"address acea-row row-between-wrapper\" @click=\"addressTap\">\r\n <div class=\"addressCon\" v-if=\"addressInfo.real_name\">\r\n <div class=\"name\">\r\n {{ addressInfo.real_name }}\r\n <span class=\"phone\">{{ addressInfo.phone }}</span>\r\n </div>\r\n <div>\r\n <span class=\"default font-color-green\" v-if=\"addressInfo.is_default\"\r\n >[默认]</span\r\n >\r\n {{ addressInfo.province }}{{ addressInfo.city\r\n }}{{ addressInfo.district }}{{ addressInfo.detail }}\r\n </div>\r\n </div>\r\n <div class=\"addressCon\" v-else>\r\n <div class=\"setaddress\">设置收货地址</div>\r\n </div>\r\n <div class=\"iconfont icon-jiantou\"></div>\r\n </div>\r\n <OrderGoods :evaluate=\"0\" :cartInfo=\"orderGroupInfo.cartInfo\"></OrderGoods>\r\n <div class=\"wrapper\">\r\n <div\r\n class=\"item acea-row row-between-wrapper\"\r\n @click=\"couponTap\"\r\n v-if=\"deduction === false\"\r\n >\r\n <div>优惠券</div>\r\n <div class=\"discount\">\r\n {{ usableCoupon.coupon_title || \"请选择\" }}\r\n <span class=\"iconfont icon-jiantou\"></span>\r\n </div>\r\n </div>\r\n <div class=\"item acea-row row-between-wrapper\" v-if=\"deduction === false\">\r\n <div>积分抵扣</div>\r\n <div class=\"discount\">\r\n <div class=\"select-btn\">\r\n <div class=\"checkbox-wrapper\">\r\n <label class=\"well-check\">\r\n <input type=\"checkbox\" v-model=\"useIntegral\" />\r\n <i class=\"icon\"></i>\r\n <span class=\"integral\">\r\n 当前积分\r\n <span class=\"num font-color-orange\">\r\n {{ userInfo.integral || 0 }}\r\n </span>\r\n </span>\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"item acea-row row-between-wrapper\">\r\n <div>快递费用</div>\r\n <div class=\"discount\">\r\n {{\r\n orderGroupInfo.priceGroup.storePostage > 0\r\n ? orderGroupInfo.priceGroup.storePostage\r\n : \"免运费\"\r\n }}\r\n </div>\r\n </div>\r\n <div class=\"item\">\r\n <div>备注信息</div>\r\n <textarea\r\n placeholder=\"请添加备注(150字以内)\"\r\n v-model=\"mark\"\r\n ></textarea>\r\n </div>\r\n </div>\r\n <div class=\"wrapper\">\r\n <div class=\"item\">\r\n <div>支付方式</div>\r\n <div class=\"list\">\r\n <div\r\n class=\"payItem acea-row row-middle\"\r\n :class=\"active === 'weixin' ? 'on' : ''\"\r\n @click=\"payItem('weixin')\"\r\n v-show=\"isWeixin\"\r\n >\r\n <div class=\"name acea-row row-center-wrapper\">\r\n <div\r\n class=\"iconfont icon-weixin2\"\r\n :class=\"active === 'weixin' ? 'bounceIn' : ''\"\r\n ></div>\r\n 微信支付\r\n </div>\r\n <div class=\"tip\">微信快捷支付</div>\r\n </div>\r\n <div\r\n class=\"payItem acea-row row-middle\"\r\n :class=\"active === 'weixin' ? 'on' : ''\"\r\n @click=\"payItem('weixin')\"\r\n v-show=\"!isWeixin\"\r\n >\r\n <div class=\"name acea-row row-center-wrapper\">\r\n <div\r\n class=\"iconfont icon-weixin2\"\r\n :class=\"active === 'weixin' ? 'bounceIn' : ''\"\r\n ></div>\r\n 微信支付\r\n </div>\r\n <div class=\"tip\">微信快捷支付</div>\r\n </div>\r\n <div\r\n class=\"payItem acea-row row-middle\"\r\n :class=\"active === 'yue' ? 'on' : ''\"\r\n @click=\"payItem('yue')\"\r\n >\r\n <div class=\"name acea-row row-center-wrapper\">\r\n <div\r\n class=\"iconfont icon-icon-test\"\r\n :class=\"active === 'yue' ? 'bounceIn' : ''\"\r\n ></div>\r\n 余额支付\r\n </div>\r\n <div class=\"tip\">可用余额:{{ userInfo.now_money || 0 }}</div>\r\n </div>\r\n <div\r\n class=\"payItem acea-row row-middle\"\r\n :class=\"active === 'offline' ? 'on' : ''\"\r\n @click=\"payItem('offline')\"\r\n v-if=\"offlinePayStatus === 1 && deduction === false\"\r\n >\r\n <div class=\"name acea-row row-center-wrapper\">\r\n <div\r\n class=\"iconfont icon-yinhangqia\"\r\n :class=\"active === 'offline' ? 'bounceIn' : ''\"\r\n ></div>\r\n 线下支付\r\n </div>\r\n <div class=\"tip\">线下方便支付</div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"moneyList\">\r\n <div\r\n class=\"item acea-row row-between-wrapper\"\r\n v-if=\"orderPrice.total_price !== undefined\"\r\n >\r\n <div>商品总价:</div>\r\n <div class=\"money\">¥{{ orderPrice.total_price }}</div>\r\n </div>\r\n <div\r\n class=\"item acea-row row-between-wrapper\"\r\n v-if=\"orderPrice.pay_postage > 0\"\r\n >\r\n <div>运费:</div>\r\n <div class=\"money\">¥{{ orderPrice.pay_postage }}</div>\r\n </div>\r\n <div\r\n class=\"item acea-row row-between-wrapper\"\r\n v-if=\"orderPrice.coupon_price > 0\"\r\n >\r\n <div>优惠券抵扣:</div>\r\n <div class=\"money\">-¥{{ orderPrice.coupon_price }}</div>\r\n </div>\r\n <div\r\n class=\"item acea-row row-between-wrapper\"\r\n v-if=\"orderPrice.deduction_price > 0\"\r\n >\r\n <div>积分抵扣:</div>\r\n <div class=\"money\">-¥{{ orderPrice.deduction_price }}</div>\r\n </div>\r\n </div>\r\n <div style=\"height:1.2rem\"></div>\r\n <div class=\"footer acea-row row-between-wrapper\">\r\n <div>\r\n 合计:\r\n <span class=\"font-color-orange font-color-orange\"\r\n >¥{{ orderPrice.pay_price }}</span\r\n >\r\n </div>\r\n <div class=\"settlement bg-color-green\" @click=\"createOrder\">立即结算</div>\r\n </div>\r\n <CouponListWindow\r\n v-on:couponchange=\"changecoupon($event)\"\r\n v-model=\"showCoupon\"\r\n :price=\"orderPrice.total_price\"\r\n :checked=\"usableCoupon.id\"\r\n @checked=\"changeCoupon\"\r\n ></CouponListWindow>\r\n <AddressWindow\r\n @checked=\"changeAddress\"\r\n @redirect=\"addressRedirect\"\r\n v-model=\"showAddress\"\r\n :checked=\"addressInfo.id\"\r\n ref=\"mychild\"\r\n ></AddressWindow>\r\n </div>\r\n</template>\r\n<script>\r\nimport OrderGoods from \"@components/OrderGoods\";\r\nimport CouponListWindow from \"@components/CouponListWindow\";\r\nimport AddressWindow from \"@components/AddressWindow\";\r\nimport { postOrderConfirm, postOrderComputed, createOrder } from \"@api/order\";\r\nimport { mapGetters } from \"vuex\";\r\nimport { pay } from \"@libs/wechat\";\r\nimport { isWeixin } from \"@utils\";\r\n\r\nconst NAME = \"OrderSubmission\",\r\n _isWeixin = isWeixin();\r\nexport default {\r\n name: NAME,\r\n components: {\r\n OrderGoods,\r\n CouponListWindow,\r\n AddressWindow\r\n },\r\n props: {},\r\n data: function() {\r\n return {\r\n offlinePayStatus: 2,\r\n from: _isWeixin ? \"weixin\" : \"weixinh5\",\r\n deduction: true,\r\n isWeixin: _isWeixin,\r\n pinkId: 0,\r\n active: _isWeixin ? \"weixin\" : \"yue\",\r\n showCoupon: false,\r\n showAddress: false,\r\n addressInfo: {},\r\n couponId: 0,\r\n orderGroupInfo: {\r\n priceGroup: {}\r\n },\r\n usableCoupon: {},\r\n addressLoaded: false,\r\n useIntegral: false,\r\n orderPrice: {\r\n pay_price: \"计算中\"\r\n },\r\n mark: \"\"\r\n };\r\n },\r\n computed: mapGetters([\"userInfo\"]),\r\n watch: {\r\n useIntegral() {\r\n this.computedPrice();\r\n },\r\n $route(n) {\r\n if (n.name === NAME) this.getCartInfo();\r\n }\r\n },\r\n mounted: function() {\r\n var that = this;\r\n this.getCartInfo();\r\n if (that.$route.query.pinkid !== undefined)\r\n that.pinkId = that.$route.query.pinkid;\r\n },\r\n methods: {\r\n computedPrice() {\r\n postOrderComputed(this.orderGroupInfo.orderKey, {\r\n addressId: this.addressInfo.id,\r\n useIntegral: this.useIntegral ? 1 : 0,\r\n couponId: this.usableCoupon.id || 0\r\n }).then(res => {\r\n const data = res.data;\r\n if (data.status === \"EXTEND_ORDER\") {\r\n this.$router.replace({\r\n path: \"/order/detail/\" + data.result.orderId\r\n });\r\n } else {\r\n this.orderPrice = data.result;\r\n }\r\n });\r\n },\r\n getCartInfo() {\r\n const cartIds = this.$route.params.id;\r\n if (!cartIds) {\r\n this.$dialog.error(\"参数有误\");\r\n return this.$router.go(-1);\r\n }\r\n\r\n postOrderConfirm(cartIds)\r\n .then(res => {\r\n this.offlinePayStatus = res.data.offline_pay_status;\r\n this.orderGroupInfo = res.data;\r\n this.deduction = res.data.deduction;\r\n this.usableCoupon = res.data.usableCoupon || {};\r\n this.addressInfo = res.data.addressInfo || {};\r\n this.computedPrice();\r\n })\r\n .catch(() => {\r\n this.$dialog.error(\"加载订单数据失败\");\r\n });\r\n },\r\n addressTap: function() {\r\n this.showAddress = true;\r\n if (!this.addressLoaded) {\r\n this.addressLoaded = true;\r\n this.$refs.mychild.getAddressList();\r\n }\r\n },\r\n addressRedirect() {\r\n this.addressLoaded = false;\r\n this.showAddress = false;\r\n },\r\n couponTap: function() {\r\n this.showCoupon = true;\r\n },\r\n changeCoupon: function(coupon) {\r\n if (!coupon) {\r\n this.usableCoupon = { coupon_title: \"不使用优惠券\", id: 0 };\r\n } else {\r\n this.usableCoupon = coupon;\r\n }\r\n this.computedPrice();\r\n },\r\n payItem: function(index) {\r\n this.active = index;\r\n },\r\n changeAddress(addressInfo) {\r\n this.addressInfo = addressInfo;\r\n },\r\n createOrder() {\r\n if (!this.active) return this.$dialog.toast({ mes: \"请选择支付方式\" });\r\n if (!this.addressInfo.id)\r\n return this.$dialog.toast({ mes: \"请选择收货地址\" });\r\n this.$dialog.loading.open(\"生成订单中\");\r\n createOrder(this.orderGroupInfo.orderKey, {\r\n addressId: this.addressInfo.id,\r\n useIntegral: this.useIntegral ? 1 : 0,\r\n couponId: this.usableCoupon.id || 0,\r\n payType: this.active,\r\n pinkId: this.pinkId,\r\n seckill_id: this.orderGroupInfo.seckill_id,\r\n combinationId: this.orderGroupInfo.combination_id,\r\n bargainId: this.orderGroupInfo.bargain_id,\r\n from: this.from,\r\n mark: this.mark || \"\"\r\n })\r\n .then(res => {\r\n this.$dialog.loading.close();\r\n const data = res.data;\r\n switch (data.status) {\r\n case \"ORDER_EXIST\":\r\n case \"EXTEND_ORDER\":\r\n case \"PAY_DEFICIENCY\":\r\n case \"PAY_ERROR\":\r\n this.$dialog.toast({ mes: res.msg });\r\n this.$router.replace({\r\n path: \"/order/detail/\" + data.result.orderId\r\n });\r\n break;\r\n case \"SUCCESS\":\r\n this.$dialog.success(res.msg);\r\n this.$router.replace({\r\n path: \"/order/detail/\" + data.result.orderId\r\n });\r\n break;\r\n case \"WECHAT_H5_PAY\":\r\n this.$router.replace({\r\n path: \"/order/detail/\" + data.result.orderId\r\n });\r\n setTimeout(() => {\r\n location.href = data.result.jsConfig.mweb_url;\r\n }, 100);\r\n break;\r\n case \"WECHAT_PAY\":\r\n pay(data.result.jsConfig).finally(() => {\r\n this.$router.replace({\r\n path: \"/order/detail/\" + data.result.orderId\r\n });\r\n });\r\n }\r\n })\r\n .catch(err => {\r\n console.log(err);\r\n this.$dialog.loading.close();\r\n this.$dialog.error(err.msg || \"创建订单失败\");\r\n });\r\n }\r\n }\r\n};\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrderSubmission.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrderSubmission.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OrderSubmission.vue?vue&type=template&id=a9d92d7e&\"\nimport script from \"./OrderSubmission.vue?vue&type=script&lang=js&\"\nexport * from \"./OrderSubmission.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"orderGoods\"},[_c('div',{staticClass:\"total\"},[_vm._v(\"共\"+_vm._s(_vm.cartInfo.length)+\"件商品\")]),_c('div',{staticClass:\"goodWrapper\"},_vm._l((_vm.cartInfo),function(cart){return _c('div',{key:cart.id,staticClass:\"item acea-row row-between-wrapper\"},[_c('div',{staticClass:\"pictrue\"},[_c('img',{staticClass:\"image\",attrs:{\"src\":cart.productInfo.image}})]),_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"acea-row row-between-wrapper\"},[_c('div',{staticClass:\"name line1\"},[_vm._v(_vm._s(cart.productInfo.store_name))]),_c('div',{staticClass:\"num\"},[_vm._v(\"x \"+_vm._s(cart.cart_num))])]),(cart.productInfo.attrInfo)?_c('div',{staticClass:\"attr line1\"},[_vm._v(\"\\n \"+_vm._s(cart.productInfo.attrInfo.suk)+\"\\n \")]):_vm._e(),_c('div',{staticClass:\"money font-color-orange\"},[_vm._v(\"¥\"+_vm._s(cart.truePrice))]),(_vm.evaluate === 3)?_c('div',{staticClass:\"evaluate\",on:{\"click\":function($event){return _vm.$router.push({ path: '/goods_evaluate/' + cart.unique })}}},[_vm._v(\"\\n 评价\\n \")]):_vm._e()])])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"orderGoods\">\r\n <div class=\"total\">共{{ cartInfo.length }}件商品</div>\r\n <div class=\"goodWrapper\">\r\n <div\r\n class=\"item acea-row row-between-wrapper\"\r\n v-for=\"cart in cartInfo\"\r\n :key=\"cart.id\"\r\n >\r\n <div class=\"pictrue\">\r\n <img :src=\"cart.productInfo.image\" class=\"image\" />\r\n </div>\r\n <div class=\"text\">\r\n <div class=\"acea-row row-between-wrapper\">\r\n <div class=\"name line1\">{{ cart.productInfo.store_name }}</div>\r\n <div class=\"num\">x {{ cart.cart_num }}</div>\r\n </div>\r\n <div class=\"attr line1\" v-if=\"cart.productInfo.attrInfo\">\r\n {{ cart.productInfo.attrInfo.suk }}\r\n </div>\r\n <div class=\"money font-color-orange\">¥{{ cart.truePrice }}</div>\r\n <div\r\n class=\"evaluate\"\r\n v-if=\"evaluate === 3\"\r\n @click=\"$router.push({ path: '/goods_evaluate/' + cart.unique })\"\r\n >\r\n 评价\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nexport default {\r\n name: \"OrderGoods\",\r\n props: {\r\n evaluate: Number,\r\n cartInfo: {\r\n type: Array,\r\n default: () => []\r\n }\r\n },\r\n data: function() {\r\n return {};\r\n },\r\n mounted: function() {},\r\n methods: {}\r\n};\r\n</script>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrderGoods.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrderGoods.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OrderGoods.vue?vue&type=template&id=482594d1&\"\nimport script from \"./OrderGoods.vue?vue&type=script&lang=js&\"\nexport * from \"./OrderGoods.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"h5/img/line.05bf1c84.jpg\";","/*\r\n * 订单确认\r\n * */\r\nimport request from \"@utils/request\";\r\n\r\n/**\r\n * 通过购物车 id 获取订单信息\r\n * @param cartId\r\n * @returns {*}\r\n */\r\nexport function postOrderConfirm(cartId) {\r\n return request.post(\"/order/confirm\", { cartId });\r\n}\r\n\r\n/**\r\n * 计算订单金额\r\n * @param key\r\n * @param data\r\n * @returns {*}\r\n */\r\nexport function postOrderComputed(key, data) {\r\n return request.post(\"/order/computed/\" + key, data);\r\n}\r\n\r\n/**\r\n * 获取指定金额可用优惠券\r\n * @param price\r\n * @returns {*}\r\n */\r\nexport function getOrderCoupon(price) {\r\n return request.get(\"/coupons/order/\" + (parseFloat(price) || 0));\r\n}\r\n\r\n/**\r\n * 生成订单\r\n * @param key\r\n * @param data\r\n * @returns {*}\r\n */\r\nexport function createOrder(key, data) {\r\n return request.post(\"/order/create/\" + key, data || {});\r\n}\r\n\r\n/**\r\n * 订单统计数据\r\n * @returns {*}\r\n */\r\nexport function getOrderData() {\r\n return request.get(\"/order/data\");\r\n}\r\n\r\n/**\r\n * 订单列表\r\n * @returns {*}\r\n */\r\nexport function getOrderList(data) {\r\n return request.get(\"/order/list\", data);\r\n}\r\n\r\n/**\r\n * 取消订单\r\n * @returns {*}\r\n */\r\nexport function cancelOrder(id) {\r\n return request.post(\"/order/cancel\", { id });\r\n}\r\n\r\n/**\r\n * 订单详情\r\n * @returns {*}\r\n */\r\nexport function orderDetail(id) {\r\n return request.get(\"/order/detail/\" + id);\r\n}\r\n\r\n/**\r\n * 退款理由\r\n * @returns {*}\r\n */\r\nexport function getRefundReason() {\r\n return request.get(\"/order/refund/reason\");\r\n}\r\n\r\n/**\r\n * 提交退款\r\n * @returns {*}\r\n */\r\nexport function postOrderRefund(data) {\r\n return request.post(\"/order/refund/verify\", data);\r\n}\r\n\r\n/**\r\n * 确认收货\r\n * @returns {*}\r\n */\r\nexport function takeOrder(uni) {\r\n return request.post(\"/order/take\", { uni });\r\n}\r\n\r\n/**\r\n * 删除订单\r\n * @returns {*}\r\n */\r\nexport function delOrder(uni) {\r\n return request.post(\"/order/del\", { uni });\r\n}\r\n\r\n/**\r\n * 订单查询物流信息\r\n * @returns {*}\r\n */\r\nexport function express(uni) {\r\n return request.get(\"order/express/\" + uni);\r\n}\r\n\r\n/**\r\n * 订单查询物流信息\r\n * @returns {*}\r\n */\r\nexport function payOrder(uni, paytype, from) {\r\n return request.post(\"order/pay\", { uni, paytype, from });\r\n}\r\n"],"sourceRoot":""}
|