diff --git a/dist/css/229.360ae5ed.css b/dist/css/610.360ae5ed.css similarity index 100% rename from dist/css/229.360ae5ed.css rename to dist/css/610.360ae5ed.css diff --git a/dist/css/610.36f5ac87.css b/dist/css/610.36f5ac87.css deleted file mode 100644 index d2bbb89..0000000 --- a/dist/css/610.36f5ac87.css +++ /dev/null @@ -1 +0,0 @@ -.bg[data-v-0117dbdd]{display:flex;flex-direction:column;font-size:14px}.common-card[data-v-0117dbdd]{width:100%;background-color:#fff;padding:20px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.order-status[data-v-0117dbdd]{border-right:1px solid #eee;width:350px;height:220px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:space-around}.order-status .order-no[data-v-0117dbdd]{color:#999}.order-status .order-no .el-button[data-v-0117dbdd]{width:-moz-fit-content;width:fit-content;margin:0;display:inline-block;padding:0}.order-status .status-title[data-v-0117dbdd]{display:flex;align-items:center;font-size:16px;font-weight:700}.order-status .status-title i[data-v-0117dbdd]{font-size:24px}.order-status .el-button[data-v-0117dbdd]{width:120px;display:block;margin:0 auto}.order-step[data-v-0117dbdd]{flex:1;width:1px;padding:0 20px;display:flex;align-items:center}.order-step[data-v-0117dbdd] .el-step__icon.is-text{border:none;width:30px;height:30px;border-radius:50%;background:#c0c4cc;color:#fff}.order-step[data-v-0117dbdd] .el-step__line{top:13px}.order-step[data-v-0117dbdd] .el-step__line-inner{border-color:#c0c4cc}.order-step .process-title[data-v-0117dbdd]{color:#666;font-weight:700;font-size:14px;margin-top:20px}.order-step .process-description[data-v-0117dbdd]{color:#666;font-size:12px}.order-step[data-v-0117dbdd] .is-finish .el-step__icon{background:#67c23a}.order-info-card[data-v-0117dbdd]{display:flex}.order-info-card[data-v-0117dbdd] .el-descriptions{flex:1;flex-shrink:0;border-right:1px solid hsla(0,0%,60%,.1);padding:0 20px}.order-info-card[data-v-0117dbdd] .el-descriptions .el-descriptions-item__label{width:90px}.product-image[data-v-0117dbdd]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:15px;border-radius:4px}.total-card[data-v-0117dbdd]{margin-top:20px;background:#fafafa;box-shadow:none}.total-card[data-v-0117dbdd] .el-descriptions__body{background:none;text-align:right}.total-card[data-v-0117dbdd] .el-descriptions__body .el-descriptions-item__label{width:90%;text-align:right;justify-content:flex-end}.total-card[data-v-0117dbdd] .el-descriptions__body .el-descriptions-item__content{justify-content:flex-end} \ No newline at end of file diff --git a/dist/css/645.99db2dd8.css b/dist/css/645.99db2dd8.css new file mode 100644 index 0000000..3540ec6 --- /dev/null +++ b/dist/css/645.99db2dd8.css @@ -0,0 +1 @@ +.express-info[data-v-05881a53]{padding:15px;background-color:#fafafa;border-radius:4px;margin-bottom:25px}.express-logo[data-v-05881a53]{display:flex;align-items:center;margin-bottom:10px}.logo-img[data-v-05881a53]{width:30px;height:30px;margin-right:10px}.express-name[data-v-05881a53]{font-weight:500;color:#333}.express-number[data-v-05881a53]{display:flex;align-items:center}.number-label[data-v-05881a53]{color:#666;margin-right:8px}.number-value[data-v-05881a53]{color:#333;flex:1}.copy-btn[data-v-05881a53]{color:#1890ff;padding:0;height:auto}.timeline-container[data-v-05881a53]{padding-left:20px;max-height:50vh;overflow-y:auto}.el-timeline[data-v-05881a53]{padding-left:10px}.el-timeline-item[data-v-05881a53]:not(:last-child):before{height:100%;left:6px}.el-timeline-item__node--large[data-v-05881a53]{width:16px;height:16px}.timeline-status[data-v-05881a53]{font-weight:500;margin-bottom:5px;color:#333}.timeline-status.active[data-v-05881a53]{color:#ff7d00}.timeline-desc[data-v-05881a53]{color:#666;line-height:1.6;font-size:13px}.el-timeline-item__timestamp[data-v-05881a53]{color:#999;font-size:12px;width:80px;padding-top:2px}.dialog-footer[data-v-05881a53]{text-align:center}.bg[data-v-382893c1]{display:flex;flex-direction:column;font-size:14px}.common-card[data-v-382893c1]{width:100%;background-color:#fff;padding:20px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.order-status[data-v-382893c1]{border-right:1px solid #eee;width:350px;height:220px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:space-around}.order-status .order-no[data-v-382893c1]{color:#999}.order-status .order-no .el-button[data-v-382893c1]{width:-moz-fit-content;width:fit-content;margin:0;display:inline-block;padding:0}.order-status .status-title[data-v-382893c1]{display:flex;align-items:center;font-size:16px;font-weight:700}.order-status .status-title i[data-v-382893c1]{font-size:24px}.order-status .el-button[data-v-382893c1]{width:120px;display:block;margin:0 auto}.order-step[data-v-382893c1]{flex:1;width:1px;padding:0 20px;display:flex;align-items:center}.order-step[data-v-382893c1] .el-step__icon.is-text{border:none;width:30px;height:30px;border-radius:50%;background:#c0c4cc;color:#fff}.order-step[data-v-382893c1] .el-step__line{top:13px}.order-step[data-v-382893c1] .el-step__line-inner{border-color:#c0c4cc}.order-step .process-title[data-v-382893c1]{color:#666;font-weight:700;font-size:14px;margin-top:20px}.order-step .process-description[data-v-382893c1]{color:#666;font-size:12px}.order-step[data-v-382893c1] .is-finish .el-step__icon{background:#67c23a}.order-info-card[data-v-382893c1]{display:flex}.order-info-card[data-v-382893c1] .el-descriptions{flex:1;flex-shrink:0;border-right:1px solid hsla(0,0%,60%,.1);padding:0 20px}.order-info-card[data-v-382893c1] .el-descriptions .el-descriptions-item__label{width:90px}.product-image[data-v-382893c1]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:15px;border-radius:4px}.total-card[data-v-382893c1]{margin-top:20px;background:#fafafa;box-shadow:none}.total-card[data-v-382893c1] .el-descriptions__body{background:none;text-align:right}.total-card[data-v-382893c1] .el-descriptions__body .el-descriptions-item__label{width:90%;text-align:right;justify-content:flex-end}.total-card[data-v-382893c1] .el-descriptions__body .el-descriptions-item__content{justify-content:flex-end} \ No newline at end of file diff --git a/dist/css/729.fe6c8382.css b/dist/css/729.fe6c8382.css new file mode 100644 index 0000000..45befa5 --- /dev/null +++ b/dist/css/729.fe6c8382.css @@ -0,0 +1 @@ +.express-info[data-v-05881a53]{padding:15px;background-color:#fafafa;border-radius:4px;margin-bottom:25px}.express-logo[data-v-05881a53]{display:flex;align-items:center;margin-bottom:10px}.logo-img[data-v-05881a53]{width:30px;height:30px;margin-right:10px}.express-name[data-v-05881a53]{font-weight:500;color:#333}.express-number[data-v-05881a53]{display:flex;align-items:center}.number-label[data-v-05881a53]{color:#666;margin-right:8px}.number-value[data-v-05881a53]{color:#333;flex:1}.copy-btn[data-v-05881a53]{color:#1890ff;padding:0;height:auto}.timeline-container[data-v-05881a53]{padding-left:20px;max-height:50vh;overflow-y:auto}.el-timeline[data-v-05881a53]{padding-left:10px}.el-timeline-item[data-v-05881a53]:not(:last-child):before{height:100%;left:6px}.el-timeline-item__node--large[data-v-05881a53]{width:16px;height:16px}.timeline-status[data-v-05881a53]{font-weight:500;margin-bottom:5px;color:#333}.timeline-status.active[data-v-05881a53]{color:#ff7d00}.timeline-desc[data-v-05881a53]{color:#666;line-height:1.6;font-size:13px}.el-timeline-item__timestamp[data-v-05881a53]{color:#999;font-size:12px;width:80px;padding-top:2px}.dialog-footer[data-v-05881a53]{text-align:center}.bg[data-v-dc03f51c]{display:flex;flex-direction:column}.bg[data-v-dc03f51c] .el-button--text,.bg[data-v-dc03f51c] .el-tabs__item.is-active{color:#6a8a27}.bg[data-v-dc03f51c] .el-tabs__active-bar{background-color:#6a8a27}.bg[data-v-dc03f51c] .el-tabs__item:hover{color:#6a8a27}.filter-bar[data-v-dc03f51c]{margin-bottom:20px}.order-card[data-v-dc03f51c]{border:1px solid #eee;border-radius:4px;margin-bottom:20px;overflow:hidden}.order-header[data-v-dc03f51c]{background-color:#f8f9fa;padding:12px 20px;display:flex;align-items:center;border-bottom:1px solid #eee;color:#666;font-size:14px}.order-products[data-v-dc03f51c]{padding:10px 20px;background:#fff}.product-item[data-v-dc03f51c]{display:flex;align-items:center;padding:15px 0;border-bottom:1px dashed #eee;font-size:14px}.product-item[data-v-dc03f51c]:last-child{border-bottom:none}.product-image[data-v-dc03f51c]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:15px;border-radius:4px}.product-details[data-v-dc03f51c]{flex:1}.product-name[data-v-dc03f51c]{color:#333;margin-bottom:5px}.product-spec[data-v-dc03f51c]{color:#999;font-size:12px}.product-price[data-v-dc03f51c]{width:120px;text-align:center;color:#333}.product-quantity[data-v-dc03f51c]{width:100px;text-align:center;color:#666}.product-total[data-v-dc03f51c]{width:120px;text-align:center;color:#333;font-weight:500}.product-actions[data-v-dc03f51c],.product-status[data-v-dc03f51c]{width:150px;text-align:center}.order-footer[data-v-dc03f51c]{background-color:#f8f9fa;padding:15px 20px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee}.order-summary[data-v-dc03f51c]{text-align:right}.order-amount[data-v-dc03f51c]{color:#333;margin-bottom:5px}.order-amount strong[data-v-dc03f51c]{color:#ff4d4f;font-size:16px}.order-tips[data-v-dc03f51c]{font-size:12px;color:#999}.order-actions[data-v-dc03f51c]{display:flex;gap:10px} \ No newline at end of file diff --git a/dist/css/906.de7ec92f.css b/dist/css/906.de7ec92f.css deleted file mode 100644 index 0706f71..0000000 --- a/dist/css/906.de7ec92f.css +++ /dev/null @@ -1 +0,0 @@ -.bg[data-v-b4aad32e]{display:flex;flex-direction:column}.bg[data-v-b4aad32e] .el-button--text,.bg[data-v-b4aad32e] .el-tabs__item.is-active{color:#6a8a27}.bg[data-v-b4aad32e] .el-tabs__active-bar{background-color:#6a8a27}.bg[data-v-b4aad32e] .el-tabs__item:hover{color:#6a8a27}.filter-bar[data-v-b4aad32e]{margin-bottom:20px}.order-card[data-v-b4aad32e]{border:1px solid #eee;border-radius:4px;margin-bottom:20px;overflow:hidden}.order-header[data-v-b4aad32e]{background-color:#f8f9fa;padding:12px 20px;display:flex;align-items:center;border-bottom:1px solid #eee;color:#666;font-size:14px}.order-products[data-v-b4aad32e]{padding:10px 20px;background:#fff}.product-item[data-v-b4aad32e]{display:flex;align-items:center;padding:15px 0;border-bottom:1px dashed #eee;font-size:14px}.product-item[data-v-b4aad32e]:last-child{border-bottom:none}.product-image[data-v-b4aad32e]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:15px;border-radius:4px}.product-details[data-v-b4aad32e]{flex:1}.product-name[data-v-b4aad32e]{color:#333;margin-bottom:5px}.product-spec[data-v-b4aad32e]{color:#999;font-size:12px}.product-price[data-v-b4aad32e]{width:120px;text-align:center;color:#333}.product-quantity[data-v-b4aad32e]{width:100px;text-align:center;color:#666}.product-total[data-v-b4aad32e]{width:120px;text-align:center;color:#333;font-weight:500}.product-actions[data-v-b4aad32e],.product-status[data-v-b4aad32e]{width:150px;text-align:center}.order-footer[data-v-b4aad32e]{background-color:#f8f9fa;padding:15px 20px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee}.order-summary[data-v-b4aad32e]{text-align:right}.order-amount[data-v-b4aad32e]{color:#333;margin-bottom:5px}.order-amount strong[data-v-b4aad32e]{color:#ff4d4f;font-size:16px}.order-tips[data-v-b4aad32e]{font-size:12px;color:#999}.order-actions[data-v-b4aad32e]{display:flex;gap:10px} \ No newline at end of file diff --git a/dist/index.html b/dist/index.html index c8120d8..6184e9f 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -shiweisuzhou
\ No newline at end of file +shiweisuzhou
\ No newline at end of file diff --git a/dist/js/610.3d662298.js b/dist/js/610.3d662298.js deleted file mode 100644 index 800d468..0000000 --- a/dist/js/610.3d662298.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[610],{6610:function(t,e,i){i.r(e),i.d(e,{default:function(){return c}});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[e("div",{staticClass:"normal-margin-bottom"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:"/User/UserCenter"}}},[t._v("个人中心")]),e("el-breadcrumb-item",{attrs:{to:{path:"/User/OrderList"}}},[t._v("我的订单")]),e("el-breadcrumb-item",[t._v(" 订单详情")])],1)],1),e("div",{staticClass:"common-card normal-margin-bottom",staticStyle:{padding:"20px 0",display:"flex"}},[e("div",{staticClass:"order-status"},[e("div",{staticClass:"order-no"},[t._v(" 订单号: 209907091214560078 "),e("el-button",{staticStyle:{color:"#999"},attrs:{type:"text",icon:"el-icon-document-copy"}})],1),e("div",{staticClass:"status-title"},[e("i",{staticClass:"el-icon-time",staticStyle:{color:"#ff9800","font-size":"32px"}}),e("span",{staticStyle:{height:"24px","line-height":"24px","padding-left":"5px"}},[t._v("订单状态: "+t._s(t.info.state_text))])]),"WAIT_COMMENT"!=t.info.state?e("el-button",{attrs:{type:"primary",size:"medium"}},[t._v("在线付款")]):t._e()],1),e("div",{staticClass:"order-step"},[e("el-steps",{staticStyle:{width:"100%"},attrs:{active:t.activities.length,"align-center":""}},t._l(t.activities,function(i,s){return e("el-step",{key:s},[e("div",{staticClass:"process-title",attrs:{slot:"description"},slot:"description"},[t._v(" "+t._s(i.remark)+" ")]),e("div",{attrs:{slot:"icon"},slot:"icon"},[s>=2?e("span",[t._v(t._s(s+1))]):e("i",{staticClass:"el-icon-check",staticStyle:{color:"#fff"}})]),e("div",{staticClass:"process-description",attrs:{slot:"description"},slot:"description"},[t._v(" "+t._s(i.create_time)+" ")])])}),1)],1)]),e("div",{staticClass:"common-card normal-margin-bottom order-info-card",staticStyle:{display:"flex",padding:"20px 0"}},[e("el-descriptions",{attrs:{title:"订单信息",column:1}},[e("el-descriptions-item",{attrs:{label:"订单号"}},[t._v(t._s(t.info.order_id))]),e("el-descriptions-item",{attrs:{label:"订单状态"}},[t._v(t._s(t.info.state_text))]),e("el-descriptions-item",{attrs:{label:"下单时间"}},[t._v(t._s(t.info.create_time))])],1),e("el-descriptions",{attrs:{title:"配送信息",column:1}},[e("el-descriptions-item",{attrs:{label:"收货人"}},[t._v(t._s(t.info.order_product_list[0].consignee_info.name))]),e("el-descriptions-item",{attrs:{label:"地址"}},[t._v(t._s(t.info.order_product_list[0].consignee_info.address))]),e("el-descriptions-item",{attrs:{label:"手机号码"}},[t._v(t._s(t.info.order_product_list[0].consignee_info.tel))])],1),t.info.pay_method_text?e("el-descriptions",{staticStyle:{border:"none"},attrs:{title:"支付信息",column:1}},[e("el-descriptions-item",{attrs:{label:"支付方式"}},[t._v(t._s(t.info.pay_method_text))]),e("el-descriptions-item",{attrs:{label:"支付时间"}},[t._v(t._s(t.info.pay_at))])],1):t._e()],1),e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.productList}},[e("el-table-column",{attrs:{prop:"name",label:"商品名称",align:"center"},scopedSlots:t._u([{key:"default",fn:function({row:i}){return[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticClass:"product-image",attrs:{src:i.product_img,alt:i.product_title}}),e("div",[t._v(t._s(i.product_title))])])]}}])}),e("el-table-column",{attrs:{prop:"sku_name",label:"规格",align:"center"}}),e("el-table-column",{attrs:{prop:"product_price",label:"单价(元)",align:"center",width:"200"},scopedSlots:t._u([{key:"default",fn:function({row:i}){return[e("div",[t._v(t._s(i.product_price/100))])]}}])}),e("el-table-column",{attrs:{prop:"product_num",label:"数量",align:"center",width:"100"}}),e("el-table-column",{attrs:{prop:"subtotal",label:"小计(元)",align:"center",width:"200"},scopedSlots:t._u([{key:"default",fn:function({row:i}){return[e("div",{staticStyle:{color:"#ff1111"}},[t._v("¥"+t._s(i.paid_money/100))])]}}])})],1),e("div",{staticClass:"common-card normal-margin-bottom total-card"},[e("el-descriptions",{attrs:{column:1}},[e("el-descriptions-item",{attrs:{label:"商品总价"}},[t._v("¥"+t._s(t.info.total_money/100))]),e("el-descriptions-item",{attrs:{label:"运费"}},[t._v("¥"+t._s(t.info.total_post_fee/100))]),e("el-descriptions-item",{attrs:{label:"实付款"}},[e("span",{staticStyle:{"font-size":"16px","font-weight":"bold",color:"#ff1111"}},[t._v("¥"+t._s(t.info.paid_money/100))])])],1)],1)],1)},r=[],o=(i(8111),i(7588),{name:"OrderDetail",data(){return{info:{},activities:[],orderInfo:{orderNumber:"20250801123456",status:"已完成",orderTime:"2025-08-01 15:30:00"},deliveryInfo:{receiver:"张三",address:"北京市海淀区xxx街道xxx小区",phone:"13800138000",deliveryMethod:"快递",expectedDeliveryTime:"2025-08-02"},paymentInfo:{paymentMethod:"支付宝",paymentStatus:"已支付",paymentTime:"2025-08-01 15:35:00"},productList:[],totalPrice:{productTotal:500,shippingFee:0,actualPayment:500}}},computed:{},mounted(){this.getDetail()},methods:{getDetail(){this.post({order_id:this.$route.query.id},"/api/order/query").then(t=>{this.info=t.data,this.productList=this.info.order_product_list,this.info.order_product_list.forEach(t=>{"post"===t.product_model&&t.consignee_info&&(t.consignee_info=JSON.parse(t.consignee_info))})}),this.post({order_id:this.$route.query.id},"/api/order/refund_detail").then(t=>{this.activities=t.data.list})}}}),a=o,l=i(1656),n=(0,l.A)(a,s,r,!1,null,"0117dbdd",null),c=n.exports}}]); -//# sourceMappingURL=610.3d662298.js.map \ No newline at end of file diff --git a/dist/js/610.3d662298.js.map b/dist/js/610.3d662298.js.map deleted file mode 100644 index cba59cd..0000000 --- a/dist/js/610.3d662298.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/610.3d662298.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACE,YAAY,wBAAwB,CAACF,EAAG,gBAAgB,CAACG,MAAM,CAAC,kBAAkB,wBAAwB,CAACH,EAAG,qBAAqB,CAACG,MAAM,CAAC,GAAK,CAAEC,KAAM,sBAAuB,CAACN,EAAIO,GAAG,UAAUL,EAAG,qBAAqB,CAACG,MAAM,CAAC,GAAK,CAAEC,KAAM,qBAAsB,CAACN,EAAIO,GAAG,UAAUL,EAAG,qBAAqB,CAACF,EAAIO,GAAG,YAAY,IAAI,GAAGL,EAAG,MAAM,CAACE,YAAY,mCAAmCI,YAA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gD,KAAAC,MAAAzD,EAAAQ,qBAKA,KAAAwC,KACA,CACA1C,SAAA,KAAA2C,OAAAC,MAAAC,IAEA,4BACAC,KAAAC,IACA,KAAAxD,WAAAwD,EAAA3B,KAAAgC,MAEA,KC9OmQ,I,UCQ/PC,GAAY,OACd,EACA7E,EACA2C,GACA,EACA,KACA,WACA,MAIF,EAAekC,E","sources":["webpack://shiweisuzhou/./src/views/Order/OrderDetail.vue","webpack://shiweisuzhou/src/views/Order/OrderDetail.vue","webpack://shiweisuzhou/./src/views/Order/OrderDetail.vue?32d4","webpack://shiweisuzhou/./src/views/Order/OrderDetail.vue?fd9f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"normal-margin-bottom\"},[_c('el-breadcrumb',{attrs:{\"separator-class\":\"el-icon-arrow-right\"}},[_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/User/UserCenter' }}},[_vm._v(\"个人中心\")]),_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/User/OrderList' }}},[_vm._v(\"我的订单\")]),_c('el-breadcrumb-item',[_vm._v(\" 订单详情\")])],1)],1),_c('div',{staticClass:\"common-card normal-margin-bottom\",staticStyle:{\"padding\":\"20px 0\",\"display\":\"flex\"}},[_c('div',{staticClass:\"order-status\"},[_c('div',{staticClass:\"order-no\"},[_vm._v(\" 订单号: 209907091214560078 \"),_c('el-button',{staticStyle:{\"color\":\"#999\"},attrs:{\"type\":\"text\",\"icon\":\"el-icon-document-copy\"}})],1),_c('div',{staticClass:\"status-title\"},[_c('i',{staticClass:\"el-icon-time\",staticStyle:{\"color\":\"#ff9800\",\"font-size\":\"32px\"}}),_c('span',{staticStyle:{\"height\":\"24px\",\"line-height\":\"24px\",\"padding-left\":\"5px\"}},[_vm._v(\"订单状态: \"+_vm._s(_vm.info.state_text))])]),(_vm.info.state != 'WAIT_COMMENT')?_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"}},[_vm._v(\"在线付款\")]):_vm._e()],1),_c('div',{staticClass:\"order-step\"},[_c('el-steps',{staticStyle:{\"width\":\"100%\"},attrs:{\"active\":_vm.activities.length,\"align-center\":\"\"}},_vm._l((_vm.activities),function(item,i){return _c('el-step',{key:i},[_c('div',{staticClass:\"process-title\",attrs:{\"slot\":\"description\"},slot:\"description\"},[_vm._v(\" \"+_vm._s(item.remark)+\" \")]),_c('div',{attrs:{\"slot\":\"icon\"},slot:\"icon\"},[(i >= 2)?_c('span',[_vm._v(_vm._s(i + 1))]):_c('i',{staticClass:\"el-icon-check\",staticStyle:{\"color\":\"#fff\"}})]),_c('div',{staticClass:\"process-description\",attrs:{\"slot\":\"description\"},slot:\"description\"},[_vm._v(\" \"+_vm._s(item.create_time)+\" \")])])}),1)],1)]),_c('div',{staticClass:\"common-card normal-margin-bottom order-info-card\",staticStyle:{\"display\":\"flex\",\"padding\":\"20px 0\"}},[_c('el-descriptions',{attrs:{\"title\":\"订单信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"订单号\"}},[_vm._v(_vm._s(_vm.info.order_id))]),_c('el-descriptions-item',{attrs:{\"label\":\"订单状态\"}},[_vm._v(_vm._s(_vm.info.state_text))]),_c('el-descriptions-item',{attrs:{\"label\":\"下单时间\"}},[_vm._v(_vm._s(_vm.info.create_time))])],1),_c('el-descriptions',{attrs:{\"title\":\"配送信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"收货人\"}},[_vm._v(_vm._s(_vm.info.order_product_list[0].consignee_info.name))]),_c('el-descriptions-item',{attrs:{\"label\":\"地址\"}},[_vm._v(_vm._s(_vm.info.order_product_list[0].consignee_info.address))]),_c('el-descriptions-item',{attrs:{\"label\":\"手机号码\"}},[_vm._v(_vm._s(_vm.info.order_product_list[0].consignee_info.tel))])],1),(_vm.info.pay_method_text)?_c('el-descriptions',{staticStyle:{\"border\":\"none\"},attrs:{\"title\":\"支付信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"支付方式\"}},[_vm._v(_vm._s(_vm.info.pay_method_text))]),_c('el-descriptions-item',{attrs:{\"label\":\"支付时间\"}},[_vm._v(_vm._s(_vm.info.pay_at))])],1):_vm._e()],1),_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.productList}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"商品名称\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[_c('img',{staticClass:\"product-image\",attrs:{\"src\":row.product_img,\"alt\":row.product_title}}),_c('div',[_vm._v(_vm._s(row.product_title))])])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"sku_name\",\"label\":\"规格\",\"align\":\"center\"}}),_c('el-table-column',{attrs:{\"prop\":\"product_price\",\"label\":\"单价(元)\",\"align\":\"center\",\"width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('div',[_vm._v(_vm._s(row.product_price / 100))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"product_num\",\"label\":\"数量\",\"align\":\"center\",\"width\":\"100\"}}),_c('el-table-column',{attrs:{\"prop\":\"subtotal\",\"label\":\"小计(元)\",\"align\":\"center\",\"width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('div',{staticStyle:{\"color\":\"#ff1111\"}},[_vm._v(\"¥\"+_vm._s(row.paid_money / 100))])]}}])})],1),_c('div',{staticClass:\"common-card normal-margin-bottom total-card\"},[_c('el-descriptions',{attrs:{\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"商品总价\"}},[_vm._v(\"¥\"+_vm._s(_vm.info.total_money / 100))]),_c('el-descriptions-item',{attrs:{\"label\":\"运费\"}},[_vm._v(\"¥\"+_vm._s(_vm.info.total_post_fee / 100))]),_c('el-descriptions-item',{attrs:{\"label\":\"实付款\"}},[_c('span',{staticStyle:{\"font-size\":\"16px\",\"font-weight\":\"bold\",\"color\":\"#ff1111\"}},[_vm._v(\"¥\"+_vm._s(_vm.info.paid_money / 100))])])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderDetail.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderDetail.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderDetail.vue?vue&type=template&id=0117dbdd&scoped=true\"\nimport script from \"./OrderDetail.vue?vue&type=script&lang=js\"\nexport * from \"./OrderDetail.vue?vue&type=script&lang=js\"\nimport style0 from \"./OrderDetail.vue?vue&type=style&index=0&id=0117dbdd&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0117dbdd\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","path","_v","staticStyle","_s","info","state_text","state","_e","activities","length","_l","item","i","key","slot","remark","create_time","order_id","order_product_list","consignee_info","name","address","tel","pay_method_text","pay_at","productList","scopedSlots","_u","fn","row","product_img","product_title","product_price","paid_money","total_money","total_post_fee","staticRenderFns","data","orderInfo","orderNumber","status","orderTime","deliveryInfo","receiver","phone","deliveryMethod","expectedDeliveryTime","paymentInfo","paymentMethod","paymentStatus","paymentTime","totalPrice","productTotal","shippingFee","actualPayment","computed","mounted","getDetail","methods","post","$route","query","id","then","res","forEach","product_model","JSON","parse","list","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/229.3bc55b91.js b/dist/js/610.e58479c0.js similarity index 99% rename from dist/js/229.3bc55b91.js rename to dist/js/610.e58479c0.js index 17fedf7..2558d8e 100644 --- a/dist/js/229.3bc55b91.js +++ b/dist/js/610.e58479c0.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[229],{9610:function(t,i,e){e.r(i),e.d(i,{default:function(){return k}});var s=function(){var t=this,i=t._self._c;return i("div",[i("div",{staticClass:"product-detail-container"},[i("div",{staticClass:"left-section"},[i("el-carousel",{ref:"carousel",staticClass:"product-carousel",attrs:{height:"500px","indicator-position":"none"},on:{change:t.handleCarouselChange}},t._l(t.info.listimg,function(t,e){return i("el-carousel-item",{key:e},[i("img",{staticClass:"carousel-img",attrs:{src:t,alt:`商品图片${e+1}`}})])}),1),i("div",{staticClass:"hint-text"},[t._v(" 温馨提示:以上图片仅供参考,若图片与实物有所不同,则以实物为准。 ")]),i("div",{staticClass:"image-indicators"},t._l(t.info.listimg,function(e,s){return i("div",{key:s,staticClass:"indicator-item",class:{active:t.activeIndex===s},on:{click:function(i){return t.handleIndicatorClick(s)}}},[i("img",{staticClass:"indicator-img",attrs:{src:e,alt:`缩略图${s+1}`}})])}),0)],1),i("div",{staticClass:"right-section"},[i("h2",{staticClass:"product-title"},[t._v(" "+t._s(t.info.title)+" ")]),i("div",{staticClass:"product-tags"},[t.info.display_tags?i("div",{staticStyle:{display:"inline-block"}},t._l(t.info.display_tags.split(","),function(e,s){return i("el-tag",{key:s,staticStyle:{"margin-right":"5px"},attrs:{effect:"dark",size:"mini"}},[t._v(t._s(e))])}),1):t._e(),i("span",{staticClass:"subtitle"},[t._v(t._s(t.info.subtitle))])]),i("div",{staticClass:"price-info"},[i("span",{staticClass:"price-label"},[t._v("售价")]),i("span",{staticClass:"price-amount"},[t._v("¥"+t._s(t.info.sku[t.selectedSpec].price/100))]),i("span",{staticClass:"sales-volume"},[t._v("已售 "+t._s(t.info.sales_number))])]),i("div",{staticClass:"product-attr"},[t._m(0),i("div",{staticClass:"attr-item spec-group"},[i("span",{staticClass:"attr-label"},[t._v("商品规格")]),i("div",{staticClass:"custom-radio-group"},t._l(t.info.sku,function(e,s){return i("label",{key:s,staticClass:"custom-radio",class:{"is-checked":t.selectedSpec===s},on:{click:function(i){t.selectedSpec=s}}},[i("span",{staticClass:"radio-text"},[t._v(t._s(e.sku_name))])])}),0)]),t.currentMinQuantity>1?i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("起订量")]),i("span",{staticClass:"attr-value"},[t._v(t._s(t.currentMinQuantity)+"件")])]):t._e(),i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("发货地")]),i("span",{staticClass:"attr-value"},[t._v(t._s(t.info.supplier_address))])]),i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("其他")]),i("span",{staticClass:"attr-value"},[t._v(t._s(t.otherInfo))])]),i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("配送范围")]),i("span",{staticClass:"attr-value"},[t._v(t._s(t.deliveryRange))])])]),i("div",{staticClass:"quantity-control"},[i("el-button",{attrs:{icon:"el-icon-minus",circle:""},on:{click:t.decreaseQuantity}}),i("span",{staticClass:"quantity-value"},[t._v(t._s(t.quantity))]),i("el-button",{attrs:{icon:"el-icon-plus",circle:""},on:{click:t.increaseQuantity}}),i("el-button",{staticClass:"buy-btn",attrs:{type:"primary"},on:{click:t.buyNow}},[t._v("一口价购买")]),i("el-button",{staticClass:"cart-btn",attrs:{type:"success"},on:{click:t.addCart}},[t._v("加入购物车")])],1)])]),i("div",{staticClass:"product-bottom"},[i("div",{staticClass:"hot-recommend-sidebar"},[i("div",{staticClass:"hot-title"},[t._v("热销推荐")]),t._l(t.hotRecommendData,function(e,s){return i("div",{key:s,staticClass:"product-item",on:{click:function(i){t.id=e.id,t.onReload()}}},[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.headimg,expression:"item.headimg"}],attrs:{alt:""}}),i("div",{staticClass:"product-name"},[t._v(t._s(e.title))]),i("div",{staticClass:"product-price"},[t._v("¥"+t._s(e.price/100))])])})],2),i("div",{staticClass:"product-right"},[i("div",{staticClass:"product-tabs"},[i("span",{class:["tab-item",{active:!t.tabIndex}],on:{click:function(i){t.tabIndex=0}}},[t._v("商品详情")]),i("span",{class:["tab-item",{active:t.tabIndex}],on:{click:function(i){t.tabIndex=1}}},[t._v("商品评价(125)")])]),i("div",{directives:[{name:"show",rawName:"v-show",value:!t.tabIndex,expression:"!tabIndex"}],staticClass:"product-detail-main",domProps:{innerHTML:t._s(t.util.formateRichText(t.info.content))}}),i("Evaluate",{directives:[{name:"show",rawName:"v-show",value:t.tabIndex,expression:"tabIndex"}],attrs:{id:t.id}})],1)]),i("AddToCartDialog",{attrs:{product:t.sku,buyQuantity:t.quantity,visible:t.showAddCartDialog},on:{"update:visible":function(i){t.showAddCartDialog=i}}})],1)},a=[function(){var t=this,i=t._self._c;return i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("收货方式")]),i("span",{staticClass:"attr-value"},[t._v("邮寄")])])}],n=(e(4114),function(){var t=this,i=t._self._c;return i("div",{staticClass:"product-review-section"},[t._e(),i("div",{staticClass:"review-list"},[t._l(t.reviews,function(e,s){return i("div",{key:e.id,staticClass:"review-item"},[i("div",{staticClass:"user-info"},[i("img",{staticClass:"avatar",attrs:{src:e.user.user}}),i("div",{staticClass:"user-name"},[t._v(t._s(e.user.nickname))]),i("div",{staticClass:"rating-stars"},t._l(5,function(s){return i("span",{key:s},[t._v(" "+t._s(s<=e.rate?"★":"☆")+" ")])}),0)]),i("div",{staticClass:"review-content",class:{empty:!e.content},domProps:{innerHTML:t._s(t.util.formateRichText(e.content))}}),e.img_list.split(",")&&e.img_list.split(",").length?i("div",{staticClass:"review-images"},t._l(e.img_list.split(","),function(s,a){return i("img",{key:a,attrs:{src:s,alt:`${e.nickname}的评价图片${a+1}`},on:{click:function(i){t.openPreview(e.img_list.split(","),a)}}})}),0):t._e(),i("div",{staticClass:"review-time"},[t._v(t._s(e.time))])])}),0===t.reviews.length?i("div",{staticClass:"empty-state"},[i("el-empty",{attrs:{description:"暂无符合条件的评价"}})],1):t._e()],2),t.total>0?i("div",{staticClass:"pagination-container"},[i("el-pagination",{attrs:{"current-page":t.currentPage,"page-sizes":[5,10,20],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e(),i("el-dialog",{attrs:{visible:t.previewVisible,modal:!0,title:`查看图片 ${t.previewIndex+1}/${t.previewImages.length}`,width:"80%",height:"80%","custom-class":"image-preview-dialog","close-on-click-modal":!0},on:{"update:visible":function(i){t.previewVisible=i}}},[i("div",{staticClass:"preview-container"},[i("el-button",{staticClass:"preview-btn prev-btn",attrs:{icon:"el-icon-arrow-left",circle:"",disabled:0===t.previewIndex},on:{click:function(i){return t.changePreview("prev")}}}),i("div",{staticClass:"preview-img-wrapper"},[i("img",{staticClass:"preview-img",attrs:{src:t.previewImages[t.previewIndex],alt:`预览图片 ${t.previewIndex+1}`}})]),i("el-button",{staticClass:"preview-btn next-btn",attrs:{icon:"el-icon-arrow-right",circle:"",disabled:t.previewIndex===t.previewImages.length-1},on:{click:function(i){return t.changePreview("next")}}})],1)])],1)}),r=[],l=e(9143),c={name:"ProductReviews",props:["id"],components:{ElEmpty:l.Empty,ElPagination:l.Pagination},data(){return{activeFilter:"all",currentPage:1,pageSize:10,reviews:[],total:0,loading:!1,previewVisible:!1,previewImages:[],previewIndex:0}},mounted(){this.getList()},methods:{getList(){this.loading=!0,this.get({product_id:this.id,offset:(this.currentPage-1)*this.pageSize,limit:this.pageSize},"/api/product/product_comment_list").then(t=>{this.reviews=t.data.list,this.total=t.data.total,this.loading=!1}).catch(()=>{this.loading=!1})},handleFilterChange(t){this.activeFilter=t,this.currentPage=1},handleSizeChange(t){this.pageSize=t,this.currentPage=1,this.getList()},handleCurrentChange(t){this.currentPage=t,this.getList(),document.querySelector(".review-list")?.scrollIntoView({behavior:"smooth"})},openPreview(t,i){this.previewImages=t,this.previewIndex=i,this.previewVisible=!0},changePreview(t){"prev"===t&&this.previewIndex>0?this.previewIndex--:"next"===t&&this.previewIndex{document.querySelector(".el-dialog__title").textContent=`查看图片 ${this.previewIndex+1}/${this.previewImages.length}`})}}},o=c,d=e(1656),u=(0,d.A)(o,n,r,!1,null,"0ba5d1af",null),p=u.exports,h=function(){var t=this,i=t._self._c;return i("el-dialog",{attrs:{title:"加入购物车",visible:t.dialogVisible,width:"360px","close-on-click-modal":!1,"show-close":!1},on:{"update:visible":function(i){t.dialogVisible=i}}},[i("div",{staticClass:"cart-dialog__product"},[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.product.headimg,expression:"product.headimg"}],staticClass:"product-img",attrs:{alt:"商品图片"}}),i("div",{staticClass:"product-info"},[i("h4",{staticClass:"product-name"},[t._v(t._s(t.product.sku_name||"商品名称"))]),i("p",{staticClass:"product-price"},[t._v("¥"+t._s(t.product.price/100))])])]),i("div",{staticClass:"cart-dialog__quantity"},[i("label",[t._v("购买数量:")]),i("el-input-number",{staticClass:"quantity-input",attrs:{min:1,max:t.product.stock,step:1},on:{change:t.handleQuantityChange},model:{value:t.buyQuantity,callback:function(i){t.buyQuantity=i},expression:"buyQuantity"}}),t.product.stock?i("span",{staticClass:"stock-tip"},[t._v(" 库存仅剩 "+t._s(t.product.stock)+" 件 ")]):t._e()],1),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{staticClass:"cancel-btn",on:{click:function(i){t.dialogVisible=!1}}},[t._v(" 取消 ")]),i("el-button",{staticClass:"confirm-btn",attrs:{type:"primary",loading:t.loading},on:{click:t.handleAddToCart}},[t._v(" 加入购物车 ")])],1)])},v=[],m=e(3518),g={name:"AddToCartDialog",props:{product:{type:Object,required:!0,default:()=>({id:"",name:"",price:0,avatar:"https://picsum.photos/100",stock:99})},visible:{type:Boolean,default:!1},buyQuantity:{type:Number,default:!1}},data(){return{loading:!1}},computed:{dialogVisible:{get(){return this.visible},set(t){this.$emit("update:visible",t)}}},methods:{...(0,m.i0)(["addToCart"]),handleQuantityChange(t){t>this.product.stock&&(this.buyQuantity=this.product.stock,this.$message.warning(`库存不足,最多可购买 ${this.product.stock} 件`))},async handleAddToCart(){this.loading=!0;try{await this.addToCart({...this.product,quantity:this.buyQuantity}),this.dialogVisible=!1,this.buyQuantity=1}catch(t){this.$message.error(t.message||"加入购物车失败,请重试")}finally{this.loading=!1}}}},C=g,_=(0,d.A)(C,h,v,!1,null,"32e5a85a",null),f=_.exports,b={name:"ProductDetail",components:{Evaluate:p,AddToCartDialog:f},data(){return{id:"",info:{},activeIndex:0,productCount:"52个",productSubtitle:"副标题",moq:1,deliveryMethod:"邮寄",selectedSpec:0,otherInfo:"下单填写留言,即免费赠送精美贺卡!",deliveryRange:"全国(可配送至全国1000多个城市,苏州市区内免配送费)",quantity:1,hotRecommendData:[],tabIndex:0,showAddCartDialog:!1,sku:{}}},computed:{currentMinQuantity(){return this.info?.sku&&0!==this.info.sku.length&&this.info.sku[this.selectedSpec].start_number||1}},watch:{selectedSpec(){this.quantity=this.currentMinQuantity}},methods:{...(0,m.i0)(["submitOrderData"]),buyNow(){const t=[{product:this.info,sku:this.info.sku[this.selectedSpec],quantity:this.quantity}];this.submitOrderData({from:"product",items:t}),this.$router.push("/Order")},handleCarouselChange(t){this.activeIndex=t},handleIndicatorClick(t){this.activeIndex=t,this.$nextTick(()=>{this.$refs.carousel&&this.$refs.carousel.setActiveItem(t)})},decreaseQuantity(){this.quantity>this.currentMinQuantity&&this.quantity--},increaseQuantity(){this.quantity++},handleShare(){this.$message.info("分享功能待实现")},addCart(){this.sku=this.info.sku[this.selectedSpec],this.showAddCartDialog=!0},getRecommend(){this.post({offset:0,limit:6,rand:!0,product_ids:this.id},"/api/search/product_recommend").then(t=>{this.hotRecommendData=t.data.list})},getDetail(){this.get({id:this.id},"/api/product/get_product_detail").then(t=>{this.info=t.data,this.info.sku&&this.info.sku.length>0&&(this.selectedSpec>=this.info.sku.length&&(this.selectedSpec=0),this.quantity=this.currentMinQuantity)})},onReload(){this.getDetail(),this.getRecommend()}},mounted(){this.$refs.carousel||console.warn("轮播组件未正确加载,请检查ref属性是否设置"),this.id=this.$route.params.id,this.onReload()}},y=b,w=(0,d.A)(y,s,a,!1,null,"05af7283",null),k=w.exports}}]); -//# sourceMappingURL=229.3bc55b91.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[610],{9610:function(t,i,e){e.r(i),e.d(i,{default:function(){return k}});var s=function(){var t=this,i=t._self._c;return i("div",[i("div",{staticClass:"product-detail-container"},[i("div",{staticClass:"left-section"},[i("el-carousel",{ref:"carousel",staticClass:"product-carousel",attrs:{height:"500px","indicator-position":"none"},on:{change:t.handleCarouselChange}},t._l(t.info.listimg,function(t,e){return i("el-carousel-item",{key:e},[i("img",{staticClass:"carousel-img",attrs:{src:t,alt:`商品图片${e+1}`}})])}),1),i("div",{staticClass:"hint-text"},[t._v(" 温馨提示:以上图片仅供参考,若图片与实物有所不同,则以实物为准。 ")]),i("div",{staticClass:"image-indicators"},t._l(t.info.listimg,function(e,s){return i("div",{key:s,staticClass:"indicator-item",class:{active:t.activeIndex===s},on:{click:function(i){return t.handleIndicatorClick(s)}}},[i("img",{staticClass:"indicator-img",attrs:{src:e,alt:`缩略图${s+1}`}})])}),0)],1),i("div",{staticClass:"right-section"},[i("h2",{staticClass:"product-title"},[t._v(" "+t._s(t.info.title)+" ")]),i("div",{staticClass:"product-tags"},[t.info.display_tags?i("div",{staticStyle:{display:"inline-block"}},t._l(t.info.display_tags.split(","),function(e,s){return i("el-tag",{key:s,staticStyle:{"margin-right":"5px"},attrs:{effect:"dark",size:"mini"}},[t._v(t._s(e))])}),1):t._e(),i("span",{staticClass:"subtitle"},[t._v(t._s(t.info.subtitle))])]),i("div",{staticClass:"price-info"},[i("span",{staticClass:"price-label"},[t._v("售价")]),i("span",{staticClass:"price-amount"},[t._v("¥"+t._s(t.info.sku[t.selectedSpec].price/100))]),i("span",{staticClass:"sales-volume"},[t._v("已售 "+t._s(t.info.sales_number))])]),i("div",{staticClass:"product-attr"},[t._m(0),i("div",{staticClass:"attr-item spec-group"},[i("span",{staticClass:"attr-label"},[t._v("商品规格")]),i("div",{staticClass:"custom-radio-group"},t._l(t.info.sku,function(e,s){return i("label",{key:s,staticClass:"custom-radio",class:{"is-checked":t.selectedSpec===s},on:{click:function(i){t.selectedSpec=s}}},[i("span",{staticClass:"radio-text"},[t._v(t._s(e.sku_name))])])}),0)]),t.currentMinQuantity>1?i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("起订量")]),i("span",{staticClass:"attr-value"},[t._v(t._s(t.currentMinQuantity)+"件")])]):t._e(),i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("发货地")]),i("span",{staticClass:"attr-value"},[t._v(t._s(t.info.supplier_address))])]),i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("其他")]),i("span",{staticClass:"attr-value"},[t._v(t._s(t.otherInfo))])]),i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("配送范围")]),i("span",{staticClass:"attr-value"},[t._v(t._s(t.deliveryRange))])])]),i("div",{staticClass:"quantity-control"},[i("el-button",{attrs:{icon:"el-icon-minus",circle:""},on:{click:t.decreaseQuantity}}),i("span",{staticClass:"quantity-value"},[t._v(t._s(t.quantity))]),i("el-button",{attrs:{icon:"el-icon-plus",circle:""},on:{click:t.increaseQuantity}}),i("el-button",{staticClass:"buy-btn",attrs:{type:"primary"},on:{click:t.buyNow}},[t._v("一口价购买")]),i("el-button",{staticClass:"cart-btn",attrs:{type:"success"},on:{click:t.addCart}},[t._v("加入购物车")])],1)])]),i("div",{staticClass:"product-bottom"},[i("div",{staticClass:"hot-recommend-sidebar"},[i("div",{staticClass:"hot-title"},[t._v("热销推荐")]),t._l(t.hotRecommendData,function(e,s){return i("div",{key:s,staticClass:"product-item",on:{click:function(i){t.id=e.id,t.onReload()}}},[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.headimg,expression:"item.headimg"}],attrs:{alt:""}}),i("div",{staticClass:"product-name"},[t._v(t._s(e.title))]),i("div",{staticClass:"product-price"},[t._v("¥"+t._s(e.price/100))])])})],2),i("div",{staticClass:"product-right"},[i("div",{staticClass:"product-tabs"},[i("span",{class:["tab-item",{active:!t.tabIndex}],on:{click:function(i){t.tabIndex=0}}},[t._v("商品详情")]),i("span",{class:["tab-item",{active:t.tabIndex}],on:{click:function(i){t.tabIndex=1}}},[t._v("商品评价(125)")])]),i("div",{directives:[{name:"show",rawName:"v-show",value:!t.tabIndex,expression:"!tabIndex"}],staticClass:"product-detail-main",domProps:{innerHTML:t._s(t.util.formateRichText(t.info.content))}}),i("Evaluate",{directives:[{name:"show",rawName:"v-show",value:t.tabIndex,expression:"tabIndex"}],attrs:{id:t.id}})],1)]),i("AddToCartDialog",{attrs:{product:t.sku,buyQuantity:t.quantity,visible:t.showAddCartDialog},on:{"update:visible":function(i){t.showAddCartDialog=i}}})],1)},a=[function(){var t=this,i=t._self._c;return i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("收货方式")]),i("span",{staticClass:"attr-value"},[t._v("邮寄")])])}],n=(e(4114),function(){var t=this,i=t._self._c;return i("div",{staticClass:"product-review-section"},[t._e(),i("div",{staticClass:"review-list"},[t._l(t.reviews,function(e,s){return i("div",{key:e.id,staticClass:"review-item"},[i("div",{staticClass:"user-info"},[i("img",{staticClass:"avatar",attrs:{src:e.user.user}}),i("div",{staticClass:"user-name"},[t._v(t._s(e.user.nickname))]),i("div",{staticClass:"rating-stars"},t._l(5,function(s){return i("span",{key:s},[t._v(" "+t._s(s<=e.rate?"★":"☆")+" ")])}),0)]),i("div",{staticClass:"review-content",class:{empty:!e.content},domProps:{innerHTML:t._s(t.util.formateRichText(e.content))}}),e.img_list.split(",")&&e.img_list.split(",").length?i("div",{staticClass:"review-images"},t._l(e.img_list.split(","),function(s,a){return i("img",{key:a,attrs:{src:s,alt:`${e.nickname}的评价图片${a+1}`},on:{click:function(i){t.openPreview(e.img_list.split(","),a)}}})}),0):t._e(),i("div",{staticClass:"review-time"},[t._v(t._s(e.time))])])}),0===t.reviews.length?i("div",{staticClass:"empty-state"},[i("el-empty",{attrs:{description:"暂无符合条件的评价"}})],1):t._e()],2),t.total>0?i("div",{staticClass:"pagination-container"},[i("el-pagination",{attrs:{"current-page":t.currentPage,"page-sizes":[5,10,20],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e(),i("el-dialog",{attrs:{visible:t.previewVisible,modal:!0,title:`查看图片 ${t.previewIndex+1}/${t.previewImages.length}`,width:"80%",height:"80%","custom-class":"image-preview-dialog","close-on-click-modal":!0},on:{"update:visible":function(i){t.previewVisible=i}}},[i("div",{staticClass:"preview-container"},[i("el-button",{staticClass:"preview-btn prev-btn",attrs:{icon:"el-icon-arrow-left",circle:"",disabled:0===t.previewIndex},on:{click:function(i){return t.changePreview("prev")}}}),i("div",{staticClass:"preview-img-wrapper"},[i("img",{staticClass:"preview-img",attrs:{src:t.previewImages[t.previewIndex],alt:`预览图片 ${t.previewIndex+1}`}})]),i("el-button",{staticClass:"preview-btn next-btn",attrs:{icon:"el-icon-arrow-right",circle:"",disabled:t.previewIndex===t.previewImages.length-1},on:{click:function(i){return t.changePreview("next")}}})],1)])],1)}),r=[],l=e(9143),c={name:"ProductReviews",props:["id"],components:{ElEmpty:l.Empty,ElPagination:l.Pagination},data(){return{activeFilter:"all",currentPage:1,pageSize:10,reviews:[],total:0,loading:!1,previewVisible:!1,previewImages:[],previewIndex:0}},mounted(){this.getList()},methods:{getList(){this.loading=!0,this.get({product_id:this.id,offset:(this.currentPage-1)*this.pageSize,limit:this.pageSize},"/api/product/product_comment_list").then(t=>{this.reviews=t.data.list,this.total=t.data.total,this.loading=!1}).catch(()=>{this.loading=!1})},handleFilterChange(t){this.activeFilter=t,this.currentPage=1},handleSizeChange(t){this.pageSize=t,this.currentPage=1,this.getList()},handleCurrentChange(t){this.currentPage=t,this.getList(),document.querySelector(".review-list")?.scrollIntoView({behavior:"smooth"})},openPreview(t,i){this.previewImages=t,this.previewIndex=i,this.previewVisible=!0},changePreview(t){"prev"===t&&this.previewIndex>0?this.previewIndex--:"next"===t&&this.previewIndex{document.querySelector(".el-dialog__title").textContent=`查看图片 ${this.previewIndex+1}/${this.previewImages.length}`})}}},o=c,d=e(1656),u=(0,d.A)(o,n,r,!1,null,"0ba5d1af",null),p=u.exports,h=function(){var t=this,i=t._self._c;return i("el-dialog",{attrs:{title:"加入购物车",visible:t.dialogVisible,width:"360px","close-on-click-modal":!1,"show-close":!1},on:{"update:visible":function(i){t.dialogVisible=i}}},[i("div",{staticClass:"cart-dialog__product"},[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.product.headimg,expression:"product.headimg"}],staticClass:"product-img",attrs:{alt:"商品图片"}}),i("div",{staticClass:"product-info"},[i("h4",{staticClass:"product-name"},[t._v(t._s(t.product.sku_name||"商品名称"))]),i("p",{staticClass:"product-price"},[t._v("¥"+t._s(t.product.price/100))])])]),i("div",{staticClass:"cart-dialog__quantity"},[i("label",[t._v("购买数量:")]),i("el-input-number",{staticClass:"quantity-input",attrs:{min:1,max:t.product.stock,step:1},on:{change:t.handleQuantityChange},model:{value:t.buyQuantity,callback:function(i){t.buyQuantity=i},expression:"buyQuantity"}}),t.product.stock?i("span",{staticClass:"stock-tip"},[t._v(" 库存仅剩 "+t._s(t.product.stock)+" 件 ")]):t._e()],1),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{staticClass:"cancel-btn",on:{click:function(i){t.dialogVisible=!1}}},[t._v(" 取消 ")]),i("el-button",{staticClass:"confirm-btn",attrs:{type:"primary",loading:t.loading},on:{click:t.handleAddToCart}},[t._v(" 加入购物车 ")])],1)])},v=[],m=e(3518),g={name:"AddToCartDialog",props:{product:{type:Object,required:!0,default:()=>({id:"",name:"",price:0,avatar:"https://picsum.photos/100",stock:99})},visible:{type:Boolean,default:!1},buyQuantity:{type:Number,default:!1}},data(){return{loading:!1}},computed:{dialogVisible:{get(){return this.visible},set(t){this.$emit("update:visible",t)}}},methods:{...(0,m.i0)(["addToCart"]),handleQuantityChange(t){t>this.product.stock&&(this.buyQuantity=this.product.stock,this.$message.warning(`库存不足,最多可购买 ${this.product.stock} 件`))},async handleAddToCart(){this.loading=!0;try{await this.addToCart({...this.product,quantity:this.buyQuantity}),this.dialogVisible=!1,this.buyQuantity=1}catch(t){this.$message.error(t.message||"加入购物车失败,请重试")}finally{this.loading=!1}}}},C=g,_=(0,d.A)(C,h,v,!1,null,"32e5a85a",null),f=_.exports,b={name:"ProductDetail",components:{Evaluate:p,AddToCartDialog:f},data(){return{id:"",info:{},activeIndex:0,productCount:"52个",productSubtitle:"副标题",moq:1,deliveryMethod:"邮寄",selectedSpec:0,otherInfo:"下单填写留言,即免费赠送精美贺卡!",deliveryRange:"全国(可配送至全国1000多个城市,苏州市区内免配送费)",quantity:1,hotRecommendData:[],tabIndex:0,showAddCartDialog:!1,sku:{}}},computed:{currentMinQuantity(){return this.info?.sku&&0!==this.info.sku.length&&this.info.sku[this.selectedSpec].start_number||1}},watch:{selectedSpec(){this.quantity=this.currentMinQuantity}},methods:{...(0,m.i0)(["submitOrderData"]),buyNow(){const t=[{product:this.info,sku:this.info.sku[this.selectedSpec],quantity:this.quantity}];this.submitOrderData({from:"product",items:t}),this.$router.push("/Order")},handleCarouselChange(t){this.activeIndex=t},handleIndicatorClick(t){this.activeIndex=t,this.$nextTick(()=>{this.$refs.carousel&&this.$refs.carousel.setActiveItem(t)})},decreaseQuantity(){this.quantity>this.currentMinQuantity&&this.quantity--},increaseQuantity(){this.quantity++},handleShare(){this.$message.info("分享功能待实现")},addCart(){this.sku=this.info.sku[this.selectedSpec],this.showAddCartDialog=!0},getRecommend(){this.post({offset:0,limit:6,rand:!0,product_ids:this.id},"/api/search/product_recommend").then(t=>{this.hotRecommendData=t.data.list})},getDetail(){this.get({id:this.id},"/api/product/get_product_detail").then(t=>{this.info=t.data,this.info.sku&&this.info.sku.length>0&&(this.selectedSpec>=this.info.sku.length&&(this.selectedSpec=0),this.quantity=this.currentMinQuantity)})},onReload(){this.getDetail(),this.getRecommend()}},mounted(){this.$refs.carousel||console.warn("轮播组件未正确加载,请检查ref属性是否设置"),this.id=this.$route.params.id,this.onReload()}},y=b,w=(0,d.A)(y,s,a,!1,null,"05af7283",null),k=w.exports}}]); +//# sourceMappingURL=610.e58479c0.js.map \ No newline at end of file diff --git a/dist/js/229.3bc55b91.js.map b/dist/js/610.e58479c0.js.map similarity index 99% rename from dist/js/229.3bc55b91.js.map rename to dist/js/610.e58479c0.js.map index 45f56aa..c645e76 100644 --- a/dist/js/229.3bc55b91.js.map +++ b/dist/js/610.e58479c0.js.map @@ -1 +1 @@ -{"version":3,"file":"js/229.3bc55b91.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,4BAA4B,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,cAAc,CAACG,IAAI,WAAWD,YAAY,mBAAmBE,MAAM,CAAC,OAAS,QAAQ,qBAAqB,QAAQC,GAAG,CAAC,OAASP,EAAIQ,uBAAuBR,EAAIS,GAAIT,EAAIU,KAAKC,QAAS,SAASC,EAAIC,GAAO,OAAOX,EAAG,mBAAmB,CAACY,IAAID,GAAO,CAACX,EAAG,MAAM,CAACE,YAAY,eAAeE,MAAM,CAAC,IAAMM,EAAI,IAAM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AqH,WAAAA,GACA,KAAAvB,SAAA9H,KAAA,UACA,EAGAmC,OAAAA,GACA,KAAAhB,IAAA,KAAAnB,KAAAmB,IAAA,KAAAC,cACA,KAAA8B,mBAAA,CACA,EAGAoG,YAAAA,GACA,KAAAC,KACA,CACAhE,OAAA,EACAC,MAAA,EACAgE,MAAA,EACAC,YAAA,KAAApH,IAEA,iCACAoD,KAAAC,IACA,KAAAtD,iBAAAsD,EAAAX,KAAAY,MAEA,EAGA+D,SAAAA,GACA,KAAArE,IAAA,CAAAhD,GAAA,KAAAA,IAAA,mCAAAoD,KACAC,IACA,KAAA1F,KAAA0F,EAAAX,KACA,KAAA/E,KAAAmB,KAAA,KAAAnB,KAAAmB,IAAAyC,OAAA,IAEA,KAAAxC,cAAA,KAAApB,KAAAmB,IAAAyC,SACA,KAAAxC,aAAA,GAGA,KAAAY,SAAA,KAAAL,qBAIA,EAEAW,QAAAA,GACA,KAAAoH,YACA,KAAAJ,cACA,GAEApE,OAAAA,GAEA,KAAAgE,MAAAC,UACAQ,QAAAC,KAAA,0BAEA,KAAAvH,GAAA,KAAAwH,OAAAC,OAAAzH,GACA,KAAAC,UACA,GC5U6P,ICQzP,GAAY,OACd,EACAjD,EACA8D,GACA,EACA,KACA,WACA,MAIF,EAAe,E","sources":["webpack://shiweisuzhou/./src/views/Detail/Index.vue","webpack://shiweisuzhou/./src/components/product/Evaluate.vue","webpack://shiweisuzhou/src/components/product/Evaluate.vue","webpack://shiweisuzhou/./src/components/product/Evaluate.vue?9dbf","webpack://shiweisuzhou/./src/components/product/Evaluate.vue?9ce1","webpack://shiweisuzhou/./src/components/product/AddToCartDialog.vue","webpack://shiweisuzhou/src/components/product/AddToCartDialog.vue","webpack://shiweisuzhou/./src/components/product/AddToCartDialog.vue?0999","webpack://shiweisuzhou/./src/components/product/AddToCartDialog.vue?aabf","webpack://shiweisuzhou/src/views/Detail/Index.vue","webpack://shiweisuzhou/./src/views/Detail/Index.vue?1ab6","webpack://shiweisuzhou/./src/views/Detail/Index.vue?db7a"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"product-detail-container\"},[_c('div',{staticClass:\"left-section\"},[_c('el-carousel',{ref:\"carousel\",staticClass:\"product-carousel\",attrs:{\"height\":\"500px\",\"indicator-position\":\"none\"},on:{\"change\":_vm.handleCarouselChange}},_vm._l((_vm.info.listimg),function(img,index){return _c('el-carousel-item',{key:index},[_c('img',{staticClass:\"carousel-img\",attrs:{\"src\":img,\"alt\":`商品图片${index + 1}`}})])}),1),_c('div',{staticClass:\"hint-text\"},[_vm._v(\" 温馨提示:以上图片仅供参考,若图片与实物有所不同,则以实物为准。 \")]),_c('div',{staticClass:\"image-indicators\"},_vm._l((_vm.info.listimg),function(img,index){return _c('div',{key:index,staticClass:\"indicator-item\",class:{ active: _vm.activeIndex === index },on:{\"click\":function($event){return _vm.handleIndicatorClick(index)}}},[_c('img',{staticClass:\"indicator-img\",attrs:{\"src\":img,\"alt\":`缩略图${index + 1}`}})])}),0)],1),_c('div',{staticClass:\"right-section\"},[_c('h2',{staticClass:\"product-title\"},[_vm._v(\" \"+_vm._s(_vm.info.title)+\" \")]),_c('div',{staticClass:\"product-tags\"},[(_vm.info.display_tags)?_c('div',{staticStyle:{\"display\":\"inline-block\"}},_vm._l((_vm.info.display_tags.split(',')),function(item,index){return _c('el-tag',{key:index,staticStyle:{\"margin-right\":\"5px\"},attrs:{\"effect\":\"dark\",\"size\":\"mini\"}},[_vm._v(_vm._s(item))])}),1):_vm._e(),_c('span',{staticClass:\"subtitle\"},[_vm._v(_vm._s(_vm.info.subtitle))])]),_c('div',{staticClass:\"price-info\"},[_c('span',{staticClass:\"price-label\"},[_vm._v(\"售价\")]),_c('span',{staticClass:\"price-amount\"},[_vm._v(\"¥\"+_vm._s(_vm.info.sku[_vm.selectedSpec].price / 100))]),_c('span',{staticClass:\"sales-volume\"},[_vm._v(\"已售 \"+_vm._s(_vm.info.sales_number))])]),_c('div',{staticClass:\"product-attr\"},[_vm._m(0),_c('div',{staticClass:\"attr-item spec-group\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"商品规格\")]),_c('div',{staticClass:\"custom-radio-group\"},_vm._l((_vm.info.sku),function(spec,idx){return _c('label',{key:idx,staticClass:\"custom-radio\",class:{ 'is-checked': _vm.selectedSpec === idx },on:{\"click\":function($event){_vm.selectedSpec = idx}}},[_c('span',{staticClass:\"radio-text\"},[_vm._v(_vm._s(spec.sku_name))])])}),0)]),(_vm.currentMinQuantity > 1)?_c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"起订量\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(_vm._s(_vm.currentMinQuantity)+\"件\")])]):_vm._e(),_c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"发货地\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(_vm._s(_vm.info.supplier_address))])]),_c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"其他\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(_vm._s(_vm.otherInfo))])]),_c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"配送范围\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(_vm._s(_vm.deliveryRange))])])]),_c('div',{staticClass:\"quantity-control\"},[_c('el-button',{attrs:{\"icon\":\"el-icon-minus\",\"circle\":\"\"},on:{\"click\":_vm.decreaseQuantity}}),_c('span',{staticClass:\"quantity-value\"},[_vm._v(_vm._s(_vm.quantity))]),_c('el-button',{attrs:{\"icon\":\"el-icon-plus\",\"circle\":\"\"},on:{\"click\":_vm.increaseQuantity}}),_c('el-button',{staticClass:\"buy-btn\",attrs:{\"type\":\"primary\"},on:{\"click\":_vm.buyNow}},[_vm._v(\"一口价购买\")]),_c('el-button',{staticClass:\"cart-btn\",attrs:{\"type\":\"success\"},on:{\"click\":_vm.addCart}},[_vm._v(\"加入购物车\")])],1)])]),_c('div',{staticClass:\"product-bottom\"},[_c('div',{staticClass:\"hot-recommend-sidebar\"},[_c('div',{staticClass:\"hot-title\"},[_vm._v(\"热销推荐\")]),_vm._l((_vm.hotRecommendData),function(item,index){return _c('div',{key:index,staticClass:\"product-item\",on:{\"click\":function($event){_vm.id = item.id;\n _vm.onReload();}}},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(item.headimg),expression:\"item.headimg\"}],attrs:{\"alt\":\"\"}}),_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(item.title))]),_c('div',{staticClass:\"product-price\"},[_vm._v(\"¥\"+_vm._s(item.price / 100))])])})],2),_c('div',{staticClass:\"product-right\"},[_c('div',{staticClass:\"product-tabs\"},[_c('span',{class:['tab-item', { active: !_vm.tabIndex }],on:{\"click\":function($event){_vm.tabIndex = 0}}},[_vm._v(\"商品详情\")]),_c('span',{class:['tab-item', { active: _vm.tabIndex }],on:{\"click\":function($event){_vm.tabIndex = 1}}},[_vm._v(\"商品评价(125)\")])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.tabIndex),expression:\"!tabIndex\"}],staticClass:\"product-detail-main\",domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(_vm.info.content))}}),_c('Evaluate',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.tabIndex),expression:\"tabIndex\"}],attrs:{\"id\":_vm.id}})],1)]),_c('AddToCartDialog',{attrs:{\"product\":_vm.sku,\"buyQuantity\":_vm.quantity,\"visible\":_vm.showAddCartDialog},on:{\"update:visible\":function($event){_vm.showAddCartDialog=$event}}})],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"收货方式\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(\"邮寄\")])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-review-section\"},[(false)?_c('div',{staticClass:\"review-header\"},[_c('div',{staticClass:\"rating-box\"},[_c('div',{staticClass:\"rating-score\"},[_vm._v(_vm._s(_vm.averageScore)+\" 分\")]),_c('div',{staticClass:\"rating-text\"},[_vm._v(\"综合评分 (共 \"+_vm._s(_vm.totalReviews)+\" 条)\")])]),_c('div',{staticClass:\"filter-tabs\"},[_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'all' },on:{\"click\":function($event){return _vm.handleFilterChange('all')}}},[_vm._v(\" 全部(\"+_vm._s(_vm.totalReviews)+\") \")]),_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'image' },on:{\"click\":function($event){return _vm.handleFilterChange('image')}}},[_vm._v(\" 有图(\"+_vm._s(_vm.hasImageCount)+\") \")]),_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'good' },on:{\"click\":function($event){return _vm.handleFilterChange('good')}}},[_vm._v(\" 好评(\"+_vm._s(_vm.goodReviewsCount)+\") \")]),_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'medium' },on:{\"click\":function($event){return _vm.handleFilterChange('medium')}}},[_vm._v(\" 中评(\"+_vm._s(_vm.mediumReviewsCount)+\") \")]),_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'bad' },on:{\"click\":function($event){return _vm.handleFilterChange('bad')}}},[_vm._v(\" 差评(\"+_vm._s(_vm.badReviewsCount)+\") \")])])]):_vm._e(),_c('div',{staticClass:\"review-list\"},[_vm._l((_vm.reviews),function(review,index){return _c('div',{key:review.id,staticClass:\"review-item\"},[_c('div',{staticClass:\"user-info\"},[_c('img',{staticClass:\"avatar\",attrs:{\"src\":review.user.user}}),_c('div',{staticClass:\"user-name\"},[_vm._v(_vm._s(review.user.nickname))]),_c('div',{staticClass:\"rating-stars\"},_vm._l((5),function(star){return _c('span',{key:star},[_vm._v(\" \"+_vm._s(star <= review.rate ? \"★\" : \"☆\")+\" \")])}),0)]),_c('div',{staticClass:\"review-content\",class:{ empty: !review.content },domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(review.content))}}),(review.img_list.split(',') && review.img_list.split(',').length)?_c('div',{staticClass:\"review-images\"},_vm._l((review.img_list.split(',')),function(img,imgIndex){return _c('img',{key:imgIndex,attrs:{\"src\":img,\"alt\":`${review.nickname}的评价图片${imgIndex + 1}`},on:{\"click\":function($event){_vm.openPreview(review.img_list.split(','), imgIndex)}}})}),0):_vm._e(),_c('div',{staticClass:\"review-time\"},[_vm._v(_vm._s(review.time))])])}),(_vm.reviews.length === 0)?_c('div',{staticClass:\"empty-state\"},[_c('el-empty',{attrs:{\"description\":\"暂无符合条件的评价\"}})],1):_vm._e()],2),(_vm.total > 0)?_c('div',{staticClass:\"pagination-container\"},[_c('el-pagination',{attrs:{\"current-page\":_vm.currentPage,\"page-sizes\":[5, 10, 20],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1):_vm._e(),_c('el-dialog',{attrs:{\"visible\":_vm.previewVisible,\"modal\":true,\"title\":`查看图片 ${_vm.previewIndex + 1}/${_vm.previewImages.length}`,\"width\":\"80%\",\"height\":\"80%\",\"custom-class\":\"image-preview-dialog\",\"close-on-click-modal\":true},on:{\"update:visible\":function($event){_vm.previewVisible=$event}}},[_c('div',{staticClass:\"preview-container\"},[_c('el-button',{staticClass:\"preview-btn prev-btn\",attrs:{\"icon\":\"el-icon-arrow-left\",\"circle\":\"\",\"disabled\":_vm.previewIndex === 0},on:{\"click\":function($event){return _vm.changePreview('prev')}}}),_c('div',{staticClass:\"preview-img-wrapper\"},[_c('img',{staticClass:\"preview-img\",attrs:{\"src\":_vm.previewImages[_vm.previewIndex],\"alt\":`预览图片 ${_vm.previewIndex + 1}`}})]),_c('el-button',{staticClass:\"preview-btn next-btn\",attrs:{\"icon\":\"el-icon-arrow-right\",\"circle\":\"\",\"disabled\":_vm.previewIndex === _vm.previewImages.length - 1},on:{\"click\":function($event){return _vm.changePreview('next')}}})],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n ","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Evaluate.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Evaluate.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Evaluate.vue?vue&type=template&id=0ba5d1af&scoped=true\"\nimport script from \"./Evaluate.vue?vue&type=script&lang=js\"\nexport * from \"./Evaluate.vue?vue&type=script&lang=js\"\nimport style0 from \"./Evaluate.vue?vue&type=style&index=0&id=0ba5d1af&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0ba5d1af\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-dialog',{attrs:{\"title\":\"加入购物车\",\"visible\":_vm.dialogVisible,\"width\":\"360px\",\"close-on-click-modal\":false,\"show-close\":false},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('div',{staticClass:\"cart-dialog__product\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(_vm.product.headimg),expression:\"product.headimg\"}],staticClass:\"product-img\",attrs:{\"alt\":\"商品图片\"}}),_c('div',{staticClass:\"product-info\"},[_c('h4',{staticClass:\"product-name\"},[_vm._v(_vm._s(_vm.product.sku_name || \"商品名称\"))]),_c('p',{staticClass:\"product-price\"},[_vm._v(\"¥\"+_vm._s(_vm.product.price / 100))])])]),_c('div',{staticClass:\"cart-dialog__quantity\"},[_c('label',[_vm._v(\"购买数量:\")]),_c('el-input-number',{staticClass:\"quantity-input\",attrs:{\"min\":1,\"max\":_vm.product.stock,\"step\":1},on:{\"change\":_vm.handleQuantityChange},model:{value:(_vm.buyQuantity),callback:function ($$v) {_vm.buyQuantity=$$v},expression:\"buyQuantity\"}}),(_vm.product.stock)?_c('span',{staticClass:\"stock-tip\"},[_vm._v(\" 库存仅剩 \"+_vm._s(_vm.product.stock)+\" 件 \")]):_vm._e()],1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{staticClass:\"cancel-btn\",on:{\"click\":function($event){_vm.dialogVisible = false}}},[_vm._v(\" 取消 \")]),_c('el-button',{staticClass:\"confirm-btn\",attrs:{\"type\":\"primary\",\"loading\":_vm.loading},on:{\"click\":_vm.handleAddToCart}},[_vm._v(\" 加入购物车 \")])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddToCartDialog.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddToCartDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AddToCartDialog.vue?vue&type=template&id=32e5a85a&scoped=true\"\nimport script from \"./AddToCartDialog.vue?vue&type=script&lang=js\"\nexport * from \"./AddToCartDialog.vue?vue&type=script&lang=js\"\nimport style0 from \"./AddToCartDialog.vue?vue&type=style&index=0&id=32e5a85a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"32e5a85a\",\n null\n \n)\n\nexport default component.exports","\r\n\r\n\r\n\r\n\r\n ","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=05af7283&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\nimport style0 from \"./Index.vue?vue&type=style&index=0&id=05af7283&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"05af7283\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","ref","attrs","on","handleCarouselChange","_l","info","listimg","img","index","key","_v","class","active","activeIndex","$event","handleIndicatorClick","_s","title","display_tags","staticStyle","split","item","_e","subtitle","sku","selectedSpec","price","sales_number","_m","spec","idx","sku_name","currentMinQuantity","supplier_address","otherInfo","deliveryRange","decreaseQuantity","quantity","increaseQuantity","buyNow","addCart","hotRecommendData","id","onReload","directives","name","rawName","value","headimg","expression","tabIndex","domProps","util","formateRichText","content","showAddCartDialog","staticRenderFns","reviews","review","user","nickname","star","rate","empty","img_list","length","imgIndex","openPreview","time","total","currentPage","pageSize","handleSizeChange","handleCurrentChange","previewVisible","previewIndex","previewImages","changePreview","props","components","ElEmpty","Empty","ElPagination","Pagination","data","activeFilter","loading","mounted","getList","methods","get","product_id","offset","limit","then","res","list","catch","handleFilterChange","filterType","val","document","querySelector","scrollIntoView","behavior","images","type","$nextTick","textContent","component","dialogVisible","product","stock","handleQuantityChange","model","buyQuantity","callback","$$v","slot","handleAddToCart","Object","required","default","avatar","visible","Boolean","Number","computed","set","$emit","mapActions","$message","warning","addToCart","err","error","message","Evaluate","AddToCartDialog","productCount","productSubtitle","moq","deliveryMethod","start_number","watch","orderItems","submitOrderData","from","items","$router","push","$refs","carousel","setActiveItem","handleShare","getRecommend","post","rand","product_ids","getDetail","console","warn","$route","params"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/610.e58479c0.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,4BAA4B,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,cAAc,CAACG,IAAI,WAAWD,YAAY,mBAAmBE,MAAM,CAAC,OAAS,QAAQ,qBAAqB,QAAQC,GAAG,CAAC,OAASP,EAAIQ,uBAAuBR,EAAIS,GAAIT,EAAIU,KAAKC,QAAS,SAASC,EAAIC,GAAO,OAAOX,EAAG,mBAAmB,CAACY,IAAID,GAAO,CAACX,EAAG,MAAM,CAACE,YAAY,eAAeE,MAAM,CAAC,IAAMM,EAAI,IAAM,OAAOC,EAAQ,QAAQ,GAAG,GAAGX,EAAG,MAAM,CAACE,YAAY,aAAa,CAACJ,EAAIe,GAAG,wCAAwCb,EAAG,MAAM,CAACE,YAAY,oBAAoBJ,EAAIS,GAAIT,EAAIU,KAAKC,QAAS,SAASC,EAAIC,GAAO,OAAOX,EAAG,MAAM,CAACY,IAAID,EAAMT,YAAY,iBAAiBY,MAAM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C,IACA,KAAAtD,iBAAAsD,EAAAX,KAAAY,MAEA,EAGA+D,SAAAA,GACA,KAAArE,IAAA,CAAAhD,GAAA,KAAAA,IAAA,mCAAAoD,KACAC,IACA,KAAA1F,KAAA0F,EAAAX,KACA,KAAA/E,KAAAmB,KAAA,KAAAnB,KAAAmB,IAAAyC,OAAA,IAEA,KAAAxC,cAAA,KAAApB,KAAAmB,IAAAyC,SACA,KAAAxC,aAAA,GAGA,KAAAY,SAAA,KAAAL,qBAIA,EAEAW,QAAAA,GACA,KAAAoH,YACA,KAAAJ,cACA,GAEApE,OAAAA,GAEA,KAAAgE,MAAAC,UACAQ,QAAAC,KAAA,0BAEA,KAAAvH,GAAA,KAAAwH,OAAAC,OAAAzH,GACA,KAAAC,UACA,GC5U6P,ICQzP,GAAY,OACd,EACAjD,EACA8D,GACA,EACA,KACA,WACA,MAIF,EAAe,E","sources":["webpack://shiweisuzhou/./src/views/Detail/Index.vue","webpack://shiweisuzhou/./src/components/product/Evaluate.vue","webpack://shiweisuzhou/src/components/product/Evaluate.vue","webpack://shiweisuzhou/./src/components/product/Evaluate.vue?9dbf","webpack://shiweisuzhou/./src/components/product/Evaluate.vue?9ce1","webpack://shiweisuzhou/./src/components/product/AddToCartDialog.vue","webpack://shiweisuzhou/src/components/product/AddToCartDialog.vue","webpack://shiweisuzhou/./src/components/product/AddToCartDialog.vue?0999","webpack://shiweisuzhou/./src/components/product/AddToCartDialog.vue?aabf","webpack://shiweisuzhou/src/views/Detail/Index.vue","webpack://shiweisuzhou/./src/views/Detail/Index.vue?1ab6","webpack://shiweisuzhou/./src/views/Detail/Index.vue?db7a"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"product-detail-container\"},[_c('div',{staticClass:\"left-section\"},[_c('el-carousel',{ref:\"carousel\",staticClass:\"product-carousel\",attrs:{\"height\":\"500px\",\"indicator-position\":\"none\"},on:{\"change\":_vm.handleCarouselChange}},_vm._l((_vm.info.listimg),function(img,index){return _c('el-carousel-item',{key:index},[_c('img',{staticClass:\"carousel-img\",attrs:{\"src\":img,\"alt\":`商品图片${index + 1}`}})])}),1),_c('div',{staticClass:\"hint-text\"},[_vm._v(\" 温馨提示:以上图片仅供参考,若图片与实物有所不同,则以实物为准。 \")]),_c('div',{staticClass:\"image-indicators\"},_vm._l((_vm.info.listimg),function(img,index){return _c('div',{key:index,staticClass:\"indicator-item\",class:{ active: _vm.activeIndex === index },on:{\"click\":function($event){return _vm.handleIndicatorClick(index)}}},[_c('img',{staticClass:\"indicator-img\",attrs:{\"src\":img,\"alt\":`缩略图${index + 1}`}})])}),0)],1),_c('div',{staticClass:\"right-section\"},[_c('h2',{staticClass:\"product-title\"},[_vm._v(\" \"+_vm._s(_vm.info.title)+\" \")]),_c('div',{staticClass:\"product-tags\"},[(_vm.info.display_tags)?_c('div',{staticStyle:{\"display\":\"inline-block\"}},_vm._l((_vm.info.display_tags.split(',')),function(item,index){return _c('el-tag',{key:index,staticStyle:{\"margin-right\":\"5px\"},attrs:{\"effect\":\"dark\",\"size\":\"mini\"}},[_vm._v(_vm._s(item))])}),1):_vm._e(),_c('span',{staticClass:\"subtitle\"},[_vm._v(_vm._s(_vm.info.subtitle))])]),_c('div',{staticClass:\"price-info\"},[_c('span',{staticClass:\"price-label\"},[_vm._v(\"售价\")]),_c('span',{staticClass:\"price-amount\"},[_vm._v(\"¥\"+_vm._s(_vm.info.sku[_vm.selectedSpec].price / 100))]),_c('span',{staticClass:\"sales-volume\"},[_vm._v(\"已售 \"+_vm._s(_vm.info.sales_number))])]),_c('div',{staticClass:\"product-attr\"},[_vm._m(0),_c('div',{staticClass:\"attr-item spec-group\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"商品规格\")]),_c('div',{staticClass:\"custom-radio-group\"},_vm._l((_vm.info.sku),function(spec,idx){return _c('label',{key:idx,staticClass:\"custom-radio\",class:{ 'is-checked': _vm.selectedSpec === idx },on:{\"click\":function($event){_vm.selectedSpec = idx}}},[_c('span',{staticClass:\"radio-text\"},[_vm._v(_vm._s(spec.sku_name))])])}),0)]),(_vm.currentMinQuantity > 1)?_c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"起订量\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(_vm._s(_vm.currentMinQuantity)+\"件\")])]):_vm._e(),_c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"发货地\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(_vm._s(_vm.info.supplier_address))])]),_c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"其他\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(_vm._s(_vm.otherInfo))])]),_c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"配送范围\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(_vm._s(_vm.deliveryRange))])])]),_c('div',{staticClass:\"quantity-control\"},[_c('el-button',{attrs:{\"icon\":\"el-icon-minus\",\"circle\":\"\"},on:{\"click\":_vm.decreaseQuantity}}),_c('span',{staticClass:\"quantity-value\"},[_vm._v(_vm._s(_vm.quantity))]),_c('el-button',{attrs:{\"icon\":\"el-icon-plus\",\"circle\":\"\"},on:{\"click\":_vm.increaseQuantity}}),_c('el-button',{staticClass:\"buy-btn\",attrs:{\"type\":\"primary\"},on:{\"click\":_vm.buyNow}},[_vm._v(\"一口价购买\")]),_c('el-button',{staticClass:\"cart-btn\",attrs:{\"type\":\"success\"},on:{\"click\":_vm.addCart}},[_vm._v(\"加入购物车\")])],1)])]),_c('div',{staticClass:\"product-bottom\"},[_c('div',{staticClass:\"hot-recommend-sidebar\"},[_c('div',{staticClass:\"hot-title\"},[_vm._v(\"热销推荐\")]),_vm._l((_vm.hotRecommendData),function(item,index){return _c('div',{key:index,staticClass:\"product-item\",on:{\"click\":function($event){_vm.id = item.id;\n _vm.onReload();}}},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(item.headimg),expression:\"item.headimg\"}],attrs:{\"alt\":\"\"}}),_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(item.title))]),_c('div',{staticClass:\"product-price\"},[_vm._v(\"¥\"+_vm._s(item.price / 100))])])})],2),_c('div',{staticClass:\"product-right\"},[_c('div',{staticClass:\"product-tabs\"},[_c('span',{class:['tab-item', { active: !_vm.tabIndex }],on:{\"click\":function($event){_vm.tabIndex = 0}}},[_vm._v(\"商品详情\")]),_c('span',{class:['tab-item', { active: _vm.tabIndex }],on:{\"click\":function($event){_vm.tabIndex = 1}}},[_vm._v(\"商品评价(125)\")])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.tabIndex),expression:\"!tabIndex\"}],staticClass:\"product-detail-main\",domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(_vm.info.content))}}),_c('Evaluate',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.tabIndex),expression:\"tabIndex\"}],attrs:{\"id\":_vm.id}})],1)]),_c('AddToCartDialog',{attrs:{\"product\":_vm.sku,\"buyQuantity\":_vm.quantity,\"visible\":_vm.showAddCartDialog},on:{\"update:visible\":function($event){_vm.showAddCartDialog=$event}}})],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"收货方式\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(\"邮寄\")])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-review-section\"},[(false)?_c('div',{staticClass:\"review-header\"},[_c('div',{staticClass:\"rating-box\"},[_c('div',{staticClass:\"rating-score\"},[_vm._v(_vm._s(_vm.averageScore)+\" 分\")]),_c('div',{staticClass:\"rating-text\"},[_vm._v(\"综合评分 (共 \"+_vm._s(_vm.totalReviews)+\" 条)\")])]),_c('div',{staticClass:\"filter-tabs\"},[_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'all' },on:{\"click\":function($event){return _vm.handleFilterChange('all')}}},[_vm._v(\" 全部(\"+_vm._s(_vm.totalReviews)+\") \")]),_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'image' },on:{\"click\":function($event){return _vm.handleFilterChange('image')}}},[_vm._v(\" 有图(\"+_vm._s(_vm.hasImageCount)+\") \")]),_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'good' },on:{\"click\":function($event){return _vm.handleFilterChange('good')}}},[_vm._v(\" 好评(\"+_vm._s(_vm.goodReviewsCount)+\") \")]),_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'medium' },on:{\"click\":function($event){return _vm.handleFilterChange('medium')}}},[_vm._v(\" 中评(\"+_vm._s(_vm.mediumReviewsCount)+\") \")]),_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'bad' },on:{\"click\":function($event){return _vm.handleFilterChange('bad')}}},[_vm._v(\" 差评(\"+_vm._s(_vm.badReviewsCount)+\") \")])])]):_vm._e(),_c('div',{staticClass:\"review-list\"},[_vm._l((_vm.reviews),function(review,index){return _c('div',{key:review.id,staticClass:\"review-item\"},[_c('div',{staticClass:\"user-info\"},[_c('img',{staticClass:\"avatar\",attrs:{\"src\":review.user.user}}),_c('div',{staticClass:\"user-name\"},[_vm._v(_vm._s(review.user.nickname))]),_c('div',{staticClass:\"rating-stars\"},_vm._l((5),function(star){return _c('span',{key:star},[_vm._v(\" \"+_vm._s(star <= review.rate ? \"★\" : \"☆\")+\" \")])}),0)]),_c('div',{staticClass:\"review-content\",class:{ empty: !review.content },domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(review.content))}}),(review.img_list.split(',') && review.img_list.split(',').length)?_c('div',{staticClass:\"review-images\"},_vm._l((review.img_list.split(',')),function(img,imgIndex){return _c('img',{key:imgIndex,attrs:{\"src\":img,\"alt\":`${review.nickname}的评价图片${imgIndex + 1}`},on:{\"click\":function($event){_vm.openPreview(review.img_list.split(','), imgIndex)}}})}),0):_vm._e(),_c('div',{staticClass:\"review-time\"},[_vm._v(_vm._s(review.time))])])}),(_vm.reviews.length === 0)?_c('div',{staticClass:\"empty-state\"},[_c('el-empty',{attrs:{\"description\":\"暂无符合条件的评价\"}})],1):_vm._e()],2),(_vm.total > 0)?_c('div',{staticClass:\"pagination-container\"},[_c('el-pagination',{attrs:{\"current-page\":_vm.currentPage,\"page-sizes\":[5, 10, 20],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1):_vm._e(),_c('el-dialog',{attrs:{\"visible\":_vm.previewVisible,\"modal\":true,\"title\":`查看图片 ${_vm.previewIndex + 1}/${_vm.previewImages.length}`,\"width\":\"80%\",\"height\":\"80%\",\"custom-class\":\"image-preview-dialog\",\"close-on-click-modal\":true},on:{\"update:visible\":function($event){_vm.previewVisible=$event}}},[_c('div',{staticClass:\"preview-container\"},[_c('el-button',{staticClass:\"preview-btn prev-btn\",attrs:{\"icon\":\"el-icon-arrow-left\",\"circle\":\"\",\"disabled\":_vm.previewIndex === 0},on:{\"click\":function($event){return _vm.changePreview('prev')}}}),_c('div',{staticClass:\"preview-img-wrapper\"},[_c('img',{staticClass:\"preview-img\",attrs:{\"src\":_vm.previewImages[_vm.previewIndex],\"alt\":`预览图片 ${_vm.previewIndex + 1}`}})]),_c('el-button',{staticClass:\"preview-btn next-btn\",attrs:{\"icon\":\"el-icon-arrow-right\",\"circle\":\"\",\"disabled\":_vm.previewIndex === _vm.previewImages.length - 1},on:{\"click\":function($event){return _vm.changePreview('next')}}})],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n ","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Evaluate.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Evaluate.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Evaluate.vue?vue&type=template&id=0ba5d1af&scoped=true\"\nimport script from \"./Evaluate.vue?vue&type=script&lang=js\"\nexport * from \"./Evaluate.vue?vue&type=script&lang=js\"\nimport style0 from \"./Evaluate.vue?vue&type=style&index=0&id=0ba5d1af&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0ba5d1af\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-dialog',{attrs:{\"title\":\"加入购物车\",\"visible\":_vm.dialogVisible,\"width\":\"360px\",\"close-on-click-modal\":false,\"show-close\":false},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('div',{staticClass:\"cart-dialog__product\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(_vm.product.headimg),expression:\"product.headimg\"}],staticClass:\"product-img\",attrs:{\"alt\":\"商品图片\"}}),_c('div',{staticClass:\"product-info\"},[_c('h4',{staticClass:\"product-name\"},[_vm._v(_vm._s(_vm.product.sku_name || \"商品名称\"))]),_c('p',{staticClass:\"product-price\"},[_vm._v(\"¥\"+_vm._s(_vm.product.price / 100))])])]),_c('div',{staticClass:\"cart-dialog__quantity\"},[_c('label',[_vm._v(\"购买数量:\")]),_c('el-input-number',{staticClass:\"quantity-input\",attrs:{\"min\":1,\"max\":_vm.product.stock,\"step\":1},on:{\"change\":_vm.handleQuantityChange},model:{value:(_vm.buyQuantity),callback:function ($$v) {_vm.buyQuantity=$$v},expression:\"buyQuantity\"}}),(_vm.product.stock)?_c('span',{staticClass:\"stock-tip\"},[_vm._v(\" 库存仅剩 \"+_vm._s(_vm.product.stock)+\" 件 \")]):_vm._e()],1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{staticClass:\"cancel-btn\",on:{\"click\":function($event){_vm.dialogVisible = false}}},[_vm._v(\" 取消 \")]),_c('el-button',{staticClass:\"confirm-btn\",attrs:{\"type\":\"primary\",\"loading\":_vm.loading},on:{\"click\":_vm.handleAddToCart}},[_vm._v(\" 加入购物车 \")])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddToCartDialog.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddToCartDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AddToCartDialog.vue?vue&type=template&id=32e5a85a&scoped=true\"\nimport script from \"./AddToCartDialog.vue?vue&type=script&lang=js\"\nexport * from \"./AddToCartDialog.vue?vue&type=script&lang=js\"\nimport style0 from \"./AddToCartDialog.vue?vue&type=style&index=0&id=32e5a85a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"32e5a85a\",\n null\n \n)\n\nexport default component.exports","\r\n\r\n\r\n\r\n\r\n ","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=05af7283&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\nimport style0 from \"./Index.vue?vue&type=style&index=0&id=05af7283&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"05af7283\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","ref","attrs","on","handleCarouselChange","_l","info","listimg","img","index","key","_v","class","active","activeIndex","$event","handleIndicatorClick","_s","title","display_tags","staticStyle","split","item","_e","subtitle","sku","selectedSpec","price","sales_number","_m","spec","idx","sku_name","currentMinQuantity","supplier_address","otherInfo","deliveryRange","decreaseQuantity","quantity","increaseQuantity","buyNow","addCart","hotRecommendData","id","onReload","directives","name","rawName","value","headimg","expression","tabIndex","domProps","util","formateRichText","content","showAddCartDialog","staticRenderFns","reviews","review","user","nickname","star","rate","empty","img_list","length","imgIndex","openPreview","time","total","currentPage","pageSize","handleSizeChange","handleCurrentChange","previewVisible","previewIndex","previewImages","changePreview","props","components","ElEmpty","Empty","ElPagination","Pagination","data","activeFilter","loading","mounted","getList","methods","get","product_id","offset","limit","then","res","list","catch","handleFilterChange","filterType","val","document","querySelector","scrollIntoView","behavior","images","type","$nextTick","textContent","component","dialogVisible","product","stock","handleQuantityChange","model","buyQuantity","callback","$$v","slot","handleAddToCart","Object","required","default","avatar","visible","Boolean","Number","computed","set","$emit","mapActions","$message","warning","addToCart","err","error","message","Evaluate","AddToCartDialog","productCount","productSubtitle","moq","deliveryMethod","start_number","watch","orderItems","submitOrderData","from","items","$router","push","$refs","carousel","setActiveItem","handleShare","getRecommend","post","rand","product_ids","getDetail","console","warn","$route","params"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/645.6f496112.js b/dist/js/645.6f496112.js new file mode 100644 index 0000000..3879251 --- /dev/null +++ b/dist/js/645.6f496112.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[645],{80:function(t,e,i){i.d(e,{A:function(){return c}});var s=function(){var t=this,e=t._self._c;return t.show?e("el-dialog",{attrs:{title:"物流信息",visible:t.visible,width:"700px","close-on-click-modal":!1,"show-close":!0,"before-close":t.handleClose},on:{"update:visible":function(e){t.visible=e}}},[e("div",{staticClass:"express-info"},[e("div",{staticClass:"express-logo"},[e("span",{staticClass:"express-name"},[t._v(t._s(t.logisticsInfo.express_name))])]),e("div",{staticClass:"express-number"},[e("span",{staticClass:"number-label"},[t._v("运单号:")]),e("span",{staticClass:"number-value"},[t._v(t._s(t.logisticsInfo.courier_number))]),e("el-button",{staticClass:"copy-btn",attrs:{type:"text"},on:{click:t.copyWaybillNumber}},[t._v(" 复制 ")])],1)]),e("div",{staticClass:"timeline-container"},[e("el-timeline",t._l(t.logisticsList,function(i,s){return e("el-timeline-item",{key:s,attrs:{timestamp:i.time,color:0===s?"orange":"#8492a6",icon:0===s?"el-icon-check":"",size:0===s?"large":"normal"}},[e("div",{staticClass:"timeline-content"},[e("div",{staticClass:"timeline-status",class:{active:0===s}},[t._v(" "+t._s(i.context)+" ")]),e("div",{staticClass:"timeline-desc"},[t._v(t._s(i.description))])])])}),1)],1),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.handleClose}},[t._v("关闭")])],1)]):t._e()},o=[],l={name:"LogisticsModal",props:{visible:{type:Boolean,default:!1},orderId:{type:String},logisticsInfo:{type:Object}},data(){return{logisticsList:[],show:this.visible}},watch:{visible(t){this.show=t}},mounted(){this.post({child_order_id:this.orderId},"/api/order/getExpress").then(t=>{this.logisticsList=t.data})},methods:{copyWaybillNumber(){const t=document.createElement("input");t.value=this.logisticsInfo.courier_number,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),this.$message.success("运单号已复制")},handleClose(){this.show=!1,this.$emit("update:visible",!1)}}},r=l,a=i(1656),n=(0,a.A)(r,s,o,!1,null,"05881a53",null),c=n.exports},645:function(t,e,i){i.r(e),i.d(e,{default:function(){return d}});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[e("div",{staticClass:"normal-margin-bottom"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:"/User/UserCenter"}}},[t._v("个人中心")]),e("el-breadcrumb-item",{attrs:{to:{path:"/User/OrderList"}}},[t._v("我的订单")]),e("el-breadcrumb-item",[t._v(" 订单详情")])],1)],1),e("div",{staticClass:"common-card normal-margin-bottom",staticStyle:{padding:"20px 0",display:"flex"}},[e("div",{staticClass:"order-status"},[e("div",{staticClass:"order-no"},[t._v(" 订单号: 209907091214560078 "),e("el-button",{staticStyle:{color:"#999"},attrs:{type:"text",icon:"el-icon-document-copy"}})],1),e("div",{staticClass:"status-title"},[e("i",{staticClass:"el-icon-time",staticStyle:{color:"#ff9800","font-size":"32px"}}),e("span",{staticStyle:{height:"24px","line-height":"24px","padding-left":"5px"}},[t._v("订单状态: "+t._s(t.info.state_text))])]),"WAIT_COMMENT"!=t.info.state?e("el-button",{attrs:{type:"primary",size:"medium"}},[t._v("在线付款")]):t._e()],1),e("div",{staticClass:"order-step"},[e("el-steps",{staticStyle:{width:"100%"},attrs:{active:t.activities.length,"align-center":""}},t._l(t.activities,function(i,s){return e("el-step",{key:s},[e("div",{staticClass:"process-title",attrs:{slot:"description"},slot:"description"},[t._v(" "+t._s(i.remark)+" ")]),e("div",{attrs:{slot:"icon"},slot:"icon"},[s>=2?e("span",[t._v(t._s(s+1))]):e("i",{staticClass:"el-icon-check",staticStyle:{color:"#fff"}})]),e("div",{staticClass:"process-description",attrs:{slot:"description"},slot:"description"},[t._v(" "+t._s(i.create_time)+" ")])])}),1)],1)]),e("div",{staticClass:"common-card normal-margin-bottom order-info-card",staticStyle:{display:"flex",padding:"20px 0"}},[e("el-descriptions",{attrs:{title:"订单信息",column:1}},[e("el-descriptions-item",{attrs:{label:"订单号"}},[t._v(t._s(t.info.order_id))]),e("el-descriptions-item",{attrs:{label:"订单状态"}},[t._v(t._s(t.info.state_text))]),e("el-descriptions-item",{attrs:{label:"下单时间"}},[t._v(t._s(t.info.create_time))])],1),e("el-descriptions",{attrs:{title:"配送信息",column:1}},[e("el-descriptions-item",{attrs:{label:"收货人"}},[t._v(t._s(t.info.order_product_list[0].consignee_info.name))]),e("el-descriptions-item",{attrs:{label:"地址"}},[t._v(t._s(t.info.order_product_list[0].consignee_info.address))]),e("el-descriptions-item",{attrs:{label:"手机号码"}},[t._v(t._s(t.info.order_product_list[0].consignee_info.tel))])],1),t.info.pay_method_text?e("el-descriptions",{staticStyle:{border:"none"},attrs:{title:"支付信息",column:1}},[e("el-descriptions-item",{attrs:{label:"支付方式"}},[t._v(t._s(t.info.pay_method_text))]),e("el-descriptions-item",{attrs:{label:"支付时间"}},[t._v(t._s(t.info.pay_at))])],1):t._e()],1),e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.productList}},[e("el-table-column",{attrs:{prop:"name",label:"商品名称",align:"center"},scopedSlots:t._u([{key:"default",fn:function({row:i}){return[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticClass:"product-image",attrs:{src:i.product_img,alt:i.product_title}}),e("div",[t._v(t._s(i.product_title))])])]}}])}),e("el-table-column",{attrs:{prop:"sku_name",label:"规格",align:"center"}}),e("el-table-column",{attrs:{prop:"product_price",label:"单价(元)",align:"center",width:"200"},scopedSlots:t._u([{key:"default",fn:function({row:i}){return[e("div",[t._v(t._s(i.product_price/100))])]}}])}),e("el-table-column",{attrs:{prop:"product_num",label:"数量",align:"center",width:"100"}}),e("el-table-column",{attrs:{prop:"subtotal",label:"小计(元)",align:"center",width:"200"},scopedSlots:t._u([{key:"default",fn:function({row:i}){return[e("div",{staticStyle:{color:"#ff1111"}},[t._v("¥"+t._s(i.paid_money/100))])]}}])}),e("el-table-column",{attrs:{label:"操作",align:"center",width:"250"},scopedSlots:t._u([{key:"default",fn:function({row:i}){return[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoDetail(i)}}},[t._v(" 商品详情 ")]),"WAIT_DELIVERY"===i.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.checkLogistics(i)}}},[t._v(" 查看物流 ")]):t._e(),"WAIT_COMMENT"===i.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoReview(i)}}},[t._v(" 去评价 ")]):t._e()]}}])})],1),e("div",{staticClass:"common-card normal-margin-bottom total-card"},[e("el-descriptions",{attrs:{column:1}},[e("el-descriptions-item",{attrs:{label:"商品总价"}},[t._v("¥"+t._s(t.info.total_money/100))]),e("el-descriptions-item",{attrs:{label:"运费"}},[t._v("¥"+t._s(t.info.total_post_fee/100))]),e("el-descriptions-item",{attrs:{label:"实付款"}},[e("span",{staticStyle:{"font-size":"16px","font-weight":"bold",color:"#ff1111"}},[t._v("¥"+t._s(t.info.paid_money/100))])])],1)],1),t.logisticsShow?e("LogisticsModal",{attrs:{visible:t.logisticsShow,orderId:t.orderId,logisticsInfo:t.logisticsInfo},on:{"update:visible":function(e){t.logisticsShow=e}}}):t._e()],1)},o=[],l=(i(4114),i(8111),i(7588),i(80)),r={name:"OrderDetail",components:{LogisticsModal:l.A},data(){return{info:{},activities:[],orderInfo:{orderNumber:"20250801123456",status:"已完成",orderTime:"2025-08-01 15:30:00"},deliveryInfo:{receiver:"张三",address:"北京市海淀区xxx街道xxx小区",phone:"13800138000",deliveryMethod:"快递",expectedDeliveryTime:"2025-08-02"},paymentInfo:{paymentMethod:"支付宝",paymentStatus:"已支付",paymentTime:"2025-08-01 15:35:00"},productList:[],totalPrice:{productTotal:500,shippingFee:0,actualPayment:500},logisticsShow:!1,orderId:"",logisticsInfo:""}},computed:{},mounted(){this.getDetail()},methods:{getDetail(){this.post({order_id:this.$route.query.id},"/api/order/query").then(t=>{this.info=t.data,this.productList=this.info.order_product_list,this.info.order_product_list.forEach(t=>{"post"===t.product_model&&t.consignee_info&&(t.consignee_info=JSON.parse(t.consignee_info))})}),this.post({order_id:this.$route.query.id},"/api/order/refund_detail").then(t=>{this.activities=t.data.list})},gotoDetail(t){this.$router.push("/Detail/"+t.product_id)},checkLogistics(t){this.orderId=t.child_order_id,this.logisticsInfo=t.order_product_extend,this.logisticsShow=!0},gotoReview(t){this.$router.push("/ProductReview?product="+JSON.stringify(t))}}},a=r,n=i(1656),c=(0,n.A)(a,s,o,!1,null,"382893c1",null),d=c.exports}}]); +//# sourceMappingURL=645.6f496112.js.map \ No newline at end of file diff --git a/dist/js/645.6f496112.js.map b/dist/js/645.6f496112.js.map new file mode 100644 index 0000000..eb63f44 --- /dev/null +++ b/dist/js/645.6f496112.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/645.6f496112.js","mappings":"qJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAQF,EAAII,KAAMF,EAAG,YAAY,CAACG,MAAM,CAAC,MAAQ,OAAO,QAAUL,EAAIM,QAAQ,MAAQ,QAAQ,wBAAuB,EAAM,cAAa,EAAK,eAAeN,EAAIO,aAAaC,GAAG,CAAC,iBAAiB,SAASC,GAAQT,EAAIM,QAAQG,CAAM,IAAI,CAACP,EAAG,MAAM,CAACQ,YAAY,gBAAgB,CAACR,EAAG,MAAM,CAACQ,Y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AAAC,KAAA,WAAAvG,EAAAwG,WACA,EACApC,cAAAA,CAAAqC,GACA,KAAAzF,QAAAyF,EAAAjF,eACA,KAAA9B,cAAA+G,EAAAC,qBACA,KAAAlC,eAAA,CACA,EACAH,UAAAA,CAAAoC,GACA,KAAAH,QAAAC,KAAA,0BAAAJ,KAAAQ,UAAAF,GACA,ICrSmQ,I,UCQ/PjE,GAAY,OACd,EACA5D,EACA8B,GACA,EACA,KACA,WACA,MAIF,EAAe8B,E","sources":["webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue","webpack://shiweisuzhou/src/components/product/LogisticsModal.vue","webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue?0c14","webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue?a972","webpack://shiweisuzhou/./src/views/Order/OrderDetail.vue","webpack://shiweisuzhou/src/views/Order/OrderDetail.vue","webpack://shiweisuzhou/./src/views/Order/OrderDetail.vue?32d4","webpack://shiweisuzhou/./src/views/Order/OrderDetail.vue?fd9f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.show)?_c('el-dialog',{attrs:{\"title\":\"物流信息\",\"visible\":_vm.visible,\"width\":\"700px\",\"close-on-click-modal\":false,\"show-close\":true,\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('div',{staticClass:\"express-info\"},[_c('div',{staticClass:\"express-logo\"},[_c('span',{staticClass:\"express-name\"},[_vm._v(_vm._s(_vm.logisticsInfo.express_name))])]),_c('div',{staticClass:\"express-number\"},[_c('span',{staticClass:\"number-label\"},[_vm._v(\"运单号:\")]),_c('span',{staticClass:\"number-value\"},[_vm._v(_vm._s(_vm.logisticsInfo.courier_number))]),_c('el-button',{staticClass:\"copy-btn\",attrs:{\"type\":\"text\"},on:{\"click\":_vm.copyWaybillNumber}},[_vm._v(\" 复制 \")])],1)]),_c('div',{staticClass:\"timeline-container\"},[_c('el-timeline',_vm._l((_vm.logisticsList),function(item,index){return _c('el-timeline-item',{key:index,attrs:{\"timestamp\":item.time,\"color\":index === 0 ? 'orange' : '#8492a6',\"icon\":index === 0 ? 'el-icon-check' : '',\"size\":index === 0 ? 'large' : 'normal'}},[_c('div',{staticClass:\"timeline-content\"},[_c('div',{staticClass:\"timeline-status\",class:{ active: index === 0 }},[_vm._v(\" \"+_vm._s(item.context)+\" \")]),_c('div',{staticClass:\"timeline-desc\"},[_vm._v(_vm._s(item.description))])])])}),1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.handleClose}},[_vm._v(\"关闭\")])],1)]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LogisticsModal.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LogisticsModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LogisticsModal.vue?vue&type=template&id=05881a53&scoped=true\"\nimport script from \"./LogisticsModal.vue?vue&type=script&lang=js\"\nexport * from \"./LogisticsModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./LogisticsModal.vue?vue&type=style&index=0&id=05881a53&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"05881a53\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"normal-margin-bottom\"},[_c('el-breadcrumb',{attrs:{\"separator-class\":\"el-icon-arrow-right\"}},[_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/User/UserCenter' }}},[_vm._v(\"个人中心\")]),_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/User/OrderList' }}},[_vm._v(\"我的订单\")]),_c('el-breadcrumb-item',[_vm._v(\" 订单详情\")])],1)],1),_c('div',{staticClass:\"common-card normal-margin-bottom\",staticStyle:{\"padding\":\"20px 0\",\"display\":\"flex\"}},[_c('div',{staticClass:\"order-status\"},[_c('div',{staticClass:\"order-no\"},[_vm._v(\" 订单号: 209907091214560078 \"),_c('el-button',{staticStyle:{\"color\":\"#999\"},attrs:{\"type\":\"text\",\"icon\":\"el-icon-document-copy\"}})],1),_c('div',{staticClass:\"status-title\"},[_c('i',{staticClass:\"el-icon-time\",staticStyle:{\"color\":\"#ff9800\",\"font-size\":\"32px\"}}),_c('span',{staticStyle:{\"height\":\"24px\",\"line-height\":\"24px\",\"padding-left\":\"5px\"}},[_vm._v(\"订单状态: \"+_vm._s(_vm.info.state_text))])]),(_vm.info.state != 'WAIT_COMMENT')?_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"}},[_vm._v(\"在线付款\")]):_vm._e()],1),_c('div',{staticClass:\"order-step\"},[_c('el-steps',{staticStyle:{\"width\":\"100%\"},attrs:{\"active\":_vm.activities.length,\"align-center\":\"\"}},_vm._l((_vm.activities),function(item,i){return _c('el-step',{key:i},[_c('div',{staticClass:\"process-title\",attrs:{\"slot\":\"description\"},slot:\"description\"},[_vm._v(\" \"+_vm._s(item.remark)+\" \")]),_c('div',{attrs:{\"slot\":\"icon\"},slot:\"icon\"},[(i >= 2)?_c('span',[_vm._v(_vm._s(i + 1))]):_c('i',{staticClass:\"el-icon-check\",staticStyle:{\"color\":\"#fff\"}})]),_c('div',{staticClass:\"process-description\",attrs:{\"slot\":\"description\"},slot:\"description\"},[_vm._v(\" \"+_vm._s(item.create_time)+\" \")])])}),1)],1)]),_c('div',{staticClass:\"common-card normal-margin-bottom order-info-card\",staticStyle:{\"display\":\"flex\",\"padding\":\"20px 0\"}},[_c('el-descriptions',{attrs:{\"title\":\"订单信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"订单号\"}},[_vm._v(_vm._s(_vm.info.order_id))]),_c('el-descriptions-item',{attrs:{\"label\":\"订单状态\"}},[_vm._v(_vm._s(_vm.info.state_text))]),_c('el-descriptions-item',{attrs:{\"label\":\"下单时间\"}},[_vm._v(_vm._s(_vm.info.create_time))])],1),_c('el-descriptions',{attrs:{\"title\":\"配送信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"收货人\"}},[_vm._v(_vm._s(_vm.info.order_product_list[0].consignee_info.name))]),_c('el-descriptions-item',{attrs:{\"label\":\"地址\"}},[_vm._v(_vm._s(_vm.info.order_product_list[0].consignee_info.address))]),_c('el-descriptions-item',{attrs:{\"label\":\"手机号码\"}},[_vm._v(_vm._s(_vm.info.order_product_list[0].consignee_info.tel))])],1),(_vm.info.pay_method_text)?_c('el-descriptions',{staticStyle:{\"border\":\"none\"},attrs:{\"title\":\"支付信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"支付方式\"}},[_vm._v(_vm._s(_vm.info.pay_method_text))]),_c('el-descriptions-item',{attrs:{\"label\":\"支付时间\"}},[_vm._v(_vm._s(_vm.info.pay_at))])],1):_vm._e()],1),_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.productList}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"商品名称\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[_c('img',{staticClass:\"product-image\",attrs:{\"src\":row.product_img,\"alt\":row.product_title}}),_c('div',[_vm._v(_vm._s(row.product_title))])])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"sku_name\",\"label\":\"规格\",\"align\":\"center\"}}),_c('el-table-column',{attrs:{\"prop\":\"product_price\",\"label\":\"单价(元)\",\"align\":\"center\",\"width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('div',[_vm._v(_vm._s(row.product_price / 100))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"product_num\",\"label\":\"数量\",\"align\":\"center\",\"width\":\"100\"}}),_c('el-table-column',{attrs:{\"prop\":\"subtotal\",\"label\":\"小计(元)\",\"align\":\"center\",\"width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('div',{staticStyle:{\"color\":\"#ff1111\"}},[_vm._v(\"¥\"+_vm._s(row.paid_money / 100))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"align\":\"center\",\"width\":\"250\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoDetail(row)}}},[_vm._v(\" 商品详情 \")]),(row.state === 'WAIT_DELIVERY')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.checkLogistics(row)}}},[_vm._v(\" 查看物流 \")]):_vm._e(),(row.state === 'WAIT_COMMENT')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoReview(row)}}},[_vm._v(\" 去评价 \")]):_vm._e()]}}])})],1),_c('div',{staticClass:\"common-card normal-margin-bottom total-card\"},[_c('el-descriptions',{attrs:{\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"商品总价\"}},[_vm._v(\"¥\"+_vm._s(_vm.info.total_money / 100))]),_c('el-descriptions-item',{attrs:{\"label\":\"运费\"}},[_vm._v(\"¥\"+_vm._s(_vm.info.total_post_fee / 100))]),_c('el-descriptions-item',{attrs:{\"label\":\"实付款\"}},[_c('span',{staticStyle:{\"font-size\":\"16px\",\"font-weight\":\"bold\",\"color\":\"#ff1111\"}},[_vm._v(\"¥\"+_vm._s(_vm.info.paid_money / 100))])])],1)],1),(_vm.logisticsShow)?_c('LogisticsModal',{attrs:{\"visible\":_vm.logisticsShow,\"orderId\":_vm.orderId,\"logisticsInfo\":_vm.logisticsInfo},on:{\"update:visible\":function($event){_vm.logisticsShow = $event}}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderDetail.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderDetail.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderDetail.vue?vue&type=template&id=382893c1&scoped=true\"\nimport script from \"./OrderDetail.vue?vue&type=script&lang=js\"\nexport * from \"./OrderDetail.vue?vue&type=script&lang=js\"\nimport style0 from \"./OrderDetail.vue?vue&type=style&index=0&id=382893c1&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"382893c1\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","show","attrs","visible","handleClose","on","$event","staticClass","_v","_s","logisticsInfo","express_name","courier_number","copyWaybillNumber","_l","logisticsList","item","index","key","time","class","active","context","description","slot","_e","staticRenderFns","name","props","type","Boolean","default","orderId","String","Object","data","watch","newVal","mounted","post","child_order_id","then","res","methods","input","document","createElement","value","body","appendChild","select","execCommand","removeChild","$message","success","$emit","component","path","staticStyle","info","state_text","state","activities","length","i","remark","create_time","order_id","order_product_list","consignee_info","address","tel","pay_method_text","pay_at","productList","scopedSlots","_u","fn","row","product_img","product_title","product_price","paid_money","gotoDetail","checkLogistics","gotoReview","total_money","total_post_fee","logisticsShow","components","LogisticsModal","orderInfo","orderNumber","status","orderTime","deliveryInfo","receiver","phone","deliveryMethod","expectedDeliveryTime","paymentInfo","paymentMethod","paymentStatus","paymentTime","totalPrice","productTotal","shippingFee","actualPayment","computed","getDetail","$route","query","id","forEach","product_model","JSON","parse","list","$router","push","product_id","product","order_product_extend","stringify"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/729.b8e5cf01.js b/dist/js/729.b8e5cf01.js new file mode 100644 index 0000000..3358319 --- /dev/null +++ b/dist/js/729.b8e5cf01.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[729],{80:function(t,e,i){i.d(e,{A:function(){return c}});var s=function(){var t=this,e=t._self._c;return t.show?e("el-dialog",{attrs:{title:"物流信息",visible:t.visible,width:"700px","close-on-click-modal":!1,"show-close":!0,"before-close":t.handleClose},on:{"update:visible":function(e){t.visible=e}}},[e("div",{staticClass:"express-info"},[e("div",{staticClass:"express-logo"},[e("span",{staticClass:"express-name"},[t._v(t._s(t.logisticsInfo.express_name))])]),e("div",{staticClass:"express-number"},[e("span",{staticClass:"number-label"},[t._v("运单号:")]),e("span",{staticClass:"number-value"},[t._v(t._s(t.logisticsInfo.courier_number))]),e("el-button",{staticClass:"copy-btn",attrs:{type:"text"},on:{click:t.copyWaybillNumber}},[t._v(" 复制 ")])],1)]),e("div",{staticClass:"timeline-container"},[e("el-timeline",t._l(t.logisticsList,function(i,s){return e("el-timeline-item",{key:s,attrs:{timestamp:i.time,color:0===s?"orange":"#8492a6",icon:0===s?"el-icon-check":"",size:0===s?"large":"normal"}},[e("div",{staticClass:"timeline-content"},[e("div",{staticClass:"timeline-status",class:{active:0===s}},[t._v(" "+t._s(i.context)+" ")]),e("div",{staticClass:"timeline-desc"},[t._v(t._s(i.description))])])])}),1)],1),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.handleClose}},[t._v("关闭")])],1)]):t._e()},r=[],o={name:"LogisticsModal",props:{visible:{type:Boolean,default:!1},orderId:{type:String},logisticsInfo:{type:Object}},data(){return{logisticsList:[],show:this.visible}},watch:{visible(t){this.show=t}},mounted(){this.post({child_order_id:this.orderId},"/api/order/getExpress").then(t=>{this.logisticsList=t.data})},methods:{copyWaybillNumber(){const t=document.createElement("input");t.value=this.logisticsInfo.courier_number,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),this.$message.success("运单号已复制")},handleClose(){this.show=!1,this.$emit("update:visible",!1)}}},a=o,l=i(1656),n=(0,l.A)(a,s,r,!1,null,"05881a53",null),c=n.exports},3729:function(t,e,i){i.r(e),i.d(e,{default:function(){return d}});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[e("div",{staticClass:"filter-bar"},[e("el-form",{attrs:{inline:!0,model:t.filterForm,size:"small"}},[e("el-form-item",{attrs:{label:"商品名称"}},[e("el-input",{attrs:{placeholder:"请输入商品名称"},model:{value:t.filterForm.keywords,callback:function(e){t.$set(t.filterForm,"keywords",e)},expression:"filterForm.keywords"}})],1),e("el-form-item",{attrs:{label:"订单编号"}},[e("el-input",{attrs:{placeholder:"请输入订单编号"},model:{value:t.filterForm.order_id,callback:function(e){t.$set(t.filterForm,"order_id",e)},expression:"filterForm.order_id"}})],1),e("el-form-item",{attrs:{label:"下单时间"}},[e("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd"},model:{value:t.filterForm.createTime,callback:function(e){t.$set(t.filterForm,"createTime",e)},expression:"filterForm.createTime"}})],1),e("el-form-item",{attrs:{label:"交易状态"}},[e("el-select",{staticStyle:{width:"200px"},attrs:{placeholder:"请选择"},model:{value:t.filterForm.state,callback:function(e){t.$set(t.filterForm,"state",e)},expression:"filterForm.state"}},t._l(t.typeList,function(t,i){return e("el-option",{key:i,attrs:{label:t.name,value:t.id}})}),1)],1),e("el-form-item",[e("el-button",{staticStyle:{background:"#6a8a27",border:"none"},attrs:{type:"primary"},on:{click:t.search}},[t._v("搜索")])],1),e("el-form-item",[e("el-button",{on:{click:t.reset}},[t._v("重置")])],1)],1)],1),e("div",[t._m(0),t._l(t.orders,function(i){return e("div",{key:i.id,staticClass:"order-card"},[e("div",{staticClass:"order-header flex-between"},[e("div",{staticStyle:{display:"flex"}},[e("div",[t._v("订单号: "+t._s(i.order_id))]),e("div",{staticStyle:{"padding-left":"60px"}},[t._v(" 下单时间:"+t._s(i.create_time)+" ")])]),e("div",{staticClass:"product-status"},[e("el-tag",{attrs:{type:t.getStatusTagType(i.state),size:"small"}},[t._v(t._s(i.state_text))])],1)]),e("div",{staticClass:"order-products"},t._l(i.order_product_list,function(i){return e("div",{key:i.id,staticClass:"product-item"},[e("img",{staticClass:"product-image",attrs:{src:i.product_img}}),e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v(t._s(i.product_title))]),e("div",{staticClass:"product-spec"},[t._v(t._s(i.sku_name))])]),e("div",{staticClass:"product-price"},[t._v(" ¥"+t._s((i.product_price/100).toFixed(2))+" ")]),e("div",{staticClass:"product-quantity"},[t._v("x"+t._s(i.product_num))]),e("div",{staticClass:"product-total"},[t._v(" ¥"+t._s((i.paid_money/100).toFixed(2))+" ")]),e("div",{staticClass:"product-actions"},[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoDetail(i)}}},[t._v(" 商品详情")]),"WAIT_DELIVERY"===i.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.checkLogistics(i)}}},[t._v("查看物流")]):t._e(),"WAIT_COMMENT"==i.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoReview(i)}}},[t._v(" 去评价")]):t._e()],1)])}),0),e("div",{staticClass:"order-footer"},[e("div",{staticClass:"order-summary"},[e("div",{staticClass:"order-amount"},[t._v(" 合计: "),e("strong",[t._v("¥"+t._s((i.paid_money/100).toFixed(2)))]),t._v(" (含运费 ¥"+t._s((i.total_post_fee/100).toFixed(2))+") ")])]),e("div",{staticClass:"order-actions"},[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.viewOrderDetail(i.order_id)}}},[t._v("订单详情")]),["WAIT_POST","WAIT_USE","PAID"].includes(i.state)?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.refund(i.order_id)}}},[t._v("取消订单")]):t._e(),["UNPAID"].includes(i.state)?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.closeOrder(i.order_id)}}},[t._v("关闭订单")]):t._e(),"WAIT_PAYMENT"===i.state?e("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.payOrder(i.id)}}},[t._v("去付款")]):t._e()],1)])])}),t.orders.length<=0?e("el-empty",{attrs:{description:"暂无订单"}}):t._e(),e("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[e("el-pagination",{attrs:{"current-page":t.filterForm.currentPage,"page-sizes":[5,10,20],"page-size":t.filterForm.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.filterForm.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],2),t.logisticsShow?e("LogisticsModal",{attrs:{visible:t.logisticsShow,orderId:t.orderId,logisticsInfo:t.logisticsInfo},on:{"update:visible":function(e){t.logisticsShow=e}}}):t._e()],1)},r=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"order-products",staticStyle:{padding:"0 20px",background:"#f8f9fa","border-top":"1px solid #eee","border-bottom":"1px solid #eee","margin-bottom":"20px"}},[e("div",{staticClass:"product-item"},[e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v("商品信息")])]),e("div",{staticClass:"product-price"},[t._v("单价(元)")]),e("div",{staticClass:"product-quantity"},[t._v("数量")]),e("div",{staticClass:"product-total"},[t._v("小计(元)")]),e("div",{staticClass:"product-actions"})])])}],o=(i(4114),i(80)),a={name:"OrderList",components:{LogisticsModal:o.A},data(){return{activeTab:"ALL",filterForm:{keywords:"",currentPage:1,limit:10,order_id:"",createTime:[],start_date:"",end_date:"",total:1,state:""},typeList:[{name:"全部",id:""},{name:"待付款",id:"WAIT_PAYMENT"},{name:"已支付",id:"PAID"},{name:"待发货",id:"WAIT_POST"},{name:"待收货",id:"WAIT_DELIVERY"},{name:"退款/售后",id:"NEED_REFUND"},{name:"待评价",id:"WAIT_COMMENT"},{name:"已关闭",id:"CLOSED"},{name:"已完成",id:"COMPLETED"}],orders:[],logisticsShow:!1,orderId:"",logisticsInfo:""}},computed:{},mounted(){const t=this.$route.query.status;t&&(this.filterForm.state=t),this.getList()},methods:{closeOrder(t){this.$confirm("是否关闭订单?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({order_id:t},"/api/order/close").then(t=>{1==t.code&&(this.getList(),this.$message({type:"success",message:"订单关闭成功!"}))})})},refund(t){this.$confirm("是否取消订单?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({order_id:t},"/api/order/refund").then(t=>{1==t.code&&(this.getList(),this.$message({type:"success",message:"订单取消成功!"}))})})},gotoDetail(t){this.$router.push("/Detail/"+t.product_id)},getList(){this.filterForm.start_date=this.filterForm.createTime[0],this.filterForm.end_date=this.filterForm.createTime[1],this.post({...this.filterForm,offset:(this.filterForm.currentPage-1)*this.filterForm.limit},"/api/order/list").then(t=>{this.orders=t.data.list,this.filterForm.total=t.data.total})},search(){this.filterForm.currentPage=1,this.getList()},reset(){this.filterForm={keywords:"",currentPage:1,limit:10,order_id:"",createTime:[],start_date:"",end_date:"",total:1},this.getList()},handleSizeChange(t){this.filterForm.limit=t,this.filterForm.currentPage=1,this.getList()},handleCurrentChange(t){this.filterForm.currentPage=t,this.getList()},getStatusText(t){const e={pendingPayment:"待付款",pendingDelivery:"待发货",delivering:"配送中",completed:"已完成",cancelled:"已取消"};return e[t]||t},getStatusTagType(t){const e={pendingPayment:"warning",pendingDelivery:"info",delivering:"primary",completed:"success",cancelled:"danger"};return e[t]||"default"},payOrder(t){this.$message({message:`订单 ${t} 去付款`,type:"info"})},remindDelivery(t){this.$message({message:`已提醒订单 ${t} 发货`,type:"success"})},checkLogistics(t){this.orderId=t.child_order_id,this.logisticsInfo=t.order_product_extend,this.logisticsShow=!0},gotoReview(t){this.$router.push("/ProductReview?product="+JSON.stringify(t))},viewOrderDetail(t){this.$router.push({path:"/OrderDetail?id="+t})}}},l=a,n=i(1656),c=(0,n.A)(l,s,r,!1,null,"dc03f51c",null),d=c.exports}}]); +//# sourceMappingURL=729.b8e5cf01.js.map \ No newline at end of file diff --git a/dist/js/729.b8e5cf01.js.map b/dist/js/729.b8e5cf01.js.map new file mode 100644 index 0000000..76d0f28 --- /dev/null +++ b/dist/js/729.b8e5cf01.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/729.b8e5cf01.js","mappings":"qJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAQF,EAAII,KAAMF,EAAG,YAAY,CAACG,MAAM,CAAC,MAAQ,OAAO,QAAUL,EAAIM,QAAQ,MAAQ,QAAQ,wBAAuB,EAAM,cAAa,EAAK,eAAeN,EAAIO,aAAaC,GAAG,CAAC,iBAAiB,SAASC,GAAQT,EAAIM,QAAQG,CAAM,IAAI,CAACP,EAAG,MAAM,CAACQ,YAAY,gBAAgB,CAACR,EAAG,MAAM,CAACQ,YAAY,gBAAgB,CAACR,EAAG,OAAO,CAACQ,YAAY,gBAAgB,CAACV,EAAIW,GAAGX,EAAIY,GAAGZ,EAAIa,cAAcC,mBAAmBZ,EAAG,MAAM,CAACQ,YAAY,kBAAkB,CAACR,EAAG,OAAO,CAACQ,YAAY,gBAAgB,CAACV,EAAIW,GAAG,UAAUT,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,CACAL,eAAA,UACAC,gBAAA,OACAC,WAAA,UACAC,UAAA,UACAC,UAAA,UAEA,OAAAC,EAAAtB,IAAA,SACA,EAGAd,QAAAA,CAAAhE,GACA,KAAAqB,SAAA,CACAiE,QAAA,MAAAtF,QACAH,KAAA,QAEA,EAGAwG,cAAAA,CAAArG,GACA,KAAAqB,SAAA,CACAiE,QAAA,SAAAtF,OACAH,KAAA,WAEA,EAGA4D,cAAAA,CAAAT,GACA,KAAAhD,QAAAgD,EAAAxC,eACA,KAAA9B,cAAAsE,EAAAsD,qBACA,KAAA/B,eAAA,CACA,EAGAb,UAAAA,CAAAV,GACA,KAAAuC,QAAAC,KAAA,0BAAAe,KAAAC,UAAAxD,GACA,EAGAY,eAAAA,CAAA5D,GACA,KAAAuF,QAAAC,KAAA,CACAiB,KAAA,mBAAAzG,GAEA,ICrbiQ,I,UCQ7PwB,GAAY,OACd,EACA5D,EACA8B,GACA,EACA,KACA,WACA,MAIF,EAAe8B,E","sources":["webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue","webpack://shiweisuzhou/src/components/product/LogisticsModal.vue","webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue?0c14","webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue?a972","webpack://shiweisuzhou/./src/views/User/OrderList.vue","webpack://shiweisuzhou/src/views/User/OrderList.vue","webpack://shiweisuzhou/./src/views/User/OrderList.vue?f8b7","webpack://shiweisuzhou/./src/views/User/OrderList.vue?604f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.show)?_c('el-dialog',{attrs:{\"title\":\"物流信息\",\"visible\":_vm.visible,\"width\":\"700px\",\"close-on-click-modal\":false,\"show-close\":true,\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('div',{staticClass:\"express-info\"},[_c('div',{staticClass:\"express-logo\"},[_c('span',{staticClass:\"express-name\"},[_vm._v(_vm._s(_vm.logisticsInfo.express_name))])]),_c('div',{staticClass:\"express-number\"},[_c('span',{staticClass:\"number-label\"},[_vm._v(\"运单号:\")]),_c('span',{staticClass:\"number-value\"},[_vm._v(_vm._s(_vm.logisticsInfo.courier_number))]),_c('el-button',{staticClass:\"copy-btn\",attrs:{\"type\":\"text\"},on:{\"click\":_vm.copyWaybillNumber}},[_vm._v(\" 复制 \")])],1)]),_c('div',{staticClass:\"timeline-container\"},[_c('el-timeline',_vm._l((_vm.logisticsList),function(item,index){return _c('el-timeline-item',{key:index,attrs:{\"timestamp\":item.time,\"color\":index === 0 ? 'orange' : '#8492a6',\"icon\":index === 0 ? 'el-icon-check' : '',\"size\":index === 0 ? 'large' : 'normal'}},[_c('div',{staticClass:\"timeline-content\"},[_c('div',{staticClass:\"timeline-status\",class:{ active: index === 0 }},[_vm._v(\" \"+_vm._s(item.context)+\" \")]),_c('div',{staticClass:\"timeline-desc\"},[_vm._v(_vm._s(item.description))])])])}),1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.handleClose}},[_vm._v(\"关闭\")])],1)]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LogisticsModal.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LogisticsModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LogisticsModal.vue?vue&type=template&id=05881a53&scoped=true\"\nimport script from \"./LogisticsModal.vue?vue&type=script&lang=js\"\nexport * from \"./LogisticsModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./LogisticsModal.vue?vue&type=style&index=0&id=05881a53&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"05881a53\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"filter-bar\"},[_c('el-form',{attrs:{\"inline\":true,\"model\":_vm.filterForm,\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"商品名称\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入商品名称\"},model:{value:(_vm.filterForm.keywords),callback:function ($$v) {_vm.$set(_vm.filterForm, \"keywords\", $$v)},expression:\"filterForm.keywords\"}})],1),_c('el-form-item',{attrs:{\"label\":\"订单编号\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入订单编号\"},model:{value:(_vm.filterForm.order_id),callback:function ($$v) {_vm.$set(_vm.filterForm, \"order_id\", $$v)},expression:\"filterForm.order_id\"}})],1),_c('el-form-item',{attrs:{\"label\":\"下单时间\"}},[_c('el-date-picker',{attrs:{\"type\":\"daterange\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\",\"value-format\":\"yyyy-MM-dd\"},model:{value:(_vm.filterForm.createTime),callback:function ($$v) {_vm.$set(_vm.filterForm, \"createTime\", $$v)},expression:\"filterForm.createTime\"}})],1),_c('el-form-item',{attrs:{\"label\":\"交易状态\"}},[_c('el-select',{staticStyle:{\"width\":\"200px\"},attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.filterForm.state),callback:function ($$v) {_vm.$set(_vm.filterForm, \"state\", $$v)},expression:\"filterForm.state\"}},_vm._l((_vm.typeList),function(item,i){return _c('el-option',{key:i,attrs:{\"label\":item.name,\"value\":item.id}})}),1)],1),_c('el-form-item',[_c('el-button',{staticStyle:{\"background\":\"#6a8a27\",\"border\":\"none\"},attrs:{\"type\":\"primary\"},on:{\"click\":_vm.search}},[_vm._v(\"搜索\")])],1),_c('el-form-item',[_c('el-button',{on:{\"click\":_vm.reset}},[_vm._v(\"重置\")])],1)],1)],1),_c('div',[_vm._m(0),_vm._l((_vm.orders),function(order){return _c('div',{key:order.id,staticClass:\"order-card\"},[_c('div',{staticClass:\"order-header flex-between\"},[_c('div',{staticStyle:{\"display\":\"flex\"}},[_c('div',[_vm._v(\"订单号: \"+_vm._s(order.order_id))]),_c('div',{staticStyle:{\"padding-left\":\"60px\"}},[_vm._v(\" 下单时间:\"+_vm._s(order.create_time)+\" \")])]),_c('div',{staticClass:\"product-status\"},[_c('el-tag',{attrs:{\"type\":_vm.getStatusTagType(order.state),\"size\":\"small\"}},[_vm._v(_vm._s(order.state_text))])],1)]),_c('div',{staticClass:\"order-products\"},_vm._l((order.order_product_list),function(product){return _c('div',{key:product.id,staticClass:\"product-item\"},[_c('img',{staticClass:\"product-image\",attrs:{\"src\":product.product_img}}),_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(product.product_title))]),_c('div',{staticClass:\"product-spec\"},[_vm._v(_vm._s(product.sku_name))])]),_c('div',{staticClass:\"product-price\"},[_vm._v(\" ¥\"+_vm._s((product.product_price / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-quantity\"},[_vm._v(\"x\"+_vm._s(product.product_num))]),_c('div',{staticClass:\"product-total\"},[_vm._v(\" ¥\"+_vm._s((product.paid_money / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-actions\"},[_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoDetail(product)}}},[_vm._v(\" 商品详情\")]),(product.state === 'WAIT_DELIVERY')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.checkLogistics(product)}}},[_vm._v(\"查看物流\")]):_vm._e(),(product.state == 'WAIT_COMMENT')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoReview(product)}}},[_vm._v(\" 去评价\")]):_vm._e()],1)])}),0),_c('div',{staticClass:\"order-footer\"},[_c('div',{staticClass:\"order-summary\"},[_c('div',{staticClass:\"order-amount\"},[_vm._v(\" 合计: \"),_c('strong',[_vm._v(\"¥\"+_vm._s((order.paid_money / 100).toFixed(2)))]),_vm._v(\" (含运费 ¥\"+_vm._s((order.total_post_fee / 100).toFixed(2))+\") \")])]),_c('div',{staticClass:\"order-actions\"},[_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.viewOrderDetail(order.order_id)}}},[_vm._v(\"订单详情\")]),(['WAIT_POST', 'WAIT_USE', 'PAID'].includes(order.state))?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.refund(order.order_id)}}},[_vm._v(\"取消订单\")]):_vm._e(),(['UNPAID'].includes(order.state))?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.closeOrder(order.order_id)}}},[_vm._v(\"关闭订单\")]):_vm._e(),(order.state === 'WAIT_PAYMENT')?_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.payOrder(order.id)}}},[_vm._v(\"去付款\")]):_vm._e()],1)])])}),(_vm.orders.length <= 0)?_c('el-empty',{attrs:{\"description\":\"暂无订单\"}}):_vm._e(),_c('div',{staticStyle:{\"text-align\":\"right\",\"margin-top\":\"20px\"}},[_c('el-pagination',{attrs:{\"current-page\":_vm.filterForm.currentPage,\"page-sizes\":[5, 10, 20],\"page-size\":_vm.filterForm.limit,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.filterForm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1)],2),(_vm.logisticsShow)?_c('LogisticsModal',{attrs:{\"visible\":_vm.logisticsShow,\"orderId\":_vm.orderId,\"logisticsInfo\":_vm.logisticsInfo},on:{\"update:visible\":function($event){_vm.logisticsShow = $event}}}):_vm._e()],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"order-products\",staticStyle:{\"padding\":\"0 20px\",\"background\":\"#f8f9fa\",\"border-top\":\"1px solid #eee\",\"border-bottom\":\"1px solid #eee\",\"margin-bottom\":\"20px\"}},[_c('div',{staticClass:\"product-item\"},[_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(\"商品信息\")])]),_c('div',{staticClass:\"product-price\"},[_vm._v(\"单价(元)\")]),_c('div',{staticClass:\"product-quantity\"},[_vm._v(\"数量\")]),_c('div',{staticClass:\"product-total\"},[_vm._v(\"小计(元)\")]),_c('div',{staticClass:\"product-actions\"})])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderList.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderList.vue?vue&type=template&id=dc03f51c&scoped=true\"\nimport script from \"./OrderList.vue?vue&type=script&lang=js\"\nexport * from \"./OrderList.vue?vue&type=script&lang=js\"\nimport style0 from \"./OrderList.vue?vue&type=style&index=0&id=dc03f51c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"dc03f51c\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","show","attrs","visible","handleClose","on","$event","staticClass","_v","_s","logisticsInfo","express_name","courier_number","copyWaybillNumber","_l","logisticsList","item","index","key","time","class","active","context","description","slot","_e","staticRenderFns","name","props","type","Boolean","default","orderId","String","Object","data","watch","newVal","mounted","post","child_order_id","then","res","methods","input","document","createElement","value","body","appendChild","select","execCommand","removeChild","$message","success","$emit","component","filterForm","model","keywords","callback","$$v","$set","expression","order_id","createTime","staticStyle","state","typeList","i","id","search","reset","_m","orders","order","create_time","getStatusTagType","state_text","order_product_list","product","product_img","product_title","sku_name","product_price","toFixed","product_num","paid_money","gotoDetail","checkLogistics","gotoReview","total_post_fee","viewOrderDetail","includes","refund","closeOrder","payOrder","length","currentPage","limit","total","handleSizeChange","handleCurrentChange","logisticsShow","components","LogisticsModal","activeTab","start_date","end_date","computed","status","$route","query","getList","$confirm","confirmButtonText","cancelButtonText","code","message","$router","push","product_id","offset","list","val","getStatusText","statusMap","pendingPayment","pendingDelivery","delivering","completed","cancelled","typeMap","remindDelivery","order_product_extend","JSON","stringify","path"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/906.f111d15e.js b/dist/js/906.f111d15e.js deleted file mode 100644 index c0e2544..0000000 --- a/dist/js/906.f111d15e.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[906],{5906:function(t,e,i){i.r(e),i.d(e,{default:function(){return d}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[e("div",{staticClass:"filter-bar"},[e("el-form",{attrs:{inline:!0,model:t.filterForm,size:"small"}},[e("el-form-item",{attrs:{label:"商品名称"}},[e("el-input",{attrs:{placeholder:"请输入商品名称"},model:{value:t.filterForm.keywords,callback:function(e){t.$set(t.filterForm,"keywords",e)},expression:"filterForm.keywords"}})],1),e("el-form-item",{attrs:{label:"订单编号"}},[e("el-input",{attrs:{placeholder:"请输入订单编号"},model:{value:t.filterForm.order_id,callback:function(e){t.$set(t.filterForm,"order_id",e)},expression:"filterForm.order_id"}})],1),e("el-form-item",{attrs:{label:"下单时间"}},[e("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd"},model:{value:t.filterForm.createTime,callback:function(e){t.$set(t.filterForm,"createTime",e)},expression:"filterForm.createTime"}})],1),e("el-form-item",{attrs:{label:"交易状态"}},[e("el-select",{staticStyle:{width:"200px"},attrs:{placeholder:"请选择"},model:{value:t.filterForm.state,callback:function(e){t.$set(t.filterForm,"state",e)},expression:"filterForm.state"}},t._l(t.typeList,function(t,i){return e("el-option",{key:i,attrs:{label:t.name,value:t.id}})}),1)],1),e("el-form-item",[e("el-button",{staticStyle:{background:"#6a8a27",border:"none"},attrs:{type:"primary"},on:{click:t.search}},[t._v("搜索")])],1),e("el-form-item",[e("el-button",{on:{click:t.reset}},[t._v("重置")])],1)],1)],1),e("div",[t._m(0),t._l(t.orders,function(i){return e("div",{key:i.id,staticClass:"order-card"},[e("div",{staticClass:"order-header flex-between"},[e("div",{staticStyle:{display:"flex"}},[e("div",[t._v("订单号: "+t._s(i.order_id))]),e("div",{staticStyle:{"padding-left":"60px"}},[t._v(" 下单时间:"+t._s(i.create_time)+" ")])]),e("div",{staticClass:"product-status"},[e("el-tag",{attrs:{type:t.getStatusTagType(i.state),size:"small"}},[t._v(t._s(i.state_text))])],1)]),e("div",{staticClass:"order-products"},t._l(i.order_product_list,function(i){return e("div",{key:i.id,staticClass:"product-item"},[e("img",{staticClass:"product-image",attrs:{src:i.product_img}}),e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v(t._s(i.product_title))]),e("div",{staticClass:"product-spec"},[t._v(t._s(i.sku_name))])]),e("div",{staticClass:"product-price"},[t._v(" ¥"+t._s((i.product_price/100).toFixed(2))+" ")]),e("div",{staticClass:"product-quantity"},[t._v("x"+t._s(i.product_num))]),e("div",{staticClass:"product-total"},[t._v(" ¥"+t._s((i.paid_money/100).toFixed(2))+" ")]),e("div",{staticClass:"product-actions"},[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoDetail(i)}}},[t._v(" 商品详情")]),"WAIT_COMMENT"==i.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoReview(i)}}},[t._v(" 去评价")]):t._e()],1)])}),0),e("div",{staticClass:"order-footer"},[e("div",{staticClass:"order-summary"},[e("div",{staticClass:"order-amount"},[t._v(" 合计: "),e("strong",[t._v("¥"+t._s((i.paid_money/100).toFixed(2)))]),t._v(" (含运费 ¥"+t._s((i.total_post_fee/100).toFixed(2))+") ")])]),e("div",{staticClass:"order-actions"},[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.viewOrderDetail(i.order_id)}}},[t._v("订单详情")]),["WAIT_POST","WAIT_USE","PAID"].includes(i.state)?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.refund(i.order_id)}}},[t._v("取消订单")]):t._e(),["UNPAID"].includes(i.state)?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.closeOrder(i.order_id)}}},[t._v("关闭订单")]):t._e(),"WAIT_PAYMENT"===i.state?e("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.payOrder(i.id)}}},[t._v("去付款")]):t._e(),"WAIT_DELIVERY"===i.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.checkLogistics(i.id)}}},[t._v("查看物流")]):t._e()],1)])])}),t.orders.length<=0?e("el-empty",{attrs:{description:"暂无订单"}}):t._e(),e("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[e("el-pagination",{attrs:{"current-page":t.filterForm.currentPage,"page-sizes":[5,10,20],"page-size":t.filterForm.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.filterForm.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],2)])},s=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"order-products",staticStyle:{padding:"0 20px",background:"#f8f9fa","border-top":"1px solid #eee","border-bottom":"1px solid #eee","margin-bottom":"20px"}},[e("div",{staticClass:"product-item"},[e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v("商品信息")])]),e("div",{staticClass:"product-price"},[t._v("单价(元)")]),e("div",{staticClass:"product-quantity"},[t._v("数量")]),e("div",{staticClass:"product-total"},[t._v("小计(元)")]),e("div",{staticClass:"product-actions"})])])}],a=(i(4114),{name:"OrderList",data(){return{activeTab:"ALL",filterForm:{keywords:"",currentPage:1,limit:10,order_id:"",createTime:[],start_date:"",end_date:"",total:1,state:""},typeList:[{name:"全部",id:""},{name:"待付款",id:"WAIT_PAYMENT"},{name:"已支付",id:"PAID"},{name:"待发货",id:"WAIT_POST"},{name:"待收货",id:"WAIT_DELIVERY"},{name:"退款/售后",id:"NEED_REFUND"},{name:"待评价",id:"WAIT_COMMENT"},{name:"已关闭",id:"CLOSED"},{name:"已完成",id:"COMPLETED"}],orders:[]}},computed:{},mounted(){const t=this.$route.query.status;t&&(this.filterForm.state=t),this.getList()},methods:{closeOrder(t){this.$confirm("是否关闭订单?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({order_id:t},"/api/order/close").then(t=>{1==t.code&&(this.getList(),this.$message({type:"success",message:"订单关闭成功!"}))})})},refund(t){this.$confirm("是否取消订单?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({order_id:t},"/api/order/refund").then(t=>{1==t.code&&(this.getList(),this.$message({type:"success",message:"订单取消成功!"}))})})},gotoDetail(t){this.$router.push("/Detail/"+t.product_id)},getList(){this.filterForm.start_date=this.filterForm.createTime[0],this.filterForm.end_date=this.filterForm.createTime[1],this.post({...this.filterForm,offset:(this.filterForm.currentPage-1)*this.filterForm.limit},"/api/order/list").then(t=>{this.orders=t.data.list,this.filterForm.total=t.data.total})},search(){this.filterForm.currentPage=1,this.getList()},reset(){this.filterForm={keywords:"",currentPage:1,limit:10,order_id:"",createTime:[],start_date:"",end_date:"",total:1},this.getList()},handleSizeChange(t){this.filterForm.limit=t,this.filterForm.currentPage=1,this.getList()},handleCurrentChange(t){this.filterForm.currentPage=t,this.getList()},getStatusText(t){const e={pendingPayment:"待付款",pendingDelivery:"待发货",delivering:"配送中",completed:"已完成",cancelled:"已取消"};return e[t]||t},getStatusTagType(t){const e={pendingPayment:"warning",pendingDelivery:"info",delivering:"primary",completed:"success",cancelled:"danger"};return e[t]||"default"},payOrder(t){this.$message({message:`订单 ${t} 去付款`,type:"info"})},remindDelivery(t){this.$message({message:`已提醒订单 ${t} 发货`,type:"success"})},checkLogistics(t){this.$message({message:`查看订单 ${t} 物流`,type:"info"})},gotoReview(t){this.$router.push("/ProductReview?product="+JSON.stringify(t))},viewOrderDetail(t){this.$router.push({path:"/OrderDetail?id="+t})}}}),o=a,l=i(1656),n=(0,l.A)(o,r,s,!1,null,"b4aad32e",null),d=n.exports}}]); -//# sourceMappingURL=906.f111d15e.js.map \ No newline at end of file diff --git a/dist/js/906.f111d15e.js.map b/dist/js/906.f111d15e.js.map deleted file mode 100644 index a255f0d..0000000 --- a/dist/js/906.f111d15e.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/906.f111d15e.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,UAAU,CAACG,MAAM,CAAC,QAAS,EAAK,MAAQL,EAAIM,WAAW,KAAO,UAAU,CAACJ,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,SAAS,CAACH,EAAG,WAAW,CAACG,MAAM,CAAC,YAAc,WAAWE,MAAM,CAACC,MAAOR,EAAIM,WAAWG,SAAUC,SAAS,SAAU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ACAC,UAAA,OAEA,OAAAL,EAAAtB,IAAAA,CACA,EAGAnC,gBAAAA,CAAAmC,GACA,MAAA4B,EAAA,CACAL,eAAA,UACAC,gBAAA,OACAC,WAAA,UACAC,UAAA,UACAC,UAAA,UAEA,OAAAC,EAAA5B,IAAA,SACA,EAGAf,QAAAA,CAAA4C,GACA,KAAAhB,SAAA,CACAC,QAAA,MAAAe,QACArB,KAAA,QAEA,EAGAsB,cAAAA,CAAAD,GACA,KAAAhB,SAAA,CACAC,QAAA,SAAAe,OACArB,KAAA,WAEA,EAGAtB,cAAAA,CAAA2C,GACA,KAAAhB,SAAA,CACAC,QAAA,QAAAe,OACArB,KAAA,QAEA,EAGA9B,UAAAA,CAAAV,GACA,KAAA+C,QAAAC,KAAA,0BAAAe,KAAAC,UAAAhE,GACA,EAGAa,eAAAA,CAAAgD,GACA,KAAAd,QAAAC,KAAA,CACAiB,KAAA,mBAAAJ,GAEA,KCraiQ,I,UCQ7PK,GAAY,OACd,EACAxG,EACA+D,GACA,EACA,KACA,WACA,MAIF,EAAeyC,E","sources":["webpack://shiweisuzhou/./src/views/User/OrderList.vue","webpack://shiweisuzhou/src/views/User/OrderList.vue","webpack://shiweisuzhou/./src/views/User/OrderList.vue?f8b7","webpack://shiweisuzhou/./src/views/User/OrderList.vue?604f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"filter-bar\"},[_c('el-form',{attrs:{\"inline\":true,\"model\":_vm.filterForm,\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"商品名称\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入商品名称\"},model:{value:(_vm.filterForm.keywords),callback:function ($$v) {_vm.$set(_vm.filterForm, \"keywords\", $$v)},expression:\"filterForm.keywords\"}})],1),_c('el-form-item',{attrs:{\"label\":\"订单编号\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入订单编号\"},model:{value:(_vm.filterForm.order_id),callback:function ($$v) {_vm.$set(_vm.filterForm, \"order_id\", $$v)},expression:\"filterForm.order_id\"}})],1),_c('el-form-item',{attrs:{\"label\":\"下单时间\"}},[_c('el-date-picker',{attrs:{\"type\":\"daterange\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\",\"value-format\":\"yyyy-MM-dd\"},model:{value:(_vm.filterForm.createTime),callback:function ($$v) {_vm.$set(_vm.filterForm, \"createTime\", $$v)},expression:\"filterForm.createTime\"}})],1),_c('el-form-item',{attrs:{\"label\":\"交易状态\"}},[_c('el-select',{staticStyle:{\"width\":\"200px\"},attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.filterForm.state),callback:function ($$v) {_vm.$set(_vm.filterForm, \"state\", $$v)},expression:\"filterForm.state\"}},_vm._l((_vm.typeList),function(item,i){return _c('el-option',{key:i,attrs:{\"label\":item.name,\"value\":item.id}})}),1)],1),_c('el-form-item',[_c('el-button',{staticStyle:{\"background\":\"#6a8a27\",\"border\":\"none\"},attrs:{\"type\":\"primary\"},on:{\"click\":_vm.search}},[_vm._v(\"搜索\")])],1),_c('el-form-item',[_c('el-button',{on:{\"click\":_vm.reset}},[_vm._v(\"重置\")])],1)],1)],1),_c('div',[_vm._m(0),_vm._l((_vm.orders),function(order){return _c('div',{key:order.id,staticClass:\"order-card\"},[_c('div',{staticClass:\"order-header flex-between\"},[_c('div',{staticStyle:{\"display\":\"flex\"}},[_c('div',[_vm._v(\"订单号: \"+_vm._s(order.order_id))]),_c('div',{staticStyle:{\"padding-left\":\"60px\"}},[_vm._v(\" 下单时间:\"+_vm._s(order.create_time)+\" \")])]),_c('div',{staticClass:\"product-status\"},[_c('el-tag',{attrs:{\"type\":_vm.getStatusTagType(order.state),\"size\":\"small\"}},[_vm._v(_vm._s(order.state_text))])],1)]),_c('div',{staticClass:\"order-products\"},_vm._l((order.order_product_list),function(product){return _c('div',{key:product.id,staticClass:\"product-item\"},[_c('img',{staticClass:\"product-image\",attrs:{\"src\":product.product_img}}),_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(product.product_title))]),_c('div',{staticClass:\"product-spec\"},[_vm._v(_vm._s(product.sku_name))])]),_c('div',{staticClass:\"product-price\"},[_vm._v(\" ¥\"+_vm._s((product.product_price / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-quantity\"},[_vm._v(\"x\"+_vm._s(product.product_num))]),_c('div',{staticClass:\"product-total\"},[_vm._v(\" ¥\"+_vm._s((product.paid_money / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-actions\"},[_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoDetail(product)}}},[_vm._v(\" 商品详情\")]),(product.state == 'WAIT_COMMENT')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoReview(product)}}},[_vm._v(\" 去评价\")]):_vm._e()],1)])}),0),_c('div',{staticClass:\"order-footer\"},[_c('div',{staticClass:\"order-summary\"},[_c('div',{staticClass:\"order-amount\"},[_vm._v(\" 合计: \"),_c('strong',[_vm._v(\"¥\"+_vm._s((order.paid_money / 100).toFixed(2)))]),_vm._v(\" (含运费 ¥\"+_vm._s((order.total_post_fee / 100).toFixed(2))+\") \")])]),_c('div',{staticClass:\"order-actions\"},[_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.viewOrderDetail(order.order_id)}}},[_vm._v(\"订单详情\")]),(['WAIT_POST', 'WAIT_USE', 'PAID'].includes(order.state))?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.refund(order.order_id)}}},[_vm._v(\"取消订单\")]):_vm._e(),(['UNPAID'].includes(order.state))?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.closeOrder(order.order_id)}}},[_vm._v(\"关闭订单\")]):_vm._e(),(order.state === 'WAIT_PAYMENT')?_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.payOrder(order.id)}}},[_vm._v(\"去付款\")]):_vm._e(),(order.state === 'WAIT_DELIVERY')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.checkLogistics(order.id)}}},[_vm._v(\"查看物流\")]):_vm._e()],1)])])}),(_vm.orders.length <= 0)?_c('el-empty',{attrs:{\"description\":\"暂无订单\"}}):_vm._e(),_c('div',{staticStyle:{\"text-align\":\"right\",\"margin-top\":\"20px\"}},[_c('el-pagination',{attrs:{\"current-page\":_vm.filterForm.currentPage,\"page-sizes\":[5, 10, 20],\"page-size\":_vm.filterForm.limit,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.filterForm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1)],2)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"order-products\",staticStyle:{\"padding\":\"0 20px\",\"background\":\"#f8f9fa\",\"border-top\":\"1px solid #eee\",\"border-bottom\":\"1px solid #eee\",\"margin-bottom\":\"20px\"}},[_c('div',{staticClass:\"product-item\"},[_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(\"商品信息\")])]),_c('div',{staticClass:\"product-price\"},[_vm._v(\"单价(元)\")]),_c('div',{staticClass:\"product-quantity\"},[_vm._v(\"数量\")]),_c('div',{staticClass:\"product-total\"},[_vm._v(\"小计(元)\")]),_c('div',{staticClass:\"product-actions\"})])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderList.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderList.vue?vue&type=template&id=b4aad32e&scoped=true\"\nimport script from \"./OrderList.vue?vue&type=script&lang=js\"\nexport * from \"./OrderList.vue?vue&type=script&lang=js\"\nimport style0 from \"./OrderList.vue?vue&type=style&index=0&id=b4aad32e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b4aad32e\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","filterForm","model","value","keywords","callback","$$v","$set","expression","order_id","createTime","staticStyle","state","_l","typeList","item","i","key","name","id","on","search","_v","reset","_m","orders","order","_s","create_time","getStatusTagType","state_text","order_product_list","product","product_img","product_title","sku_name","product_price","toFixed","product_num","paid_money","$event","gotoDetail","gotoReview","_e","total_post_fee","viewOrderDetail","includes","refund","closeOrder","payOrder","checkLogistics","length","currentPage","limit","total","handleSizeChange","handleCurrentChange","staticRenderFns","data","activeTab","start_date","end_date","computed","mounted","status","$route","query","getList","methods","$confirm","confirmButtonText","cancelButtonText","type","then","post","res","code","$message","message","$router","push","product_id","offset","list","val","getStatusText","statusMap","pendingPayment","pendingDelivery","delivering","completed","cancelled","typeMap","orderId","remindDelivery","JSON","stringify","path","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/app.cf4d2948.js b/dist/js/app.a5d22e80.js similarity index 55% rename from dist/js/app.cf4d2948.js rename to dist/js/app.a5d22e80.js index c716f05..0f13f8b 100644 --- a/dist/js/app.cf4d2948.js +++ b/dist/js/app.a5d22e80.js @@ -1,2 +1,2 @@ -(function(){"use strict";var e={3153:function(e,t,n){e.exports=n.p+"img/logo.bb511aff.png"},7421:function(e,t,n){n(4114);var o=n(6674),r=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},["Register"!==e.$route.name?t("HeaderNav"):e._e(),"Login"!==e.$route.name?t("main",{staticClass:"main-container"},[t("router-view")],1):e._e(),"Login"==e.$route.name?t("main",{staticClass:"main-containers"},[t("router-view")],1):e._e(),"Register"!==e.$route.name?t("Sidebar"):e._e(),"Register"!==e.$route.name?t("Footer"):e._e()],1)},a=[],i=function(){var e=this,t=e._self._c;return t("header",{staticClass:"header-nav"},[t("div",{staticClass:"top-notice"},[t("div",{staticClass:"container"},[t("p",[e._v(" 欢迎来到时味苏州平台! "),e._e()],1),t("div",{staticClass:"top-links"},[e.isLogin?t("router-link",{staticClass:"user-link",attrs:{to:"/User"}},[t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.userInfo.avatar,expression:"userInfo.avatar"}],staticClass:"avatar",attrs:{alt:"用户头像"}}),e._v(" "+e._s(e.userInfo.username)+" ")]):t("router-link",{attrs:{to:"/Login"}},[e._v("登录")]),e._e(),e._e(),t("router-link",{attrs:{to:"/User"}},[e._v("采购人中心")]),t("router-link",{staticClass:"cart-link",attrs:{to:"/User/ShoppingCart"}},[e._v(" 购物车"),e.cartTotalCount>0?t("span",[e._v("("+e._s(e.cartTotalCount)+"件)")]):e._e()]),e.isLogin?t("router-link",{attrs:{to:"/User/OrderList"}},[e._v("我的订单")]):e._e(),e.isLogin?t("div",{staticClass:"logout-btn",on:{click:e.handleLogout}},[e._v(" 退出 ")]):e._e()],1)])]),t("div",{staticClass:"main-nav"},[t("div",{staticClass:"container"},[t("div",{staticClass:"logo"},[t("router-link",{attrs:{to:"/"}},[t("img",{staticClass:"logo-img",attrs:{src:"https://static.ticket.sz-trip.com/shiweisuzhou/pc/logo.png",alt:"logo"},on:{click:function(t){e.searchText=""}}})])],1),t("div",{staticClass:"search-box"},[t("el-input",{staticClass:"search-input",attrs:{placeholder:"请输入搜索内容"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleSearch.apply(null,arguments)}},model:{value:e.searchText,callback:function(t){e.searchText=t},expression:"searchText"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.handleSearch},slot:"append"})],1),e.hotList.length>0?t("div",{staticClass:"hot-tags"},[t("span",[e._v("热门搜索:")]),e._l(e.hotList,function(n,o){return t("div",{key:o,staticClass:"hot-tag",on:{click:function(t){e.searchText=n.name,e.handleSearch()}}},[e._v(" "+e._s(n.name)+" ")])})],2):e._e()],1),t("div",{staticClass:"phone-entry"},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("img",{staticStyle:{"margin-right":"5px"},attrs:{src:"https://static.ticket.sz-trip.com/shiweisuzhou/pc/login/phone.png",alt:"联系电话"}}),t("span",[e._v("0512-680541")]),(e.cartTotalCount,e._e())])])])]),e.categories.length>0?t("div",{staticClass:"category-nav"},[t("div",{staticClass:"container"},[e._e()])]):e._e()])},s=[],c=n(3518),l={name:"HeaderNav",data(){return{searchText:"",hotList:[]}},computed:{...(0,c.L8)(["getCategories","getCartTotalCount","isUserLogin","getUserInfo"]),categories(){return this.getCategories||[]},cartTotalCount(){return this.getCartTotalCount||0},isLogin(){return this.isUserLogin},userInfo(){return this.getUserInfo||{}}},created(){this.fetchCategories(),this.post({offset:0,limit:5},"/api/search/hot").then(e=>{this.hotList=e.data})},methods:{...(0,c.i0)(["fetchCategories","logout"]),handleSearch(){this.searchText.trim()&&(this.$store.commit("setSearchText",this.searchText),"/ProductList"===this.$route.path||this.$router.push({path:"/ProductList",query:{keyword:this.searchText,type:"search"}}))},handleLogout(){this.$confirm("确定要退出登录吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.logout().then(()=>{this.$message.success("退出登录成功"),localStorage.setItem("redirectPath",this.$route.path),this.$router.push("/Login")}).catch(e=>{this.$message.error("退出失败:"+(e.message||"未知错误"))})}).catch(()=>{})}}},u=l,d=n(1656),p=(0,d.A)(u,i,s,!1,null,"4f75d8c8",null),h=p.exports,m=function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-container"},[t("div",{staticClass:"footer-top"},[e._l(e.nonQrcodeColumns,function(n,o){return t("div",{key:n.id,staticClass:"footer-column"},[t("h3",[e._v(e._s(n.title))]),t("ul",e._l(n.list,function(n,r){return t("li",{key:r,style:{cursor:o<4?"pointer":""},on:{click:function(t){o<4&&e.gotoDetail(n)}}},[e._v(" "+e._s(n.title)+" ")])}),0)])}),t("div",{staticClass:"qrcode-group"},e._l(e.qrcodeColumn.list,function(n,o){return t("div",{key:o,staticClass:"qrcode-item"},[t("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:e.util.showImg(n.image)}}),t("p",[e._v(e._s(n.title))])])}),0)],2),e._m(0)])},f=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-bottom"},[t("p",[e._v("版权所有 苏州市特色农产品发展有限公司 | 苏ICP备2023023300号-1")]),t("p",[e._v("本网站由 江苏大运远见文化科技发展有限公司 运营维护")])])}],g=(n(8111),n(2489),n(116),n(7588),{name:"Footer",data(){return{list:[{id:1,title:"关于我们",list:[]},{id:2,title:"新手上路",list:[]},{id:5,title:"交易流程",list:[]},{id:3,title:"常见问题",list:[]},{id:6,title:"联系方式",list:[]},{id:4,title:"二维码推荐",list:[]}]}},computed:{nonQrcodeColumns(){return this.list.filter(e=>"二维码推荐"!==e.title)},qrcodeColumn(){return this.list.find(e=>"二维码推荐"===e.title)||{list:[]}}},mounted(){this.list.forEach(e=>{this.get({type_id:e.id},"/api/navigation/getNavigationByTypeList").then(t=>{e.list=t.data})})},methods:{gotoDetail(e){e.link_url?window.location.href=e.link_url:this.$router.push(`/NoticeDetail?type=footer&id=${e.id}`)}}}),v=g,b=(0,d.A)(v,m,f,!1,null,"3080ae3e",null),C=b.exports,y=function(){var e=this,t=e._self._c;return t("div",{staticClass:"sidebar-container"},[t("div",{staticClass:"sidebar-item",on:{click:e.handleCartClick}},[t("el-badge",{staticClass:"item-badge",attrs:{value:e.$store.getters.getCartTotalCount}},[t("i",{staticClass:"el-icon-shopping-cart-full"})]),t("div",{staticClass:"item-text"},[e._v("购物车")])],1),t("div",{staticClass:"sidebar-item",on:{click:e.handleServiceClick}},[t("i",{staticClass:"el-icon-headset"}),t("div",{staticClass:"item-text"},[e._v("在线客服")])]),t("div",{staticClass:"sidebar-item back-to-top",class:{active:e.isShowBackTop},on:{click:e.handleBackToTop}},[t("i",{staticClass:"el-icon-caret-top"}),t("div",{staticClass:"item-text"},[e._v("回到顶部")])])])},k=[],T=n(5131);o["default"].use(c.Ay);var w=new c.Ay.Store({plugins:[(0,T.A)({storage:window.localStorage,reducer(e){return{cart:e.cart,user:e.user}}})],state:{cart:{items:[],totalCount:0,totalPrice:0},user:{isLogin:!1,info:null,token:""},categories:[],loading:!1,searchText:"",orderData:null},mutations:{setOrderData(e,t){e.orderData=t},clearOrderData(e){e.orderData=null},UPDATE_CATEGORIES(e,t){e.categories=t},UPDATE_LOADING(e,t){e.loading=t},USER_LOGIN(e,{userInfo:t,token:n}){e.user.isLogin=!0,e.user.info=t,e.user.token=n,localStorage.setItem("token",n)},USER_LOGOUT(e){e.user.isLogin=!1,e.user.info=null,e.user.token="",localStorage.removeItem("token"),e.cart.totalCount=0},UPDATE_CART_TOTAL_COUNT(e,t){e.cart.totalCount=t},setSearchText(e,t){e.searchText=t}},actions:{submitOrderData({commit:e},t){e("setOrderData",t)},fetchCategories({commit:e}){return e("UPDATE_LOADING",!0),new Promise(t=>{setTimeout(()=>{const n=[{id:1,name:"电子产品",icon:"el-icon-laptop"},{id:2,name:"服装鞋帽",icon:"el-icon-shopping-bag-1"},{id:3,name:"家居用品",icon:"el-icon-home"},{id:4,name:"美妆个护",icon:"el-icon-present"},{id:5,name:"食品饮料",icon:"el-icon-dish"},{id:6,name:"图书音像",icon:"el-icon-document"}];e("UPDATE_CATEGORIES",n),e("UPDATE_LOADING",!1),t(n)},500)})},login({commit:e,dispatch:t},{userInfo:n,token:o}){e("USER_LOGIN",{userInfo:n,token:o}),t("fetchCartCount")},logout({commit:e}){e("USER_LOGOUT")},addToCart({dispatch:e},t){return o["default"].prototype.post({sku_id:t.id,num:t.quantity||1},"/api/cart/add_sku").then(t=>{if(t)return o["default"].prototype.$message.success("购物车添加成功!"),e("fetchCartCount")}).catch(e=>{throw console.error("添加到购物车请求失败",e),e})},fetchCartCount({commit:e,state:t}){return t.user.token?o["default"].prototype.post({},"/api/cart/get_count").then(t=>(console.log("购物车数量接口返回",t),1==t.code&&e("UPDATE_CART_TOTAL_COUNT",t.data),t.data)).catch(e=>{throw console.error("获取购物车数量失败",e),e}):(e("UPDATE_CART_TOTAL_COUNT",0),Promise.resolve(0))},removeFromCart({dispatch:e},t){return o["default"].prototype.post({sku_id:t},"/api/cart/remove_sku").then(()=>e("fetchCartCount")).catch(e=>{throw console.error("删除购物车商品失败",e),e})},updateCartItemQuantity({dispatch:e},{productId:t,quantity:n}){return o["default"].prototype.post({sku_id:t,num:n},"/api/cart/add_sku").then(()=>e("fetchCartCount")).catch(e=>{throw console.error("更新购物车商品数量失败",e),e})},clearCart({dispatch:e}){return o["default"].prototype.post({},"/api/cart/clear").then(()=>e("fetchCartCount")).catch(e=>{throw console.error("清空购物车失败",e),e})}},getters:{getOrderData:e=>e.orderData,getCategories:e=>e.categories,getCart:e=>e.cart,getCartTotalCount:e=>e.cart.totalCount,isUserLogin:e=>e.user.isLogin,getUserInfo:e=>e.user.info,getLoadingStatus:e=>e.loading,getSearchText:e=>e.searchText}}),_={name:"Sidebar",data(){return{cartCount:0,isShowBackTop:!1,scrollTimer:null}},computed:{...(0,c.L8)(["getCartTotalCount"])},mounted(){window.addEventListener("scroll",this.handleScroll),this.$store.dispatch("fetchCartCount")},beforeDestroy(){window.removeEventListener("scroll",this.handleScroll),this.scrollTimer&&clearTimeout(this.scrollTimer)},methods:{handleCartClick(){this.$router.push("/User/ShoppingCart")},handleServiceClick(){const e=w.state.user?.info?.token||"";window.location.href="https://swsz.api.js-dyyj.com/kefu?token="+e},handleBackToTop(){window.scrollTo({top:0,behavior:"smooth"})},handleScroll(){this.scrollTimer&&clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(()=>{this.isShowBackTop=window.pageYOffset>300},200)}}},A=_,L=(0,d.A)(A,y,k,!1,null,"1a8585cf",null),x=L.exports,O=function(){var e=this,t=e._self._c;return e.showBackToTop?t("div",{staticClass:"back-to-top",on:{click:e.scrollToTop}},[t("el-icon",{attrs:{name:"el-icon-arrow-up"}})],1):e._e()},S=[],U={name:"BackToTop",data(){return{showBackToTop:!1}},mounted(){window.addEventListener("scroll",this.handleScroll)},beforeDestroy(){window.removeEventListener("scroll",this.handleScroll)},methods:{handleScroll(){this.showBackToTop=window.pageYOffset>500},scrollToTop(){const e=window.setInterval(()=>{const t=window.pageYOffset;t>0?window.scrollTo(0,t-Math.max(20,t/10)):window.clearInterval(e)},16)}}},P=U,E=(0,d.A)(P,O,S,!1,null,"7ea6dee0",null),I=E.exports,D={name:"App",components:{HeaderNav:h,Footer:C,BackToTop:I,Sidebar:x},computed:{...(0,c.L8)(["getLoadingStatus"]),loading(){return this.getLoadingStatus}}},$=D,B=(0,d.A)($,r,a,!1,null,null,null),R=B.exports,N=n(6178);o["default"].use(N.Ay);const z=N.Ay.prototype.push;N.Ay.prototype.push=function(e){return z.call(this,e).catch(e=>{if("NavigationDuplicated"!==e.name)throw e})};const j=new N.Ay({mode:"history",base:"/",routes:[{path:"/",name:"Index",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>n.e(750).then(n.bind(n,750))},{path:"/Login",name:"Login",meta:{title:"登录 - 精品商城",keepAlive:!1},component:()=>n.e(700).then(n.bind(n,1700))},{path:"/Register",name:"Register",meta:{title:"注册 - 精品商城",keepAlive:!1},component:()=>n.e(29).then(n.bind(n,3029))},{path:"/Home",name:"Home",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>n.e(828).then(n.bind(n,9828))},{path:"/Detail/:id",name:"Detail",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>n.e(229).then(n.bind(n,9610))},{path:"/ProductList",name:"ProductList",meta:{title:"商品列表",keepAlive:!1},component:()=>n.e(220).then(n.bind(n,6220))},{path:"/ProductReview",name:"ProductReview",meta:{title:"商品评价",keepAlive:!1},component:()=>n.e(856).then(n.bind(n,856))},{path:"/NoticeList",name:"NoticeList",meta:{title:"公告列表",keepAlive:!1},component:()=>n.e(601).then(n.bind(n,6601))},{path:"/NoticeDetail",name:"NoticeDetail",meta:{title:"公告详情",keepAlive:!1},component:()=>n.e(989).then(n.bind(n,3989))},{path:"/User",name:"User",component:()=>n.e(462).then(n.bind(n,462)),redirect:"/User/UserCenter",children:[{path:"UserCenter",name:"UserCenter",component:()=>n.e(625).then(n.bind(n,6625))},{path:"OrderList",name:"OrderList",meta:{title:"我的订单 - 精品商城",keepAlive:!1},component:()=>n.e(906).then(n.bind(n,5906))},{path:"UserInfo",name:"UserInfo",meta:{title:"个人信息 - 精品商城",keepAlive:!1},component:()=>n.e(441).then(n.bind(n,441))},{path:"ViewHistory",name:"ViewHistory",meta:{title:"我的足迹 - 精品商城",keepAlive:!1},component:()=>n.e(33).then(n.bind(n,4033))},{path:"UserAddress",name:"UserAddress",meta:{title:"我的收货地址 - 精品商城",keepAlive:!1},component:()=>n.e(208).then(n.bind(n,5208))},{path:"UserInvoice",name:"UserInvoice",meta:{title:"发票抬头 - 精品商城",keepAlive:!1},component:()=>n.e(612).then(n.bind(n,9231))},{path:"UserInvoiceList",name:"UserInvoiceList",meta:{title:"我的发票 - 精品商城",keepAlive:!1},component:()=>n.e(309).then(n.bind(n,4309))},{path:"ShoppingCart",name:"ShoppingCart",meta:{title:"购物车 - 精品商城",keepAlive:!1},component:()=>n.e(630).then(n.bind(n,2630))},{path:"CommentManage",name:"CommentManage",meta:{title:"评价管理 - 精品商城",keepAlive:!1},component:()=>n.e(839).then(n.bind(n,4839))},{path:"ContractList",name:"ContractList",meta:{title:"合同管理 - 精品商城",keepAlive:!1},component:()=>n.e(15).then(n.bind(n,7015))},{path:"MessageList",name:"MessageList",meta:{title:"消息中心 - 精品商城",keepAlive:!1},component:()=>n.e(838).then(n.bind(n,7838))},{path:"PurchaserAdd",name:"PurchaserAdd",meta:{title:"添加采购单位信息 - 精品商城",keepAlive:!1},component:()=>n.e(995).then(n.bind(n,6995))}]},{path:"/Order",name:"Order",meta:{title:"下单",keepAlive:!1},component:()=>n.e(511).then(n.bind(n,2511))},{path:"/OrderDetail",name:"OrderDetail",meta:{title:"订单详情 - 精品商城",keepAlive:!1},component:()=>n.e(610).then(n.bind(n,6610))},{path:"/OrderPay",name:"OrderPay",meta:{title:"订单支付 - 精品商城",keepAlive:!1},component:()=>n.e(677).then(n.bind(n,3677))},{path:"/OrderPayB2B",name:"OrderPayB2B",meta:{title:"订单支付 - 精品商城",keepAlive:!1},component:()=>n.e(452).then(n.bind(n,1452))},{path:"/OrderPayCode",name:"OrderPayCode",meta:{title:"订单支付 - 精品商城",keepAlive:!1},component:()=>n.e(244).then(n.bind(n,244))},{path:"/OrderPaySuccess",name:"OrderPaySuccess",meta:{title:"订单支付 - 精品商城",keepAlive:!1},component:()=>n.e(169).then(n.bind(n,7169))}],scrollBehavior(e,t,n){return{x:0,y:0}}});j.beforeEach((e,t,n)=>{if(e.meta.title&&(document.title=e.meta.title),e.meta.requireAuth){const t=w.state.user?.info?.token||"";t?n():n({path:"/Login",query:{redirect:e.fullPath}})}else n()});var q=j,M=n(9143),F=n.n(M),G=n(5847),V=n(4373);const H=V.A.create({timeout:6e3});H.interceptors.request.use(e=>{const{customBaseURL:t}=e.params||e.data||{};t?(e.baseURL=t,e.params?delete e.params.customBaseURL:e.data&&delete e.data.customBaseURL):e.baseURL="https://swsz.api.js-dyyj.com";const n=w.state.user?.info?.token||"";return e.headers["token"]=n||"",e.headers["Content-Type"]="application/json;charset=UTF-8","get"===e.method?.toLowerCase()?e.params={platform_type:2,...e.params}:e.data={platform_type:2,...e.data},!1!==e.loading&&(e.loadingInstance=M.Loading.service({lock:!0,text:"加载中...",background:"rgba(0, 0, 0, 0.7)"})),e},e=>Promise.reject(e)),H.interceptors.response.use(e=>{if(e.config.loadingInstance&&e.config.loadingInstance.close(),200!==e.status&&1!==e.status){const t=`请求失败,状态码:${e.status}`;return M.MessageBox.alert(t,"错误提示",{confirmButtonText:"确定",type:"error"}),Promise.reject(new Error(t))}{const t=e.data;if(1===t.code||200===t.code)return t;{const e=t.msg||`业务处理失败,错误码:${t.code}`;M.MessageBox.alert(e,"错误提示",{confirmButtonText:"确定",type:"error"}).then(()=>{if(401===t.code){const e=q.currentRoute.fullPath;"/Login"!==e&&localStorage.setItem("redirectPath",e),q.push("/Login")}}).catch(()=>{})}}},e=>{if(e.config&&e.config.loadingInstance&&e.config.loadingInstance.close(),e.response&&e.response.status)switch(e.response.status){case 401:M.MessageBox.confirm("请登录后操作","提示",{confirmButtonText:"去登录",cancelButtonText:"取消",type:"warning"}).then(()=>{q.push("/Login")}).catch(()=>{});break;case 404:(0,M.Message)({message:"网络繁忙,请刷新再试",type:"error",duration:2e3});break;default:(0,M.Message)({message:"网络繁忙,请刷新再试",type:"error",duration:2e3});break}return Promise.reject(e)}),o["default"].prototype.get=(e,t,n=!1)=>new Promise((o,r)=>{H.get(t,{params:e,loading:n}).then(e=>{o(e)}).catch(e=>{r(e)})}),o["default"].prototype.post=(e,t,n=!1)=>new Promise((o,r)=>{H.post(t,e,{loading:n}).then(e=>{o(e)}).catch(e=>{r(e)})});var Z={install(e){e.prototype.util={formateRichText(e){if(!e)return"";var t=new RegExp("'),t=new RegExp("section","g"),e=e.replace(t,"div"),t=new RegExp("↵","g"),e=e.replace(t,"
"),e=e.replace(/{t.onload=()=>{e(t.result)}})},copyId(t){const n=document.createElement("input");n.value=t,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),e.prototype.$message({message:"复制成功",type:"success"})}}}};o["default"].use(Z),o["default"].config.productionTip=!1,o["default"].use(F()),o["default"].use(G.A,{preLoad:1.3,error:n(3153),loading:n(3153),attempt:3,listenEvents:["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],adapter:{loaded({bindType:e,el:t,naturalHeight:n,naturalWidth:o,$parent:r,src:a,loading:i,error:s,Init:c}){console.log("图片加载完成:",a)},error({bindType:e,el:t,error:n,$parent:o,src:r,loading:a}){console.log("图片加载失败:",r)}}}),o["default"].prototype.gotoPath=function(e,t={}){const n=this.$router.currentRoute.fullPath;if(e!==n)try{"string"===typeof e?this.$router.push({path:e,query:t.query||{}}):"object"===typeof e&&this.$router.push(e),"function"===typeof t.success&&t.success()}catch(o){console.error("路由跳转失败:",o),"function"===typeof t.fail&&t.fail(o)}},new o["default"]({el:"#app",router:q,store:w,components:{App:R},template:""})}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={id:o,loaded:!1,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.m=e,function(){n.amdO={}}(),function(){var e=[];n.O=function(t,o,r,a){if(!o){var i=1/0;for(u=0;u=a)&&Object.keys(n.O).every(function(e){return n.O[e](o[c])})?o.splice(c--,1):(s=!1,a0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[o,r,a]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce(function(t,o){return n.f[o](e,t),t},[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{15:"4bb1e723",29:"2ece41d9",33:"ca85dca8",169:"33f72ed2",208:"50f78b20",220:"18d44668",229:"3bc55b91",244:"940fed0d",309:"22b35bd1",441:"4765143b",452:"0b1eacbe",462:"1343c7cb",511:"0688274b",601:"1c95e2ee",610:"3d662298",612:"0689f662",625:"2eff891d",630:"d2996537",677:"bb7c2f70",700:"d2d5f812",750:"df13650b",828:"deb87761",838:"3bd96d59",839:"168e7d6e",856:"74bafc60",906:"f111d15e",989:"ec009c2e",995:"b05470f0"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{15:"4b379120",29:"2661f71c",33:"5507be5a",169:"a7db186a",208:"268eb302",220:"409c24a4",229:"360ae5ed",244:"edd4b6a0",309:"30b103d9",441:"edf1b234",452:"42e712d8",462:"5ae3b03a",511:"e8e92a52",601:"91c548ed",610:"36f5ac87",625:"61284e77",630:"e6d20e0d",677:"51eebda5",700:"5f484165",750:"f4921ea4",828:"9419445b",838:"4c0b65d7",839:"7922504b",856:"669cb47e",906:"de7ec92f",989:"f060a013",995:"81403639"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="shiweisuzhou:";n.l=function(o,r,a,i){if(e[o])e[o].push(r);else{var s,c;if(void 0!==a)for(var l=document.getElementsByTagName("script"),u=0;u0?t("span",[e._v("("+e._s(e.cartTotalCount)+"件)")]):e._e()]),e.isLogin?t("router-link",{attrs:{to:"/User/OrderList"}},[e._v("我的订单")]):e._e(),e.isLogin?t("div",{staticClass:"logout-btn",on:{click:e.handleLogout}},[e._v(" 退出 ")]):e._e()],1)])]),t("div",{staticClass:"main-nav"},[t("div",{staticClass:"container"},[t("div",{staticClass:"logo"},[t("router-link",{attrs:{to:"/"}},[t("img",{staticClass:"logo-img",attrs:{src:"https://static.ticket.sz-trip.com/shiweisuzhou/pc/logo.png",alt:"logo"},on:{click:function(t){e.searchText=""}}})])],1),t("div",{staticClass:"search-box"},[t("el-input",{staticClass:"search-input",attrs:{placeholder:"请输入搜索内容"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleSearch.apply(null,arguments)}},model:{value:e.searchText,callback:function(t){e.searchText=t},expression:"searchText"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.handleSearch},slot:"append"})],1),e.hotList.length>0?t("div",{staticClass:"hot-tags"},[t("span",[e._v("热门搜索:")]),e._l(e.hotList,function(n,o){return t("div",{key:o,staticClass:"hot-tag",on:{click:function(t){e.searchText=n.name,e.handleSearch()}}},[e._v(" "+e._s(n.name)+" ")])})],2):e._e()],1),t("div",{staticClass:"phone-entry"},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("img",{staticStyle:{"margin-right":"5px"},attrs:{src:"https://static.ticket.sz-trip.com/shiweisuzhou/pc/login/phone.png",alt:"联系电话"}}),t("span",[e._v("0512-680541")]),(e.cartTotalCount,e._e())])])])]),e.categories.length>0?t("div",{staticClass:"category-nav"},[t("div",{staticClass:"container"},[e._e()])]):e._e()])},s=[],c=n(3518),l={name:"HeaderNav",data(){return{searchText:"",hotList:[]}},computed:{...(0,c.L8)(["getCategories","getCartTotalCount","isUserLogin","getUserInfo"]),categories(){return this.getCategories||[]},cartTotalCount(){return this.getCartTotalCount||0},isLogin(){return this.isUserLogin},userInfo(){return this.getUserInfo||{}}},created(){this.fetchCategories(),this.post({offset:0,limit:5},"/api/search/hot").then(e=>{this.hotList=e.data})},methods:{...(0,c.i0)(["fetchCategories","logout"]),handleSearch(){this.searchText.trim()&&(this.$store.commit("setSearchText",this.searchText),"/ProductList"===this.$route.path||this.$router.push({path:"/ProductList",query:{keyword:this.searchText,type:"search"}}))},handleLogout(){this.$confirm("确定要退出登录吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.logout().then(()=>{this.$message.success("退出登录成功"),localStorage.setItem("redirectPath",this.$route.path),this.$router.push("/Login")}).catch(e=>{this.$message.error("退出失败:"+(e.message||"未知错误"))})}).catch(()=>{})}}},u=l,d=n(1656),p=(0,d.A)(u,i,s,!1,null,"4f75d8c8",null),h=p.exports,m=function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-container"},[t("div",{staticClass:"footer-top"},[e._l(e.nonQrcodeColumns,function(n,o){return t("div",{key:n.id,staticClass:"footer-column"},[t("h3",[e._v(e._s(n.title))]),t("ul",e._l(n.list,function(n,r){return t("li",{key:r,style:{cursor:o<4?"pointer":""},on:{click:function(t){o<4&&e.gotoDetail(n)}}},[e._v(" "+e._s(n.title)+" ")])}),0)])}),t("div",{staticClass:"qrcode-group"},e._l(e.qrcodeColumn.list,function(n,o){return t("div",{key:o,staticClass:"qrcode-item"},[t("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:e.util.showImg(n.image)}}),t("p",[e._v(e._s(n.title))])])}),0)],2),e._m(0)])},f=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-bottom"},[t("p",[e._v("版权所有 苏州市特色农产品发展有限公司 | 苏ICP备2023023300号-1")]),t("p",[e._v("本网站由 江苏大运远见文化科技发展有限公司 运营维护")])])}],g=(n(8111),n(2489),n(116),n(7588),{name:"Footer",data(){return{list:[{id:1,title:"关于我们",list:[]},{id:2,title:"新手上路",list:[]},{id:5,title:"交易流程",list:[]},{id:3,title:"常见问题",list:[]},{id:6,title:"联系方式",list:[]},{id:4,title:"二维码推荐",list:[]}]}},computed:{nonQrcodeColumns(){return this.list.filter(e=>"二维码推荐"!==e.title)},qrcodeColumn(){return this.list.find(e=>"二维码推荐"===e.title)||{list:[]}}},mounted(){this.list.forEach(e=>{this.get({type_id:e.id},"/api/navigation/getNavigationByTypeList").then(t=>{e.list=t.data})})},methods:{gotoDetail(e){e.link_url?window.location.href=e.link_url:this.$router.push(`/NoticeDetail?type=footer&id=${e.id}`)}}}),v=g,b=(0,d.A)(v,m,f,!1,null,"3080ae3e",null),C=b.exports,y=function(){var e=this,t=e._self._c;return t("div",{staticClass:"sidebar-container"},[t("div",{staticClass:"sidebar-item",on:{click:e.handleCartClick}},[t("el-badge",{staticClass:"item-badge",attrs:{value:e.$store.getters.getCartTotalCount}},[t("i",{staticClass:"el-icon-shopping-cart-full"})]),t("div",{staticClass:"item-text"},[e._v("购物车")])],1),t("div",{staticClass:"sidebar-item",on:{click:e.handleServiceClick}},[t("i",{staticClass:"el-icon-headset"}),t("div",{staticClass:"item-text"},[e._v("在线客服")])]),t("div",{staticClass:"sidebar-item back-to-top",class:{active:e.isShowBackTop},on:{click:e.handleBackToTop}},[t("i",{staticClass:"el-icon-caret-top"}),t("div",{staticClass:"item-text"},[e._v("回到顶部")])])])},k=[],T=n(5131);o["default"].use(c.Ay);var w=new c.Ay.Store({plugins:[(0,T.A)({storage:window.localStorage,reducer(e){return{cart:e.cart,user:e.user}}})],state:{cart:{items:[],totalCount:0,totalPrice:0},user:{isLogin:!1,info:null,token:""},categories:[],loading:!1,searchText:"",orderData:null},mutations:{setOrderData(e,t){e.orderData=t},clearOrderData(e){e.orderData=null},UPDATE_CATEGORIES(e,t){e.categories=t},UPDATE_LOADING(e,t){e.loading=t},USER_LOGIN(e,{userInfo:t,token:n}){e.user.isLogin=!0,e.user.info=t,e.user.token=n,localStorage.setItem("token",n)},USER_LOGOUT(e){e.user.isLogin=!1,e.user.info=null,e.user.token="",localStorage.removeItem("token"),e.cart.totalCount=0},UPDATE_CART_TOTAL_COUNT(e,t){e.cart.totalCount=t},setSearchText(e,t){e.searchText=t}},actions:{submitOrderData({commit:e},t){e("setOrderData",t)},fetchCategories({commit:e}){return e("UPDATE_LOADING",!0),new Promise(t=>{setTimeout(()=>{const n=[{id:1,name:"电子产品",icon:"el-icon-laptop"},{id:2,name:"服装鞋帽",icon:"el-icon-shopping-bag-1"},{id:3,name:"家居用品",icon:"el-icon-home"},{id:4,name:"美妆个护",icon:"el-icon-present"},{id:5,name:"食品饮料",icon:"el-icon-dish"},{id:6,name:"图书音像",icon:"el-icon-document"}];e("UPDATE_CATEGORIES",n),e("UPDATE_LOADING",!1),t(n)},500)})},login({commit:e,dispatch:t},{userInfo:n,token:o}){e("USER_LOGIN",{userInfo:n,token:o}),t("fetchCartCount")},logout({commit:e}){e("USER_LOGOUT")},addToCart({dispatch:e},t){return o["default"].prototype.post({sku_id:t.id,num:t.quantity||1},"/api/cart/add_sku").then(t=>{if(t)return o["default"].prototype.$message.success("购物车添加成功!"),e("fetchCartCount")}).catch(e=>{throw console.error("添加到购物车请求失败",e),e})},fetchCartCount({commit:e,state:t}){return t.user.token?o["default"].prototype.post({},"/api/cart/get_count").then(t=>(console.log("购物车数量接口返回",t),1==t.code&&e("UPDATE_CART_TOTAL_COUNT",t.data),t.data)).catch(e=>{throw console.error("获取购物车数量失败",e),e}):(e("UPDATE_CART_TOTAL_COUNT",0),Promise.resolve(0))},removeFromCart({dispatch:e},t){return o["default"].prototype.post({sku_id:t},"/api/cart/remove_sku").then(()=>e("fetchCartCount")).catch(e=>{throw console.error("删除购物车商品失败",e),e})},updateCartItemQuantity({dispatch:e},{productId:t,quantity:n}){return o["default"].prototype.post({sku_id:t,num:n},"/api/cart/add_sku").then(()=>e("fetchCartCount")).catch(e=>{throw console.error("更新购物车商品数量失败",e),e})},clearCart({dispatch:e}){return o["default"].prototype.post({},"/api/cart/clear").then(()=>e("fetchCartCount")).catch(e=>{throw console.error("清空购物车失败",e),e})}},getters:{getOrderData:e=>e.orderData,getCategories:e=>e.categories,getCart:e=>e.cart,getCartTotalCount:e=>e.cart.totalCount,isUserLogin:e=>e.user.isLogin,getUserInfo:e=>e.user.info,getLoadingStatus:e=>e.loading,getSearchText:e=>e.searchText}}),_={name:"Sidebar",data(){return{cartCount:0,isShowBackTop:!1,scrollTimer:null}},computed:{...(0,c.L8)(["getCartTotalCount"])},mounted(){window.addEventListener("scroll",this.handleScroll),this.$store.dispatch("fetchCartCount")},beforeDestroy(){window.removeEventListener("scroll",this.handleScroll),this.scrollTimer&&clearTimeout(this.scrollTimer)},methods:{handleCartClick(){this.$router.push("/User/ShoppingCart")},handleServiceClick(){const e=w.state.user?.info?.token||"";window.location.href="https://swsz.api.js-dyyj.com/kefu?token="+e},handleBackToTop(){window.scrollTo({top:0,behavior:"smooth"})},handleScroll(){this.scrollTimer&&clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(()=>{this.isShowBackTop=window.pageYOffset>300},200)}}},A=_,L=(0,d.A)(A,y,k,!1,null,"1a8585cf",null),x=L.exports,O=function(){var e=this,t=e._self._c;return e.showBackToTop?t("div",{staticClass:"back-to-top",on:{click:e.scrollToTop}},[t("el-icon",{attrs:{name:"el-icon-arrow-up"}})],1):e._e()},S=[],U={name:"BackToTop",data(){return{showBackToTop:!1}},mounted(){window.addEventListener("scroll",this.handleScroll)},beforeDestroy(){window.removeEventListener("scroll",this.handleScroll)},methods:{handleScroll(){this.showBackToTop=window.pageYOffset>500},scrollToTop(){const e=window.setInterval(()=>{const t=window.pageYOffset;t>0?window.scrollTo(0,t-Math.max(20,t/10)):window.clearInterval(e)},16)}}},P=U,E=(0,d.A)(P,O,S,!1,null,"7ea6dee0",null),I=E.exports,D={name:"App",components:{HeaderNav:h,Footer:C,BackToTop:I,Sidebar:x},computed:{...(0,c.L8)(["getLoadingStatus"]),loading(){return this.getLoadingStatus}}},$=D,B=(0,d.A)($,r,a,!1,null,null,null),R=B.exports,N=n(6178);o["default"].use(N.Ay);const z=N.Ay.prototype.push;N.Ay.prototype.push=function(e){return z.call(this,e).catch(e=>{if("NavigationDuplicated"!==e.name)throw e})};const j=new N.Ay({mode:"history",base:"/",routes:[{path:"/",name:"Index",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>n.e(750).then(n.bind(n,750))},{path:"/Login",name:"Login",meta:{title:"登录 - 精品商城",keepAlive:!1},component:()=>n.e(700).then(n.bind(n,1700))},{path:"/Register",name:"Register",meta:{title:"注册 - 精品商城",keepAlive:!1},component:()=>n.e(29).then(n.bind(n,3029))},{path:"/Home",name:"Home",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>n.e(828).then(n.bind(n,9828))},{path:"/Detail/:id",name:"Detail",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>n.e(610).then(n.bind(n,9610))},{path:"/ProductList",name:"ProductList",meta:{title:"商品列表",keepAlive:!1},component:()=>n.e(220).then(n.bind(n,6220))},{path:"/ProductReview",name:"ProductReview",meta:{title:"商品评价",keepAlive:!1},component:()=>n.e(856).then(n.bind(n,856))},{path:"/NoticeList",name:"NoticeList",meta:{title:"公告列表",keepAlive:!1},component:()=>n.e(601).then(n.bind(n,6601))},{path:"/NoticeDetail",name:"NoticeDetail",meta:{title:"公告详情",keepAlive:!1},component:()=>n.e(989).then(n.bind(n,3989))},{path:"/User",name:"User",component:()=>n.e(462).then(n.bind(n,462)),redirect:"/User/UserCenter",children:[{path:"UserCenter",name:"UserCenter",component:()=>n.e(625).then(n.bind(n,6625))},{path:"OrderList",name:"OrderList",meta:{title:"我的订单 - 精品商城",keepAlive:!1},component:()=>n.e(729).then(n.bind(n,3729))},{path:"UserInfo",name:"UserInfo",meta:{title:"个人信息 - 精品商城",keepAlive:!1},component:()=>n.e(441).then(n.bind(n,441))},{path:"ViewHistory",name:"ViewHistory",meta:{title:"我的足迹 - 精品商城",keepAlive:!1},component:()=>n.e(33).then(n.bind(n,4033))},{path:"UserAddress",name:"UserAddress",meta:{title:"我的收货地址 - 精品商城",keepAlive:!1},component:()=>n.e(208).then(n.bind(n,5208))},{path:"UserInvoice",name:"UserInvoice",meta:{title:"发票抬头 - 精品商城",keepAlive:!1},component:()=>n.e(612).then(n.bind(n,9231))},{path:"UserInvoiceList",name:"UserInvoiceList",meta:{title:"我的发票 - 精品商城",keepAlive:!1},component:()=>n.e(309).then(n.bind(n,4309))},{path:"ShoppingCart",name:"ShoppingCart",meta:{title:"购物车 - 精品商城",keepAlive:!1},component:()=>n.e(630).then(n.bind(n,2630))},{path:"CommentManage",name:"CommentManage",meta:{title:"评价管理 - 精品商城",keepAlive:!1},component:()=>n.e(839).then(n.bind(n,4839))},{path:"ContractList",name:"ContractList",meta:{title:"合同管理 - 精品商城",keepAlive:!1},component:()=>n.e(15).then(n.bind(n,7015))},{path:"MessageList",name:"MessageList",meta:{title:"消息中心 - 精品商城",keepAlive:!1},component:()=>n.e(838).then(n.bind(n,7838))},{path:"PurchaserAdd",name:"PurchaserAdd",meta:{title:"添加采购单位信息 - 精品商城",keepAlive:!1},component:()=>n.e(995).then(n.bind(n,6995))}]},{path:"/Order",name:"Order",meta:{title:"下单",keepAlive:!1},component:()=>n.e(511).then(n.bind(n,2511))},{path:"/OrderDetail",name:"OrderDetail",meta:{title:"订单详情 - 精品商城",keepAlive:!1},component:()=>n.e(645).then(n.bind(n,645))},{path:"/OrderPay",name:"OrderPay",meta:{title:"订单支付 - 精品商城",keepAlive:!1},component:()=>n.e(677).then(n.bind(n,3677))},{path:"/OrderPayB2B",name:"OrderPayB2B",meta:{title:"订单支付 - 精品商城",keepAlive:!1},component:()=>n.e(452).then(n.bind(n,1452))},{path:"/OrderPayCode",name:"OrderPayCode",meta:{title:"订单支付 - 精品商城",keepAlive:!1},component:()=>n.e(244).then(n.bind(n,244))},{path:"/OrderPaySuccess",name:"OrderPaySuccess",meta:{title:"订单支付 - 精品商城",keepAlive:!1},component:()=>n.e(169).then(n.bind(n,7169))}],scrollBehavior(e,t,n){return{x:0,y:0}}});j.beforeEach((e,t,n)=>{if(e.meta.title&&(document.title=e.meta.title),e.meta.requireAuth){const t=w.state.user?.info?.token||"";t?n():n({path:"/Login",query:{redirect:e.fullPath}})}else n()});var q=j,M=n(9143),F=n.n(M),G=n(5847),V=n(4373);const H=V.A.create({timeout:6e3});H.interceptors.request.use(e=>{const{customBaseURL:t}=e.params||e.data||{};t?(e.baseURL=t,e.params?delete e.params.customBaseURL:e.data&&delete e.data.customBaseURL):e.baseURL="https://swsz.api.js-dyyj.com";const n=w.state.user?.info?.token||"";return e.headers["token"]=n||"",e.headers["Content-Type"]="application/json;charset=UTF-8","get"===e.method?.toLowerCase()?e.params={platform_type:2,...e.params}:e.data={platform_type:2,...e.data},!1!==e.loading&&(e.loadingInstance=M.Loading.service({lock:!0,text:"加载中...",background:"rgba(0, 0, 0, 0.7)"})),e},e=>Promise.reject(e)),H.interceptors.response.use(e=>{if(e.config.loadingInstance&&e.config.loadingInstance.close(),200!==e.status&&1!==e.status){const t=`请求失败,状态码:${e.status}`;return M.MessageBox.alert(t,"错误提示",{confirmButtonText:"确定",type:"error"}),Promise.reject(new Error(t))}{const t=e.data;if(1===t.code||200===t.code)return t;{const e=t.msg||`业务处理失败,错误码:${t.code}`;M.MessageBox.alert(e,"错误提示",{confirmButtonText:"确定",type:"error"}).then(()=>{if(401===t.code){const e=q.currentRoute.fullPath;"/Login"!==e&&localStorage.setItem("redirectPath",e),q.push("/Login")}}).catch(()=>{})}}},e=>{if(e.config&&e.config.loadingInstance&&e.config.loadingInstance.close(),e.response&&e.response.status)switch(e.response.status){case 401:M.MessageBox.confirm("请登录后操作","提示",{confirmButtonText:"去登录",cancelButtonText:"取消",type:"warning"}).then(()=>{q.push("/Login")}).catch(()=>{});break;case 404:(0,M.Message)({message:"网络繁忙,请刷新再试",type:"error",duration:2e3});break;default:(0,M.Message)({message:"网络繁忙,请刷新再试",type:"error",duration:2e3});break}return Promise.reject(e)}),o["default"].prototype.get=(e,t,n=!1)=>new Promise((o,r)=>{H.get(t,{params:e,loading:n}).then(e=>{o(e)}).catch(e=>{r(e)})}),o["default"].prototype.post=(e,t,n=!1)=>new Promise((o,r)=>{H.post(t,e,{loading:n}).then(e=>{o(e)}).catch(e=>{r(e)})});var Z={install(e){e.prototype.util={formateRichText(e){if(!e)return"";var t=new RegExp("'),t=new RegExp("section","g"),e=e.replace(t,"div"),t=new RegExp("↵","g"),e=e.replace(t,"
"),e=e.replace(/
{t.onload=()=>{e(t.result)}})},copyId(t){const n=document.createElement("input");n.value=t,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),e.prototype.$message({message:"复制成功",type:"success"})}}}};o["default"].use(Z),o["default"].config.productionTip=!1,o["default"].use(F()),o["default"].use(G.A,{preLoad:1.3,error:n(3153),loading:n(3153),attempt:3,listenEvents:["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],adapter:{loaded({bindType:e,el:t,naturalHeight:n,naturalWidth:o,$parent:r,src:a,loading:i,error:s,Init:c}){console.log("图片加载完成:",a)},error({bindType:e,el:t,error:n,$parent:o,src:r,loading:a}){console.log("图片加载失败:",r)}}}),o["default"].prototype.gotoPath=function(e,t={}){const n=this.$router.currentRoute.fullPath;if(e!==n)try{"string"===typeof e?this.$router.push({path:e,query:t.query||{}}):"object"===typeof e&&this.$router.push(e),"function"===typeof t.success&&t.success()}catch(o){console.error("路由跳转失败:",o),"function"===typeof t.fail&&t.fail(o)}},new o["default"]({el:"#app",router:q,store:w,components:{App:R},template:""})}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={id:o,loaded:!1,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.m=e,function(){n.amdO={}}(),function(){var e=[];n.O=function(t,o,r,a){if(!o){var i=1/0;for(u=0;u=a)&&Object.keys(n.O).every(function(e){return n.O[e](o[c])})?o.splice(c--,1):(s=!1,a0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[o,r,a]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce(function(t,o){return n.f[o](e,t),t},[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{15:"4bb1e723",29:"2ece41d9",33:"ca85dca8",169:"33f72ed2",208:"50f78b20",220:"18d44668",244:"940fed0d",309:"22b35bd1",441:"4765143b",452:"0b1eacbe",462:"1343c7cb",511:"0688274b",601:"1c95e2ee",610:"e58479c0",612:"0689f662",625:"2eff891d",630:"d2996537",645:"6f496112",677:"bb7c2f70",700:"d2d5f812",729:"b8e5cf01",750:"df13650b",828:"deb87761",838:"3bd96d59",839:"168e7d6e",856:"74bafc60",989:"ec009c2e",995:"b05470f0"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{15:"4b379120",29:"2661f71c",33:"5507be5a",169:"a7db186a",208:"268eb302",220:"409c24a4",244:"edd4b6a0",309:"30b103d9",441:"edf1b234",452:"42e712d8",462:"5ae3b03a",511:"e8e92a52",601:"91c548ed",610:"360ae5ed",625:"61284e77",630:"e6d20e0d",645:"99db2dd8",677:"51eebda5",700:"5f484165",729:"fe6c8382",750:"f4921ea4",828:"9419445b",838:"4c0b65d7",839:"7922504b",856:"669cb47e",989:"f060a013",995:"81403639"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="shiweisuzhou:";n.l=function(o,r,a,i){if(e[o])e[o].push(r);else{var s,c;if(void 0!==a)for(var l=document.getElementsByTagName("script"),u=0;u 0)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.cartTotalCount)+\"件)\")]):_vm._e()]),(_vm.isLogin)?_c('router-link',{attrs:{\"to\":\"/User/OrderList\"}},[_vm._v(\"我的订单\")]):_vm._e(),(_vm.isLogin)?_c('div',{staticClass:\"logout-btn\",on:{\"click\":_vm.handleLogout}},[_vm._v(\" 退出 \")]):_vm._e()],1)])]),_c('div',{staticClass:\"main-nav\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"logo\"},[_c('router-link',{attrs:{\"to\":\"/\"}},[_c('img',{staticClass:\"logo-img\",attrs:{\"src\":\"https://static.ticket.sz-trip.com/shiweisuzhou/pc/logo.png\",\"alt\":\"logo\"},on:{\"click\":function($event){_vm.searchText = ''}}})])],1),_c('div',{staticClass:\"search-box\"},[_c('el-input',{staticClass:\"search-input\",attrs:{\"placeholder\":\"请输入搜索内容\"},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.handleSearch.apply(null, arguments)}},model:{value:(_vm.searchText),callback:function ($$v) {_vm.searchText=$$v},expression:\"searchText\"}},[_c('el-button',{attrs:{\"slot\":\"append\",\"icon\":\"el-icon-search\"},on:{\"click\":_vm.handleSearch},slot:\"append\"})],1),(_vm.hotList.length > 0)?_c('div',{staticClass:\"hot-tags\"},[_c('span',[_vm._v(\"热门搜索:\")]),_vm._l((_vm.hotList),function(item,index){return _c('div',{key:index,staticClass:\"hot-tag\",on:{\"click\":function($event){_vm.searchText = item.name;\n _vm.handleSearch();}}},[_vm._v(\" \"+_vm._s(item.name)+\" \")])})],2):_vm._e()],1),_c('div',{staticClass:\"phone-entry\"},[_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[_c('img',{staticStyle:{\"margin-right\":\"5px\"},attrs:{\"src\":\"https://static.ticket.sz-trip.com/shiweisuzhou/pc/login/phone.png\",\"alt\":\"联系电话\"}}),_c('span',[_vm._v(\"0512-680541\")]),(_vm.cartTotalCount > 0 && false)?_c('span',{staticClass:\"cart-count\"},[_vm._v(_vm._s(_vm.cartTotalCount))]):_vm._e()])])])]),(_vm.categories.length > 0)?_c('div',{staticClass:\"category-nav\"},[_c('div',{staticClass:\"container\"},[(false)?_c('ul',{staticClass:\"nav-list\"},[_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",class:{ active: _vm.$route.path === '/' },attrs:{\"to\":\"/\"}},[_vm._v(\"首页\")])],1),_vm._l((_vm.categories),function(category){return _c('li',{key:category.id,staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",class:{ active: _vm.$route.params.id == category.id },attrs:{\"to\":`/category/${category.id}`}},[_vm._v(\" \"+_vm._s(category.name)+\" \")])],1)})],2):_vm._e()])]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./HeaderNav.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./HeaderNav.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./HeaderNav.vue?vue&type=template&id=4f75d8c8&scoped=true\"\nimport script from \"./HeaderNav.vue?vue&type=script&lang=js\"\nexport * from \"./HeaderNav.vue?vue&type=script&lang=js\"\nimport style0 from \"./HeaderNav.vue?vue&type=style&index=0&id=4f75d8c8&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4f75d8c8\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-container\"},[_c('div',{staticClass:\"footer-top\"},[_vm._l((_vm.nonQrcodeColumns),function(column,index){return _c('div',{key:column.id,staticClass:\"footer-column\"},[_c('h3',[_vm._v(_vm._s(column.title))]),_c('ul',_vm._l((column.list),function(item,itemIndex){return _c('li',{key:itemIndex,style:({cursor: index < 4 ? 'pointer' : ''}),on:{\"click\":function($event){index < 4 ? _vm.gotoDetail(item): ''}}},[_vm._v(\" \"+_vm._s(item.title)+\" \")])}),0)])}),_c('div',{staticClass:\"qrcode-group\"},_vm._l((_vm.qrcodeColumn.list),function(item,index){return _c('div',{key:index,staticClass:\"qrcode-item\"},[_c('img',{staticStyle:{\"width\":\"100px\",\"height\":\"100px\"},attrs:{\"src\":_vm.util.showImg(item.image)}}),_c('p',[_vm._v(_vm._s(item.title))])])}),0)],2),_vm._m(0)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-bottom\"},[_c('p',[_vm._v(\"版权所有 苏州市特色农产品发展有限公司 | 苏ICP备2023023300号-1\")]),_c('p',[_vm._v(\"本网站由 江苏大运远见文化科技发展有限公司 运营维护\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Footer.vue?vue&type=template&id=3080ae3e&scoped=true\"\nimport script from \"./Footer.vue?vue&type=script&lang=js\"\nexport * from \"./Footer.vue?vue&type=script&lang=js\"\nimport style0 from \"./Footer.vue?vue&type=style&index=0&id=3080ae3e&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3080ae3e\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"sidebar-container\"},[_c('div',{staticClass:\"sidebar-item\",on:{\"click\":_vm.handleCartClick}},[_c('el-badge',{staticClass:\"item-badge\",attrs:{\"value\":_vm.$store.getters.getCartTotalCount}},[_c('i',{staticClass:\"el-icon-shopping-cart-full\"})]),_c('div',{staticClass:\"item-text\"},[_vm._v(\"购物车\")])],1),_c('div',{staticClass:\"sidebar-item\",on:{\"click\":_vm.handleServiceClick}},[_c('i',{staticClass:\"el-icon-headset\"}),_c('div',{staticClass:\"item-text\"},[_vm._v(\"在线客服\")])]),_c('div',{staticClass:\"sidebar-item back-to-top\",class:{ active: _vm.isShowBackTop },on:{\"click\":_vm.handleBackToTop}},[_c('i',{staticClass:\"el-icon-caret-top\"}),_c('div',{staticClass:\"item-text\"},[_vm._v(\"回到顶部\")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","// index.js\nimport Vue from 'vue'\nimport Vuex from 'vuex'\nimport createPersistedState from 'vuex-persistedstate'\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n plugins: [\n createPersistedState({\n storage: window.localStorage,\n reducer(val) {\n return {\n cart: val.cart,\n user: val.user\n }\n }\n })\n ],\n state: {\n // 购物车状态\n cart: {\n items: [], // 购物车商品列表\n totalCount: 0, // 商品总数\n totalPrice: 0 // 商品总价\n },\n // 用户状态\n user: {\n isLogin: false,\n info: null,\n token: ''\n },\n // 分类数据\n categories: [],\n // 全局加载状态\n loading: false,\n searchText: '', // 存储搜索词\n // 存储订单数据\n orderData: null\n },\n mutations: {\n // 设置订单数据\n setOrderData(state, data) {\n state.orderData = data\n },\n // 清空订单数据\n clearOrderData(state) {\n state.orderData = null\n },\n // 更新分类数据\n UPDATE_CATEGORIES(state, categories) {\n state.categories = categories\n },\n \n // 更新加载状态\n UPDATE_LOADING(state, status) {\n state.loading = status\n },\n \n // 用户登录\n USER_LOGIN(state, { userInfo, token }) {\n state.user.isLogin = true\n state.user.info = userInfo\n state.user.token = token\n localStorage.setItem('token', token)\n },\n \n // 用户登出\n USER_LOGOUT(state) {\n state.user.isLogin = false\n state.user.info = null\n state.user.token = ''\n localStorage.removeItem('token')\n state.cart.totalCount = 0\n },\n \n // 更新购物车总数\n UPDATE_CART_TOTAL_COUNT(state, count) {\n state.cart.totalCount = count\n },\n\n setSearchText(state, text) {\n state.searchText = text;\n }\n },\n actions: {\n // 提交订单数据\n submitOrderData({ commit }, data) {\n commit('setOrderData', data)\n },\n // 获取分类数据\n fetchCategories({ commit }) {\n commit('UPDATE_LOADING', true)\n // 模拟API请求\n return new Promise(resolve => {\n setTimeout(() => {\n const categories = [\n { id: 1, name: '电子产品', icon: 'el-icon-laptop' },\n { id: 2, name: '服装鞋帽', icon: 'el-icon-shopping-bag-1' },\n { id: 3, name: '家居用品', icon: 'el-icon-home' },\n { id: 4, name: '美妆个护', icon: 'el-icon-present' },\n { id: 5, name: '食品饮料', icon: 'el-icon-dish' },\n { id: 6, name: '图书音像', icon: 'el-icon-document' }\n ]\n commit('UPDATE_CATEGORIES', categories)\n commit('UPDATE_LOADING', false)\n resolve(categories)\n }, 500)\n })\n },\n\n // 用户登录\n login({ commit, dispatch }, { userInfo, token }) {\n // 先调用 mutation 更新登录状态\n commit('USER_LOGIN', { userInfo, token })\n // 登录成功后,调用获取购物车数量的 action\n dispatch('fetchCartCount')\n },\n \n // 用户登出\n logout({ commit }) {\n commit('USER_LOGOUT')\n },\n \n // 添加商品到购物车\n addToCart({ dispatch }, product) {\n // 调用接口,参数为商品id和数量\n return Vue.prototype.post(\n {\n sku_id: product.id,\n num: product.quantity || 1\n },\n \"/api/cart/add_sku\"\n ).then((res) => {\n if (res) {\n Vue.prototype.$message.success(\"购物车添加成功!\");\n // 添加成功后重新获取购物车数量\n return dispatch('fetchCartCount')\n }\n }).catch((err) => {\n console.error('添加到购物车请求失败', err);\n throw err\n });\n },\n\n // 获取购物车数量\n fetchCartCount({ commit, state }) {\n // 检查是否存在token,不存在则直接返回0\n if (!state.user.token) {\n commit('UPDATE_CART_TOTAL_COUNT', 0)\n return Promise.resolve(0)\n }\n return Vue.prototype.post(\n {},\n \"/api/cart/get_count\"\n ).then((res) => {\n console.log('购物车数量接口返回', res)\n if (res.code == 1) {\n commit('UPDATE_CART_TOTAL_COUNT', res.data)\n }\n return res.data\n }).catch((err) => {\n console.error('获取购物车数量失败', err)\n throw err\n });\n },\n \n // 从购物车移除商品\n removeFromCart({ dispatch }, productId) {\n // 调用删除接口\n return Vue.prototype.post(\n { sku_id: productId },\n \"/api/cart/remove_sku\"\n ).then(() => {\n // 删除成功后重新获取购物车数量\n return dispatch('fetchCartCount')\n }).catch(err => {\n console.error('删除购物车商品失败', err)\n throw err\n })\n },\n \n // 更新购物车商品数量\n updateCartItemQuantity({ dispatch }, { productId, quantity }) {\n // 调用更新数量接口\n return Vue.prototype.post(\n { \n sku_id: productId,\n num: quantity\n },\n \"/api/cart/add_sku\"\n ).then(() => {\n // 更新成功后重新获取购物车数量\n return dispatch('fetchCartCount')\n }).catch(err => {\n console.error('更新购物车商品数量失败', err)\n throw err\n })\n },\n \n // 清空购物车\n clearCart({ dispatch }) {\n // 调用清空接口\n return Vue.prototype.post(\n {},\n \"/api/cart/clear\"\n ).then(() => {\n // 清空成功后重新获取购物车数量\n return dispatch('fetchCartCount')\n }).catch(err => {\n console.error('清空购物车失败', err)\n throw err\n })\n }\n },\n getters: {\n // 获取订单数据\n getOrderData: state => state.orderData,\n\n // 获取分类列表\n getCategories: state => state.categories,\n \n // 获取购物车信息\n getCart: state => state.cart,\n \n // 获取购物车商品总数\n getCartTotalCount: state => state.cart.totalCount,\n \n // 获取用户登录状态\n isUserLogin: state => state.user.isLogin,\n \n // 获取用户信息\n getUserInfo: state => state.user.info,\n \n // 获取加载状态\n getLoadingStatus: state => state.loading,\n\n // 获取搜索词\n getSearchText: state => state.searchText\n }\n})","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Sidebar.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Sidebar.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Sidebar.vue?vue&type=template&id=1a8585cf&scoped=true\"\nimport script from \"./Sidebar.vue?vue&type=script&lang=js\"\nexport * from \"./Sidebar.vue?vue&type=script&lang=js\"\nimport style0 from \"./Sidebar.vue?vue&type=style&index=0&id=1a8585cf&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1a8585cf\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.showBackToTop)?_c('div',{staticClass:\"back-to-top\",on:{\"click\":_vm.scrollToTop}},[_c('el-icon',{attrs:{\"name\":\"el-icon-arrow-up\"}})],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BackToTop.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BackToTop.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./BackToTop.vue?vue&type=template&id=7ea6dee0&scoped=true\"\nimport script from \"./BackToTop.vue?vue&type=script&lang=js\"\nexport * from \"./BackToTop.vue?vue&type=script&lang=js\"\nimport style0 from \"./BackToTop.vue?vue&type=style&index=0&id=7ea6dee0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7ea6dee0\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=2c267866\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=2c267866&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/@vue/vue-loader-v15/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","import Vue from 'vue'\r\nimport Router from 'vue-router'\r\nimport store from '@/store';\r\n\r\nVue.use(Router)\r\n\r\n// 解决重复导航错误\r\nconst originalPush = Router.prototype.push\r\nRouter.prototype.push = function push(location) {\r\n return originalPush.call(this, location).catch(err => {\r\n // 只捕获重复导航的错误,其他错误正常抛出\r\n if (err.name !== 'NavigationDuplicated') {\r\n throw err\r\n }\r\n })\r\n}\r\n\r\nconst router = new Router({\r\n mode: 'history',\r\n base: process.env.BASE_URL,\r\n routes: [\r\n {\r\n path: '/',\r\n name: 'Index',\r\n meta: {\r\n title: '首页 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Index.vue')\r\n },\r\n {\r\n path: '/Login',\r\n name: 'Login',\r\n meta: {\r\n title: '登录 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Login.vue')\r\n },\r\n {\r\n path: '/Register',\r\n name: 'Register',\r\n meta: {\r\n title: '注册 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Register.vue')\r\n },\r\n {\r\n path: '/Home',\r\n name: 'Home',\r\n meta: {\r\n title: '首页 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Home.vue')\r\n },\r\n {\r\n path: '/Detail/:id',\r\n name: 'Detail',\r\n meta: {\r\n title: '首页 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Detail/Index.vue')\r\n },\r\n {\r\n path: '/ProductList',\r\n name: 'ProductList',\r\n meta: {\r\n title: '商品列表',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/ProductPage/Index.vue')\r\n },\r\n {\r\n path: '/ProductReview',\r\n name: 'ProductReview',\r\n meta: {\r\n title: '商品评价',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/ProductPage/ProductReview.vue')\r\n },\r\n {\r\n path: '/NoticeList',\r\n name: 'NoticeList',\r\n meta: {\r\n title: '公告列表',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/notice/noticeList.vue')\r\n },\r\n {\r\n path: '/NoticeDetail',\r\n name: 'NoticeDetail',\r\n meta: {\r\n title: '公告详情',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/notice/noticeDetail.vue')\r\n },\r\n // {\r\n // path: '/category/:id?',\r\n // name: 'Category',\r\n // meta: {\r\n // title: '商品分类 - 精品商城',\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/Category.vue')\r\n // },\r\n // {\r\n // path: '/product/:id',\r\n // name: 'ProductDetail',\r\n // meta: {\r\n // title: '商品详情 - 精品商城',\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/ProductDetail.vue')\r\n // },\r\n // {\r\n // path: '/cart',\r\n // name: 'Cart',\r\n // meta: {\r\n // title: '购物车 - 精品商城',\r\n // requireAuth: true,\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/Cart.vue')\r\n // },\r\n // {\r\n // path: '/checkout',\r\n // name: 'Checkout',\r\n // meta: {\r\n // title: '结算 - 精品商城',\r\n // requireAuth: true,\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/Checkout.vue')\r\n // },\r\n {\r\n path: '/User',\r\n name: 'User',\r\n // meta: { title: '个人中心 - 精品商城',requireAuth: true,keepAlive: false},\r\n component: () => import('@/views/User/Index.vue'),\r\n redirect: '/User/UserCenter',\r\n children: [\r\n {\r\n path:'UserCenter', \r\n name: \"UserCenter\",\r\n // meta: {title: '个人中心 - 精品商城',keepAlive: false,},\r\n component: ()=>import('@/views/User/UserCenter.vue')\r\n },\r\n {\r\n path: 'OrderList',\r\n name: 'OrderList',\r\n meta: { title: '我的订单 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderList.vue')\r\n },\r\n {\r\n path: 'UserInfo',\r\n name: 'UserInfo',\r\n meta: { title: '个人信息 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/UserInfo.vue')\r\n },\r\n {\r\n path: 'ViewHistory',\r\n name: 'ViewHistory',\r\n meta: { title: '我的足迹 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/ViewHistory.vue')\r\n },\r\n {\r\n path: 'UserAddress',\r\n name: 'UserAddress',\r\n meta: { title: '我的收货地址 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/UserAddress.vue')\r\n },\r\n {\r\n path: 'UserInvoice',\r\n name: 'UserInvoice',\r\n meta: { title: '发票抬头 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/UserInvoice.vue')\r\n },\r\n {\r\n path: 'UserInvoiceList',\r\n name: 'UserInvoiceList',\r\n meta: { title: '我的发票 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/UserInvoiceList.vue')\r\n },\r\n {\r\n path: 'ShoppingCart',\r\n name: 'ShoppingCart',\r\n meta: { title: '购物车 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/ShoppingCart.vue')\r\n },\r\n {\r\n path: 'CommentManage',\r\n name: 'CommentManage',\r\n meta: { title: '评价管理 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/CommentManage.vue')\r\n },\r\n {\r\n path: 'ContractList',\r\n name: 'ContractList',\r\n meta: { title: '合同管理 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/ContractList.vue')\r\n },\r\n {\r\n path: 'MessageList',\r\n name: 'MessageList',\r\n meta: { title: '消息中心 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/MessageList.vue')\r\n },\r\n {\r\n path: 'PurchaserAdd',\r\n name: 'PurchaserAdd',\r\n meta: { title: '添加采购单位信息 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/PurchaserAdd.vue')\r\n },\r\n ],\r\n },\r\n {\r\n path: '/Order',\r\n name: 'Order',\r\n meta: { title: '下单', keepAlive: false },\r\n component: () => import('@/views/Order/Index.vue')\r\n },\r\n {\r\n path: '/OrderDetail',\r\n name: 'OrderDetail',\r\n meta: { title: '订单详情 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/Order/OrderDetail.vue')\r\n },\r\n \r\n {\r\n path: '/OrderPay',\r\n name: 'OrderPay',\r\n meta: { title: '订单支付 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderPay.vue')\r\n },\r\n {\r\n path: '/OrderPayB2B',\r\n name: 'OrderPayB2B',\r\n meta: { title: '订单支付 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderPayB2B.vue')\r\n },\r\n {\r\n path: '/OrderPayCode',\r\n name: 'OrderPayCode',\r\n meta: { title: '订单支付 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderPayCode.vue')\r\n },\r\n {\r\n path: '/OrderPaySuccess',\r\n name: 'OrderPaySuccess',\r\n meta: { title: '订单支付 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderPaySuccess.vue')\r\n },\r\n \r\n // {\r\n // path: '/user/orders/:id',\r\n // name: 'OrderDetail',\r\n // meta: {\r\n // title: '订单详情 - 精品商城',\r\n // requireAuth: true,\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/OrderDetail.vue')\r\n // },\r\n // {\r\n // path: '*',\r\n // name: 'NotFound',\r\n // meta: {\r\n // title: '页面不存在 - 精品商城',\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/NotFound.vue')\r\n // }\r\n ],\r\n scrollBehavior(to, from, savedPosition) {\r\n // 页面滚动到顶部\r\n return { x: 0, y: 0 }\r\n }\r\n})\r\n\r\n// 路由守卫\r\nrouter.beforeEach((to, from, next) => {\r\n // 设置页面标题\r\n if (to.meta.title) {\r\n document.title = to.meta.title\r\n }\r\n \r\n // 验证登录状态\r\n if (to.meta.requireAuth) {\r\n const token = store.state.user?.info?.token || '';\r\n if (token) {\r\n next()\r\n } else {\r\n next({\r\n path: '/Login',\r\n query: { redirect: to.fullPath }\r\n })\r\n }\r\n } else {\r\n next()\r\n }\r\n})\r\n\r\nexport default router","import Vue from 'vue'\r\nimport axios from \"axios\";\r\nimport { Message, MessageBox, Loading } from \"element-ui\"; // 引入 Element UI 组件\r\nimport store from '@/store';\r\nimport router from \"@/router\"\r\n\r\nconst http = axios.create({\r\n timeout: 6000 // 请求超时时间\r\n})\r\n\r\n// 添加请求拦截器\r\nhttp.interceptors.request.use((config) => {\r\n const { customBaseURL } = config.params || config.data || {};\r\n if (customBaseURL) {\r\n config.baseURL = customBaseURL;\r\n if (config.params) {\r\n delete config.params.customBaseURL;\r\n } else if (config.data) {\r\n delete config.data.customBaseURL;\r\n }\r\n } else {\r\n config.baseURL = process.env.VUE_APP_URL;\r\n }\r\n \r\n const token = store.state.user?.info?.token || '';\r\n config.headers['token'] = token || \"\"\r\n // config.headers['token'] = token || \"745f2b4c-49b7-4393-bf58-bc380a87149a\";\r\n config.headers['Content-Type'] = 'application/json;charset=UTF-8';\r\n\r\n // 统一添加 platform_type = 2 参数\r\n // GET 请求在 params 中添加\r\n if (config.method?.toLowerCase() === 'get') {\r\n config.params = {\r\n platform_type: 2,\r\n ...config.params\r\n };\r\n } \r\n // POST 等其他请求在 data 中添加\r\n else {\r\n config.data = {\r\n platform_type: 2,\r\n ...config.data\r\n };\r\n }\r\n \r\n // 显示加载中状态(Element UI 的 Loading)\r\n if (config.loading !== false) { // 默认显示,可通过参数关闭\r\n config.loadingInstance = Loading.service({\r\n lock: true,\r\n text: '加载中...',\r\n background: 'rgba(0, 0, 0, 0.7)'\r\n });\r\n }\r\n \r\n return config;\r\n}, (error) => {\r\n return Promise.reject(error);\r\n});\r\n\r\n// 添加响应拦截器\r\nhttp.interceptors.response.use(response => {\r\n // 关闭加载状态\r\n if (response.config.loadingInstance) {\r\n response.config.loadingInstance.close();\r\n }\r\n \r\n if (response.status === 200 || response.status === 1) {\r\n const resData = response.data;\r\n // 假设接口约定 code 为 0 或 200 时表示业务成功(可根据实际情况修改)\r\n if (resData.code === 1 || resData.code === 200) {\r\n return resData;\r\n } else {\r\n // code 不符合预期时显示错误提示,优先使用接口返回的消息\r\n const errorMsg = resData.msg || `业务处理失败,错误码:${resData.code}`;\r\n MessageBox.alert(errorMsg, '错误提示', {\r\n confirmButtonText: '确定',\r\n type: 'error'\r\n }).then(() => {\r\n if (resData.code === 401) {\r\n // 存储当前路由(排除登录页自身,避免死循环)\r\n const currentPath = router.currentRoute.fullPath;\r\n if (currentPath !== '/Login') { // 假设登录页路径是 /Login\r\n localStorage.setItem('redirectPath', currentPath); // 存到本地存储\r\n }\r\n // 登录操作\r\n router.push(\"/Login\")\r\n }\r\n }).catch(() => {\r\n \r\n });\r\n // return Promise.reject(new Error(errorMsg));\r\n }\r\n } else {\r\n // HTTP状态码非200和1时的弹框提示\r\n const errorMsg = `请求失败,状态码:${response.status}`;\r\n MessageBox.alert(errorMsg, '错误提示', {\r\n confirmButtonText: '确定',\r\n type: 'error'\r\n });\r\n return Promise.reject(new Error(errorMsg));\r\n }\r\n}, error => {\r\n // 关闭加载状态\r\n if (error.config && error.config.loadingInstance) {\r\n error.config.loadingInstance.close();\r\n }\r\n \r\n if (error.response && error.response.status) {\r\n switch (error.response.status) {\r\n case 401:\r\n MessageBox.confirm('请登录后操作', '提示', {\r\n confirmButtonText: '去登录',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n }).then(() => {\r\n // 登录操作\r\n router.push(\"/Login\")\r\n }).catch(() => {\r\n // 取消登录回调\r\n });\r\n break;\r\n case 404:\r\n Message({\r\n message: '网络繁忙,请刷新再试',\r\n type: 'error',\r\n duration: 2000\r\n });\r\n break;\r\n default:\r\n Message({\r\n message: '网络繁忙,请刷新再试',\r\n type: 'error',\r\n duration: 2000\r\n });\r\n break;\r\n }\r\n }\r\n return Promise.reject(error);\r\n});\r\n\r\n// 请求方法挂载\r\nVue.prototype.get = (params, url, loading = false) => {\r\n return new Promise((resolve, reject) => {\r\n http.get(url, { \r\n params,\r\n loading // 传递加载状态参数\r\n })\r\n .then(res => {\r\n resolve(res);\r\n })\r\n .catch(err => {\r\n reject(err);\r\n });\r\n })\r\n}\r\n\r\nVue.prototype.post = (data, url, loading = false) => {\r\n return new Promise((resolve, reject) => {\r\n http.post(url, data, {\r\n loading // 传递加载状态参数\r\n })\r\n .then(res => {\r\n resolve(res);\r\n })\r\n .catch(err => {\r\n reject(err);\r\n });\r\n })\r\n}","export default {\r\n\tinstall(Vue) {\r\n\t\tVue.prototype.util = {\r\n\t\t\t// 格式化富文本\r\n\t\t\tformateRichText(str) {\r\n\t\t\t\tif (!str) return \"\";\r\n\t\t\t\tvar reg = new RegExp(\"')\r\n\t\t\t\treg = new RegExp(\"section\", \"g\");\r\n\t\t\t\tstr = str.replace(reg, 'div');\r\n\t\t\t\treg = new RegExp(\"↵\", \"g\");\r\n\t\t\t\tstr = str.replace(reg, '
');\r\n\t\t\t\tstr = str.replace(/
{\r\n\t\t\t\t\treader.onload = () => {\r\n\t\t\t\t\t\tresolve(reader.result);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t},\r\n\r\n\t\t\tcopyId(value) {\r\n\t\t\t\tconst input = document.createElement('input');\r\n\t\t\t\tinput.value = value;\r\n\t\t\t\tdocument.body.appendChild(input);\r\n\t\t\t\tinput.select();\r\n\t\t\t\tdocument.execCommand('copy');\r\n\t\t\t\tdocument.body.removeChild(input);\r\n\t\t\t\t\r\n\t\t\t\tVue.prototype.$message({\r\n\t\t\t\t\tmessage: '复制成功',\r\n\t\t\t\t\ttype: 'success'\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n}\r\n","import Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport store from './store'\nimport ElementUI from 'element-ui'\nimport 'element-ui/lib/theme-chalk/index.css'\nimport VueLazyload from 'vue-lazyload'\nimport '@/assets/css/common.scss'\nimport '../src/libs/axios.js' // axios处理\n\nimport utils from './libs/utils.js'\nVue.use(utils)\n\n// 全局配置\nVue.config.productionTip = false\nVue.use(ElementUI)\n\n// 配置图片懒加载\nVue.use(VueLazyload, {\n preLoad: 1.3, // 预加载高度比例\n error: require('./assets/logo.png'),\n loading: require('./assets/logo.png'),\n attempt: 3, // 增加尝试次数\n listenEvents: ['scroll', 'wheel', 'mousewheel', 'resize', 'animationend', 'transitionend', 'touchmove'], // 确保监听事件完整\n adapter: {\n // 增加加载状态日志\n loaded({ bindType, el, naturalHeight, naturalWidth, $parent, src, loading, error, Init }) {\n console.log('图片加载完成:', src)\n },\n error({ bindType, el, error, $parent, src, loading }) {\n console.log('图片加载失败:', src)\n }\n }\n})\n\n// 全局挂载公共路由跳转方法\nVue.prototype.gotoPath = function(path, options = {}) {\n // 1. 避免重复跳转同一页面\n const currentPath = this.$router.currentRoute.fullPath\n if (path === currentPath) {\n return\n }\n\n try {\n // 2. 支持两种跳转方式:路径字符串或配置对象\n if (typeof path === 'string') {\n // 字符串路径,可附带query参数\n this.$router.push({\n path,\n query: options.query || {}\n })\n } else if (typeof path === 'object') {\n // 直接传入路由配置对象(如命名路由)\n this.$router.push(path)\n }\n \n // 3. 可选的跳转成功回调\n if (typeof options.success === 'function') {\n options.success()\n }\n } catch (error) {\n // 4. 错误处理\n console.error('路由跳转失败:', error)\n if (typeof options.fail === 'function') {\n options.fail(error)\n }\n }\n}\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n store,\n components: { App },\n template: ''\n})\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + {\"15\":\"4bb1e723\",\"29\":\"2ece41d9\",\"33\":\"ca85dca8\",\"169\":\"33f72ed2\",\"208\":\"50f78b20\",\"220\":\"18d44668\",\"229\":\"3bc55b91\",\"244\":\"940fed0d\",\"309\":\"22b35bd1\",\"441\":\"4765143b\",\"452\":\"0b1eacbe\",\"462\":\"1343c7cb\",\"511\":\"0688274b\",\"601\":\"1c95e2ee\",\"610\":\"3d662298\",\"612\":\"0689f662\",\"625\":\"2eff891d\",\"630\":\"d2996537\",\"677\":\"bb7c2f70\",\"700\":\"d2d5f812\",\"750\":\"df13650b\",\"828\":\"deb87761\",\"838\":\"3bd96d59\",\"839\":\"168e7d6e\",\"856\":\"74bafc60\",\"906\":\"f111d15e\",\"989\":\"ec009c2e\",\"995\":\"b05470f0\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".\" + {\"15\":\"4b379120\",\"29\":\"2661f71c\",\"33\":\"5507be5a\",\"169\":\"a7db186a\",\"208\":\"268eb302\",\"220\":\"409c24a4\",\"229\":\"360ae5ed\",\"244\":\"edd4b6a0\",\"309\":\"30b103d9\",\"441\":\"edf1b234\",\"452\":\"42e712d8\",\"462\":\"5ae3b03a\",\"511\":\"e8e92a52\",\"601\":\"91c548ed\",\"610\":\"36f5ac87\",\"625\":\"61284e77\",\"630\":\"e6d20e0d\",\"677\":\"51eebda5\",\"700\":\"5f484165\",\"750\":\"f4921ea4\",\"828\":\"9419445b\",\"838\":\"4c0b65d7\",\"839\":\"7922504b\",\"856\":\"669cb47e\",\"906\":\"de7ec92f\",\"989\":\"f060a013\",\"995\":\"81403639\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"shiweisuzhou:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tif (__webpack_require__.nc) {\n\t\tlinkTag.nonce = __webpack_require__.nc;\n\t}\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t524: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"15\":1,\"29\":1,\"33\":1,\"169\":1,\"208\":1,\"220\":1,\"229\":1,\"244\":1,\"309\":1,\"441\":1,\"452\":1,\"462\":1,\"511\":1,\"601\":1,\"610\":1,\"625\":1,\"630\":1,\"677\":1,\"700\":1,\"750\":1,\"828\":1,\"838\":1,\"839\":1,\"856\":1,\"906\":1,\"989\":1,\"995\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr\n\n// no prefetching\n\n// no preloaded","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t524: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkshiweisuzhou\"] = self[\"webpackChunkshiweisuzhou\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [504], function() { return __webpack_require__(7421); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["render","_vm","this","_c","_self","attrs","$route","name","_e","staticClass","staticRenderFns","_v","isLogin","directives","rawName","value","userInfo","avatar","expression","_s","username","cartTotalCount","on","handleLogout","$event","searchText","nativeOn","type","indexOf","_k","keyCode","key","handleSearch","apply","arguments","model","callback","$$v","slot","hotList","length","_l","item","index","staticStyle","categories","data","computed","mapGetters","getCategories","getCartTotalCount","isUserLogin","getUserInfo","created","fetchCategories","post","offset","limit","then","res","methods","mapActions","trim","$store","commit","path","$router","push","query","keyword","$confirm","confirmButtonText","cancelButtonText","logout","$message","success","localStorage","setItem","catch","err","error","message","component","nonQrcodeColumns","column","id","title","list","itemIndex","style","cursor","gotoDetail","qrcodeColumn","util","showImg","image","_m","filter","find","mounted","forEach","get","type_id","link_url","window","location","href","handleCartClick","getters","handleServiceClick","class","active","isShowBackTop","handleBackToTop","Vue","use","Vuex","plugins","createPersistedState","storage","reducer","val","cart","user","state","items","totalCount","totalPrice","info","token","loading","orderData","mutations","setOrderData","clearOrderData","UPDATE_CATEGORIES","UPDATE_LOADING","status","USER_LOGIN","USER_LOGOUT","removeItem","UPDATE_CART_TOTAL_COUNT","count","setSearchText","text","actions","submitOrderData","Promise","resolve","setTimeout","icon","login","dispatch","addToCart","product","prototype","sku_id","num","quantity","console","fetchCartCount","log","code","removeFromCart","productId","updateCartItemQuantity","clearCart","getOrderData","getCart","getLoadingStatus","getSearchText","cartCount","scrollTimer","addEventListener","handleScroll","beforeDestroy","removeEventListener","clearTimeout","store","scrollTo","top","behavior","pageYOffset","showBackToTop","scrollToTop","setInterval","position","Math","max","clearInterval","components","HeaderNav","Footer","BackToTop","Sidebar","Router","originalPush","call","router","mode","base","process","routes","meta","keepAlive","redirect","children","scrollBehavior","to","from","savedPosition","x","y","beforeEach","next","document","requireAuth","fullPath","http","axios","create","timeout","interceptors","request","config","customBaseURL","params","baseURL","headers","method","toLowerCase","platform_type","loadingInstance","Loading","service","lock","background","reject","response","close","errorMsg","MessageBox","alert","Error","resData","msg","currentPath","currentRoute","confirm","Message","duration","url","install","formateRichText","str","reg","RegExp","replace","mobileValid","test","idNumberValid","passportValid","taiwanValid","gangaoValid","foreignerValid","officerValid","emailValid","getUrlPara","arrUrl","split","para","img","imgToBase64","reader","FileReader","readAsDataURL","onload","result","copyId","input","createElement","body","appendChild","select","execCommand","removeChild","utils","productionTip","ElementUI","VueLazyload","preLoad","require","attempt","listenEvents","adapter","loaded","bindType","el","naturalHeight","naturalWidth","$parent","src","Init","gotoPath","options","fail","App","template","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","amdO","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","f","e","chunkId","all","reduce","promises","u","miniCssF","g","globalThis","Function","obj","prop","hasOwnProperty","inProgress","dataWebpackPrefix","l","done","script","needAttach","scripts","getElementsByTagName","s","getAttribute","charset","nc","setAttribute","onScriptComplete","prev","event","onerror","doneFns","parentNode","bind","target","head","Symbol","toStringTag","nmd","paths","p","createStylesheet","fullhref","oldTag","linkTag","rel","nonce","onLinkComplete","errorType","realHref","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","installedChunks","installedChunkData","promise","loadingEnded","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/app.a5d22e80.js","mappings":"uIAAIA,EAAS,WAAkB,IAAIC,EAAIC,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G,E","sources":["webpack://shiweisuzhou/./src/App.vue","webpack://shiweisuzhou/./src/components/layout/HeaderNav.vue","webpack://shiweisuzhou/src/components/layout/HeaderNav.vue","webpack://shiweisuzhou/./src/components/layout/HeaderNav.vue?6ac8","webpack://shiweisuzhou/./src/components/layout/HeaderNav.vue?f415","webpack://shiweisuzhou/./src/components/layout/Footer.vue","webpack://shiweisuzhou/src/components/layout/Footer.vue","webpack://shiweisuzhou/./src/components/layout/Footer.vue?28b4","webpack://shiweisuzhou/./src/components/layout/Footer.vue?84dd","webpack://shiweisuzhou/./src/components/layout/Sidebar.vue","webpack://shiweisuzhou/./src/store/index.js","webpack://shiweisuzhou/src/components/layout/Sidebar.vue","webpack://shiweisuzhou/./src/components/layout/Sidebar.vue?258f","webpack://shiweisuzhou/./src/components/layout/Sidebar.vue?1064","webpack://shiweisuzhou/./src/components/common/BackToTop.vue","webpack://shiweisuzhou/src/components/common/BackToTop.vue","webpack://shiweisuzhou/./src/components/common/BackToTop.vue?eadc","webpack://shiweisuzhou/./src/components/common/BackToTop.vue?7f5f","webpack://shiweisuzhou/src/App.vue","webpack://shiweisuzhou/./src/App.vue?c036","webpack://shiweisuzhou/./src/App.vue?0e40","webpack://shiweisuzhou/./src/router/index.js","webpack://shiweisuzhou/./src/libs/axios.js","webpack://shiweisuzhou/./src/libs/utils.js","webpack://shiweisuzhou/./src/main.js","webpack://shiweisuzhou/webpack/bootstrap","webpack://shiweisuzhou/webpack/runtime/amd options","webpack://shiweisuzhou/webpack/runtime/chunk loaded","webpack://shiweisuzhou/webpack/runtime/compat get default export","webpack://shiweisuzhou/webpack/runtime/define property getters","webpack://shiweisuzhou/webpack/runtime/ensure chunk","webpack://shiweisuzhou/webpack/runtime/get javascript chunk filename","webpack://shiweisuzhou/webpack/runtime/get mini-css chunk filename","webpack://shiweisuzhou/webpack/runtime/global","webpack://shiweisuzhou/webpack/runtime/hasOwnProperty shorthand","webpack://shiweisuzhou/webpack/runtime/load script","webpack://shiweisuzhou/webpack/runtime/make namespace object","webpack://shiweisuzhou/webpack/runtime/node module decorator","webpack://shiweisuzhou/webpack/runtime/publicPath","webpack://shiweisuzhou/webpack/runtime/css loading","webpack://shiweisuzhou/webpack/runtime/jsonp chunk loading","webpack://shiweisuzhou/webpack/startup"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"app\"}},[(_vm.$route.name !== 'Register')?_c('HeaderNav'):_vm._e(),(_vm.$route.name !== 'Login')?_c('main',{staticClass:\"main-container\"},[_c('router-view')],1):_vm._e(),(_vm.$route.name == 'Login')?_c('main',{staticClass:\"main-containers\"},[_c('router-view')],1):_vm._e(),(_vm.$route.name !== 'Register')?_c('Sidebar'):_vm._e(),(_vm.$route.name !== 'Register')?_c('Footer'):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('header',{staticClass:\"header-nav\"},[_c('div',{staticClass:\"top-notice\"},[_c('div',{staticClass:\"container\"},[_c('p',[_vm._v(\" 欢迎来到时味苏州平台! \"),(false)?_c('router-link',{staticClass:\"highlight\",attrs:{\"to\":\"/Register\"}},[_vm._v(\"立即注册\")]):_vm._e()],1),_c('div',{staticClass:\"top-links\"},[(_vm.isLogin)?_c('router-link',{staticClass:\"user-link\",attrs:{\"to\":\"/User\"}},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(_vm.userInfo.avatar),expression:\"userInfo.avatar\"}],staticClass:\"avatar\",attrs:{\"alt\":\"用户头像\"}}),_vm._v(\" \"+_vm._s(_vm.userInfo.username)+\" \")]):_c('router-link',{attrs:{\"to\":\"/Login\"}},[_vm._v(\"登录\")]),(false)?_c('span',{staticClass:\"separator\"},[_vm._v(\"|\")]):_vm._e(),(false)?_c('router-link',{attrs:{\"to\":\"/Register\"}},[_vm._v(\"注册\")]):_vm._e(),_c('router-link',{attrs:{\"to\":\"/User\"}},[_vm._v(\"采购人中心\")]),_c('router-link',{staticClass:\"cart-link\",attrs:{\"to\":\"/User/ShoppingCart\"}},[_vm._v(\" 购物车\"),(_vm.cartTotalCount > 0)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.cartTotalCount)+\"件)\")]):_vm._e()]),(_vm.isLogin)?_c('router-link',{attrs:{\"to\":\"/User/OrderList\"}},[_vm._v(\"我的订单\")]):_vm._e(),(_vm.isLogin)?_c('div',{staticClass:\"logout-btn\",on:{\"click\":_vm.handleLogout}},[_vm._v(\" 退出 \")]):_vm._e()],1)])]),_c('div',{staticClass:\"main-nav\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"logo\"},[_c('router-link',{attrs:{\"to\":\"/\"}},[_c('img',{staticClass:\"logo-img\",attrs:{\"src\":\"https://static.ticket.sz-trip.com/shiweisuzhou/pc/logo.png\",\"alt\":\"logo\"},on:{\"click\":function($event){_vm.searchText = ''}}})])],1),_c('div',{staticClass:\"search-box\"},[_c('el-input',{staticClass:\"search-input\",attrs:{\"placeholder\":\"请输入搜索内容\"},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.handleSearch.apply(null, arguments)}},model:{value:(_vm.searchText),callback:function ($$v) {_vm.searchText=$$v},expression:\"searchText\"}},[_c('el-button',{attrs:{\"slot\":\"append\",\"icon\":\"el-icon-search\"},on:{\"click\":_vm.handleSearch},slot:\"append\"})],1),(_vm.hotList.length > 0)?_c('div',{staticClass:\"hot-tags\"},[_c('span',[_vm._v(\"热门搜索:\")]),_vm._l((_vm.hotList),function(item,index){return _c('div',{key:index,staticClass:\"hot-tag\",on:{\"click\":function($event){_vm.searchText = item.name;\n _vm.handleSearch();}}},[_vm._v(\" \"+_vm._s(item.name)+\" \")])})],2):_vm._e()],1),_c('div',{staticClass:\"phone-entry\"},[_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[_c('img',{staticStyle:{\"margin-right\":\"5px\"},attrs:{\"src\":\"https://static.ticket.sz-trip.com/shiweisuzhou/pc/login/phone.png\",\"alt\":\"联系电话\"}}),_c('span',[_vm._v(\"0512-680541\")]),(_vm.cartTotalCount > 0 && false)?_c('span',{staticClass:\"cart-count\"},[_vm._v(_vm._s(_vm.cartTotalCount))]):_vm._e()])])])]),(_vm.categories.length > 0)?_c('div',{staticClass:\"category-nav\"},[_c('div',{staticClass:\"container\"},[(false)?_c('ul',{staticClass:\"nav-list\"},[_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",class:{ active: _vm.$route.path === '/' },attrs:{\"to\":\"/\"}},[_vm._v(\"首页\")])],1),_vm._l((_vm.categories),function(category){return _c('li',{key:category.id,staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",class:{ active: _vm.$route.params.id == category.id },attrs:{\"to\":`/category/${category.id}`}},[_vm._v(\" \"+_vm._s(category.name)+\" \")])],1)})],2):_vm._e()])]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./HeaderNav.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./HeaderNav.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./HeaderNav.vue?vue&type=template&id=4f75d8c8&scoped=true\"\nimport script from \"./HeaderNav.vue?vue&type=script&lang=js\"\nexport * from \"./HeaderNav.vue?vue&type=script&lang=js\"\nimport style0 from \"./HeaderNav.vue?vue&type=style&index=0&id=4f75d8c8&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4f75d8c8\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-container\"},[_c('div',{staticClass:\"footer-top\"},[_vm._l((_vm.nonQrcodeColumns),function(column,index){return _c('div',{key:column.id,staticClass:\"footer-column\"},[_c('h3',[_vm._v(_vm._s(column.title))]),_c('ul',_vm._l((column.list),function(item,itemIndex){return _c('li',{key:itemIndex,style:({cursor: index < 4 ? 'pointer' : ''}),on:{\"click\":function($event){index < 4 ? _vm.gotoDetail(item): ''}}},[_vm._v(\" \"+_vm._s(item.title)+\" \")])}),0)])}),_c('div',{staticClass:\"qrcode-group\"},_vm._l((_vm.qrcodeColumn.list),function(item,index){return _c('div',{key:index,staticClass:\"qrcode-item\"},[_c('img',{staticStyle:{\"width\":\"100px\",\"height\":\"100px\"},attrs:{\"src\":_vm.util.showImg(item.image)}}),_c('p',[_vm._v(_vm._s(item.title))])])}),0)],2),_vm._m(0)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-bottom\"},[_c('p',[_vm._v(\"版权所有 苏州市特色农产品发展有限公司 | 苏ICP备2023023300号-1\")]),_c('p',[_vm._v(\"本网站由 江苏大运远见文化科技发展有限公司 运营维护\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Footer.vue?vue&type=template&id=3080ae3e&scoped=true\"\nimport script from \"./Footer.vue?vue&type=script&lang=js\"\nexport * from \"./Footer.vue?vue&type=script&lang=js\"\nimport style0 from \"./Footer.vue?vue&type=style&index=0&id=3080ae3e&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3080ae3e\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"sidebar-container\"},[_c('div',{staticClass:\"sidebar-item\",on:{\"click\":_vm.handleCartClick}},[_c('el-badge',{staticClass:\"item-badge\",attrs:{\"value\":_vm.$store.getters.getCartTotalCount}},[_c('i',{staticClass:\"el-icon-shopping-cart-full\"})]),_c('div',{staticClass:\"item-text\"},[_vm._v(\"购物车\")])],1),_c('div',{staticClass:\"sidebar-item\",on:{\"click\":_vm.handleServiceClick}},[_c('i',{staticClass:\"el-icon-headset\"}),_c('div',{staticClass:\"item-text\"},[_vm._v(\"在线客服\")])]),_c('div',{staticClass:\"sidebar-item back-to-top\",class:{ active: _vm.isShowBackTop },on:{\"click\":_vm.handleBackToTop}},[_c('i',{staticClass:\"el-icon-caret-top\"}),_c('div',{staticClass:\"item-text\"},[_vm._v(\"回到顶部\")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","// index.js\nimport Vue from 'vue'\nimport Vuex from 'vuex'\nimport createPersistedState from 'vuex-persistedstate'\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n plugins: [\n createPersistedState({\n storage: window.localStorage,\n reducer(val) {\n return {\n cart: val.cart,\n user: val.user\n }\n }\n })\n ],\n state: {\n // 购物车状态\n cart: {\n items: [], // 购物车商品列表\n totalCount: 0, // 商品总数\n totalPrice: 0 // 商品总价\n },\n // 用户状态\n user: {\n isLogin: false,\n info: null,\n token: ''\n },\n // 分类数据\n categories: [],\n // 全局加载状态\n loading: false,\n searchText: '', // 存储搜索词\n // 存储订单数据\n orderData: null\n },\n mutations: {\n // 设置订单数据\n setOrderData(state, data) {\n state.orderData = data\n },\n // 清空订单数据\n clearOrderData(state) {\n state.orderData = null\n },\n // 更新分类数据\n UPDATE_CATEGORIES(state, categories) {\n state.categories = categories\n },\n \n // 更新加载状态\n UPDATE_LOADING(state, status) {\n state.loading = status\n },\n \n // 用户登录\n USER_LOGIN(state, { userInfo, token }) {\n state.user.isLogin = true\n state.user.info = userInfo\n state.user.token = token\n localStorage.setItem('token', token)\n },\n \n // 用户登出\n USER_LOGOUT(state) {\n state.user.isLogin = false\n state.user.info = null\n state.user.token = ''\n localStorage.removeItem('token')\n state.cart.totalCount = 0\n },\n \n // 更新购物车总数\n UPDATE_CART_TOTAL_COUNT(state, count) {\n state.cart.totalCount = count\n },\n\n setSearchText(state, text) {\n state.searchText = text;\n }\n },\n actions: {\n // 提交订单数据\n submitOrderData({ commit }, data) {\n commit('setOrderData', data)\n },\n // 获取分类数据\n fetchCategories({ commit }) {\n commit('UPDATE_LOADING', true)\n // 模拟API请求\n return new Promise(resolve => {\n setTimeout(() => {\n const categories = [\n { id: 1, name: '电子产品', icon: 'el-icon-laptop' },\n { id: 2, name: '服装鞋帽', icon: 'el-icon-shopping-bag-1' },\n { id: 3, name: '家居用品', icon: 'el-icon-home' },\n { id: 4, name: '美妆个护', icon: 'el-icon-present' },\n { id: 5, name: '食品饮料', icon: 'el-icon-dish' },\n { id: 6, name: '图书音像', icon: 'el-icon-document' }\n ]\n commit('UPDATE_CATEGORIES', categories)\n commit('UPDATE_LOADING', false)\n resolve(categories)\n }, 500)\n })\n },\n\n // 用户登录\n login({ commit, dispatch }, { userInfo, token }) {\n // 先调用 mutation 更新登录状态\n commit('USER_LOGIN', { userInfo, token })\n // 登录成功后,调用获取购物车数量的 action\n dispatch('fetchCartCount')\n },\n \n // 用户登出\n logout({ commit }) {\n commit('USER_LOGOUT')\n },\n \n // 添加商品到购物车\n addToCart({ dispatch }, product) {\n // 调用接口,参数为商品id和数量\n return Vue.prototype.post(\n {\n sku_id: product.id,\n num: product.quantity || 1\n },\n \"/api/cart/add_sku\"\n ).then((res) => {\n if (res) {\n Vue.prototype.$message.success(\"购物车添加成功!\");\n // 添加成功后重新获取购物车数量\n return dispatch('fetchCartCount')\n }\n }).catch((err) => {\n console.error('添加到购物车请求失败', err);\n throw err\n });\n },\n\n // 获取购物车数量\n fetchCartCount({ commit, state }) {\n // 检查是否存在token,不存在则直接返回0\n if (!state.user.token) {\n commit('UPDATE_CART_TOTAL_COUNT', 0)\n return Promise.resolve(0)\n }\n return Vue.prototype.post(\n {},\n \"/api/cart/get_count\"\n ).then((res) => {\n console.log('购物车数量接口返回', res)\n if (res.code == 1) {\n commit('UPDATE_CART_TOTAL_COUNT', res.data)\n }\n return res.data\n }).catch((err) => {\n console.error('获取购物车数量失败', err)\n throw err\n });\n },\n \n // 从购物车移除商品\n removeFromCart({ dispatch }, productId) {\n // 调用删除接口\n return Vue.prototype.post(\n { sku_id: productId },\n \"/api/cart/remove_sku\"\n ).then(() => {\n // 删除成功后重新获取购物车数量\n return dispatch('fetchCartCount')\n }).catch(err => {\n console.error('删除购物车商品失败', err)\n throw err\n })\n },\n \n // 更新购物车商品数量\n updateCartItemQuantity({ dispatch }, { productId, quantity }) {\n // 调用更新数量接口\n return Vue.prototype.post(\n { \n sku_id: productId,\n num: quantity\n },\n \"/api/cart/add_sku\"\n ).then(() => {\n // 更新成功后重新获取购物车数量\n return dispatch('fetchCartCount')\n }).catch(err => {\n console.error('更新购物车商品数量失败', err)\n throw err\n })\n },\n \n // 清空购物车\n clearCart({ dispatch }) {\n // 调用清空接口\n return Vue.prototype.post(\n {},\n \"/api/cart/clear\"\n ).then(() => {\n // 清空成功后重新获取购物车数量\n return dispatch('fetchCartCount')\n }).catch(err => {\n console.error('清空购物车失败', err)\n throw err\n })\n }\n },\n getters: {\n // 获取订单数据\n getOrderData: state => state.orderData,\n\n // 获取分类列表\n getCategories: state => state.categories,\n \n // 获取购物车信息\n getCart: state => state.cart,\n \n // 获取购物车商品总数\n getCartTotalCount: state => state.cart.totalCount,\n \n // 获取用户登录状态\n isUserLogin: state => state.user.isLogin,\n \n // 获取用户信息\n getUserInfo: state => state.user.info,\n \n // 获取加载状态\n getLoadingStatus: state => state.loading,\n\n // 获取搜索词\n getSearchText: state => state.searchText\n }\n})","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Sidebar.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Sidebar.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Sidebar.vue?vue&type=template&id=1a8585cf&scoped=true\"\nimport script from \"./Sidebar.vue?vue&type=script&lang=js\"\nexport * from \"./Sidebar.vue?vue&type=script&lang=js\"\nimport style0 from \"./Sidebar.vue?vue&type=style&index=0&id=1a8585cf&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1a8585cf\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.showBackToTop)?_c('div',{staticClass:\"back-to-top\",on:{\"click\":_vm.scrollToTop}},[_c('el-icon',{attrs:{\"name\":\"el-icon-arrow-up\"}})],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BackToTop.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BackToTop.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./BackToTop.vue?vue&type=template&id=7ea6dee0&scoped=true\"\nimport script from \"./BackToTop.vue?vue&type=script&lang=js\"\nexport * from \"./BackToTop.vue?vue&type=script&lang=js\"\nimport style0 from \"./BackToTop.vue?vue&type=style&index=0&id=7ea6dee0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7ea6dee0\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=2c267866\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=2c267866&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/@vue/vue-loader-v15/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","import Vue from 'vue'\r\nimport Router from 'vue-router'\r\nimport store from '@/store';\r\n\r\nVue.use(Router)\r\n\r\n// 解决重复导航错误\r\nconst originalPush = Router.prototype.push\r\nRouter.prototype.push = function push(location) {\r\n return originalPush.call(this, location).catch(err => {\r\n // 只捕获重复导航的错误,其他错误正常抛出\r\n if (err.name !== 'NavigationDuplicated') {\r\n throw err\r\n }\r\n })\r\n}\r\n\r\nconst router = new Router({\r\n mode: 'history',\r\n base: process.env.BASE_URL,\r\n routes: [\r\n {\r\n path: '/',\r\n name: 'Index',\r\n meta: {\r\n title: '首页 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Index.vue')\r\n },\r\n {\r\n path: '/Login',\r\n name: 'Login',\r\n meta: {\r\n title: '登录 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Login.vue')\r\n },\r\n {\r\n path: '/Register',\r\n name: 'Register',\r\n meta: {\r\n title: '注册 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Register.vue')\r\n },\r\n {\r\n path: '/Home',\r\n name: 'Home',\r\n meta: {\r\n title: '首页 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Home.vue')\r\n },\r\n {\r\n path: '/Detail/:id',\r\n name: 'Detail',\r\n meta: {\r\n title: '首页 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Detail/Index.vue')\r\n },\r\n {\r\n path: '/ProductList',\r\n name: 'ProductList',\r\n meta: {\r\n title: '商品列表',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/ProductPage/Index.vue')\r\n },\r\n {\r\n path: '/ProductReview',\r\n name: 'ProductReview',\r\n meta: {\r\n title: '商品评价',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/ProductPage/ProductReview.vue')\r\n },\r\n {\r\n path: '/NoticeList',\r\n name: 'NoticeList',\r\n meta: {\r\n title: '公告列表',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/notice/noticeList.vue')\r\n },\r\n {\r\n path: '/NoticeDetail',\r\n name: 'NoticeDetail',\r\n meta: {\r\n title: '公告详情',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/notice/noticeDetail.vue')\r\n },\r\n // {\r\n // path: '/category/:id?',\r\n // name: 'Category',\r\n // meta: {\r\n // title: '商品分类 - 精品商城',\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/Category.vue')\r\n // },\r\n // {\r\n // path: '/product/:id',\r\n // name: 'ProductDetail',\r\n // meta: {\r\n // title: '商品详情 - 精品商城',\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/ProductDetail.vue')\r\n // },\r\n // {\r\n // path: '/cart',\r\n // name: 'Cart',\r\n // meta: {\r\n // title: '购物车 - 精品商城',\r\n // requireAuth: true,\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/Cart.vue')\r\n // },\r\n // {\r\n // path: '/checkout',\r\n // name: 'Checkout',\r\n // meta: {\r\n // title: '结算 - 精品商城',\r\n // requireAuth: true,\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/Checkout.vue')\r\n // },\r\n {\r\n path: '/User',\r\n name: 'User',\r\n // meta: { title: '个人中心 - 精品商城',requireAuth: true,keepAlive: false},\r\n component: () => import('@/views/User/Index.vue'),\r\n redirect: '/User/UserCenter',\r\n children: [\r\n {\r\n path:'UserCenter', \r\n name: \"UserCenter\",\r\n // meta: {title: '个人中心 - 精品商城',keepAlive: false,},\r\n component: ()=>import('@/views/User/UserCenter.vue')\r\n },\r\n {\r\n path: 'OrderList',\r\n name: 'OrderList',\r\n meta: { title: '我的订单 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderList.vue')\r\n },\r\n {\r\n path: 'UserInfo',\r\n name: 'UserInfo',\r\n meta: { title: '个人信息 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/UserInfo.vue')\r\n },\r\n {\r\n path: 'ViewHistory',\r\n name: 'ViewHistory',\r\n meta: { title: '我的足迹 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/ViewHistory.vue')\r\n },\r\n {\r\n path: 'UserAddress',\r\n name: 'UserAddress',\r\n meta: { title: '我的收货地址 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/UserAddress.vue')\r\n },\r\n {\r\n path: 'UserInvoice',\r\n name: 'UserInvoice',\r\n meta: { title: '发票抬头 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/UserInvoice.vue')\r\n },\r\n {\r\n path: 'UserInvoiceList',\r\n name: 'UserInvoiceList',\r\n meta: { title: '我的发票 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/UserInvoiceList.vue')\r\n },\r\n {\r\n path: 'ShoppingCart',\r\n name: 'ShoppingCart',\r\n meta: { title: '购物车 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/ShoppingCart.vue')\r\n },\r\n {\r\n path: 'CommentManage',\r\n name: 'CommentManage',\r\n meta: { title: '评价管理 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/CommentManage.vue')\r\n },\r\n {\r\n path: 'ContractList',\r\n name: 'ContractList',\r\n meta: { title: '合同管理 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/ContractList.vue')\r\n },\r\n {\r\n path: 'MessageList',\r\n name: 'MessageList',\r\n meta: { title: '消息中心 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/MessageList.vue')\r\n },\r\n {\r\n path: 'PurchaserAdd',\r\n name: 'PurchaserAdd',\r\n meta: { title: '添加采购单位信息 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/PurchaserAdd.vue')\r\n },\r\n ],\r\n },\r\n {\r\n path: '/Order',\r\n name: 'Order',\r\n meta: { title: '下单', keepAlive: false },\r\n component: () => import('@/views/Order/Index.vue')\r\n },\r\n {\r\n path: '/OrderDetail',\r\n name: 'OrderDetail',\r\n meta: { title: '订单详情 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/Order/OrderDetail.vue')\r\n },\r\n \r\n {\r\n path: '/OrderPay',\r\n name: 'OrderPay',\r\n meta: { title: '订单支付 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderPay.vue')\r\n },\r\n {\r\n path: '/OrderPayB2B',\r\n name: 'OrderPayB2B',\r\n meta: { title: '订单支付 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderPayB2B.vue')\r\n },\r\n {\r\n path: '/OrderPayCode',\r\n name: 'OrderPayCode',\r\n meta: { title: '订单支付 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderPayCode.vue')\r\n },\r\n {\r\n path: '/OrderPaySuccess',\r\n name: 'OrderPaySuccess',\r\n meta: { title: '订单支付 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderPaySuccess.vue')\r\n },\r\n \r\n // {\r\n // path: '/user/orders/:id',\r\n // name: 'OrderDetail',\r\n // meta: {\r\n // title: '订单详情 - 精品商城',\r\n // requireAuth: true,\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/OrderDetail.vue')\r\n // },\r\n // {\r\n // path: '*',\r\n // name: 'NotFound',\r\n // meta: {\r\n // title: '页面不存在 - 精品商城',\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/NotFound.vue')\r\n // }\r\n ],\r\n scrollBehavior(to, from, savedPosition) {\r\n // 页面滚动到顶部\r\n return { x: 0, y: 0 }\r\n }\r\n})\r\n\r\n// 路由守卫\r\nrouter.beforeEach((to, from, next) => {\r\n // 设置页面标题\r\n if (to.meta.title) {\r\n document.title = to.meta.title\r\n }\r\n \r\n // 验证登录状态\r\n if (to.meta.requireAuth) {\r\n const token = store.state.user?.info?.token || '';\r\n if (token) {\r\n next()\r\n } else {\r\n next({\r\n path: '/Login',\r\n query: { redirect: to.fullPath }\r\n })\r\n }\r\n } else {\r\n next()\r\n }\r\n})\r\n\r\nexport default router","import Vue from 'vue'\r\nimport axios from \"axios\";\r\nimport { Message, MessageBox, Loading } from \"element-ui\"; // 引入 Element UI 组件\r\nimport store from '@/store';\r\nimport router from \"@/router\"\r\n\r\nconst http = axios.create({\r\n timeout: 6000 // 请求超时时间\r\n})\r\n\r\n// 添加请求拦截器\r\nhttp.interceptors.request.use((config) => {\r\n const { customBaseURL } = config.params || config.data || {};\r\n if (customBaseURL) {\r\n config.baseURL = customBaseURL;\r\n if (config.params) {\r\n delete config.params.customBaseURL;\r\n } else if (config.data) {\r\n delete config.data.customBaseURL;\r\n }\r\n } else {\r\n config.baseURL = process.env.VUE_APP_URL;\r\n }\r\n \r\n const token = store.state.user?.info?.token || '';\r\n config.headers['token'] = token || \"\"\r\n // config.headers['token'] = token || \"745f2b4c-49b7-4393-bf58-bc380a87149a\";\r\n config.headers['Content-Type'] = 'application/json;charset=UTF-8';\r\n\r\n // 统一添加 platform_type = 2 参数\r\n // GET 请求在 params 中添加\r\n if (config.method?.toLowerCase() === 'get') {\r\n config.params = {\r\n platform_type: 2,\r\n ...config.params\r\n };\r\n } \r\n // POST 等其他请求在 data 中添加\r\n else {\r\n config.data = {\r\n platform_type: 2,\r\n ...config.data\r\n };\r\n }\r\n \r\n // 显示加载中状态(Element UI 的 Loading)\r\n if (config.loading !== false) { // 默认显示,可通过参数关闭\r\n config.loadingInstance = Loading.service({\r\n lock: true,\r\n text: '加载中...',\r\n background: 'rgba(0, 0, 0, 0.7)'\r\n });\r\n }\r\n \r\n return config;\r\n}, (error) => {\r\n return Promise.reject(error);\r\n});\r\n\r\n// 添加响应拦截器\r\nhttp.interceptors.response.use(response => {\r\n // 关闭加载状态\r\n if (response.config.loadingInstance) {\r\n response.config.loadingInstance.close();\r\n }\r\n \r\n if (response.status === 200 || response.status === 1) {\r\n const resData = response.data;\r\n // 假设接口约定 code 为 0 或 200 时表示业务成功(可根据实际情况修改)\r\n if (resData.code === 1 || resData.code === 200) {\r\n return resData;\r\n } else {\r\n // code 不符合预期时显示错误提示,优先使用接口返回的消息\r\n const errorMsg = resData.msg || `业务处理失败,错误码:${resData.code}`;\r\n MessageBox.alert(errorMsg, '错误提示', {\r\n confirmButtonText: '确定',\r\n type: 'error'\r\n }).then(() => {\r\n if (resData.code === 401) {\r\n // 存储当前路由(排除登录页自身,避免死循环)\r\n const currentPath = router.currentRoute.fullPath;\r\n if (currentPath !== '/Login') { // 假设登录页路径是 /Login\r\n localStorage.setItem('redirectPath', currentPath); // 存到本地存储\r\n }\r\n // 登录操作\r\n router.push(\"/Login\")\r\n }\r\n }).catch(() => {\r\n \r\n });\r\n // return Promise.reject(new Error(errorMsg));\r\n }\r\n } else {\r\n // HTTP状态码非200和1时的弹框提示\r\n const errorMsg = `请求失败,状态码:${response.status}`;\r\n MessageBox.alert(errorMsg, '错误提示', {\r\n confirmButtonText: '确定',\r\n type: 'error'\r\n });\r\n return Promise.reject(new Error(errorMsg));\r\n }\r\n}, error => {\r\n // 关闭加载状态\r\n if (error.config && error.config.loadingInstance) {\r\n error.config.loadingInstance.close();\r\n }\r\n \r\n if (error.response && error.response.status) {\r\n switch (error.response.status) {\r\n case 401:\r\n MessageBox.confirm('请登录后操作', '提示', {\r\n confirmButtonText: '去登录',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n }).then(() => {\r\n // 登录操作\r\n router.push(\"/Login\")\r\n }).catch(() => {\r\n // 取消登录回调\r\n });\r\n break;\r\n case 404:\r\n Message({\r\n message: '网络繁忙,请刷新再试',\r\n type: 'error',\r\n duration: 2000\r\n });\r\n break;\r\n default:\r\n Message({\r\n message: '网络繁忙,请刷新再试',\r\n type: 'error',\r\n duration: 2000\r\n });\r\n break;\r\n }\r\n }\r\n return Promise.reject(error);\r\n});\r\n\r\n// 请求方法挂载\r\nVue.prototype.get = (params, url, loading = false) => {\r\n return new Promise((resolve, reject) => {\r\n http.get(url, { \r\n params,\r\n loading // 传递加载状态参数\r\n })\r\n .then(res => {\r\n resolve(res);\r\n })\r\n .catch(err => {\r\n reject(err);\r\n });\r\n })\r\n}\r\n\r\nVue.prototype.post = (data, url, loading = false) => {\r\n return new Promise((resolve, reject) => {\r\n http.post(url, data, {\r\n loading // 传递加载状态参数\r\n })\r\n .then(res => {\r\n resolve(res);\r\n })\r\n .catch(err => {\r\n reject(err);\r\n });\r\n })\r\n}","export default {\r\n\tinstall(Vue) {\r\n\t\tVue.prototype.util = {\r\n\t\t\t// 格式化富文本\r\n\t\t\tformateRichText(str) {\r\n\t\t\t\tif (!str) return \"\";\r\n\t\t\t\tvar reg = new RegExp(\"')\r\n\t\t\t\treg = new RegExp(\"section\", \"g\");\r\n\t\t\t\tstr = str.replace(reg, 'div');\r\n\t\t\t\treg = new RegExp(\"↵\", \"g\");\r\n\t\t\t\tstr = str.replace(reg, '
');\r\n\t\t\t\tstr = str.replace(/
{\r\n\t\t\t\t\treader.onload = () => {\r\n\t\t\t\t\t\tresolve(reader.result);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t},\r\n\r\n\t\t\tcopyId(value) {\r\n\t\t\t\tconst input = document.createElement('input');\r\n\t\t\t\tinput.value = value;\r\n\t\t\t\tdocument.body.appendChild(input);\r\n\t\t\t\tinput.select();\r\n\t\t\t\tdocument.execCommand('copy');\r\n\t\t\t\tdocument.body.removeChild(input);\r\n\t\t\t\t\r\n\t\t\t\tVue.prototype.$message({\r\n\t\t\t\t\tmessage: '复制成功',\r\n\t\t\t\t\ttype: 'success'\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n}\r\n","import Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport store from './store'\nimport ElementUI from 'element-ui'\nimport 'element-ui/lib/theme-chalk/index.css'\nimport VueLazyload from 'vue-lazyload'\nimport '@/assets/css/common.scss'\nimport '../src/libs/axios.js' // axios处理\n\nimport utils from './libs/utils.js'\nVue.use(utils)\n\n// 全局配置\nVue.config.productionTip = false\nVue.use(ElementUI)\n\n// 配置图片懒加载\nVue.use(VueLazyload, {\n preLoad: 1.3, // 预加载高度比例\n error: require('./assets/logo.png'),\n loading: require('./assets/logo.png'),\n attempt: 3, // 增加尝试次数\n listenEvents: ['scroll', 'wheel', 'mousewheel', 'resize', 'animationend', 'transitionend', 'touchmove'], // 确保监听事件完整\n adapter: {\n // 增加加载状态日志\n loaded({ bindType, el, naturalHeight, naturalWidth, $parent, src, loading, error, Init }) {\n console.log('图片加载完成:', src)\n },\n error({ bindType, el, error, $parent, src, loading }) {\n console.log('图片加载失败:', src)\n }\n }\n})\n\n// 全局挂载公共路由跳转方法\nVue.prototype.gotoPath = function(path, options = {}) {\n // 1. 避免重复跳转同一页面\n const currentPath = this.$router.currentRoute.fullPath\n if (path === currentPath) {\n return\n }\n\n try {\n // 2. 支持两种跳转方式:路径字符串或配置对象\n if (typeof path === 'string') {\n // 字符串路径,可附带query参数\n this.$router.push({\n path,\n query: options.query || {}\n })\n } else if (typeof path === 'object') {\n // 直接传入路由配置对象(如命名路由)\n this.$router.push(path)\n }\n \n // 3. 可选的跳转成功回调\n if (typeof options.success === 'function') {\n options.success()\n }\n } catch (error) {\n // 4. 错误处理\n console.error('路由跳转失败:', error)\n if (typeof options.fail === 'function') {\n options.fail(error)\n }\n }\n}\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n store,\n components: { App },\n template: ''\n})\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + {\"15\":\"4bb1e723\",\"29\":\"2ece41d9\",\"33\":\"ca85dca8\",\"169\":\"33f72ed2\",\"208\":\"50f78b20\",\"220\":\"18d44668\",\"244\":\"940fed0d\",\"309\":\"22b35bd1\",\"441\":\"4765143b\",\"452\":\"0b1eacbe\",\"462\":\"1343c7cb\",\"511\":\"0688274b\",\"601\":\"1c95e2ee\",\"610\":\"e58479c0\",\"612\":\"0689f662\",\"625\":\"2eff891d\",\"630\":\"d2996537\",\"645\":\"6f496112\",\"677\":\"bb7c2f70\",\"700\":\"d2d5f812\",\"729\":\"b8e5cf01\",\"750\":\"df13650b\",\"828\":\"deb87761\",\"838\":\"3bd96d59\",\"839\":\"168e7d6e\",\"856\":\"74bafc60\",\"989\":\"ec009c2e\",\"995\":\"b05470f0\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".\" + {\"15\":\"4b379120\",\"29\":\"2661f71c\",\"33\":\"5507be5a\",\"169\":\"a7db186a\",\"208\":\"268eb302\",\"220\":\"409c24a4\",\"244\":\"edd4b6a0\",\"309\":\"30b103d9\",\"441\":\"edf1b234\",\"452\":\"42e712d8\",\"462\":\"5ae3b03a\",\"511\":\"e8e92a52\",\"601\":\"91c548ed\",\"610\":\"360ae5ed\",\"625\":\"61284e77\",\"630\":\"e6d20e0d\",\"645\":\"99db2dd8\",\"677\":\"51eebda5\",\"700\":\"5f484165\",\"729\":\"fe6c8382\",\"750\":\"f4921ea4\",\"828\":\"9419445b\",\"838\":\"4c0b65d7\",\"839\":\"7922504b\",\"856\":\"669cb47e\",\"989\":\"f060a013\",\"995\":\"81403639\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"shiweisuzhou:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tif (__webpack_require__.nc) {\n\t\tlinkTag.nonce = __webpack_require__.nc;\n\t}\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t524: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"15\":1,\"29\":1,\"33\":1,\"169\":1,\"208\":1,\"220\":1,\"244\":1,\"309\":1,\"441\":1,\"452\":1,\"462\":1,\"511\":1,\"601\":1,\"610\":1,\"625\":1,\"630\":1,\"645\":1,\"677\":1,\"700\":1,\"729\":1,\"750\":1,\"828\":1,\"838\":1,\"839\":1,\"856\":1,\"989\":1,\"995\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr\n\n// no prefetching\n\n// no preloaded","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t524: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkshiweisuzhou\"] = self[\"webpackChunkshiweisuzhou\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [504], function() { return __webpack_require__(7421); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["render","_vm","this","_c","_self","attrs","$route","name","_e","staticClass","staticRenderFns","_v","isLogin","directives","rawName","value","userInfo","avatar","expression","_s","username","cartTotalCount","on","handleLogout","$event","searchText","nativeOn","type","indexOf","_k","keyCode","key","handleSearch","apply","arguments","model","callback","$$v","slot","hotList","length","_l","item","index","staticStyle","categories","data","computed","mapGetters","getCategories","getCartTotalCount","isUserLogin","getUserInfo","created","fetchCategories","post","offset","limit","then","res","methods","mapActions","trim","$store","commit","path","$router","push","query","keyword","$confirm","confirmButtonText","cancelButtonText","logout","$message","success","localStorage","setItem","catch","err","error","message","component","nonQrcodeColumns","column","id","title","list","itemIndex","style","cursor","gotoDetail","qrcodeColumn","util","showImg","image","_m","filter","find","mounted","forEach","get","type_id","link_url","window","location","href","handleCartClick","getters","handleServiceClick","class","active","isShowBackTop","handleBackToTop","Vue","use","Vuex","plugins","createPersistedState","storage","reducer","val","cart","user","state","items","totalCount","totalPrice","info","token","loading","orderData","mutations","setOrderData","clearOrderData","UPDATE_CATEGORIES","UPDATE_LOADING","status","USER_LOGIN","USER_LOGOUT","removeItem","UPDATE_CART_TOTAL_COUNT","count","setSearchText","text","actions","submitOrderData","Promise","resolve","setTimeout","icon","login","dispatch","addToCart","product","prototype","sku_id","num","quantity","console","fetchCartCount","log","code","removeFromCart","productId","updateCartItemQuantity","clearCart","getOrderData","getCart","getLoadingStatus","getSearchText","cartCount","scrollTimer","addEventListener","handleScroll","beforeDestroy","removeEventListener","clearTimeout","store","scrollTo","top","behavior","pageYOffset","showBackToTop","scrollToTop","setInterval","position","Math","max","clearInterval","components","HeaderNav","Footer","BackToTop","Sidebar","Router","originalPush","call","router","mode","base","process","routes","meta","keepAlive","redirect","children","scrollBehavior","to","from","savedPosition","x","y","beforeEach","next","document","requireAuth","fullPath","http","axios","create","timeout","interceptors","request","config","customBaseURL","params","baseURL","headers","method","toLowerCase","platform_type","loadingInstance","Loading","service","lock","background","reject","response","close","errorMsg","MessageBox","alert","Error","resData","msg","currentPath","currentRoute","confirm","Message","duration","url","install","formateRichText","str","reg","RegExp","replace","mobileValid","test","idNumberValid","passportValid","taiwanValid","gangaoValid","foreignerValid","officerValid","emailValid","getUrlPara","arrUrl","split","para","img","imgToBase64","reader","FileReader","readAsDataURL","onload","result","copyId","input","createElement","body","appendChild","select","execCommand","removeChild","utils","productionTip","ElementUI","VueLazyload","preLoad","require","attempt","listenEvents","adapter","loaded","bindType","el","naturalHeight","naturalWidth","$parent","src","Init","gotoPath","options","fail","App","template","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","amdO","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","f","e","chunkId","all","reduce","promises","u","miniCssF","g","globalThis","Function","obj","prop","hasOwnProperty","inProgress","dataWebpackPrefix","l","done","script","needAttach","scripts","getElementsByTagName","s","getAttribute","charset","nc","setAttribute","onScriptComplete","prev","event","onerror","doneFns","parentNode","bind","target","head","Symbol","toStringTag","nmd","paths","p","createStylesheet","fullhref","oldTag","linkTag","rel","nonce","onLinkComplete","errorType","realHref","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","installedChunks","installedChunkData","promise","loadingEnded","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/src/components/product/LogisticsModal.vue b/src/components/product/LogisticsModal.vue new file mode 100644 index 0000000..f31f631 --- /dev/null +++ b/src/components/product/LogisticsModal.vue @@ -0,0 +1,205 @@ + + + + + diff --git a/src/views/Order/OrderDetail.vue b/src/views/Order/OrderDetail.vue index 22a0a5a..45b71df 100644 --- a/src/views/Order/OrderDetail.vue +++ b/src/views/Order/OrderDetail.vue @@ -94,7 +94,12 @@ deliveryInfo.expectedDeliveryTime }} --> - + {{ info.pay_method_text }} @@ -153,6 +158,29 @@
¥{{ row.paid_money / 100 }}
+ + + @@ -171,12 +199,25 @@
+ + + diff --git a/src/views/User/OrderList.vue b/src/views/User/OrderList.vue index 7935fa1..2491462 100644 --- a/src/views/User/OrderList.vue +++ b/src/views/User/OrderList.vue @@ -142,6 +142,13 @@ 商品详情 + 查看物流 提醒发货 --> - 查看物流 + > --> @@ -226,12 +233,19 @@ > + + +