1 |
- {"version":3,"sources":["webpack:///./src/libs/order.js","webpack:///./src/components/Payment.vue?eba5","webpack:///./src/views/order/MyOrder.vue?1552","webpack:///src/views/order/MyOrder.vue","webpack:///./src/views/order/MyOrder.vue?af59","webpack:///./src/views/order/MyOrder.vue","webpack:///./src/assets/images/noOrder.png","webpack:///./src/components/Payment.vue?0afc","webpack:///src/components/Payment.vue","webpack:///./src/components/Payment.vue?d576","webpack:///./src/components/Payment.vue","webpack:///./src/assets/images/orderTime.png","webpack:///./src/views/order/MyOrder.vue?b189","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","location","replace","result","jsConfig","mweb_url","toast","msg","pay","_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_Payment_vue_vue_type_style_index_0_id_54b2b916_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_Payment_vue_vue_type_style_index_0_id_54b2b916_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","n","render","_vm","this","_h","$createElement","_c","_self","ref","staticClass","_v","_s","orderData","order_count","sum_price","_m","class","on","click","$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","src","productInfo","image","stopPropagation","store_name","attrInfo","price","cart_num","cartInfo","length","pay_price","_status","_type","paymentTap","delivery_type","orderList","page","loaded","types","payType","balance","userInfo","now_money","checked","toPay","model","value","callback","$$v","expression","staticRenderFns","STATUS","NAME","MyOrdervue_type_script_lang_js_","name","offlinePayStatus","parseInt","$route","params","limit","Object","utils","components","Loading","Payment","computed","vuex_esm","watch","changeType","getOrderData","methods","setOfflinePayStatus","that","indexOf","_this","api_order","_this2","libs_order","finally","reload","getOrderList","_this3","concat","_this4","splice","_this5","mounted","_this6","$scroll","$refs","container","order_MyOrdervue_type_script_lang_js_","component","componentNormalizer","__webpack_exports__","module","exports","p","directives","rawName","Paymentvue_type_script_lang_js_","props","Boolean","default","Number","String","Array","$emit","components_Paymentvue_type_script_lang_js_","_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_MyOrder_vue_vue_type_style_index_0_id_6e06b184_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","_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_MyOrder_vue_vue_type_style_index_0_id_6e06b184_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","d","postOrderConfirm","postOrderComputed","getOrderCoupon","createOrder","orderDetail","getRefundReason","postOrderRefund","express","_utils_request__WEBPACK_IMPORTED_M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OAAQC,KAAK,iBAAmBnH,EAAK3C,GAAQ,IAO/C,SAASwG,IACd,OAAOqD,OAAQE,IAAI,eAOd,SAAS5C,EAAanH,GAC3B,OAAO6J,OAAQE,IAAI,cAAe/J,GAO7B,SAASjB,EAAY6D,GAC1B,OAAOiH,OAAQC,KAAK,gBAAiB,CAAElH,OAOlC,SAAS2G,EAAY3G,GAC1B,OAAOiH,OAAQE,IAAI,iBAAmBnH,GAOjC,SAAS4G,IACd,OAAOK,OAAQE,IAAI,wBAOd,SAASN,EAAgBzJ,GAC9B,OAAO6J,OAAQC,KAAK,uBAAwB9J,GAOvC,SAAST,EAAU0K,GACxB,OAAOJ,OAAQC,KAAK,cAAe,CAAEG,QAOhC,SAASxK,EAASwK,GACvB,OAAOJ,OAAQC,KAAK,aAAc,CAAEG,QAO/B,SAASP,EAAQO,GACtB,OAAOJ,OAAQE,IAAI,iBAAmBE,GAOjC,SAASlK,EAASkK,EAAKC,EAAStK,GACrC,OAAOiK,OAAQC,KAAK,YAAa,CAAEG,MAAKC,UAAStK","file":"h5/js/chunk-b5039bb4.c4e1f309.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 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\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 location.replace(data.result.jsConfig.mweb_url);\r\n reject(data);\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/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!./Payment.vue?vue&type=style&index=0&id=54b2b916&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!./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)?[_c('div',{staticClass:\"bnt cancelBnt\",on:{\"click\":function($event){return _vm.cancelOrder(order)}}},[_vm._v(\"\\n 取消订单\\n \")]),_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\"}})],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 v-if=\"order._status._type === 0\">\r\n <div class=\"bnt cancelBnt\" @click=\"cancelOrder(order)\">\r\n 取消订单\r\n </div>\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 </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\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 };\r\n },\r\n components: {\r\n Loading,\r\n Payment\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).finally(() => {\r\n this.reload();\r\n this.getOrderData();\r\n });\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(() => {\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/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!./MyOrder.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!./MyOrder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyOrder.vue?vue&type=template&id=6e06b184&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=6e06b184&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 \"6e06b184\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"h5/img/noOrder.90017ce2.png\";","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/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!./Payment.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!./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/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\";","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!./MyOrder.vue?vue&type=style&index=0&id=6e06b184&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!./MyOrder.vue?vue&type=style&index=0&id=6e06b184&scoped=true&lang=css&\"","/*\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":""}
|