diff --git a/dist/css/253.12c9c435.css b/dist/css/253.12c9c435.css
deleted file mode 100644
index e288ee5..0000000
--- a/dist/css/253.12c9c435.css
+++ /dev/null
@@ -1 +0,0 @@
-.bg[data-v-0e9c5623]{display:flex;flex-direction:column}.bg[data-v-0e9c5623] .el-button--text,.bg[data-v-0e9c5623] .el-tabs__item.is-active{color:#6a8a27}.bg[data-v-0e9c5623] .el-tabs__active-bar{background-color:#6a8a27}.bg[data-v-0e9c5623] .el-tabs__item:hover{color:#6a8a27}.filter-bar[data-v-0e9c5623]{margin-bottom:20px}.order-card[data-v-0e9c5623]{border:1px solid #eee;border-radius:4px;margin-bottom:20px;overflow:hidden}.order-header[data-v-0e9c5623]{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-0e9c5623]{padding:10px 20px}.product-item[data-v-0e9c5623]{display:flex;align-items:center;padding:15px 0;border-bottom:1px dashed #eee;font-size:14px}.product-item[data-v-0e9c5623]:last-child{border-bottom:none}.product-image[data-v-0e9c5623]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:15px;border-radius:4px}.product-details[data-v-0e9c5623]{flex:1}.product-name[data-v-0e9c5623]{color:#333;margin-bottom:5px}.product-spec[data-v-0e9c5623]{color:#999;font-size:12px}.product-price[data-v-0e9c5623]{width:120px;text-align:center;color:#333}.product-quantity[data-v-0e9c5623]{width:100px;text-align:center;color:#666}.product-total[data-v-0e9c5623]{width:120px;text-align:center;color:#333;font-weight:500}.product-actions[data-v-0e9c5623],.product-status[data-v-0e9c5623]{width:150px;text-align:center}.order-footer[data-v-0e9c5623]{background-color:#f8f9fa;padding:15px 20px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee}.order-summary[data-v-0e9c5623]{text-align:right}.order-amount[data-v-0e9c5623]{color:#333;margin-bottom:5px}.order-amount strong[data-v-0e9c5623]{color:#ff4d4f;font-size:16px}.order-tips[data-v-0e9c5623]{font-size:12px;color:#999}.order-actions[data-v-0e9c5623]{display:flex;gap:10px}
\ No newline at end of file
diff --git a/dist/css/28.71040a2a.css b/dist/css/28.71040a2a.css
deleted file mode 100644
index ef39b63..0000000
--- a/dist/css/28.71040a2a.css
+++ /dev/null
@@ -1 +0,0 @@
-.bg[data-v-7926bfa2]{display:flex;flex-direction:column}.bg[data-v-7926bfa2] .el-button--text,.bg[data-v-7926bfa2] .el-tabs__item.is-active{color:#6a8a27}.bg[data-v-7926bfa2] .el-tabs__active-bar{background-color:#6a8a27}.bg[data-v-7926bfa2] .el-tabs__item:hover{color:#6a8a27}.filter-bar[data-v-7926bfa2]{margin-bottom:20px}.order-card[data-v-7926bfa2]{border:1px solid #eee;border-radius:4px;margin-bottom:20px;overflow:hidden}.order-header[data-v-7926bfa2]{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-7926bfa2]{padding:10px 20px}.product-item[data-v-7926bfa2]{display:flex;align-items:center;padding:15px 0;border-bottom:1px dashed #eee;font-size:14px}.product-item[data-v-7926bfa2]:last-child{border-bottom:none}.product-image[data-v-7926bfa2]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:15px;border-radius:4px}.product-details[data-v-7926bfa2]{flex:1}.product-name[data-v-7926bfa2]{color:#333;margin-bottom:5px}.product-spec[data-v-7926bfa2]{color:#999;font-size:12px}.product-price[data-v-7926bfa2]{width:120px;text-align:center;color:#333}.product-quantity[data-v-7926bfa2]{width:100px;text-align:center;color:#666}.product-total[data-v-7926bfa2]{width:120px;text-align:center;color:#333;font-weight:500}.product-actions[data-v-7926bfa2],.product-status[data-v-7926bfa2]{width:150px;text-align:center}.order-footer[data-v-7926bfa2]{background-color:#f8f9fa;padding:15px 20px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee}.order-summary[data-v-7926bfa2]{text-align:right}.order-amount[data-v-7926bfa2]{color:#333;margin-bottom:5px}.order-amount strong[data-v-7926bfa2]{color:#ff4d4f;font-size:16px}.order-tips[data-v-7926bfa2]{font-size:12px;color:#999}.order-actions[data-v-7926bfa2]{display:flex;gap:10px}
\ No newline at end of file
diff --git a/dist/css/315.147313e3.css b/dist/css/315.147313e3.css
new file mode 100644
index 0000000..b34a794
--- /dev/null
+++ b/dist/css/315.147313e3.css
@@ -0,0 +1 @@
+.announcement-container[data-v-34e6c3de]{max-width:1200px;margin:0 auto;padding:20px}.page-title[data-v-34e6c3de]{font-size:20px;font-weight:700;color:#333;margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid #eee}.detail[data-v-34e6c3de]{background:#fff;padding:20px}@media (max-width:768px){.search-input[data-v-34e6c3de]{width:100%}.announcement-header[data-v-34e6c3de]{flex-direction:column;align-items:flex-start}.announcement-date[data-v-34e6c3de]{margin-top:5px}}
\ No newline at end of file
diff --git a/dist/css/331.aa77b66c.css b/dist/css/331.aa77b66c.css
new file mode 100644
index 0000000..9085a9a
--- /dev/null
+++ b/dist/css/331.aa77b66c.css
@@ -0,0 +1 @@
+.region-selector[data-v-7d3ebefd]{display:flex;gap:10px;flex-wrap:wrap}.region-select[data-v-7d3ebefd]{min-width:180px;flex:1;max-width:30%}.order-page[data-v-6320bcaa]{max-width:1200px;margin:0 auto;padding:20px;background-color:#fff;border:1px solid #e6e6e6;border-radius:4px}.order-page .page-header[data-v-6320bcaa]{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.order-page .page-header h2[data-v-6320bcaa]{font-size:18px;font-weight:500;color:#333;margin:0}.order-page .page-header .address-book-btn[data-v-6320bcaa]{color:#409eff}.order-page .info-section[data-v-6320bcaa]{margin-bottom:20px}.order-page .info-section h3[data-v-6320bcaa]{font-size:16px;font-weight:500;color:#333;margin-bottom:15px;padding-bottom:5px;border-bottom:1px solid #f0f0f0}.order-page .info-section .address-item[data-v-6320bcaa],.order-page .info-section .invoice-address-item[data-v-6320bcaa],.order-page .info-section .invoice-title-item[data-v-6320bcaa],.order-page .info-section .invoice-type-item[data-v-6320bcaa],.order-page .info-section .trade-type-item[data-v-6320bcaa]{margin-bottom:15px;display:flex;align-items:center}.order-page .info-section .address-item .label[data-v-6320bcaa],.order-page .info-section .invoice-address-item .label[data-v-6320bcaa],.order-page .info-section .invoice-title-item .label[data-v-6320bcaa],.order-page .info-section .invoice-type-item .label[data-v-6320bcaa],.order-page .info-section .trade-type-item .label[data-v-6320bcaa]{width:120px;color:#666;font-size:14px;padding-top:5px}.order-page .info-section .address-item .address-content[data-v-6320bcaa],.order-page .info-section .invoice-address-item .address-content[data-v-6320bcaa],.order-page .info-section .invoice-title-item .address-content[data-v-6320bcaa],.order-page .info-section .invoice-type-item .address-content[data-v-6320bcaa],.order-page .info-section .trade-type-item .address-content[data-v-6320bcaa]{flex:1}.order-page .info-section .address-item .saved-address[data-v-6320bcaa],.order-page .info-section .invoice-address-item .saved-address[data-v-6320bcaa],.order-page .info-section .invoice-title-item .saved-address[data-v-6320bcaa],.order-page .info-section .invoice-type-item .saved-address[data-v-6320bcaa],.order-page .info-section .trade-type-item .saved-address[data-v-6320bcaa]{margin-bottom:10px;display:flex;align-items:center;flex-wrap:wrap;padding:8px;border:1px solid #e6e6e6;border-radius:4px;width:100%;cursor:pointer;transition:all .3s}.order-page .info-section .address-item .saved-address.selected[data-v-6320bcaa],.order-page .info-section .invoice-address-item .saved-address.selected[data-v-6320bcaa],.order-page .info-section .invoice-title-item .saved-address.selected[data-v-6320bcaa],.order-page .info-section .invoice-type-item .saved-address.selected[data-v-6320bcaa],.order-page .info-section .trade-type-item .saved-address.selected[data-v-6320bcaa]{border-color:#6a8a27;background-color:rgba(106,138,39,.05)}.order-page .info-section .address-item .saved-address .name-tag[data-v-6320bcaa],.order-page .info-section .invoice-address-item .saved-address .name-tag[data-v-6320bcaa],.order-page .info-section .invoice-title-item .saved-address .name-tag[data-v-6320bcaa],.order-page .info-section .invoice-type-item .saved-address .name-tag[data-v-6320bcaa],.order-page .info-section .trade-type-item .saved-address .name-tag[data-v-6320bcaa]{background-color:#f8f8f8;color:#333;padding:2px 6px;border-radius:3px;margin-right:10px;font-size:13px}.order-page .info-section .address-item .saved-address .detail[data-v-6320bcaa],.order-page .info-section .invoice-address-item .saved-address .detail[data-v-6320bcaa],.order-page .info-section .invoice-title-item .saved-address .detail[data-v-6320bcaa],.order-page .info-section .invoice-type-item .saved-address .detail[data-v-6320bcaa],.order-page .info-section .trade-type-item .saved-address .detail[data-v-6320bcaa]{flex:1;font-size:14px;color:#666;min-width:200px;margin-bottom:5px}.order-page .info-section .address-item .saved-address .delete-btn[data-v-6320bcaa],.order-page .info-section .address-item .saved-address .edit-btn[data-v-6320bcaa],.order-page .info-section .address-item .saved-address .set-default-btn[data-v-6320bcaa],.order-page .info-section .invoice-address-item .saved-address .delete-btn[data-v-6320bcaa],.order-page .info-section .invoice-address-item .saved-address .edit-btn[data-v-6320bcaa],.order-page .info-section .invoice-address-item .saved-address .set-default-btn[data-v-6320bcaa],.order-page .info-section .invoice-title-item .saved-address .delete-btn[data-v-6320bcaa],.order-page .info-section .invoice-title-item .saved-address .edit-btn[data-v-6320bcaa],.order-page .info-section .invoice-title-item .saved-address .set-default-btn[data-v-6320bcaa],.order-page .info-section .invoice-type-item .saved-address .delete-btn[data-v-6320bcaa],.order-page .info-section .invoice-type-item .saved-address .edit-btn[data-v-6320bcaa],.order-page .info-section .invoice-type-item .saved-address .set-default-btn[data-v-6320bcaa],.order-page .info-section .trade-type-item .saved-address .delete-btn[data-v-6320bcaa],.order-page .info-section .trade-type-item .saved-address .edit-btn[data-v-6320bcaa],.order-page .info-section .trade-type-item .saved-address .set-default-btn[data-v-6320bcaa]{margin-left:10px;color:#409eff;font-size:13px;padding:0;height:auto}.order-page .info-section .address-item .el-radio[data-v-6320bcaa],.order-page .info-section .invoice-address-item .el-radio[data-v-6320bcaa],.order-page .info-section .invoice-title-item .el-radio[data-v-6320bcaa],.order-page .info-section .invoice-type-item .el-radio[data-v-6320bcaa],.order-page .info-section .trade-type-item .el-radio[data-v-6320bcaa]{margin-right:15px;margin-top:3px}.order-page .info-section .address-item .invoice-title-select[data-v-6320bcaa],.order-page .info-section .invoice-address-item .invoice-title-select[data-v-6320bcaa],.order-page .info-section .invoice-title-item .invoice-title-select[data-v-6320bcaa],.order-page .info-section .invoice-type-item .invoice-title-select[data-v-6320bcaa],.order-page .info-section .trade-type-item .invoice-title-select[data-v-6320bcaa]{width:300px;margin-top:3px}.order-page .info-section .address-item .add-title-btn[data-v-6320bcaa],.order-page .info-section .invoice-address-item .add-title-btn[data-v-6320bcaa],.order-page .info-section .invoice-title-item .add-title-btn[data-v-6320bcaa],.order-page .info-section .invoice-type-item .add-title-btn[data-v-6320bcaa],.order-page .info-section .trade-type-item .add-title-btn[data-v-6320bcaa]{margin-left:10px;color:#409eff;padding:0;height:auto}.order-page .contract-section[data-v-6320bcaa]{margin-bottom:20px;padding:15px;background-color:#f9f9f9;border-radius:4px}.order-page .contract-section h3[data-v-6320bcaa]{font-size:16px;font-weight:500;color:#333;margin-bottom:10px;margin-top:0}.order-page .contract-section p[data-v-6320bcaa]{font-size:14px;color:#666;margin:0}.order-page .goods-section h3[data-v-6320bcaa]{font-size:16px;font-weight:500;color:#333;margin-bottom:15px;padding-bottom:5px;border-bottom:1px solid #f0f0f0}.order-page .goods-section .order-group[data-v-6320bcaa]{margin-bottom:20px;border:1px solid #e6e6e6;border-radius:4px;overflow:hidden}.order-page .goods-section .order-group .supplier-info[data-v-6320bcaa]{background-color:#f5f7fa;padding:10px 15px;font-size:14px;color:#333;border-bottom:1px solid #e6e6e6}.order-page .goods-section .order-group .goods-table[data-v-6320bcaa]{width:100%;border-collapse:collapse}.order-page .goods-section .order-group .goods-table th[data-v-6320bcaa]{background-color:#f5f7fa;text-align:left;padding:10px 15px;border:1px solid #e6e6e6;font-weight:500;color:#333;font-size:14px}.order-page .goods-section .order-group .goods-table td[data-v-6320bcaa]{padding:10px 15px;border:1px solid #e6e6e6;vertical-align:middle;font-size:14px;color:#666}.order-page .goods-section .order-group .goods-table .goods-img[data-v-6320bcaa]{width:50px;height:50px;margin-right:10px;vertical-align:middle;border-radius:4px}.order-page .goods-section .order-group .goods-table .goods-name[data-v-6320bcaa]{vertical-align:middle;max-width:200px;display:inline-block}.order-page .goods-section .order-group .goods-table .subtotal[data-v-6320bcaa]{color:#ff4d4f;font-weight:500}.order-page .goods-section .order-group .order-remark[data-v-6320bcaa]{padding:15px;font-size:14px;color:#666;border-top:1px solid #e6e6e6;background-color:#f9f9f9}.order-page .goods-section .order-group .order-remark .remark-label[data-v-6320bcaa]{display:block;margin-bottom:10px;font-weight:500}.order-page .goods-section .order-group .order-remark .rich-text-editor[data-v-6320bcaa]{border:1px solid #e6e6e6;border-radius:4px;overflow:hidden}.order-page .goods-section .order-group .order-remark .rich-text-editor .remark-editor[data-v-6320bcaa]{border:none;border-bottom:1px solid #e6e6e6;border-radius:0;min-height:100px}.order-page .goods-section .order-group .order-remark .rich-text-editor .editor-toolbar[data-v-6320bcaa]{padding:5px 10px;background-color:#f5f5f5;border-top:1px solid #e6e6e6}.order-page .goods-section .order-group .order-remark .rich-text-editor .editor-toolbar .el-button[data-v-6320bcaa]{margin-right:5px}.order-page .goods-section .total-info[data-v-6320bcaa]{text-align:right;padding:20px;background-color:#f5f7fa;border-radius:4px;margin-top:10px}.order-page .goods-section .total-info p[data-v-6320bcaa]{margin:8px 0;color:#333;font-size:14px}.order-page .goods-section .total-info .pay-amount[data-v-6320bcaa]{font-weight:700;color:#ff4d4f;font-size:16px;margin:15px 0}.order-page .goods-section .total-info .address-info[data-v-6320bcaa]{font-size:13px;color:#999;margin-top:15px;line-height:1.6;text-align:right}.order-page .goods-section .total-info .submit-btn[data-v-6320bcaa]{margin-top:20px;width:150px;height:40px;background-color:#ff4d4f;border:none;font-size:16px}.order-page .goods-section .total-info .submit-btn[data-v-6320bcaa]:hover{background-color:#e03e40}@media(max-width:768px){.order-page[data-v-6320bcaa]{padding:10px}.info-section .address-item[data-v-6320bcaa],.info-section .invoice-address-item[data-v-6320bcaa],.info-section .invoice-title-item[data-v-6320bcaa],.info-section .invoice-type-item[data-v-6320bcaa],.info-section .trade-type-item[data-v-6320bcaa]{flex-direction:column}.info-section .address-item .label[data-v-6320bcaa],.info-section .invoice-address-item .label[data-v-6320bcaa],.info-section .invoice-title-item .label[data-v-6320bcaa],.info-section .invoice-type-item .label[data-v-6320bcaa],.info-section .trade-type-item .label[data-v-6320bcaa]{width:100%;margin-bottom:5px;padding-top:0}.info-section .address-item .saved-address[data-v-6320bcaa],.info-section .invoice-address-item .saved-address[data-v-6320bcaa],.info-section .invoice-title-item .saved-address[data-v-6320bcaa],.info-section .invoice-type-item .saved-address[data-v-6320bcaa],.info-section .trade-type-item .saved-address[data-v-6320bcaa]{flex-direction:column;align-items:flex-start}.info-section .address-item .saved-address .detail[data-v-6320bcaa],.info-section .address-item .saved-address .name-tag[data-v-6320bcaa],.info-section .invoice-address-item .saved-address .detail[data-v-6320bcaa],.info-section .invoice-address-item .saved-address .name-tag[data-v-6320bcaa],.info-section .invoice-title-item .saved-address .detail[data-v-6320bcaa],.info-section .invoice-title-item .saved-address .name-tag[data-v-6320bcaa],.info-section .invoice-type-item .saved-address .detail[data-v-6320bcaa],.info-section .invoice-type-item .saved-address .name-tag[data-v-6320bcaa],.info-section .trade-type-item .saved-address .detail[data-v-6320bcaa],.info-section .trade-type-item .saved-address .name-tag[data-v-6320bcaa]{margin-bottom:8px;width:100%}.info-section .address-item .saved-address .delete-btn[data-v-6320bcaa],.info-section .address-item .saved-address .edit-btn[data-v-6320bcaa],.info-section .address-item .saved-address .set-default-btn[data-v-6320bcaa],.info-section .invoice-address-item .saved-address .delete-btn[data-v-6320bcaa],.info-section .invoice-address-item .saved-address .edit-btn[data-v-6320bcaa],.info-section .invoice-address-item .saved-address .set-default-btn[data-v-6320bcaa],.info-section .invoice-title-item .saved-address .delete-btn[data-v-6320bcaa],.info-section .invoice-title-item .saved-address .edit-btn[data-v-6320bcaa],.info-section .invoice-title-item .saved-address .set-default-btn[data-v-6320bcaa],.info-section .invoice-type-item .saved-address .delete-btn[data-v-6320bcaa],.info-section .invoice-type-item .saved-address .edit-btn[data-v-6320bcaa],.info-section .invoice-type-item .saved-address .set-default-btn[data-v-6320bcaa],.info-section .trade-type-item .saved-address .delete-btn[data-v-6320bcaa],.info-section .trade-type-item .saved-address .edit-btn[data-v-6320bcaa],.info-section .trade-type-item .saved-address .set-default-btn[data-v-6320bcaa]{margin-left:0;margin-right:10px;display:inline-block}.info-section .address-item .invoice-title-select[data-v-6320bcaa],.info-section .invoice-address-item .invoice-title-select[data-v-6320bcaa],.info-section .invoice-title-item .invoice-title-select[data-v-6320bcaa],.info-section .invoice-type-item .invoice-title-select[data-v-6320bcaa],.info-section .trade-type-item .invoice-title-select[data-v-6320bcaa]{width:100%}.goods-section .goods-table[data-v-6320bcaa]{font-size:12px}.goods-section .order-group .goods-table td[data-v-6320bcaa],.goods-section .order-group .goods-table th[data-v-6320bcaa]{padding:8px;font-size:12px}.goods-section .order-group .goods-name[data-v-6320bcaa]{max-width:100px}.goods-section .total-info[data-v-6320bcaa]{padding:15px}.goods-section .total-info .submit-btn[data-v-6320bcaa]{width:100%}}.contract-content[data-v-6320bcaa]{color:#666;line-height:1.8;font-size:14px;overflow-y:auto;max-height:60vh}.dialog-footer[data-v-6320bcaa]{text-align:center}
\ No newline at end of file
diff --git a/dist/css/414.5cfa9941.css b/dist/css/414.5cfa9941.css
deleted file mode 100644
index 0b3ad43..0000000
--- a/dist/css/414.5cfa9941.css
+++ /dev/null
@@ -1 +0,0 @@
-.bg[data-v-00950b26]{display:flex;flex-direction:column}.bg[data-v-00950b26] .el-button--text,.bg[data-v-00950b26] .el-tabs__item.is-active{color:#6a8a27}.bg[data-v-00950b26] .el-tabs__active-bar{background-color:#6a8a27}.bg[data-v-00950b26] .el-tabs__item:hover{color:#6a8a27}.order-card[data-v-00950b26]{border-radius:4px;overflow:hidden}.order-header[data-v-00950b26]{padding:12px 20px;display:flex;align-items:center;background:#f8f9fa;border-bottom:1px solid #999;color:#666;font-size:14px}.order-products[data-v-00950b26]{padding:10px 20px}.product-item[data-v-00950b26]{display:flex;align-items:center;padding:15px 0;border-bottom:1px dashed #eee;font-size:14px}.product-item[data-v-00950b26]:last-child{border-bottom:none}.product-image[data-v-00950b26]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:15px;border-radius:4px}.product-details[data-v-00950b26]{flex:1}.product-name[data-v-00950b26]{color:#333}.product-spec[data-v-00950b26]{color:#999;font-size:12px}.product-box[data-v-00950b26]{width:100px;text-align:center;color:#333}.product-quantity[data-v-00950b26]{width:160px;text-align:center;color:#333}.product-select[data-v-00950b26]{width:80px;color:#333}.product-price[data-v-00950b26]{color:#ff5252}.cart-footer[data-v-00950b26]{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding:15px;background-color:#f5f7fa;border-radius:4px}.selected-info[data-v-00950b26]{color:#666;font-size:14px;padding-right:50px}.import-text[data-v-00950b26]{color:#c7020b;font-size:20px;font-weight:700}.total-price[data-v-00950b26]:before{content:"¥";margin-right:5px;font-size:12px}
\ No newline at end of file
diff --git a/dist/css/443.686f8647.css b/dist/css/443.686f8647.css
new file mode 100644
index 0000000..d9eb753
--- /dev/null
+++ b/dist/css/443.686f8647.css
@@ -0,0 +1 @@
+.announcement-container[data-v-2630b25e]{max-width:1200px;margin:0 auto;padding:20px}.page-title[data-v-2630b25e]{font-size:20px;font-weight:700;color:#333;margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid #eee}.search-bar[data-v-2630b25e]{margin-bottom:20px}.search-input[data-v-2630b25e]{width:400px}.announcement-list-card[data-v-2630b25e]{border-radius:4px}.announcement-item[data-v-2630b25e]{padding:15px 0;border-bottom:1px dashed #eee;transition:background-color .2s;cursor:pointer}.announcement-item[data-v-2630b25e]:last-child{border-bottom:none}.announcement-item[data-v-2630b25e]:hover{background-color:#f9f9f9}.announcement-header[data-v-2630b25e]{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.announcement-title[data-v-2630b25e]{display:flex;align-items:center;font-weight:500;color:#333}.announcement-title .is-top[data-v-2630b25e]{color:#e6a23c}.announcement-title .el-tag[data-v-2630b25e]{margin-left:10px}.announcement-date[data-v-2630b25e]{color:#999;font-size:12px}.announcement-content[data-v-2630b25e]{color:#666;line-height:1.6;margin-bottom:10px}.announcement-action[data-v-2630b25e]{text-align:right}.empty-state[data-v-2630b25e]{padding:50px 0}.pagination-container[data-v-2630b25e]{margin-top:20px;text-align:right}.detail-meta[data-v-2630b25e]{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid #eee;color:#999;font-size:12px}.detail-text[data-v-2630b25e]{line-height:1.8;color:#333}@media (max-width:768px){.search-input[data-v-2630b25e]{width:100%}.announcement-header[data-v-2630b25e]{flex-direction:column;align-items:flex-start}.announcement-date[data-v-2630b25e]{margin-top:5px}}
\ No newline at end of file
diff --git a/dist/css/467.95b3e97b.css b/dist/css/467.95b3e97b.css
new file mode 100644
index 0000000..c94c7d3
--- /dev/null
+++ b/dist/css/467.95b3e97b.css
@@ -0,0 +1 @@
+.bg[data-v-43266500]{display:flex;flex-direction:column}.bg[data-v-43266500] .el-button--text,.bg[data-v-43266500] .el-tabs__item.is-active{color:#6a8a27}.bg[data-v-43266500] .el-tabs__active-bar{background-color:#6a8a27}.bg[data-v-43266500] .el-tabs__item:hover{color:#6a8a27}.order-card[data-v-43266500]{border-radius:4px;overflow:hidden}.order-header[data-v-43266500]{padding:12px 20px;display:flex;align-items:center;background:#f8f9fa;border-bottom:1px solid #999;color:#666;font-size:14px}.order-products[data-v-43266500]{padding:10px 20px;background:#fff}.product-item[data-v-43266500]{display:flex;align-items:center;padding:15px 0;border-bottom:1px dashed #eee;font-size:14px}.product-item[data-v-43266500]:last-child{border-bottom:none}.product-image[data-v-43266500]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:15px;border-radius:4px}.product-details[data-v-43266500]{flex:1}.product-name[data-v-43266500]{color:#333}.product-spec[data-v-43266500]{color:#999;font-size:12px}.product-box[data-v-43266500]{width:100px;text-align:center;color:#333}.product-quantity[data-v-43266500]{width:160px;text-align:center;color:#333}.product-select[data-v-43266500]{width:80px;color:#333}.product-price[data-v-43266500]{color:#ff5252}.cart-footer[data-v-43266500]{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding:15px;background-color:#f5f7fa;border-radius:4px}.selected-info[data-v-43266500]{color:#666;font-size:14px;padding-right:50px}.import-text[data-v-43266500]{color:#c7020b;font-size:20px;font-weight:700}.total-price[data-v-43266500]:before{content:"¥";margin-right:5px;font-size:12px}
\ No newline at end of file
diff --git a/dist/css/519.309764aa.css b/dist/css/519.309764aa.css
deleted file mode 100644
index 1ff3995..0000000
--- a/dist/css/519.309764aa.css
+++ /dev/null
@@ -1 +0,0 @@
-.review-container[data-v-14044d92]{max-width:1000px;margin:0 auto;padding:20px}.page-header[data-v-14044d92],.product-card[data-v-14044d92]{margin-bottom:20px}.product-info[data-v-14044d92]{display:flex;align-items:center;padding:10px 0}.product-image[data-v-14044d92]{width:120px;height:120px;border-radius:4px;margin-right:20px}.product-details[data-v-14044d92]{flex:1}.product-title[data-v-14044d92]{font-size:16px;font-weight:500;margin-bottom:10px;color:#333;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-desc[data-v-14044d92]{color:#666;margin-bottom:10px;font-size:14px}.product-price[data-v-14044d92]{color:#ff4d4f;font-size:18px}.review-form-card[data-v-14044d92]{margin-bottom:20px}.rating-stars[data-v-14044d92]{font-size:24px;color:#ccc}.rating-stars .active[data-v-14044d92]{color:#f5a623}.rating-stars i[data-v-14044d92]{cursor:pointer;margin-right:5px;transition:color .2s}.rating-stars i[data-v-14044d92]:hover{color:#f5a623}.rating-text[data-v-14044d92]{margin-top:10px;color:#666;font-size:14px}.char-count[data-v-14044d92]{text-align:right;color:#999;font-size:12px;margin-top:5px}.image-upload[data-v-14044d92]{margin-bottom:10px}.upload-tip[data-v-14044d92]{color:#999;font-size:12px}.review-alert[data-v-14044d92]{margin-top:10px}.anonymous-tip[data-v-14044d92]{color:#999;font-size:12px;margin-top:5px}@media(max-width:768px){.product-info[data-v-14044d92]{flex-direction:column;align-items:flex-start}.product-image[data-v-14044d92]{margin-bottom:15px}}
\ No newline at end of file
diff --git a/dist/css/522.f0656774.css b/dist/css/522.f0656774.css
new file mode 100644
index 0000000..53a0f80
--- /dev/null
+++ b/dist/css/522.f0656774.css
@@ -0,0 +1 @@
+.home-layout-container[data-v-40153470]{display:flex;width:100%;height:auto}.left-nav[data-v-40153470]{width:200px;background-color:#f8f9fa;padding:20px 0;box-sizing:border-box;border-radius:10px 0 0 10px}.nav-list[data-v-40153470]{list-style:none;margin:0;padding:0}.nav-item[data-v-40153470]{padding:12px 20px;cursor:pointer;color:#333;transition:all .3s ease;display:flex}.nav-item img[data-v-40153470]{width:20px;margin-right:5px}.nav-item[data-v-40153470]:hover{background-color:#e9ecef;padding-left:25px;color:#fff;background:#6a8a27}.main-content[data-v-40153470]{flex:1;height:auto;overflow:hidden}.carousel-img[data-v-40153470]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.main-content[data-v-40153470] .el-carousel__container{height:100%!important}.right-info[data-v-40153470]{width:280px;background-color:#fff;padding:20px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;border-left:1px solid #eee;border-radius:0 10px 10px 0}.avatar-container[data-v-40153470]{display:flex;flex-direction:column;align-items:center;margin-bottom:20px}.user-avatar[data-v-40153470]{width:60px;height:60px;border-radius:50%;margin-bottom:10px;border:2px solid #f0f0f0}.welcome-text[data-v-40153470]{font-size:14px;color:#333}.btn-group[data-v-40153470]{display:flex;gap:10px;margin-bottom:30px;width:100%}.func-icons[data-v-40153470]{display:flex;justify-content:space-around;flex-wrap:wrap;width:100%;margin-bottom:10px;padding:10px 0;border-top:1px dashed #eee;border-bottom:1px dashed #eee}.icon-item[data-v-40153470]{display:flex;flex-direction:column;align-items:center;cursor:pointer;color:#666;transition:color .3s ease;width:50%}.icon-item[data-v-40153470]:nth-child(n+3){margin-top:20px}.icon-item[data-v-40153470]:hover{color:#1890ff}.icon[data-v-40153470]{font-size:24px;margin-bottom:5px}.icon-item span[data-v-40153470]{font-size:12px}.announcement[data-v-40153470]{display:flex;align-items:center;font-size:12px;color:#666;width:100%;padding-top:10px}.announcement span[data-v-40153470]{margin-left:10px}.product-list .product-grid[data-v-71ee3626]{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.product-list .product-card[data-v-71ee3626]{border:1px solid #eaeaea;border-radius:8px;overflow:hidden;transition:all .3s ease;padding:10px;background:#fff;border-radius:10px}.product-list .product-card[data-v-71ee3626]:hover{transform:translateY(-5px);box-shadow:0 5px 15px rgba(0,0,0,.1)}.product-list .product-card .product-img[data-v-71ee3626]{height:250px;overflow:hidden}.product-list .product-card .product-img .product-pic[data-v-71ee3626]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .5s ease}.product-list .product-card .product-img .product-pic[data-v-71ee3626]:hover{transform:scale(1.05)}.product-list .product-card .product-info[data-v-71ee3626]{padding:10px}.product-list .product-card .product-info .product-name[data-v-71ee3626]{font-size:14px;line-height:20px;min-height:40px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:10px}.product-list .product-card .product-info .product-name a[data-v-71ee3626]{color:#333}.product-list .product-card .product-info .product-name a[data-v-71ee3626]:hover{color:#409eff}.product-list .product-card .product-info .product-price[data-v-71ee3626]{margin-bottom:15px}.product-list .product-card .product-info .product-price .current-price[data-v-71ee3626]{color:#f40;font-size:16px;font-weight:700}.product-list .product-card .product-info .product-price .original-price[data-v-71ee3626]{color:#999;font-size:12px;text-decoration:line-through;margin-left:8px}.product-list .product-card .product-info .product-actions[data-v-71ee3626]{margin-bottom:10px}.product-list .product-card .product-info .product-sales[data-v-71ee3626]{font-size:12px;color:#999;margin-bottom:15px}.product-list .no-products[data-v-71ee3626]{padding:50px 0;text-align:center}.product-box[data-v-c53f5724]{margin:30px 0}.product-box h2[data-v-c53f5724]{margin-bottom:20px}
\ No newline at end of file
diff --git a/dist/css/758.de28ca83.css b/dist/css/758.de28ca83.css
deleted file mode 100644
index b1619f7..0000000
--- a/dist/css/758.de28ca83.css
+++ /dev/null
@@ -1 +0,0 @@
-.region-selector[data-v-7d3ebefd]{display:flex;gap:10px;flex-wrap:wrap}.region-select[data-v-7d3ebefd]{min-width:180px;flex:1;max-width:30%}.order-page[data-v-49b32daf]{max-width:1200px;margin:0 auto;padding:20px;background-color:#fff;border:1px solid #e6e6e6;border-radius:4px}.order-page .page-header[data-v-49b32daf]{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.order-page .page-header h2[data-v-49b32daf]{font-size:18px;font-weight:500;color:#333;margin:0}.order-page .page-header .address-book-btn[data-v-49b32daf]{color:#409eff}.order-page .info-section[data-v-49b32daf]{margin-bottom:20px}.order-page .info-section h3[data-v-49b32daf]{font-size:16px;font-weight:500;color:#333;margin-bottom:15px;padding-bottom:5px;border-bottom:1px solid #f0f0f0}.order-page .info-section .address-item[data-v-49b32daf],.order-page .info-section .invoice-address-item[data-v-49b32daf],.order-page .info-section .invoice-title-item[data-v-49b32daf],.order-page .info-section .invoice-type-item[data-v-49b32daf],.order-page .info-section .trade-type-item[data-v-49b32daf]{margin-bottom:15px;display:flex;align-items:center}.order-page .info-section .address-item .label[data-v-49b32daf],.order-page .info-section .invoice-address-item .label[data-v-49b32daf],.order-page .info-section .invoice-title-item .label[data-v-49b32daf],.order-page .info-section .invoice-type-item .label[data-v-49b32daf],.order-page .info-section .trade-type-item .label[data-v-49b32daf]{width:120px;color:#666;font-size:14px;padding-top:5px}.order-page .info-section .address-item .address-content[data-v-49b32daf],.order-page .info-section .invoice-address-item .address-content[data-v-49b32daf],.order-page .info-section .invoice-title-item .address-content[data-v-49b32daf],.order-page .info-section .invoice-type-item .address-content[data-v-49b32daf],.order-page .info-section .trade-type-item .address-content[data-v-49b32daf]{flex:1}.order-page .info-section .address-item .saved-address[data-v-49b32daf],.order-page .info-section .invoice-address-item .saved-address[data-v-49b32daf],.order-page .info-section .invoice-title-item .saved-address[data-v-49b32daf],.order-page .info-section .invoice-type-item .saved-address[data-v-49b32daf],.order-page .info-section .trade-type-item .saved-address[data-v-49b32daf]{margin-bottom:10px;display:flex;align-items:center;flex-wrap:wrap;padding:8px;border:1px solid #e6e6e6;border-radius:4px;width:100%;cursor:pointer;transition:all .3s}.order-page .info-section .address-item .saved-address.selected[data-v-49b32daf],.order-page .info-section .invoice-address-item .saved-address.selected[data-v-49b32daf],.order-page .info-section .invoice-title-item .saved-address.selected[data-v-49b32daf],.order-page .info-section .invoice-type-item .saved-address.selected[data-v-49b32daf],.order-page .info-section .trade-type-item .saved-address.selected[data-v-49b32daf]{border-color:#6a8a27;background-color:rgba(106,138,39,.05)}.order-page .info-section .address-item .saved-address .name-tag[data-v-49b32daf],.order-page .info-section .invoice-address-item .saved-address .name-tag[data-v-49b32daf],.order-page .info-section .invoice-title-item .saved-address .name-tag[data-v-49b32daf],.order-page .info-section .invoice-type-item .saved-address .name-tag[data-v-49b32daf],.order-page .info-section .trade-type-item .saved-address .name-tag[data-v-49b32daf]{background-color:#f8f8f8;color:#333;padding:2px 6px;border-radius:3px;margin-right:10px;font-size:13px}.order-page .info-section .address-item .saved-address .detail[data-v-49b32daf],.order-page .info-section .invoice-address-item .saved-address .detail[data-v-49b32daf],.order-page .info-section .invoice-title-item .saved-address .detail[data-v-49b32daf],.order-page .info-section .invoice-type-item .saved-address .detail[data-v-49b32daf],.order-page .info-section .trade-type-item .saved-address .detail[data-v-49b32daf]{flex:1;font-size:14px;color:#666;min-width:200px;margin-bottom:5px}.order-page .info-section .address-item .saved-address .delete-btn[data-v-49b32daf],.order-page .info-section .address-item .saved-address .edit-btn[data-v-49b32daf],.order-page .info-section .address-item .saved-address .set-default-btn[data-v-49b32daf],.order-page .info-section .invoice-address-item .saved-address .delete-btn[data-v-49b32daf],.order-page .info-section .invoice-address-item .saved-address .edit-btn[data-v-49b32daf],.order-page .info-section .invoice-address-item .saved-address .set-default-btn[data-v-49b32daf],.order-page .info-section .invoice-title-item .saved-address .delete-btn[data-v-49b32daf],.order-page .info-section .invoice-title-item .saved-address .edit-btn[data-v-49b32daf],.order-page .info-section .invoice-title-item .saved-address .set-default-btn[data-v-49b32daf],.order-page .info-section .invoice-type-item .saved-address .delete-btn[data-v-49b32daf],.order-page .info-section .invoice-type-item .saved-address .edit-btn[data-v-49b32daf],.order-page .info-section .invoice-type-item .saved-address .set-default-btn[data-v-49b32daf],.order-page .info-section .trade-type-item .saved-address .delete-btn[data-v-49b32daf],.order-page .info-section .trade-type-item .saved-address .edit-btn[data-v-49b32daf],.order-page .info-section .trade-type-item .saved-address .set-default-btn[data-v-49b32daf]{margin-left:10px;color:#409eff;font-size:13px;padding:0;height:auto}.order-page .info-section .address-item .el-radio[data-v-49b32daf],.order-page .info-section .invoice-address-item .el-radio[data-v-49b32daf],.order-page .info-section .invoice-title-item .el-radio[data-v-49b32daf],.order-page .info-section .invoice-type-item .el-radio[data-v-49b32daf],.order-page .info-section .trade-type-item .el-radio[data-v-49b32daf]{margin-right:15px;margin-top:3px}.order-page .info-section .address-item .invoice-title-select[data-v-49b32daf],.order-page .info-section .invoice-address-item .invoice-title-select[data-v-49b32daf],.order-page .info-section .invoice-title-item .invoice-title-select[data-v-49b32daf],.order-page .info-section .invoice-type-item .invoice-title-select[data-v-49b32daf],.order-page .info-section .trade-type-item .invoice-title-select[data-v-49b32daf]{width:300px;margin-top:3px}.order-page .info-section .address-item .add-title-btn[data-v-49b32daf],.order-page .info-section .invoice-address-item .add-title-btn[data-v-49b32daf],.order-page .info-section .invoice-title-item .add-title-btn[data-v-49b32daf],.order-page .info-section .invoice-type-item .add-title-btn[data-v-49b32daf],.order-page .info-section .trade-type-item .add-title-btn[data-v-49b32daf]{margin-left:10px;color:#409eff;padding:0;height:auto}.order-page .contract-section[data-v-49b32daf]{margin-bottom:20px;padding:15px;background-color:#f9f9f9;border-radius:4px}.order-page .contract-section h3[data-v-49b32daf]{font-size:16px;font-weight:500;color:#333;margin-bottom:10px;margin-top:0}.order-page .contract-section p[data-v-49b32daf]{font-size:14px;color:#666;margin:0}.order-page .goods-section h3[data-v-49b32daf]{font-size:16px;font-weight:500;color:#333;margin-bottom:15px;padding-bottom:5px;border-bottom:1px solid #f0f0f0}.order-page .goods-section .order-group[data-v-49b32daf]{margin-bottom:20px;border:1px solid #e6e6e6;border-radius:4px;overflow:hidden}.order-page .goods-section .order-group .supplier-info[data-v-49b32daf]{background-color:#f5f7fa;padding:10px 15px;font-size:14px;color:#333;border-bottom:1px solid #e6e6e6}.order-page .goods-section .order-group .goods-table[data-v-49b32daf]{width:100%;border-collapse:collapse}.order-page .goods-section .order-group .goods-table th[data-v-49b32daf]{background-color:#f5f7fa;text-align:left;padding:10px 15px;border:1px solid #e6e6e6;font-weight:500;color:#333;font-size:14px}.order-page .goods-section .order-group .goods-table td[data-v-49b32daf]{padding:10px 15px;border:1px solid #e6e6e6;vertical-align:middle;font-size:14px;color:#666}.order-page .goods-section .order-group .goods-table .goods-img[data-v-49b32daf]{width:50px;height:50px;margin-right:10px;vertical-align:middle;border-radius:4px}.order-page .goods-section .order-group .goods-table .goods-name[data-v-49b32daf]{vertical-align:middle;max-width:200px;display:inline-block}.order-page .goods-section .order-group .goods-table .subtotal[data-v-49b32daf]{color:#ff4d4f;font-weight:500}.order-page .goods-section .order-group .order-remark[data-v-49b32daf]{padding:15px;font-size:14px;color:#666;border-top:1px solid #e6e6e6;background-color:#f9f9f9}.order-page .goods-section .order-group .order-remark .remark-label[data-v-49b32daf]{display:block;margin-bottom:10px;font-weight:500}.order-page .goods-section .order-group .order-remark .rich-text-editor[data-v-49b32daf]{border:1px solid #e6e6e6;border-radius:4px;overflow:hidden}.order-page .goods-section .order-group .order-remark .rich-text-editor .remark-editor[data-v-49b32daf]{border:none;border-bottom:1px solid #e6e6e6;border-radius:0;min-height:100px}.order-page .goods-section .order-group .order-remark .rich-text-editor .editor-toolbar[data-v-49b32daf]{padding:5px 10px;background-color:#f5f5f5;border-top:1px solid #e6e6e6}.order-page .goods-section .order-group .order-remark .rich-text-editor .editor-toolbar .el-button[data-v-49b32daf]{margin-right:5px}.order-page .goods-section .total-info[data-v-49b32daf]{text-align:right;padding:20px;background-color:#f5f7fa;border-radius:4px;margin-top:10px}.order-page .goods-section .total-info p[data-v-49b32daf]{margin:8px 0;color:#333;font-size:14px}.order-page .goods-section .total-info .pay-amount[data-v-49b32daf]{font-weight:700;color:#ff4d4f;font-size:16px;margin:15px 0}.order-page .goods-section .total-info .address-info[data-v-49b32daf]{font-size:13px;color:#999;margin-top:15px;line-height:1.6;text-align:right}.order-page .goods-section .total-info .submit-btn[data-v-49b32daf]{margin-top:20px;width:150px;height:40px;background-color:#ff4d4f;border:none;font-size:16px}.order-page .goods-section .total-info .submit-btn[data-v-49b32daf]:hover{background-color:#e03e40}@media(max-width:768px){.order-page[data-v-49b32daf]{padding:10px}.info-section .address-item[data-v-49b32daf],.info-section .invoice-address-item[data-v-49b32daf],.info-section .invoice-title-item[data-v-49b32daf],.info-section .invoice-type-item[data-v-49b32daf],.info-section .trade-type-item[data-v-49b32daf]{flex-direction:column}.info-section .address-item .label[data-v-49b32daf],.info-section .invoice-address-item .label[data-v-49b32daf],.info-section .invoice-title-item .label[data-v-49b32daf],.info-section .invoice-type-item .label[data-v-49b32daf],.info-section .trade-type-item .label[data-v-49b32daf]{width:100%;margin-bottom:5px;padding-top:0}.info-section .address-item .saved-address[data-v-49b32daf],.info-section .invoice-address-item .saved-address[data-v-49b32daf],.info-section .invoice-title-item .saved-address[data-v-49b32daf],.info-section .invoice-type-item .saved-address[data-v-49b32daf],.info-section .trade-type-item .saved-address[data-v-49b32daf]{flex-direction:column;align-items:flex-start}.info-section .address-item .saved-address .detail[data-v-49b32daf],.info-section .address-item .saved-address .name-tag[data-v-49b32daf],.info-section .invoice-address-item .saved-address .detail[data-v-49b32daf],.info-section .invoice-address-item .saved-address .name-tag[data-v-49b32daf],.info-section .invoice-title-item .saved-address .detail[data-v-49b32daf],.info-section .invoice-title-item .saved-address .name-tag[data-v-49b32daf],.info-section .invoice-type-item .saved-address .detail[data-v-49b32daf],.info-section .invoice-type-item .saved-address .name-tag[data-v-49b32daf],.info-section .trade-type-item .saved-address .detail[data-v-49b32daf],.info-section .trade-type-item .saved-address .name-tag[data-v-49b32daf]{margin-bottom:8px;width:100%}.info-section .address-item .saved-address .delete-btn[data-v-49b32daf],.info-section .address-item .saved-address .edit-btn[data-v-49b32daf],.info-section .address-item .saved-address .set-default-btn[data-v-49b32daf],.info-section .invoice-address-item .saved-address .delete-btn[data-v-49b32daf],.info-section .invoice-address-item .saved-address .edit-btn[data-v-49b32daf],.info-section .invoice-address-item .saved-address .set-default-btn[data-v-49b32daf],.info-section .invoice-title-item .saved-address .delete-btn[data-v-49b32daf],.info-section .invoice-title-item .saved-address .edit-btn[data-v-49b32daf],.info-section .invoice-title-item .saved-address .set-default-btn[data-v-49b32daf],.info-section .invoice-type-item .saved-address .delete-btn[data-v-49b32daf],.info-section .invoice-type-item .saved-address .edit-btn[data-v-49b32daf],.info-section .invoice-type-item .saved-address .set-default-btn[data-v-49b32daf],.info-section .trade-type-item .saved-address .delete-btn[data-v-49b32daf],.info-section .trade-type-item .saved-address .edit-btn[data-v-49b32daf],.info-section .trade-type-item .saved-address .set-default-btn[data-v-49b32daf]{margin-left:0;margin-right:10px;display:inline-block}.info-section .address-item .invoice-title-select[data-v-49b32daf],.info-section .invoice-address-item .invoice-title-select[data-v-49b32daf],.info-section .invoice-title-item .invoice-title-select[data-v-49b32daf],.info-section .invoice-type-item .invoice-title-select[data-v-49b32daf],.info-section .trade-type-item .invoice-title-select[data-v-49b32daf]{width:100%}.goods-section .goods-table[data-v-49b32daf]{font-size:12px}.goods-section .order-group .goods-table td[data-v-49b32daf],.goods-section .order-group .goods-table th[data-v-49b32daf]{padding:8px;font-size:12px}.goods-section .order-group .goods-name[data-v-49b32daf]{max-width:100px}.goods-section .total-info[data-v-49b32daf]{padding:15px}.goods-section .total-info .submit-btn[data-v-49b32daf]{width:100%}}
\ No newline at end of file
diff --git a/dist/css/926.a9594400.css b/dist/css/779.506cc62a.css
similarity index 80%
rename from dist/css/926.a9594400.css
rename to dist/css/779.506cc62a.css
index 7df7a59..ef9fba6 100644
--- a/dist/css/926.a9594400.css
+++ b/dist/css/779.506cc62a.css
@@ -1 +1 @@
-.product-review-section[data-v-6c3951fc]{padding:20px;background:#fff;border:1px solid #eee;border-radius:4px}.product-review-section .review-header[data-v-6c3951fc]{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;flex-wrap:wrap}.product-review-section .review-header .rating-box[data-v-6c3951fc]{display:flex;align-items:center}.product-review-section .review-header .rating-box .rating-score[data-v-6c3951fc]{font-size:24px;color:#ff4d4f;font-weight:700;margin-right:10px}.product-review-section .review-header .rating-box .rating-text[data-v-6c3951fc]{font-size:14px;color:#999}.product-review-section .review-header .filter-tabs[data-v-6c3951fc]{display:flex;gap:10px;flex-wrap:wrap}.product-review-section .review-header .filter-tabs .tab-item[data-v-6c3951fc]{padding:6px 12px;border:1px solid #ddd;border-radius:4px;color:#666;cursor:pointer;transition:all .3s ease}.product-review-section .review-header .filter-tabs .tab-item.active[data-v-6c3951fc],.product-review-section .review-header .filter-tabs .tab-item[data-v-6c3951fc]:hover{border-color:#ff4d4f;color:#ff4d4f}.product-review-section .review-list[data-v-6c3951fc]{display:flex;flex-direction:column;gap:20px;margin-bottom:30px}.product-review-section .review-list .review-item[data-v-6c3951fc]{padding:15px;border:1px solid #f5f5f5;border-radius:4px;background:#fdfdfd}.product-review-section .review-list .review-item .user-info[data-v-6c3951fc]{display:flex;align-items:center;margin-bottom:10px}.product-review-section .review-list .review-item .user-info .avatar[data-v-6c3951fc]{width:40px;height:40px;border-radius:50%;margin-right:10px}.product-review-section .review-list .review-item .user-info .user-name[data-v-6c3951fc]{font-size:14px;color:#333;font-weight:500}.product-review-section .review-list .review-item .user-info .rating-stars[data-v-6c3951fc]{margin-left:auto;color:#ff4d4f;font-size:14px}.product-review-section .review-list .review-item .review-content[data-v-6c3951fc]{font-size:14px;color:#666;line-height:1.6;margin-bottom:10px}.product-review-section .review-list .review-item .review-content.empty[data-v-6c3951fc]{color:#999;font-style:italic}.product-review-section .review-list .review-item .review-images[data-v-6c3951fc]{display:flex;gap:8px;margin-bottom:10px}.product-review-section .review-list .review-item .review-images img[data-v-6c3951fc]{width:80px;height:80px;border-radius:4px;-o-object-fit:cover;object-fit:cover;border:1px solid #eee;cursor:pointer;transition:transform .2s}.product-review-section .review-list .review-item .review-images img[data-v-6c3951fc]:hover{transform:scale(1.05)}.product-review-section .review-list .review-item .review-time[data-v-6c3951fc]{font-size:12px;color:#999;margin-top:5px}.product-review-section .review-list .empty-state[data-v-6c3951fc]{padding:50px 0;text-align:center}.product-review-section .pagination-container[data-v-6c3951fc]{display:flex;justify-content:center;margin-top:20px;padding-top:10px;border-top:1px solid #f5f5f5}@media(max-width:768px){.product-review-section .review-header[data-v-6c3951fc]{flex-direction:column;align-items:flex-start;gap:15px}.product-review-section .pagination-container[data-v-6c3951fc]{padding:0 10px}}.image-preview-dialog .el-dialog__body[data-v-6c3951fc]{padding:0;height:80vh;display:flex;align-items:center;justify-content:center}.preview-container[data-v-6c3951fc]{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.preview-img-wrapper[data-v-6c3951fc]{width:-moz-fit-content;width:fit-content;display:flex;align-items:center;justify-content:center}.preview-img[data-v-6c3951fc]{min-height:50vh;max-height:70vh;-o-object-fit:contain;object-fit:contain}.preview-btn[data-v-6c3951fc]{position:absolute;width:40px;height:40px;background-color:rgba(0,0,0,.5);color:#fff;border:none;z-index:10;opacity:.7;transition:opacity .3s}.preview-btn[data-v-6c3951fc]:hover{opacity:1;color:#fff;background-color:rgba(0,0,0,.7)}.prev-btn[data-v-6c3951fc]{left:20px}.next-btn[data-v-6c3951fc]{right:20px}.review-images img[data-v-6c3951fc]{cursor:zoom-in}.cart-dialog__product[data-v-32e5a85a]{display:flex;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #f5f5f5}.cart-dialog__product .product-img[data-v-32e5a85a]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;border-radius:4px;margin-right:15px}.cart-dialog__product .product-info[data-v-32e5a85a]{flex:1}.cart-dialog__product .product-info .product-name[data-v-32e5a85a]{font-size:16px;color:#333;margin:0 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cart-dialog__product .product-info .product-price[data-v-32e5a85a]{font-size:18px;color:#f40;margin:0;font-weight:500}.cart-dialog__quantity[data-v-32e5a85a]{display:flex;align-items:center;margin-bottom:10px}.cart-dialog__quantity label[data-v-32e5a85a]{font-size:14px;color:#666;margin-right:15px}.cart-dialog__quantity .quantity-input[data-v-32e5a85a]{width:120px}.cart-dialog__quantity .stock-tip[data-v-32e5a85a]{font-size:12px;color:#999;margin-left:15px}.dialog-footer[data-v-32e5a85a]{display:flex;justify-content:center;padding-top:10px}.dialog-footer .cancel-btn[data-v-32e5a85a]{margin-right:10px;border-color:#e5e5e5;color:#666}.dialog-footer .confirm-btn[data-v-32e5a85a]{background-color:#6a8a27;border-color:#6a8a27}.dialog-footer .confirm-btn[data-v-32e5a85a]:hover{background-color:#5a7a1f;border-color:#5a7a1f}.product-detail-container[data-v-049fb0ca]{display:flex;padding:20px;background-color:#fff;border:1px solid #eaeaea;border-radius:4px}.product-detail-container .left-section[data-v-049fb0ca]{width:40%;margin-right:20px;display:flex;flex-direction:column}.product-detail-container .left-section .product-carousel[data-v-049fb0ca]{border:1px solid #eaeaea;border-radius:4px;margin-bottom:15px}.product-detail-container .left-section .product-carousel .carousel-img[data-v-049fb0ca]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.product-detail-container .left-section .hint-text[data-v-049fb0ca]{color:#ccc;font-size:12px;margin-bottom:10px}.product-detail-container .left-section .image-indicators[data-v-049fb0ca]{display:flex;gap:10px;justify-content:center;padding:5px 0}.product-detail-container .left-section .image-indicators .indicator-item[data-v-049fb0ca]{width:80px;height:80px;cursor:pointer;border:2px solid transparent;border-radius:4px;transition:all .3s ease;overflow:hidden}.product-detail-container .left-section .image-indicators .indicator-item.active[data-v-049fb0ca]{border-color:#409eff;box-shadow:0 0 0 2px rgba(64,158,255,.2)}.product-detail-container .left-section .image-indicators .indicator-item .indicator-img[data-v-049fb0ca]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.product-detail-container .right-section[data-v-049fb0ca]{width:60%}.product-detail-container .right-section .product-title[data-v-049fb0ca]{font-size:20px;font-weight:700;margin-bottom:10px}.product-detail-container .right-section .product-title .product-count[data-v-049fb0ca]{font-size:14px;color:#666}.product-detail-container .right-section .product-tags[data-v-049fb0ca]{margin-bottom:15px}.product-detail-container .right-section .product-tags .subtitle[data-v-049fb0ca]{color:#666}.product-detail-container .right-section .price-info[data-v-049fb0ca]{display:flex;align-items:center;margin-bottom:15px}.product-detail-container .right-section .price-info .price-label[data-v-049fb0ca]{font-weight:700;margin-right:10px}.product-detail-container .right-section .price-info .price-amount[data-v-049fb0ca]{font-size:24px;color:#ff4d4f;margin-right:20px}.product-detail-container .right-section .price-info .sales-volume[data-v-049fb0ca]{color:#999}.product-detail-container .right-section .product-attr[data-v-049fb0ca]{margin-bottom:20px}.product-detail-container .right-section .product-attr .attr-item[data-v-049fb0ca]{display:flex;flex-direction:column;margin-bottom:15px}.product-detail-container .right-section .product-attr .attr-item .attr-label[data-v-049fb0ca]{font-weight:700;margin-bottom:8px;color:#333}.product-detail-container .right-section .product-attr .attr-item .attr-value[data-v-049fb0ca]{color:#666}.product-detail-container .right-section .product-attr .attr-item.spec-group[data-v-049fb0ca]{margin-top:20px;margin-bottom:20px}.product-detail-container .right-section .product-attr .attr-item.spec-group .custom-radio-group[data-v-049fb0ca]{display:flex;flex-wrap:wrap;gap:10px;margin-top:5px}.product-detail-container .right-section .product-attr .attr-item.spec-group .custom-radio-group .custom-radio[data-v-049fb0ca]{display:inline-block;padding:8px 15px;border:1px solid #ddd;border-radius:4px;cursor:pointer;transition:all .3s ease;background-color:#fff;position:relative}.product-detail-container .right-section .product-attr .attr-item.spec-group .custom-radio-group .custom-radio[data-v-049fb0ca]:hover{border-color:#409eff}.product-detail-container .right-section .product-attr .attr-item.spec-group .custom-radio-group .custom-radio.is-checked[data-v-049fb0ca]{border-color:#409eff;background-color:#f0f7ff;color:#409eff;font-weight:500}.product-detail-container .right-section .product-attr .attr-item.spec-group .custom-radio-group .custom-radio.is-checked[data-v-049fb0ca]:after{position:absolute;right:5px;bottom:2px;font-size:12px;color:#409eff}.product-detail-container .right-section .product-attr .attr-item.spec-group .custom-radio-group .custom-radio .radio-text[data-v-049fb0ca]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.product-detail-container .right-section .quantity-control[data-v-049fb0ca]{display:flex;align-items:center;gap:10px;margin-top:30px}.product-detail-container .right-section .quantity-control .quantity-value[data-v-049fb0ca]{width:40px;text-align:center}.product-detail-container .right-section .quantity-control .bargain-btn[data-v-049fb0ca],.product-detail-container .right-section .quantity-control .buy-btn[data-v-049fb0ca],.product-detail-container .right-section .quantity-control .cart-btn[data-v-049fb0ca]{margin-right:10px}.product-bottom[data-v-049fb0ca]{margin-top:50px;display:flex}.product-bottom .hot-recommend-sidebar[data-v-049fb0ca]{min-width:200px;max-width:200px;padding:10px;background-color:#f7f9fa;margin-right:20px;cursor:pointer}.product-bottom .hot-recommend-sidebar .hot-title[data-v-049fb0ca]{border-left:4px solid #ff4d4f;padding-left:10px;margin-bottom:20px}.product-bottom .hot-recommend-sidebar .product-item[data-v-049fb0ca]{margin-bottom:20px;text-align:center}.product-bottom .hot-recommend-sidebar .product-item img[data-v-049fb0ca]{width:100%;height:auto;margin-bottom:8px}.product-bottom .hot-recommend-sidebar .product-item .product-name[data-v-049fb0ca]{font-size:14px;margin-bottom:4px}.product-bottom .hot-recommend-sidebar .product-item .product-price[data-v-049fb0ca]{font-size:12px;color:#f40}.product-bottom .product-right[data-v-049fb0ca]{width:1000%}.product-bottom .product-tabs[data-v-049fb0ca]{display:flex;margin-bottom:10px;background-color:#f7f9fa;padding:10px}.product-bottom .product-tabs .tab-item[data-v-049fb0ca]{padding:10px 20px;cursor:pointer;margin-right:10px;color:#333}.product-bottom .product-tabs .tab-item.active[data-v-049fb0ca]{color:#ff4d4f;border-bottom:2px solid #ff4d4f}.product-bottom .product-detail-main[data-v-049fb0ca]{flex:1;padding:10px;background-color:#fff}.product-bottom .product-detail-main .product-banner[data-v-049fb0ca]{width:100%;height:auto;margin-bottom:20px}.product-bottom .product-detail-main .product-desc[data-v-049fb0ca]{font-size:14px;line-height:1.6;color:#666}
\ No newline at end of file
+.product-review-section[data-v-0ba5d1af]{padding:20px;background:#fff;border:1px solid #eee;border-radius:4px}.product-review-section .review-header[data-v-0ba5d1af]{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;flex-wrap:wrap}.product-review-section .review-header .rating-box[data-v-0ba5d1af]{display:flex;align-items:center}.product-review-section .review-header .rating-box .rating-score[data-v-0ba5d1af]{font-size:24px;color:#ff4d4f;font-weight:700;margin-right:10px}.product-review-section .review-header .rating-box .rating-text[data-v-0ba5d1af]{font-size:14px;color:#999}.product-review-section .review-header .filter-tabs[data-v-0ba5d1af]{display:flex;gap:10px;flex-wrap:wrap}.product-review-section .review-header .filter-tabs .tab-item[data-v-0ba5d1af]{padding:6px 12px;border:1px solid #ddd;border-radius:4px;color:#666;cursor:pointer;transition:all .3s ease}.product-review-section .review-header .filter-tabs .tab-item.active[data-v-0ba5d1af],.product-review-section .review-header .filter-tabs .tab-item[data-v-0ba5d1af]:hover{border-color:#ff4d4f;color:#ff4d4f}.product-review-section .review-list[data-v-0ba5d1af]{display:flex;flex-direction:column;gap:20px;margin-bottom:30px}.product-review-section .review-list .review-item[data-v-0ba5d1af]{padding:15px;border:1px solid #f5f5f5;border-radius:4px;background:#fdfdfd}.product-review-section .review-list .review-item .user-info[data-v-0ba5d1af]{display:flex;align-items:center;margin-bottom:10px}.product-review-section .review-list .review-item .user-info .avatar[data-v-0ba5d1af]{width:40px;height:40px;border-radius:50%;margin-right:10px}.product-review-section .review-list .review-item .user-info .user-name[data-v-0ba5d1af]{font-size:14px;color:#333;font-weight:500}.product-review-section .review-list .review-item .user-info .rating-stars[data-v-0ba5d1af]{margin-left:auto;color:#ff4d4f;font-size:14px}.product-review-section .review-list .review-item .review-content[data-v-0ba5d1af]{font-size:14px;color:#666;line-height:1.6;margin-bottom:10px}.product-review-section .review-list .review-item .review-content.empty[data-v-0ba5d1af]{color:#999;font-style:italic}.product-review-section .review-list .review-item .review-images[data-v-0ba5d1af]{display:flex;gap:8px;margin-bottom:10px}.product-review-section .review-list .review-item .review-images img[data-v-0ba5d1af]{width:80px;height:80px;border-radius:4px;-o-object-fit:cover;object-fit:cover;border:1px solid #eee;cursor:pointer;transition:transform .2s}.product-review-section .review-list .review-item .review-images img[data-v-0ba5d1af]:hover{transform:scale(1.05)}.product-review-section .review-list .review-item .review-time[data-v-0ba5d1af]{font-size:12px;color:#999;margin-top:5px}.product-review-section .review-list .empty-state[data-v-0ba5d1af]{padding:50px 0;text-align:center}.product-review-section .pagination-container[data-v-0ba5d1af]{display:flex;justify-content:center;margin-top:20px;padding-top:10px;border-top:1px solid #f5f5f5}@media(max-width:768px){.product-review-section .review-header[data-v-0ba5d1af]{flex-direction:column;align-items:flex-start;gap:15px}.product-review-section .pagination-container[data-v-0ba5d1af]{padding:0 10px}}.image-preview-dialog .el-dialog__body[data-v-0ba5d1af]{padding:0;height:80vh;display:flex;align-items:center;justify-content:center}.preview-container[data-v-0ba5d1af]{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.preview-img-wrapper[data-v-0ba5d1af]{width:-moz-fit-content;width:fit-content;display:flex;align-items:center;justify-content:center}.preview-img[data-v-0ba5d1af]{min-height:50vh;max-height:70vh;-o-object-fit:contain;object-fit:contain}.preview-btn[data-v-0ba5d1af]{position:absolute;width:40px;height:40px;background-color:rgba(0,0,0,.5);color:#fff;border:none;z-index:10;opacity:.7;transition:opacity .3s}.preview-btn[data-v-0ba5d1af]:hover{opacity:1;color:#fff;background-color:rgba(0,0,0,.7)}.prev-btn[data-v-0ba5d1af]{left:20px}.next-btn[data-v-0ba5d1af]{right:20px}.review-images img[data-v-0ba5d1af]{cursor:zoom-in}.cart-dialog__product[data-v-32e5a85a]{display:flex;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #f5f5f5}.cart-dialog__product .product-img[data-v-32e5a85a]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;border-radius:4px;margin-right:15px}.cart-dialog__product .product-info[data-v-32e5a85a]{flex:1}.cart-dialog__product .product-info .product-name[data-v-32e5a85a]{font-size:16px;color:#333;margin:0 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cart-dialog__product .product-info .product-price[data-v-32e5a85a]{font-size:18px;color:#f40;margin:0;font-weight:500}.cart-dialog__quantity[data-v-32e5a85a]{display:flex;align-items:center;margin-bottom:10px}.cart-dialog__quantity label[data-v-32e5a85a]{font-size:14px;color:#666;margin-right:15px}.cart-dialog__quantity .quantity-input[data-v-32e5a85a]{width:120px}.cart-dialog__quantity .stock-tip[data-v-32e5a85a]{font-size:12px;color:#999;margin-left:15px}.dialog-footer[data-v-32e5a85a]{display:flex;justify-content:center;padding-top:10px}.dialog-footer .cancel-btn[data-v-32e5a85a]{margin-right:10px;border-color:#e5e5e5;color:#666}.dialog-footer .confirm-btn[data-v-32e5a85a]{background-color:#6a8a27;border-color:#6a8a27}.dialog-footer .confirm-btn[data-v-32e5a85a]:hover{background-color:#5a7a1f;border-color:#5a7a1f}.product-detail-container[data-v-049fb0ca]{display:flex;padding:20px;background-color:#fff;border:1px solid #eaeaea;border-radius:4px}.product-detail-container .left-section[data-v-049fb0ca]{width:40%;margin-right:20px;display:flex;flex-direction:column}.product-detail-container .left-section .product-carousel[data-v-049fb0ca]{border:1px solid #eaeaea;border-radius:4px;margin-bottom:15px}.product-detail-container .left-section .product-carousel .carousel-img[data-v-049fb0ca]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.product-detail-container .left-section .hint-text[data-v-049fb0ca]{color:#ccc;font-size:12px;margin-bottom:10px}.product-detail-container .left-section .image-indicators[data-v-049fb0ca]{display:flex;gap:10px;justify-content:center;padding:5px 0}.product-detail-container .left-section .image-indicators .indicator-item[data-v-049fb0ca]{width:80px;height:80px;cursor:pointer;border:2px solid transparent;border-radius:4px;transition:all .3s ease;overflow:hidden}.product-detail-container .left-section .image-indicators .indicator-item.active[data-v-049fb0ca]{border-color:#409eff;box-shadow:0 0 0 2px rgba(64,158,255,.2)}.product-detail-container .left-section .image-indicators .indicator-item .indicator-img[data-v-049fb0ca]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.product-detail-container .right-section[data-v-049fb0ca]{width:60%}.product-detail-container .right-section .product-title[data-v-049fb0ca]{font-size:20px;font-weight:700;margin-bottom:10px}.product-detail-container .right-section .product-title .product-count[data-v-049fb0ca]{font-size:14px;color:#666}.product-detail-container .right-section .product-tags[data-v-049fb0ca]{margin-bottom:15px}.product-detail-container .right-section .product-tags .subtitle[data-v-049fb0ca]{color:#666}.product-detail-container .right-section .price-info[data-v-049fb0ca]{display:flex;align-items:center;margin-bottom:15px}.product-detail-container .right-section .price-info .price-label[data-v-049fb0ca]{font-weight:700;margin-right:10px}.product-detail-container .right-section .price-info .price-amount[data-v-049fb0ca]{font-size:24px;color:#ff4d4f;margin-right:20px}.product-detail-container .right-section .price-info .sales-volume[data-v-049fb0ca]{color:#999}.product-detail-container .right-section .product-attr[data-v-049fb0ca]{margin-bottom:20px}.product-detail-container .right-section .product-attr .attr-item[data-v-049fb0ca]{display:flex;flex-direction:column;margin-bottom:15px}.product-detail-container .right-section .product-attr .attr-item .attr-label[data-v-049fb0ca]{font-weight:700;margin-bottom:8px;color:#333}.product-detail-container .right-section .product-attr .attr-item .attr-value[data-v-049fb0ca]{color:#666}.product-detail-container .right-section .product-attr .attr-item.spec-group[data-v-049fb0ca]{margin-top:20px;margin-bottom:20px}.product-detail-container .right-section .product-attr .attr-item.spec-group .custom-radio-group[data-v-049fb0ca]{display:flex;flex-wrap:wrap;gap:10px;margin-top:5px}.product-detail-container .right-section .product-attr .attr-item.spec-group .custom-radio-group .custom-radio[data-v-049fb0ca]{display:inline-block;padding:8px 15px;border:1px solid #ddd;border-radius:4px;cursor:pointer;transition:all .3s ease;background-color:#fff;position:relative}.product-detail-container .right-section .product-attr .attr-item.spec-group .custom-radio-group .custom-radio[data-v-049fb0ca]:hover{border-color:#409eff}.product-detail-container .right-section .product-attr .attr-item.spec-group .custom-radio-group .custom-radio.is-checked[data-v-049fb0ca]{border-color:#409eff;background-color:#f0f7ff;color:#409eff;font-weight:500}.product-detail-container .right-section .product-attr .attr-item.spec-group .custom-radio-group .custom-radio.is-checked[data-v-049fb0ca]:after{position:absolute;right:5px;bottom:2px;font-size:12px;color:#409eff}.product-detail-container .right-section .product-attr .attr-item.spec-group .custom-radio-group .custom-radio .radio-text[data-v-049fb0ca]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.product-detail-container .right-section .quantity-control[data-v-049fb0ca]{display:flex;align-items:center;gap:10px;margin-top:30px}.product-detail-container .right-section .quantity-control .quantity-value[data-v-049fb0ca]{width:40px;text-align:center}.product-detail-container .right-section .quantity-control .bargain-btn[data-v-049fb0ca],.product-detail-container .right-section .quantity-control .buy-btn[data-v-049fb0ca],.product-detail-container .right-section .quantity-control .cart-btn[data-v-049fb0ca]{margin-right:10px}.product-bottom[data-v-049fb0ca]{margin-top:50px;display:flex}.product-bottom .hot-recommend-sidebar[data-v-049fb0ca]{min-width:200px;max-width:200px;padding:10px;background-color:#f7f9fa;margin-right:20px;cursor:pointer}.product-bottom .hot-recommend-sidebar .hot-title[data-v-049fb0ca]{border-left:4px solid #ff4d4f;padding-left:10px;margin-bottom:20px}.product-bottom .hot-recommend-sidebar .product-item[data-v-049fb0ca]{margin-bottom:20px;text-align:center}.product-bottom .hot-recommend-sidebar .product-item img[data-v-049fb0ca]{width:100%;height:auto;margin-bottom:8px}.product-bottom .hot-recommend-sidebar .product-item .product-name[data-v-049fb0ca]{font-size:14px;margin-bottom:4px}.product-bottom .hot-recommend-sidebar .product-item .product-price[data-v-049fb0ca]{font-size:12px;color:#f40}.product-bottom .product-right[data-v-049fb0ca]{width:1000%}.product-bottom .product-tabs[data-v-049fb0ca]{display:flex;margin-bottom:10px;background-color:#f7f9fa;padding:10px}.product-bottom .product-tabs .tab-item[data-v-049fb0ca]{padding:10px 20px;cursor:pointer;margin-right:10px;color:#333}.product-bottom .product-tabs .tab-item.active[data-v-049fb0ca]{color:#ff4d4f;border-bottom:2px solid #ff4d4f}.product-bottom .product-detail-main[data-v-049fb0ca]{flex:1;padding:10px;background-color:#fff}.product-bottom .product-detail-main .product-banner[data-v-049fb0ca]{width:100%;height:auto;margin-bottom:20px}.product-bottom .product-detail-main .product-desc[data-v-049fb0ca]{font-size:14px;line-height:1.6;color:#666}
\ No newline at end of file
diff --git a/dist/css/789.eab34fc2.css b/dist/css/789.eab34fc2.css
deleted file mode 100644
index 4393662..0000000
--- a/dist/css/789.eab34fc2.css
+++ /dev/null
@@ -1 +0,0 @@
-.home-layout-container[data-v-6226f870]{display:flex;width:100%;height:auto}.left-nav[data-v-6226f870]{width:200px;background-color:#f8f9fa;padding:20px 0;box-sizing:border-box}.nav-list[data-v-6226f870]{list-style:none;margin:0;padding:0}.nav-item[data-v-6226f870]{padding:12px 20px;cursor:pointer;color:#333;transition:all .3s ease;display:flex}.nav-item img[data-v-6226f870]{width:20px;margin-right:5px}.nav-item[data-v-6226f870]:hover{background-color:#e9ecef;padding-left:25px;color:#c7000b}.main-content[data-v-6226f870]{flex:1;height:auto;overflow:hidden}.carousel-img[data-v-6226f870]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.main-content[data-v-6226f870] .el-carousel__container{height:100%!important}.right-info[data-v-6226f870]{width:280px;background-color:#fff;padding:20px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;border-left:1px solid #eee}.avatar-container[data-v-6226f870]{display:flex;flex-direction:column;align-items:center;margin-bottom:20px}.user-avatar[data-v-6226f870]{width:60px;height:60px;border-radius:50%;margin-bottom:10px;border:2px solid #f0f0f0}.welcome-text[data-v-6226f870]{font-size:14px;color:#333}.btn-group[data-v-6226f870]{display:flex;gap:10px;margin-bottom:30px;width:100%}.func-icons[data-v-6226f870]{display:flex;justify-content:space-around;width:100%;margin-bottom:30px;padding:10px 0;border-top:1px dashed #eee;border-bottom:1px dashed #eee}.icon-item[data-v-6226f870]{display:flex;flex-direction:column;align-items:center;cursor:pointer;color:#666;transition:color .3s ease;width:50px}.icon-item[data-v-6226f870]:hover{color:#1890ff}.icon[data-v-6226f870]{font-size:24px;margin-bottom:5px}.icon-item span[data-v-6226f870]{font-size:12px}.announcement[data-v-6226f870]{display:flex;align-items:center;font-size:12px;color:#666;width:100%;padding-top:10px}.announcement span[data-v-6226f870]{margin-left:10px}.product-list .product-grid[data-v-0968dad7]{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.product-list .product-card[data-v-0968dad7]{border:1px solid #eaeaea;border-radius:8px;overflow:hidden;transition:all .3s ease;padding:10px}.product-list .product-card[data-v-0968dad7]:hover{transform:translateY(-5px);box-shadow:0 5px 15px rgba(0,0,0,.1)}.product-list .product-card .product-img[data-v-0968dad7]{height:250px;overflow:hidden}.product-list .product-card .product-img .product-pic[data-v-0968dad7]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .5s ease}.product-list .product-card .product-img .product-pic[data-v-0968dad7]:hover{transform:scale(1.05)}.product-list .product-card .product-info[data-v-0968dad7]{padding:10px}.product-list .product-card .product-info .product-name[data-v-0968dad7]{font-size:14px;line-height:20px;min-height:40px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:10px}.product-list .product-card .product-info .product-name a[data-v-0968dad7]{color:#333}.product-list .product-card .product-info .product-name a[data-v-0968dad7]:hover{color:#409eff}.product-list .product-card .product-info .product-price[data-v-0968dad7]{margin-bottom:15px}.product-list .product-card .product-info .product-price .current-price[data-v-0968dad7]{color:#f40;font-size:16px;font-weight:700}.product-list .product-card .product-info .product-price .original-price[data-v-0968dad7]{color:#999;font-size:12px;text-decoration:line-through;margin-left:8px}.product-list .product-card .product-info .product-actions[data-v-0968dad7]{margin-bottom:10px}.product-list .product-card .product-info .product-sales[data-v-0968dad7]{font-size:12px;color:#999;margin-bottom:15px}.product-list .no-products[data-v-0968dad7]{padding:50px 0;text-align:center}.product-box[data-v-c53f5724]{margin:30px 0}.product-box h2[data-v-c53f5724]{margin-bottom:20px}
\ No newline at end of file
diff --git a/dist/css/828.3ffea4ab.css b/dist/css/828.3ffea4ab.css
deleted file mode 100644
index 800151f..0000000
--- a/dist/css/828.3ffea4ab.css
+++ /dev/null
@@ -1 +0,0 @@
-.product-list .product-grid[data-v-0968dad7]{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.product-list .product-card[data-v-0968dad7]{border:1px solid #eaeaea;border-radius:8px;overflow:hidden;transition:all .3s ease;padding:10px}.product-list .product-card[data-v-0968dad7]:hover{transform:translateY(-5px);box-shadow:0 5px 15px rgba(0,0,0,.1)}.product-list .product-card .product-img[data-v-0968dad7]{height:250px;overflow:hidden}.product-list .product-card .product-img .product-pic[data-v-0968dad7]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .5s ease}.product-list .product-card .product-img .product-pic[data-v-0968dad7]:hover{transform:scale(1.05)}.product-list .product-card .product-info[data-v-0968dad7]{padding:10px}.product-list .product-card .product-info .product-name[data-v-0968dad7]{font-size:14px;line-height:20px;min-height:40px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:10px}.product-list .product-card .product-info .product-name a[data-v-0968dad7]{color:#333}.product-list .product-card .product-info .product-name a[data-v-0968dad7]:hover{color:#409eff}.product-list .product-card .product-info .product-price[data-v-0968dad7]{margin-bottom:15px}.product-list .product-card .product-info .product-price .current-price[data-v-0968dad7]{color:#f40;font-size:16px;font-weight:700}.product-list .product-card .product-info .product-price .original-price[data-v-0968dad7]{color:#999;font-size:12px;text-decoration:line-through;margin-left:8px}.product-list .product-card .product-info .product-actions[data-v-0968dad7]{margin-bottom:10px}.product-list .product-card .product-info .product-sales[data-v-0968dad7]{font-size:12px;color:#999;margin-bottom:15px}.product-list .no-products[data-v-0968dad7]{padding:50px 0;text-align:center}.home-page .home-carousel[data-v-34d6a3aa]{margin-bottom:30px}.home-page .home-carousel .carousel-img[data-v-34d6a3aa]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.home-page .category-nav[data-v-34d6a3aa]{margin-bottom:40px}.home-page .category-nav .category-list[data-v-34d6a3aa]{display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px;margin-top:20px}.home-page .category-nav .category-item[data-v-34d6a3aa]{flex:1;min-width:120px;height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #eaeaea;border-radius:8px;cursor:pointer;transition:all .3s ease}.home-page .category-nav .category-item[data-v-34d6a3aa]:hover{transform:translateY(-5px);box-shadow:0 5px 15px rgba(0,0,0,.1);border-color:#409eff}.home-page .category-nav .category-item .category-icon[data-v-34d6a3aa]{font-size:36px;color:#409eff;margin-bottom:15px}.home-page .category-nav .category-item .category-name[data-v-34d6a3aa]{font-size:16px;font-weight:500}.home-page .section-title[data-v-34d6a3aa]{font-size:24px;color:#333;padding-bottom:10px;border-bottom:2px solid #409eff;display:inline-block;margin-bottom:20px}.home-page .section-header[data-v-34d6a3aa]{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.home-page .section-header .more-link[data-v-34d6a3aa]{color:#409eff;font-size:14px;display:flex;align-items:center}.home-page .section-header .more-link[data-v-34d6a3aa]:hover{text-decoration:underline}.home-page .section-header .more-link i[data-v-34d6a3aa]{margin-left:5px;font-size:16px}.home-page .hot-products[data-v-34d6a3aa],.home-page .new-products[data-v-34d6a3aa]{margin-bottom:40px}.home-page .promotion-section[data-v-34d6a3aa]{margin:40px 0}.home-page .promotion-section .promotion-container[data-v-34d6a3aa]{display:flex;gap:20px;margin-top:20px}@media(max-width:768px){.home-page .promotion-section .promotion-container[data-v-34d6a3aa]{flex-direction:column}}.home-page .promotion-section .promotion-item[data-v-34d6a3aa]{flex:1;position:relative;height:300px;border-radius:8px;overflow:hidden}.home-page .promotion-section .promotion-item .promotion-img[data-v-34d6a3aa]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .5s ease}.home-page .promotion-section .promotion-item .promotion-img[data-v-34d6a3aa]:hover{transform:scale(1.05)}.home-page .promotion-section .promotion-item .promotion-info[data-v-34d6a3aa]{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;text-align:center}.home-page .promotion-section .promotion-item .promotion-info h3[data-v-34d6a3aa]{font-size:24px;margin-bottom:10px}.home-page .promotion-section .promotion-item .promotion-info p[data-v-34d6a3aa]{font-size:16px;margin-bottom:20px}
\ No newline at end of file
diff --git a/dist/css/828.9419445b.css b/dist/css/828.9419445b.css
new file mode 100644
index 0000000..3b9780a
--- /dev/null
+++ b/dist/css/828.9419445b.css
@@ -0,0 +1 @@
+.product-list .product-grid[data-v-71ee3626]{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.product-list .product-card[data-v-71ee3626]{border:1px solid #eaeaea;border-radius:8px;overflow:hidden;transition:all .3s ease;padding:10px;background:#fff;border-radius:10px}.product-list .product-card[data-v-71ee3626]:hover{transform:translateY(-5px);box-shadow:0 5px 15px rgba(0,0,0,.1)}.product-list .product-card .product-img[data-v-71ee3626]{height:250px;overflow:hidden}.product-list .product-card .product-img .product-pic[data-v-71ee3626]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .5s ease}.product-list .product-card .product-img .product-pic[data-v-71ee3626]:hover{transform:scale(1.05)}.product-list .product-card .product-info[data-v-71ee3626]{padding:10px}.product-list .product-card .product-info .product-name[data-v-71ee3626]{font-size:14px;line-height:20px;min-height:40px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:10px}.product-list .product-card .product-info .product-name a[data-v-71ee3626]{color:#333}.product-list .product-card .product-info .product-name a[data-v-71ee3626]:hover{color:#409eff}.product-list .product-card .product-info .product-price[data-v-71ee3626]{margin-bottom:15px}.product-list .product-card .product-info .product-price .current-price[data-v-71ee3626]{color:#f40;font-size:16px;font-weight:700}.product-list .product-card .product-info .product-price .original-price[data-v-71ee3626]{color:#999;font-size:12px;text-decoration:line-through;margin-left:8px}.product-list .product-card .product-info .product-actions[data-v-71ee3626]{margin-bottom:10px}.product-list .product-card .product-info .product-sales[data-v-71ee3626]{font-size:12px;color:#999;margin-bottom:15px}.product-list .no-products[data-v-71ee3626]{padding:50px 0;text-align:center}.home-page .home-carousel[data-v-34d6a3aa]{margin-bottom:30px}.home-page .home-carousel .carousel-img[data-v-34d6a3aa]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.home-page .category-nav[data-v-34d6a3aa]{margin-bottom:40px}.home-page .category-nav .category-list[data-v-34d6a3aa]{display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px;margin-top:20px}.home-page .category-nav .category-item[data-v-34d6a3aa]{flex:1;min-width:120px;height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #eaeaea;border-radius:8px;cursor:pointer;transition:all .3s ease}.home-page .category-nav .category-item[data-v-34d6a3aa]:hover{transform:translateY(-5px);box-shadow:0 5px 15px rgba(0,0,0,.1);border-color:#409eff}.home-page .category-nav .category-item .category-icon[data-v-34d6a3aa]{font-size:36px;color:#409eff;margin-bottom:15px}.home-page .category-nav .category-item .category-name[data-v-34d6a3aa]{font-size:16px;font-weight:500}.home-page .section-title[data-v-34d6a3aa]{font-size:24px;color:#333;padding-bottom:10px;border-bottom:2px solid #409eff;display:inline-block;margin-bottom:20px}.home-page .section-header[data-v-34d6a3aa]{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.home-page .section-header .more-link[data-v-34d6a3aa]{color:#409eff;font-size:14px;display:flex;align-items:center}.home-page .section-header .more-link[data-v-34d6a3aa]:hover{text-decoration:underline}.home-page .section-header .more-link i[data-v-34d6a3aa]{margin-left:5px;font-size:16px}.home-page .hot-products[data-v-34d6a3aa],.home-page .new-products[data-v-34d6a3aa]{margin-bottom:40px}.home-page .promotion-section[data-v-34d6a3aa]{margin:40px 0}.home-page .promotion-section .promotion-container[data-v-34d6a3aa]{display:flex;gap:20px;margin-top:20px}@media(max-width:768px){.home-page .promotion-section .promotion-container[data-v-34d6a3aa]{flex-direction:column}}.home-page .promotion-section .promotion-item[data-v-34d6a3aa]{flex:1;position:relative;height:300px;border-radius:8px;overflow:hidden}.home-page .promotion-section .promotion-item .promotion-img[data-v-34d6a3aa]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .5s ease}.home-page .promotion-section .promotion-item .promotion-img[data-v-34d6a3aa]:hover{transform:scale(1.05)}.home-page .promotion-section .promotion-item .promotion-info[data-v-34d6a3aa]{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;text-align:center}.home-page .promotion-section .promotion-item .promotion-info h3[data-v-34d6a3aa]{font-size:24px;margin-bottom:10px}.home-page .promotion-section .promotion-item .promotion-info p[data-v-34d6a3aa]{font-size:16px;margin-bottom:20px}
\ No newline at end of file
diff --git a/dist/css/839.7922504b.css b/dist/css/839.7922504b.css
new file mode 100644
index 0000000..82782f4
--- /dev/null
+++ b/dist/css/839.7922504b.css
@@ -0,0 +1 @@
+.bg[data-v-d39f5dce]{display:flex;flex-direction:column}.bg[data-v-d39f5dce] .el-button--text,.bg[data-v-d39f5dce] .el-tabs__item.is-active{color:#6a8a27}.bg[data-v-d39f5dce] .el-tabs__active-bar{background-color:#6a8a27}.bg[data-v-d39f5dce] .el-tabs__item:hover{color:#6a8a27}.filter-bar[data-v-d39f5dce]{margin-bottom:20px}.order-card[data-v-d39f5dce]{border:1px solid #eee;border-radius:4px;margin-bottom:20px;overflow:hidden}.order-header[data-v-d39f5dce]{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-d39f5dce]{padding:10px 20px;background:#fff}.product-item[data-v-d39f5dce]{display:flex;align-items:center;padding:15px 0;border-bottom:1px dashed #eee;font-size:14px}.product-item[data-v-d39f5dce]:last-child{border-bottom:none}.product-image[data-v-d39f5dce]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:15px;border-radius:4px}.product-details[data-v-d39f5dce]{flex:1}.product-name[data-v-d39f5dce]{color:#333;margin-bottom:5px}.product-spec[data-v-d39f5dce]{color:#999;font-size:12px}.product-price[data-v-d39f5dce]{width:120px;text-align:center;color:#333}.product-quantity[data-v-d39f5dce]{width:100px;text-align:center;color:#666}.product-total[data-v-d39f5dce]{width:120px;text-align:center;color:#333;font-weight:500}.product-actions[data-v-d39f5dce],.product-status[data-v-d39f5dce]{width:150px;text-align:center}.order-footer[data-v-d39f5dce]{background-color:#f8f9fa;padding:15px 20px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee}.order-summary[data-v-d39f5dce]{text-align:right}.order-amount[data-v-d39f5dce]{color:#333;margin-bottom:5px}.order-amount strong[data-v-d39f5dce]{color:#ff4d4f;font-size:16px}.order-tips[data-v-d39f5dce]{font-size:12px;color:#999}.order-actions[data-v-d39f5dce]{display:flex;gap:10px}
\ No newline at end of file
diff --git a/dist/css/856.669cb47e.css b/dist/css/856.669cb47e.css
new file mode 100644
index 0000000..21ea5b2
--- /dev/null
+++ b/dist/css/856.669cb47e.css
@@ -0,0 +1 @@
+.review-container[data-v-64b727d4]{max-width:1000px;margin:0 auto;padding:20px}.page-header[data-v-64b727d4],.product-card[data-v-64b727d4]{margin-bottom:20px}.product-info[data-v-64b727d4]{display:flex;align-items:center;padding:10px 0}.product-image[data-v-64b727d4]{width:120px;height:120px;border-radius:4px;margin-right:20px}.product-details[data-v-64b727d4]{flex:1}.product-title[data-v-64b727d4]{font-size:16px;font-weight:500;margin-bottom:10px;color:#333;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-desc[data-v-64b727d4]{color:#666;margin-bottom:10px;font-size:14px}.product-price[data-v-64b727d4]{color:#ff4d4f;font-size:18px}.review-form-card[data-v-64b727d4]{margin-bottom:20px}.rating-stars[data-v-64b727d4]{font-size:24px;color:#ccc}.rating-stars .active[data-v-64b727d4]{color:#f5a623}.rating-stars i[data-v-64b727d4]{cursor:pointer;margin-right:5px;transition:color .2s}.rating-stars i[data-v-64b727d4]:hover{color:#f5a623}.rating-text[data-v-64b727d4]{margin-top:10px;color:#666;font-size:14px}.char-count[data-v-64b727d4]{text-align:right;color:#999;font-size:12px;margin-top:5px}.image-upload[data-v-64b727d4]{margin-bottom:10px}.upload-tip[data-v-64b727d4]{color:#999;font-size:12px}.review-alert[data-v-64b727d4]{margin-top:10px}.anonymous-tip[data-v-64b727d4]{color:#999;font-size:12px;margin-top:5px}@media(max-width:768px){.product-info[data-v-64b727d4]{flex-direction:column;align-items:flex-start}.product-image[data-v-64b727d4]{margin-bottom:15px}}
\ No newline at end of file
diff --git a/dist/css/906.de7ec92f.css b/dist/css/906.de7ec92f.css
new file mode 100644
index 0000000..0706f71
--- /dev/null
+++ b/dist/css/906.de7ec92f.css
@@ -0,0 +1 @@
+.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/css/app.9e5b67dd.css b/dist/css/app.5fbd07a4.css
similarity index 87%
rename from dist/css/app.9e5b67dd.css
rename to dist/css/app.5fbd07a4.css
index 4c51ba3..0e48881 100644
--- a/dist/css/app.9e5b67dd.css
+++ b/dist/css/app.5fbd07a4.css
@@ -1 +1 @@
-.header-nav[data-v-4f75d8c8]{width:100%}.header-nav .top-notice[data-v-4f75d8c8]{background-color:#f5f5f5;padding:8px 0}.header-nav .top-notice .container[data-v-4f75d8c8]{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;padding:0 20px}.header-nav .top-notice .container p[data-v-4f75d8c8]{font-size:14px;color:#666;margin:0}.header-nav .top-notice .container p .highlight[data-v-4f75d8c8]{color:#f40;margin:0 5px;font-weight:500}.header-nav .top-notice .container .top-links[data-v-4f75d8c8]{display:flex;align-items:center;gap:15px;font-size:14px}.header-nav .top-notice .container .top-links .avatar[data-v-4f75d8c8]{width:24px;height:24px;border-radius:50%;margin-right:5px;vertical-align:middle;-o-object-fit:cover;object-fit:cover}.header-nav .top-notice .container .top-links .separator[data-v-4f75d8c8]{color:#ccc}.header-nav .top-notice .container .top-links .logout-btn[data-v-4f75d8c8],.header-nav .top-notice .container .top-links a[data-v-4f75d8c8]{color:#666;transition:color .2s;cursor:pointer;text-decoration:none}.header-nav .top-notice .container .top-links .logout-btn[data-v-4f75d8c8]:hover,.header-nav .top-notice .container .top-links a[data-v-4f75d8c8]:hover{color:#6a8a27}.header-nav .top-notice .container .top-links .user-link[data-v-4f75d8c8]{display:flex;align-items:center}.header-nav .top-notice .container .top-links .cart-link[data-v-4f75d8c8]{display:inline-flex;align-items:center}.header-nav .main-nav[data-v-4f75d8c8]{background-color:#fff;padding:15px 0;box-shadow:0 2px 5px rgba(0,0,0,.05)}.header-nav .main-nav .container[data-v-4f75d8c8]{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;padding:0 20px}.header-nav .main-nav .logo a[data-v-4f75d8c8]{display:block}.header-nav .main-nav .logo a .logo-img[data-v-4f75d8c8]{height:40px;-o-object-fit:contain;object-fit:contain}.header-nav .main-nav .search-box[data-v-4f75d8c8]{flex:0 0 500px}@media(max-width:992px){.header-nav .main-nav .search-box[data-v-4f75d8c8]{flex:0 0 400px}}@media(max-width:768px){.header-nav .main-nav .search-box[data-v-4f75d8c8]{display:none}}.header-nav .main-nav .search-box .search-input[data-v-4f75d8c8]{width:100%;border:1px solid #6a8a27}.header-nav .main-nav .search-box .search-input[data-v-4f75d8c8] .el-input__inner{border-right:none}.header-nav .main-nav .search-box .search-input[data-v-4f75d8c8] .el-input-group__append{background-color:#6a8a27;border-color:#6a8a27;color:#fff}.header-nav .main-nav .search-box .hot-tags[data-v-4f75d8c8]{margin-top:8px;font-size:12px;color:#999;display:flex;align-items:center}.header-nav .main-nav .search-box .hot-tags span[data-v-4f75d8c8]{margin-right:5px}.header-nav .main-nav .search-box .hot-tags .hot-tag[data-v-4f75d8c8]{margin:0 5px;color:#666;cursor:pointer;transition:color .2s}.header-nav .main-nav .search-box .hot-tags .hot-tag[data-v-4f75d8c8]:hover{color:#409eff;text-decoration:underline}.header-nav .main-nav .phone-entry a[data-v-4f75d8c8]{display:flex;align-items:center;color:#333;font-size:16px;text-decoration:none}.header-nav .main-nav .phone-entry a img[data-v-4f75d8c8]{width:24px;height:24px}.header-nav .main-nav .phone-entry a span[data-v-4f75d8c8]{margin-left:10px}.header-nav .main-nav .phone-entry a .cart-count[data-v-4f75d8c8]{display:inline-block;width:18px;height:18px;background-color:#f40;color:#fff;border-radius:50%;font-size:12px;text-align:center;line-height:18px;margin-left:5px}.header-nav .category-nav[data-v-4f75d8c8]{background-color:#409eff}.header-nav .category-nav .container[data-v-4f75d8c8]{max-width:1200px;margin:0 auto;padding:0 20px}.header-nav .category-nav .nav-list[data-v-4f75d8c8]{display:flex;margin:0;padding:0}@media(max-width:992px){.header-nav .category-nav .nav-list[data-v-4f75d8c8]{overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}}.header-nav .category-nav .nav-list .nav-item[data-v-4f75d8c8]{list-style:none}.header-nav .category-nav .nav-list .nav-item .nav-link[data-v-4f75d8c8]{display:inline-block;padding:12px 20px;color:#fff;font-size:16px;transition:background-color .2s;text-decoration:none}.header-nav .category-nav .nav-list .nav-item .nav-link.active[data-v-4f75d8c8],.header-nav .category-nav .nav-list .nav-item .nav-link[data-v-4f75d8c8]:hover{background-color:#337ab7}.footer-container[data-v-683e198c]{background-color:#fff;color:#666;font-size:12px;border-top:1px solid #eaeaea}.footer-top[data-v-683e198c]{display:flex;justify-content:space-around;padding:20px 0;flex-wrap:wrap}.footer-link[data-v-683e198c]{display:flex;gap:20px;align-items:center}.footer-link span[data-v-683e198c]{cursor:pointer;transition:color .3s ease}.footer-link span[data-v-683e198c]:hover{color:#1890ff}.contact-info p[data-v-683e198c]{margin:5px 0}.footer-column[data-v-683e198c]{margin-bottom:20px}.footer-column h3[data-v-683e198c]{font-size:14px;font-weight:700;margin-bottom:10px;color:#333}.footer-column ul[data-v-683e198c]{list-style:none;padding:0;margin:0}.footer-column ul li[data-v-683e198c]{margin:5px 0;cursor:pointer;transition:color .3s ease}.footer-column ul li[data-v-683e198c]:hover{color:#1890ff}.qrcode-group[data-v-683e198c]{display:flex;gap:40px}.qrcode-item[data-v-683e198c]{text-align:center}.footer-bottom[data-v-683e198c]{text-align:center;padding:10px 0;border-top:1px solid #eaeaea}.footer-bottom p[data-v-683e198c]{margin:5px 0}.sidebar-container[data-v-7a791d2c]{position:fixed;right:20px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;background-color:#fff;border-radius:8px;box-shadow:0 2px 12px rgba(0,0,0,.1);padding:15px 10px;z-index:999}.sidebar-container .sidebar-item[data-v-7a791d2c]{display:flex;flex-direction:column;align-items:center;cursor:pointer;margin-bottom:20px;color:#666;transition:all .3s}.sidebar-container .sidebar-item[data-v-7a791d2c]:last-child{margin-bottom:0}.sidebar-container .sidebar-item i[data-v-7a791d2c]{font-size:20px;margin-bottom:5px}.sidebar-container .sidebar-item .item-text[data-v-7a791d2c]{font-size:12px}.sidebar-container .sidebar-item[data-v-7a791d2c]:hover{color:#409eff}.sidebar-container .item-badge .el-badge__content[data-v-7a791d2c]{background-color:#ff4d4f;top:-5px;right:-10px}.sidebar-container .back-to-top.active[data-v-7a791d2c]{color:#409eff}@media(max-width:768px){.sidebar-container[data-v-7a791d2c]{right:10px;padding:10px 5px}.sidebar-container .sidebar-item[data-v-7a791d2c]{margin-bottom:15px}.sidebar-container .sidebar-item i[data-v-7a791d2c]{font-size:18px}.sidebar-container .sidebar-item .item-text[data-v-7a791d2c]{font-size:10px}}.back-to-top[data-v-7ea6dee0]{position:fixed;bottom:30px;right:30px;width:40px;height:40px;background-color:#409eff;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.1);transition:all .3s ease;z-index:1000}.back-to-top[data-v-7ea6dee0]:hover{background-color:#337ab7;transform:translateY(-3px)}.back-to-top .el-icon-arrow-up[data-v-7ea6dee0]{font-size:20px}#app{font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;min-height:100vh;display:flex;flex-direction:column}.main-container{flex:1;width:100%;max-width:1200px;margin:0 auto;padding:20px;box-sizing:border-box}@media(max-width:1200px){.main-container{padding:15px}}@media(max-width:768px){.main-container{padding:10px}}.main-containers{flex:1;width:100%}*{margin:0;padding:0;box-sizing:border-box}a{text-decoration:none;color:inherit}ul{list-style:none}img{vertical-align:middle}body,html{padding:0;margin:0}div{box-sizing:border-box}.text-overflow{overflow-x:hidden;overflow-y:inherit;text-overflow:ellipsis;white-space:nowrap}.text-overflowRows{overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;word-break:break-all;display:-webkit-box;-webkit-box-orient:vertical}.flex-between{justify-content:space-between}.flex-between,.flex-center{display:flex;align-items:center}.flex-center{justify-content:center}.flex-around{display:flex;justify-content:space-around;align-items:center}.flex-column{display:flex;flex-direction:column}.normal-margin-bottom{margin-bottom:20px}
\ No newline at end of file
+.header-nav[data-v-4f75d8c8]{width:100%}.header-nav .top-notice[data-v-4f75d8c8]{background-color:#f5f5f5;padding:8px 0}.header-nav .top-notice .container[data-v-4f75d8c8]{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;padding:0 20px}.header-nav .top-notice .container p[data-v-4f75d8c8]{font-size:14px;color:#666;margin:0}.header-nav .top-notice .container p .highlight[data-v-4f75d8c8]{color:#f40;margin:0 5px;font-weight:500}.header-nav .top-notice .container .top-links[data-v-4f75d8c8]{display:flex;align-items:center;gap:15px;font-size:14px}.header-nav .top-notice .container .top-links .avatar[data-v-4f75d8c8]{width:24px;height:24px;border-radius:50%;margin-right:5px;vertical-align:middle;-o-object-fit:cover;object-fit:cover}.header-nav .top-notice .container .top-links .separator[data-v-4f75d8c8]{color:#ccc}.header-nav .top-notice .container .top-links .logout-btn[data-v-4f75d8c8],.header-nav .top-notice .container .top-links a[data-v-4f75d8c8]{color:#666;transition:color .2s;cursor:pointer;text-decoration:none}.header-nav .top-notice .container .top-links .logout-btn[data-v-4f75d8c8]:hover,.header-nav .top-notice .container .top-links a[data-v-4f75d8c8]:hover{color:#6a8a27}.header-nav .top-notice .container .top-links .user-link[data-v-4f75d8c8]{display:flex;align-items:center}.header-nav .top-notice .container .top-links .cart-link[data-v-4f75d8c8]{display:inline-flex;align-items:center}.header-nav .main-nav[data-v-4f75d8c8]{background-color:#fff;padding:15px 0;box-shadow:0 2px 5px rgba(0,0,0,.05)}.header-nav .main-nav .container[data-v-4f75d8c8]{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;padding:0 20px}.header-nav .main-nav .logo a[data-v-4f75d8c8]{display:block}.header-nav .main-nav .logo a .logo-img[data-v-4f75d8c8]{height:40px;-o-object-fit:contain;object-fit:contain}.header-nav .main-nav .search-box[data-v-4f75d8c8]{flex:0 0 500px}@media(max-width:992px){.header-nav .main-nav .search-box[data-v-4f75d8c8]{flex:0 0 400px}}@media(max-width:768px){.header-nav .main-nav .search-box[data-v-4f75d8c8]{display:none}}.header-nav .main-nav .search-box .search-input[data-v-4f75d8c8]{width:100%;border:1px solid #6a8a27}.header-nav .main-nav .search-box .search-input[data-v-4f75d8c8] .el-input__inner{border-right:none}.header-nav .main-nav .search-box .search-input[data-v-4f75d8c8] .el-input-group__append{background-color:#6a8a27;border-color:#6a8a27;color:#fff}.header-nav .main-nav .search-box .hot-tags[data-v-4f75d8c8]{margin-top:8px;font-size:12px;color:#999;display:flex;align-items:center}.header-nav .main-nav .search-box .hot-tags span[data-v-4f75d8c8]{margin-right:5px}.header-nav .main-nav .search-box .hot-tags .hot-tag[data-v-4f75d8c8]{margin:0 5px;color:#666;cursor:pointer;transition:color .2s}.header-nav .main-nav .search-box .hot-tags .hot-tag[data-v-4f75d8c8]:hover{color:#409eff;text-decoration:underline}.header-nav .main-nav .phone-entry a[data-v-4f75d8c8]{display:flex;align-items:center;color:#333;font-size:16px;text-decoration:none}.header-nav .main-nav .phone-entry a img[data-v-4f75d8c8]{width:24px;height:24px}.header-nav .main-nav .phone-entry a span[data-v-4f75d8c8]{margin-left:10px}.header-nav .main-nav .phone-entry a .cart-count[data-v-4f75d8c8]{display:inline-block;width:18px;height:18px;background-color:#f40;color:#fff;border-radius:50%;font-size:12px;text-align:center;line-height:18px;margin-left:5px}.header-nav .category-nav[data-v-4f75d8c8]{background-color:#409eff}.header-nav .category-nav .container[data-v-4f75d8c8]{max-width:1200px;margin:0 auto;padding:0 20px}.header-nav .category-nav .nav-list[data-v-4f75d8c8]{display:flex;margin:0;padding:0}@media(max-width:992px){.header-nav .category-nav .nav-list[data-v-4f75d8c8]{overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}}.header-nav .category-nav .nav-list .nav-item[data-v-4f75d8c8]{list-style:none}.header-nav .category-nav .nav-list .nav-item .nav-link[data-v-4f75d8c8]{display:inline-block;padding:12px 20px;color:#fff;font-size:16px;transition:background-color .2s;text-decoration:none}.header-nav .category-nav .nav-list .nav-item .nav-link.active[data-v-4f75d8c8],.header-nav .category-nav .nav-list .nav-item .nav-link[data-v-4f75d8c8]:hover{background-color:#337ab7}.footer-container[data-v-683e198c]{background-color:#fff;color:#666;font-size:12px;border-top:1px solid #eaeaea}.footer-top[data-v-683e198c]{display:flex;justify-content:space-around;padding:20px 0;flex-wrap:wrap}.footer-link[data-v-683e198c]{display:flex;gap:20px;align-items:center}.footer-link span[data-v-683e198c]{cursor:pointer;transition:color .3s ease}.footer-link span[data-v-683e198c]:hover{color:#1890ff}.contact-info p[data-v-683e198c]{margin:5px 0}.footer-column[data-v-683e198c]{margin-bottom:20px}.footer-column h3[data-v-683e198c]{font-size:14px;font-weight:700;margin-bottom:10px;color:#333}.footer-column ul[data-v-683e198c]{list-style:none;padding:0;margin:0}.footer-column ul li[data-v-683e198c]{margin:5px 0;cursor:pointer;transition:color .3s ease}.footer-column ul li[data-v-683e198c]:hover{color:#1890ff}.qrcode-group[data-v-683e198c]{display:flex;gap:40px}.qrcode-item[data-v-683e198c]{text-align:center}.footer-bottom[data-v-683e198c]{text-align:center;padding:10px 0;border-top:1px solid #eaeaea}.footer-bottom p[data-v-683e198c]{margin:5px 0}.sidebar-container[data-v-7a791d2c]{position:fixed;right:20px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;background-color:#fff;border-radius:8px;box-shadow:0 2px 12px rgba(0,0,0,.1);padding:15px 10px;z-index:999}.sidebar-container .sidebar-item[data-v-7a791d2c]{display:flex;flex-direction:column;align-items:center;cursor:pointer;margin-bottom:20px;color:#666;transition:all .3s}.sidebar-container .sidebar-item[data-v-7a791d2c]:last-child{margin-bottom:0}.sidebar-container .sidebar-item i[data-v-7a791d2c]{font-size:20px;margin-bottom:5px}.sidebar-container .sidebar-item .item-text[data-v-7a791d2c]{font-size:12px}.sidebar-container .sidebar-item[data-v-7a791d2c]:hover{color:#409eff}.sidebar-container .item-badge .el-badge__content[data-v-7a791d2c]{background-color:#ff4d4f;top:-5px;right:-10px}.sidebar-container .back-to-top.active[data-v-7a791d2c]{color:#409eff}@media(max-width:768px){.sidebar-container[data-v-7a791d2c]{right:10px;padding:10px 5px}.sidebar-container .sidebar-item[data-v-7a791d2c]{margin-bottom:15px}.sidebar-container .sidebar-item i[data-v-7a791d2c]{font-size:18px}.sidebar-container .sidebar-item .item-text[data-v-7a791d2c]{font-size:10px}}.back-to-top[data-v-7ea6dee0]{position:fixed;bottom:30px;right:30px;width:40px;height:40px;background-color:#409eff;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.1);transition:all .3s ease;z-index:1000}.back-to-top[data-v-7ea6dee0]:hover{background-color:#337ab7;transform:translateY(-3px)}.back-to-top .el-icon-arrow-up[data-v-7ea6dee0]{font-size:20px}#app{font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;min-height:100vh;display:flex;flex-direction:column;background:#ecf2df}.main-container{flex:1;width:100%;max-width:1200px;margin:0 auto;padding:20px;box-sizing:border-box}@media(max-width:1200px){.main-container{padding:15px}}@media(max-width:768px){.main-container{padding:10px}}.main-containers{flex:1;width:100%}*{margin:0;padding:0;box-sizing:border-box}a{text-decoration:none;color:inherit}ul{list-style:none}img{vertical-align:middle}body,html{padding:0;margin:0}div{box-sizing:border-box}.text-overflow{overflow-x:hidden;overflow-y:inherit;text-overflow:ellipsis;white-space:nowrap}.text-overflowRows{overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;word-break:break-all;display:-webkit-box;-webkit-box-orient:vertical}.flex-between{justify-content:space-between}.flex-between,.flex-center{display:flex;align-items:center}.flex-center{justify-content:center}.flex-around{display:flex;justify-content:space-around;align-items:center}.flex-column{display:flex;flex-direction:column}.normal-margin-bottom{margin-bottom:20px}
\ No newline at end of file
diff --git a/dist/index.html b/dist/index.html
index 9768f67..0ef91a9 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/179.67a63611.js b/dist/js/179.67a63611.js
deleted file mode 100644
index 5e7cfba..0000000
--- a/dist/js/179.67a63611.js
+++ /dev/null
@@ -1,2 +0,0 @@
-"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[179],{179:function(e,t,i){i.r(t),i.d(t,{default:function(){return c}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg"},[t("el-card",{staticStyle:{width:"100%"}},[t("div",{staticClass:"clearfix flex-between",attrs:{slot:"header"},slot:"header"},[t("span",[e._v("我的发票")]),t("div",{staticClass:"flex-between"},[t("span",{staticStyle:{color:"#666","font-size":"12px"}},[e._v("您已保存了"+e._s(e.invoiceList.length)+"个发票抬头信息,做多可创建5个。")]),t("el-button",{staticStyle:{float:"right"},attrs:{size:"small",type:"primary"},on:{click:function(t){return e.openDialog("add",{})}}},[e._v("新增")])],1)]),t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.invoiceList,border:""}},[t("el-table-column",{attrs:{prop:"invoice_head",label:"发票抬头",width:"120"}}),t("el-table-column",{attrs:{prop:"tax_number",label:"纳税人识别号",width:"200"}}),t("el-table-column",{attrs:{prop:"opening_bank",label:"开户银行","min-width":"180"}}),t("el-table-column",{attrs:{prop:"bank_account",label:"银行账号","min-width":"180"}}),t("el-table-column",{attrs:{label:"操作",width:"200"},scopedSlots:e._u([{key:"default",fn:function(i){return[t("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.openDialog("edit",i.row)}}},[e._v("编辑")]),t("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDelete(i.row)}}},[e._v("删除")])]}}])})],1)],1),t("el-dialog",{attrs:{title:"发票抬头",visible:e.dialogVisible,width:"700px"},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("el-form",{ref:"form",attrs:{model:e.form,"label-width":"120px",size:"small",rules:e.titleRules}},[t("el-form-item",{attrs:{label:"发票抬头",prop:"invoice_head"}},[t("el-input",{attrs:{placeholder:"请填写发票抬头"},model:{value:e.form.invoice_head,callback:function(t){e.$set(e.form,"invoice_head",t)},expression:"form.invoice_head"}})],1),t("el-form-item",{attrs:{label:"纳税人识别号",prop:"tax_number"}},[t("el-input",{attrs:{placeholder:"请填写纳税人识别号"},model:{value:e.form.tax_number,callback:function(t){e.$set(e.form,"tax_number",t)},expression:"form.tax_number"}})],1),t("el-form-item",{attrs:{label:"开户银行",prop:"opening_bank"}},[t("el-input",{attrs:{placeholder:"请填写开户银行"},model:{value:e.form.opening_bank,callback:function(t){e.$set(e.form,"opening_bank",t)},expression:"form.opening_bank"}})],1),t("el-form-item",{attrs:{label:"银行账号",prop:"bank_account"}},[t("el-input",{attrs:{placeholder:"请填写银行账号"},model:{value:e.form.bank_account,callback:function(t){e.$set(e.form,"bank_account",t)},expression:"form.bank_account"}})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"small"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("取消")]),t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.saveInvoiceTitle}},[e._v("保存")])],1)],1)],1)},n=[],l={name:"UserInfo",data(){return{user:{},searchParam:{pageSize:5,currentPage:1,total:10},dialogVisible:!1,invoiceList:[],form:{type:"add",invoice_head:"",tax_number:"",opening_bank:"",bank_account:""},titleRules:{invoice_head:[{required:!0,message:"请输入发票抬头",trigger:"blur"}],tax_number:[{required:!0,message:"请输入纳税人识别号",trigger:"blur"},{pattern:/^[A-Z0-9]{15,20}$/,message:"纳税人识别号格式不正确",trigger:"blur"}],opening_bank:[{required:!0,message:"请输入开户银行",trigger:"blur"}],bank_account:[{required:!0,message:"请输入银行账号",trigger:"blur"}]}}},mounted(){this.getList()},methods:{getList(){this.post({offset:0,limit:5},"/api/enterprise_invoice/index").then(e=>{this.invoiceList=e.data})},handleSizeChange(e){this.searchParam.pageSize=e},handleCurrentChange(e){this.searchParam.currentPage=e},openDialog(e,t){this.form={type:e,id:t.id||"",bank_account:t.bank_account||"",invoice_head:t.invoice_head||"",opening_bank:t.opening_bank||"",tax_number:t.tax_number||""},this.dialogVisible=!0},saveInvoiceTitle(){this.$refs.form.validate(e=>{if(e){let e="add"==this.form.type?"/api/enterprise_invoice/create":"/api/enterprise_invoice/edit";this.post(this.form,e).then(e=>{1==e.code&&(this.getList(),this.$message.success("操作成功"),this.dialogVisible=!1)})}})},handleDelete(e){this.$confirm("此操作将永久删除该发票, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({id:e.id},"/api/enterprise_invoice/delete").then(e=>{1==e.code&&(this.getList(),this.$message({type:"success",message:"删除成功!"}))})})}}},r=l,o=i(1656),s=(0,o.A)(r,a,n,!1,null,"89376790",null),c=s.exports}}]);
-//# sourceMappingURL=179.67a63611.js.map
\ No newline at end of file
diff --git a/dist/js/253.6c575ac9.js b/dist/js/253.6c575ac9.js
deleted file mode 100644
index 585920e..0000000
--- a/dist/js/253.6c575ac9.js
+++ /dev/null
@@ -1,2 +0,0 @@
-"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[253],{7253:function(t,e,i){i.r(e),i.d(e,{default:function(){return n}});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.gotoDetail(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_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:{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.$message({message:`去评价订单 ${t}`,type:"info"})},viewOrderDetail(t){this.$router.push({path:"/OrderDetail?id="+t})}}}),o=a,l=i(1656),d=(0,l.A)(o,r,s,!1,null,"0e9c5623",null),n=d.exports}}]);
-//# sourceMappingURL=253.6c575ac9.js.map
\ No newline at end of file
diff --git a/dist/js/253.6c575ac9.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A,QAAAF,OACAG,KAAA,QAEA,EAGAE,UAAAA,CAAAL,GACA,KAAAC,SAAA,CACAC,QAAA,SAAAF,IACAG,KAAA,QAEA,EAGAzC,eAAAA,CAAAsC,GACA,KAAAjB,QAAAC,KAAA,CACAsB,KAAA,mBAAAN,GAEA,KC7XiQ,I,UCQ7PO,GAAY,OACd,EACA/F,EACA2D,GACA,EACA,KACA,WACA,MAIF,EAAeoC,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.gotoDetail(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(\"订单详情\")]),(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 \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 搜索\r\n \r\n \r\n 重置\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
单价(元)
\r\n
数量
\r\n
小计(元)
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
![]()
\r\n
\r\n
{{ product.product_title }}
\r\n
{{ product.sku_name }}
\r\n
\r\n
\r\n ¥{{ (product.product_price / 100).toFixed(2) }}\r\n
\r\n
x{{ product.product_num }}
\r\n
\r\n ¥{{ (product.paid_money / 100).toFixed(2) }}\r\n
\r\n\r\n
\r\n \r\n 商品详情\r\n \r\n 去评价\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\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=0e9c5623&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=0e9c5623&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 \"0e9c5623\",\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","_e","total_post_fee","viewOrderDetail","payOrder","checkLogistics","length","currentPage","limit","total","handleSizeChange","handleCurrentChange","staticRenderFns","data","activeTab","start_date","end_date","computed","mounted","status","$route","query","getList","methods","$router","push","product_id","post","offset","then","res","list","val","getStatusText","statusMap","pendingPayment","pendingDelivery","delivering","completed","cancelled","typeMap","orderId","$message","message","type","remindDelivery","gotoReview","path","component"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/28.7a51a71d.js b/dist/js/28.7a51a71d.js
deleted file mode 100644
index b783a49..0000000
--- a/dist/js/28.7a51a71d.js
+++ /dev/null
@@ -1,2 +0,0 @@
-"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[28],{9028:function(t,e,r){r.r(e),r.d(e,{default:function(){return c}});var i=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,r){return e("el-option",{key:r,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(r){return e("div",{key:r.id,staticClass:"order-card"},[e("div",{staticClass:"order-header flex-between"},[e("div",{staticStyle:{display:"flex"}},[e("div",[t._v("订单号: "+t._s(r.order_id))]),e("div",{staticStyle:{"padding-left":"60px"}},[t._v(" 下单时间:"+t._s(r.create_time)+" ")])]),e("div",{staticClass:"product-status"},[e("el-tag",{attrs:{type:t.getStatusTagType(r.state),size:"small"}},[t._v(t._s(r.state_text))])],1)]),e("div",{staticClass:"order-products"},t._l(r.order_product_list,function(r){return e("div",{key:r.id,staticClass:"product-item"},[e("img",{staticClass:"product-image",attrs:{src:r.product_img}}),e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v(t._s(r.product_title))]),e("div",{staticClass:"product-spec"},[t._v(t._s(r.sku_name))])]),e("div",{staticClass:"product-price"},[t._v(" ¥"+t._s((r.product_price/100).toFixed(2))+" ")]),e("div",{staticClass:"product-quantity"},[t._v("x"+t._s(r.product_num))]),e("div",{staticClass:"product-total"},[t._v(" ¥"+t._s((r.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(r)}}},[t._v(" 商品详情")]),"WAIT_COMMENT"==r.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoDetail(r)}}},[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((r.paid_money/100).toFixed(2)))]),t._v(" (含运费 ¥"+t._s((r.total_post_fee/100).toFixed(2))+") ")])])])])}),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=(r(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:"WAIT_COMMENT"},{name:"已评价",id:"COMPLETED"}],orders:[]}},computed:{},mounted(){this.filterForm.state="WAIT_COMMENT",this.getList()},methods:{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.$message({message:`去评价订单 ${t}`,type:"info"})},viewOrderDetail(t){this.$router.push({path:"/OrderDetail?id="+t})}}}),l=a,o=r(1656),d=(0,o.A)(l,i,s,!1,null,"7926bfa2",null),c=d.exports}}]);
-//# sourceMappingURL=28.7a51a71d.js.map
\ No newline at end of file
diff --git a/dist/js/28.7a51a71d.js.map b/dist/js/28.7a51a71d.js.map
deleted file mode 100644
index f27b697..0000000
--- a/dist/js/28.7a51a71d.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":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AA,SACA,EAGAQ,QAAAA,CAAAC,GACA,KAAAC,SAAA,CACAC,QAAA,MAAAF,QACAG,KAAA,QAEA,EAGAC,cAAAA,CAAAJ,GACA,KAAAC,SAAA,CACAC,QAAA,SAAAF,OACAG,KAAA,WAEA,EAGAE,cAAAA,CAAAL,GACA,KAAAC,SAAA,CACAC,QAAA,QAAAF,OACAG,KAAA,QAEA,EAGAG,UAAAA,CAAAN,GACA,KAAAC,SAAA,CACAC,QAAA,SAAAF,IACAG,KAAA,QAEA,EAGAI,eAAAA,CAAAP,GACA,KAAAnB,QAAAC,KAAA,CACA0B,KAAA,mBAAAR,GAEA,KCvVqQ,I,UCQjQS,GAAY,OACd,EACA7F,EACAwD,GACA,EACA,KACA,WACA,MAIF,EAAeqC,E","sources":["webpack://shiweisuzhou/./src/views/User/CommentManage.vue","webpack://shiweisuzhou/src/views/User/CommentManage.vue","webpack://shiweisuzhou/./src/views/User/CommentManage.vue?cd48","webpack://shiweisuzhou/./src/views/User/CommentManage.vue?0d4f"],"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.gotoDetail(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))+\") \")])])])])}),(_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 \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 搜索\r\n \r\n \r\n 重置\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
单价(元)
\r\n
数量
\r\n
小计(元)
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
![]()
\r\n
\r\n
{{ product.product_title }}
\r\n
{{ product.sku_name }}
\r\n
\r\n
\r\n ¥{{ (product.product_price / 100).toFixed(2) }}\r\n
\r\n
x{{ product.product_num }}
\r\n
\r\n ¥{{ (product.paid_money / 100).toFixed(2) }}\r\n
\r\n\r\n
\r\n \r\n 商品详情\r\n \r\n 去评价\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\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!./CommentManage.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!./CommentManage.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CommentManage.vue?vue&type=template&id=7926bfa2&scoped=true\"\nimport script from \"./CommentManage.vue?vue&type=script&lang=js\"\nexport * from \"./CommentManage.vue?vue&type=script&lang=js\"\nimport style0 from \"./CommentManage.vue?vue&type=style&index=0&id=7926bfa2&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 \"7926bfa2\",\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","_e","total_post_fee","length","currentPage","limit","total","handleSizeChange","handleCurrentChange","staticRenderFns","data","activeTab","start_date","end_date","computed","mounted","getList","methods","$router","push","product_id","post","offset","then","res","list","val","getStatusText","status","statusMap","pendingPayment","pendingDelivery","delivering","completed","cancelled","typeMap","payOrder","orderId","$message","message","type","remindDelivery","checkLogistics","gotoReview","viewOrderDetail","path","component"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/315.010ae2e0.js b/dist/js/315.010ae2e0.js
new file mode 100644
index 0000000..f6a0184
--- /dev/null
+++ b/dist/js/315.010ae2e0.js
@@ -0,0 +1,2 @@
+"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[315],{7315:function(t,n,e){e.r(n),e.d(n,{default:function(){return r}});var i=function(){var t=this,n=t._self._c;return n("div",{staticClass:"announcement-container"},[n("div",{staticClass:"page-title"},[t._v("公告详情")]),n("div",{staticClass:"detail",domProps:{innerHTML:t._s(t.util.formateRichText(t.content))}})])},s=[],c={name:"Announcement",data(){return{content:{}}},created(){this.getAnnouncement()},methods:{getAnnouncement(){this.get({id:this.$route.query.id},"/api/anncmnt/getAnncmntById").then(t=>{1==t.code&&(this.content=t.data.content)})}}},a=c,u=e(1656),o=(0,u.A)(a,i,s,!1,null,"34e6c3de",null),r=o.exports}}]);
+//# sourceMappingURL=315.010ae2e0.js.map
\ No newline at end of file
diff --git a/dist/js/315.010ae2e0.js.map b/dist/js/315.010ae2e0.js.map
new file mode 100644
index 0000000..2c41338
--- /dev/null
+++ b/dist/js/315.010ae2e0.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"js/315.010ae2e0.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,0BAA0B,CAACF,EAAG,MAAM,CAACE,YAAY,cAAc,CAACJ,EAAIK,GAAG,UAAUH,EAAG,MAAM,CAACE,YAAY,SAASE,SAAS,CAAC,UAAYN,EAAIO,GAAGP,EAAIQ,KAAKC,gBAAgBT,EAAIU,cACnQ,EACIC,EAAkB,GCStB,GACAC,KAAA,eACAC,IAAAA,GACA,OACAH,QAAA,GAEA,EACAI,OAAAA,GAEA,KAAAC,iBACA,EACAC,QAAA,CAEAD,eAAAA,GACA,KAAAE,IACA,CACAC,GAAA,KAAAC,OAAAC,MAAAF,IAEA,+BACAG,KAAAC,IACA,GAAAA,EAAAC,OACA,KAAAb,QAAAY,EAAAT,KAAAH,UAGA,ICnCoQ,I,UCQhQc,GAAY,OACd,EACAzB,EACAY,GACA,EACA,KACA,WACA,MAIF,EAAea,E","sources":["webpack://shiweisuzhou/./src/views/notice/noticeDetail.vue","webpack://shiweisuzhou/src/views/notice/noticeDetail.vue","webpack://shiweisuzhou/./src/views/notice/noticeDetail.vue?b35e","webpack://shiweisuzhou/./src/views/notice/noticeDetail.vue?4a16"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"announcement-container\"},[_c('div',{staticClass:\"page-title\"},[_vm._v(\"公告详情\")]),_c('div',{staticClass:\"detail\",domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(_vm.content))}})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n
公告详情
\r\n\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\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!./noticeDetail.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!./noticeDetail.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./noticeDetail.vue?vue&type=template&id=34e6c3de&scoped=true\"\nimport script from \"./noticeDetail.vue?vue&type=script&lang=js\"\nexport * from \"./noticeDetail.vue?vue&type=script&lang=js\"\nimport style0 from \"./noticeDetail.vue?vue&type=style&index=0&id=34e6c3de&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 \"34e6c3de\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_v","domProps","_s","util","formateRichText","content","staticRenderFns","name","data","created","getAnnouncement","methods","get","id","$route","query","then","res","code","component"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/758.9bf283c8.js b/dist/js/331.633619dc.js
similarity index 61%
rename from dist/js/758.9bf283c8.js
rename to dist/js/331.633619dc.js
index 390af09..a09d2f9 100644
--- a/dist/js/758.9bf283c8.js
+++ b/dist/js/331.633619dc.js
@@ -1,2 +1,2 @@
-"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[758],{1734:function(e,t,i){i.d(t,{A:function(){return d}});var s=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:("add"===e.type?"新增":"编辑")+"收货地址",visible:e.visible,width:"700px"},on:{close:e.handleClose}},[t("el-form",{ref:"addressForm",attrs:{model:e.form,rules:e.rules,"label-width":"100px",size:"small"}},[t("el-form-item",{attrs:{label:"收货人",prop:"username"}},[t("el-input",{attrs:{placeholder:"请填写收货人姓名,限制10个字符",maxlength:"10"},model:{value:e.form.username,callback:function(t){e.$set(e.form,"username",t)},expression:"form.username"}})],1),t("el-form-item",{attrs:{label:"所在地区",prop:"region"}},[t("div",{staticClass:"region-selector"},[t("el-select",{staticClass:"region-select",attrs:{placeholder:"选择省份/直辖市"},on:{change:e.handleProvinceChange},model:{value:e.form.province_id,callback:function(t){e.$set(e.form,"province_id",t)},expression:"form.province_id"}},e._l(e.provinces,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1),t("el-select",{staticClass:"region-select",attrs:{placeholder:"选择城市",disabled:!e.form.province_id},on:{change:e.handleCityChange},model:{value:e.form.city_id,callback:function(t){e.$set(e.form,"city_id",t)},expression:"form.city_id"}},e._l(e.cities,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1),t("el-select",{staticClass:"region-select",attrs:{placeholder:"选择县区",disabled:!e.form.city_id},model:{value:e.form.district_id,callback:function(t){e.$set(e.form,"district_id",t)},expression:"form.district_id"}},e._l(e.districts,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1)],1)]),t("el-form-item",{attrs:{label:"详细地址",prop:"detail_addr"}},[t("el-input",{attrs:{placeholder:"请填写详细地址,限制500个字符",maxlength:"500"},model:{value:e.form.detail_addr,callback:function(t){e.$set(e.form,"detail_addr",t)},expression:"form.detail_addr"}})],1),t("el-form-item",{attrs:{label:"手机号码",prop:"mobile"}},[t("el-input",{attrs:{placeholder:"请填写手机号码,限制11位数字",maxlength:"11",oninput:"value=value.replace(/[^\\d]/g,'')"},model:{value:e.form.mobile,callback:function(t){e.$set(e.form,"mobile",t)},expression:"form.mobile"}})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"small"},on:{click:e.handleClose}},[e._v("取消")]),t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.saveAddress}},[e._v("保存")])],1)],1)},a=[],r=(i(8111),i(2489),i(116),{name:"AddressFormDialog",props:{visible:{type:Boolean,default:!1},type:{type:String,required:!0,validator:e=>["add","edit"].includes(e)},initialData:{type:Object,default:()=>({})}},data(){const e=(e,t,i)=>t?/^1[3-9]\d{9}$/.test(t)?void i():i(new Error("请输入正确的11位手机号码")):i(new Error("请输入手机号码")),t=(e,t,i)=>{if(!this.form.province_id||!this.form.city_id||!this.form.district_id)return i(new Error("请完整选择省市区"));i()};return{form:{id:null,username:"",detail_addr:"",mobile:"",province_id:null,city_id:null,district_id:null,region:""},rules:{username:[{required:!0,message:"请输入收货人姓名",trigger:"blur"},{max:10,message:"姓名不能超过10个字符",trigger:"blur"}],region:[{required:!0,validator:t,trigger:"change"}],detail_addr:[{required:!0,message:"请输入详细地址",trigger:"blur"},{max:500,message:"详细地址不能超过500个字符",trigger:"blur"}],mobile:[{required:!0,validator:e,trigger:"blur"}]},regionData:[]}},computed:{provinces(){return this.regionData.filter(e=>1===e.level)},cities(){return this.form.province_id?this.regionData.filter(e=>2===e.level&&e.pid===this.form.province_id):[]},districts(){return this.form.city_id?this.regionData.filter(e=>3===e.level&&e.pid===this.form.city_id):[]}},watch:{visible(e){e&&this.initForm()},initialData:{handler(){this.visible&&this.initForm()},deep:!0}},mounted(){this.getRegionData()},methods:{async getRegionData(){try{const e=await this.post({},"/api/uservice/user/getAreas");e&&e.data?this.regionData=e.data:this.$message.error("获取地区数据失败")}catch(e){console.error("获取地区数据出错:",e),this.$message.error("获取地区数据时发生错误")}},initForm(){this.$nextTick(()=>{this.$refs.addressForm&&this.$refs.addressForm.resetFields(),this.form={id:"edit"===this.type?this.initialData.id:null,username:this.initialData.username||"",detail_addr:this.initialData.detail_addr||"",mobile:this.initialData.mobile||"",province_id:this.initialData.province_id||null,city_id:this.initialData.city_id||null,district_id:this.initialData.district_id||null,region:this.initialData.region||""},"edit"===this.type&&this.initialData.region&&!this.form.province_id&&this.echoRegionSelection(this.initialData.region)})},echoRegionSelection(e){const t=e.split(" ");if(t.length<3)return;const i=this.provinces.find(e=>e.name===t[0]);i&&(this.form.province_id=i.id,this.$nextTick(()=>{const e=this.cities.find(e=>e.name===t[1]);e&&(this.form.city_id=e.id,this.$nextTick(()=>{const e=this.districts.find(e=>e.name===t[2]);e&&(this.form.district_id=e.id)}))}))},handleProvinceChange(){this.form.city_id=null,this.form.district_id=null},handleCityChange(){this.form.district_id=null},saveAddress(){this.$refs.addressForm.validate(async e=>{if(!e)return;const t=this.provinces.find(e=>e.id===this.form.province_id),i=this.cities.find(e=>e.id===this.form.city_id),s=this.districts.find(e=>e.id===this.form.district_id);if(!(t&&i&&s))return void this.$message.warning("地区信息不完整");const a={...this.form,region:`${t.name} ${i.name} ${s.name}`};this.$emit("save",a),this.handleClose()})},handleClose(){this.$emit("update:visible",!1)}}}),o=r,l=i(1656),n=(0,l.A)(o,s,a,!1,null,"7d3ebefd",null),d=n.exports},3758:function(e,t,i){i.r(t),i.d(t,{default:function(){return u}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"order-page"},[t("div",{staticClass:"page-header"},[t("h2",[e._v("填写收货人信息")]),t("el-button",{staticClass:"address-book-btn",attrs:{type:"text"},on:{click:function(t){return e.openDialog("add",{})}}},[e._v(" 新增/修改地址 ")])],1),t("div",{staticClass:"info-section"},[t("h3",[e._v("收货人信息")]),t("div",{staticClass:"address-item"},[t("span",{staticClass:"label"},[e._v("收货地址:")]),t("div",{staticClass:"address-content"},e._l(e.addresses,function(i,s){return t("div",{key:s,staticClass:"saved-address",class:{selected:e.selectedAddressIndex===s},on:{click:function(t){return e.selectAddress(s)}}},[t("span",{staticClass:"name-tag"},[e._v(e._s(i.name)+" "+e._s(i.province))]),t("span",{staticClass:"detail"},[e._v(e._s(i.address)+" "+e._s(i.phone))]),t("el-button",{staticClass:"edit-btn",attrs:{type:"text"},on:{click:function(t){return t.stopPropagation(),e.handleEdit(i)}}},[e._v("编辑")]),t("el-button",{staticClass:"delete-btn",attrs:{type:"text"},on:{click:function(t){return t.stopPropagation(),e.handleDelete()}}},[e._v("删除")])],1)}),0)]),t("h3",[e._v("发票信息")]),t("div",{staticClass:"invoice-type-item"},[t("span",{staticClass:"label"},[e._v("是否开票:")]),t("el-radio-group",{model:{value:e.needInvoice,callback:function(t){e.needInvoice=t},expression:"needInvoice"}},[t("el-radio",{attrs:{label:!0}},[e._v("是")]),t("el-radio",{attrs:{label:!1}},[e._v("否")])],1)],1),e.needInvoice?t("div",{staticClass:"invoice-type-item"},[t("span",{staticClass:"label"},[e._v("发票类型:")]),t("el-radio-group",{model:{value:e.invoice_type,callback:function(t){e.invoice_type=t},expression:"invoice_type"}},[t("el-radio",{attrs:{label:1}},[e._v("增值税普通发票")]),t("el-radio",{attrs:{label:2}},[e._v("普通电子发票")])],1)],1):e._e(),e.needInvoice?t("div",{staticClass:"invoice-title-item"},[t("span",{staticClass:"label"},[e._v("发票抬头:")]),t("el-select",{staticClass:"invoice-title-select",attrs:{placeholder:"请选择发票抬头"},model:{value:e.selectedInvoiceTitle,callback:function(t){e.selectedInvoiceTitle=t},expression:"selectedInvoiceTitle"}},e._l(e.invoiceTitles,function(e,i){return t("el-option",{key:i,attrs:{label:e.invoice_head,value:e.id}})}),1),t("el-button",{staticClass:"add-title-btn",attrs:{type:"text"},on:{click:e.openTitleDialog}},[e._v("+ 添加")])],1):e._e()]),e._m(0),t("div",{staticClass:"goods-section"},[t("h3",[e._v("商品清单")]),e._l(e.orderGroups,function(i,s){return t("div",{key:s,staticClass:"order-group"},[t("div",{staticClass:"supplier-info"},[t("span",[e._v("供货名称:"+e._s(i.supplier))])]),t("table",{staticClass:"goods-table"},[e._m(1,!0),t("tbody",e._l(i.items,function(i,s){return t("tr",{key:s},[t("td",[t("img",{staticClass:"goods-img",attrs:{src:i.image,alt:"商品图片"}}),t("span",{staticClass:"goods-name"},[e._v(e._s(i.name))])]),t("td",[e._v(e._s(i.spec))]),t("td",[e._v(e._s(i.price))]),t("td",[e._v(e._s(i.quantity))]),t("td",[e._v(e._s(i.freight))]),t("td",[e._v(e._s(i.deliveryType))]),t("td",{staticClass:"subtotal"},[e._v(e._s(i.subtotal))])])}),0)]),t("div",{staticClass:"order-remark"},[t("span",{staticClass:"remark-label"},[e._v("订单备注:")]),t("div",{staticClass:"rich-text-editor"},[t("el-input",{staticClass:"remark-editor",attrs:{type:"textarea",rows:"4",placeholder:"请输入订单备注信息"},model:{value:i.remark,callback:function(t){e.$set(i,"remark",t)},expression:"group.remark"}}),e._e()],1)])])}),t("div",{staticClass:"total-info"},[t("p",[e._v(" 共 "+e._s(e.totalGoodsCount)+" 件商品,总商品金额 ¥"+e._s(e.totalGoodsAmount)+" ")]),t("p",[e._v("总运费 ¥"+e._s(e.totalFreight))]),t("p",{staticClass:"pay-amount"},[e._v("实付总金额 ¥"+e._s(e.totalPayAmount))]),t("p",{staticClass:"address-info"},[e._v(" 配送地:"+e._s(e.selectedAddress.address)),t("br"),e._v(" 交货地:"+e._s(e.selectedAddress.address)+" "+e._s(e.selectedAddress.phone)+" ")]),t("el-button",{staticClass:"submit-btn",attrs:{type:"primary"},on:{click:e.submitOrder}},[e._v(" 提交订单 ")])],1)],2),t("AddressFormDialog",{attrs:{visible:e.dialogVisible,type:e.dialogType,"initial-data":e.dialogData},on:{"update:visible":function(t){e.dialogVisible=t},save:e.handleSaveAddress}}),t("el-dialog",{attrs:{title:"新增发票抬头",visible:e.invoiceTitleDialogVisible,width:"700px","before-close":e.handleTitleDialogClose},on:{"update:visible":function(t){e.invoiceTitleDialogVisible=t}}},[t("el-form",{ref:"titleForm",staticClass:"invoice-title-form",attrs:{model:e.titleForm,rules:e.titleRules,"label-width":"120px"}},[t("el-form-item",{attrs:{label:"发票抬头",prop:"invoice_head"}},[t("el-input",{attrs:{placeholder:"请输入发票抬头",maxlength:"100"},model:{value:e.titleForm.invoice_head,callback:function(t){e.$set(e.titleForm,"invoice_head",t)},expression:"titleForm.invoice_head"}})],1),t("el-form-item",{attrs:{label:"纳税人识别号",prop:"tax_number"}},[t("el-input",{attrs:{placeholder:"请输入纳税人识别号",maxlength:"20"},model:{value:e.titleForm.tax_number,callback:function(t){e.$set(e.titleForm,"tax_number",t)},expression:"titleForm.tax_number"}})],1),t("el-form-item",{attrs:{label:"开户银行",prop:"opening_bank"}},[t("el-input",{attrs:{placeholder:"请输入开户银行",maxlength:"100"},model:{value:e.titleForm.opening_bank,callback:function(t){e.$set(e.titleForm,"opening_bank",t)},expression:"titleForm.opening_bank"}})],1),t("el-form-item",{attrs:{label:"银行账号",prop:"bank_account"}},[t("el-input",{attrs:{placeholder:"请输入银行账号",maxlength:"30"},model:{value:e.titleForm.bank_account,callback:function(t){e.$set(e.titleForm,"bank_account",t)},expression:"titleForm.bank_account"}})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.handleTitleDialogClose}},[e._v("取消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.saveInvoiceTitle}},[e._v("确定")])],1)],1)],1)},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"contract-section"},[t("h3",[e._v("签署合同")]),t("p",[e._v("如需签署合同,提交订单后,请至采购中心>合同中心签署")])])},function(){var e=this,t=e._self._c;return t("thead",[t("tr",[t("th",[e._v("商品")]),t("th",[e._v("规格")]),t("th",[e._v("单价(元)")]),t("th",[e._v("数量")]),t("th",[e._v("运费")]),t("th",[e._v("收货方式")]),t("th",[e._v("小计(元)")])])])}],r=(i(4114),i(8111),i(7588),i(1701),i(3518)),o=i(1734),l={name:"OrderPage",components:{AddressFormDialog:o.A},data(){return{addresses:[],selectedAddressIndex:-1,selectedTradeType:1,needInvoice:!1,invoice_type:1,invoiceTitles:[],selectedInvoiceTitle:null,orderGroups:[],totalGoodsCount:3,totalGoodsAmount:973,totalFreight:0,totalPayAmount:0,dialogVisible:!1,dialogType:"add",dialogData:{},invoiceTitleDialogVisible:!1,titleForm:{invoice_head:"",tax_number:"",opening_bank:"",bank_account:""},titleRules:{invoice_head:[{required:!0,message:"请输入发票抬头",trigger:"blur"}],tax_number:[{required:!0,message:"请输入纳税人识别号",trigger:"blur"},{pattern:/^[A-Z0-9]{15,20}$/,message:"纳税人识别号格式不正确",trigger:"blur"}],opening_bank:[{required:!0,message:"请输入开户银行",trigger:"blur"}],bank_account:[{required:!0,message:"请输入银行账号",trigger:"blur"}]}}},computed:{...(0,r.L8)(["getOrderData"]),selectedAddress(){return this.addresses[this.selectedAddressIndex]||{}}},mounted(){this.getOrderData?this.initOrderData(this.getOrderData):(this.$message.error("未获取到商品信息,请重新操作"),this.$router.go(-1)),this.getAddress(),this.getInvoiceList()},methods:{...(0,r.PY)(["clearOrderData"]),openTitleDialog(){this.invoiceTitleDialogVisible=!0,this.$nextTick(()=>{this.$refs.titleForm.resetFields()})},handleTitleDialogClose(){this.invoiceTitleDialogVisible=!1,this.$refs.titleForm.resetFields()},saveInvoiceTitle(){this.$refs.titleForm.validate(e=>{e&&this.post(this.titleForm,"/api/enterprise_invoice/create").then(e=>{1==e.code&&(this.getInvoiceList(),this.$message.success("发票抬头添加成功"),this.invoiceTitleDialogVisible=!1)})})},getInvoiceList(){this.post({offset:0,limit:100},"/api/enterprise_invoice/index").then(e=>{this.invoiceTitles=e.data})},openDialog(e,t){this.dialogType=e,this.dialogData={...t},this.dialogVisible=!0},handleEdit(e){console.log(e),e.username=e.name,e.mobile=e.tel,this.openDialog("edit",e)},handleDelete(e){this.$confirm("此操作将永久删除该地址, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({id:e.id},"/api/uservice/user/delConsignee").then(e=>{1==e.code&&(this.getAddress(),this.$message.success("删除成功!"))})}).catch(()=>{this.$message.info("已取消删除")})},initOrderData(e){if("product"===e.from){const t=e.items[0];this.orderGroups=[{supplier:t.product.supplier_name,items:this.formatItems([t])}]}else"cart"===e.from&&(this.orderGroups=Object.entries(e.groups).map(([e,t])=>({supplier:e,items:this.formatItems(t)})));this.calculateTotal()},formatItems(e){return console.log(e,13213),e.map(e=>({id:e.sku.id,productId:e.product.id,name:e.product.title,image:e.product.headimg,spec:e.sku.sku_name,price:(e.sku.price/100).toFixed(2),quantity:e.quantity,freight:"0.00",deliveryType:"邮寄",type:e.product.type,subtotal:(e.sku.price/100*e.quantity+parseFloat("0.00")).toFixed(2)}))},getPost(){if(!this.selectedAddress.id)return void this.$message.warning("请先选择收货地址");this.totalFreight=0;const e=[];this.orderGroups.forEach((t,i)=>{t.items.forEach((t,i)=>{const s={consignee_id:this.selectedAddress.id,sku_id:t.id,num:t.quantity},a=this.post(s,"/api/order/get_post_price").then(e=>{if(1===e.code){const i=(e.data.price/100).toFixed(2);t.freight=i,t.subtotal=(parseFloat(t.price)*t.quantity+parseFloat(i)).toFixed(2),this.totalFreight=(parseFloat(this.totalFreight)+parseFloat(i)).toFixed(2)}}).catch(e=>{console.error(`获取商品 ${t.id} 邮费失败`,e),this.$message.error(`获取商品 ${t.name} 邮费失败,请重试`)});e.push(a)})}),Promise.all(e).then(()=>{this.calculateTotal()})},calculateTotalFreight(){let e=0;this.orderGroups.forEach(t=>{t.items.forEach(t=>{console.log(t),e+=parseFloat(t.freight)})}),this.totalFreight=e.toFixed(2)},calculateTotal(){let e=0,t=0;this.orderGroups.forEach(i=>{i.items.forEach(i=>{e+=i.quantity,t+=parseFloat(i.subtotal)})}),this.totalGoodsCount=e,this.totalGoodsAmount=t.toFixed(2),this.totalPayAmount=t.toFixed(2)},handleSaveAddress(e){e.is_default=0,"add"===this.dialogType?this.post(e,"/api/uservice/user/addNewConsignee").then(e=>{1==e.code&&(this.$message.success("保存成功"),this.getAddress(),this.dialogVisible=!1)}):this.post(e,"/api/uservice/user/editConsignee").then(e=>{1==e.code&&(this.$message.success("保存成功"),this.getAddress(),this.dialogVisible=!1)})},getAddress(){this.post({contactType:"CONSIGNEE",offset:"0",limit:"100"},"/api/uservice/user/getContactOrConsignee").then(e=>{e&&(this.addresses=e.data||[])})},selectAddress(e){this.selectedAddressIndex=e,this.getPost()},submitOrder(){if(!this.selectedAddress.id)return void this.$message.warning("请先选择收货地址");if(this.needInvoice&&null===this.selectedInvoiceTitle)return void this.$message.warning("请选择发票抬头");let e=[];this.orderGroups.forEach((t,i)=>{t.items.forEach((i,s)=>{console.log(i),e.push({type:i.type,product_id:i.productId,sku_id:i.id,product_num:i.quantity,post:this.selectedAddress.id,remark:t.remark||""})})});let t={product_list:e,invoice_id:this.selectedInvoiceTitle,invoice_type:this.invoice_type};this.post({data:JSON.stringify(t)},"/api/order/create").then(e=>{1==e.code&&this.post({order_id:e.data.order_id,pay_method:"ABC_H5",pay_platform:"PC"},"/api/order/pay").then(e=>{1==e.code&&(this.clearOrderData(),this.$message.success("订单提交成功!"),this.$router.push("/User/OrderList"))})})}}},n=l,d=i(1656),c=(0,d.A)(n,s,a,!1,null,"49b32daf",null),u=c.exports}}]);
-//# sourceMappingURL=758.9bf283c8.js.map
\ No newline at end of file
+"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[331],{1734:function(e,t,i){i.d(t,{A:function(){return d}});var s=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:("add"===e.type?"新增":"编辑")+"收货地址",visible:e.visible,width:"700px"},on:{close:e.handleClose}},[t("el-form",{ref:"addressForm",attrs:{model:e.form,rules:e.rules,"label-width":"100px",size:"small"}},[t("el-form-item",{attrs:{label:"收货人",prop:"username"}},[t("el-input",{attrs:{placeholder:"请填写收货人姓名,限制10个字符",maxlength:"10"},model:{value:e.form.username,callback:function(t){e.$set(e.form,"username",t)},expression:"form.username"}})],1),t("el-form-item",{attrs:{label:"所在地区",prop:"region"}},[t("div",{staticClass:"region-selector"},[t("el-select",{staticClass:"region-select",attrs:{placeholder:"选择省份/直辖市"},on:{change:e.handleProvinceChange},model:{value:e.form.province_id,callback:function(t){e.$set(e.form,"province_id",t)},expression:"form.province_id"}},e._l(e.provinces,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1),t("el-select",{staticClass:"region-select",attrs:{placeholder:"选择城市",disabled:!e.form.province_id},on:{change:e.handleCityChange},model:{value:e.form.city_id,callback:function(t){e.$set(e.form,"city_id",t)},expression:"form.city_id"}},e._l(e.cities,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1),t("el-select",{staticClass:"region-select",attrs:{placeholder:"选择县区",disabled:!e.form.city_id},model:{value:e.form.district_id,callback:function(t){e.$set(e.form,"district_id",t)},expression:"form.district_id"}},e._l(e.districts,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1)],1)]),t("el-form-item",{attrs:{label:"详细地址",prop:"detail_addr"}},[t("el-input",{attrs:{placeholder:"请填写详细地址,限制500个字符",maxlength:"500"},model:{value:e.form.detail_addr,callback:function(t){e.$set(e.form,"detail_addr",t)},expression:"form.detail_addr"}})],1),t("el-form-item",{attrs:{label:"手机号码",prop:"mobile"}},[t("el-input",{attrs:{placeholder:"请填写手机号码,限制11位数字",maxlength:"11",oninput:"value=value.replace(/[^\\d]/g,'')"},model:{value:e.form.mobile,callback:function(t){e.$set(e.form,"mobile",t)},expression:"form.mobile"}})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"small"},on:{click:e.handleClose}},[e._v("取消")]),t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.saveAddress}},[e._v("保存")])],1)],1)},a=[],o=(i(8111),i(2489),i(116),{name:"AddressFormDialog",props:{visible:{type:Boolean,default:!1},type:{type:String,required:!0,validator:e=>["add","edit"].includes(e)},initialData:{type:Object,default:()=>({})}},data(){const e=(e,t,i)=>t?/^1[3-9]\d{9}$/.test(t)?void i():i(new Error("请输入正确的11位手机号码")):i(new Error("请输入手机号码")),t=(e,t,i)=>{if(!this.form.province_id||!this.form.city_id||!this.form.district_id)return i(new Error("请完整选择省市区"));i()};return{form:{id:null,username:"",detail_addr:"",mobile:"",province_id:null,city_id:null,district_id:null,region:""},rules:{username:[{required:!0,message:"请输入收货人姓名",trigger:"blur"},{max:10,message:"姓名不能超过10个字符",trigger:"blur"}],region:[{required:!0,validator:t,trigger:"change"}],detail_addr:[{required:!0,message:"请输入详细地址",trigger:"blur"},{max:500,message:"详细地址不能超过500个字符",trigger:"blur"}],mobile:[{required:!0,validator:e,trigger:"blur"}]},regionData:[]}},computed:{provinces(){return this.regionData.filter(e=>1===e.level)},cities(){return this.form.province_id?this.regionData.filter(e=>2===e.level&&e.pid===this.form.province_id):[]},districts(){return this.form.city_id?this.regionData.filter(e=>3===e.level&&e.pid===this.form.city_id):[]}},watch:{visible(e){e&&this.initForm()},initialData:{handler(){this.visible&&this.initForm()},deep:!0}},mounted(){this.getRegionData()},methods:{async getRegionData(){try{const e=await this.post({},"/api/uservice/user/getAreas");e&&e.data?this.regionData=e.data:this.$message.error("获取地区数据失败")}catch(e){console.error("获取地区数据出错:",e),this.$message.error("获取地区数据时发生错误")}},initForm(){this.$nextTick(()=>{this.$refs.addressForm&&this.$refs.addressForm.resetFields(),this.form={id:"edit"===this.type?this.initialData.id:null,username:this.initialData.username||"",detail_addr:this.initialData.detail_addr||"",mobile:this.initialData.mobile||"",province_id:this.initialData.province_id||null,city_id:this.initialData.city_id||null,district_id:this.initialData.district_id||null,region:this.initialData.region||""},"edit"===this.type&&this.initialData.region&&!this.form.province_id&&this.echoRegionSelection(this.initialData.region)})},echoRegionSelection(e){const t=e.split(" ");if(t.length<3)return;const i=this.provinces.find(e=>e.name===t[0]);i&&(this.form.province_id=i.id,this.$nextTick(()=>{const e=this.cities.find(e=>e.name===t[1]);e&&(this.form.city_id=e.id,this.$nextTick(()=>{const e=this.districts.find(e=>e.name===t[2]);e&&(this.form.district_id=e.id)}))}))},handleProvinceChange(){this.form.city_id=null,this.form.district_id=null},handleCityChange(){this.form.district_id=null},saveAddress(){this.$refs.addressForm.validate(async e=>{if(!e)return;const t=this.provinces.find(e=>e.id===this.form.province_id),i=this.cities.find(e=>e.id===this.form.city_id),s=this.districts.find(e=>e.id===this.form.district_id);if(!(t&&i&&s))return void this.$message.warning("地区信息不完整");const a={...this.form,region:`${t.name} ${i.name} ${s.name}`};this.$emit("save",a),this.handleClose()})},handleClose(){this.$emit("update:visible",!1)}}}),r=o,l=i(1656),n=(0,l.A)(r,s,a,!1,null,"7d3ebefd",null),d=n.exports},9331:function(e,t,i){i.r(t),i.d(t,{default:function(){return h}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"order-page"},[t("div",{staticClass:"page-header"},[t("h2",[e._v("填写收货人信息")]),t("el-button",{staticClass:"address-book-btn",attrs:{type:"text"},on:{click:function(t){return e.openDialog("add",{})}}},[e._v(" 新增/修改地址 ")])],1),t("div",{staticClass:"info-section"},[t("h3",[e._v("收货人信息")]),t("div",{staticClass:"address-item"},[t("span",{staticClass:"label"},[e._v("收货地址:")]),t("div",{staticClass:"address-content"},e._l(e.addresses,function(i,s){return t("div",{key:s,staticClass:"saved-address",class:{selected:e.selectedAddressIndex===s},on:{click:function(t){return e.selectAddress(s)}}},[t("span",{staticClass:"name-tag"},[e._v(e._s(i.name)+" "+e._s(i.province))]),t("span",{staticClass:"detail"},[e._v(e._s(i.address)+" "+e._s(i.phone))]),t("el-button",{staticClass:"edit-btn",attrs:{type:"text"},on:{click:function(t){return t.stopPropagation(),e.handleEdit(i)}}},[e._v("编辑")]),t("el-button",{staticClass:"delete-btn",attrs:{type:"text"},on:{click:function(t){return t.stopPropagation(),e.handleDelete()}}},[e._v("删除")])],1)}),0)]),t("h3",[e._v("发票信息")]),t("div",{staticClass:"invoice-type-item"},[t("span",{staticClass:"label"},[e._v("是否开票:")]),t("el-radio-group",{model:{value:e.needInvoice,callback:function(t){e.needInvoice=t},expression:"needInvoice"}},[t("el-radio",{attrs:{label:!0}},[e._v("是")]),t("el-radio",{attrs:{label:!1}},[e._v("否")])],1)],1),e.needInvoice?t("div",{staticClass:"invoice-type-item"},[t("span",{staticClass:"label"},[e._v("发票类型:")]),t("el-radio-group",{model:{value:e.invoice_type,callback:function(t){e.invoice_type=t},expression:"invoice_type"}},[t("el-radio",{attrs:{label:1}},[e._v("增值税普通发票")]),t("el-radio",{attrs:{label:2}},[e._v("普通电子发票")])],1)],1):e._e(),e.needInvoice?t("div",{staticClass:"invoice-title-item"},[t("span",{staticClass:"label"},[e._v("发票抬头:")]),t("el-select",{staticClass:"invoice-title-select",attrs:{placeholder:"请选择发票抬头"},model:{value:e.selectedInvoiceTitle,callback:function(t){e.selectedInvoiceTitle=t},expression:"selectedInvoiceTitle"}},e._l(e.invoiceTitles,function(e,i){return t("el-option",{key:i,attrs:{label:e.invoice_head,value:e.id}})}),1),t("el-button",{staticClass:"add-title-btn",attrs:{type:"text"},on:{click:e.openTitleDialog}},[e._v("+ 添加")])],1):e._e()]),e._m(0),t("div",{staticClass:"goods-section"},[t("h3",[e._v("商品清单")]),e._l(e.orderGroups,function(i,s){return t("div",{key:s,staticClass:"order-group"},[t("div",{staticClass:"supplier-info"},[t("span",[e._v("供货名称:"+e._s(i.supplier))])]),t("table",{staticClass:"goods-table"},[e._m(1,!0),t("tbody",e._l(i.items,function(i,s){return t("tr",{key:s},[t("td",[t("img",{staticClass:"goods-img",attrs:{src:i.image,alt:"商品图片"}}),t("span",{staticClass:"goods-name"},[e._v(e._s(i.name))])]),t("td",[e._v(e._s(i.spec))]),t("td",[e._v(e._s(i.price))]),t("td",[e._v(e._s(i.quantity))]),t("td",[e._v(e._s(i.freight))]),t("td",[e._v(e._s(i.deliveryType))]),t("td",{staticClass:"subtotal"},[e._v(e._s(i.subtotal))])])}),0)]),t("div",{staticClass:"order-remark"},[t("span",{staticClass:"remark-label"},[e._v("订单备注:")]),t("div",{staticClass:"rich-text-editor"},[t("el-input",{staticClass:"remark-editor",attrs:{type:"textarea",rows:"4",placeholder:"请输入订单备注信息"},model:{value:i.remark,callback:function(t){e.$set(i,"remark",t)},expression:"group.remark"}}),e._e()],1)])])}),t("div",{staticClass:"total-info"},[t("p",[e._v(" 共 "+e._s(e.totalGoodsCount)+" 件商品,总商品金额 ¥"+e._s(e.totalGoodsAmount)+" ")]),t("p",[e._v("总运费 ¥"+e._s(e.totalFreight))]),t("p",{staticClass:"pay-amount"},[e._v("实付总金额 ¥"+e._s(e.totalPayAmount))]),t("p",{staticClass:"address-info"},[e._v(" 配送地:"+e._s(e.selectedAddress.address)),t("br"),e._v(" 交货地:"+e._s(e.selectedAddress.address)+" "+e._s(e.selectedAddress.phone)+" ")]),t("el-button",{staticClass:"submit-btn",attrs:{type:"primary"},on:{click:e.openDialogs}},[e._v(" 提交订单 ")])],1)],2),t("AddressFormDialog",{attrs:{visible:e.dialogVisible,type:e.dialogType,"initial-data":e.dialogData},on:{"update:visible":function(t){e.dialogVisible=t},save:e.handleSaveAddress}}),t("el-dialog",{attrs:{title:"新增发票抬头",visible:e.invoiceTitleDialogVisible,width:"700px","before-close":e.handleTitleDialogClose},on:{"update:visible":function(t){e.invoiceTitleDialogVisible=t}}},[t("el-form",{ref:"titleForm",staticClass:"invoice-title-form",attrs:{model:e.titleForm,rules:e.titleRules,"label-width":"120px"}},[t("el-form-item",{attrs:{label:"发票抬头",prop:"invoice_head"}},[t("el-input",{attrs:{placeholder:"请输入发票抬头",maxlength:"100"},model:{value:e.titleForm.invoice_head,callback:function(t){e.$set(e.titleForm,"invoice_head",t)},expression:"titleForm.invoice_head"}})],1),t("el-form-item",{attrs:{label:"纳税人识别号",prop:"tax_number"}},[t("el-input",{attrs:{placeholder:"请输入纳税人识别号",maxlength:"20"},model:{value:e.titleForm.tax_number,callback:function(t){e.$set(e.titleForm,"tax_number",t)},expression:"titleForm.tax_number"}})],1),t("el-form-item",{attrs:{label:"开户银行",prop:"opening_bank"}},[t("el-input",{attrs:{placeholder:"请输入开户银行",maxlength:"100"},model:{value:e.titleForm.opening_bank,callback:function(t){e.$set(e.titleForm,"opening_bank",t)},expression:"titleForm.opening_bank"}})],1),t("el-form-item",{attrs:{label:"银行账号",prop:"bank_account"}},[t("el-input",{attrs:{placeholder:"请输入银行账号",maxlength:"30"},model:{value:e.titleForm.bank_account,callback:function(t){e.$set(e.titleForm,"bank_account",t)},expression:"titleForm.bank_account"}})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.handleTitleDialogClose}},[e._v("取消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.saveInvoiceTitle}},[e._v("确定")])],1)],1),t("el-dialog",{staticClass:"confirm-dialog",attrs:{title:"《电子企业采购契约》",visible:e.showConfirmDialog,modal:!0,"close-on-click-modal":!1,"show-close":!0,width:"700px"},on:{"update:visible":function(t){e.showConfirmDialog=t}}},[t("div",{staticClass:"contract-content",domProps:{innerHTML:e._s(e.util.formateRichText(e.content))}}),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.showConfirmDialog=!1}}},[e._v("取消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.submitOrder}},[e._v("同意并提交")])],1)])],1)},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"contract-section"},[t("h3",[e._v("签署合同")]),t("p",[e._v("如需签署合同,提交订单后,请至采购中心>合同中心签署")])])},function(){var e=this,t=e._self._c;return t("thead",[t("tr",[t("th",[e._v("商品")]),t("th",[e._v("规格")]),t("th",[e._v("单价(元)")]),t("th",[e._v("数量")]),t("th",[e._v("运费")]),t("th",[e._v("收货方式")]),t("th",[e._v("小计(元)")])])])}],o=(i(4114),i(8111),i(7588),i(1701),i(3518)),r=i(1734),l={name:"OrderPage",components:{AddressFormDialog:r.A},data(){return{addresses:[],selectedAddressIndex:-1,selectedTradeType:1,needInvoice:!1,invoice_type:1,invoiceTitles:[],selectedInvoiceTitle:null,orderGroups:[],totalGoodsCount:3,totalGoodsAmount:973,totalFreight:0,totalPayAmount:0,dialogVisible:!1,dialogType:"add",dialogData:{},invoiceTitleDialogVisible:!1,titleForm:{invoice_head:"",tax_number:"",opening_bank:"",bank_account:""},titleRules:{invoice_head:[{required:!0,message:"请输入发票抬头",trigger:"blur"}],tax_number:[{required:!0,message:"请输入纳税人识别号",trigger:"blur"},{pattern:/^[A-Z0-9]{15,20}$/,message:"纳税人识别号格式不正确",trigger:"blur"}],opening_bank:[{required:!0,message:"请输入开户银行",trigger:"blur"}],bank_account:[{required:!0,message:"请输入银行账号",trigger:"blur"}]},showConfirmDialog:!1,content:""}},computed:{...(0,o.L8)(["getOrderData"]),selectedAddress(){return this.addresses[this.selectedAddressIndex]||{}}},mounted(){this.getOrderData?this.initOrderData(this.getOrderData):(this.$message.error("未获取到商品信息,请重新操作"),this.$router.go(-1)),this.getAddress(),this.getInvoiceList()},methods:{...(0,o.PY)(["clearOrderData"]),openTitleDialog(){this.invoiceTitleDialogVisible=!0,this.$nextTick(()=>{this.$refs.titleForm.resetFields()})},handleTitleDialogClose(){this.invoiceTitleDialogVisible=!1,this.$refs.titleForm.resetFields()},saveInvoiceTitle(){this.$refs.titleForm.validate(e=>{e&&this.post(this.titleForm,"/api/enterprise_invoice/create").then(e=>{1==e.code&&(this.getInvoiceList(),this.$message.success("发票抬头添加成功"),this.invoiceTitleDialogVisible=!1)})})},getInvoiceList(){this.post({offset:0,limit:100},"/api/enterprise_invoice/index").then(e=>{this.invoiceTitles=e.data})},openDialog(e,t){this.dialogType=e,this.dialogData={...t},this.dialogVisible=!0},handleEdit(e){console.log(e),e.username=e.name,e.mobile=e.tel,this.openDialog("edit",e)},handleDelete(e){this.$confirm("此操作将永久删除该地址, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({id:e.id},"/api/uservice/user/delConsignee").then(e=>{1==e.code&&(this.getAddress(),this.$message.success("删除成功!"))})}).catch(()=>{this.$message.info("已取消删除")})},initOrderData(e){if("product"===e.from){const t=e.items[0];this.orderGroups=[{supplier:t.product.supplier_name,items:this.formatItems([t])}]}else"cart"===e.from&&(this.orderGroups=Object.entries(e.groups).map(([e,t])=>({supplier:e,items:this.formatItems(t)})));this.calculateTotal()},formatItems(e){return console.log(e,13213),e.map(e=>({id:e.sku.id,productId:e.product.id,name:e.product.title,image:e.product.headimg,spec:e.sku.sku_name,price:(e.sku.price/100).toFixed(2),quantity:e.quantity,freight:"0.00",deliveryType:"邮寄",type:e.product.type,subtotal:(e.sku.price/100*e.quantity+parseFloat("0.00")).toFixed(2)}))},getPost(){if(!this.selectedAddress.id)return void this.$message.warning("请先选择收货地址");this.totalFreight=0;const e=[];this.orderGroups.forEach((t,i)=>{t.items.forEach((t,i)=>{const s={consignee_id:this.selectedAddress.id,sku_id:t.id,num:t.quantity},a=this.post(s,"/api/order/get_post_price").then(e=>{if(1===e.code){const i=(e.data.price/100).toFixed(2);t.freight=i,t.subtotal=(parseFloat(t.price)*t.quantity+parseFloat(i)).toFixed(2),this.totalFreight=(parseFloat(this.totalFreight)+parseFloat(i)).toFixed(2)}}).catch(e=>{console.error(`获取商品 ${t.id} 邮费失败`,e),this.$message.error(`获取商品 ${t.name} 邮费失败,请重试`)});e.push(a)})}),Promise.all(e).then(()=>{this.calculateTotal()})},calculateTotalFreight(){let e=0;this.orderGroups.forEach(t=>{t.items.forEach(t=>{console.log(t),e+=parseFloat(t.freight)})}),this.totalFreight=e.toFixed(2)},calculateTotal(){let e=0,t=0;this.orderGroups.forEach(i=>{i.items.forEach(i=>{e+=i.quantity,t+=parseFloat(i.subtotal)})}),this.totalGoodsCount=e,this.totalGoodsAmount=t.toFixed(2),this.totalPayAmount=t.toFixed(2)},handleSaveAddress(e){e.is_default=0,"add"===this.dialogType?this.post(e,"/api/uservice/user/addNewConsignee").then(e=>{1==e.code&&(this.$message.success("保存成功"),this.getAddress(),this.dialogVisible=!1)}):this.post(e,"/api/uservice/user/editConsignee").then(e=>{1==e.code&&(this.$message.success("保存成功"),this.getAddress(),this.dialogVisible=!1)})},getAddress(){this.post({contactType:"CONSIGNEE",offset:"0",limit:"100"},"/api/uservice/user/getContactOrConsignee").then(e=>{e&&(this.addresses=e.data||[])})},selectAddress(e){this.selectedAddressIndex=e,this.getPost()},openDialogs(){this.selectedAddress.id?this.needInvoice&&null===this.selectedInvoiceTitle?this.$message.warning("请选择发票抬头"):this.post({id:19},"/api/pbservice/Other/getDictionary").then(e=>{this.content=e.data[0].content,this.showConfirmDialog=!0}):this.$message.warning("请先选择收货地址")},submitOrder(){this.$loading({lock:!0,text:"订单处理中...",spinner:"el-icon-loading"});let e=[];this.orderGroups.forEach((t,i)=>{t.items.forEach((i,s)=>{console.log(i),e.push({type:i.type,product_id:i.productId,sku_id:i.id,product_num:i.quantity,post:this.selectedAddress.id,remark:t.remark||""})})});let t={product_list:e,invoice_id:this.selectedInvoiceTitle,invoice_type:this.invoice_type};this.post({data:JSON.stringify(t)},"/api/order/create").then(e=>{this.$loading().close(),1==e.code&&this.post({order_id:e.data.order_id,pay_method:"ABC_H5",pay_platform:"PC"},"/api/order/pay").then(e=>{this.clearOrderData(),this.showConfirmDialog=!1,1==e.code&&(this.$message.success("订单提交成功!"),this.$router.push("/User/OrderList"))})})}}},n=l,d=i(1656),c=(0,d.A)(n,s,a,!1,null,"6320bcaa",null),h=c.exports}}]);
+//# sourceMappingURL=331.633619dc.js.map
\ No newline at end of file
diff --git a/dist/js/331.633619dc.js.map b/dist/js/331.633619dc.js.map
new file mode 100644
index 0000000..f08e22f
--- /dev/null
+++ b/dist/js/331.633619dc.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"js/331.633619dc.js","mappings":"uJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,YAAY,CAACE,MAAM,CAAC,OAAwB,QAAbJ,EAAIK,KAAiB,KAAO,MAA/B,OAA0C,QAAUL,EAAIM,QAAQ,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A,KAAA8J,iBACA,KAAA9E,mBAAA,EACA,GAAAhF,EAAAmG,OACA,KAAAjG,SAAAkG,QAAA,WACA,KAAAP,QAAAyC,KAAA,uBAKA,ICzrB6P,I,UCQzP/G,GAAY,OACd,EACAlG,EACAyC,GACA,EACA,KACA,WACA,MAIF,EAAeyD,E","sources":["webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue","webpack://shiweisuzhou/src/components/common/AddressFormDialog.vue","webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue?ef45","webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue?6358","webpack://shiweisuzhou/./src/views/Order/Index.vue","webpack://shiweisuzhou/src/views/Order/Index.vue","webpack://shiweisuzhou/./src/views/Order/Index.vue?7896","webpack://shiweisuzhou/./src/views/Order/Index.vue?7cca"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-dialog',{attrs:{\"title\":`${_vm.type === 'add' ? '新增' : '编辑'}收货地址`,\"visible\":_vm.visible,\"width\":\"700px\"},on:{\"close\":_vm.handleClose}},[_c('el-form',{ref:\"addressForm\",attrs:{\"model\":_vm.form,\"rules\":_vm.rules,\"label-width\":\"100px\",\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"收货人\",\"prop\":\"username\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写收货人姓名,限制10个字符\",\"maxlength\":\"10\"},model:{value:(_vm.form.username),callback:function ($$v) {_vm.$set(_vm.form, \"username\", $$v)},expression:\"form.username\"}})],1),_c('el-form-item',{attrs:{\"label\":\"所在地区\",\"prop\":\"region\"}},[_c('div',{staticClass:\"region-selector\"},[_c('el-select',{staticClass:\"region-select\",attrs:{\"placeholder\":\"选择省份/直辖市\"},on:{\"change\":_vm.handleProvinceChange},model:{value:(_vm.form.province_id),callback:function ($$v) {_vm.$set(_vm.form, \"province_id\", $$v)},expression:\"form.province_id\"}},_vm._l((_vm.provinces),function(province){return _c('el-option',{key:province.id,attrs:{\"label\":province.name,\"value\":province.id}})}),1),_c('el-select',{staticClass:\"region-select\",attrs:{\"placeholder\":\"选择城市\",\"disabled\":!_vm.form.province_id},on:{\"change\":_vm.handleCityChange},model:{value:(_vm.form.city_id),callback:function ($$v) {_vm.$set(_vm.form, \"city_id\", $$v)},expression:\"form.city_id\"}},_vm._l((_vm.cities),function(city){return _c('el-option',{key:city.id,attrs:{\"label\":city.name,\"value\":city.id}})}),1),_c('el-select',{staticClass:\"region-select\",attrs:{\"placeholder\":\"选择县区\",\"disabled\":!_vm.form.city_id},model:{value:(_vm.form.district_id),callback:function ($$v) {_vm.$set(_vm.form, \"district_id\", $$v)},expression:\"form.district_id\"}},_vm._l((_vm.districts),function(district){return _c('el-option',{key:district.id,attrs:{\"label\":district.name,\"value\":district.id}})}),1)],1)]),_c('el-form-item',{attrs:{\"label\":\"详细地址\",\"prop\":\"detail_addr\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写详细地址,限制500个字符\",\"maxlength\":\"500\"},model:{value:(_vm.form.detail_addr),callback:function ($$v) {_vm.$set(_vm.form, \"detail_addr\", $$v)},expression:\"form.detail_addr\"}})],1),_c('el-form-item',{attrs:{\"label\":\"手机号码\",\"prop\":\"mobile\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写手机号码,限制11位数字\",\"maxlength\":\"11\",\"oninput\":\"value=value.replace(/[^\\\\d]/g,'')\"},model:{value:(_vm.form.mobile),callback:function ($$v) {_vm.$set(_vm.form, \"mobile\", $$v)},expression:\"form.mobile\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"small\"},on:{\"click\":_vm.handleClose}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.saveAddress}},[_vm._v(\"保存\")])],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 \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\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!./AddressFormDialog.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!./AddressFormDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AddressFormDialog.vue?vue&type=template&id=7d3ebefd&scoped=true\"\nimport script from \"./AddressFormDialog.vue?vue&type=script&lang=js\"\nexport * from \"./AddressFormDialog.vue?vue&type=script&lang=js\"\nimport style0 from \"./AddressFormDialog.vue?vue&type=style&index=0&id=7d3ebefd&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 \"7d3ebefd\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"order-page\"},[_c('div',{staticClass:\"page-header\"},[_c('h2',[_vm._v(\"填写收货人信息\")]),_c('el-button',{staticClass:\"address-book-btn\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.openDialog('add', {})}}},[_vm._v(\" 新增/修改地址 \")])],1),_c('div',{staticClass:\"info-section\"},[_c('h3',[_vm._v(\"收货人信息\")]),_c('div',{staticClass:\"address-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"收货地址:\")]),_c('div',{staticClass:\"address-content\"},_vm._l((_vm.addresses),function(addr,index){return _c('div',{key:index,staticClass:\"saved-address\",class:{ selected: _vm.selectedAddressIndex === index },on:{\"click\":function($event){return _vm.selectAddress(index)}}},[_c('span',{staticClass:\"name-tag\"},[_vm._v(_vm._s(addr.name)+\" \"+_vm._s(addr.province))]),_c('span',{staticClass:\"detail\"},[_vm._v(_vm._s(addr.address)+\" \"+_vm._s(addr.phone))]),_c('el-button',{staticClass:\"edit-btn\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.handleEdit(addr)}}},[_vm._v(\"编辑\")]),_c('el-button',{staticClass:\"delete-btn\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.handleDelete()}}},[_vm._v(\"删除\")])],1)}),0)]),_c('h3',[_vm._v(\"发票信息\")]),_c('div',{staticClass:\"invoice-type-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"是否开票:\")]),_c('el-radio-group',{model:{value:(_vm.needInvoice),callback:function ($$v) {_vm.needInvoice=$$v},expression:\"needInvoice\"}},[_c('el-radio',{attrs:{\"label\":true}},[_vm._v(\"是\")]),_c('el-radio',{attrs:{\"label\":false}},[_vm._v(\"否\")])],1)],1),(_vm.needInvoice)?_c('div',{staticClass:\"invoice-type-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"发票类型:\")]),_c('el-radio-group',{model:{value:(_vm.invoice_type),callback:function ($$v) {_vm.invoice_type=$$v},expression:\"invoice_type\"}},[_c('el-radio',{attrs:{\"label\":1}},[_vm._v(\"增值税普通发票\")]),_c('el-radio',{attrs:{\"label\":2}},[_vm._v(\"普通电子发票\")])],1)],1):_vm._e(),(_vm.needInvoice)?_c('div',{staticClass:\"invoice-title-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"发票抬头:\")]),_c('el-select',{staticClass:\"invoice-title-select\",attrs:{\"placeholder\":\"请选择发票抬头\"},model:{value:(_vm.selectedInvoiceTitle),callback:function ($$v) {_vm.selectedInvoiceTitle=$$v},expression:\"selectedInvoiceTitle\"}},_vm._l((_vm.invoiceTitles),function(title,index){return _c('el-option',{key:index,attrs:{\"label\":title.invoice_head,\"value\":title.id}})}),1),_c('el-button',{staticClass:\"add-title-btn\",attrs:{\"type\":\"text\"},on:{\"click\":_vm.openTitleDialog}},[_vm._v(\"+ 添加\")])],1):_vm._e()]),_vm._m(0),_c('div',{staticClass:\"goods-section\"},[_c('h3',[_vm._v(\"商品清单\")]),_vm._l((_vm.orderGroups),function(group,groupIndex){return _c('div',{key:groupIndex,staticClass:\"order-group\"},[_c('div',{staticClass:\"supplier-info\"},[_c('span',[_vm._v(\"供货名称:\"+_vm._s(group.supplier))])]),_c('table',{staticClass:\"goods-table\"},[_vm._m(1,true),_c('tbody',_vm._l((group.items),function(item,itemIndex){return _c('tr',{key:itemIndex},[_c('td',[_c('img',{staticClass:\"goods-img\",attrs:{\"src\":item.image,\"alt\":\"商品图片\"}}),_c('span',{staticClass:\"goods-name\"},[_vm._v(_vm._s(item.name))])]),_c('td',[_vm._v(_vm._s(item.spec))]),_c('td',[_vm._v(_vm._s(item.price))]),_c('td',[_vm._v(_vm._s(item.quantity))]),_c('td',[_vm._v(_vm._s(item.freight))]),_c('td',[_vm._v(_vm._s(item.deliveryType))]),_c('td',{staticClass:\"subtotal\"},[_vm._v(_vm._s(item.subtotal))])])}),0)]),_c('div',{staticClass:\"order-remark\"},[_c('span',{staticClass:\"remark-label\"},[_vm._v(\"订单备注:\")]),_c('div',{staticClass:\"rich-text-editor\"},[_c('el-input',{staticClass:\"remark-editor\",attrs:{\"type\":\"textarea\",\"rows\":\"4\",\"placeholder\":\"请输入订单备注信息\"},model:{value:(group.remark),callback:function ($$v) {_vm.$set(group, \"remark\", $$v)},expression:\"group.remark\"}}),(false)?_c('div',{staticClass:\"editor-toolbar\"},[_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-bold\",\"size\":\"mini\"}}),_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-italic\",\"size\":\"mini\"}}),_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-underline\",\"size\":\"mini\"}}),_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-link\",\"size\":\"mini\"}}),_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-picture\",\"size\":\"mini\"}})],1):_vm._e()],1)])])}),_c('div',{staticClass:\"total-info\"},[_c('p',[_vm._v(\" 共 \"+_vm._s(_vm.totalGoodsCount)+\" 件商品,总商品金额 ¥\"+_vm._s(_vm.totalGoodsAmount)+\" \")]),_c('p',[_vm._v(\"总运费 ¥\"+_vm._s(_vm.totalFreight))]),_c('p',{staticClass:\"pay-amount\"},[_vm._v(\"实付总金额 ¥\"+_vm._s(_vm.totalPayAmount))]),_c('p',{staticClass:\"address-info\"},[_vm._v(\" 配送地:\"+_vm._s(_vm.selectedAddress.address)),_c('br'),_vm._v(\" 交货地:\"+_vm._s(_vm.selectedAddress.address)+\" \"+_vm._s(_vm.selectedAddress.phone)+\" \")]),_c('el-button',{staticClass:\"submit-btn\",attrs:{\"type\":\"primary\"},on:{\"click\":_vm.openDialogs}},[_vm._v(\" 提交订单 \")])],1)],2),_c('AddressFormDialog',{attrs:{\"visible\":_vm.dialogVisible,\"type\":_vm.dialogType,\"initial-data\":_vm.dialogData},on:{\"update:visible\":function($event){_vm.dialogVisible = $event},\"save\":_vm.handleSaveAddress}}),_c('el-dialog',{attrs:{\"title\":\"新增发票抬头\",\"visible\":_vm.invoiceTitleDialogVisible,\"width\":\"700px\",\"before-close\":_vm.handleTitleDialogClose},on:{\"update:visible\":function($event){_vm.invoiceTitleDialogVisible=$event}}},[_c('el-form',{ref:\"titleForm\",staticClass:\"invoice-title-form\",attrs:{\"model\":_vm.titleForm,\"rules\":_vm.titleRules,\"label-width\":\"120px\"}},[_c('el-form-item',{attrs:{\"label\":\"发票抬头\",\"prop\":\"invoice_head\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入发票抬头\",\"maxlength\":\"100\"},model:{value:(_vm.titleForm.invoice_head),callback:function ($$v) {_vm.$set(_vm.titleForm, \"invoice_head\", $$v)},expression:\"titleForm.invoice_head\"}})],1),_c('el-form-item',{attrs:{\"label\":\"纳税人识别号\",\"prop\":\"tax_number\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入纳税人识别号\",\"maxlength\":\"20\"},model:{value:(_vm.titleForm.tax_number),callback:function ($$v) {_vm.$set(_vm.titleForm, \"tax_number\", $$v)},expression:\"titleForm.tax_number\"}})],1),_c('el-form-item',{attrs:{\"label\":\"开户银行\",\"prop\":\"opening_bank\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入开户银行\",\"maxlength\":\"100\"},model:{value:(_vm.titleForm.opening_bank),callback:function ($$v) {_vm.$set(_vm.titleForm, \"opening_bank\", $$v)},expression:\"titleForm.opening_bank\"}})],1),_c('el-form-item',{attrs:{\"label\":\"银行账号\",\"prop\":\"bank_account\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入银行账号\",\"maxlength\":\"30\"},model:{value:(_vm.titleForm.bank_account),callback:function ($$v) {_vm.$set(_vm.titleForm, \"bank_account\", $$v)},expression:\"titleForm.bank_account\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.handleTitleDialogClose}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveInvoiceTitle}},[_vm._v(\"确定\")])],1)],1),_c('el-dialog',{staticClass:\"confirm-dialog\",attrs:{\"title\":\"《电子企业采购契约》\",\"visible\":_vm.showConfirmDialog,\"modal\":true,\"close-on-click-modal\":false,\"show-close\":true,\"width\":\"700px\"},on:{\"update:visible\":function($event){_vm.showConfirmDialog=$event}}},[_c('div',{staticClass:\"contract-content\",domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(_vm.content))}}),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.showConfirmDialog = false}}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.submitOrder}},[_vm._v(\"同意并提交\")])],1)])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"contract-section\"},[_c('h3',[_vm._v(\"签署合同\")]),_c('p',[_vm._v(\"如需签署合同,提交订单后,请至采购中心>合同中心签署\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"商品\")]),_c('th',[_vm._v(\"规格\")]),_c('th',[_vm._v(\"单价(元)\")]),_c('th',[_vm._v(\"数量\")]),_c('th',[_vm._v(\"运费\")]),_c('th',[_vm._v(\"收货方式\")]),_c('th',[_vm._v(\"小计(元)\")])])])\n}]\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n\r\n \r\n
\r\n
收货人信息
\r\n
\r\n
收货地址:\r\n
\r\n
\r\n {{ addr.name }} {{ addr.province }}\r\n {{ addr.address }} {{ addr.phone }}\r\n \r\n 编辑\r\n 删除\r\n
\r\n
\r\n
\r\n\r\n \r\n\r\n
发票信息
\r\n
\r\n 是否开票:\r\n \r\n 是\r\n 否\r\n \r\n
\r\n\r\n
\r\n 发票类型:\r\n \r\n 增值税普通发票\r\n 普通电子发票\r\n \r\n
\r\n\r\n
\r\n 发票抬头:\r\n \r\n \r\n \r\n + 添加\r\n
\r\n
\r\n\r\n \r\n
\r\n
签署合同
\r\n
如需签署合同,提交订单后,请至采购中心>合同中心签署
\r\n
\r\n\r\n \r\n
\r\n
商品清单
\r\n\r\n \r\n
\r\n
\r\n 供货名称:{{ group.supplier }}\r\n
\r\n
\r\n \r\n \r\n 商品 | \r\n 规格 | \r\n 单价(元) | \r\n 数量 | \r\n 运费 | \r\n 收货方式 | \r\n 小计(元) | \r\n
\r\n \r\n \r\n \r\n \r\n \r\n {{ item.name }}\r\n | \r\n {{ item.spec }} | \r\n {{ item.price }} | \r\n {{ item.quantity }} | \r\n {{ item.freight }} | \r\n {{ item.deliveryType }} | \r\n {{ item.subtotal }} | \r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n 共 {{ totalGoodsCount }} 件商品,总商品金额 ¥{{ totalGoodsAmount }}\r\n
\r\n
总运费 ¥{{ totalFreight }}
\r\n
实付总金额 ¥{{ totalPayAmount }}
\r\n
\r\n 配送地:{{ selectedAddress.address }}
\r\n 交货地:{{ selectedAddress.address }} {{ selectedAddress.phone }}\r\n
\r\n
\r\n 提交订单\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n\r\n\r\n\r\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=6320bcaa&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=6320bcaa&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 \"6320bcaa\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","attrs","type","visible","on","handleClose","ref","form","rules","model","value","username","callback","$$v","$set","expression","staticClass","handleProvinceChange","province_id","_l","provinces","province","key","id","name","handleCityChange","city_id","cities","city","district_id","districts","district","detail_addr","mobile","slot","_v","saveAddress","staticRenderFns","props","Boolean","default","String","required","validator","val","includes","initialData","Object","data","validateMobile","rule","test","Error","validateRegion","region","message","trigger","max","regionData","computed","filter","item","level","pid","watch","initForm","handler","deep","mounted","getRegionData","methods","res","post","$message","error","console","$nextTick","$refs","addressForm","resetFields","echoRegionSelection","regionText","regions","split","length","find","p","c","d","validate","valid","warning","formData","$emit","component","$event","openDialog","addresses","addr","index","class","selected","selectedAddressIndex","selectAddress","_s","address","phone","stopPropagation","handleEdit","handleDelete","needInvoice","invoice_type","_e","selectedInvoiceTitle","invoiceTitles","title","invoice_head","openTitleDialog","_m","orderGroups","group","groupIndex","supplier","items","itemIndex","image","spec","price","quantity","freight","deliveryType","subtotal","remark","totalGoodsCount","totalGoodsAmount","totalFreight","totalPayAmount","selectedAddress","openDialogs","dialogVisible","dialogType","dialogData","handleSaveAddress","invoiceTitleDialogVisible","handleTitleDialogClose","titleForm","titleRules","tax_number","opening_bank","bank_account","saveInvoiceTitle","showConfirmDialog","domProps","util","formateRichText","content","submitOrder","components","AddressFormDialog","selectedTradeType","pattern","mapGetters","getOrderData","initOrderData","$router","go","getAddress","getInvoiceList","mapMutations","then","code","success","offset","limit","row","log","tel","$confirm","confirmButtonText","cancelButtonText","catch","info","from","product","supplier_name","formatItems","entries","groups","map","calculateTotal","sku","productId","headimg","sku_name","toFixed","parseFloat","getPost","freightPromises","forEach","params","consignee_id","sku_id","num","promise","err","push","Promise","all","calculateTotalFreight","total","totalCount","totalAmount","is_default","contactType","$loading","lock","text","spinner","goods","product_id","product_num","product_list","invoice_id","JSON","stringify","close","order_id","pay_method","pay_platform","clearOrderData"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/414.99bac297.js b/dist/js/414.99bac297.js
deleted file mode 100644
index 1dd64ac..0000000
--- a/dist/js/414.99bac297.js
+++ /dev/null
@@ -1,2 +0,0 @@
-"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[414],{5414:function(t,e,s){s.r(e),s.d(e,{default:function(){return n}});var l=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[e("div",[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-select"},[e("el-checkbox",{on:{change:t.handleSelectAll},model:{value:t.selectAll,callback:function(e){t.selectAll=e},expression:"selectAll"}},[t._v("全选")])],1),t._m(0),e("div",{staticClass:"product-box"},[t._v("单价(元)")]),e("div",{staticClass:"product-quantity"},[t._v("数量")]),e("div",{staticClass:"product-box"},[t._v("收货方式")]),e("div",{staticClass:"product-box"},[t._v("小计(元)")]),e("div",{staticClass:"product-box"},[t._v("操作")])])]),t._l(t.list,function(s){return e("div",{key:s.id,staticClass:"order-card"},[e("div",{staticClass:"order-header flex-between"},[e("div",{staticClass:"product-select"},[e("el-checkbox",{on:{change:function(e){return t.handleSelectShop(s)}},model:{value:s.selected,callback:function(e){t.$set(s,"selected",e)},expression:"shop.selected"}},[e("span",{staticStyle:{opacity:"0"}},[t._v("全选")])])],1),e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v("供应商名称:"+t._s(s.shop_name))])])]),e("div",{staticClass:"order-products"},t._l(s.goods,function(s){return e("div",{key:s.id,staticClass:"product-item"},[e("div",{staticClass:"product-select"},[e("el-checkbox",{on:{change:t.handleSelect},model:{value:s.selected,callback:function(e){t.$set(s,"selected",e)},expression:"goods.selected"}},[e("span",{staticStyle:{opacity:"0"}},[t._v("全选")])])],1),e("div",{staticClass:"product-details flex-between"},[e("img",{staticClass:"product-image",attrs:{src:s.product.headimg}}),e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v(t._s(s.product.title))]),e("div",{staticClass:"product-spec"},[t._v(t._s(s.sku.sku_name))])])]),e("div",{staticClass:"product-box"},[t._v(" ¥"+t._s((s.sku.price/100).toFixed(2))+" ")]),e("div",{staticClass:"product-quantity"},[e("el-input-number",{attrs:{size:"small",min:1,step:1},on:{change:function(e){return t.handleNumChange(s)}},model:{value:s.num,callback:function(e){t.$set(s,"num",e)},expression:"goods.num"}})],1),e("div",{staticClass:"product-box"},[t._v("邮寄")]),e("div",{staticClass:"product-box product-price"},[t._v(" ¥"+t._s((s.num*s.sku.price/100).toFixed(2))+" ")]),e("div",{staticClass:"product-box"},[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.delItem(s)}}},[t._v("删除")])],1)])}),0)])}),t.list.length<=0?e("el-empty",{attrs:{description:"暂无数据"}}):t._e(),e("div",{staticClass:"cart-footer"},[e("el-button",{attrs:{disabled:0===t.selectedRows.length,type:"text",size:"mini"},on:{click:t.deleteSelected}},[t._v(" 删除选中商品 ")]),e("div",{staticClass:"flex-between"},[e("div",{staticClass:"selected-info"},[t._v(" 已选商品 "),e("span",{staticClass:"import-text"},[t._v(t._s(t.selectedRows.length))]),t._v(" 件 总价: "),e("span",{staticClass:"import-text total-price"},[t._v(t._s(t.totalPrice))]),t._v(" (不含运费) ")]),e("el-button",{attrs:{type:"primary",disabled:0===t.selectedRows.length},on:{click:t.handleCheckout}},[t._v("去结算")])],1)],1)],2)])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v("商品")])])}],c=(s(4114),s(8111),s(1148),s(7588),s(1701),s(3579),s(3518)),a={name:"OrderList",data(){return{activeTab:"all",currentPage:1,pageSize:10,list:[],selectAll:!1}},mounted(){this.getList()},computed:{selectedRows(){let t=[];return this.list.forEach(e=>{e.goods.forEach(e=>{e.selected&&t.push(e)})}),t},totalPrice(){let t=0;return this.selectedRows.forEach(e=>{t+=e.num*e.sku.price/100}),t.toFixed(2)}},methods:{...(0,c.i0)(["submitOrderData"]),handleCheckout(){console.log(this.selectedRows);const t=this.selectedRows.map(t=>({product:t.product,sku:t.sku,quantity:t.num})),e={};t.forEach(t=>{const s=t.product.supplier_name;e[s]||(e[s]=[]),e[s].push(t)}),this.submitOrderData({from:"cart",groups:e}),this.$router.push("/Order")},getList(){this.post({},"/api/cart/get_list",!0).then(t=>{let e=t.data||[],s=this.selectedRows.map(t=>t.id);e.forEach(t=>{t.selected=!1,t.goods.forEach(t=>{t.selected=s.includes(t.id)})}),this.list=e,this.judgeSelectAll()})},handleSelectAll(t){t?this.list.forEach(t=>{t.goods.forEach(t=>{t&&t.product&&t.sku&&"off"==t.sku.flag?t.selected=!1:t.selected=!0})}):this.cartList.forEach(t=>{t.selected=!1}),this.judgeSelectAll()},handleSelectShop(t){t.selected?t.goods.forEach(t=>{t&&t.product&&t.sku&&"off"==t.sku.flag?t.selected=!1:t.selected=!0}):t.goods.forEach(t=>{t.selected=!1}),this.judgeSelectAll()},handleSelect(){this.judgeSelectAll()},judgeSelectAll(){this.list.forEach(t=>{t.goods.some(t=>"on"==t.sku.flag)?t.goods.some(t=>"on"==t.sku.flag&&!t.selected)?t.selected=!1:t.selected=!0:t.selected=!1}),this.list.every(t=>t.selected)&&this.list.length>0?this.selectAll=!0:this.selectAll=!1},handleNumChange(t){this.post({id:t.id,num:t.num},"/api/cart/update_sku").then(t=>{})},delItem(t){this.post({id:t.id},"/api/cart/del_sku").then(t=>{this.getList()})},deleteSelected(){let t=this.selectedRows.map(t=>t.id).join(",");this.post({ids:t},"/api/cart/del_skus").then(t=>{this.getList()})},handleSizeChange(t){this.pageSize=t},handleCurrentChange(t){this.currentPage=t},payOrder(t){this.$message({message:`订单 ${t} 去付款`,type:"info"})}}},d=a,o=s(1656),r=(0,o.A)(d,l,i,!1,null,"00950b26",null),n=r.exports}}]);
-//# sourceMappingURL=414.99bac297.js.map
\ No newline at end of file
diff --git a/dist/js/414.99bac297.js.map b/dist/js/414.99bac297.js.map
deleted file mode 100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AAA9B,WAAA,EAEA,KAAAA,WAAA,CAEA,EAGA2B,eAAAA,CAAAV,GACA,KAAA+C,KACA,CAAAtD,GAAAO,EAAAP,GAAAkB,IAAAX,EAAAW,KACA,wBACAqC,KAAAC,MACA,EAEArC,OAAAA,CAAA4B,GACA,KAAAO,KACA,CAAAtD,GAAA+C,EAAA/C,IACA,qBACAuD,KAAAC,IACA,KAAAvB,WAEA,EACAV,cAAAA,GACA,IAAA6C,EAAA,KAAA9C,aAAAsB,IAAAP,GAAAA,EAAArC,IAAAqE,KAAA,KACA,KAAAf,KAAA,CAAAc,IAAAA,GAAA,sBAAAb,KACAC,IACA,KAAAvB,WAGA,EAGAqC,gBAAAA,CAAAT,GACA,KAAA9B,SAAA8B,CACA,EAGAU,mBAAAA,CAAAV,GACA,KAAA/B,YAAA+B,CACA,EAGAW,QAAAA,CAAAC,GACA,KAAAC,SAAA,CACAC,QAAA,MAAAF,QACAG,KAAA,QAEA,ICtToQ,I,UCQhQC,GAAY,OACd,EACAlG,EACA+C,GACA,EACA,KACA,WACA,MAIF,EAAemD,E","sources":["webpack://shiweisuzhou/./src/views/User/ShoppingCart.vue","webpack://shiweisuzhou/src/views/User/ShoppingCart.vue","webpack://shiweisuzhou/./src/views/User/ShoppingCart.vue?5cfe","webpack://shiweisuzhou/./src/views/User/ShoppingCart.vue?8f0f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',[_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-select\"},[_c('el-checkbox',{on:{\"change\":_vm.handleSelectAll},model:{value:(_vm.selectAll),callback:function ($$v) {_vm.selectAll=$$v},expression:\"selectAll\"}},[_vm._v(\"全选\")])],1),_vm._m(0),_c('div',{staticClass:\"product-box\"},[_vm._v(\"单价(元)\")]),_c('div',{staticClass:\"product-quantity\"},[_vm._v(\"数量\")]),_c('div',{staticClass:\"product-box\"},[_vm._v(\"收货方式\")]),_c('div',{staticClass:\"product-box\"},[_vm._v(\"小计(元)\")]),_c('div',{staticClass:\"product-box\"},[_vm._v(\"操作\")])])]),_vm._l((_vm.list),function(shop){return _c('div',{key:shop.id,staticClass:\"order-card\"},[_c('div',{staticClass:\"order-header flex-between\"},[_c('div',{staticClass:\"product-select\"},[_c('el-checkbox',{on:{\"change\":function($event){return _vm.handleSelectShop(shop)}},model:{value:(shop.selected),callback:function ($$v) {_vm.$set(shop, \"selected\", $$v)},expression:\"shop.selected\"}},[_c('span',{staticStyle:{\"opacity\":\"0\"}},[_vm._v(\"全选\")])])],1),_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(\"供应商名称:\"+_vm._s(shop.shop_name))])])]),_c('div',{staticClass:\"order-products\"},_vm._l((shop.goods),function(goods){return _c('div',{key:goods.id,staticClass:\"product-item\"},[_c('div',{staticClass:\"product-select\"},[_c('el-checkbox',{on:{\"change\":_vm.handleSelect},model:{value:(goods.selected),callback:function ($$v) {_vm.$set(goods, \"selected\", $$v)},expression:\"goods.selected\"}},[_c('span',{staticStyle:{\"opacity\":\"0\"}},[_vm._v(\"全选\")])])],1),_c('div',{staticClass:\"product-details flex-between\"},[_c('img',{staticClass:\"product-image\",attrs:{\"src\":goods.product.headimg}}),_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(goods.product.title))]),_c('div',{staticClass:\"product-spec\"},[_vm._v(_vm._s(goods.sku.sku_name))])])]),_c('div',{staticClass:\"product-box\"},[_vm._v(\" ¥\"+_vm._s((goods.sku.price / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-quantity\"},[_c('el-input-number',{attrs:{\"size\":\"small\",\"min\":1,\"step\":1},on:{\"change\":function($event){return _vm.handleNumChange(goods)}},model:{value:(goods.num),callback:function ($$v) {_vm.$set(goods, \"num\", $$v)},expression:\"goods.num\"}})],1),_c('div',{staticClass:\"product-box\"},[_vm._v(\"邮寄\")]),_c('div',{staticClass:\"product-box product-price\"},[_vm._v(\" ¥\"+_vm._s(((goods.num * goods.sku.price) / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-box\"},[_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.delItem(goods)}}},[_vm._v(\"删除\")])],1)])}),0)])}),(_vm.list.length <= 0)?_c('el-empty',{attrs:{\"description\":\"暂无数据\"}}):_vm._e(),_c('div',{staticClass:\"cart-footer\"},[_c('el-button',{attrs:{\"disabled\":_vm.selectedRows.length === 0,\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":_vm.deleteSelected}},[_vm._v(\" 删除选中商品 \")]),_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"selected-info\"},[_vm._v(\" 已选商品 \"),_c('span',{staticClass:\"import-text\"},[_vm._v(_vm._s(_vm.selectedRows.length))]),_vm._v(\" 件 总价: \"),_c('span',{staticClass:\"import-text total-price\"},[_vm._v(_vm._s(_vm.totalPrice))]),_vm._v(\" (不含运费) \")]),_c('el-button',{attrs:{\"type\":\"primary\",\"disabled\":_vm.selectedRows.length === 0},on:{\"click\":_vm.handleCheckout}},[_vm._v(\"去结算\")])],1)],1)],2)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(\"商品\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n \r\n
\r\n
\r\n
\r\n
\r\n 全选\r\n
\r\n
\r\n
单价(元)
\r\n
数量
\r\n
收货方式
\r\n
小计(元)
\r\n
操作
\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n 全选\r\n
\r\n
\r\n
![]()
\r\n
\r\n
{{ goods.product.title }}
\r\n
{{ goods.sku.sku_name }}
\r\n
\r\n
\r\n
\r\n ¥{{ (goods.sku.price / 100).toFixed(2) }}\r\n
\r\n
\r\n \r\n
\r\n
邮寄
\r\n
\r\n ¥{{ ((goods.num * goods.sku.price) / 100).toFixed(2) }}\r\n
\r\n
\r\n 删除\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n
\r\n
\r\n\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!./ShoppingCart.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!./ShoppingCart.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ShoppingCart.vue?vue&type=template&id=00950b26&scoped=true\"\nimport script from \"./ShoppingCart.vue?vue&type=script&lang=js\"\nexport * from \"./ShoppingCart.vue?vue&type=script&lang=js\"\nimport style0 from \"./ShoppingCart.vue?vue&type=style&index=0&id=00950b26&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 \"00950b26\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","on","handleSelectAll","model","value","selectAll","callback","$$v","expression","_v","_m","_l","list","shop","key","id","$event","handleSelectShop","selected","$set","_s","shop_name","goods","handleSelect","attrs","product","headimg","title","sku","sku_name","price","toFixed","handleNumChange","num","delItem","length","_e","selectedRows","deleteSelected","totalPrice","handleCheckout","staticRenderFns","name","data","activeTab","currentPage","pageSize","mounted","getList","computed","rows","forEach","v","push","methods","mapActions","console","log","orderItems","map","quantity","supplierGroups","item","supplier","supplier_name","submitOrderData","from","groups","$router","post","then","res","resData","currentSelectGoodsIds","includes","judgeSelectAll","val","t","flag","cartList","some","x","every","ids","join","handleSizeChange","handleCurrentChange","payOrder","orderId","$message","message","type","component"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/443.953569b3.js b/dist/js/443.953569b3.js
new file mode 100644
index 0000000..d6f183e
--- /dev/null
+++ b/dist/js/443.953569b3.js
@@ -0,0 +1,2 @@
+"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[443],{5443:function(t,e,n){n.r(e),n.d(e,{default:function(){return l}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"announcement-container"},[e("div",{staticClass:"page-title"},[t._v("公告列表")]),e("el-card",{staticClass:"announcement-list-card"},[t._l(t.announcementList,function(n){return e("div",{key:n.id,staticClass:"announcement-item",on:{click:function(e){return t.gotoDetail(n)}}},[e("div",{staticClass:"announcement-header"},[e("div",{staticClass:"announcement-title"},[e("span",{class:{"is-top":n.isTop}},[t._v(t._s(n.title))])]),e("div",{staticClass:"announcement-date"},[t._v(t._s(n.createTime))])]),e("div",{staticClass:"announcement-content text-overflowRows",domProps:{innerHTML:t._s(t.util.formateRichText(n.content))}}),e("div",{staticClass:"announcement-action"},[e("el-button",{attrs:{type:"text"}},[t._v("查看详情")])],1)])}),0===t.announcementList.length?e("div",{staticClass:"empty-state"},[e("el-empty",{attrs:{description:"暂无公告信息"}})],1):t._e()],2),t.total>0?e("div",{staticClass:"pagination-container"},[e("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()],1)},i=[],s=(n(4114),{name:"AnnouncementList",data(){return{searchKeyword:"",currentPage:1,pageSize:5,total:0,announcementList:[]}},filters:{ellipsis(t,e){return t?t.length<=e?t:t.slice(0,e)+"...":""}},created(){this.getAnnouncementList()},methods:{getAnnouncementList(){this.post({offset:(this.currentPage-1)*this.pageSize,limit:this.pageSize},"/api/anncmnt/getAnncmntByType").then(t=>{1==t.code&&(this.announcementList=t.data.list,this.total=t.data.total)})},handleSearch(){this.currentPage=1,this.getAnnouncementList()},handleSizeChange(t){this.pageSize=t,this.currentPage=1,this.getAnnouncementList()},handleCurrentChange(t){this.currentPage=t,this.getAnnouncementList()},gotoDetail(t){this.$router.push("/NoticeDetail?id="+t.id)}}}),c=s,o=n(1656),r=(0,o.A)(c,a,i,!1,null,"2630b25e",null),l=r.exports}}]);
+//# sourceMappingURL=443.953569b3.js.map
\ No newline at end of file
diff --git a/dist/js/443.953569b3.js.map b/dist/js/443.953569b3.js.map
new file mode 100644
index 0000000..9dd9ddb
--- /dev/null
+++ b/dist/js/443.953569b3.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"js/443.953569b3.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,0BAA0B,CAACF,EAAG,MAAM,CAACE,YAAY,cAAc,CAACJ,EAAIK,GAAG,UAAUH,EAAG,UAAU,CAACE,YAAY,0BAA0B,CAACJ,EAAIM,GAAIN,EAAIO,iBAAkB,SAASC,GAAM,OAAON,EAAG,MAAM,CAACO,IAAID,EAAKE,GAAGN,YAAY,oBAAoBO,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOZ,EAAIa,WAAWL,EAAK,IAAI,CAACN,EAAG,MAAM,CAACE,YAAY,uBAAuB,CAACF,EAAG,MAAM,CAACE,YAAY,sBAAsB,CAACF,EAAG,OAAO,CAACY,MAAM,CAAE,SAAUN,EAAKO,QAAS,CAACf,EAAIK,GAAGL,EAAIgB,GAAGR,EAAKS,YAAYf,EAAG,MAAM,CAACE,YAAY,qBAAqB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AAAb,KAAAP,QAGA,EAGAuB,YAAAA,GACA,KAAAtB,YAAA,EACA,KAAAa,qBACA,EAGAX,gBAAAA,CAAAqB,GACA,KAAAtB,SAAAsB,EACA,KAAAvB,YAAA,EACA,KAAAa,qBACA,EAGAV,mBAAAA,CAAAoB,GACA,KAAAvB,YAAAuB,EACA,KAAAV,qBACA,EAGA3B,UAAAA,CAAAL,GACA,KAAA2C,QAAAC,KAAA,oBAAA5C,EAAAE,GACA,KCrHkQ,I,UCQ9P2C,GAAY,OACd,EACAtD,EACAgC,GACA,EACA,KACA,WACA,MAIF,EAAesB,E","sources":["webpack://shiweisuzhou/./src/views/notice/noticeList.vue","webpack://shiweisuzhou/src/views/notice/noticeList.vue","webpack://shiweisuzhou/./src/views/notice/noticeList.vue?979f","webpack://shiweisuzhou/./src/views/notice/noticeList.vue?b8c2"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"announcement-container\"},[_c('div',{staticClass:\"page-title\"},[_vm._v(\"公告列表\")]),_c('el-card',{staticClass:\"announcement-list-card\"},[_vm._l((_vm.announcementList),function(item){return _c('div',{key:item.id,staticClass:\"announcement-item\",on:{\"click\":function($event){return _vm.gotoDetail(item)}}},[_c('div',{staticClass:\"announcement-header\"},[_c('div',{staticClass:\"announcement-title\"},[_c('span',{class:{ 'is-top': item.isTop }},[_vm._v(_vm._s(item.title))])]),_c('div',{staticClass:\"announcement-date\"},[_vm._v(_vm._s(item.createTime))])]),_c('div',{staticClass:\"announcement-content text-overflowRows\",domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(item.content))}}),_c('div',{staticClass:\"announcement-action\"},[_c('el-button',{attrs:{\"type\":\"text\"}},[_vm._v(\"查看详情\")])],1)])}),(_vm.announcementList.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()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n
公告列表
\r\n\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n 查看详情\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n
\r\n \r\n\r\n \r\n \r\n
\r\n\r\n\r\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!./noticeList.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!./noticeList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./noticeList.vue?vue&type=template&id=2630b25e&scoped=true\"\nimport script from \"./noticeList.vue?vue&type=script&lang=js\"\nexport * from \"./noticeList.vue?vue&type=script&lang=js\"\nimport style0 from \"./noticeList.vue?vue&type=style&index=0&id=2630b25e&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 \"2630b25e\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_v","_l","announcementList","item","key","id","on","$event","gotoDetail","class","isTop","_s","title","createTime","domProps","util","formateRichText","content","attrs","length","_e","total","currentPage","pageSize","handleSizeChange","handleCurrentChange","staticRenderFns","name","data","searchKeyword","filters","ellipsis","value","slice","created","getAnnouncementList","methods","post","offset","limit","then","res","code","list","handleSearch","val","$router","push","component"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/467.005a7306.js b/dist/js/467.005a7306.js
new file mode 100644
index 0000000..5fdcf19
--- /dev/null
+++ b/dist/js/467.005a7306.js
@@ -0,0 +1,2 @@
+"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[467],{4848:function(t,e,s){s.r(e),s.d(e,{default:function(){return n}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[e("div",[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-select"},[e("el-checkbox",{on:{change:t.handleSelectAll},model:{value:t.selectAll,callback:function(e){t.selectAll=e},expression:"selectAll"}},[t._v("全选")])],1),t._m(0),e("div",{staticClass:"product-box"},[t._v("单价(元)")]),e("div",{staticClass:"product-quantity"},[t._v("数量")]),e("div",{staticClass:"product-box"},[t._v("收货方式")]),e("div",{staticClass:"product-box"},[t._v("小计(元)")]),e("div",{staticClass:"product-box"},[t._v("操作")])])]),t._l(t.list,function(s){return e("div",{key:s.id,staticClass:"order-card"},[e("div",{staticClass:"order-header flex-between"},[e("div",{staticClass:"product-select"},[e("el-checkbox",{on:{change:function(e){return t.handleSelectShop(s)}},model:{value:s.selected,callback:function(e){t.$set(s,"selected",e)},expression:"shop.selected"}},[e("span",{staticStyle:{opacity:"0"}},[t._v("全选")])])],1),e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v("供应商名称:"+t._s(s.shop_name))])])]),e("div",{staticClass:"order-products"},t._l(s.goods,function(s){return e("div",{key:s.id,staticClass:"product-item"},[e("div",{staticClass:"product-select"},[e("el-checkbox",{on:{change:t.handleSelect},model:{value:s.selected,callback:function(e){t.$set(s,"selected",e)},expression:"goods.selected"}},[e("span",{staticStyle:{opacity:"0"}},[t._v("全选")])])],1),e("div",{staticClass:"product-details flex-between",staticStyle:{cursor:"pointer"},on:{click:function(e){return t.gotoDetail(s.product.id)}}},[e("img",{staticClass:"product-image",attrs:{src:s.product.headimg}}),e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v(t._s(s.product.title))]),e("div",{staticClass:"product-spec"},[t._v(t._s(s.sku.sku_name))])])]),e("div",{staticClass:"product-box"},[t._v(" ¥"+t._s((s.sku.price/100).toFixed(2))+" ")]),e("div",{staticClass:"product-quantity"},[e("el-input-number",{attrs:{size:"small",min:1,step:1},on:{change:function(e){return t.handleNumChange(s)}},model:{value:s.num,callback:function(e){t.$set(s,"num",e)},expression:"goods.num"}})],1),e("div",{staticClass:"product-box"},[t._v("邮寄")]),e("div",{staticClass:"product-box product-price"},[t._v(" ¥"+t._s((s.num*s.sku.price/100).toFixed(2))+" ")]),e("div",{staticClass:"product-box"},[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.delItem(s)}}},[t._v("删除")])],1)])}),0)])}),t.list.length<=0?e("el-empty",{attrs:{description:"暂无数据"}}):t._e(),e("div",{staticClass:"cart-footer"},[e("el-button",{attrs:{disabled:0===t.selectedRows.length,type:"text",size:"mini"},on:{click:t.deleteSelected}},[t._v(" 删除选中商品 ")]),e("div",{staticClass:"flex-between"},[e("div",{staticClass:"selected-info"},[t._v(" 已选商品 "),e("span",{staticClass:"import-text"},[t._v(t._s(t.selectedRows.length))]),t._v(" 件 总价: "),e("span",{staticClass:"import-text total-price"},[t._v(t._s(t.totalPrice))]),t._v(" (不含运费) ")]),e("el-button",{attrs:{type:"primary",disabled:0===t.selectedRows.length},on:{click:t.handleCheckout}},[t._v("去结算")])],1)],1)],2)])},l=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v("商品")])])}],c=(s(4114),s(8111),s(1148),s(7588),s(1701),s(3579),s(3518)),a={name:"OrderList",data(){return{activeTab:"all",currentPage:1,pageSize:10,list:[],selectAll:!1}},mounted(){this.getList()},computed:{selectedRows(){let t=[];return this.list.forEach(e=>{e.goods.forEach(e=>{e.selected&&t.push(e)})}),t},totalPrice(){let t=0;return this.selectedRows.forEach(e=>{t+=e.num*e.sku.price/100}),t.toFixed(2)}},methods:{...(0,c.i0)(["submitOrderData"]),gotoDetail(t){this.$router.push("/Detail/"+t)},handleCheckout(){console.log(this.selectedRows);const t=this.selectedRows.map(t=>({product:t.product,sku:t.sku,quantity:t.num})),e={};t.forEach(t=>{const s=t.product.supplier_name;e[s]||(e[s]=[]),e[s].push(t)}),this.submitOrderData({from:"cart",groups:e}),this.$router.push("/Order")},getList(){this.post({},"/api/cart/get_list",!0).then(t=>{let e=t.data||[],s=this.selectedRows.map(t=>t.id);e.forEach(t=>{t.selected=!1,t.goods.forEach(t=>{t.selected=s.includes(t.id)})}),this.list=e,this.judgeSelectAll()})},handleSelectAll(t){t?this.list.forEach(t=>{t.goods.forEach(t=>{t&&t.product&&t.sku&&"off"==t.sku.flag?t.selected=!1:t.selected=!0})}):this.list.forEach(t=>{t.selected=!1,t.goods.forEach(t=>{t.selected=!1})}),this.judgeSelectAll()},handleSelectShop(t){t.selected,t.goods.forEach(t=>{t.selected=!1}),this.judgeSelectAll()},handleSelect(){this.judgeSelectAll()},judgeSelectAll(){this.list.forEach(t=>{t.goods.some(t=>"on"==t.sku.flag)?t.goods.some(t=>"on"==t.sku.flag&&!t.selected)?t.selected=!1:t.selected=!0:t.selected=!1}),this.list.every(t=>t.selected)&&this.list.length>0?this.selectAll=!0:this.selectAll=!1},handleNumChange(t){this.post({id:t.id,num:t.num},"/api/cart/update_sku").then(t=>{})},delItem(t){this.post({id:t.id},"/api/cart/del_sku").then(t=>{this.getList()})},deleteSelected(){let t=this.selectedRows.map(t=>t.id).join(",");this.post({id:t},"/api/cart/del_sku").then(t=>{this.getList()})},handleSizeChange(t){this.pageSize=t},handleCurrentChange(t){this.currentPage=t},payOrder(t){this.$message({message:`订单 ${t} 去付款`,type:"info"})}}},d=a,o=s(1656),r=(0,o.A)(d,i,l,!1,null,"43266500",null),n=r.exports}}]);
+//# sourceMappingURL=467.005a7306.js.map
\ No newline at end of file
diff --git a/dist/js/467.005a7306.js.map b/dist/js/467.005a7306.js.map
new file mode 100644
index 0000000..5b6c7fe
--- /dev/null
+++ b/dist/js/467.005a7306.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"js/467.005a7306.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,iBAAiBC,YAAY,CAAC,QAAU,SAAS,WAAa,UAAU,aAAa,iBAAiB,gBAAgB,iBAAiB,gBAAgB,SAAS,CAACH,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,kBAAkB,CAACF,EAAG,cAAc,CAACI,GAAG,CAAC,OAASN,EAAIO,iBAAiBC,MAAM,CAACC,MAAOT,EAAIU,UAAWC,SAAS,SAAUC,GAAMZ,EAAIU,UAAUE,CAAG,EAAEC,WAAW,cAAc,CAACb,EAAIc,GAAG,SAAS,GAAGd,EAAIe,GAAG,GAAGb,EAAG,MAAM,CAACE,YAAY,eAAe,CAACJ,EAAIc,GAAG,WAAWZ,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACJ,EAAIc,GAAG,QAAQZ,EAAG,MAAM,CAACE,YAAY,eAAe,CAACJ,EAAIc,GAAG,UAAUZ,EAAG,MAAM,CAACE,YAAY,eAAe,CAACJ,EAAIc,GAAG,WAAWZ,EAAG,MAAM,CAACE,YAAY,eAAe,CAACJ,EAAIc,GAAG,YAAYd,EAAIgB,GAAIhB,EAAIiB,KAAM,SAASC,GAAM,OAAOhB,EAAG,MAAM,CAACiB,IAAID,EAAKE,GAAGhB,YAAY,cAAc,CAACF,EA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,EAAA/B,MAAA0D,KAAAC,GAAA,MAAAA,EAAApD,IAAAkD,MACA1B,EAAA/B,MAAA0D,KAAAC,GAAA,MAAAA,EAAApD,IAAAkD,OAAAE,EAAA/D,UACAmC,EAAAnC,UAAA,EAEAmC,EAAAnC,UAAA,EAGAmC,EAAAnC,UAAA,IAIA,KAAAN,KAAAsE,MAAA7B,GAAAA,EAAAnC,WAAA,KAAAN,KAAAwB,OAAA,EACA,KAAA/B,WAAA,EAEA,KAAAA,WAAA,CAEA,EAGA4B,eAAAA,CAAAX,GACA,KAAAgD,KAAA,CAAAvD,GAAAO,EAAAP,GAAAmB,IAAAZ,EAAAY,KAAA,wBAAAqC,KACAC,MAEA,EAEArC,OAAAA,CAAA6B,GACA,KAAAM,KAAA,CAAAvD,GAAAiD,EAAAjD,IAAA,qBAAAwD,KAAAC,IACA,KAAAvB,WAEA,EACAV,cAAAA,GACA,IAAA4C,EAAA,KAAA7C,aAAAuB,IAAAR,GAAAA,EAAAtC,IAAAqE,KAAA,KACA,KAAAd,KAAA,CAAAvD,GAAAoE,GAAA,qBAAAZ,KAAAC,IACA,KAAAvB,WAEA,EAGAoC,gBAAAA,CAAAR,GACA,KAAA9B,SAAA8B,CACA,EAGAS,mBAAAA,CAAAT,GACA,KAAA/B,YAAA+B,CACA,EAGAU,QAAAA,CAAAC,GACA,KAAAC,SAAA,CACAC,QAAA,MAAAF,QACAG,KAAA,QAEA,ICrToQ,I,UCQhQC,GAAY,OACd,EACAlG,EACAgD,GACA,EACA,KACA,WACA,MAIF,EAAekD,E","sources":["webpack://shiweisuzhou/./src/views/User/ShoppingCart.vue","webpack://shiweisuzhou/src/views/User/ShoppingCart.vue","webpack://shiweisuzhou/./src/views/User/ShoppingCart.vue?5cfe","webpack://shiweisuzhou/./src/views/User/ShoppingCart.vue?8f0f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',[_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-select\"},[_c('el-checkbox',{on:{\"change\":_vm.handleSelectAll},model:{value:(_vm.selectAll),callback:function ($$v) {_vm.selectAll=$$v},expression:\"selectAll\"}},[_vm._v(\"全选\")])],1),_vm._m(0),_c('div',{staticClass:\"product-box\"},[_vm._v(\"单价(元)\")]),_c('div',{staticClass:\"product-quantity\"},[_vm._v(\"数量\")]),_c('div',{staticClass:\"product-box\"},[_vm._v(\"收货方式\")]),_c('div',{staticClass:\"product-box\"},[_vm._v(\"小计(元)\")]),_c('div',{staticClass:\"product-box\"},[_vm._v(\"操作\")])])]),_vm._l((_vm.list),function(shop){return _c('div',{key:shop.id,staticClass:\"order-card\"},[_c('div',{staticClass:\"order-header flex-between\"},[_c('div',{staticClass:\"product-select\"},[_c('el-checkbox',{on:{\"change\":function($event){return _vm.handleSelectShop(shop)}},model:{value:(shop.selected),callback:function ($$v) {_vm.$set(shop, \"selected\", $$v)},expression:\"shop.selected\"}},[_c('span',{staticStyle:{\"opacity\":\"0\"}},[_vm._v(\"全选\")])])],1),_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(\"供应商名称:\"+_vm._s(shop.shop_name))])])]),_c('div',{staticClass:\"order-products\"},_vm._l((shop.goods),function(goods){return _c('div',{key:goods.id,staticClass:\"product-item\"},[_c('div',{staticClass:\"product-select\"},[_c('el-checkbox',{on:{\"change\":_vm.handleSelect},model:{value:(goods.selected),callback:function ($$v) {_vm.$set(goods, \"selected\", $$v)},expression:\"goods.selected\"}},[_c('span',{staticStyle:{\"opacity\":\"0\"}},[_vm._v(\"全选\")])])],1),_c('div',{staticClass:\"product-details flex-between\",staticStyle:{\"cursor\":\"pointer\"},on:{\"click\":function($event){return _vm.gotoDetail(goods.product.id)}}},[_c('img',{staticClass:\"product-image\",attrs:{\"src\":goods.product.headimg}}),_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(goods.product.title))]),_c('div',{staticClass:\"product-spec\"},[_vm._v(_vm._s(goods.sku.sku_name))])])]),_c('div',{staticClass:\"product-box\"},[_vm._v(\" ¥\"+_vm._s((goods.sku.price / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-quantity\"},[_c('el-input-number',{attrs:{\"size\":\"small\",\"min\":1,\"step\":1},on:{\"change\":function($event){return _vm.handleNumChange(goods)}},model:{value:(goods.num),callback:function ($$v) {_vm.$set(goods, \"num\", $$v)},expression:\"goods.num\"}})],1),_c('div',{staticClass:\"product-box\"},[_vm._v(\"邮寄\")]),_c('div',{staticClass:\"product-box product-price\"},[_vm._v(\" ¥\"+_vm._s(((goods.num * goods.sku.price) / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-box\"},[_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.delItem(goods)}}},[_vm._v(\"删除\")])],1)])}),0)])}),(_vm.list.length <= 0)?_c('el-empty',{attrs:{\"description\":\"暂无数据\"}}):_vm._e(),_c('div',{staticClass:\"cart-footer\"},[_c('el-button',{attrs:{\"disabled\":_vm.selectedRows.length === 0,\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":_vm.deleteSelected}},[_vm._v(\" 删除选中商品 \")]),_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"selected-info\"},[_vm._v(\" 已选商品 \"),_c('span',{staticClass:\"import-text\"},[_vm._v(_vm._s(_vm.selectedRows.length))]),_vm._v(\" 件 总价: \"),_c('span',{staticClass:\"import-text total-price\"},[_vm._v(_vm._s(_vm.totalPrice))]),_vm._v(\" (不含运费) \")]),_c('el-button',{attrs:{\"type\":\"primary\",\"disabled\":_vm.selectedRows.length === 0},on:{\"click\":_vm.handleCheckout}},[_vm._v(\"去结算\")])],1)],1)],2)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(\"商品\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n \r\n
\r\n
\r\n
\r\n
\r\n 全选\r\n
\r\n
\r\n
单价(元)
\r\n
数量
\r\n
收货方式
\r\n
小计(元)
\r\n
操作
\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n 全选\r\n
\r\n
\r\n
![]()
\r\n
\r\n
{{ goods.product.title }}
\r\n
{{ goods.sku.sku_name }}
\r\n
\r\n
\r\n
\r\n ¥{{ (goods.sku.price / 100).toFixed(2) }}\r\n
\r\n
\r\n \r\n
\r\n
邮寄
\r\n
\r\n ¥{{ ((goods.num * goods.sku.price) / 100).toFixed(2) }}\r\n
\r\n
\r\n 删除\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n
\r\n
\r\n\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!./ShoppingCart.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!./ShoppingCart.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ShoppingCart.vue?vue&type=template&id=43266500&scoped=true\"\nimport script from \"./ShoppingCart.vue?vue&type=script&lang=js\"\nexport * from \"./ShoppingCart.vue?vue&type=script&lang=js\"\nimport style0 from \"./ShoppingCart.vue?vue&type=style&index=0&id=43266500&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 \"43266500\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","on","handleSelectAll","model","value","selectAll","callback","$$v","expression","_v","_m","_l","list","shop","key","id","$event","handleSelectShop","selected","$set","_s","shop_name","goods","handleSelect","gotoDetail","product","attrs","headimg","title","sku","sku_name","price","toFixed","handleNumChange","num","delItem","length","_e","selectedRows","deleteSelected","totalPrice","handleCheckout","staticRenderFns","name","data","activeTab","currentPage","pageSize","mounted","getList","computed","rows","forEach","v","push","methods","mapActions","$router","console","log","orderItems","map","quantity","supplierGroups","item","supplier","supplier_name","submitOrderData","from","groups","post","then","res","resData","currentSelectGoodsIds","includes","judgeSelectAll","val","t","flag","some","x","every","ids","join","handleSizeChange","handleCurrentChange","payOrder","orderId","$message","message","type","component"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/519.db92619f.js b/dist/js/519.db92619f.js
deleted file mode 100644
index 460c820..0000000
--- a/dist/js/519.db92619f.js
+++ /dev/null
@@ -1,2 +0,0 @@
-"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[519],{3519:function(e,t,i){i.r(t),i.d(t,{default:function(){return c}});var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"review-container"},[t("el-page-header",{staticClass:"page-header",attrs:{content:"产品评价"},on:{back:e.handleBack}}),t("el-card",{staticClass:"product-card",attrs:{shadow:"hover"}},[t("div",{staticClass:"product-info"},[t("el-image",{staticClass:"product-image",attrs:{src:e.productImage,alt:"产品图片",fit:"cover"}}),t("div",{staticClass:"product-details"},[t("h3",{staticClass:"product-title"},[e._v(e._s(e.productTitle))]),t("p",{staticClass:"product-desc"},[e._v(e._s(e.productDesc))]),t("div",{staticClass:"product-price"},[e._v("¥"+e._s(e.productPrice))])])],1)]),t("el-card",{staticClass:"review-form-card",attrs:{shadow:"hover"}},[t("el-form",{ref:"reviewForm",staticClass:"review-form",attrs:{model:e.reviewForm,rules:e.reviewRules,"label-width":"100px"}},[t("el-form-item",{attrs:{label:"产品评分",prop:"rating"}},[t("div",{staticClass:"rating-stars"},e._l(5,function(i){return t("i",{key:i,staticClass:"el-icon-star-off",class:{active:i<=(e.hoverRating||e.reviewForm.rating)},on:{click:function(t){return e.setRating(i)},mouseover:function(t){e.hoverRating=i},mouseleave:function(t){e.hoverRating=0}}})}),0)]),t("el-form-item",{attrs:{label:"评价商品",prop:"content"}},[t("el-input",{attrs:{type:"textarea",rows:5,placeholder:"请分享您对该产品的使用体验、优缺点等详细评价..."},on:{input:e.handleContentInput},model:{value:e.reviewForm.content,callback:function(t){e.$set(e.reviewForm,"content",t)},expression:"reviewForm.content"}}),t("div",{staticClass:"char-count"},[e._v(e._s(e.contentLength)+"/500")])],1),t("el-form-item",{attrs:{label:"晒图片"}},[t("el-upload",{staticClass:"image-upload",attrs:{action:"#","list-type":"picture-card","on-preview":e.handlePictureCardPreview,"on-remove":e.handleRemove,"before-upload":e.beforeUpload,limit:6,"on-exceed":e.handleExceed,"auto-upload":!1,"on-change":e.handleAvatarChange},model:{value:e.reviewForm.images,callback:function(t){e.$set(e.reviewForm,"images",t)},expression:"reviewForm.images"}},[t("i",{staticClass:"el-icon-plus"})]),t("el-dialog",{attrs:{visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("img",{attrs:{width:"100%",src:e.dialogImageUrl,alt:""}})]),t("div",{staticClass:"upload-tip"},[e._v(" 最多上传6张图片,帮助其他买家更直观了解产品 ")])],1),t("el-form-item",{attrs:{label:"匿名设置"}},[t("el-switch",{attrs:{"active-text":"匿名评价","inactive-text":"公开评价","active-color":"#1890ff"},model:{value:e.reviewForm.anonymous,callback:function(t){e.$set(e.reviewForm,"anonymous",t)},expression:"reviewForm.anonymous"}}),t("div",{staticClass:"anonymous-tip"},[e._v("匿名评价将隐藏您的个人信息")])],1),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm("reviewForm")}}},[e._v("提交评价")]),t("el-button",{on:{click:function(t){return e.resetForm("reviewForm")}}},[e._v("取消")])],1)],1)],1),t("el-alert",{staticClass:"review-alert",attrs:{title:"您的评价将在7个工作日内审核通过后展示,恶意评价将被删除",type:"info","show-icon":""}})],1)},a=[],s=(i(8111),i(1701),{name:"ProductReview",data(){return{productImage:"https://picsum.photos/400/400?random=1",productTitle:"产品标题产品标题产品标题",productDesc:"其他买家,需要你的建议哦!",productPrice:99,reviewForm:{rating:0,content:"",images:[],anonymous:!1},hoverRating:0,contentLength:0,dialogImageUrl:"",dialogVisible:!1,imgList:[],reviewRules:{rating:[{required:!0,message:"请给产品评分",trigger:"change"}],content:[{required:!0,message:"请输入评价内容",trigger:"blur"},{min:10,message:"评价内容至少10个字符",trigger:"blur"},{max:500,message:"评价内容最多500个字符",trigger:"blur"}]}}},methods:{handleAvatarChange(e,t){console.log(e,t),this.imgList=t},handleBack(){this.$router.go(-1)},setRating(e){this.reviewForm.rating=e,this.hoverRating=e},getRatingText(e){const t=["","很差","一般","良好","很好","非常好"];return t[e]},handleContentInput(e){this.contentLength=e.length},handleRemove(e,t){console.log(e,t)},handlePictureCardPreview(e,t){this.dialogImageUrl=e.url,this.dialogVisible=!0},handleExceed(e,t){this.$message.warning(`当前限制选择 6 张图片,本次选择了 ${e.length} 张,共选择了 ${e.length+t.length} 张`)},beforeUpload(e){console.log(e);const t="image/jpeg"===e.type||"image/png"===e.type,i=e.size/1024/1024<2;return t||this.$message.error("上传图片只能是 JPG/PNG 格式!"),i||this.$message.error("上传图片大小不能超过 2MB!"),t&&i},submitForm(e){this.$refs[e].validate(e=>{if(!e)return this.$message.error("请完善评价信息"),!1;this.imgList.map(e=>{console.log(e),this.util.imgToBase64(e.raw).then(e=>{this.post({img_base64:e},"/api/pbservice/Other/base64Upload").then(e=>{console.log(e)})})})})},resetForm(e){this.$refs[e].resetFields(),this.contentLength=0}}}),o=s,n=i(1656),l=(0,n.A)(o,r,a,!1,null,"14044d92",null),c=l.exports}}]);
-//# sourceMappingURL=519.db92619f.js.map
\ No newline at end of file
diff --git a/dist/js/519.db92619f.js.map b/dist/js/519.db92619f.js.map
deleted file mode 100644
index 9f55280..0000000
--- a/dist/js/519.db92619f.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"js/519.db92619f.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,iBAAiB,CAACE,YAAY,cAAcC,MAAM,CAAC,QAAU,QAAQC,GAAG,CAAC,KAAON,EAAIO,cAAcL,EAAG,UAAU,CAACE,YAAY,eAAeC,MAAM,CAAC,OAAS,UAAU,CAACH,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,WAAW,CAACE,YAAY,gBAAgBC,MAAM,CAAC,IAAML,EAAIQ,aAAa,IAAM,OAAO,IAAM,WAAWN,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACF,EAAG,KAAK,CAACE,YAAY,iBAAiB,CAACJ,EAAIS,GAAGT,EAAIU,GAAGV,EAAIW,iBAAiBT,EAAG,IAAI,CAACE,YAAY,gBAAgB,CAACJ,EAAIS,GAAGT,EAAIU,GAAGV,EAAIY,gBAAgBV,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACJ,EAAIS,GAAG,IAAIT,EAAIU,GAAGV,EAAIa,oBAAoB,KAAKX,EAAG,UAAU,CAACE,YAAY,mBAAmBC,MAAM,CAAC,OAAS,UAAU,CAACH,EAAG,UAAU,CAACY,IAAI,aAAaV,YAAY,cAAcC,MAAM,CAAC,MAAQL,EAAIe,WAAW,MAAQf,EAAIgB,YAAY,cAAc,UAAU,CAACd,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,OAAO,KAAO,WAAW,CAACH,EAAG,MAAM,CAACE,YAAY,gBAAgBJ,E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7B,QAAAC,IAAA4B,UAgBA,EAGA1C,SAAAA,CAAA8B,GACA,KAAAC,MAAAD,GAAAa,cACA,KAAAtD,cAAA,CACA,KC9PqQ,I,UCQjQuD,GAAY,OACd,EACA1F,EACA+C,GACA,EACA,KACA,WACA,MAIF,EAAe2C,E","sources":["webpack://shiweisuzhou/./src/views/ProductPage/ProductReview.vue","webpack://shiweisuzhou/src/views/ProductPage/ProductReview.vue","webpack://shiweisuzhou/./src/views/ProductPage/ProductReview.vue?2aed","webpack://shiweisuzhou/./src/views/ProductPage/ProductReview.vue?076b"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"review-container\"},[_c('el-page-header',{staticClass:\"page-header\",attrs:{\"content\":\"产品评价\"},on:{\"back\":_vm.handleBack}}),_c('el-card',{staticClass:\"product-card\",attrs:{\"shadow\":\"hover\"}},[_c('div',{staticClass:\"product-info\"},[_c('el-image',{staticClass:\"product-image\",attrs:{\"src\":_vm.productImage,\"alt\":\"产品图片\",\"fit\":\"cover\"}}),_c('div',{staticClass:\"product-details\"},[_c('h3',{staticClass:\"product-title\"},[_vm._v(_vm._s(_vm.productTitle))]),_c('p',{staticClass:\"product-desc\"},[_vm._v(_vm._s(_vm.productDesc))]),_c('div',{staticClass:\"product-price\"},[_vm._v(\"¥\"+_vm._s(_vm.productPrice))])])],1)]),_c('el-card',{staticClass:\"review-form-card\",attrs:{\"shadow\":\"hover\"}},[_c('el-form',{ref:\"reviewForm\",staticClass:\"review-form\",attrs:{\"model\":_vm.reviewForm,\"rules\":_vm.reviewRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"产品评分\",\"prop\":\"rating\"}},[_c('div',{staticClass:\"rating-stars\"},_vm._l((5),function(star){return _c('i',{key:star,staticClass:\"el-icon-star-off\",class:{ active: star <= (_vm.hoverRating || _vm.reviewForm.rating) },on:{\"click\":function($event){return _vm.setRating(star)},\"mouseover\":function($event){_vm.hoverRating = star},\"mouseleave\":function($event){_vm.hoverRating = 0}}})}),0)]),_c('el-form-item',{attrs:{\"label\":\"评价商品\",\"prop\":\"content\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":5,\"placeholder\":\"请分享您对该产品的使用体验、优缺点等详细评价...\"},on:{\"input\":_vm.handleContentInput},model:{value:(_vm.reviewForm.content),callback:function ($$v) {_vm.$set(_vm.reviewForm, \"content\", $$v)},expression:\"reviewForm.content\"}}),_c('div',{staticClass:\"char-count\"},[_vm._v(_vm._s(_vm.contentLength)+\"/500\")])],1),_c('el-form-item',{attrs:{\"label\":\"晒图片\"}},[_c('el-upload',{staticClass:\"image-upload\",attrs:{\"action\":\"#\",\"list-type\":\"picture-card\",\"on-preview\":_vm.handlePictureCardPreview,\"on-remove\":_vm.handleRemove,\"before-upload\":_vm.beforeUpload,\"limit\":6,\"on-exceed\":_vm.handleExceed,\"auto-upload\":false,\"on-change\":_vm.handleAvatarChange},model:{value:(_vm.reviewForm.images),callback:function ($$v) {_vm.$set(_vm.reviewForm, \"images\", $$v)},expression:\"reviewForm.images\"}},[_c('i',{staticClass:\"el-icon-plus\"})]),_c('el-dialog',{attrs:{\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('img',{attrs:{\"width\":\"100%\",\"src\":_vm.dialogImageUrl,\"alt\":\"\"}})]),_c('div',{staticClass:\"upload-tip\"},[_vm._v(\" 最多上传6张图片,帮助其他买家更直观了解产品 \")])],1),_c('el-form-item',{attrs:{\"label\":\"匿名设置\"}},[_c('el-switch',{attrs:{\"active-text\":\"匿名评价\",\"inactive-text\":\"公开评价\",\"active-color\":'#1890ff'},model:{value:(_vm.reviewForm.anonymous),callback:function ($$v) {_vm.$set(_vm.reviewForm, \"anonymous\", $$v)},expression:\"reviewForm.anonymous\"}}),_c('div',{staticClass:\"anonymous-tip\"},[_vm._v(\"匿名评价将隐藏您的个人信息\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.submitForm('reviewForm')}}},[_vm._v(\"提交评价\")]),_c('el-button',{on:{\"click\":function($event){return _vm.resetForm('reviewForm')}}},[_vm._v(\"取消\")])],1)],1)],1),_c('el-alert',{staticClass:\"review-alert\",attrs:{\"title\":\"您的评价将在7个工作日内审核通过后展示,恶意评价将被删除\",\"type\":\"info\",\"show-icon\":\"\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n
{{ productTitle }}
\r\n
{{ productDesc }}
\r\n
¥{{ productPrice }}
\r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n\r\n \r\n \r\n \r\n {{ contentLength }}/500
\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n 最多上传6张图片,帮助其他买家更直观了解产品\r\n
\r\n \r\n\r\n \r\n \r\n 匿名评价将隐藏您的个人信息
\r\n \r\n\r\n \r\n \r\n 提交评价\r\n 取消\r\n \r\n \r\n \r\n\r\n \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!./ProductReview.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!./ProductReview.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductReview.vue?vue&type=template&id=14044d92&scoped=true\"\nimport script from \"./ProductReview.vue?vue&type=script&lang=js\"\nexport * from \"./ProductReview.vue?vue&type=script&lang=js\"\nimport style0 from \"./ProductReview.vue?vue&type=style&index=0&id=14044d92&prod&scoped=true&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 \"14044d92\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","on","handleBack","productImage","_v","_s","productTitle","productDesc","productPrice","ref","reviewForm","reviewRules","_l","star","key","class","active","hoverRating","rating","$event","setRating","handleContentInput","model","value","content","callback","$$v","$set","expression","contentLength","handlePictureCardPreview","handleRemove","beforeUpload","handleExceed","handleAvatarChange","images","dialogVisible","dialogImageUrl","anonymous","submitForm","resetForm","staticRenderFns","name","data","imgList","required","message","trigger","min","max","methods","file","fileList","console","log","$router","go","getRatingText","ratings","val","length","url","files","$message","warning","isJPG","type","isLt2M","size","error","formName","$refs","validate","valid","map","util","imgToBase64","raw","then","base64","post","img_base64","res","resetFields","component"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/522.154587d0.js b/dist/js/522.154587d0.js
new file mode 100644
index 0000000..cf94032
--- /dev/null
+++ b/dist/js/522.154587d0.js
@@ -0,0 +1,2 @@
+"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[522],{522:function(t,s,i){i.r(s),i.d(s,{default:function(){return h}});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"bg"},[s("HomeLayout",{attrs:{topBanner:t.topBanner,tagList:t.tagList}}),s("div",{staticClass:"product-box"},[s("h2",[t._v("今日推荐")]),s("ProductList",{attrs:{products:t.prouctList[0].list}})],1),s("div",{staticClass:"product-box"},[s("h2",[t._v("热销排行")]),s("ProductList",{attrs:{products:t.prouctList[1].list}})],1),s("div",{staticClass:"product-box"},[s("h2",[t._v("新品上市")]),s("ProductList",{attrs:{products:t.prouctList[2].list}})],1)],1)},e=[],r=(i(8111),i(1701),function(){var t=this,s=t._self._c;return s("div",{staticClass:"home-layout-container"},[s("div",{staticClass:"left-nav"},[s("ul",{staticClass:"nav-list"},t._l(t.tagList,function(i){return s("router-link",{key:i.id,staticClass:"nav-item",attrs:{to:"/productList?id="+i.id,tag:"li"}},[s("img",{attrs:{src:t.util.showImg(i.image),alt:""}}),t._v(t._s(i.name)+" ")])}),1)]),s("div",{staticClass:"main-content"},[s("el-carousel",{staticStyle:{height:"100%"}},t._l(t.topBanner,function(t){return s("el-carousel-item",{key:t.id},[s("img",{staticClass:"carousel-img",attrs:{src:t.head_img}})])}),1)],1),s("div",{staticClass:"right-info"},[t.$store.getters.isUserLogin?s("div",{staticClass:"avatar-container"},[s("img",{staticClass:"user-avatar",attrs:{src:t.$store.getters.getUserInfo.avatar,alt:"用户头像"}}),s("div",{staticClass:"welcome-text"},[t._v("Hi-欢迎您")])]):t._e(),t._e(),s("div",{staticClass:"func-icons"},[s("router-link",{staticClass:"icon-item",attrs:{to:"/User/UserCenter"}},[s("i",{staticClass:"icon el-icon-user"}),s("span",[t._v("个人中心")])]),s("router-link",{staticClass:"icon-item",attrs:{to:"/User/OrderList"}},[s("i",{staticClass:"icon el-icon-goods"}),s("span",[t._v("我的订单")])]),s("router-link",{staticClass:"icon-item",attrs:{to:"/User/CommentManage"}},[s("i",{staticClass:"icon el-icon-star-off"}),s("span",[t._v("评价管理")])]),s("router-link",{staticClass:"icon-item",attrs:{to:"/NoticeList"}},[s("i",{staticClass:"icon el-icon-pie-chart"}),s("span",[t._v("公告中心")])])],1),s("div",{staticClass:"announcement"},[s("el-tag",{attrs:{type:"danger",size:"mini"}},[t._v("公告")]),s("span",{staticClass:"text-overflowRows"},[t._v(t._s(t.notice))])],1)])])}),o=[],c={name:"HomeLayout",data(){return{notice:""}},props:{topBanner:{type:Array,default:()=>[]},tagList:{type:Array,default:()=>[]}},mounted(){this.post({},"/api/anncmnt/getLatest").then(t=>{console.log(t.data.title),this.notice=t.data.title})}},n=c,l=i(1656),u=(0,l.A)(n,r,o,!1,null,"40153470",null),d=u.exports,p=i(5457),g={components:{HomeLayout:d,ProductList:p.A},data(){return{topBanner:[],tagList:[],prouctList:[{id:670,title:"今日推荐",list:[]},{id:671,title:"热销排行",list:[]},{id:672,title:"新品上市",list:[]}],newProducts:[{id:7,name:"高清投影仪高清投影仪高清投影仪高清投影仪高清投影仪高清投影仪高清投影仪高清投影仪",price:3299,originalPrice:3699,image:"https://static.ticket.sz-trip.com/jundaosuzhou/images/scenicType/topImg.png",sales:156,categoryId:1},{id:8,name:"保湿面霜",price:299,originalPrice:359,image:"https://static.ticket.sz-trip.com/jundaosuzhou/images/scenicType/topImg.png",sales:423,categoryId:4},{id:9,name:"有机水果礼盒",price:159,originalPrice:199,image:"https://static.ticket.sz-trip.com/jundaosuzhou/images/scenicType/topImg.png",sales:287,categoryId:5},{id:10,name:"经典文学名著",price:129,originalPrice:199,image:"https://static.ticket.sz-trip.com/jundaosuzhou/images/scenicType/topImg.png",sales:342,categoryId:6}]}},created(){this.getTopBanner(),this.getTags(),this.getProductList()},methods:{getTopBanner(){this.post({type_id:6,position:0},"/api/adv/getAdv").then(t=>{t&&(this.topBanner=t.data)})},getTags(){this.post({pid:683},"/api/product/tag_list").then(t=>{this.tagList=t.data,this.tagList[0].id=662})},getProductList(){this.prouctList.map(t=>{this.post({tag_id:t.id,offset:0,limit:4},"/api/product/get_product_by_tag").then(s=>{t.list=s.data.list})})}}},m=g,v=(0,l.A)(m,a,e,!1,null,"c53f5724",null),h=v.exports},5457:function(t,s,i){i.d(s,{A:function(){return l}});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"product-list"},[s("div",{staticClass:"product-grid"},t._l(t.products,function(i){return s("router-link",{key:i.id,staticClass:"product-card",attrs:{to:`/Detail/${i.id}`}},[s("div",{staticClass:"product-img"},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:i.headimg,expression:"product.headimg"}],staticClass:"product-pic",attrs:{alt:i.title}})]),s("div",{staticClass:"product-info"},[s("div",{staticClass:"flex-between"},[s("div",{staticClass:"product-price"},[s("span",{staticClass:"current-price"},[t._v("¥"+t._s(i.price/100))]),i.market_price?s("span",{staticClass:"original-price"},[t._v("¥"+t._s(i.market_price/100))]):t._e()]),i.sales?s("div",{staticClass:"product-sales"},[s("span",[t._v("已售 "+t._s(i.sales_number)+" 件")])]):t._e()]),s("h3",{staticClass:"product-name"},[s("router-link",{attrs:{to:`/Detail/${i.id}`}},[t._v(" "+t._s(i.title)+" ")])],1),s("div",{staticClass:"product-actions"},[s("el-button",{staticStyle:{"background-color":"#6a8a27",border:"none"},attrs:{type:"primary",size:"small"}},[s("el-icon",{attrs:{name:"el-icon-shopping-cart"}}),t._v(" 立即购买 ")],1)],1)])])}),1),0===t.products.length?s("div",{staticClass:"no-products"},[s("el-empty",{attrs:{description:"暂无相关商品"}})],1):t._e()])},e=[],r={name:"ProductList",props:{products:{type:Array,default:()=>[]}},methods:{}},o=r,c=i(1656),n=(0,c.A)(o,a,e,!1,null,"71ee3626",null),l=n.exports}}]);
+//# sourceMappingURL=522.154587d0.js.map
\ No newline at end of file
diff --git a/dist/js/522.154587d0.js.map b/dist/js/522.154587d0.js.map
new file mode 100644
index 0000000..a540d7a
--- /dev/null
+++ b/dist/js/522.154587d0.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"js/522.154587d0.js","mappings":"mKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,aAAa,CAACG,MAAM,CAAC,UAAYL,EAAIM,UAAU,QAAUN,EAAIO,WAAWL,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,KAAK,CAACF,EAAIQ,GAAG,UAAUN,EAAG,cAAc,CAACG,MAAM,CAAC,SAAWL,EAAIS,WAAW,GAAGC,SAAS,GAAGR,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,KAAK,CAACF,EAAIQ,GAAG,UAAUN,EAAG,cAAc,CAACG,MAAM,CAAC,SAAWL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hB,MAAM,CAAC,KAAO,UAAU,KAAO,UAAU,CAACH,EAAG,UAAU,CAACG,MAAM,CAAC,KAAO,2BAA2BL,EAAIQ,GAAG,WAAW,IAAI,MAAM,GAAG,GAA4B,IAAxBR,EAAIgE,SAASS,OAAcvE,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,WAAW,CAACG,MAAM,CAAC,YAAc,aAAa,GAAGL,EAAI4B,MACl7C,EACIjB,EAAkB,GCsDtB,GACAS,KAAA,cACAW,MAAA,CACAiC,SAAA,CACAhC,KAAAC,MACAC,QAAAA,IAAA,KAGAqB,QAAA,IChEmQ,I,UCQ/Pb,GAAY,OACd,EACA3C,EACAY,GACA,EACA,KACA,WACA,MAIF,EAAe+B,E","sources":["webpack://shiweisuzhou/./src/views/Index.vue","webpack://shiweisuzhou/./src/components/layout/HomeLayout.vue","webpack://shiweisuzhou/src/components/layout/HomeLayout.vue","webpack://shiweisuzhou/./src/components/layout/HomeLayout.vue?06d9","webpack://shiweisuzhou/./src/components/layout/HomeLayout.vue?b436","webpack://shiweisuzhou/src/views/Index.vue","webpack://shiweisuzhou/./src/views/Index.vue?cb95","webpack://shiweisuzhou/./src/views/Index.vue?e2bc","webpack://shiweisuzhou/./src/components/product/ProductList.vue","webpack://shiweisuzhou/src/components/product/ProductList.vue","webpack://shiweisuzhou/./src/components/product/ProductList.vue?43ae","webpack://shiweisuzhou/./src/components/product/ProductList.vue?0bfb"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('HomeLayout',{attrs:{\"topBanner\":_vm.topBanner,\"tagList\":_vm.tagList}}),_c('div',{staticClass:\"product-box\"},[_c('h2',[_vm._v(\"今日推荐\")]),_c('ProductList',{attrs:{\"products\":_vm.prouctList[0].list}})],1),_c('div',{staticClass:\"product-box\"},[_c('h2',[_vm._v(\"热销排行\")]),_c('ProductList',{attrs:{\"products\":_vm.prouctList[1].list}})],1),_c('div',{staticClass:\"product-box\"},[_c('h2',[_vm._v(\"新品上市\")]),_c('ProductList',{attrs:{\"products\":_vm.prouctList[2].list}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"home-layout-container\"},[_c('div',{staticClass:\"left-nav\"},[_c('ul',{staticClass:\"nav-list\"},_vm._l((_vm.tagList),function(item){return _c('router-link',{key:item.id,staticClass:\"nav-item\",attrs:{\"to\":'/productList?id=' + item.id,\"tag\":\"li\"}},[_c('img',{attrs:{\"src\":_vm.util.showImg(item.image),\"alt\":\"\"}}),_vm._v(_vm._s(item.name)+\" \")])}),1)]),_c('div',{staticClass:\"main-content\"},[_c('el-carousel',{staticStyle:{\"height\":\"100%\"}},_vm._l((_vm.topBanner),function(item){return _c('el-carousel-item',{key:item.id},[_c('img',{staticClass:\"carousel-img\",attrs:{\"src\":item.head_img}})])}),1)],1),_c('div',{staticClass:\"right-info\"},[(_vm.$store.getters.isUserLogin)?_c('div',{staticClass:\"avatar-container\"},[_c('img',{staticClass:\"user-avatar\",attrs:{\"src\":_vm.$store.getters.getUserInfo.avatar,\"alt\":\"用户头像\"}}),_c('div',{staticClass:\"welcome-text\"},[_vm._v(\"Hi-欢迎您\")])]):_vm._e(),(false)?_c('div',{staticClass:\"btn-group\"},[_c('el-button',{attrs:{\"type\":\"danger\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoPath('/Login')}}},[_vm._v(\"登录\")]),_c('el-button',{attrs:{\"type\":\"warning\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoPath('/Register')}}},[_vm._v(\"注册\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"}},[_vm._v(\"客服\")])],1):_vm._e(),_c('div',{staticClass:\"func-icons\"},[_c('router-link',{staticClass:\"icon-item\",attrs:{\"to\":\"/User/UserCenter\"}},[_c('i',{staticClass:\"icon el-icon-user\"}),_c('span',[_vm._v(\"个人中心\")])]),_c('router-link',{staticClass:\"icon-item\",attrs:{\"to\":\"/User/OrderList\"}},[_c('i',{staticClass:\"icon el-icon-goods\"}),_c('span',[_vm._v(\"我的订单\")])]),_c('router-link',{staticClass:\"icon-item\",attrs:{\"to\":\"/User/CommentManage\"}},[_c('i',{staticClass:\"icon el-icon-star-off\"}),_c('span',[_vm._v(\"评价管理\")])]),_c('router-link',{staticClass:\"icon-item\",attrs:{\"to\":\"/NoticeList\"}},[_c('i',{staticClass:\"icon el-icon-pie-chart\"}),_c('span',[_vm._v(\"公告中心\")])])],1),_c('div',{staticClass:\"announcement\"},[_c('el-tag',{attrs:{\"type\":\"danger\",\"size\":\"mini\"}},[_vm._v(\"公告\")]),_c('span',{staticClass:\"text-overflowRows\"},[_vm._v(_vm._s(_vm.notice))])],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n
\r\n
\r\n \r\n
{{ item.name }}\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n
![\"用户头像\"\r\n]()
\r\n
Hi-欢迎您
\r\n
\r\n\r\n
\r\n 登录\r\n 注册\r\n 客服\r\n
\r\n\r\n
\r\n \r\n \r\n 个人中心\r\n \r\n \r\n \r\n 我的订单\r\n \r\n \r\n \r\n 评价管理\r\n \r\n \r\n \r\n 公告中心\r\n \r\n
\r\n\r\n
\r\n 公告\r\n {{ notice }}\r\n
\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!./HomeLayout.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!./HomeLayout.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./HomeLayout.vue?vue&type=template&id=40153470&scoped=true\"\nimport script from \"./HomeLayout.vue?vue&type=script&lang=js\"\nexport * from \"./HomeLayout.vue?vue&type=script&lang=js\"\nimport style0 from \"./HomeLayout.vue?vue&type=style&index=0&id=40153470&prod&scoped=true&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 \"40153470\",\n null\n \n)\n\nexport default component.exports","\r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n\r\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=c53f5724&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=c53f5724&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 \"c53f5724\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-list\"},[_c('div',{staticClass:\"product-grid\"},_vm._l((_vm.products),function(product){return _c('router-link',{key:product.id,staticClass:\"product-card\",attrs:{\"to\":`/Detail/${product.id}`}},[_c('div',{staticClass:\"product-img\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(product.headimg),expression:\"product.headimg\"}],staticClass:\"product-pic\",attrs:{\"alt\":product.title}})]),_c('div',{staticClass:\"product-info\"},[_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"product-price\"},[_c('span',{staticClass:\"current-price\"},[_vm._v(\"¥\"+_vm._s(product.price / 100))]),(product.market_price)?_c('span',{staticClass:\"original-price\"},[_vm._v(\"¥\"+_vm._s(product.market_price / 100))]):_vm._e()]),(product.sales)?_c('div',{staticClass:\"product-sales\"},[_c('span',[_vm._v(\"已售 \"+_vm._s(product.sales_number)+\" 件\")])]):_vm._e()]),_c('h3',{staticClass:\"product-name\"},[_c('router-link',{attrs:{\"to\":`/Detail/${product.id}`}},[_vm._v(\" \"+_vm._s(product.title)+\" \")])],1),_c('div',{staticClass:\"product-actions\"},[_c('el-button',{staticStyle:{\"background-color\":\"#6a8a27\",\"border\":\"none\"},attrs:{\"type\":\"primary\",\"size\":\"small\"}},[_c('el-icon',{attrs:{\"name\":\"el-icon-shopping-cart\"}}),_vm._v(\" 立即购买 \")],1)],1)])])}),1),(_vm.products.length === 0)?_c('div',{staticClass:\"no-products\"},[_c('el-empty',{attrs:{\"description\":\"暂无相关商品\"}})],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n
\n
\n \n
![]()
\n
\n \n
\n
\n ¥{{ product.price / 100 }}\n ¥{{ product.market_price / 100 }}\n
\n
\n 已售 {{ product.sales_number }} 件\n
\n
\n
\n \n {{ product.title }}\n \n
\n
\n \n 立即购买\n \n
\n
\n \n
\n\n \n
\n \n
\n
\n\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!./ProductList.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!./ProductList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductList.vue?vue&type=template&id=71ee3626&scoped=true\"\nimport script from \"./ProductList.vue?vue&type=script&lang=js\"\nexport * from \"./ProductList.vue?vue&type=script&lang=js\"\nimport style0 from \"./ProductList.vue?vue&type=style&index=0&id=71ee3626&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 \"71ee3626\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","topBanner","tagList","_v","prouctList","list","staticRenderFns","_l","item","key","id","util","showImg","image","_s","name","staticStyle","head_img","$store","getters","isUserLogin","getUserInfo","avatar","_e","notice","data","props","type","Array","default","mounted","post","then","res","console","log","title","component","components","HomeLayout","ProductList","newProducts","price","originalPrice","sales","categoryId","created","getTopBanner","getTags","getProductList","methods","type_id","position","pid","map","i","tag_id","offset","limit","products","product","directives","rawName","value","headimg","expression","market_price","sales_number","length"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/612.0689f662.js b/dist/js/612.0689f662.js
new file mode 100644
index 0000000..cd2f01d
--- /dev/null
+++ b/dist/js/612.0689f662.js
@@ -0,0 +1,2 @@
+"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[612],{9231:function(e,t,i){i.r(t),i.d(t,{default:function(){return c}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg"},[t("el-card",{staticStyle:{width:"100%"}},[t("div",{staticClass:"clearfix flex-between",attrs:{slot:"header"},slot:"header"},[t("span",[e._v("我的发票")]),t("div",{staticClass:"flex-between"},[t("span",{staticStyle:{color:"#666","font-size":"12px"}},[e._v("您已保存了"+e._s(e.invoiceList.length)+"个发票抬头信息,最多可创建5个。")]),t("el-button",{staticStyle:{float:"right"},attrs:{size:"small",type:"primary"},on:{click:function(t){return e.openDialog("add",{})}}},[e._v("新增")])],1)]),t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.invoiceList,border:""}},[t("el-table-column",{attrs:{prop:"invoice_head",label:"发票抬头",width:"120"}}),t("el-table-column",{attrs:{prop:"tax_number",label:"纳税人识别号",width:"200"}}),t("el-table-column",{attrs:{prop:"opening_bank",label:"开户银行","min-width":"180"}}),t("el-table-column",{attrs:{prop:"bank_account",label:"银行账号","min-width":"180"}}),t("el-table-column",{attrs:{label:"操作",width:"200"},scopedSlots:e._u([{key:"default",fn:function(i){return[t("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.openDialog("edit",i.row)}}},[e._v("编辑")]),t("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDelete(i.row)}}},[e._v("删除")])]}}])})],1)],1),t("el-dialog",{attrs:{title:"发票抬头",visible:e.dialogVisible,width:"700px"},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("el-form",{ref:"form",attrs:{model:e.form,"label-width":"120px",size:"small",rules:e.titleRules}},[t("el-form-item",{attrs:{label:"发票抬头",prop:"invoice_head"}},[t("el-input",{attrs:{placeholder:"请填写发票抬头"},model:{value:e.form.invoice_head,callback:function(t){e.$set(e.form,"invoice_head",t)},expression:"form.invoice_head"}})],1),t("el-form-item",{attrs:{label:"纳税人识别号",prop:"tax_number"}},[t("el-input",{attrs:{placeholder:"请填写纳税人识别号"},model:{value:e.form.tax_number,callback:function(t){e.$set(e.form,"tax_number",t)},expression:"form.tax_number"}})],1),t("el-form-item",{attrs:{label:"开户银行",prop:"opening_bank"}},[t("el-input",{attrs:{placeholder:"请填写开户银行"},model:{value:e.form.opening_bank,callback:function(t){e.$set(e.form,"opening_bank",t)},expression:"form.opening_bank"}})],1),t("el-form-item",{attrs:{label:"银行账号",prop:"bank_account"}},[t("el-input",{attrs:{placeholder:"请填写银行账号"},model:{value:e.form.bank_account,callback:function(t){e.$set(e.form,"bank_account",t)},expression:"form.bank_account"}})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"small"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("取消")]),t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.saveInvoiceTitle}},[e._v("保存")])],1)],1)],1)},n=[],l={name:"UserInfo",data(){return{user:{},searchParam:{pageSize:5,currentPage:1,total:10},dialogVisible:!1,invoiceList:[],form:{type:"add",invoice_head:"",tax_number:"",opening_bank:"",bank_account:""},titleRules:{invoice_head:[{required:!0,message:"请输入发票抬头",trigger:"blur"}],tax_number:[{required:!0,message:"请输入纳税人识别号",trigger:"blur"},{pattern:/^[A-Z0-9]{15,20}$/,message:"纳税人识别号格式不正确",trigger:"blur"}],opening_bank:[{required:!0,message:"请输入开户银行",trigger:"blur"}],bank_account:[{required:!0,message:"请输入银行账号",trigger:"blur"}]}}},mounted(){this.getList()},methods:{getList(){this.post({offset:0,limit:5},"/api/enterprise_invoice/index").then(e=>{this.invoiceList=e.data})},handleSizeChange(e){this.searchParam.pageSize=e},handleCurrentChange(e){this.searchParam.currentPage=e},openDialog(e,t){this.form={type:e,id:t.id||"",bank_account:t.bank_account||"",invoice_head:t.invoice_head||"",opening_bank:t.opening_bank||"",tax_number:t.tax_number||""},this.dialogVisible=!0},saveInvoiceTitle(){this.$refs.form.validate(e=>{if(e){let e="add"==this.form.type?"/api/enterprise_invoice/create":"/api/enterprise_invoice/edit";this.post(this.form,e).then(e=>{1==e.code&&(this.getList(),this.$message.success("操作成功"),this.dialogVisible=!1)})}})},handleDelete(e){this.$confirm("此操作将永久删除该发票, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({id:e.id},"/api/enterprise_invoice/delete").then(e=>{1==e.code&&(this.getList(),this.$message({type:"success",message:"删除成功!"}))})})}}},r=l,o=i(1656),s=(0,o.A)(r,a,n,!1,null,"0c50ce5c",null),c=s.exports}}]);
+//# sourceMappingURL=612.0689f662.js.map
\ No newline at end of file
diff --git a/dist/js/179.67a63611.js.map b/dist/js/612.0689f662.js.map
similarity index 97%
rename from dist/js/179.67a63611.js.map
rename to dist/js/612.0689f662.js.map
index c70c241..3d26445 100644
--- a/dist/js/179.67a63611.js.map
+++ b/dist/js/612.0689f662.js.map
@@ -1 +1 @@
-{"version":3,"file":"js/179.67a63611.js","mappings":"mKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,UAAU,CAACG,YAAY,CAAC,MAAQ,SAAS,CAACH,EAAG,MAAM,CAACE,YAAY,wBAAwBE,MAAM,CAAC,KAAO,UAAUC,KAAK,UAAU,CAACL,EAAG,OAAO,CAACF,EAAIQ,GAAG,UAAUN,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,OAAO,CAACG,YAAY,CAAC,MAAQ,OAAO,YAAY,SAAS,CAACL,EAAIQ,GAAG,QAAQR,EAAIS,GAAGT,EAAIU,YAAYC,QAAQ,sBAAsBT,EAAG,YAAY,CAACG,YAAY,CAAC,MAAQ,SAASC,MAAM,CAAC,KAAO,QAAQ,KAAO,WAAWM,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOb,EAAIc,WAAW,MAAO,CAAC,EAAE,IAAI,CAACd,EAAIQ,GAAG,SAAS,KAAKN,EAAG,WAAW,CAACG,YAAY,CAAC,MAAQ,QAAQC,MAAM,CAAC,KAAON,EAAIU,YAAY,OAAS,KAAK,CAACR,EAAG,kBAAkB,CAACI,MAAM,CAAC,KAAO,eAAe,MAAQ,OAAO,MAAQ,SAASJ,EAAG,kBAAkB,CAACI,MAAM,CAAC,KAAO,aAAa,MAAQ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ACA,KAAAhB,UACA,KAAAiB,SAAA,CACAvB,KAAA,UACAE,QAAA,cAMA,ICpOmQ,I,UCO/P0B,GAAY,OACd,EACA1E,EACAsC,GACA,EACA,KACA,WACA,MAIF,EAAeoC,E","sources":["webpack://shiweisuzhou/./src/views/User/UserInvoice.vue","webpack://shiweisuzhou/src/views/User/UserInvoice.vue","webpack://shiweisuzhou/./src/views/User/UserInvoice.vue?a45f","webpack://shiweisuzhou/./src/views/User/UserInvoice.vue?ca6a"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('el-card',{staticStyle:{\"width\":\"100%\"}},[_c('div',{staticClass:\"clearfix flex-between\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\"我的发票\")]),_c('div',{staticClass:\"flex-between\"},[_c('span',{staticStyle:{\"color\":\"#666\",\"font-size\":\"12px\"}},[_vm._v(\"您已保存了\"+_vm._s(_vm.invoiceList.length)+\"个发票抬头信息,做多可创建5个。\")]),_c('el-button',{staticStyle:{\"float\":\"right\"},attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":function($event){return _vm.openDialog('add', {})}}},[_vm._v(\"新增\")])],1)]),_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.invoiceList,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"invoice_head\",\"label\":\"发票抬头\",\"width\":\"120\"}}),_c('el-table-column',{attrs:{\"prop\":\"tax_number\",\"label\":\"纳税人识别号\",\"width\":\"200\"}}),_c('el-table-column',{attrs:{\"prop\":\"opening_bank\",\"label\":\"开户银行\",\"min-width\":\"180\"}}),_c('el-table-column',{attrs:{\"prop\":\"bank_account\",\"label\":\"银行账号\",\"min-width\":\"180\"}}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){return _vm.openDialog('edit', scope.row)}}},[_vm._v(\"编辑\")]),_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){return _vm.handleDelete(scope.row)}}},[_vm._v(\"删除\")])]}}])})],1)],1),_c('el-dialog',{attrs:{\"title\":\"发票抬头\",\"visible\":_vm.dialogVisible,\"width\":\"700px\"},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('el-form',{ref:\"form\",attrs:{\"model\":_vm.form,\"label-width\":\"120px\",\"size\":\"small\",\"rules\":_vm.titleRules}},[_c('el-form-item',{attrs:{\"label\":\"发票抬头\",\"prop\":\"invoice_head\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写发票抬头\"},model:{value:(_vm.form.invoice_head),callback:function ($$v) {_vm.$set(_vm.form, \"invoice_head\", $$v)},expression:\"form.invoice_head\"}})],1),_c('el-form-item',{attrs:{\"label\":\"纳税人识别号\",\"prop\":\"tax_number\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写纳税人识别号\"},model:{value:(_vm.form.tax_number),callback:function ($$v) {_vm.$set(_vm.form, \"tax_number\", $$v)},expression:\"form.tax_number\"}})],1),_c('el-form-item',{attrs:{\"label\":\"开户银行\",\"prop\":\"opening_bank\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写开户银行\"},model:{value:(_vm.form.opening_bank),callback:function ($$v) {_vm.$set(_vm.form, \"opening_bank\", $$v)},expression:\"form.opening_bank\"}})],1),_c('el-form-item',{attrs:{\"label\":\"银行账号\",\"prop\":\"bank_account\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写银行账号\"},model:{value:(_vm.form.bank_account),callback:function ($$v) {_vm.$set(_vm.form, \"bank_account\", $$v)},expression:\"form.bank_account\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"small\"},on:{\"click\":function($event){_vm.dialogVisible = false}}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.saveInvoiceTitle}},[_vm._v(\"保存\")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n
\r\n \r\n
我的发票\r\n
\r\n 您已保存了{{\r\n invoiceList.length\r\n }}个发票抬头信息,做多可创建5个。\r\n 新增\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 编辑\r\n 删除\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\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!./UserInvoice.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!./UserInvoice.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UserInvoice.vue?vue&type=template&id=89376790&scoped=true\"\nimport script from \"./UserInvoice.vue?vue&type=script&lang=js\"\nexport * from \"./UserInvoice.vue?vue&type=script&lang=js\"\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 \"89376790\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","attrs","slot","_v","_s","invoiceList","length","on","$event","openDialog","scopedSlots","_u","key","fn","scope","row","handleDelete","dialogVisible","ref","form","titleRules","model","value","invoice_head","callback","$$v","$set","expression","tax_number","opening_bank","bank_account","saveInvoiceTitle","staticRenderFns","name","data","user","searchParam","pageSize","currentPage","total","type","required","message","trigger","pattern","mounted","getList","methods","post","offset","limit","then","res","handleSizeChange","val","handleCurrentChange","item","id","$refs","validate","valid","url","code","$message","success","$confirm","confirmButtonText","cancelButtonText","component"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"file":"js/612.0689f662.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,UAAU,CAACG,YAAY,CAAC,MAAQ,SAAS,CAACH,EAAG,MAAM,CAACE,YAAY,wBAAwBE,MAAM,CAAC,KAAO,UAAUC,KAAK,UAAU,CAACL,EAAG,OAAO,CAACF,EAAIQ,GAAG,UAAUN,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,OAAO,CAACG,YAAY,CAAC,MAAQ,OAAO,YAAY,SAAS,CAACL,EAAIQ,GAAG,QAAQR,EAAIS,GAAGT,EAAIU,YAAYC,QAAQ,sBAAsBT,EAAG,YAAY,CAACG,YAAY,CAAC,MAAQ,SAASC,MAAM,CAAC,KAAO,QAAQ,KAAO,WAAWM,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOb,EAAIc,WAAW,MAAO,CAAC,EAAE,IAAI,CAACd,EAAIQ,GAAG,SAAS,KAAKN,EAAG,WAAW,CAACG,YAAY,CAAC,MAAQ,QAAQC,MAAM,CAAC,KAAON,EAAIU,YAAY,OAAS,KAAK,CAACR,EAAG,kBAAkB,CAACI,MAAM,CAAC,KAAO,eAAe,MAAQ,OAAO,MAAQ,SAASJ,EAAG,kBAAkB,CAACI,MAAM,CAAC,KAAO,aAAa,MAAQ,SAAS,MAAQ,SAASJ,EAAG,kBAAkB,CAACI,MAAM,CAAC,KAAO,eAAe,MAAQ,OAAO,YAAY,SAASJ,EAAG,kBAAkB,CAACI,MAAM,CAAC,KAAO,eAAe,MAAQ,O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sources":["webpack://shiweisuzhou/./src/views/User/UserInvoice.vue","webpack://shiweisuzhou/src/views/User/UserInvoice.vue","webpack://shiweisuzhou/./src/views/User/UserInvoice.vue?a45f","webpack://shiweisuzhou/./src/views/User/UserInvoice.vue?ca6a"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('el-card',{staticStyle:{\"width\":\"100%\"}},[_c('div',{staticClass:\"clearfix flex-between\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\"我的发票\")]),_c('div',{staticClass:\"flex-between\"},[_c('span',{staticStyle:{\"color\":\"#666\",\"font-size\":\"12px\"}},[_vm._v(\"您已保存了\"+_vm._s(_vm.invoiceList.length)+\"个发票抬头信息,最多可创建5个。\")]),_c('el-button',{staticStyle:{\"float\":\"right\"},attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":function($event){return _vm.openDialog('add', {})}}},[_vm._v(\"新增\")])],1)]),_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.invoiceList,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"invoice_head\",\"label\":\"发票抬头\",\"width\":\"120\"}}),_c('el-table-column',{attrs:{\"prop\":\"tax_number\",\"label\":\"纳税人识别号\",\"width\":\"200\"}}),_c('el-table-column',{attrs:{\"prop\":\"opening_bank\",\"label\":\"开户银行\",\"min-width\":\"180\"}}),_c('el-table-column',{attrs:{\"prop\":\"bank_account\",\"label\":\"银行账号\",\"min-width\":\"180\"}}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){return _vm.openDialog('edit', scope.row)}}},[_vm._v(\"编辑\")]),_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){return _vm.handleDelete(scope.row)}}},[_vm._v(\"删除\")])]}}])})],1)],1),_c('el-dialog',{attrs:{\"title\":\"发票抬头\",\"visible\":_vm.dialogVisible,\"width\":\"700px\"},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('el-form',{ref:\"form\",attrs:{\"model\":_vm.form,\"label-width\":\"120px\",\"size\":\"small\",\"rules\":_vm.titleRules}},[_c('el-form-item',{attrs:{\"label\":\"发票抬头\",\"prop\":\"invoice_head\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写发票抬头\"},model:{value:(_vm.form.invoice_head),callback:function ($$v) {_vm.$set(_vm.form, \"invoice_head\", $$v)},expression:\"form.invoice_head\"}})],1),_c('el-form-item',{attrs:{\"label\":\"纳税人识别号\",\"prop\":\"tax_number\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写纳税人识别号\"},model:{value:(_vm.form.tax_number),callback:function ($$v) {_vm.$set(_vm.form, \"tax_number\", $$v)},expression:\"form.tax_number\"}})],1),_c('el-form-item',{attrs:{\"label\":\"开户银行\",\"prop\":\"opening_bank\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写开户银行\"},model:{value:(_vm.form.opening_bank),callback:function ($$v) {_vm.$set(_vm.form, \"opening_bank\", $$v)},expression:\"form.opening_bank\"}})],1),_c('el-form-item',{attrs:{\"label\":\"银行账号\",\"prop\":\"bank_account\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写银行账号\"},model:{value:(_vm.form.bank_account),callback:function ($$v) {_vm.$set(_vm.form, \"bank_account\", $$v)},expression:\"form.bank_account\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"small\"},on:{\"click\":function($event){_vm.dialogVisible = false}}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.saveInvoiceTitle}},[_vm._v(\"保存\")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n
\r\n \r\n
我的发票\r\n
\r\n 您已保存了{{\r\n invoiceList.length\r\n }}个发票抬头信息,最多可创建5个。\r\n 新增\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 编辑\r\n 删除\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\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!./UserInvoice.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!./UserInvoice.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UserInvoice.vue?vue&type=template&id=0c50ce5c&scoped=true\"\nimport script from \"./UserInvoice.vue?vue&type=script&lang=js\"\nexport * from \"./UserInvoice.vue?vue&type=script&lang=js\"\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 \"0c50ce5c\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","attrs","slot","_v","_s","invoiceList","length","on","$event","openDialog","scopedSlots","_u","key","fn","scope","row","handleDelete","dialogVisible","ref","form","titleRules","model","value","invoice_head","callback","$$v","$set","expression","tax_number","opening_bank","bank_account","saveInvoiceTitle","staticRenderFns","name","data","user","searchParam","pageSize","currentPage","total","type","required","message","trigger","pattern","mounted","getList","methods","post","offset","limit","then","res","handleSizeChange","val","handleCurrentChange","item","id","$refs","validate","valid","url","code","$message","success","$confirm","confirmButtonText","cancelButtonText","component"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/758.9bf283c8.js.map b/dist/js/758.9bf283c8.js.map
deleted file mode 100644
index ab249f6..0000000
--- a/dist/js/758.9bf283c8.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"js/758.9bf283c8.js","mappings":"uJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,YAAY,CAACE,MAAM,CAAC,OAAwB,QAAbJ,EAAIK,KAAiB,KAAO,MAA/B,OAA0C,QAAUL,EAAIM,QAAQ,MAAQ,SAASC,GAAG,CAAC,MAAQP,EAAIQ,cAAc,CAACN,EAAG,UAAU,CAACO,IAAI,cAAcL,MAAM,CAAC,MAAQJ,EAAIU,KAAK,MAAQV,EAAIW,MAAM,cAAc,QAAQ,KAAO,UAAU,CAACT,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,MAAM,KAAO,aAAa,CAACF,EAAG,WAAW,CAACE,MAAM,CAAC,YAAc,mBAAmB,UAAY,MAAMQ,MAAM,CAACC,MAAOb,EAAIU,KAAKI,SAAUC,SAAS,SAAUC,GAAMhB,EAAIiB,KAAKjB,EAAIU,KAAM,WAAYM,EAAI,EAAEE,WAAW,oBAAoB,GAAGhB,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,OAAO,KAAO,WAAW,CAACF,EAAG,MAAM,CAACiB,YAAY,mBAAmB,CAACjB,EAAG,YAAY,CAACiB,YAAY,gBAAgBf,MAAM,CAAC,YAAc,YAAYG,GAAG,CAAC,OAASP,EAAIoB,sBAAsBR,MAAM,CAACC,MAAOb,EAAIU,KAAKW,YAAaN,SAAS,SAAUC,GAAMhB,EAAIiB,KAAKjB,EAAIU,KAAM,cAAeM,EAAI,EAAEE,WAAW,qBAAqBlB,EAAIsB,GAAItB,EAAIuB,UAAW,SAASC,GAAU,OAAOtB,EAAG,YAAY,CAACuB,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GACA,KAAAG,qBAAAH,EAEA,KAAA2F,SACA,EAGApD,WAAAA,GACA,SAAAD,gBAAAlH,GAEA,YADA,KAAAkD,SAAAkB,QAAA,YAKA,QAAAmB,aAAA,YAAAG,qBAEA,YADA,KAAAxC,SAAAkB,QAAA,WAIA,IAAAqH,EAAA,GACA,KAAAzF,YAAAyE,QAAA,CAAAxE,EAAAC,KACAD,EAAAG,MAAAqE,QAAA,CAAAnI,EAAA+D,KACAjD,QAAA8F,IAAA5G,GACAmJ,EAAAT,KAAA,CACArM,KAAA2D,EAAA3D,KACA+M,WAAApJ,EAAA4H,UACAU,OAAAtI,EAAAtC,GACA2L,YAAArJ,EAAAmE,SACAxD,KAAA,KAAAiE,gBAAAlH,GACA6G,OAAAZ,EAAAY,QAAA,SAIA,IAAApF,EAAA,CACAmK,aAAAH,EACAI,WAAA,KAAAnG,qBACAF,aAAA,KAAAA,cAEA,KAAAvC,KACA,CACAxB,KAAAqK,KAAAC,UAAAtK,IAEA,qBACAmH,KAAA5F,IACA,GAAAA,EAAA6F,MACA,KAAA5F,KACA,CACA+I,SAAAhJ,EAAAvB,KAAAuK,SACAC,WAAA,SACAC,aAAA,MAEA,kBACAtD,KAAA5F,IACA,GAAAA,EAAA6F,OACA,KAAAsD,iBACA,KAAAjJ,SAAA4F,QAAA,WACA,KAAAP,QAAAyC,KAAA,uBAKA,IChpB6P,I,UCQzPzG,GAAY,OACd,EACAlG,EACAyC,GACA,EACA,KACA,WACA,MAIF,EAAeyD,E","sources":["webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue","webpack://shiweisuzhou/src/components/common/AddressFormDialog.vue","webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue?ef45","webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue?6358","webpack://shiweisuzhou/./src/views/Order/Index.vue","webpack://shiweisuzhou/src/views/Order/Index.vue","webpack://shiweisuzhou/./src/views/Order/Index.vue?7896","webpack://shiweisuzhou/./src/views/Order/Index.vue?7cca"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-dialog',{attrs:{\"title\":`${_vm.type === 'add' ? '新增' : '编辑'}收货地址`,\"visible\":_vm.visible,\"width\":\"700px\"},on:{\"close\":_vm.handleClose}},[_c('el-form',{ref:\"addressForm\",attrs:{\"model\":_vm.form,\"rules\":_vm.rules,\"label-width\":\"100px\",\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"收货人\",\"prop\":\"username\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写收货人姓名,限制10个字符\",\"maxlength\":\"10\"},model:{value:(_vm.form.username),callback:function ($$v) {_vm.$set(_vm.form, \"username\", $$v)},expression:\"form.username\"}})],1),_c('el-form-item',{attrs:{\"label\":\"所在地区\",\"prop\":\"region\"}},[_c('div',{staticClass:\"region-selector\"},[_c('el-select',{staticClass:\"region-select\",attrs:{\"placeholder\":\"选择省份/直辖市\"},on:{\"change\":_vm.handleProvinceChange},model:{value:(_vm.form.province_id),callback:function ($$v) {_vm.$set(_vm.form, \"province_id\", $$v)},expression:\"form.province_id\"}},_vm._l((_vm.provinces),function(province){return _c('el-option',{key:province.id,attrs:{\"label\":province.name,\"value\":province.id}})}),1),_c('el-select',{staticClass:\"region-select\",attrs:{\"placeholder\":\"选择城市\",\"disabled\":!_vm.form.province_id},on:{\"change\":_vm.handleCityChange},model:{value:(_vm.form.city_id),callback:function ($$v) {_vm.$set(_vm.form, \"city_id\", $$v)},expression:\"form.city_id\"}},_vm._l((_vm.cities),function(city){return _c('el-option',{key:city.id,attrs:{\"label\":city.name,\"value\":city.id}})}),1),_c('el-select',{staticClass:\"region-select\",attrs:{\"placeholder\":\"选择县区\",\"disabled\":!_vm.form.city_id},model:{value:(_vm.form.district_id),callback:function ($$v) {_vm.$set(_vm.form, \"district_id\", $$v)},expression:\"form.district_id\"}},_vm._l((_vm.districts),function(district){return _c('el-option',{key:district.id,attrs:{\"label\":district.name,\"value\":district.id}})}),1)],1)]),_c('el-form-item',{attrs:{\"label\":\"详细地址\",\"prop\":\"detail_addr\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写详细地址,限制500个字符\",\"maxlength\":\"500\"},model:{value:(_vm.form.detail_addr),callback:function ($$v) {_vm.$set(_vm.form, \"detail_addr\", $$v)},expression:\"form.detail_addr\"}})],1),_c('el-form-item',{attrs:{\"label\":\"手机号码\",\"prop\":\"mobile\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写手机号码,限制11位数字\",\"maxlength\":\"11\",\"oninput\":\"value=value.replace(/[^\\\\d]/g,'')\"},model:{value:(_vm.form.mobile),callback:function ($$v) {_vm.$set(_vm.form, \"mobile\", $$v)},expression:\"form.mobile\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"small\"},on:{\"click\":_vm.handleClose}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.saveAddress}},[_vm._v(\"保存\")])],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 \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\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!./AddressFormDialog.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!./AddressFormDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AddressFormDialog.vue?vue&type=template&id=7d3ebefd&scoped=true\"\nimport script from \"./AddressFormDialog.vue?vue&type=script&lang=js\"\nexport * from \"./AddressFormDialog.vue?vue&type=script&lang=js\"\nimport style0 from \"./AddressFormDialog.vue?vue&type=style&index=0&id=7d3ebefd&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 \"7d3ebefd\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"order-page\"},[_c('div',{staticClass:\"page-header\"},[_c('h2',[_vm._v(\"填写收货人信息\")]),_c('el-button',{staticClass:\"address-book-btn\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.openDialog('add', {})}}},[_vm._v(\" 新增/修改地址 \")])],1),_c('div',{staticClass:\"info-section\"},[_c('h3',[_vm._v(\"收货人信息\")]),_c('div',{staticClass:\"address-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"收货地址:\")]),_c('div',{staticClass:\"address-content\"},_vm._l((_vm.addresses),function(addr,index){return _c('div',{key:index,staticClass:\"saved-address\",class:{ selected: _vm.selectedAddressIndex === index },on:{\"click\":function($event){return _vm.selectAddress(index)}}},[_c('span',{staticClass:\"name-tag\"},[_vm._v(_vm._s(addr.name)+\" \"+_vm._s(addr.province))]),_c('span',{staticClass:\"detail\"},[_vm._v(_vm._s(addr.address)+\" \"+_vm._s(addr.phone))]),_c('el-button',{staticClass:\"edit-btn\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.handleEdit(addr)}}},[_vm._v(\"编辑\")]),_c('el-button',{staticClass:\"delete-btn\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.handleDelete()}}},[_vm._v(\"删除\")])],1)}),0)]),_c('h3',[_vm._v(\"发票信息\")]),_c('div',{staticClass:\"invoice-type-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"是否开票:\")]),_c('el-radio-group',{model:{value:(_vm.needInvoice),callback:function ($$v) {_vm.needInvoice=$$v},expression:\"needInvoice\"}},[_c('el-radio',{attrs:{\"label\":true}},[_vm._v(\"是\")]),_c('el-radio',{attrs:{\"label\":false}},[_vm._v(\"否\")])],1)],1),(_vm.needInvoice)?_c('div',{staticClass:\"invoice-type-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"发票类型:\")]),_c('el-radio-group',{model:{value:(_vm.invoice_type),callback:function ($$v) {_vm.invoice_type=$$v},expression:\"invoice_type\"}},[_c('el-radio',{attrs:{\"label\":1}},[_vm._v(\"增值税普通发票\")]),_c('el-radio',{attrs:{\"label\":2}},[_vm._v(\"普通电子发票\")])],1)],1):_vm._e(),(_vm.needInvoice)?_c('div',{staticClass:\"invoice-title-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"发票抬头:\")]),_c('el-select',{staticClass:\"invoice-title-select\",attrs:{\"placeholder\":\"请选择发票抬头\"},model:{value:(_vm.selectedInvoiceTitle),callback:function ($$v) {_vm.selectedInvoiceTitle=$$v},expression:\"selectedInvoiceTitle\"}},_vm._l((_vm.invoiceTitles),function(title,index){return _c('el-option',{key:index,attrs:{\"label\":title.invoice_head,\"value\":title.id}})}),1),_c('el-button',{staticClass:\"add-title-btn\",attrs:{\"type\":\"text\"},on:{\"click\":_vm.openTitleDialog}},[_vm._v(\"+ 添加\")])],1):_vm._e()]),_vm._m(0),_c('div',{staticClass:\"goods-section\"},[_c('h3',[_vm._v(\"商品清单\")]),_vm._l((_vm.orderGroups),function(group,groupIndex){return _c('div',{key:groupIndex,staticClass:\"order-group\"},[_c('div',{staticClass:\"supplier-info\"},[_c('span',[_vm._v(\"供货名称:\"+_vm._s(group.supplier))])]),_c('table',{staticClass:\"goods-table\"},[_vm._m(1,true),_c('tbody',_vm._l((group.items),function(item,itemIndex){return _c('tr',{key:itemIndex},[_c('td',[_c('img',{staticClass:\"goods-img\",attrs:{\"src\":item.image,\"alt\":\"商品图片\"}}),_c('span',{staticClass:\"goods-name\"},[_vm._v(_vm._s(item.name))])]),_c('td',[_vm._v(_vm._s(item.spec))]),_c('td',[_vm._v(_vm._s(item.price))]),_c('td',[_vm._v(_vm._s(item.quantity))]),_c('td',[_vm._v(_vm._s(item.freight))]),_c('td',[_vm._v(_vm._s(item.deliveryType))]),_c('td',{staticClass:\"subtotal\"},[_vm._v(_vm._s(item.subtotal))])])}),0)]),_c('div',{staticClass:\"order-remark\"},[_c('span',{staticClass:\"remark-label\"},[_vm._v(\"订单备注:\")]),_c('div',{staticClass:\"rich-text-editor\"},[_c('el-input',{staticClass:\"remark-editor\",attrs:{\"type\":\"textarea\",\"rows\":\"4\",\"placeholder\":\"请输入订单备注信息\"},model:{value:(group.remark),callback:function ($$v) {_vm.$set(group, \"remark\", $$v)},expression:\"group.remark\"}}),(false)?_c('div',{staticClass:\"editor-toolbar\"},[_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-bold\",\"size\":\"mini\"}}),_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-italic\",\"size\":\"mini\"}}),_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-underline\",\"size\":\"mini\"}}),_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-link\",\"size\":\"mini\"}}),_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-picture\",\"size\":\"mini\"}})],1):_vm._e()],1)])])}),_c('div',{staticClass:\"total-info\"},[_c('p',[_vm._v(\" 共 \"+_vm._s(_vm.totalGoodsCount)+\" 件商品,总商品金额 ¥\"+_vm._s(_vm.totalGoodsAmount)+\" \")]),_c('p',[_vm._v(\"总运费 ¥\"+_vm._s(_vm.totalFreight))]),_c('p',{staticClass:\"pay-amount\"},[_vm._v(\"实付总金额 ¥\"+_vm._s(_vm.totalPayAmount))]),_c('p',{staticClass:\"address-info\"},[_vm._v(\" 配送地:\"+_vm._s(_vm.selectedAddress.address)),_c('br'),_vm._v(\" 交货地:\"+_vm._s(_vm.selectedAddress.address)+\" \"+_vm._s(_vm.selectedAddress.phone)+\" \")]),_c('el-button',{staticClass:\"submit-btn\",attrs:{\"type\":\"primary\"},on:{\"click\":_vm.submitOrder}},[_vm._v(\" 提交订单 \")])],1)],2),_c('AddressFormDialog',{attrs:{\"visible\":_vm.dialogVisible,\"type\":_vm.dialogType,\"initial-data\":_vm.dialogData},on:{\"update:visible\":function($event){_vm.dialogVisible = $event},\"save\":_vm.handleSaveAddress}}),_c('el-dialog',{attrs:{\"title\":\"新增发票抬头\",\"visible\":_vm.invoiceTitleDialogVisible,\"width\":\"700px\",\"before-close\":_vm.handleTitleDialogClose},on:{\"update:visible\":function($event){_vm.invoiceTitleDialogVisible=$event}}},[_c('el-form',{ref:\"titleForm\",staticClass:\"invoice-title-form\",attrs:{\"model\":_vm.titleForm,\"rules\":_vm.titleRules,\"label-width\":\"120px\"}},[_c('el-form-item',{attrs:{\"label\":\"发票抬头\",\"prop\":\"invoice_head\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入发票抬头\",\"maxlength\":\"100\"},model:{value:(_vm.titleForm.invoice_head),callback:function ($$v) {_vm.$set(_vm.titleForm, \"invoice_head\", $$v)},expression:\"titleForm.invoice_head\"}})],1),_c('el-form-item',{attrs:{\"label\":\"纳税人识别号\",\"prop\":\"tax_number\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入纳税人识别号\",\"maxlength\":\"20\"},model:{value:(_vm.titleForm.tax_number),callback:function ($$v) {_vm.$set(_vm.titleForm, \"tax_number\", $$v)},expression:\"titleForm.tax_number\"}})],1),_c('el-form-item',{attrs:{\"label\":\"开户银行\",\"prop\":\"opening_bank\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入开户银行\",\"maxlength\":\"100\"},model:{value:(_vm.titleForm.opening_bank),callback:function ($$v) {_vm.$set(_vm.titleForm, \"opening_bank\", $$v)},expression:\"titleForm.opening_bank\"}})],1),_c('el-form-item',{attrs:{\"label\":\"银行账号\",\"prop\":\"bank_account\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入银行账号\",\"maxlength\":\"30\"},model:{value:(_vm.titleForm.bank_account),callback:function ($$v) {_vm.$set(_vm.titleForm, \"bank_account\", $$v)},expression:\"titleForm.bank_account\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.handleTitleDialogClose}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveInvoiceTitle}},[_vm._v(\"确定\")])],1)],1)],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"contract-section\"},[_c('h3',[_vm._v(\"签署合同\")]),_c('p',[_vm._v(\"如需签署合同,提交订单后,请至采购中心>合同中心签署\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"商品\")]),_c('th',[_vm._v(\"规格\")]),_c('th',[_vm._v(\"单价(元)\")]),_c('th',[_vm._v(\"数量\")]),_c('th',[_vm._v(\"运费\")]),_c('th',[_vm._v(\"收货方式\")]),_c('th',[_vm._v(\"小计(元)\")])])])\n}]\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n\r\n \r\n
\r\n
收货人信息
\r\n
\r\n
收货地址:\r\n
\r\n
\r\n {{ addr.name }} {{ addr.province }}\r\n {{ addr.address }} {{ addr.phone }}\r\n \r\n 编辑\r\n 删除\r\n
\r\n
\r\n
\r\n\r\n \r\n\r\n
发票信息
\r\n
\r\n 是否开票:\r\n \r\n 是\r\n 否\r\n \r\n
\r\n\r\n
\r\n 发票类型:\r\n \r\n 增值税普通发票\r\n 普通电子发票\r\n \r\n
\r\n\r\n
\r\n 发票抬头:\r\n \r\n \r\n \r\n + 添加\r\n
\r\n
\r\n\r\n \r\n
\r\n
签署合同
\r\n
如需签署合同,提交订单后,请至采购中心>合同中心签署
\r\n
\r\n\r\n \r\n
\r\n
商品清单
\r\n\r\n \r\n
\r\n
\r\n 供货名称:{{ group.supplier }}\r\n
\r\n
\r\n \r\n \r\n 商品 | \r\n 规格 | \r\n 单价(元) | \r\n 数量 | \r\n 运费 | \r\n 收货方式 | \r\n 小计(元) | \r\n
\r\n \r\n \r\n \r\n \r\n \r\n {{ item.name }}\r\n | \r\n {{ item.spec }} | \r\n {{ item.price }} | \r\n {{ item.quantity }} | \r\n {{ item.freight }} | \r\n {{ item.deliveryType }} | \r\n {{ item.subtotal }} | \r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n 共 {{ totalGoodsCount }} 件商品,总商品金额 ¥{{ totalGoodsAmount }}\r\n
\r\n
总运费 ¥{{ totalFreight }}
\r\n
实付总金额 ¥{{ totalPayAmount }}
\r\n
\r\n 配送地:{{ selectedAddress.address }}
\r\n 交货地:{{ selectedAddress.address }} {{ selectedAddress.phone }}\r\n
\r\n
\r\n 提交订单\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \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!./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=49b32daf&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=49b32daf&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 \"49b32daf\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","attrs","type","visible","on","handleClose","ref","form","rules","model","value","username","callback","$$v","$set","expression","staticClass","handleProvinceChange","province_id","_l","provinces","province","key","id","name","handleCityChange","city_id","cities","city","district_id","districts","district","detail_addr","mobile","slot","_v","saveAddress","staticRenderFns","props","Boolean","default","String","required","validator","val","includes","initialData","Object","data","validateMobile","rule","test","Error","validateRegion","region","message","trigger","max","regionData","computed","filter","item","level","pid","watch","initForm","handler","deep","mounted","getRegionData","methods","res","post","$message","error","console","$nextTick","$refs","addressForm","resetFields","echoRegionSelection","regionText","regions","split","length","find","p","c","d","validate","valid","warning","formData","$emit","component","$event","openDialog","addresses","addr","index","class","selected","selectedAddressIndex","selectAddress","_s","address","phone","stopPropagation","handleEdit","handleDelete","needInvoice","invoice_type","_e","selectedInvoiceTitle","invoiceTitles","title","invoice_head","openTitleDialog","_m","orderGroups","group","groupIndex","supplier","items","itemIndex","image","spec","price","quantity","freight","deliveryType","subtotal","remark","totalGoodsCount","totalGoodsAmount","totalFreight","totalPayAmount","selectedAddress","submitOrder","dialogVisible","dialogType","dialogData","handleSaveAddress","invoiceTitleDialogVisible","handleTitleDialogClose","titleForm","titleRules","tax_number","opening_bank","bank_account","saveInvoiceTitle","components","AddressFormDialog","selectedTradeType","pattern","mapGetters","getOrderData","initOrderData","$router","go","getAddress","getInvoiceList","mapMutations","then","code","success","offset","limit","row","log","tel","$confirm","confirmButtonText","cancelButtonText","catch","info","from","product","supplier_name","formatItems","entries","groups","map","calculateTotal","sku","productId","headimg","sku_name","toFixed","parseFloat","getPost","freightPromises","forEach","params","consignee_id","sku_id","num","promise","err","push","Promise","all","calculateTotalFreight","total","totalCount","totalAmount","is_default","contactType","goods","product_id","product_num","product_list","invoice_id","JSON","stringify","order_id","pay_method","pay_platform","clearOrderData"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/779.220d32b4.js b/dist/js/779.220d32b4.js
new file mode 100644
index 0000000..20411a5
--- /dev/null
+++ b/dist/js/779.220d32b4.js
@@ -0,0 +1,2 @@
+"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[779],{1779: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("加入购物车")]),i("el-button",{staticClass:"bargain-btn",attrs:{type:"info"}},[t._v("议价")]),i("el-button",{staticClass:"share-btn",attrs:{icon:"el-icon-share",circle:""},on:{click:t.handleShare}})],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),b=_.exports,f={name:"ProductDetail",components:{Evaluate:p,AddToCartDialog:b},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=f,w=(0,d.A)(y,s,a,!1,null,"049fb0ca",null),k=w.exports}}]);
+//# sourceMappingURL=779.220d32b4.js.map
\ No newline at end of file
diff --git a/dist/js/779.220d32b4.js.map b/dist/js/779.220d32b4.js.map
new file mode 100644
index 0000000..5f451b0
--- /dev/null
+++ b/dist/js/779.220d32b4.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"js/779.220d32b4.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,G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J,IAGA,EAEA4B,gBAAAA,GACA,KAAAC,SAAA,KAAAL,oBACA,KAAAK,UAEA,EAEAC,gBAAAA,GACA,KAAAD,UACA,EAEAI,WAAAA,GACA,KAAA2F,SAAA/H,KAAA,UACA,EAGAmC,OAAAA,GACA,KAAAhB,IAAA,KAAAnB,KAAAmB,IAAA,KAAAC,cACA,KAAA+B,mBAAA,CACA,EAGAmG,YAAAA,GACA,KAAAC,KACA,CACA/D,OAAA,EACAC,MAAA,EACA+D,MAAA,EACAC,YAAA,KAAAnH,IAEA,iCACAoD,KAAAC,IACA,KAAAtD,iBAAAsD,EAAAX,KAAAY,MAEA,EAGA8D,SAAAA,GACA,KAAApE,IAAA,CAAAhD,GAAA,KAAAA,IAAA,mCAAAoD,KACAC,IACA,KAAA3F,KAAA2F,EAAAX,KACA,KAAAhF,KAAAmB,KAAA,KAAAnB,KAAAmB,IAAA0C,OAAA,IAEA,KAAAzC,cAAA,KAAApB,KAAAmB,IAAA0C,SACA,KAAAzC,aAAA,GAGA,KAAAY,SAAA,KAAAL,qBAIA,EAEAY,QAAAA,GACA,KAAAmH,YACA,KAAAJ,cACA,GAEAnE,OAAAA,GAEA,KAAAgE,MAAAC,UACAO,QAAAC,KAAA,0BAEA,KAAAtH,GAAA,KAAAuH,OAAAC,OAAAxH,GACA,KAAAC,UACA,GC5U6P,ICQzP,GAAY,OACd,EACAlD,EACA+D,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(\"加入购物车\")]),_c('el-button',{staticClass:\"bargain-btn\",attrs:{\"type\":\"info\"}},[_vm._v(\"议价\")]),_c('el-button',{staticClass:\"share-btn\",attrs:{\"icon\":\"el-icon-share\",\"circle\":\"\"},on:{\"click\":_vm.handleShare}})],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 \r\n
\r\n
\r\n
\r\n
![]()
\r\n
{{ review.user.nickname }}
\r\n
\r\n \r\n \r\n {{ star <= review.rate ? \"★\" : \"☆\" }}\r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n
![]()
\r\n
\r\n\r\n
{{ review.time }}
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
![]()
\r\n
\r\n\r\n \r\n
\r\n
\r\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!./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 \r\n
![\"商品图片\"]()
\r\n
\r\n
{{ product.sku_name || \"商品名称\" }}
\r\n
¥{{ product.price / 100 }}
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n 库存仅剩 {{ product.stock }} 件\r\n \r\n
\r\n\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!./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
\r\n \r\n
\r\n \r\n \r\n
\r\n 温馨提示:以上图片仅供参考,若图片与实物有所不同,则以实物为准。\r\n
\r\n \r\n
\r\n
\r\n
![]()
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n {{ info.title }}\r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n 售价\r\n ¥{{ info.sku[selectedSpec].price / 100 }}\r\n 已售 {{ info.sales_number }}\r\n
\r\n\r\n
\r\n
\r\n 收货方式\r\n 邮寄\r\n
\r\n\r\n
\r\n
商品规格\r\n
\r\n \r\n
\r\n
\r\n\r\n
1\">\r\n 起订量\r\n {{\r\n currentMinQuantity\r\n }}件\r\n
\r\n\r\n
\r\n 发货地\r\n {{ info.supplier_address }}\r\n
\r\n\r\n
\r\n 其他\r\n {{ otherInfo }}\r\n
\r\n\r\n
\r\n 配送范围\r\n {{ deliveryRange }}\r\n
\r\n
\r\n\r\n
\r\n \r\n {{ quantity }}\r\n \r\n 一口价购买\r\n 加入购物车\r\n 议价\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n 商品详情\r\n 商品评价(125)\r\n
\r\n\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\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!./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=049fb0ca&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=049fb0ca&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 \"049fb0ca\",\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","handleShare","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","getRecommend","post","rand","product_ids","getDetail","console","warn","$route","params"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/789.d1b1b886.js b/dist/js/789.d1b1b886.js
deleted file mode 100644
index 5baebef..0000000
--- a/dist/js/789.d1b1b886.js
+++ /dev/null
@@ -1,2 +0,0 @@
-"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[789],{2988:function(t,s,i){i.d(s,{A:function(){return l}});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"product-list"},[s("div",{staticClass:"product-grid"},t._l(t.products,function(i){return s("router-link",{key:i.id,staticClass:"product-card",attrs:{to:`/Detail/${i.id}`}},[s("div",{staticClass:"product-img"},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:i.headimg,expression:"product.headimg"}],staticClass:"product-pic",attrs:{alt:i.title}})]),s("div",{staticClass:"product-info"},[s("div",{staticClass:"flex-between"},[s("div",{staticClass:"product-price"},[s("span",{staticClass:"current-price"},[t._v("¥"+t._s(i.price/100))]),i.market_price?s("span",{staticClass:"original-price"},[t._v("¥"+t._s(i.market_price/100))]):t._e()]),i.sales?s("div",{staticClass:"product-sales"},[s("span",[t._v("已售 "+t._s(i.sales_number)+" 件")])]):t._e()]),s("h3",{staticClass:"product-name"},[s("router-link",{attrs:{to:`/Detail/${i.id}`}},[t._v(" "+t._s(i.title)+" ")])],1),s("div",{staticClass:"product-actions"},[s("el-button",{staticStyle:{"background-color":"#6a8a27",border:"none"},attrs:{type:"primary",size:"small"}},[s("el-icon",{attrs:{name:"el-icon-shopping-cart"}}),t._v(" 立即购买 ")],1)],1)])])}),1),0===t.products.length?s("div",{staticClass:"no-products"},[s("el-empty",{attrs:{description:"暂无相关商品"}})],1):t._e()])},e=[],r={name:"ProductList",props:{products:{type:Array,default:()=>[]}},methods:{}},c=r,o=i(1656),n=(0,o.A)(c,a,e,!1,null,"0968dad7",null),l=n.exports},6789:function(t,s,i){i.r(s),i.d(s,{default:function(){return h}});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"bg"},[s("HomeLayout",{attrs:{topBanner:t.topBanner,tagList:t.tagList}}),s("div",{staticClass:"product-box"},[s("h2",[t._v("今日推荐")]),s("ProductList",{attrs:{products:t.prouctList[0].list}})],1),s("div",{staticClass:"product-box"},[s("h2",[t._v("热销排行")]),s("ProductList",{attrs:{products:t.prouctList[1].list}})],1),s("div",{staticClass:"product-box"},[s("h2",[t._v("新品上市")]),s("ProductList",{attrs:{products:t.prouctList[2].list}})],1)],1)},e=[],r=(i(8111),i(1701),function(){var t=this,s=t._self._c;return s("div",{staticClass:"home-layout-container"},[s("div",{staticClass:"left-nav"},[s("ul",{staticClass:"nav-list"},t._l(t.tagList,function(i){return s("router-link",{key:i.id,staticClass:"nav-item",attrs:{to:"/productList?id="+i.id,tag:"li"}},[s("img",{attrs:{src:t.util.showImg(i.image),alt:""}}),t._v(t._s(i.name)+" ")])}),1)]),s("div",{staticClass:"main-content"},[s("el-carousel",{staticStyle:{height:"100%"}},t._l(t.topBanner,function(t){return s("el-carousel-item",{key:t.id},[s("img",{staticClass:"carousel-img",attrs:{src:t.head_img}})])}),1)],1),s("div",{staticClass:"right-info"},[t.$store.getters.isUserLogin?s("div",{staticClass:"avatar-container"},[s("img",{staticClass:"user-avatar",attrs:{src:t.$store.getters.getUserInfo.avatar,alt:"用户头像"}}),s("div",{staticClass:"welcome-text"},[t._v("Hi-欢迎您")])]):t._e(),t._e(),s("div",{staticClass:"func-icons"},[s("router-link",{staticClass:"icon-item",attrs:{to:"/User/UserCenter"}},[s("i",{staticClass:"icon el-icon-user"}),s("span",[t._v("个人中心")])]),s("router-link",{staticClass:"icon-item",attrs:{to:"/User/OrderList"}},[s("i",{staticClass:"icon el-icon-goods"}),s("span",[t._v("我的订单")])])],1),s("div",{staticClass:"announcement"},[s("el-tag",{attrs:{type:"danger",size:"mini"}},[t._v("公告")]),s("span",{staticClass:"text-overflowRows"},[t._v(t._s(t.notice))])],1)])])}),c=[],o={name:"HomeLayout",data(){return{notice:""}},props:{topBanner:{type:Array,default:()=>[]},tagList:{type:Array,default:()=>[]}},mounted(){this.post({},"/api/anncmnt/getLatest").then(t=>{console.log(t.data.title),this.notice=t.data.title})}},n=o,l=i(1656),d=(0,l.A)(n,r,c,!1,null,"6226f870",null),u=d.exports,p=i(2988),g={components:{HomeLayout:u,ProductList:p.A},data(){return{topBanner:[],tagList:[],prouctList:[{id:670,title:"今日推荐",list:[]},{id:671,title:"热销排行",list:[]},{id:672,title:"新品上市",list:[]}],newProducts:[{id:7,name:"高清投影仪高清投影仪高清投影仪高清投影仪高清投影仪高清投影仪高清投影仪高清投影仪",price:3299,originalPrice:3699,image:"https://static.ticket.sz-trip.com/jundaosuzhou/images/scenicType/topImg.png",sales:156,categoryId:1},{id:8,name:"保湿面霜",price:299,originalPrice:359,image:"https://static.ticket.sz-trip.com/jundaosuzhou/images/scenicType/topImg.png",sales:423,categoryId:4},{id:9,name:"有机水果礼盒",price:159,originalPrice:199,image:"https://static.ticket.sz-trip.com/jundaosuzhou/images/scenicType/topImg.png",sales:287,categoryId:5},{id:10,name:"经典文学名著",price:129,originalPrice:199,image:"https://static.ticket.sz-trip.com/jundaosuzhou/images/scenicType/topImg.png",sales:342,categoryId:6}]}},created(){this.getTopBanner(),this.getTags(),this.getProductList()},methods:{getTopBanner(){this.post({type_id:6,position:0},"/api/adv/getAdv").then(t=>{t&&(this.topBanner=t.data)})},getTags(){this.post({pid:683},"/api/product/tag_list").then(t=>{this.tagList=t.data,this.tagList[0].id=662})},getProductList(){this.prouctList.map(t=>{this.post({tag_id:t.id,offset:0,limit:4},"/api/product/get_product_by_tag").then(s=>{t.list=s.data.list})})}}},m=g,v=(0,l.A)(m,a,e,!1,null,"c53f5724",null),h=v.exports}}]);
-//# sourceMappingURL=789.d1b1b886.js.map
\ No newline at end of file
diff --git a/dist/js/789.d1b1b886.js.map b/dist/js/789.d1b1b886.js.map
deleted file mode 100644
index 8a6f379..0000000
--- a/dist/js/789.d1b1b886.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"js/789.d1b1b886.js","mappings":"uJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgBJ,EAAIK,GAAIL,EAAIM,SAAU,SAASC,GAAS,OAAOL,EAAG,cAAc,CAACM,IAAID,EAAQE,GAAGL,YAAY,eAAeM,MAAM,CAAC,GAAK,WAAWH,EAAQE,OAAO,CAACP,EAAG,MAAM,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b,KACA,CACAiB,IAAA,KAEA,yBACAhB,KAAAC,IACA,KAAAlB,QAAAkB,EAAAJ,KACA,KAAAd,QAAA,GAAA1B,GAAA,KAEA,EAEAwD,cAAAA,GACA,KAAA7B,WAAAiC,IAAAC,IACA,KAAAnB,KACA,CACAoB,OAAAD,EAAA7D,GACA+D,OAAA,EACAC,MAAA,GAEA,mCACArB,KAAAC,IACAiB,EAAAjC,KAAAgB,EAAAJ,KAAAZ,QAGA,IC7IoP,ICQhP,GAAY,OACd,EACAtC,EACA4B,GACA,EACA,KACA,WACA,MAIF,EAAe,E","sources":["webpack://shiweisuzhou/./src/components/product/ProductList.vue","webpack://shiweisuzhou/src/components/product/ProductList.vue","webpack://shiweisuzhou/./src/components/product/ProductList.vue?43ae","webpack://shiweisuzhou/./src/components/product/ProductList.vue?0bfb","webpack://shiweisuzhou/./src/views/Index.vue","webpack://shiweisuzhou/./src/components/layout/HomeLayout.vue","webpack://shiweisuzhou/src/components/layout/HomeLayout.vue","webpack://shiweisuzhou/./src/components/layout/HomeLayout.vue?06d9","webpack://shiweisuzhou/./src/components/layout/HomeLayout.vue?b436","webpack://shiweisuzhou/src/views/Index.vue","webpack://shiweisuzhou/./src/views/Index.vue?cb95","webpack://shiweisuzhou/./src/views/Index.vue?e2bc"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-list\"},[_c('div',{staticClass:\"product-grid\"},_vm._l((_vm.products),function(product){return _c('router-link',{key:product.id,staticClass:\"product-card\",attrs:{\"to\":`/Detail/${product.id}`}},[_c('div',{staticClass:\"product-img\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(product.headimg),expression:\"product.headimg\"}],staticClass:\"product-pic\",attrs:{\"alt\":product.title}})]),_c('div',{staticClass:\"product-info\"},[_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"product-price\"},[_c('span',{staticClass:\"current-price\"},[_vm._v(\"¥\"+_vm._s(product.price / 100))]),(product.market_price)?_c('span',{staticClass:\"original-price\"},[_vm._v(\"¥\"+_vm._s(product.market_price / 100))]):_vm._e()]),(product.sales)?_c('div',{staticClass:\"product-sales\"},[_c('span',[_vm._v(\"已售 \"+_vm._s(product.sales_number)+\" 件\")])]):_vm._e()]),_c('h3',{staticClass:\"product-name\"},[_c('router-link',{attrs:{\"to\":`/Detail/${product.id}`}},[_vm._v(\" \"+_vm._s(product.title)+\" \")])],1),_c('div',{staticClass:\"product-actions\"},[_c('el-button',{staticStyle:{\"background-color\":\"#6a8a27\",\"border\":\"none\"},attrs:{\"type\":\"primary\",\"size\":\"small\"}},[_c('el-icon',{attrs:{\"name\":\"el-icon-shopping-cart\"}}),_vm._v(\" 立即购买 \")],1)],1)])])}),1),(_vm.products.length === 0)?_c('div',{staticClass:\"no-products\"},[_c('el-empty',{attrs:{\"description\":\"暂无相关商品\"}})],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n
\n
\n \n
![]()
\n
\n \n
\n
\n ¥{{ product.price / 100 }}\n ¥{{ product.market_price / 100 }}\n
\n
\n 已售 {{ product.sales_number }} 件\n
\n
\n
\n \n {{ product.title }}\n \n
\n
\n \n 立即购买\n \n
\n
\n \n
\n\n \n
\n \n
\n
\n\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!./ProductList.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!./ProductList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductList.vue?vue&type=template&id=0968dad7&scoped=true\"\nimport script from \"./ProductList.vue?vue&type=script&lang=js\"\nexport * from \"./ProductList.vue?vue&type=script&lang=js\"\nimport style0 from \"./ProductList.vue?vue&type=style&index=0&id=0968dad7&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 \"0968dad7\",\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('HomeLayout',{attrs:{\"topBanner\":_vm.topBanner,\"tagList\":_vm.tagList}}),_c('div',{staticClass:\"product-box\"},[_c('h2',[_vm._v(\"今日推荐\")]),_c('ProductList',{attrs:{\"products\":_vm.prouctList[0].list}})],1),_c('div',{staticClass:\"product-box\"},[_c('h2',[_vm._v(\"热销排行\")]),_c('ProductList',{attrs:{\"products\":_vm.prouctList[1].list}})],1),_c('div',{staticClass:\"product-box\"},[_c('h2',[_vm._v(\"新品上市\")]),_c('ProductList',{attrs:{\"products\":_vm.prouctList[2].list}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"home-layout-container\"},[_c('div',{staticClass:\"left-nav\"},[_c('ul',{staticClass:\"nav-list\"},_vm._l((_vm.tagList),function(item){return _c('router-link',{key:item.id,staticClass:\"nav-item\",attrs:{\"to\":'/productList?id=' + item.id,\"tag\":\"li\"}},[_c('img',{attrs:{\"src\":_vm.util.showImg(item.image),\"alt\":\"\"}}),_vm._v(_vm._s(item.name)+\" \")])}),1)]),_c('div',{staticClass:\"main-content\"},[_c('el-carousel',{staticStyle:{\"height\":\"100%\"}},_vm._l((_vm.topBanner),function(item){return _c('el-carousel-item',{key:item.id},[_c('img',{staticClass:\"carousel-img\",attrs:{\"src\":item.head_img}})])}),1)],1),_c('div',{staticClass:\"right-info\"},[(_vm.$store.getters.isUserLogin)?_c('div',{staticClass:\"avatar-container\"},[_c('img',{staticClass:\"user-avatar\",attrs:{\"src\":_vm.$store.getters.getUserInfo.avatar,\"alt\":\"用户头像\"}}),_c('div',{staticClass:\"welcome-text\"},[_vm._v(\"Hi-欢迎您\")])]):_vm._e(),(false)?_c('div',{staticClass:\"btn-group\"},[_c('el-button',{attrs:{\"type\":\"danger\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoPath('/Login')}}},[_vm._v(\"登录\")]),_c('el-button',{attrs:{\"type\":\"warning\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoPath('/Register')}}},[_vm._v(\"注册\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"}},[_vm._v(\"客服\")])],1):_vm._e(),_c('div',{staticClass:\"func-icons\"},[_c('router-link',{staticClass:\"icon-item\",attrs:{\"to\":\"/User/UserCenter\"}},[_c('i',{staticClass:\"icon el-icon-user\"}),_c('span',[_vm._v(\"个人中心\")])]),_c('router-link',{staticClass:\"icon-item\",attrs:{\"to\":\"/User/OrderList\"}},[_c('i',{staticClass:\"icon el-icon-goods\"}),_c('span',[_vm._v(\"我的订单\")])])],1),_c('div',{staticClass:\"announcement\"},[_c('el-tag',{attrs:{\"type\":\"danger\",\"size\":\"mini\"}},[_vm._v(\"公告\")]),_c('span',{staticClass:\"text-overflowRows\"},[_vm._v(_vm._s(_vm.notice))])],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n
\r\n
\r\n \r\n
{{ item.name }}\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n
![\"用户头像\"\r\n]()
\r\n
Hi-欢迎您
\r\n
\r\n\r\n
\r\n 登录\r\n 注册\r\n 客服\r\n
\r\n\r\n
\r\n \r\n \r\n 个人中心\r\n \r\n \r\n \r\n 我的订单\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n 公告\r\n {{ notice }}\r\n
\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!./HomeLayout.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!./HomeLayout.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./HomeLayout.vue?vue&type=template&id=6226f870&scoped=true\"\nimport script from \"./HomeLayout.vue?vue&type=script&lang=js\"\nexport * from \"./HomeLayout.vue?vue&type=script&lang=js\"\nimport style0 from \"./HomeLayout.vue?vue&type=style&index=0&id=6226f870&prod&scoped=true&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 \"6226f870\",\n null\n \n)\n\nexport default component.exports","\r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n\r\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=c53f5724&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=c53f5724&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 \"c53f5724\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_l","products","product","key","id","attrs","directives","name","rawName","value","headimg","expression","title","_v","_s","price","market_price","_e","sales","sales_number","staticStyle","length","staticRenderFns","props","type","Array","default","methods","component","topBanner","tagList","prouctList","list","item","util","showImg","image","head_img","$store","getters","isUserLogin","getUserInfo","avatar","notice","data","mounted","post","then","res","console","log","components","HomeLayout","ProductList","newProducts","originalPrice","categoryId","created","getTopBanner","getTags","getProductList","type_id","position","pid","map","i","tag_id","offset","limit"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/828.630aafc0.js.map b/dist/js/828.630aafc0.js.map
deleted file mode 100644
index 5c2de57..0000000
--- a/dist/js/828.630aafc0.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"js/828.630aafc0.js","mappings":"uJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgBJ,EAAIK,GAAIL,EAAIM,SAAU,SAASC,GAAS,OAAOL,EAAG,cAAc,CAACM,IAAID,EAAQE,GAAGL,YAAY,eAAeM,MAAM,CAAC,GAAK,WAAWH,EAAQE,OAAO,CAACP,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACS,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOP,EAAQQ,QAASC,WAAW,oBAAoBZ,YAAY,cAAcM,MAAM,CAAC,IAAMH,EAAQU,WAAWf,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAA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Q,MAAA,IACA4B,cAAA,IACAC,MAAA,0CACA1B,MAAA,IACA2B,WAAA,GAEA,CACAzC,GAAA,GACAG,KAAA,MACAQ,MAAA,IACA4B,cAAA,IACAC,MAAA,0CACA1B,MAAA,IACA2B,WAAA,IAIA,EACAC,SAAA,KACAC,EAAAA,EAAAA,IAAA,mBACAjB,UAAAA,GACA,YAAAkB,aACA,GAEAC,OAAAA,GACA,KAAAC,iBACA,EACAvB,QAAA,KACAwB,EAAAA,EAAAA,IAAA,uBCnOmP,I,UCQ/OvB,GAAY,OACd,EACAlC,EACA4B,GACA,EACA,KACA,WACA,MAIF,EAAeM,E","sources":["webpack://shiweisuzhou/./src/components/product/ProductList.vue","webpack://shiweisuzhou/src/components/product/ProductList.vue","webpack://shiweisuzhou/./src/components/product/ProductList.vue?43ae","webpack://shiweisuzhou/./src/components/product/ProductList.vue?0bfb","webpack://shiweisuzhou/./src/views/Home.vue","webpack://shiweisuzhou/src/views/Home.vue","webpack://shiweisuzhou/./src/views/Home.vue?a787","webpack://shiweisuzhou/./src/views/Home.vue?8611"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-list\"},[_c('div',{staticClass:\"product-grid\"},_vm._l((_vm.products),function(product){return _c('router-link',{key:product.id,staticClass:\"product-card\",attrs:{\"to\":`/Detail/${product.id}`}},[_c('div',{staticClass:\"product-img\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(product.headimg),expression:\"product.headimg\"}],staticClass:\"product-pic\",attrs:{\"alt\":product.title}})]),_c('div',{staticClass:\"product-info\"},[_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"product-price\"},[_c('span',{staticClass:\"current-price\"},[_vm._v(\"¥\"+_vm._s(product.price / 100))]),(product.market_price)?_c('span',{staticClass:\"original-price\"},[_vm._v(\"¥\"+_vm._s(product.market_price / 100))]):_vm._e()]),(product.sales)?_c('div',{staticClass:\"product-sales\"},[_c('span',[_vm._v(\"已售 \"+_vm._s(product.sales_number)+\" 件\")])]):_vm._e()]),_c('h3',{staticClass:\"product-name\"},[_c('router-link',{attrs:{\"to\":`/Detail/${product.id}`}},[_vm._v(\" \"+_vm._s(product.title)+\" \")])],1),_c('div',{staticClass:\"product-actions\"},[_c('el-button',{staticStyle:{\"background-color\":\"#6a8a27\",\"border\":\"none\"},attrs:{\"type\":\"primary\",\"size\":\"small\"}},[_c('el-icon',{attrs:{\"name\":\"el-icon-shopping-cart\"}}),_vm._v(\" 立即购买 \")],1)],1)])])}),1),(_vm.products.length === 0)?_c('div',{staticClass:\"no-products\"},[_c('el-empty',{attrs:{\"description\":\"暂无相关商品\"}})],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n
\n
\n \n
![]()
\n
\n \n
\n
\n ¥{{ product.price / 100 }}\n ¥{{ product.market_price / 100 }}\n
\n
\n 已售 {{ product.sales_number }} 件\n
\n
\n
\n \n {{ product.title }}\n \n
\n
\n \n 立即购买\n \n
\n
\n \n
\n\n \n
\n \n
\n
\n\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!./ProductList.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!./ProductList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductList.vue?vue&type=template&id=0968dad7&scoped=true\"\nimport script from \"./ProductList.vue?vue&type=script&lang=js\"\nexport * from \"./ProductList.vue?vue&type=script&lang=js\"\nimport style0 from \"./ProductList.vue?vue&type=style&index=0&id=0968dad7&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 \"0968dad7\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"home-page\"},[_c('el-carousel',{staticClass:\"home-carousel\",attrs:{\"height\":\"500px\",\"indicator-position\":\"outside\"}},_vm._l((4),function(item){return _c('el-carousel-item',{key:item},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(`https://picsum.photos/1200/500?random=${item}`),expression:\"`https://picsum.photos/1200/500?random=${item}`\"}],staticClass:\"carousel-img\",attrs:{\"alt\":\"轮播图片\"}})])}),1),_c('div',{staticClass:\"category-nav\"},[_c('h2',{staticClass:\"section-title\"},[_vm._v(\"商品分类\")]),_c('div',{staticClass:\"category-list\"},_vm._l((_vm.categories),function(category){return _c('div',{key:category.id,staticClass:\"category-item\",on:{\"click\":function($event){return _vm.$router.push(`/category/${category.id}`)}}},[_c('el-icon',{staticClass:\"category-icon\",attrs:{\"name\":category.icon}}),_c('span',{staticClass:\"category-name\"},[_vm._v(_vm._s(category.name))])],1)}),0)]),_c('div',{staticClass:\"hot-products\"},[_vm._m(0),_c('ProductList',{attrs:{\"products\":_vm.hotProducts}})],1),_c('div',{staticClass:\"new-products\"},[_vm._m(1),_c('ProductList',{attrs:{\"products\":_vm.newProducts}})],1),_c('div',{staticClass:\"promotion-section\"},[_c('h2',{staticClass:\"section-title\"},[_vm._v(\"限时促销\")]),_c('div',{staticClass:\"promotion-container\"},[_c('div',{staticClass:\"promotion-item\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(`https://picsum.photos/600/300?random=10`),expression:\"`https://picsum.photos/600/300?random=10`\"}],staticClass:\"promotion-img\",attrs:{\"alt\":\"促销活动图片\"}}),_c('div',{staticClass:\"promotion-info\"},[_c('h3',[_vm._v(\"夏季大促\")]),_c('p',[_vm._v(\"全场商品低至5折\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"}},[_vm._v(\"立即抢购\")])],1)]),_c('div',{staticClass:\"promotion-item\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(`https://picsum.photos/600/300?random=11`),expression:\"`https://picsum.photos/600/300?random=11`\"}],staticClass:\"promotion-img\",attrs:{\"alt\":\"促销活动图片\"}}),_c('div',{staticClass:\"promotion-info\"},[_c('h3',[_vm._v(\"新品首发\")]),_c('p',[_vm._v(\"限量发售,先到先得\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"}},[_vm._v(\"立即抢购\")])],1)])])])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"section-header\"},[_c('h2',{staticClass:\"section-title\"},[_vm._v(\"热门商品\")]),_c('a',{staticClass:\"more-link\",attrs:{\"href\":\"#\"}},[_vm._v(\"查看更多 \"),_c('i',{staticClass:\"el-icon-arrow-right\"})])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"section-header\"},[_c('h2',{staticClass:\"section-title\"},[_vm._v(\"新品上市\")]),_c('a',{staticClass:\"more-link\",attrs:{\"href\":\"#\"}},[_vm._v(\"查看更多 \"),_c('i',{staticClass:\"el-icon-arrow-right\"})])])\n}]\n\nexport { render, staticRenderFns }","\n \n \n
\n \n
\n \n \n\n \n
\n
商品分类
\n
\n
\n \n {{ category.name }}\n
\n
\n
\n\n \n
\n\n \n
\n\n \n
\n
\n\n\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!./Home.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!./Home.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=34d6a3aa&scoped=true\"\nimport script from \"./Home.vue?vue&type=script&lang=js\"\nexport * from \"./Home.vue?vue&type=script&lang=js\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=34d6a3aa&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 \"34d6a3aa\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_l","products","product","key","id","attrs","directives","name","rawName","value","headimg","expression","title","_v","_s","price","market_price","_e","sales","sales_number","staticStyle","length","staticRenderFns","props","type","Array","default","methods","component","item","categories","category","on","$event","$router","push","icon","_m","hotProducts","newProducts","components","ProductList","data","originalPrice","image","categoryId","computed","mapGetters","getCategories","created","fetchCategories","mapActions"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/828.630aafc0.js b/dist/js/828.deb87761.js
similarity index 95%
rename from dist/js/828.630aafc0.js
rename to dist/js/828.deb87761.js
index 863ca31..cda7dab 100644
--- a/dist/js/828.630aafc0.js
+++ b/dist/js/828.deb87761.js
@@ -1,2 +1,2 @@
-"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[828],{2988:function(t,s,i){i.d(s,{A:function(){return l}});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"product-list"},[s("div",{staticClass:"product-grid"},t._l(t.products,function(i){return s("router-link",{key:i.id,staticClass:"product-card",attrs:{to:`/Detail/${i.id}`}},[s("div",{staticClass:"product-img"},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:i.headimg,expression:"product.headimg"}],staticClass:"product-pic",attrs:{alt:i.title}})]),s("div",{staticClass:"product-info"},[s("div",{staticClass:"flex-between"},[s("div",{staticClass:"product-price"},[s("span",{staticClass:"current-price"},[t._v("¥"+t._s(i.price/100))]),i.market_price?s("span",{staticClass:"original-price"},[t._v("¥"+t._s(i.market_price/100))]):t._e()]),i.sales?s("div",{staticClass:"product-sales"},[s("span",[t._v("已售 "+t._s(i.sales_number)+" 件")])]):t._e()]),s("h3",{staticClass:"product-name"},[s("router-link",{attrs:{to:`/Detail/${i.id}`}},[t._v(" "+t._s(i.title)+" ")])],1),s("div",{staticClass:"product-actions"},[s("el-button",{staticStyle:{"background-color":"#6a8a27",border:"none"},attrs:{type:"primary",size:"small"}},[s("el-icon",{attrs:{name:"el-icon-shopping-cart"}}),t._v(" 立即购买 ")],1)],1)])])}),1),0===t.products.length?s("div",{staticClass:"no-products"},[s("el-empty",{attrs:{description:"暂无相关商品"}})],1):t._e()])},e=[],r={name:"ProductList",props:{products:{type:Array,default:()=>[]}},methods:{}},o=r,c=i(1656),n=(0,c.A)(o,a,e,!1,null,"0968dad7",null),l=n.exports},9828:function(t,s,i){i.r(s),i.d(s,{default:function(){return d}});i(4114);var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"home-page"},[s("el-carousel",{staticClass:"home-carousel",attrs:{height:"500px","indicator-position":"outside"}},t._l(4,function(t){return s("el-carousel-item",{key:t},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:`https://picsum.photos/1200/500?random=${t}`,expression:"`https://picsum.photos/1200/500?random=${item}`"}],staticClass:"carousel-img",attrs:{alt:"轮播图片"}})])}),1),s("div",{staticClass:"category-nav"},[s("h2",{staticClass:"section-title"},[t._v("商品分类")]),s("div",{staticClass:"category-list"},t._l(t.categories,function(i){return s("div",{key:i.id,staticClass:"category-item",on:{click:function(s){return t.$router.push(`/category/${i.id}`)}}},[s("el-icon",{staticClass:"category-icon",attrs:{name:i.icon}}),s("span",{staticClass:"category-name"},[t._v(t._s(i.name))])],1)}),0)]),s("div",{staticClass:"hot-products"},[t._m(0),s("ProductList",{attrs:{products:t.hotProducts}})],1),s("div",{staticClass:"new-products"},[t._m(1),s("ProductList",{attrs:{products:t.newProducts}})],1),s("div",{staticClass:"promotion-section"},[s("h2",{staticClass:"section-title"},[t._v("限时促销")]),s("div",{staticClass:"promotion-container"},[s("div",{staticClass:"promotion-item"},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:"https://picsum.photos/600/300?random=10",expression:"`https://picsum.photos/600/300?random=10`"}],staticClass:"promotion-img",attrs:{alt:"促销活动图片"}}),s("div",{staticClass:"promotion-info"},[s("h3",[t._v("夏季大促")]),s("p",[t._v("全场商品低至5折")]),s("el-button",{attrs:{type:"primary",size:"medium"}},[t._v("立即抢购")])],1)]),s("div",{staticClass:"promotion-item"},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:"https://picsum.photos/600/300?random=11",expression:"`https://picsum.photos/600/300?random=11`"}],staticClass:"promotion-img",attrs:{alt:"促销活动图片"}}),s("div",{staticClass:"promotion-info"},[s("h3",[t._v("新品首发")]),s("p",[t._v("限量发售,先到先得")]),s("el-button",{attrs:{type:"primary",size:"medium"}},[t._v("立即抢购")])],1)])])])],1)},e=[function(){var t=this,s=t._self._c;return s("div",{staticClass:"section-header"},[s("h2",{staticClass:"section-title"},[t._v("热门商品")]),s("a",{staticClass:"more-link",attrs:{href:"#"}},[t._v("查看更多 "),s("i",{staticClass:"el-icon-arrow-right"})])])},function(){var t=this,s=t._self._c;return s("div",{staticClass:"section-header"},[s("h2",{staticClass:"section-title"},[t._v("新品上市")]),s("a",{staticClass:"more-link",attrs:{href:"#"}},[t._v("查看更多 "),s("i",{staticClass:"el-icon-arrow-right"})])])}],r=i(3518),o=i(2988),c={name:"Home",components:{ProductList:o.A},data(){return{hotProducts:[{id:1,name:"超薄笔记本电脑",price:5999,originalPrice:6999,image:"https://picsum.photos/300/300?random=1",sales:1254,categoryId:1},{id:2,name:"智能手表",price:1599,originalPrice:1799,image:"https://picsum.photos/300/300?random=2",sales:856,categoryId:1},{id:3,name:"纯棉T恤",price:99,originalPrice:199,image:"https://picsum.photos/300/300?random=3",sales:2356,categoryId:2},{id:4,name:"休闲牛仔裤",price:199,originalPrice:399,image:"https://picsum.photos/300/300?random=4",sales:1890,categoryId:2},{id:5,name:"舒适沙发",price:2999,originalPrice:3999,image:"https://picsum.photos/300/300?random=5",sales:324,categoryId:3},{id:6,name:"智能扫地机器人",price:1899,originalPrice:2299,image:"https://picsum.photos/300/300?random=6",sales:754,categoryId:3}],newProducts:[{id:7,name:"高清投影仪",price:3299,originalPrice:3699,image:"https://picsum.photos/300/300?random=7",sales:156,categoryId:1},{id:8,name:"保湿面霜",price:299,originalPrice:359,image:"https://picsum.photos/300/300?random=8",sales:423,categoryId:4},{id:9,name:"有机水果礼盒",price:159,originalPrice:199,image:"https://picsum.photos/300/300?random=9",sales:287,categoryId:5},{id:10,name:"经典文学名著",price:129,originalPrice:199,image:"https://picsum.photos/300/300?random=10",sales:342,categoryId:6},{id:11,name:"无线蓝牙耳机",price:799,originalPrice:999,image:"https://picsum.photos/300/300?random=11",sales:567,categoryId:1},{id:12,name:"运动鞋",price:499,originalPrice:699,image:"https://picsum.photos/300/300?random=12",sales:432,categoryId:2}]}},computed:{...(0,r.L8)(["getCategories"]),categories(){return this.getCategories}},created(){this.fetchCategories()},methods:{...(0,r.i0)(["fetchCategories"])}},n=c,l=i(1656),p=(0,l.A)(n,a,e,!1,null,"34d6a3aa",null),d=p.exports}}]);
-//# sourceMappingURL=828.630aafc0.js.map
\ No newline at end of file
+"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[828],{5457:function(t,s,i){i.d(s,{A:function(){return l}});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"product-list"},[s("div",{staticClass:"product-grid"},t._l(t.products,function(i){return s("router-link",{key:i.id,staticClass:"product-card",attrs:{to:`/Detail/${i.id}`}},[s("div",{staticClass:"product-img"},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:i.headimg,expression:"product.headimg"}],staticClass:"product-pic",attrs:{alt:i.title}})]),s("div",{staticClass:"product-info"},[s("div",{staticClass:"flex-between"},[s("div",{staticClass:"product-price"},[s("span",{staticClass:"current-price"},[t._v("¥"+t._s(i.price/100))]),i.market_price?s("span",{staticClass:"original-price"},[t._v("¥"+t._s(i.market_price/100))]):t._e()]),i.sales?s("div",{staticClass:"product-sales"},[s("span",[t._v("已售 "+t._s(i.sales_number)+" 件")])]):t._e()]),s("h3",{staticClass:"product-name"},[s("router-link",{attrs:{to:`/Detail/${i.id}`}},[t._v(" "+t._s(i.title)+" ")])],1),s("div",{staticClass:"product-actions"},[s("el-button",{staticStyle:{"background-color":"#6a8a27",border:"none"},attrs:{type:"primary",size:"small"}},[s("el-icon",{attrs:{name:"el-icon-shopping-cart"}}),t._v(" 立即购买 ")],1)],1)])])}),1),0===t.products.length?s("div",{staticClass:"no-products"},[s("el-empty",{attrs:{description:"暂无相关商品"}})],1):t._e()])},e=[],r={name:"ProductList",props:{products:{type:Array,default:()=>[]}},methods:{}},o=r,c=i(1656),n=(0,c.A)(o,a,e,!1,null,"71ee3626",null),l=n.exports},9828:function(t,s,i){i.r(s),i.d(s,{default:function(){return d}});i(4114);var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"home-page"},[s("el-carousel",{staticClass:"home-carousel",attrs:{height:"500px","indicator-position":"outside"}},t._l(4,function(t){return s("el-carousel-item",{key:t},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:`https://picsum.photos/1200/500?random=${t}`,expression:"`https://picsum.photos/1200/500?random=${item}`"}],staticClass:"carousel-img",attrs:{alt:"轮播图片"}})])}),1),s("div",{staticClass:"category-nav"},[s("h2",{staticClass:"section-title"},[t._v("商品分类")]),s("div",{staticClass:"category-list"},t._l(t.categories,function(i){return s("div",{key:i.id,staticClass:"category-item",on:{click:function(s){return t.$router.push(`/category/${i.id}`)}}},[s("el-icon",{staticClass:"category-icon",attrs:{name:i.icon}}),s("span",{staticClass:"category-name"},[t._v(t._s(i.name))])],1)}),0)]),s("div",{staticClass:"hot-products"},[t._m(0),s("ProductList",{attrs:{products:t.hotProducts}})],1),s("div",{staticClass:"new-products"},[t._m(1),s("ProductList",{attrs:{products:t.newProducts}})],1),s("div",{staticClass:"promotion-section"},[s("h2",{staticClass:"section-title"},[t._v("限时促销")]),s("div",{staticClass:"promotion-container"},[s("div",{staticClass:"promotion-item"},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:"https://picsum.photos/600/300?random=10",expression:"`https://picsum.photos/600/300?random=10`"}],staticClass:"promotion-img",attrs:{alt:"促销活动图片"}}),s("div",{staticClass:"promotion-info"},[s("h3",[t._v("夏季大促")]),s("p",[t._v("全场商品低至5折")]),s("el-button",{attrs:{type:"primary",size:"medium"}},[t._v("立即抢购")])],1)]),s("div",{staticClass:"promotion-item"},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:"https://picsum.photos/600/300?random=11",expression:"`https://picsum.photos/600/300?random=11`"}],staticClass:"promotion-img",attrs:{alt:"促销活动图片"}}),s("div",{staticClass:"promotion-info"},[s("h3",[t._v("新品首发")]),s("p",[t._v("限量发售,先到先得")]),s("el-button",{attrs:{type:"primary",size:"medium"}},[t._v("立即抢购")])],1)])])])],1)},e=[function(){var t=this,s=t._self._c;return s("div",{staticClass:"section-header"},[s("h2",{staticClass:"section-title"},[t._v("热门商品")]),s("a",{staticClass:"more-link",attrs:{href:"#"}},[t._v("查看更多 "),s("i",{staticClass:"el-icon-arrow-right"})])])},function(){var t=this,s=t._self._c;return s("div",{staticClass:"section-header"},[s("h2",{staticClass:"section-title"},[t._v("新品上市")]),s("a",{staticClass:"more-link",attrs:{href:"#"}},[t._v("查看更多 "),s("i",{staticClass:"el-icon-arrow-right"})])])}],r=i(3518),o=i(5457),c={name:"Home",components:{ProductList:o.A},data(){return{hotProducts:[{id:1,name:"超薄笔记本电脑",price:5999,originalPrice:6999,image:"https://picsum.photos/300/300?random=1",sales:1254,categoryId:1},{id:2,name:"智能手表",price:1599,originalPrice:1799,image:"https://picsum.photos/300/300?random=2",sales:856,categoryId:1},{id:3,name:"纯棉T恤",price:99,originalPrice:199,image:"https://picsum.photos/300/300?random=3",sales:2356,categoryId:2},{id:4,name:"休闲牛仔裤",price:199,originalPrice:399,image:"https://picsum.photos/300/300?random=4",sales:1890,categoryId:2},{id:5,name:"舒适沙发",price:2999,originalPrice:3999,image:"https://picsum.photos/300/300?random=5",sales:324,categoryId:3},{id:6,name:"智能扫地机器人",price:1899,originalPrice:2299,image:"https://picsum.photos/300/300?random=6",sales:754,categoryId:3}],newProducts:[{id:7,name:"高清投影仪",price:3299,originalPrice:3699,image:"https://picsum.photos/300/300?random=7",sales:156,categoryId:1},{id:8,name:"保湿面霜",price:299,originalPrice:359,image:"https://picsum.photos/300/300?random=8",sales:423,categoryId:4},{id:9,name:"有机水果礼盒",price:159,originalPrice:199,image:"https://picsum.photos/300/300?random=9",sales:287,categoryId:5},{id:10,name:"经典文学名著",price:129,originalPrice:199,image:"https://picsum.photos/300/300?random=10",sales:342,categoryId:6},{id:11,name:"无线蓝牙耳机",price:799,originalPrice:999,image:"https://picsum.photos/300/300?random=11",sales:567,categoryId:1},{id:12,name:"运动鞋",price:499,originalPrice:699,image:"https://picsum.photos/300/300?random=12",sales:432,categoryId:2}]}},computed:{...(0,r.L8)(["getCategories"]),categories(){return this.getCategories}},created(){this.fetchCategories()},methods:{...(0,r.i0)(["fetchCategories"])}},n=c,l=i(1656),p=(0,l.A)(n,a,e,!1,null,"34d6a3aa",null),d=p.exports}}]);
+//# sourceMappingURL=828.deb87761.js.map
\ No newline at end of file
diff --git a/dist/js/828.deb87761.js.map b/dist/js/828.deb87761.js.map
new file mode 100644
index 0000000..8ad9f1c
--- /dev/null
+++ b/dist/js/828.deb87761.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"js/828.deb87761.js","mappings":"uJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgBJ,EAAIK,GAAIL,EAAIM,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ACAG,KAAA,QACAQ,MAAA,KACA4B,cAAA,KACAC,MAAA,yCACA1B,MAAA,IACA2B,WAAA,GAEA,CACAzC,GAAA,EACAG,KAAA,OACAQ,MAAA,IACA4B,cAAA,IACAC,MAAA,yCACA1B,MAAA,IACA2B,WAAA,GAEA,CACAzC,GAAA,EACAG,KAAA,SACAQ,MAAA,IACA4B,cAAA,IACAC,MAAA,yCACA1B,MAAA,IACA2B,WAAA,GAEA,CACAzC,GAAA,GACAG,KAAA,SACAQ,MAAA,IACA4B,cAAA,IACAC,MAAA,0CACA1B,MAAA,IACA2B,WAAA,GAEA,CACAzC,GAAA,GACAG,KAAA,SACAQ,MAAA,IACA4B,cAAA,IACAC,MAAA,0CACA1B,MAAA,IACA2B,WAAA,GAEA,CACAzC,GAAA,GACAG,KAAA,MACAQ,MAAA,IACA4B,cAAA,IACAC,MAAA,0CACA1B,MAAA,IACA2B,WAAA,IAIA,EACAC,SAAA,KACAC,EAAAA,EAAAA,IAAA,mBACAjB,UAAAA,GACA,YAAAkB,aACA,GAEAC,OAAAA,GACA,KAAAC,iBACA,EACAvB,QAAA,KACAwB,EAAAA,EAAAA,IAAA,uBCnOmP,I,UCQ/OvB,GAAY,OACd,EACAlC,EACA4B,GACA,EACA,KACA,WACA,MAIF,EAAeM,E","sources":["webpack://shiweisuzhou/./src/components/product/ProductList.vue","webpack://shiweisuzhou/src/components/product/ProductList.vue","webpack://shiweisuzhou/./src/components/product/ProductList.vue?43ae","webpack://shiweisuzhou/./src/components/product/ProductList.vue?0bfb","webpack://shiweisuzhou/./src/views/Home.vue","webpack://shiweisuzhou/src/views/Home.vue","webpack://shiweisuzhou/./src/views/Home.vue?a787","webpack://shiweisuzhou/./src/views/Home.vue?8611"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-list\"},[_c('div',{staticClass:\"product-grid\"},_vm._l((_vm.products),function(product){return _c('router-link',{key:product.id,staticClass:\"product-card\",attrs:{\"to\":`/Detail/${product.id}`}},[_c('div',{staticClass:\"product-img\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(product.headimg),expression:\"product.headimg\"}],staticClass:\"product-pic\",attrs:{\"alt\":product.title}})]),_c('div',{staticClass:\"product-info\"},[_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"product-price\"},[_c('span',{staticClass:\"current-price\"},[_vm._v(\"¥\"+_vm._s(product.price / 100))]),(product.market_price)?_c('span',{staticClass:\"original-price\"},[_vm._v(\"¥\"+_vm._s(product.market_price / 100))]):_vm._e()]),(product.sales)?_c('div',{staticClass:\"product-sales\"},[_c('span',[_vm._v(\"已售 \"+_vm._s(product.sales_number)+\" 件\")])]):_vm._e()]),_c('h3',{staticClass:\"product-name\"},[_c('router-link',{attrs:{\"to\":`/Detail/${product.id}`}},[_vm._v(\" \"+_vm._s(product.title)+\" \")])],1),_c('div',{staticClass:\"product-actions\"},[_c('el-button',{staticStyle:{\"background-color\":\"#6a8a27\",\"border\":\"none\"},attrs:{\"type\":\"primary\",\"size\":\"small\"}},[_c('el-icon',{attrs:{\"name\":\"el-icon-shopping-cart\"}}),_vm._v(\" 立即购买 \")],1)],1)])])}),1),(_vm.products.length === 0)?_c('div',{staticClass:\"no-products\"},[_c('el-empty',{attrs:{\"description\":\"暂无相关商品\"}})],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n
\n
\n \n
![]()
\n
\n \n
\n
\n ¥{{ product.price / 100 }}\n ¥{{ product.market_price / 100 }}\n
\n
\n 已售 {{ product.sales_number }} 件\n
\n
\n
\n \n {{ product.title }}\n \n
\n
\n \n 立即购买\n \n
\n
\n \n
\n\n \n
\n \n
\n
\n\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!./ProductList.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!./ProductList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductList.vue?vue&type=template&id=71ee3626&scoped=true\"\nimport script from \"./ProductList.vue?vue&type=script&lang=js\"\nexport * from \"./ProductList.vue?vue&type=script&lang=js\"\nimport style0 from \"./ProductList.vue?vue&type=style&index=0&id=71ee3626&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 \"71ee3626\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"home-page\"},[_c('el-carousel',{staticClass:\"home-carousel\",attrs:{\"height\":\"500px\",\"indicator-position\":\"outside\"}},_vm._l((4),function(item){return _c('el-carousel-item',{key:item},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(`https://picsum.photos/1200/500?random=${item}`),expression:\"`https://picsum.photos/1200/500?random=${item}`\"}],staticClass:\"carousel-img\",attrs:{\"alt\":\"轮播图片\"}})])}),1),_c('div',{staticClass:\"category-nav\"},[_c('h2',{staticClass:\"section-title\"},[_vm._v(\"商品分类\")]),_c('div',{staticClass:\"category-list\"},_vm._l((_vm.categories),function(category){return _c('div',{key:category.id,staticClass:\"category-item\",on:{\"click\":function($event){return _vm.$router.push(`/category/${category.id}`)}}},[_c('el-icon',{staticClass:\"category-icon\",attrs:{\"name\":category.icon}}),_c('span',{staticClass:\"category-name\"},[_vm._v(_vm._s(category.name))])],1)}),0)]),_c('div',{staticClass:\"hot-products\"},[_vm._m(0),_c('ProductList',{attrs:{\"products\":_vm.hotProducts}})],1),_c('div',{staticClass:\"new-products\"},[_vm._m(1),_c('ProductList',{attrs:{\"products\":_vm.newProducts}})],1),_c('div',{staticClass:\"promotion-section\"},[_c('h2',{staticClass:\"section-title\"},[_vm._v(\"限时促销\")]),_c('div',{staticClass:\"promotion-container\"},[_c('div',{staticClass:\"promotion-item\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(`https://picsum.photos/600/300?random=10`),expression:\"`https://picsum.photos/600/300?random=10`\"}],staticClass:\"promotion-img\",attrs:{\"alt\":\"促销活动图片\"}}),_c('div',{staticClass:\"promotion-info\"},[_c('h3',[_vm._v(\"夏季大促\")]),_c('p',[_vm._v(\"全场商品低至5折\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"}},[_vm._v(\"立即抢购\")])],1)]),_c('div',{staticClass:\"promotion-item\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(`https://picsum.photos/600/300?random=11`),expression:\"`https://picsum.photos/600/300?random=11`\"}],staticClass:\"promotion-img\",attrs:{\"alt\":\"促销活动图片\"}}),_c('div',{staticClass:\"promotion-info\"},[_c('h3',[_vm._v(\"新品首发\")]),_c('p',[_vm._v(\"限量发售,先到先得\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"}},[_vm._v(\"立即抢购\")])],1)])])])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"section-header\"},[_c('h2',{staticClass:\"section-title\"},[_vm._v(\"热门商品\")]),_c('a',{staticClass:\"more-link\",attrs:{\"href\":\"#\"}},[_vm._v(\"查看更多 \"),_c('i',{staticClass:\"el-icon-arrow-right\"})])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"section-header\"},[_c('h2',{staticClass:\"section-title\"},[_vm._v(\"新品上市\")]),_c('a',{staticClass:\"more-link\",attrs:{\"href\":\"#\"}},[_vm._v(\"查看更多 \"),_c('i',{staticClass:\"el-icon-arrow-right\"})])])\n}]\n\nexport { render, staticRenderFns }","\n \n \n
\n \n
\n \n \n\n \n
\n
商品分类
\n
\n
\n \n {{ category.name }}\n
\n
\n
\n\n \n
\n\n \n
\n\n \n
\n
\n\n\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!./Home.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!./Home.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=34d6a3aa&scoped=true\"\nimport script from \"./Home.vue?vue&type=script&lang=js\"\nexport * from \"./Home.vue?vue&type=script&lang=js\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=34d6a3aa&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 \"34d6a3aa\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_l","products","product","key","id","attrs","directives","name","rawName","value","headimg","expression","title","_v","_s","price","market_price","_e","sales","sales_number","staticStyle","length","staticRenderFns","props","type","Array","default","methods","component","item","categories","category","on","$event","$router","push","icon","_m","hotProducts","newProducts","components","ProductList","data","originalPrice","image","categoryId","computed","mapGetters","getCategories","created","fetchCategories","mapActions"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/839.168e7d6e.js b/dist/js/839.168e7d6e.js
new file mode 100644
index 0000000..054d1c6
--- /dev/null
+++ b/dist/js/839.168e7d6e.js
@@ -0,0 +1,2 @@
+"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[839],{4839:function(t,e,r){r.r(e),r.d(e,{default:function(){return c}});var i=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,r){return e("el-option",{key:r,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(r){return e("div",{key:r.id,staticClass:"order-card"},[e("div",{staticClass:"order-header flex-between"},[e("div",{staticStyle:{display:"flex"}},[e("div",[t._v("订单号: "+t._s(r.order_id))]),e("div",{staticStyle:{"padding-left":"60px"}},[t._v(" 下单时间:"+t._s(r.create_time)+" ")])]),e("div",{staticClass:"product-status"},[e("el-tag",{attrs:{type:t.getStatusTagType(r.state),size:"small"}},[t._v(t._s(r.state_text))])],1)]),e("div",{staticClass:"order-products"},t._l(r.order_product_list,function(r){return e("div",{key:r.id,staticClass:"product-item"},[e("img",{staticClass:"product-image",attrs:{src:r.product_img}}),e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v(t._s(r.product_title))]),e("div",{staticClass:"product-spec"},[t._v(t._s(r.sku_name))])]),e("div",{staticClass:"product-price"},[t._v(" ¥"+t._s((r.product_price/100).toFixed(2))+" ")]),e("div",{staticClass:"product-quantity"},[t._v("x"+t._s(r.product_num))]),e("div",{staticClass:"product-total"},[t._v(" ¥"+t._s((r.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(r)}}},[t._v(" 商品详情")]),"WAIT_COMMENT"==r.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoReview(r)}}},[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((r.paid_money/100).toFixed(2)))]),t._v(" (含运费 ¥"+t._s((r.total_post_fee/100).toFixed(2))+") ")])])])])}),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=(r(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:"WAIT_COMMENT"},{name:"已评价",id:"COMPLETED"}],orders:[]}},computed:{},mounted(){this.filterForm.state="WAIT_COMMENT",this.getList()},methods:{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=r(1656),d=(0,l.A)(o,i,s,!1,null,"d39f5dce",null),c=d.exports}}]);
+//# sourceMappingURL=839.168e7d6e.js.map
\ No newline at end of file
diff --git a/dist/js/839.168e7d6e.js.map b/dist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,GACA,MAAAO,EAAA,CACAL,eAAA,UACAC,gBAAA,OACAC,WAAA,UACAC,UAAA,UACAC,UAAA,UAEA,OAAAC,EAAAP,IAAA,SACA,EAGAQ,QAAAA,CAAAC,GACA,KAAAC,SAAA,CACAC,QAAA,MAAAF,QACAG,KAAA,QAEA,EAGAC,cAAAA,CAAAJ,GACA,KAAAC,SAAA,CACAC,QAAA,SAAAF,OACAG,KAAA,WAEA,EAGAE,cAAAA,CAAAL,GACA,KAAAC,SAAA,CACAC,QAAA,QAAAF,OACAG,KAAA,QAEA,EAGAxC,UAAAA,CAAAV,GACA,KAAA4B,QAAAC,KAAA,0BAAAwB,KAAAC,UAAAtD,GACA,EAGAuD,eAAAA,CAAAR,GACA,KAAAnB,QAAAC,KAAA,CACA2B,KAAA,mBAAAT,GAEA,KCpVqQ,I,UCQjQU,GAAY,OACd,EACA/F,EACAyD,GACA,EACA,KACA,WACA,MAIF,EAAesC,E","sources":["webpack://shiweisuzhou/./src/views/User/CommentManage.vue","webpack://shiweisuzhou/src/views/User/CommentManage.vue","webpack://shiweisuzhou/./src/views/User/CommentManage.vue?cd48","webpack://shiweisuzhou/./src/views/User/CommentManage.vue?0d4f"],"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))+\") \")])])])])}),(_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 \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 搜索\r\n \r\n \r\n 重置\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
单价(元)
\r\n
数量
\r\n
小计(元)
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
![]()
\r\n
\r\n
{{ product.product_title }}
\r\n
{{ product.sku_name }}
\r\n
\r\n
\r\n ¥{{ (product.product_price / 100).toFixed(2) }}\r\n
\r\n
x{{ product.product_num }}
\r\n
\r\n ¥{{ (product.paid_money / 100).toFixed(2) }}\r\n
\r\n\r\n
\r\n \r\n 商品详情\r\n \r\n 去评价\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\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!./CommentManage.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!./CommentManage.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CommentManage.vue?vue&type=template&id=d39f5dce&scoped=true\"\nimport script from \"./CommentManage.vue?vue&type=script&lang=js\"\nexport * from \"./CommentManage.vue?vue&type=script&lang=js\"\nimport style0 from \"./CommentManage.vue?vue&type=style&index=0&id=d39f5dce&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 \"d39f5dce\",\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","length","currentPage","limit","total","handleSizeChange","handleCurrentChange","staticRenderFns","data","activeTab","start_date","end_date","computed","mounted","getList","methods","$router","push","product_id","post","offset","then","res","list","val","getStatusText","status","statusMap","pendingPayment","pendingDelivery","delivering","completed","cancelled","typeMap","payOrder","orderId","$message","message","type","remindDelivery","checkLogistics","JSON","stringify","viewOrderDetail","path","component"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/856.74bafc60.js b/dist/js/856.74bafc60.js
new file mode 100644
index 0000000..a82275d
--- /dev/null
+++ b/dist/js/856.74bafc60.js
@@ -0,0 +1,2 @@
+"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[856],{856:function(e,t,r){r.r(t),r.d(t,{default:function(){return c}});var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"review-container"},[t("el-page-header",{staticClass:"page-header",attrs:{content:"产品评价"},on:{back:e.handleBack}}),t("el-card",{staticClass:"product-card",attrs:{shadow:"hover"}},[t("div",{staticClass:"product-info"},[t("el-image",{staticClass:"product-image",attrs:{src:e.product.product_img,alt:"产品图片",fit:"cover"}}),t("div",{staticClass:"product-details"},[t("h3",{staticClass:"product-title"},[e._v(e._s(e.product.product_title))]),t("p",{staticClass:"product-desc"},[e._v(e._s(e.productDesc))]),t("div",{staticClass:"product-price"},[e._v("¥"+e._s(e.product.product_price/100))])])],1)]),t("el-card",{staticClass:"review-form-card",attrs:{shadow:"hover"}},[t("el-form",{ref:"reviewForm",staticClass:"review-form",attrs:{model:e.reviewForm,rules:e.reviewRules,"label-width":"100px"}},[t("el-form-item",{attrs:{label:"产品评分",prop:"rate"}},[t("div",{staticClass:"rating-stars"},e._l(5,function(r){return t("i",{key:r,staticClass:"el-icon-star-off",class:{active:r<=(e.hoverRating||e.reviewForm.rate)},on:{click:function(t){return e.setRating(r)},mouseover:function(t){e.hoverRating=r},mouseleave:function(t){e.hoverRating=0}}})}),0)]),t("el-form-item",{attrs:{label:"评价商品",prop:"content"}},[t("el-input",{attrs:{type:"textarea",rows:5,placeholder:"请分享您对该产品的使用体验、优缺点等详细评价..."},on:{input:e.handleContentInput},model:{value:e.reviewForm.content,callback:function(t){e.$set(e.reviewForm,"content",t)},expression:"reviewForm.content"}}),t("div",{staticClass:"char-count"},[e._v(e._s(e.contentLength)+"/500")])],1),t("el-form-item",{attrs:{label:"晒图片"}},[t("el-upload",{staticClass:"image-upload",attrs:{action:"#","list-type":"picture-card","on-preview":e.handlePictureCardPreview,"on-remove":e.handleRemove,"before-upload":e.beforeUpload,limit:6,"on-exceed":e.handleExceed,"auto-upload":!1,"on-change":e.handleAvatarChange},model:{value:e.reviewForm.img_list,callback:function(t){e.$set(e.reviewForm,"img_list",t)},expression:"reviewForm.img_list"}},[t("i",{staticClass:"el-icon-plus"})]),t("el-dialog",{attrs:{visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("img",{attrs:{width:"100%",src:e.dialogImageUrl,alt:""}})]),t("div",{staticClass:"upload-tip"},[e._v(" 最多上传6张图片,帮助其他买家更直观了解产品 ")])],1),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm("reviewForm")}}},[e._v("提交评价")]),t("el-button",{on:{click:function(t){return e.resetForm("reviewForm")}}},[e._v("取消")])],1)],1)],1),t("el-alert",{staticClass:"review-alert",attrs:{title:"您的评价将在7个工作日内审核通过后展示,恶意评价将被删除",type:"info","show-icon":""}})],1)},s=[],o=(r(8111),r(1701),{name:"ProductReview",data(){return{product:{},productDesc:"其他买家,需要你的建议哦!",reviewForm:{rate:0,content:"",img_list:[],is_anonymous:!1},hoverRating:0,contentLength:0,dialogImageUrl:"",dialogVisible:!1,imgList:[],reviewRules:{rate:[{required:!0,message:"请给产品评分",trigger:"change"}],content:[{required:!0,message:"请输入评价内容",trigger:"blur"},{min:10,message:"评价内容至少10个字符",trigger:"blur"},{max:500,message:"评价内容最多500个字符",trigger:"blur"}]}}},mounted(){console.log(this.$route.query);let e=JSON.parse(this.$route.query.product)||{};e?this.product=e:(this.$message.error("未获取到商品信息,请重新操作"),this.$router.go(-1)),console.log(this.product)},methods:{handleAvatarChange(e,t){console.log(e,t),this.imgList=t},handleBack(){this.$router.go(-1)},setRating(e){this.reviewForm.rate=e,this.hoverRating=e},getRatingText(e){const t=["","很差","一般","良好","很好","非常好"];return t[e]},handleContentInput(e){this.contentLength=e.length},handleRemove(e,t){console.log(e,t)},handlePictureCardPreview(e,t){this.dialogImageUrl=e.url,this.dialogVisible=!0},handleExceed(e,t){this.$message.warning(`当前限制选择 6 张图片,本次选择了 ${e.length} 张,共选择了 ${e.length+t.length} 张`)},beforeUpload(e){console.log(e);const t="image/jpeg"===e.type||"image/png"===e.type,r=e.size/1024/1024<2;return t||this.$message.error("上传图片只能是 JPG/PNG 格式!"),r||this.$message.error("上传图片大小不能超过 2MB!"),t&&r},submitForm(e){this.$refs[e].validate(e=>{if(!e)return this.$message.error("请完善评价信息"),!1;{this.$loading({lock:!0,text:"处理中...",spinner:"el-icon-loading"});const e=()=>{if(0===this.imgList.length)return Promise.resolve([]);const e=this.imgList.map(e=>this.util.imgToBase64(e.raw).then(e=>this.post({img_base64:e},"/api/pbservice/Other/base64Upload")).then(e=>e.data.url));return Promise.all(e)};e().then(e=>{const t={product_id:this.product.product_id,order_id:this.product.order_id,content:this.reviewForm.content,rate:this.reviewForm.rate,img_list:e.join(","),is_anonymous:this.reviewForm.is_anonymous?1:0,sku_id:this.product.sku_id};return this.post(t,"/api/product/product_comment")}).then(e=>{1==e.code&&(this.$loading().close(),this.$message.success("评价提交成功!"),this.handleBack())}).catch(e=>{this.$loading().close(),this.$message.error("提交失败,请重试"),console.error("提交错误:",e)})}})},resetForm(e){this.$refs[e].resetFields(),this.contentLength=0}}}),a=o,n=r(1656),l=(0,n.A)(a,i,s,!1,null,"64b727d4",null),c=l.exports}}]);
+//# sourceMappingURL=856.74bafc60.js.map
\ No newline at end of file
diff --git a/dist/js/856.74bafc60.js.map b/dist/js/856.74bafc60.js.map
new file mode 100644
index 0000000..5ead0e3
--- /dev/null
+++ b/dist/js/856.74bafc60.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"js/856.74bafc60.js","mappings":"mKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,iBAAiB,CAACE,YAAY,cAAcC,MAAM,CAAC,QAAU,QAAQC,GAAG,CAAC,KAAON,EAAIO,cAAcL,EAAG,UAAU,CAACE,YAAY,eAAeC,MAAM,CAAC,OAAS,UAAU,CAACH,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,WAAW,CAACE,YAAY,gBAAgBC,MAAM,CAAC,IAAML,EAAIQ,QAAQC,YAAY,IAAM,OAAO,IAAM,WAAWP,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACF,EAAG,KAAK,CAACE,YAAY,iBAAiB,CAACJ,EAAIU,GAAGV,EAAIW,GAAGX,EAAIQ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ack://shiweisuzhou/src/views/ProductPage/ProductReview.vue","webpack://shiweisuzhou/./src/views/ProductPage/ProductReview.vue?2aed","webpack://shiweisuzhou/./src/views/ProductPage/ProductReview.vue?076b"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"review-container\"},[_c('el-page-header',{staticClass:\"page-header\",attrs:{\"content\":\"产品评价\"},on:{\"back\":_vm.handleBack}}),_c('el-card',{staticClass:\"product-card\",attrs:{\"shadow\":\"hover\"}},[_c('div',{staticClass:\"product-info\"},[_c('el-image',{staticClass:\"product-image\",attrs:{\"src\":_vm.product.product_img,\"alt\":\"产品图片\",\"fit\":\"cover\"}}),_c('div',{staticClass:\"product-details\"},[_c('h3',{staticClass:\"product-title\"},[_vm._v(_vm._s(_vm.product.product_title))]),_c('p',{staticClass:\"product-desc\"},[_vm._v(_vm._s(_vm.productDesc))]),_c('div',{staticClass:\"product-price\"},[_vm._v(\"¥\"+_vm._s(_vm.product.product_price / 100))])])],1)]),_c('el-card',{staticClass:\"review-form-card\",attrs:{\"shadow\":\"hover\"}},[_c('el-form',{ref:\"reviewForm\",staticClass:\"review-form\",attrs:{\"model\":_vm.reviewForm,\"rules\":_vm.reviewRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"产品评分\",\"prop\":\"rate\"}},[_c('div',{staticClass:\"rating-stars\"},_vm._l((5),function(star){return _c('i',{key:star,staticClass:\"el-icon-star-off\",class:{ active: star <= (_vm.hoverRating || _vm.reviewForm.rate) },on:{\"click\":function($event){return _vm.setRating(star)},\"mouseover\":function($event){_vm.hoverRating = star},\"mouseleave\":function($event){_vm.hoverRating = 0}}})}),0)]),_c('el-form-item',{attrs:{\"label\":\"评价商品\",\"prop\":\"content\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":5,\"placeholder\":\"请分享您对该产品的使用体验、优缺点等详细评价...\"},on:{\"input\":_vm.handleContentInput},model:{value:(_vm.reviewForm.content),callback:function ($$v) {_vm.$set(_vm.reviewForm, \"content\", $$v)},expression:\"reviewForm.content\"}}),_c('div',{staticClass:\"char-count\"},[_vm._v(_vm._s(_vm.contentLength)+\"/500\")])],1),_c('el-form-item',{attrs:{\"label\":\"晒图片\"}},[_c('el-upload',{staticClass:\"image-upload\",attrs:{\"action\":\"#\",\"list-type\":\"picture-card\",\"on-preview\":_vm.handlePictureCardPreview,\"on-remove\":_vm.handleRemove,\"before-upload\":_vm.beforeUpload,\"limit\":6,\"on-exceed\":_vm.handleExceed,\"auto-upload\":false,\"on-change\":_vm.handleAvatarChange},model:{value:(_vm.reviewForm.img_list),callback:function ($$v) {_vm.$set(_vm.reviewForm, \"img_list\", $$v)},expression:\"reviewForm.img_list\"}},[_c('i',{staticClass:\"el-icon-plus\"})]),_c('el-dialog',{attrs:{\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('img',{attrs:{\"width\":\"100%\",\"src\":_vm.dialogImageUrl,\"alt\":\"\"}})]),_c('div',{staticClass:\"upload-tip\"},[_vm._v(\" 最多上传6张图片,帮助其他买家更直观了解产品 \")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.submitForm('reviewForm')}}},[_vm._v(\"提交评价\")]),_c('el-button',{on:{\"click\":function($event){return _vm.resetForm('reviewForm')}}},[_vm._v(\"取消\")])],1)],1)],1),_c('el-alert',{staticClass:\"review-alert\",attrs:{\"title\":\"您的评价将在7个工作日内审核通过后展示,恶意评价将被删除\",\"type\":\"info\",\"show-icon\":\"\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n
{{ product.product_title }}
\r\n
{{ productDesc }}
\r\n
¥{{ product.product_price / 100 }}
\r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n\r\n \r\n \r\n \r\n {{ contentLength }}/500
\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n 最多上传6张图片,帮助其他买家更直观了解产品\r\n
\r\n \r\n\r\n \r\n\r\n \r\n \r\n 提交评价\r\n 取消\r\n \r\n \r\n \r\n\r\n \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!./ProductReview.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!./ProductReview.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductReview.vue?vue&type=template&id=64b727d4&scoped=true\"\nimport script from \"./ProductReview.vue?vue&type=script&lang=js\"\nexport * from \"./ProductReview.vue?vue&type=script&lang=js\"\nimport style0 from \"./ProductReview.vue?vue&type=style&index=0&id=64b727d4&prod&scoped=true&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 \"64b727d4\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","on","handleBack","product","product_img","_v","_s","product_title","productDesc","product_price","ref","reviewForm","reviewRules","_l","star","key","class","active","hoverRating","rate","$event","setRating","handleContentInput","model","value","content","callback","$$v","$set","expression","contentLength","handlePictureCardPreview","handleRemove","beforeUpload","handleExceed","handleAvatarChange","img_list","dialogVisible","dialogImageUrl","submitForm","resetForm","staticRenderFns","name","data","is_anonymous","imgList","required","message","trigger","min","max","mounted","console","log","$route","query","JSON","parse","$message","error","$router","go","methods","file","fileList","getRatingText","ratings","val","length","url","files","warning","isJPG","type","isLt2M","size","formName","$refs","validate","valid","$loading","lock","text","spinner","handleImageUploads","Promise","resolve","uploadPromises","map","util","imgToBase64","raw","then","base64","post","img_base64","res","all","imgUrls","reviewData","product_id","order_id","join","sku_id","code","close","success","catch","resetFields","component"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/906.f111d15e.js b/dist/js/906.f111d15e.js
new file mode 100644
index 0000000..c0e2544
--- /dev/null
+++ b/dist/js/906.f111d15e.js
@@ -0,0 +1,2 @@
+"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
new file mode 100644
index 0000000..a255f0d
--- /dev/null
+++ b/dist/js/906.f111d15e.js.map
@@ -0,0 +1 @@
+{"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,SAAUC,GAAMX,EAAIY,KAAKZ,EAAIM,WAAY,WAAYK,EAAI,EAAEE,WAAW,0BAA0B,GAAGX,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,SAAS,CAACH,EAAG,WAAW,CAACG,MAAM,CAAC,YAAc,WAAWE,MAAM,CAACC,MAAOR,EAAIM,WAAWQ,SAAUJ,SAAS,SAAUC,GAAMX,EAAIY,KAAKZ,EAAIM,WAAY,WAAYK,EAAI,EAAEE,WAAW,0BAA0B,GAAGX,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,SAAS,CAACH,EAAG,iBAAiB,CAACG,MAAM,CAAC,KAAO,YAAY,kBAAkB,IAAI,oBAAoB,OAAO,kBAAkB,OAAO,eAAe,cAAcE,MAAM,CAACC,MAAOR,EAAIM,WAAWS,WAAYL,SAAS,SAAUC,GAAMX,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gD,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 \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 搜索\r\n \r\n \r\n 重置\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
单价(元)
\r\n
数量
\r\n
小计(元)
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
![]()
\r\n
\r\n
{{ product.product_title }}
\r\n
{{ product.sku_name }}
\r\n
\r\n
\r\n ¥{{ (product.product_price / 100).toFixed(2) }}\r\n
\r\n
x{{ product.product_num }}
\r\n
\r\n ¥{{ (product.paid_money / 100).toFixed(2) }}\r\n
\r\n\r\n
\r\n \r\n 商品详情\r\n \r\n 去评价\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\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/926.ffbed7b8.js b/dist/js/926.ffbed7b8.js
deleted file mode 100644
index c9d9a58..0000000
--- a/dist/js/926.ffbed7b8.js
+++ /dev/null
@@ -1,2 +0,0 @@
-"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[926],{926: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("加入购物车")]),i("el-button",{staticClass:"bargain-btn",attrs:{type:"info"}},[t._v("议价")]),i("el-button",{staticClass:"share-btn",attrs:{icon:"el-icon-share",circle:""},on:{click:t.handleShare}})],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"},[i("div",{staticClass:"review-header"},[i("div",{staticClass:"rating-box"},[i("div",{staticClass:"rating-score"},[t._v(t._s(t.averageScore)+" 分")]),i("div",{staticClass:"rating-text"},[t._v("综合评分 (共 "+t._s(t.totalReviews)+" 条)")])]),i("div",{staticClass:"filter-tabs"},[i("div",{staticClass:"tab-item",class:{active:"all"===t.activeFilter},on:{click:function(i){return t.handleFilterChange("all")}}},[t._v(" 全部("+t._s(t.totalReviews)+") ")]),i("div",{staticClass:"tab-item",class:{active:"image"===t.activeFilter},on:{click:function(i){return t.handleFilterChange("image")}}},[t._v(" 有图("+t._s(t.hasImageCount)+") ")]),i("div",{staticClass:"tab-item",class:{active:"good"===t.activeFilter},on:{click:function(i){return t.handleFilterChange("good")}}},[t._v(" 好评("+t._s(t.goodReviewsCount)+") ")]),i("div",{staticClass:"tab-item",class:{active:"medium"===t.activeFilter},on:{click:function(i){return t.handleFilterChange("medium")}}},[t._v(" 中评("+t._s(t.mediumReviewsCount)+") ")]),i("div",{staticClass:"tab-item",class:{active:"bad"===t.activeFilter},on:{click:function(i){return t.handleFilterChange("bad")}}},[t._v(" 差评("+t._s(t.badReviewsCount)+") ")])])]),i("div",{staticClass:"review-list"},[t._l(t.currentPageReviews,function(e,s){return i("div",{key:e.id,staticClass:"review-item"},[i("div",{staticClass:"user-info"},[i("img",{staticClass:"avatar",attrs:{src:e.avatar,alt:e.userName+"的头像"}}),i("div",{staticClass:"user-name"},[t._v(t._s(e.userName))]),i("div",{staticClass:"rating-stars"},t._l(5,function(s){return i("span",{key:s},[t._v(" "+t._s(s<=e.rating?"★":"☆")+" ")])}),0)]),i("div",{staticClass:"review-content",class:{empty:!e.content}},[t._v(" "+t._s(e.content||"该用户没有填写评价内容")+" ")]),e.images&&e.images.length?i("div",{staticClass:"review-images"},t._l(e.images,function(s,a){return i("img",{key:a,attrs:{src:s,alt:`${e.userName}的评价图片${a+1}`},on:{click:function(i){return t.openPreview(e.images,a)}}})}),0):t._e(),i("div",{staticClass:"review-time"},[t._v(t._s(e.time))])])}),0===t.filteredReviews.length?i("div",{staticClass:"empty-state"},[i("el-empty",{attrs:{description:"暂无符合条件的评价"}})],1):t._e()],2),t.filteredReviews.length>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.filteredReviews.length},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=[],c=(e(8111),e(2489),e(8237),e(9143)),o={name:"ProductReviews",props:["id"],components:{ElEmpty:c.Empty,ElPagination:c.Pagination},data(){return{activeFilter:"all",currentPage:1,pageSize:10,reviews:[{id:1,userName:"张**",avatar:"https://picsum.photos/id/64/40/40",rating:5,content:"商品质量很好,超出预期,非常满意的一次购物体验!包装很用心,完全没有损坏,会回购的。",images:["https://picsum.photos/id/26/80/80","https://picsum.photos/id/292/80/80"],time:"2023-10-15 14:30:22"},{id:2,userName:"李**",avatar:"https://picsum.photos/id/65/40/40",rating:4,content:"总体不错,就是物流有点慢,其他都还好,给个四星吧",images:[],time:"2023-10-14 09:15:47"},{id:3,userName:"王**",avatar:"https://picsum.photos/id/66/40/40",rating:5,content:"",images:["https://picsum.photos/id/431/80/80"],time:"2023-10-13 20:45:11"},{id:4,userName:"赵**",avatar:"https://picsum.photos/id/67/40/40",rating:2,content:"不太满意,和描述的有点差距,希望商家能改进",images:[],time:"2023-10-12 16:20:33"},{id:5,userName:"陈**",avatar:"https://picsum.photos/id/68/40/40",rating:5,content:"第二次购买了,品质一如既往的好,推荐给大家!",images:["https://picsum.photos/id/102/80/80","https://picsum.photos/id/103/80/80","https://picsum.photos/id/104/80/80"],time:"2023-10-11 11:05:59"},{id:6,userName:"刘**",avatar:"https://picsum.photos/id/69/40/40",rating:3,content:"一般般吧,没有特别惊艳的地方,价格还算合理",images:[],time:"2023-10-10 18:30:15"},{id:7,userName:"黄**",avatar:"https://picsum.photos/id/70/40/40",rating:5,content:"包装精美,送礼自用都合适,性价比很高",images:["https://picsum.photos/id/105/80/80"],time:"2023-10-09 08:45:27"},{id:8,userName:"周**",avatar:"https://picsum.photos/id/71/40/40",rating:4,content:"东西不错,物流很快,客服态度也好",images:["https://picsum.photos/id/106/80/80"],time:"2023-10-08 15:22:10"},{id:9,userName:"吴**",avatar:"https://picsum.photos/id/72/40/40",rating:5,content:"非常满意,推荐购买!",images:[],time:"2023-10-07 10:15:33"},{id:10,userName:"郑**",avatar:"https://picsum.photos/id/73/40/40",rating:1,content:"很差的购物体验,不会再买了",images:[],time:"2023-10-06 19:40:25"},{id:11,userName:"孙**",avatar:"https://picsum.photos/id/74/40/40",rating:5,content:"质量很好,和图片描述一致,值得购买",images:["https://picsum.photos/id/107/80/80","https://picsum.photos/id/108/80/80"],time:"2023-10-05 09:20:18"},{id:12,userName:"徐**",avatar:"https://picsum.photos/id/75/40/40",rating:4,content:"不错的商品,推荐给朋友了",images:[],time:"2023-10-04 16:50:47"},{id:13,userName:"马**",avatar:"https://picsum.photos/id/76/40/40",rating:5,content:"很好用,已经回购多次",images:["https://picsum.photos/id/109/80/80"],time:"2023-10-03 14:30:55"},{id:14,userName:"朱**",avatar:"https://picsum.photos/id/77/40/40",rating:3,content:"还行吧,没有想象中好",images:[],time:"2023-10-02 11:15:32"},{id:15,userName:"胡**",avatar:"https://picsum.photos/id/78/40/40",rating:5,content:"非常满意的一次购物,五星推荐!",images:["https://picsum.photos/id/110/80/80","https://picsum.photos/id/111/80/80"],time:"2023-10-01 08:40:17"}],previewVisible:!1,previewImages:[],previewIndex:0}},computed:{totalReviews(){return this.reviews.length},hasImageCount(){return this.reviews.filter(t=>t.images&&t.images.length).length},goodReviewsCount(){return this.reviews.filter(t=>t.rating>=4).length},mediumReviewsCount(){return this.reviews.filter(t=>3===t.rating).length},badReviewsCount(){return this.reviews.filter(t=>t.rating<=2).length},averageScore(){const t=this.reviews.reduce((t,i)=>t+i.rating,0);return(t/this.totalReviews).toFixed(1)},filteredReviews(){let t=[...this.reviews];switch(this.activeFilter){case"image":t=t.filter(t=>t.images&&t.images.length);break;case"good":t=t.filter(t=>t.rating>=4);break;case"medium":t=t.filter(t=>3===t.rating);break;case"bad":t=t.filter(t=>t.rating<=2);break;default:break}return t},currentPageReviews(){const t=(this.currentPage-1)*this.pageSize,i=t+this.pageSize;return this.filteredReviews.slice(t,i)}},mounted(){this.getList()},methods:{getList(){this.get({product_id:this.id,offset:0,limit:999},"/api/product/product_comment_list").then(t=>{})},handleFilterChange(t){this.activeFilter=t,this.currentPage=1},handleSizeChange(t){this.pageSize=t,this.currentPage=1},handleCurrentChange(t){this.currentPage=t,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}`})}}},l=o,d=e(1656),u=(0,d.A)(l,n,r,!1,null,"6c3951fc",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),b=_.exports,f={name:"ProductDetail",components:{Evaluate:p,AddToCartDialog:b},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()}},w=f,y=(0,d.A)(w,s,a,!1,null,"049fb0ca",null),k=y.exports}}]);
-//# sourceMappingURL=926.ffbed7b8.js.map
\ No newline at end of file
diff --git a/dist/js/926.ffbed7b8.js.map b/dist/js/926.ffbed7b8.js.map
deleted file mode 100644
index 74e1d11..0000000
--- a/dist/js/926.ffbed7b8.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"js/926.ffbed7b8.js","mappings":"mKAAA,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,EA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AAL,CACA,EAGAO,oBAAAA,CAAAP,GAEA,KAAAK,YAAAL,EAGA,KAAAiH,UAAA,KACA,KAAA2C,MAAAC,UAEA,KAAAD,MAAAC,SAAAC,cAAA9J,IAGA,EAEA4B,gBAAAA,GACA,KAAAC,SAAA,KAAAL,oBACA,KAAAK,UAEA,EAEAC,gBAAAA,GACA,KAAAD,UACA,EAEAI,WAAAA,GACA,KAAAuG,SAAA3I,KAAA,UACA,EAGAmC,OAAAA,GACA,KAAAhB,IAAA,KAAAnB,KAAAmB,IAAA,KAAAC,cACA,KAAA+B,mBAAA,CACA,EAGA+G,YAAAA,GACA,KAAAC,KACA,CACA1D,OAAA,EACAC,MAAA,EACA0D,MAAA,EACAC,YAAA,KAAA/H,IAEA,iCACAqE,KAAAC,IACA,KAAAvE,iBAAAuE,EAAApB,KAAA8E,MAEA,EAGAC,SAAAA,GACA,KAAAhE,IAAA,CAAAjE,GAAA,KAAAA,IAAA,mCAAAqE,KACAC,IACA,KAAA5G,KAAA4G,EAAApB,KACA,KAAAxF,KAAAmB,KAAA,KAAAnB,KAAAmB,IAAAkD,OAAA,IAEA,KAAAjD,cAAA,KAAApB,KAAAmB,IAAAkD,SACA,KAAAjD,aAAA,GAGA,KAAAY,SAAA,KAAAL,qBAIA,EAEAY,QAAAA,GACA,KAAAgI,YACA,KAAAL,cACA,GAEA9D,OAAAA,GAEA,KAAA2D,MAAAC,UACAQ,QAAAC,KAAA,0BAEA,KAAAnI,GAAA,KAAAoI,OAAAC,OAAArI,GACA,KAAAC,UACA,GC5U6P,ICQzP,GAAY,OACd,EACAlD,EACA+D,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(\"加入购物车\")]),_c('el-button',{staticClass:\"bargain-btn\",attrs:{\"type\":\"info\"}},[_vm._v(\"议价\")]),_c('el-button',{staticClass:\"share-btn\",attrs:{\"icon\":\"el-icon-share\",\"circle\":\"\"},on:{\"click\":_vm.handleShare}})],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\"},[_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)+\") \")])])]),_c('div',{staticClass:\"review-list\"},[_vm._l((_vm.currentPageReviews),function(review,index){return _c('div',{key:review.id,staticClass:\"review-item\"},[_c('div',{staticClass:\"user-info\"},[_c('img',{staticClass:\"avatar\",attrs:{\"src\":review.avatar,\"alt\":review.userName + '的头像'}}),_c('div',{staticClass:\"user-name\"},[_vm._v(_vm._s(review.userName))]),_c('div',{staticClass:\"rating-stars\"},_vm._l((5),function(star){return _c('span',{key:star},[_vm._v(\" \"+_vm._s(star <= review.rating ? \"★\" : \"☆\")+\" \")])}),0)]),_c('div',{staticClass:\"review-content\",class:{ empty: !review.content }},[_vm._v(\" \"+_vm._s(review.content || \"该用户没有填写评价内容\")+\" \")]),(review.images && review.images.length)?_c('div',{staticClass:\"review-images\"},_vm._l((review.images),function(img,imgIndex){return _c('img',{key:imgIndex,attrs:{\"src\":img,\"alt\":`${review.userName}的评价图片${imgIndex + 1}`},on:{\"click\":function($event){return _vm.openPreview(review.images, imgIndex)}}})}),0):_vm._e(),_c('div',{staticClass:\"review-time\"},[_vm._v(_vm._s(review.time))])])}),(_vm.filteredReviews.length === 0)?_c('div',{staticClass:\"empty-state\"},[_c('el-empty',{attrs:{\"description\":\"暂无符合条件的评价\"}})],1):_vm._e()],2),(_vm.filteredReviews.length > 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.filteredReviews.length},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 \r\n
\r\n
\r\n
\r\n
![]()
\r\n
{{ review.userName }}
\r\n
\r\n \r\n \r\n {{ star <= review.rating ? \"★\" : \"☆\" }}\r\n \r\n
\r\n
\r\n\r\n
\r\n {{ review.content || \"该用户没有填写评价内容\" }}\r\n
\r\n\r\n \r\n
\r\n
![]()
\r\n
\r\n\r\n
{{ review.time }}
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
![]()
\r\n
\r\n\r\n \r\n
\r\n
\r\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!./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=6c3951fc&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=6c3951fc&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 \"6c3951fc\",\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 \r\n
![\"商品图片\"]()
\r\n
\r\n
{{ product.sku_name || \"商品名称\" }}
\r\n
¥{{ product.price / 100 }}
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n 库存仅剩 {{ product.stock }} 件\r\n \r\n
\r\n\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!./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
\r\n \r\n
\r\n \r\n \r\n
\r\n 温馨提示:以上图片仅供参考,若图片与实物有所不同,则以实物为准。\r\n
\r\n \r\n
\r\n
\r\n
![]()
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n {{ info.title }}\r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n 售价\r\n ¥{{ info.sku[selectedSpec].price / 100 }}\r\n 已售 {{ info.sales_number }}\r\n
\r\n\r\n
\r\n
\r\n 收货方式\r\n 邮寄\r\n
\r\n\r\n
\r\n
商品规格\r\n
\r\n \r\n
\r\n
\r\n\r\n
1\">\r\n 起订量\r\n {{\r\n currentMinQuantity\r\n }}件\r\n
\r\n\r\n
\r\n 发货地\r\n {{ info.supplier_address }}\r\n
\r\n\r\n
\r\n 其他\r\n {{ otherInfo }}\r\n
\r\n\r\n
\r\n 配送范围\r\n {{ deliveryRange }}\r\n
\r\n
\r\n\r\n
\r\n \r\n {{ quantity }}\r\n \r\n 一口价购买\r\n 加入购物车\r\n 议价\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n 商品详情\r\n 商品评价(125)\r\n
\r\n\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\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!./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=049fb0ca&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=049fb0ca&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 \"049fb0ca\",\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","handleShare","hotRecommendData","id","onReload","directives","name","rawName","value","headimg","expression","tabIndex","domProps","util","formateRichText","content","showAddCartDialog","staticRenderFns","averageScore","totalReviews","activeFilter","handleFilterChange","hasImageCount","goodReviewsCount","mediumReviewsCount","badReviewsCount","currentPageReviews","review","avatar","userName","star","rating","empty","images","length","imgIndex","openPreview","time","filteredReviews","currentPage","pageSize","handleSizeChange","handleCurrentChange","previewVisible","previewIndex","previewImages","changePreview","props","components","ElEmpty","Empty","ElPagination","Pagination","data","reviews","computed","filter","sum","reduce","total","toFixed","result","startIndex","endIndex","slice","mounted","getList","methods","get","product_id","offset","limit","then","res","filterType","val","document","querySelector","scrollIntoView","behavior","type","$nextTick","textContent","component","dialogVisible","product","stock","handleQuantityChange","model","buyQuantity","callback","$$v","slot","loading","handleAddToCart","Object","required","default","visible","Boolean","Number","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","getRecommend","post","rand","product_ids","list","getDetail","console","warn","$route","params"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/js/app.5f630284.js b/dist/js/app.5f630284.js
new file mode 100644
index 0000000..5e39a6d
--- /dev/null
+++ b/dist/js/app.5f630284.js
@@ -0,0 +1,2 @@
+(function(){"use strict";var e={3153:function(e,t,n){e.exports=n.p+"img/logo.bb511aff.png"},9659:function(e,t,n){n(4114);var a=n(6674),o=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)},r=[],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,a){return t("div",{key:a,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._m(0),e._m(1),e._m(2),e._m(3),e._m(4),t("div",{staticClass:"qrcode-group"},[t("div",{staticClass:"qrcode-item"},[t("el-empty",{staticStyle:{width:"100px",height:"100px"},attrs:{description:"二维码"}}),t("p",[e._v("时味苏州小程序")])],1),t("div",{staticClass:"qrcode-item"},[t("el-empty",{staticStyle:{width:"100px",height:"100px"},attrs:{description:"二维码"}}),t("p",[e._v("时味苏州服务号")])],1)])]),e._m(5)])},f=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-column"},[t("h3",[e._v("关于我们")]),t("ul",[t("li",[e._v("平台简介")]),t("li",[e._v("政策文件")]),t("li",[e._v("平台标识指南")]),t("li",[e._v("营业执照")]),t("li",[e._v("食品经营许可证")])])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-column"},[t("h3",[e._v("新手上路")]),t("ul",[t("li",[e._v("供应商入驻流程")]),t("li",[e._v("供应商操作手册")]),t("li",[e._v("采购人入驻流程")]),t("li",[e._v("采购人操作手册")]),t("li",[e._v("供应商入驻联系方式")])])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-column"},[t("h3",[e._v("交易流程")]),t("ul",[t("li",[e._v("直购交易流程")]),t("li",[e._v("竞购交易流程")]),t("li",[e._v("货款结算流程")])])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-column"},[t("h3",[e._v("常见问题")]),t("ul",[t("li",[e._v("预留份额填报")]),t("li",[e._v("支付结算问题")]),t("li",[e._v("账号管理问题")]),t("li",[e._v("在线客服问题")])])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"contact-info"},[t("p",[e._v("联系方式:")]),t("p",[e._v("客服电话:222-222-222")]),t("p",[e._v("工作时间:工作日 9:00-18:00")]),t("p",[e._v("客服邮箱:xxxxxxxxx@stn.com")]),t("p",[e._v("商务合作:18999999999")])])},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={name:"Footer",data(){return{}}},v=g,b=(0,d.A)(v,m,f,!1,null,"683e198c",null),C=b.exports,_=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("回到顶部")])])])},y=[],k=n(5131);a["default"].use(c.Ay);var T=new c.Ay.Store({plugins:[(0,k.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")},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)})},logout({commit:e}){e("USER_LOGOUT")},addToCart({dispatch:e},t){return a["default"].prototype.post({sku_id:t.id,num:t.quantity||1},"/api/cart/add_sku").then(t=>{if(t)return a["default"].prototype.$message.success("购物车添加成功!"),e("fetchCartCount")}).catch(e=>{throw console.error("添加到购物车请求失败",e),e})},fetchCartCount({commit:e,state:t}){return t.user.token?a["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 a["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 a["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 a["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}}),w={name:"Sidebar",data(){return{cartCount:3,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=T.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=w,x=(0,d.A)(A,_,y,!1,null,"7a791d2c",null),L=x.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,$={name:"App",components:{HeaderNav:h,Footer:C,BackToTop:I,Sidebar:L},computed:{...(0,c.L8)(["getLoadingStatus"]),loading(){return this.getLoadingStatus}}},B=$,D=(0,d.A)(B,o,r,!1,null,null,null),R=D.exports,N=n(6178);a["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(522).then(n.bind(n,522))},{path:"/Login",name:"Login",meta:{title:"登录 - 精品商城",keepAlive:!1},component:()=>n.e(411).then(n.bind(n,5411))},{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(779).then(n.bind(n,1779))},{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(443).then(n.bind(n,5443))},{path:"/NoticeDetail",name:"NoticeDetail",meta:{title:"公告详情",keepAlive:!1},component:()=>n.e(315).then(n.bind(n,7315))},{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(467).then(n.bind(n,4848))},{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(113).then(n.bind(n,113))}]},{path:"/Order",name:"Order",meta:{title:"下单",keepAlive:!1},component:()=>n.e(331).then(n.bind(n,9331))},{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=T.state.user?.info?.token||"";t?n():n({path:"/Login",query:{redirect:e.fullPath}})}else n()});var M=j,q=n(9143),F=n.n(q),V=n(5847),G=n(4373);const H=G.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=T.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=q.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 q.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}`;q.MessageBox.alert(e,"错误提示",{confirmButtonText:"确定",type:"error"}).then(()=>{if(401===t.code){const e=M.currentRoute.fullPath;"/Login"!==e&&localStorage.setItem("redirectPath",e),M.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:q.MessageBox.confirm("请登录后操作","提示",{confirmButtonText:"去登录",cancelButtonText:"取消",type:"warning"}).then(()=>{M.push("/Login")}).catch(()=>{});break;case 404:(0,q.Message)({message:"网络繁忙,请刷新再试",type:"error",duration:2e3});break;default:(0,q.Message)({message:"网络繁忙,请刷新再试",type:"error",duration:2e3});break}return Promise.reject(e)}),a["default"].prototype.get=(e,t,n=!1)=>new Promise((a,o)=>{H.get(t,{params:e,loading:n}).then(e=>{a(e)}).catch(e=>{o(e)})}),a["default"].prototype.post=(e,t,n=!1)=>new Promise((a,o)=>{H.post(t,e,{loading:n}).then(e=>{a(e)}).catch(e=>{o(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"})}}}};a["default"].use(Z),a["default"].config.productionTip=!1,a["default"].use(F()),a["default"].use(V.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:a,$parent:o,src:r,loading:i,error:s,Init:c}){console.log("图片加载完成:",r)},error({bindType:e,el:t,error:n,$parent:a,src:o,loading:r}){console.log("图片加载失败:",o)}}}),a["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(a){console.error("路由跳转失败:",a),"function"===typeof t.fail&&t.fail(a)}},new a["default"]({el:"#app",router:M,store:T,components:{App:R},template:""})}},t={};function n(a){var o=t[a];if(void 0!==o)return o.exports;var r=t[a]={id:a,loaded:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=e,function(){n.amdO={}}(),function(){var e=[];n.O=function(t,a,o,r){if(!a){var i=1/0;for(u=0;u=r)&&Object.keys(n.O).every(function(e){return n.O[e](a[c])})?a.splice(c--,1):(s=!1,r0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[a,o,r]}}(),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 a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce(function(t,a){return n.f[a](e,t),t},[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{15:"4bb1e723",29:"2ece41d9",33:"ca85dca8",113:"cfab82b8",169:"33f72ed2",208:"50f78b20",220:"18d44668",244:"940fed0d",309:"22b35bd1",315:"010ae2e0",331:"633619dc",411:"b5afa758",441:"4765143b",443:"953569b3",452:"0b1eacbe",462:"1343c7cb",467:"005a7306",522:"154587d0",610:"3d662298",612:"0689f662",625:"2eff891d",677:"bb7c2f70",779:"220d32b4",828:"deb87761",838:"3bd96d59",839:"168e7d6e",856:"74bafc60",906:"f111d15e"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{15:"4b379120",29:"2661f71c",33:"5507be5a",113:"00fe5914",169:"a7db186a",208:"268eb302",220:"409c24a4",244:"edd4b6a0",309:"30b103d9",315:"147313e3",331:"aa77b66c",411:"e4757598",441:"edf1b234",443:"686f8647",452:"42e712d8",462:"5ae3b03a",467:"95b3e97b",522:"f0656774",610:"36f5ac87",625:"61284e77",677:"51eebda5",779:"506cc62a",828:"9419445b",838:"4c0b65d7",839:"7922504b",856:"669cb47e",906:"de7ec92f"}[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(a,o,r,i){if(e[a])e[a].push(o);else{var s,c;if(void 0!==r)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\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._m(0),_vm._m(1),_vm._m(2),_vm._m(3),_vm._m(4),_c('div',{staticClass:\"qrcode-group\"},[_c('div',{staticClass:\"qrcode-item\"},[_c('el-empty',{staticStyle:{\"width\":\"100px\",\"height\":\"100px\"},attrs:{\"description\":\"二维码\"}}),_c('p',[_vm._v(\"时味苏州小程序\")])],1),_c('div',{staticClass:\"qrcode-item\"},[_c('el-empty',{staticStyle:{\"width\":\"100px\",\"height\":\"100px\"},attrs:{\"description\":\"二维码\"}}),_c('p',[_vm._v(\"时味苏州服务号\")])],1)])]),_vm._m(5)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-column\"},[_c('h3',[_vm._v(\"关于我们\")]),_c('ul',[_c('li',[_vm._v(\"平台简介\")]),_c('li',[_vm._v(\"政策文件\")]),_c('li',[_vm._v(\"平台标识指南\")]),_c('li',[_vm._v(\"营业执照\")]),_c('li',[_vm._v(\"食品经营许可证\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-column\"},[_c('h3',[_vm._v(\"新手上路\")]),_c('ul',[_c('li',[_vm._v(\"供应商入驻流程\")]),_c('li',[_vm._v(\"供应商操作手册\")]),_c('li',[_vm._v(\"采购人入驻流程\")]),_c('li',[_vm._v(\"采购人操作手册\")]),_c('li',[_vm._v(\"供应商入驻联系方式\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-column\"},[_c('h3',[_vm._v(\"交易流程\")]),_c('ul',[_c('li',[_vm._v(\"直购交易流程\")]),_c('li',[_vm._v(\"竞购交易流程\")]),_c('li',[_vm._v(\"货款结算流程\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-column\"},[_c('h3',[_vm._v(\"常见问题\")]),_c('ul',[_c('li',[_vm._v(\"预留份额填报\")]),_c('li',[_vm._v(\"支付结算问题\")]),_c('li',[_vm._v(\"账号管理问题\")]),_c('li',[_vm._v(\"在线客服问题\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"contact-info\"},[_c('p',[_vm._v(\"联系方式:\")]),_c('p',[_vm._v(\"客服电话:222-222-222\")]),_c('p',[_vm._v(\"工作时间:工作日 9:00-18:00\")]),_c('p',[_vm._v(\"客服邮箱:xxxxxxxxx@stn.com\")]),_c('p',[_vm._v(\"商务合作:18999999999\")])])\n},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\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=683e198c&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=683e198c&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 \"683e198c\",\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 },\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 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\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=7a791d2c&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=7a791d2c&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 \"7a791d2c\",\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\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 \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n\n \n \n\n \n \n
\n\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\",\"113\":\"cfab82b8\",\"169\":\"33f72ed2\",\"208\":\"50f78b20\",\"220\":\"18d44668\",\"244\":\"940fed0d\",\"309\":\"22b35bd1\",\"315\":\"010ae2e0\",\"331\":\"633619dc\",\"411\":\"b5afa758\",\"441\":\"4765143b\",\"443\":\"953569b3\",\"452\":\"0b1eacbe\",\"462\":\"1343c7cb\",\"467\":\"005a7306\",\"522\":\"154587d0\",\"610\":\"3d662298\",\"612\":\"0689f662\",\"625\":\"2eff891d\",\"677\":\"bb7c2f70\",\"779\":\"220d32b4\",\"828\":\"deb87761\",\"838\":\"3bd96d59\",\"839\":\"168e7d6e\",\"856\":\"74bafc60\",\"906\":\"f111d15e\"}[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\",\"113\":\"00fe5914\",\"169\":\"a7db186a\",\"208\":\"268eb302\",\"220\":\"409c24a4\",\"244\":\"edd4b6a0\",\"309\":\"30b103d9\",\"315\":\"147313e3\",\"331\":\"aa77b66c\",\"411\":\"e4757598\",\"441\":\"edf1b234\",\"443\":\"686f8647\",\"452\":\"42e712d8\",\"462\":\"5ae3b03a\",\"467\":\"95b3e97b\",\"522\":\"f0656774\",\"610\":\"36f5ac87\",\"625\":\"61284e77\",\"677\":\"51eebda5\",\"779\":\"506cc62a\",\"828\":\"9419445b\",\"838\":\"4c0b65d7\",\"839\":\"7922504b\",\"856\":\"669cb47e\",\"906\":\"de7ec92f\"}[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,\"113\":1,\"169\":1,\"208\":1,\"220\":1,\"244\":1,\"309\":1,\"315\":1,\"331\":1,\"411\":1,\"441\":1,\"443\":1,\"452\":1,\"462\":1,\"467\":1,\"522\":1,\"610\":1,\"625\":1,\"677\":1,\"779\":1,\"828\":1,\"838\":1,\"839\":1,\"856\":1,\"906\":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__(9659); })\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","_m","handleCartClick","getters","handleServiceClick","class","active","isShowBackTop","handleBackToTop","Vue","use","Vuex","plugins","createPersistedState","storage","window","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","id","icon","addToCart","dispatch","product","prototype","sku_id","num","quantity","console","fetchCartCount","log","code","removeFromCart","productId","updateCartItemQuantity","clearCart","getOrderData","getCart","getLoadingStatus","getSearchText","cartCount","scrollTimer","mounted","addEventListener","handleScroll","beforeDestroy","removeEventListener","clearTimeout","store","location","href","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","title","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","get","url","install","util","formateRichText","str","reg","RegExp","replace","mobileValid","test","idNumberValid","passportValid","taiwanValid","gangaoValid","foreignerValid","officerValid","emailValid","getUrlPara","arrUrl","split","para","showImg","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","forEach","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/dist/js/app.c1905b36.js b/dist/js/app.c1905b36.js
deleted file mode 100644
index 84f967c..0000000
--- a/dist/js/app.c1905b36.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(function(){"use strict";var e={2508:function(e,t,n){n(4114);var a=n(6674),o=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(),t("BackToTop")],1)},r=[],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,a){return t("div",{key:a,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._m(0),e._m(1),e._m(2),e._m(3),e._m(4),t("div",{staticClass:"qrcode-group"},[t("div",{staticClass:"qrcode-item"},[t("el-empty",{staticStyle:{width:"100px",height:"100px"},attrs:{description:"二维码"}}),t("p",[e._v("时味苏州小程序")])],1),t("div",{staticClass:"qrcode-item"},[t("el-empty",{staticStyle:{width:"100px",height:"100px"},attrs:{description:"二维码"}}),t("p",[e._v("时味苏州服务号")])],1)])]),e._m(5)])},f=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-column"},[t("h3",[e._v("关于我们")]),t("ul",[t("li",[e._v("平台简介")]),t("li",[e._v("政策文件")]),t("li",[e._v("平台标识指南")]),t("li",[e._v("营业执照")]),t("li",[e._v("食品经营许可证")])])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-column"},[t("h3",[e._v("新手上路")]),t("ul",[t("li",[e._v("供应商入驻流程")]),t("li",[e._v("供应商操作手册")]),t("li",[e._v("采购人入驻流程")]),t("li",[e._v("采购人操作手册")]),t("li",[e._v("供应商入驻联系方式")])])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-column"},[t("h3",[e._v("交易流程")]),t("ul",[t("li",[e._v("直购交易流程")]),t("li",[e._v("竞购交易流程")]),t("li",[e._v("货款结算流程")])])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-column"},[t("h3",[e._v("常见问题")]),t("ul",[t("li",[e._v("预留份额填报")]),t("li",[e._v("支付结算问题")]),t("li",[e._v("账号管理问题")]),t("li",[e._v("在线客服问题")])])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"contact-info"},[t("p",[e._v("联系方式:")]),t("p",[e._v("客服电话:222-222-222")]),t("p",[e._v("工作时间:工作日 9:00-18:00")]),t("p",[e._v("客服邮箱:xxxxxxxxx@stn.com")]),t("p",[e._v("商务合作:18999999999")])])},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={name:"Footer",data(){return{}}},v=g,b=(0,d.A)(v,m,f,!1,null,"683e198c",null),C=b.exports,_=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("回到顶部")])])])},y=[],k=n(5131);a["default"].use(c.Ay);var T=new c.Ay.Store({plugins:[(0,k.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")},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)})},logout({commit:e}){e("USER_LOGOUT")},addToCart({dispatch:e},t){return a["default"].prototype.post({sku_id:t.id,num:t.quantity||1},"/api/cart/add_sku").then(t=>{if(t)return e("fetchCartCount")}).catch(e=>{throw console.error("添加到购物车请求失败",e),e})},fetchCartCount({commit:e,state:t}){return t.user.token?a["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 a["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 a["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 a["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}}),w={name:"Sidebar",data(){return{cartCount:3,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=T.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=w,x=(0,d.A)(A,_,y,!1,null,"7a791d2c",null),L=x.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,B={name:"App",components:{HeaderNav:h,Footer:C,BackToTop:I,Sidebar:L},computed:{...(0,c.L8)(["getLoadingStatus"]),loading(){return this.getLoadingStatus}}},$=B,D=(0,d.A)($,o,r,!1,null,null,null),R=D.exports,z=n(6178);a["default"].use(z.Ay);const N=z.Ay.prototype.push;z.Ay.prototype.push=function(e){return N.call(this,e).catch(e=>{if("NavigationDuplicated"!==e.name)throw e})};const j=new z.Ay({mode:"history",base:"/",routes:[{path:"/",name:"Index",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>n.e(789).then(n.bind(n,6789))},{path:"/Login",name:"Login",meta:{title:"登录 - 精品商城",keepAlive:!1},component:()=>n.e(411).then(n.bind(n,5411))},{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(926).then(n.bind(n,926))},{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(519).then(n.bind(n,3519))},{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(253).then(n.bind(n,7253))},{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(179).then(n.bind(n,179))},{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(414).then(n.bind(n,5414))},{path:"CommentManage",name:"CommentManage",meta:{title:"评价管理 - 精品商城",keepAlive:!1},component:()=>n.e(28).then(n.bind(n,9028))},{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(113).then(n.bind(n,113))}]},{path:"/Order",name:"Order",meta:{title:"下单",keepAlive:!1},component:()=>n.e(758).then(n.bind(n,3758))},{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=T.state.user?.info?.token||"";t?n():n({path:"/Login",query:{redirect:e.fullPath}})}else n()});var M=j,q=n(9143),F=n.n(q),V=n(5847),G=n(4373);const H=G.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=T.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=q.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 q.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}`;q.MessageBox.alert(e,"错误提示",{confirmButtonText:"确定",type:"error"}).then(()=>{if(401===t.code){const e=M.currentRoute.fullPath;"/Login"!==e&&localStorage.setItem("redirectPath",e),M.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:q.MessageBox.confirm("请登录后操作","提示",{confirmButtonText:"去登录",cancelButtonText:"取消",type:"warning"}).then(()=>{M.push("/Login")}).catch(()=>{});break;case 404:(0,q.Message)({message:"网络繁忙,请刷新再试",type:"error",duration:2e3});break;default:(0,q.Message)({message:"网络繁忙,请刷新再试",type:"error",duration:2e3});break}return Promise.reject(e)}),a["default"].prototype.get=(e,t,n=!1)=>new Promise((a,o)=>{H.get(t,{params:e,loading:n}).then(e=>{a(e)}).catch(e=>{o(e)})}),a["default"].prototype.post=(e,t,n=!1)=>new Promise((a,o)=>{H.post(t,e,{loading:n}).then(e=>{a(e)}).catch(e=>{o(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"})}}}};a["default"].use(Z),a["default"].config.productionTip=!1,a["default"].use(F()),a["default"].use(V.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:a,$parent:o,src:r,loading:i,error:s,Init:c}){console.log("图片加载完成:",r)},error({bindType:e,el:t,error:n,$parent:a,src:o,loading:r}){console.log("图片加载失败:",o)}}}),a["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(a){console.error("路由跳转失败:",a),"function"===typeof t.fail&&t.fail(a)}},new a["default"]({el:"#app",router:M,store:T,components:{App:R},template:""})},3153:function(e,t,n){e.exports=n.p+"img/logo.bb511aff.png"}},t={};function n(a){var o=t[a];if(void 0!==o)return o.exports;var r=t[a]={id:a,loaded:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=e,function(){n.amdO={}}(),function(){var e=[];n.O=function(t,a,o,r){if(!a){var i=1/0;for(u=0;u=r)&&Object.keys(n.O).every(function(e){return n.O[e](a[c])})?a.splice(c--,1):(s=!1,r0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[a,o,r]}}(),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 a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce(function(t,a){return n.f[a](e,t),t},[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{15:"4bb1e723",28:"7a51a71d",29:"2ece41d9",33:"ca85dca8",113:"cfab82b8",169:"33f72ed2",179:"67a63611",208:"50f78b20",220:"18d44668",244:"940fed0d",253:"6c575ac9",309:"22b35bd1",411:"b5afa758",414:"99bac297",441:"4765143b",452:"0b1eacbe",462:"1343c7cb",519:"db92619f",610:"3d662298",625:"2eff891d",677:"bb7c2f70",758:"9bf283c8",789:"d1b1b886",828:"630aafc0",838:"3bd96d59",926:"ffbed7b8"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{15:"4b379120",28:"71040a2a",29:"2661f71c",33:"5507be5a",113:"00fe5914",169:"a7db186a",208:"268eb302",220:"409c24a4",244:"edd4b6a0",253:"12c9c435",309:"30b103d9",411:"e4757598",414:"5cfa9941",441:"edf1b234",452:"42e712d8",462:"5ae3b03a",519:"309764aa",610:"36f5ac87",625:"61284e77",677:"51eebda5",758:"de28ca83",789:"eab34fc2",828:"3ffea4ab",838:"4c0b65d7",926:"a9594400"}[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(a,o,r,i){if(e[a])e[a].push(o);else{var s,c;if(void 0!==r)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\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._m(0),_vm._m(1),_vm._m(2),_vm._m(3),_vm._m(4),_c('div',{staticClass:\"qrcode-group\"},[_c('div',{staticClass:\"qrcode-item\"},[_c('el-empty',{staticStyle:{\"width\":\"100px\",\"height\":\"100px\"},attrs:{\"description\":\"二维码\"}}),_c('p',[_vm._v(\"时味苏州小程序\")])],1),_c('div',{staticClass:\"qrcode-item\"},[_c('el-empty',{staticStyle:{\"width\":\"100px\",\"height\":\"100px\"},attrs:{\"description\":\"二维码\"}}),_c('p',[_vm._v(\"时味苏州服务号\")])],1)])]),_vm._m(5)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-column\"},[_c('h3',[_vm._v(\"关于我们\")]),_c('ul',[_c('li',[_vm._v(\"平台简介\")]),_c('li',[_vm._v(\"政策文件\")]),_c('li',[_vm._v(\"平台标识指南\")]),_c('li',[_vm._v(\"营业执照\")]),_c('li',[_vm._v(\"食品经营许可证\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-column\"},[_c('h3',[_vm._v(\"新手上路\")]),_c('ul',[_c('li',[_vm._v(\"供应商入驻流程\")]),_c('li',[_vm._v(\"供应商操作手册\")]),_c('li',[_vm._v(\"采购人入驻流程\")]),_c('li',[_vm._v(\"采购人操作手册\")]),_c('li',[_vm._v(\"供应商入驻联系方式\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-column\"},[_c('h3',[_vm._v(\"交易流程\")]),_c('ul',[_c('li',[_vm._v(\"直购交易流程\")]),_c('li',[_vm._v(\"竞购交易流程\")]),_c('li',[_vm._v(\"货款结算流程\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-column\"},[_c('h3',[_vm._v(\"常见问题\")]),_c('ul',[_c('li',[_vm._v(\"预留份额填报\")]),_c('li',[_vm._v(\"支付结算问题\")]),_c('li',[_vm._v(\"账号管理问题\")]),_c('li',[_vm._v(\"在线客服问题\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"contact-info\"},[_c('p',[_vm._v(\"联系方式:\")]),_c('p',[_vm._v(\"客服电话:222-222-222\")]),_c('p',[_vm._v(\"工作时间:工作日 9:00-18:00\")]),_c('p',[_vm._v(\"客服邮箱:xxxxxxxxx@stn.com\")]),_c('p',[_vm._v(\"商务合作:18999999999\")])])\n},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\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=683e198c&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=683e198c&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 \"683e198c\",\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 },\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 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 // 添加成功后重新获取购物车数量\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\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=7a791d2c&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=7a791d2c&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 \"7a791d2c\",\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\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 \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n\n \n \n\n \n \n
\n\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=c37bea46\"\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=c37bea46&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: '/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\",\"28\":\"7a51a71d\",\"29\":\"2ece41d9\",\"33\":\"ca85dca8\",\"113\":\"cfab82b8\",\"169\":\"33f72ed2\",\"179\":\"67a63611\",\"208\":\"50f78b20\",\"220\":\"18d44668\",\"244\":\"940fed0d\",\"253\":\"6c575ac9\",\"309\":\"22b35bd1\",\"411\":\"b5afa758\",\"414\":\"99bac297\",\"441\":\"4765143b\",\"452\":\"0b1eacbe\",\"462\":\"1343c7cb\",\"519\":\"db92619f\",\"610\":\"3d662298\",\"625\":\"2eff891d\",\"677\":\"bb7c2f70\",\"758\":\"9bf283c8\",\"789\":\"d1b1b886\",\"828\":\"630aafc0\",\"838\":\"3bd96d59\",\"926\":\"ffbed7b8\"}[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\",\"28\":\"71040a2a\",\"29\":\"2661f71c\",\"33\":\"5507be5a\",\"113\":\"00fe5914\",\"169\":\"a7db186a\",\"208\":\"268eb302\",\"220\":\"409c24a4\",\"244\":\"edd4b6a0\",\"253\":\"12c9c435\",\"309\":\"30b103d9\",\"411\":\"e4757598\",\"414\":\"5cfa9941\",\"441\":\"edf1b234\",\"452\":\"42e712d8\",\"462\":\"5ae3b03a\",\"519\":\"309764aa\",\"610\":\"36f5ac87\",\"625\":\"61284e77\",\"677\":\"51eebda5\",\"758\":\"de28ca83\",\"789\":\"eab34fc2\",\"828\":\"3ffea4ab\",\"838\":\"4c0b65d7\",\"926\":\"a9594400\"}[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,\"28\":1,\"29\":1,\"33\":1,\"113\":1,\"169\":1,\"208\":1,\"220\":1,\"244\":1,\"253\":1,\"309\":1,\"411\":1,\"414\":1,\"441\":1,\"452\":1,\"462\":1,\"519\":1,\"610\":1,\"625\":1,\"677\":1,\"758\":1,\"789\":1,\"828\":1,\"838\":1,\"926\":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__(2508); })\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","_m","handleCartClick","getters","handleServiceClick","class","active","isShowBackTop","handleBackToTop","Vue","use","Vuex","plugins","createPersistedState","storage","window","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","id","icon","addToCart","dispatch","product","prototype","sku_id","num","quantity","console","fetchCartCount","log","code","removeFromCart","productId","updateCartItemQuantity","clearCart","getOrderData","getCart","getLoadingStatus","getSearchText","cartCount","scrollTimer","mounted","addEventListener","handleScroll","beforeDestroy","removeEventListener","clearTimeout","store","location","href","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","title","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","get","url","install","util","formateRichText","str","reg","RegExp","replace","mobileValid","test","idNumberValid","passportValid","taiwanValid","gangaoValid","foreignerValid","officerValid","emailValid","getUrlPara","arrUrl","split","para","showImg","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","forEach","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/App.vue b/src/App.vue
index 17d2179..d447611 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -28,7 +28,7 @@
-
+
@@ -67,6 +67,7 @@ export default {
min-height: 100vh;
display: flex;
flex-direction: column;
+ background: #ecf2df;
}
.main-container {
diff --git a/src/components/layout/HomeLayout.vue b/src/components/layout/HomeLayout.vue
index c8e35ea..a82e747 100644
--- a/src/components/layout/HomeLayout.vue
+++ b/src/components/layout/HomeLayout.vue
@@ -54,14 +54,14 @@
我的订单
-
-
+ 公告中心
+
@@ -112,6 +112,7 @@ export default {
background-color: #f8f9fa;
padding: 20px 0;
box-sizing: border-box;
+ border-radius: 10px 0 0 10px;
}
.nav-list {
list-style: none;
@@ -133,7 +134,8 @@ export default {
.nav-item:hover {
background-color: #e9ecef;
padding-left: 25px;
- color: #c7000b;
+ color: #fff;
+ background: #6a8a27;
}
/* 中间主内容样式 */
@@ -161,6 +163,7 @@ export default {
flex-direction: column;
align-items: center;
border-left: 1px solid #eee;
+ border-radius: 0 10px 10px 0;
}
.avatar-container {
display: flex;
@@ -188,8 +191,9 @@ export default {
.func-icons {
display: flex;
justify-content: space-around;
+ flex-wrap: wrap;
width: 100%;
- margin-bottom: 30px;
+ margin-bottom: 10px;
padding: 10px 0;
border-top: 1px dashed #eee;
border-bottom: 1px dashed #eee;
@@ -201,7 +205,10 @@ export default {
cursor: pointer;
color: #666;
transition: color 0.3s ease;
- width: 50px;
+ width: 50%;
+}
+.icon-item:nth-child(n+3) {
+ margin-top: 20px;
}
.icon-item:hover {
color: #1890ff;
diff --git a/src/components/product/Evaluate.vue b/src/components/product/Evaluate.vue
index 83da011..d7a7e2c 100644
--- a/src/components/product/Evaluate.vue
+++ b/src/components/product/Evaluate.vue
@@ -1,7 +1,7 @@
-
@@ -265,6 +272,42 @@ export default {
this.getList();
},
methods: {
+ // 关闭订单
+ closeOrder(id) {
+ this.$confirm("是否关闭订单?", "提示", {
+ confirmButtonText: "确定",
+ cancelButtonText: "取消",
+ type: "warning",
+ }).then(() => {
+ this.post({ order_id: id }, "/api/order/close").then((res) => {
+ if (res.code == 1) {
+ this.getList();
+ this.$message({
+ type: "success",
+ message: "订单关闭成功!",
+ });
+ }
+ });
+ });
+ },
+ // 取消订单
+ refund(id) {
+ this.$confirm("是否取消订单?", "提示", {
+ confirmButtonText: "确定",
+ cancelButtonText: "取消",
+ type: "warning",
+ }).then(() => {
+ this.post({ order_id: id }, "/api/order/refund").then((res) => {
+ if (res.code == 1) {
+ this.getList();
+ this.$message({
+ type: "success",
+ message: "订单取消成功!",
+ });
+ }
+ });
+ });
+ },
gotoDetail(item) {
this.$router.push("/Detail/" + item.product_id);
},
@@ -367,11 +410,8 @@ export default {
},
// 去评价
- gotoReview(orderId) {
- this.$message({
- message: `去评价订单 ${orderId}`,
- type: "info",
- });
+ gotoReview(product) {
+ this.$router.push("/ProductReview?product=" + JSON.stringify(product));
},
// 查看订单详情
@@ -428,6 +468,7 @@ export default {
/* 订单商品列表 */
.order-products {
padding: 10px 20px;
+ background: #fff;
}
.product-item {
diff --git a/src/views/User/ShoppingCart.vue b/src/views/User/ShoppingCart.vue
index 9e1fab8..0f44291 100644
--- a/src/views/User/ShoppingCart.vue
+++ b/src/views/User/ShoppingCart.vue
@@ -52,7 +52,11 @@
>全选
-
+
{{ goods.product.title }}
@@ -166,6 +170,10 @@ export default {
},
methods: {
...mapActions(["submitOrderData"]),
+ // 去详情
+ gotoDetail(id) {
+ this.$router.push("/Detail/" + id);
+ },
// 去结算
handleCheckout() {
// 构建参数数组(多个商品)
@@ -194,20 +202,18 @@ export default {
this.$router.push("/Order");
},
getList() {
- this.post({ }, "/api/cart/get_list", true).then(
- (res) => {
- let resData = res.data || [];
- let currentSelectGoodsIds = this.selectedRows.map((v) => v.id);
- resData.forEach((item) => {
- item.selected = false;
- item.goods.forEach((goods) => {
- goods.selected = currentSelectGoodsIds.includes(goods.id);
- });
+ this.post({}, "/api/cart/get_list", true).then((res) => {
+ let resData = res.data || [];
+ let currentSelectGoodsIds = this.selectedRows.map((v) => v.id);
+ resData.forEach((item) => {
+ item.selected = false;
+ item.goods.forEach((goods) => {
+ goods.selected = currentSelectGoodsIds.includes(goods.id);
});
- this.list = resData;
- this.judgeSelectAll();
- }
- );
+ });
+ this.list = resData;
+ this.judgeSelectAll();
+ });
},
handleSelectAll(val) {
if (val) {
@@ -221,8 +227,11 @@ export default {
});
});
} else {
- this.cartList.forEach((t) => {
+ this.list.forEach((t) => {
t.selected = false;
+ t.goods.forEach((v) => {
+ v.selected = false;
+ });
});
}
this.judgeSelectAll();
@@ -230,11 +239,7 @@ export default {
handleSelectShop(shop) {
if (shop.selected) {
shop.goods.forEach((v) => {
- if (v && v.product && v.sku && v.sku.flag == "off") {
- v.selected = false;
- } else {
- v.selected = true;
- }
+ v.selected = false;
});
} else {
shop.goods.forEach((v) => {
@@ -269,27 +274,21 @@ export default {
// 购物车加减
handleNumChange(goods) {
- this.post(
- { id: goods.id, num: goods.num },
- "/api/cart/update_sku"
- ).then((res) => {});
+ this.post({ id: goods.id, num: goods.num }, "/api/cart/update_sku").then(
+ (res) => {}
+ );
},
delItem(item) {
- this.post(
- { id: item.id },
- "/api/cart/del_sku"
- ).then((res) => {
+ this.post({ id: item.id }, "/api/cart/del_sku").then((res) => {
this.getList();
});
},
deleteSelected() {
let ids = this.selectedRows.map((v) => v.id).join(",");
- this.post({ ids: ids }, "/api/cart/del_skus").then(
- (res) => {
- this.getList();
- }
- );
+ this.post({ id: ids }, "/api/cart/del_sku").then((res) => {
+ this.getList();
+ });
},
// 分页大小改变
@@ -352,6 +351,7 @@ export default {
/* 订单商品列表 */
.order-products {
padding: 10px 20px;
+ background: #fff;
}
.product-item {
diff --git a/src/views/User/UserInvoice.vue b/src/views/User/UserInvoice.vue
index 9c0dac1..0ff027f 100644
--- a/src/views/User/UserInvoice.vue
+++ b/src/views/User/UserInvoice.vue
@@ -7,7 +7,7 @@
您已保存了{{
invoiceList.length
- }}个发票抬头信息,做多可创建5个。
+
+
+
+
+
+
diff --git a/src/views/notice/noticeList.vue b/src/views/notice/noticeList.vue
new file mode 100644
index 0000000..a065fe9
--- /dev/null
+++ b/src/views/notice/noticeList.vue
@@ -0,0 +1,243 @@
+
+
+
+
公告列表
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+