1 |
- {"version":3,"sources":["webpack:///./src/libs/order.js","webpack:///./src/components/Payment.vue?2fb2","webpack:///./src/views/order/MyOrder.vue?b46d","webpack:///src/views/order/MyOrder.vue","webpack:///./src/views/order/MyOrder.vue?295a","webpack:///./src/views/order/MyOrder.vue","webpack:///./src/assets/images/noOrder.png","webpack:///./src/views/order/MyOrder.vue?b3fc","webpack:///./src/components/Payment.vue?9341","webpack:///src/components/Payment.vue","webpack:///./src/components/Payment.vue?c913","webpack:///./src/components/Payment.vue","webpack:///./src/assets/images/orderTime.png","webpack:///./src/api/order.js"],"names":["cancelOrderHandle","orderId","Promise","resolve","reject","dialog","confirm","mes","opts","cancelOrder","then","res","success","catch","err","error","takeOrderHandle","takeOrder","delOrderHandle","delOrder","payOrderHandle","type","from","loading","open","payOrder","data","close","status","setTimeout","location","replace","result","jsConfig","mweb_url","toast","msg","pay","render","_vm","this","_h","$createElement","_c","_self","ref","staticClass","_v","_s","orderData","order_count","sum_price","_m","class","on","$event","$router","path","unpaid_count","unshipped_count","received_count","evaluated_count","complete_count","_l","order","key","id","combination_id","_e","seckill_id","bargain_id","_add_time","getStatus","push","order_id","cart","attrs","productInfo","image","stopPropagation","store_name","attrInfo","price","cart_num","cartInfo","length","pay_price","_status","_type","paymentTap","delivery_type","orderList","page","loaded","payType","userInfo","now_money","toPay","model","value","callback","$$v","expression","generalActive","generalContent","closeGeneralWindow","staticRenderFns","name","NAME","offlinePayStatus","parseInt","$route","params","limit","promoterNum","title","components","Loading","Payment","GeneralWindow","computed","watch","n","changeType","getOrderData","methods","setOfflinePayStatus","that","indexOf","reload","getOrderList","STATUS","mounted","$scroll","$refs","container","component","module","exports","types","checked","balance","directives","rawName","props","Boolean","default","Number","String","Array","$emit","postOrderConfirm","cartId","request","post","postOrderComputed","getOrderCoupon","get","parseFloat","createOrder","orderDetail","getRefundReason","postOrderRefund","uni","express","paytype","orderVerific","verify_code","is_confirm","orderAgain"],"mappings":"4SAIO,SAASA,EAAkBC,GAChC,OAA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YAAa,CAAES,MAAKE,UAAS/I,SAM5C,SAASgJ,EAAaC,EAAaC,GACxC,OAAOf,OAAQC,KAAK,sBAAuB,CAAEa,cAAaC,eAOrD,SAASC,EAAWN,GACzB,OAAOV,OAAQC,KAAK,cAAe,CAAES,IAAKA","file":"h5/js/chunk-284649fa.7149effa.js","sourcesContent":["import { cancelOrder, takeOrder, delOrder, payOrder } from \"@api/order\";\r\nimport dialog from \"@utils/dialog\";\r\nimport { pay } from \"@libs/wechat\";\r\n\r\nexport function cancelOrderHandle(orderId) {\r\n return new Promise((resolve, reject) => {\r\n dialog.confirm({\r\n mes: \"确认取消该订单?\",\r\n opts() {\r\n cancelOrder(orderId)\r\n .then(res => {\r\n dialog.success(\"取消成功\");\r\n resolve(res);\r\n })\r\n .catch(err => {\r\n dialog.error(\"取消失败\");\r\n reject(err);\r\n });\r\n }\r\n });\r\n });\r\n}\r\n\r\nexport function takeOrderHandle(orderId) {\r\n return new Promise((resolve, reject) => {\r\n takeOrder(orderId)\r\n .then(res => {\r\n resolve(res);\r\n })\r\n .catch(err => {\r\n dialog.error(\"收货失败\");\r\n reject(err);\r\n });\r\n });\r\n}\r\n\r\nexport function delOrderHandle(orderId) {\r\n return new Promise((resolve, reject) => {\r\n dialog.confirm({\r\n mes: \"确认删除该订单?\",\r\n opts() {\r\n delOrder(orderId)\r\n .then(res => {\r\n dialog.success(\"删除成功\");\r\n resolve(res);\r\n })\r\n .catch(err => {\r\n dialog.error(\"删除失败\");\r\n reject(err);\r\n });\r\n }\r\n });\r\n });\r\n}\r\n\r\nexport function payOrderHandle(orderId, type, from) {\r\n return new Promise((resolve, reject) => {\r\n dialog.loading.open(\"\");\r\n payOrder(orderId, type, from)\r\n .then(res => {\r\n const data = res.data;\r\n dialog.loading.close();\r\n switch (data.status) {\r\n case \"WECHAT_H5_PAY\":\r\n reject(data);\r\n setTimeout(() => {\r\n location.replace(data.result.jsConfig.mweb_url);\r\n }, 100);\r\n break;\r\n case \"ORDER_EXIST\":\r\n case \"EXTEND_ORDER\":\r\n case \"PAY_ERROR\":\r\n case \"PAY_DEFICIENCY\":\r\n dialog.toast({ mes: res.msg });\r\n reject(data);\r\n break;\r\n case \"SUCCESS\":\r\n dialog.success(res.msg);\r\n resolve(data);\r\n break;\r\n case \"WECHAT_PAY\":\r\n pay(data.result.jsConfig).then(() => {\r\n resolve(data);\r\n });\r\n }\r\n })\r\n .catch(err => {\r\n dialog.loading.close();\r\n dialog.toast({ mes: err.msg || \"订单支付失败\" });\r\n });\r\n });\r\n}\r\n","import mod from \"-!../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./Payment.vue?vue&type=style&index=0&id=54b2b916&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./Payment.vue?vue&type=style&index=0&id=54b2b916&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"container\",staticClass:\"my-order\"},[_c('div',{staticClass:\"header bg-color-red\"},[_c('div',{staticClass:\"picTxt acea-row row-between-wrapper\"},[_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"订单信息\")]),_c('div',[_vm._v(\"\\n 累计订单:\"+_vm._s(_vm.orderData.order_count || 0)+\" 总消费:¥\"+_vm._s(_vm.orderData.sum_price || 0)+\"\\n \")])]),_vm._m(0)])]),_c('div',{staticClass:\"nav acea-row row-around\"},[_c('div',{staticClass:\"item\",class:{ on: _vm.type === 0 },on:{\"click\":function($event){return _vm.$router.replace({ path: '/order/list/0' })}}},[_c('div',[_vm._v(\"待付款\")]),_c('div',{staticClass:\"num\"},[_vm._v(_vm._s(_vm.orderData.unpaid_count || 0))])]),_c('div',{staticClass:\"item\",class:{ on: _vm.type === 1 },on:{\"click\":function($event){return _vm.$router.replace({ path: '/order/list/1' })}}},[_c('div',[_vm._v(\"待发货\")]),_c('div',{staticClass:\"num\"},[_vm._v(_vm._s(_vm.orderData.unshipped_count || 0))])]),_c('div',{staticClass:\"item\",class:{ on: _vm.type === 2 },on:{\"click\":function($event){return _vm.$router.replace({ path: '/order/list/2' })}}},[_c('div',[_vm._v(\"待收货\")]),_c('div',{staticClass:\"num\"},[_vm._v(_vm._s(_vm.orderData.received_count || 0))])]),_c('div',{staticClass:\"item\",class:{ on: _vm.type === 3 },on:{\"click\":function($event){return _vm.$router.replace({ path: '/order/list/3' })}}},[_c('div',[_vm._v(\"待评价\")]),_c('div',{staticClass:\"num\"},[_vm._v(_vm._s(_vm.orderData.evaluated_count || 0))])]),_c('div',{staticClass:\"item\",class:{ on: _vm.type === 4 },on:{\"click\":function($event){return _vm.$router.replace({ path: '/order/list/4' })}}},[_c('div',[_vm._v(\"已完成\")]),_c('div',{staticClass:\"num\"},[_vm._v(_vm._s(_vm.orderData.complete_count || 0))])])]),_c('div',{staticClass:\"list\"},_vm._l((_vm.orderList),function(order){return _c('div',{key:order.id,staticClass:\"item\"},[_c('div',{staticClass:\"title acea-row row-between-wrapper\"},[_c('div',{staticClass:\"acea-row row-middle\"},[(order.combination_id > 0)?_c('span',{staticClass:\"sign cart-color acea-row row-center-wrapper\"},[_vm._v(\"拼团\")]):_vm._e(),(order.seckill_id > 0)?_c('span',{staticClass:\"sign cart-color acea-row row-center-wrapper\"},[_vm._v(\"秒杀\")]):_vm._e(),(order.bargain_id > 0)?_c('span',{staticClass:\"sign cart-color acea-row row-center-wrapper\"},[_vm._v(\"砍价\")]):_vm._e(),_vm._v(\"\\n \"+_vm._s(order._add_time)+\"\\n \")]),_c('div',{staticClass:\"font-color-red\"},[_vm._v(_vm._s(_vm.getStatus(order)))])]),_c('div',{on:{\"click\":function($event){return _vm.$router.push({ path: '/order/detail/' + order.order_id })}}},_vm._l((order.cartInfo),function(cart){return _c('div',{key:cart.id,staticClass:\"item-info acea-row row-between row-top\"},[_c('div',{staticClass:\"pictrue\"},[(\n cart.combination_id === 0 &&\n cart.bargain_id === 0 &&\n cart.seckill_id === 0\n )?_c('img',{attrs:{\"src\":cart.productInfo.image},on:{\"click\":function($event){$event.stopPropagation();return _vm.$router.push({ path: '/detail/' + cart.productInfo.id })}}}):(cart.combination_id > 0)?_c('img',{attrs:{\"src\":cart.productInfo.image},on:{\"click\":function($event){$event.stopPropagation();return _vm.$router.push({\n path: '/activity/group_detail/' + cart.combination_id\n })}}}):(cart.bargain_id > 0)?_c('img',{attrs:{\"src\":cart.productInfo.image},on:{\"click\":function($event){$event.stopPropagation();return _vm.$router.push({\n path: '/activity/dargain_detail/' + cart.bargain_id\n })}}}):(cart.seckill_id > 0)?_c('img',{attrs:{\"src\":cart.productInfo.image},on:{\"click\":function($event){$event.stopPropagation();return _vm.$router.push({\n path: '/activity/seckill_detail/' + cart.seckill_id\n })}}}):_vm._e()]),_c('div',{staticClass:\"text acea-row row-between\"},[_c('div',{staticClass:\"name line2\"},[_vm._v(\"\\n \"+_vm._s(cart.productInfo.store_name)+\"\\n \")]),_c('div',{staticClass:\"money\"},[_c('div',[_vm._v(\"\\n ¥\"+_vm._s(cart.productInfo.attrInfo\n ? cart.productInfo.attrInfo.price\n : cart.productInfo.price)+\"\\n \")]),_c('div',[_vm._v(\"x\"+_vm._s(cart.cart_num))])])])])}),0),_c('div',{staticClass:\"totalPrice\"},[_vm._v(\"\\n 共\"+_vm._s(order.cartInfo.length || 0)+\"件商品,总金额\\n \"),_c('span',{staticClass:\"money font-color-red\"},[_vm._v(\"¥\"+_vm._s(order.pay_price))])]),_c('div',{staticClass:\"bottom acea-row row-right row-middle\"},[(order._status._type === 0 || order._status._type == 9)?[_c('div',{staticClass:\"bnt cancelBnt\",on:{\"click\":function($event){return _vm.cancelOrder(order)}}},[_vm._v(\"\\n 取消订单\\n \")])]:_vm._e(),(order._status._type === 0)?[_c('div',{staticClass:\"bnt bg-color-red\",on:{\"click\":function($event){return _vm.paymentTap(order)}}},[_vm._v(\"\\n 立即付款\\n \")])]:_vm._e(),(order._status._type === 1 || order._status._type === 9)?[_c('div',{staticClass:\"bnt bg-color-red\",on:{\"click\":function($event){return _vm.$router.push({ path: '/order/detail/' + order.order_id })}}},[_vm._v(\"\\n 查看详情\\n \")])]:_vm._e(),(order._status._type === 2)?[_c('div',{staticClass:\"bnt default\",on:{\"click\":function($event){return _vm.$router.push({ path: '/order/logistics/' + order.order_id })}}},[_vm._v(\"\\n 查看物流\\n \")]),_c('div',{staticClass:\"bnt bg-color-red\",on:{\"click\":function($event){return _vm.takeOrder(order)}}},[_vm._v(\"\\n 确认收货\\n \")])]:_vm._e(),(order._status._type === 3)?[(order.delivery_type === 'express')?_c('div',{staticClass:\"bnt default\",on:{\"click\":function($event){return _vm.$router.push({ path: '/order/logistics/' + order.order_id })}}},[_vm._v(\"\\n 查看物流\\n \")]):_vm._e(),_c('div',{staticClass:\"bnt bg-color-red\",on:{\"click\":function($event){return _vm.$router.push({ path: '/order/detail/' + order.order_id })}}},[_vm._v(\"\\n 去评价\\n \")])]:_vm._e(),(order._status._type === 4)?[_c('div',{staticClass:\"bnt bg-color-red\",on:{\"click\":function($event){return _vm.$router.push({ path: '/order/detail/' + order.order_id })}}},[_vm._v(\"\\n 查看订单\\n \")])]:_vm._e()],2)])}),0),(_vm.orderList.length === 0 && _vm.page > 1)?_c('div',{staticClass:\"noCart\"},[_vm._m(1)]):_vm._e(),_c('Loading',{attrs:{\"loaded\":_vm.loaded,\"loading\":_vm.loading}}),_c('Payment',{attrs:{\"types\":_vm.payType,\"balance\":_vm.userInfo.now_money},on:{\"checked\":_vm.toPay},model:{value:(_vm.pay),callback:function ($$v) {_vm.pay=$$v},expression:\"pay\"}}),_c('GeneralWindow',{attrs:{\"generalActive\":_vm.generalActive,\"generalContent\":_vm.generalContent},on:{\"closeGeneralWindow\":_vm.closeGeneralWindow}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":require(\"@assets/images/orderTime.png\")}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":require(\"@assets/images/noOrder.png\")}})])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"my-order\" ref=\"container\">\r\n <div class=\"header bg-color-red\">\r\n <div class=\"picTxt acea-row row-between-wrapper\">\r\n <div class=\"text\">\r\n <div class=\"name\">订单信息</div>\r\n <div>\r\n 累计订单:{{ orderData.order_count || 0 }} 总消费:¥{{\r\n orderData.sum_price || 0\r\n }}\r\n </div>\r\n </div>\r\n <div class=\"pictrue\"><img src=\"@assets/images/orderTime.png\" /></div>\r\n </div>\r\n </div>\r\n <div class=\"nav acea-row row-around\">\r\n <div\r\n class=\"item\"\r\n :class=\"{ on: type === 0 }\"\r\n @click=\"$router.replace({ path: '/order/list/0' })\"\r\n >\r\n <div>待付款</div>\r\n <div class=\"num\">{{ orderData.unpaid_count || 0 }}</div>\r\n </div>\r\n <div\r\n class=\"item\"\r\n :class=\"{ on: type === 1 }\"\r\n @click=\"$router.replace({ path: '/order/list/1' })\"\r\n >\r\n <div>待发货</div>\r\n <div class=\"num\">{{ orderData.unshipped_count || 0 }}</div>\r\n </div>\r\n <div\r\n class=\"item\"\r\n :class=\"{ on: type === 2 }\"\r\n @click=\"$router.replace({ path: '/order/list/2' })\"\r\n >\r\n <div>待收货</div>\r\n <div class=\"num\">{{ orderData.received_count || 0 }}</div>\r\n </div>\r\n <div\r\n class=\"item\"\r\n :class=\"{ on: type === 3 }\"\r\n @click=\"$router.replace({ path: '/order/list/3' })\"\r\n >\r\n <div>待评价</div>\r\n <div class=\"num\">{{ orderData.evaluated_count || 0 }}</div>\r\n </div>\r\n <div\r\n class=\"item\"\r\n :class=\"{ on: type === 4 }\"\r\n @click=\"$router.replace({ path: '/order/list/4' })\"\r\n >\r\n <div>已完成</div>\r\n <div class=\"num\">{{ orderData.complete_count || 0 }}</div>\r\n </div>\r\n </div>\r\n <div class=\"list\">\r\n <div class=\"item\" v-for=\"order in orderList\" :key=\"order.id\">\r\n <div class=\"title acea-row row-between-wrapper\">\r\n <div class=\"acea-row row-middle\">\r\n <span\r\n class=\"sign cart-color acea-row row-center-wrapper\"\r\n v-if=\"order.combination_id > 0\"\r\n >拼团</span\r\n ><span\r\n class=\"sign cart-color acea-row row-center-wrapper\"\r\n v-if=\"order.seckill_id > 0\"\r\n >秒杀</span\r\n ><span\r\n class=\"sign cart-color acea-row row-center-wrapper\"\r\n v-if=\"order.bargain_id > 0\"\r\n >砍价</span\r\n >\r\n {{ order._add_time }}\r\n </div>\r\n <div class=\"font-color-red\">{{ getStatus(order) }}</div>\r\n </div>\r\n <div @click=\"$router.push({ path: '/order/detail/' + order.order_id })\">\r\n <div\r\n class=\"item-info acea-row row-between row-top\"\r\n v-for=\"cart in order.cartInfo\"\r\n :key=\"cart.id\"\r\n >\r\n <div class=\"pictrue\">\r\n <img\r\n :src=\"cart.productInfo.image\"\r\n @click.stop=\"\r\n $router.push({ path: '/detail/' + cart.productInfo.id })\r\n \"\r\n v-if=\"\r\n cart.combination_id === 0 &&\r\n cart.bargain_id === 0 &&\r\n cart.seckill_id === 0\r\n \"\r\n />\r\n <img\r\n :src=\"cart.productInfo.image\"\r\n @click.stop=\"\r\n $router.push({\r\n path: '/activity/group_detail/' + cart.combination_id\r\n })\r\n \"\r\n v-else-if=\"cart.combination_id > 0\"\r\n />\r\n <img\r\n :src=\"cart.productInfo.image\"\r\n @click.stop=\"\r\n $router.push({\r\n path: '/activity/dargain_detail/' + cart.bargain_id\r\n })\r\n \"\r\n v-else-if=\"cart.bargain_id > 0\"\r\n />\r\n <img\r\n :src=\"cart.productInfo.image\"\r\n @click.stop=\"\r\n $router.push({\r\n path: '/activity/seckill_detail/' + cart.seckill_id\r\n })\r\n \"\r\n v-else-if=\"cart.seckill_id > 0\"\r\n />\r\n </div>\r\n <div class=\"text acea-row row-between\">\r\n <div class=\"name line2\">\r\n {{ cart.productInfo.store_name }}\r\n </div>\r\n <div class=\"money\">\r\n <div>\r\n ¥{{\r\n cart.productInfo.attrInfo\r\n ? cart.productInfo.attrInfo.price\r\n : cart.productInfo.price\r\n }}\r\n </div>\r\n <div>x{{ cart.cart_num }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"totalPrice\">\r\n 共{{ order.cartInfo.length || 0 }}件商品,总金额\r\n <span class=\"money font-color-red\">¥{{ order.pay_price }}</span>\r\n </div>\r\n <div class=\"bottom acea-row row-right row-middle\">\r\n <template\r\n v-if=\"order._status._type === 0 || order._status._type == 9\"\r\n >\r\n <div class=\"bnt cancelBnt\" @click=\"cancelOrder(order)\">\r\n 取消订单\r\n </div>\r\n </template>\r\n <template v-if=\"order._status._type === 0\">\r\n <div class=\"bnt bg-color-red\" @click=\"paymentTap(order)\">\r\n 立即付款\r\n </div>\r\n </template>\r\n <template\r\n v-if=\"order._status._type === 1 || order._status._type === 9\"\r\n >\r\n <div\r\n class=\"bnt bg-color-red\"\r\n @click=\"$router.push({ path: '/order/detail/' + order.order_id })\"\r\n >\r\n 查看详情\r\n </div>\r\n </template>\r\n <template v-if=\"order._status._type === 2\">\r\n <div\r\n class=\"bnt default\"\r\n @click=\"\r\n $router.push({ path: '/order/logistics/' + order.order_id })\r\n \"\r\n >\r\n 查看物流\r\n </div>\r\n <div class=\"bnt bg-color-red\" @click=\"takeOrder(order)\">\r\n 确认收货\r\n </div>\r\n </template>\r\n <template v-if=\"order._status._type === 3\">\r\n <div\r\n class=\"bnt default\"\r\n @click=\"\r\n $router.push({ path: '/order/logistics/' + order.order_id })\r\n \"\r\n v-if=\"order.delivery_type === 'express'\"\r\n >\r\n 查看物流\r\n </div>\r\n <div\r\n class=\"bnt bg-color-red\"\r\n @click=\"$router.push({ path: '/order/detail/' + order.order_id })\"\r\n >\r\n 去评价\r\n </div>\r\n </template>\r\n <template v-if=\"order._status._type === 4\">\r\n <div\r\n class=\"bnt bg-color-red\"\r\n @click=\"$router.push({ path: '/order/detail/' + order.order_id })\"\r\n >\r\n 查看订单\r\n </div>\r\n </template>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"noCart\" v-if=\"orderList.length === 0 && page > 1\">\r\n <div class=\"pictrue\"><img src=\"@assets/images/noOrder.png\" /></div>\r\n </div>\r\n <Loading :loaded=\"loaded\" :loading=\"loading\"></Loading>\r\n <Payment\r\n v-model=\"pay\"\r\n :types=\"payType\"\r\n @checked=\"toPay\"\r\n :balance=\"userInfo.now_money\"\r\n ></Payment>\r\n <GeneralWindow\r\n :generalActive=\"generalActive\"\r\n @closeGeneralWindow=\"closeGeneralWindow\"\r\n :generalContent=\"generalContent\"\r\n ></GeneralWindow>\r\n </div>\r\n</template>\r\n<script>\r\nimport { getOrderData, getOrderList } from \"@api/order\";\r\nimport {\r\n cancelOrderHandle,\r\n payOrderHandle,\r\n takeOrderHandle\r\n} from \"@libs/order\";\r\nimport Loading from \"@components/Loading\";\r\nimport Payment from \"@components/Payment\";\r\nimport { mapGetters } from \"vuex\";\r\nimport { isWeixin } from \"@utils\";\r\nimport GeneralWindow from \"@components/GeneralWindow\";\r\n\r\nconst STATUS = [\r\n \"待付款\",\r\n \"待发货\",\r\n \"待收货\",\r\n \"待评价\",\r\n \"已完成\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"待付款\"\r\n];\r\n\r\nconst NAME = \"MyOrder\";\r\n\r\nexport default {\r\n name: NAME,\r\n data() {\r\n return {\r\n offlinePayStatus: 2,\r\n orderData: {},\r\n type: parseInt(this.$route.params.type) || 0,\r\n page: 1,\r\n limit: 20,\r\n loaded: false,\r\n loading: false,\r\n orderList: [],\r\n pay: false,\r\n payType: [\"yue\", \"weixin\"],\r\n from: isWeixin() ? \"weixin\" : \"weixinh5\",\r\n generalActive: false,\r\n generalContent: {\r\n promoterNum: \"\",\r\n title: \"\"\r\n }\r\n };\r\n },\r\n components: {\r\n Loading,\r\n Payment,\r\n GeneralWindow\r\n },\r\n computed: mapGetters([\"userInfo\"]),\r\n watch: {\r\n $route(n) {\r\n if (n.name === NAME) {\r\n const type = parseInt(this.$route.params.type) || 0;\r\n if (this.type !== type) {\r\n this.changeType(type);\r\n }\r\n this.getOrderData();\r\n }\r\n }\r\n },\r\n methods: {\r\n setOfflinePayStatus: function(status) {\r\n var that = this;\r\n that.offlinePayStatus = status;\r\n if (status === 1) {\r\n if (that.payType.indexOf(\"offline\") < 0) {\r\n that.payType.push(\"offline\");\r\n }\r\n }\r\n },\r\n getOrderData() {\r\n getOrderData().then(res => {\r\n this.orderData = res.data;\r\n });\r\n },\r\n takeOrder(order) {\r\n takeOrderHandle(order.order_id).then(res => {\r\n this.generalActive = true;\r\n if (\r\n res.data.gain_integral != \"0.00\" &&\r\n res.data.gain_coupon != \"0.00\"\r\n ) {\r\n return (this.generalContent = {\r\n promoterNum: `恭喜您获得${res.data.gain_coupon}元优惠券以及${\r\n res.data.gain_integral\r\n }积分,购买商品时可抵现哦~`,\r\n title: \"恭喜您获得优惠礼包\"\r\n });\r\n } else if (res.data.gain_integral != \"0.00\") {\r\n return (this.generalContent = {\r\n promoterNum: `恭喜您获得${\r\n res.data.gain_integral\r\n }积分,购买商品时可抵现哦~`,\r\n title: \"赠送积分\"\r\n });\r\n } else if (res.data.gain_coupon != \"0.00\") {\r\n return (this.generalContent = {\r\n promoterNum: `恭喜您获得${\r\n res.data.gain_coupon\r\n }元优惠券,购买商品时可抵现哦~`,\r\n title: \"恭喜您获得优惠券\"\r\n });\r\n } else {\r\n this.$dialog.success(\"收货成功\");\r\n }\r\n });\r\n },\r\n closeGeneralWindow(msg) {\r\n this.generalActive = msg;\r\n this.reload();\r\n this.getOrderData();\r\n },\r\n reload() {\r\n this.changeType(this.type);\r\n },\r\n changeType(type) {\r\n this.type = type;\r\n this.orderList = [];\r\n this.page = 1;\r\n this.loaded = false;\r\n this.loading = false;\r\n this.getOrderList();\r\n },\r\n getOrderList() {\r\n if (this.loading || this.loaded) return;\r\n this.loading = true;\r\n const { page, limit, type } = this;\r\n getOrderList({\r\n page,\r\n limit,\r\n type\r\n }).then(res => {\r\n this.orderList = this.orderList.concat(res.data);\r\n this.page++;\r\n this.loaded = res.data.length < this.limit;\r\n this.loading = false;\r\n });\r\n },\r\n getStatus(order) {\r\n return STATUS[order._status._type];\r\n },\r\n cancelOrder(order) {\r\n cancelOrderHandle(order.order_id)\r\n .then(() => {\r\n this.orderList.splice(this.orderList.indexOf(order), 1);\r\n })\r\n .catch(() => {\r\n this.reload();\r\n });\r\n },\r\n paymentTap: function(order) {\r\n var that = this;\r\n if (\r\n !(\r\n order.combination_id > 0 ||\r\n order.bargain_id > 0 ||\r\n order.seckill_id > 0\r\n )\r\n ) {\r\n that.setOfflinePayStatus(order.offlinePayStatus);\r\n }\r\n this.pay = true;\r\n this.toPay = type => {\r\n payOrderHandle(order.order_id, type, that.from)\r\n .then(() => {\r\n const type = parseInt(this.$route.params.type) || 0;\r\n that.changeType(type);\r\n that.getOrderData();\r\n })\r\n .catch(res => {\r\n if (res.status === \"WECHAT_H5_PAY\")\r\n return that.$router.push({\r\n path: \"/order/status/\" + order.order_id + \"/5\"\r\n });\r\n const type = parseInt(that.$route.params.type) || 0;\r\n that.changeType(type);\r\n that.getOrderData();\r\n });\r\n };\r\n },\r\n toPay() {}\r\n },\r\n mounted() {\r\n this.getOrderData();\r\n this.getOrderList();\r\n this.$scroll(this.$refs.container, () => {\r\n !this.loading && this.getOrderList();\r\n });\r\n }\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.noCart {\r\n margin-top: 0.17rem;\r\n padding-top: 0.1rem;\r\n}\r\n\r\n.noCart .pictrue {\r\n width: 4rem;\r\n height: 3rem;\r\n margin: 0.7rem auto 0.5rem auto;\r\n}\r\n\r\n.noCart .pictrue img {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./MyOrder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./MyOrder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyOrder.vue?vue&type=template&id=497d83cc&scoped=true&\"\nimport script from \"./MyOrder.vue?vue&type=script&lang=js&\"\nexport * from \"./MyOrder.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyOrder.vue?vue&type=style&index=0&id=497d83cc&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"497d83cc\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"h5/img/noOrder.90017ce2.png\";","import mod from \"-!../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./MyOrder.vue?vue&type=style&index=0&id=497d83cc&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./MyOrder.vue?vue&type=style&index=0&id=497d83cc&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"payment\",class:_vm.value === true ? 'on' : ''},[_c('div',{staticClass:\"title acea-row row-center-wrapper\"},[_vm._v(\"\\n 选择付款方式\"),_c('span',{staticClass:\"iconfont icon-guanbi\",on:{\"click\":_vm.close}})]),(_vm.types.indexOf('weixin') !== -1)?_c('div',{staticClass:\"item acea-row row-between-wrapper\",on:{\"click\":function($event){return _vm.checked('weixin')}}},[_vm._m(0),_c('div',{staticClass:\"iconfont icon-xiangyou\"})]):_vm._e(),(_vm.types.indexOf('alipay') !== -1)?_c('div',{staticClass:\"item acea-row row-between-wrapper\",on:{\"click\":function($event){return _vm.checked('alipay')}}},[_vm._m(1),_c('div',{staticClass:\"iconfont icon-xiangyou\"})]):_vm._e(),(_vm.types.indexOf('yue') !== -1)?_c('div',{staticClass:\"item acea-row row-between-wrapper\",on:{\"click\":function($event){return _vm.checked('yue')}}},[_c('div',{staticClass:\"left acea-row row-between-wrapper\"},[_c('div',{staticClass:\"iconfont icon-yuezhifu\"}),_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"余额支付\")]),_c('div',{staticClass:\"info\"},[_vm._v(\"\\n 当前可用余额:\"),_c('span',{staticClass:\"money\"},[_vm._v(_vm._s(_vm.balance))])])])]),_c('div',{staticClass:\"iconfont icon-xiangyou\"})]):_vm._e(),(_vm.types.indexOf('offline') !== -1)?_c('div',{staticClass:\"item acea-row row-between-wrapper\",on:{\"click\":function($event){return _vm.checked('offline')}}},[_vm._m(2),_c('div',{staticClass:\"iconfont icon-xiangyou\"})]):_vm._e()]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.value),expression:\"value\"}],staticClass:\"mask\",on:{\"click\":_vm.close}})])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"left acea-row row-between-wrapper\"},[_c('div',{staticClass:\"iconfont icon-weixinzhifu\"}),_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"微信支付\")]),_c('div',{staticClass:\"info\"},[_vm._v(\"使用微信快捷支付\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"left acea-row row-between-wrapper\"},[_c('div',{staticClass:\"iconfont icon-zhifubao\"}),_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"支付宝支付\")]),_c('div',{staticClass:\"info\"},[_vm._v(\"使用线上支付宝支付\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"left acea-row row-between-wrapper\"},[_c('div',{staticClass:\"iconfont icon-yuezhifu1\"}),_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"线下支付\")]),_c('div',{staticClass:\"info\"},[_vm._v(\"选择线下付款方式\")])])])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <div class=\"payment\" :class=\"value === true ? 'on' : ''\">\r\n <div class=\"title acea-row row-center-wrapper\">\r\n 选择付款方式<span class=\"iconfont icon-guanbi\" @click=\"close\"></span>\r\n </div>\r\n <div\r\n class=\"item acea-row row-between-wrapper\"\r\n v-if=\"types.indexOf('weixin') !== -1\"\r\n @click=\"checked('weixin')\"\r\n >\r\n <div class=\"left acea-row row-between-wrapper\">\r\n <div class=\"iconfont icon-weixinzhifu\"></div>\r\n <div class=\"text\">\r\n <div class=\"name\">微信支付</div>\r\n <div class=\"info\">使用微信快捷支付</div>\r\n </div>\r\n </div>\r\n <div class=\"iconfont icon-xiangyou\"></div>\r\n </div>\r\n <div\r\n class=\"item acea-row row-between-wrapper\"\r\n v-if=\"types.indexOf('alipay') !== -1\"\r\n @click=\"checked('alipay')\"\r\n >\r\n <div class=\"left acea-row row-between-wrapper\">\r\n <div class=\"iconfont icon-zhifubao\"></div>\r\n <div class=\"text\">\r\n <div class=\"name\">支付宝支付</div>\r\n <div class=\"info\">使用线上支付宝支付</div>\r\n </div>\r\n </div>\r\n <div class=\"iconfont icon-xiangyou\"></div>\r\n </div>\r\n <div\r\n class=\"item acea-row row-between-wrapper\"\r\n v-if=\"types.indexOf('yue') !== -1\"\r\n @click=\"checked('yue')\"\r\n >\r\n <div class=\"left acea-row row-between-wrapper\">\r\n <div class=\"iconfont icon-yuezhifu\"></div>\r\n <div class=\"text\">\r\n <div class=\"name\">余额支付</div>\r\n <div class=\"info\">\r\n 当前可用余额:<span class=\"money\">{{ balance }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"iconfont icon-xiangyou\"></div>\r\n </div>\r\n <div\r\n class=\"item acea-row row-between-wrapper\"\r\n v-if=\"types.indexOf('offline') !== -1\"\r\n @click=\"checked('offline')\"\r\n >\r\n <div class=\"left acea-row row-between-wrapper\">\r\n <div class=\"iconfont icon-yuezhifu1\"></div>\r\n <div class=\"text\">\r\n <div class=\"name\">线下支付</div>\r\n <div class=\"info\">选择线下付款方式</div>\r\n </div>\r\n </div>\r\n <div class=\"iconfont icon-xiangyou\"></div>\r\n </div>\r\n </div>\r\n <div class=\"mask\" v-show=\"value\" @click=\"close\"></div>\r\n </div>\r\n</template>\r\n<script>\r\nexport default {\r\n name: \"Payment\",\r\n props: {\r\n value: {\r\n type: Boolean,\r\n default: false\r\n },\r\n balance: {\r\n type: [Number, String],\r\n default: 0\r\n },\r\n types: {\r\n type: Array,\r\n default: () => [\"weixin\", \"alipay\", \"yue\", \"offline\"]\r\n }\r\n },\r\n data: function() {\r\n return {};\r\n },\r\n mounted: function() {},\r\n methods: {\r\n checked: function(type) {\r\n this.$emit(\"checked\", type);\r\n this.close();\r\n },\r\n close: function() {\r\n this.$emit(\"input\", false);\r\n }\r\n }\r\n};\r\n</script>\r\n<style scoped>\r\n.payment {\r\n position: fixed;\r\n bottom: 0;\r\n left: 0;\r\n width: 100%;\r\n border-radius: 0.16rem 0.16rem 0 0;\r\n background-color: #fff;\r\n padding-bottom: 0.6rem;\r\n z-index: 99;\r\n transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);\r\n -webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);\r\n -moz-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);\r\n -o-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);\r\n transform: translate3d(0, 100%, 0);\r\n -webkit-transform: translate3d(0, 100%, 0);\r\n -ms-transform: translate3d(0, 100%, 0);\r\n -moz-transform: translate3d(0, 100%, 0);\r\n -o-transform: translate3d(0, 100%, 0);\r\n}\r\n\r\n.payment.on {\r\n transform: translate3d(0, 0, 0);\r\n -webkit-transform: translate3d(0, 0, 0);\r\n -ms-transform: translate3d(0, 0, 0);\r\n -moz-transform: translate3d(0, 0, 0);\r\n -o-transform: translate3d(0, 0, 0);\r\n}\r\n\r\n.payment .title {\r\n text-align: center;\r\n height: 1.23rem;\r\n font-size: 0.32rem;\r\n color: #282828;\r\n font-weight: bold;\r\n padding-right: 0.3rem;\r\n margin-left: 0.3rem;\r\n position: relative;\r\n border-bottom: 0.01rem solid #eee;\r\n}\r\n\r\n.payment .title .iconfont {\r\n position: absolute;\r\n right: 0.3rem;\r\n top: 50%;\r\n transform: translateY(-50%);\r\n font-size: 0.43rem;\r\n color: #8a8a8a;\r\n font-weight: normal;\r\n}\r\n\r\n.payment .item {\r\n border-bottom: 0.01rem solid #eee;\r\n height: 1.3rem;\r\n margin-left: 0.3rem;\r\n padding-right: 0.3rem;\r\n}\r\n\r\n.payment .item .left {\r\n width: 6.1rem;\r\n}\r\n\r\n.payment .item .left .text {\r\n width: 5.4rem;\r\n}\r\n\r\n.payment .item .left .text .name {\r\n font-size: 0.32rem;\r\n color: #282828;\r\n}\r\n\r\n.payment .item .left .text .info {\r\n font-size: 0.24rem;\r\n color: #999;\r\n}\r\n\r\n.payment .item .left .text .info .money {\r\n color: #ff9900;\r\n}\r\n\r\n.payment .item .left .iconfont {\r\n font-size: 0.45rem;\r\n color: #09bb07;\r\n}\r\n\r\n.payment .item .left .iconfont.icon-zhifubao {\r\n color: #00aaea;\r\n}\r\n\r\n.payment .item .left .iconfont.icon-yuezhifu {\r\n color: #ff9900;\r\n}\r\n\r\n.payment .item .left .iconfont.icon-yuezhifu1 {\r\n color: #eb6623;\r\n}\r\n\r\n.payment .item .iconfont {\r\n font-size: 0.3rem;\r\n color: #999;\r\n}\r\n</style>\r\n","import mod from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./Payment.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./Payment.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Payment.vue?vue&type=template&id=54b2b916&scoped=true&\"\nimport script from \"./Payment.vue?vue&type=script&lang=js&\"\nexport * from \"./Payment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Payment.vue?vue&type=style&index=0&id=54b2b916&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"54b2b916\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"h5/img/orderTime.e95f9090.png\";","/*\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, data) {\r\n return request.get(\"/coupons/order/\" + (parseFloat(price) || 0), data);\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/**\r\n * 订单核销\r\n * @returns {*}\r\n */\r\nexport function orderVerific(verify_code, is_confirm) {\r\n return request.post(\"order/order_verific\", { verify_code, is_confirm });\r\n}\r\n/**\r\n * 再次下单\r\n * @param string uni\r\n *\r\n */\r\nexport function orderAgain(uni) {\r\n return request.post(\"order/again\", { uni: uni });\r\n}\r\n"],"sourceRoot":""}
|