diff --git a/dist/css/135.643ed51b.css b/dist/css/135.643ed51b.css deleted file mode 100644 index 939a141..0000000 --- a/dist/css/135.643ed51b.css +++ /dev/null @@ -1 +0,0 @@ -.bg[data-v-2bf96cfd]{display:flex;flex-direction:column}.bg[data-v-2bf96cfd] .el-button--text,.bg[data-v-2bf96cfd] .el-tabs__item.is-active{color:#6a8a27}.bg[data-v-2bf96cfd] .el-tabs__active-bar{background-color:#6a8a27}.bg[data-v-2bf96cfd] .el-tabs__item:hover{color:#6a8a27}.order-card[data-v-2bf96cfd]{border-radius:4px;overflow:hidden}.order-header[data-v-2bf96cfd]{padding:12px 20px;display:flex;align-items:center;background:#f8f9fa;border-bottom:1px solid #999;color:#666;font-size:14px}.order-products[data-v-2bf96cfd]{padding:10px 20px}.product-item[data-v-2bf96cfd]{display:flex;align-items:center;padding:15px 0;border-bottom:1px dashed #eee;font-size:14px}.product-item[data-v-2bf96cfd]:last-child{border-bottom:none}.product-image[data-v-2bf96cfd]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:15px;border-radius:4px}.product-details[data-v-2bf96cfd]{flex:1}.product-name[data-v-2bf96cfd]{color:#333}.product-spec[data-v-2bf96cfd]{color:#999;font-size:12px}.product-box[data-v-2bf96cfd]{width:100px;text-align:center;color:#333}.product-quantity[data-v-2bf96cfd]{width:160px;text-align:center;color:#333}.product-select[data-v-2bf96cfd]{width:80px;color:#333}.product-price[data-v-2bf96cfd]{color:#ff5252}.cart-footer[data-v-2bf96cfd]{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding:15px;background-color:#f5f7fa;border-radius:4px}.selected-info[data-v-2bf96cfd]{color:#666;font-size:14px;padding-right:50px}.import-text[data-v-2bf96cfd]{color:#c7020b;font-size:20px;font-weight:700}.total-price[data-v-2bf96cfd]:before{content:"¥";margin-right:5px;font-size:12px} \ No newline at end of file diff --git a/dist/css/143.ecb72621.css b/dist/css/143.ecb72621.css deleted file mode 100644 index f45b900..0000000 --- a/dist/css/143.ecb72621.css +++ /dev/null @@ -1 +0,0 @@ -.order-page[data-v-4237bdf4]{max-width:1200px;margin:0 auto;padding:20px;background-color:#fff;border:1px solid #e6e6e6;border-radius:4px}.order-page .page-header[data-v-4237bdf4]{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.order-page .page-header h2[data-v-4237bdf4]{font-size:18px;font-weight:500;color:#333;margin:0}.order-page .page-header .address-book-btn[data-v-4237bdf4]{color:#409eff}.order-page .info-section[data-v-4237bdf4]{margin-bottom:20px}.order-page .info-section h3[data-v-4237bdf4]{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-4237bdf4],.order-page .info-section .invoice-address-item[data-v-4237bdf4],.order-page .info-section .invoice-title-item[data-v-4237bdf4],.order-page .info-section .invoice-type-item[data-v-4237bdf4],.order-page .info-section .trade-type-item[data-v-4237bdf4]{margin-bottom:15px;display:flex;align-items:flex-start}.order-page .info-section .address-item .label[data-v-4237bdf4],.order-page .info-section .invoice-address-item .label[data-v-4237bdf4],.order-page .info-section .invoice-title-item .label[data-v-4237bdf4],.order-page .info-section .invoice-type-item .label[data-v-4237bdf4],.order-page .info-section .trade-type-item .label[data-v-4237bdf4]{width:120px;color:#666;font-size:14px;padding-top:5px}.order-page .info-section .address-item .address-content[data-v-4237bdf4],.order-page .info-section .invoice-address-item .address-content[data-v-4237bdf4],.order-page .info-section .invoice-title-item .address-content[data-v-4237bdf4],.order-page .info-section .invoice-type-item .address-content[data-v-4237bdf4],.order-page .info-section .trade-type-item .address-content[data-v-4237bdf4]{flex:1}.order-page .info-section .address-item .saved-address[data-v-4237bdf4],.order-page .info-section .invoice-address-item .saved-address[data-v-4237bdf4],.order-page .info-section .invoice-title-item .saved-address[data-v-4237bdf4],.order-page .info-section .invoice-type-item .saved-address[data-v-4237bdf4],.order-page .info-section .trade-type-item .saved-address[data-v-4237bdf4]{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-4237bdf4],.order-page .info-section .invoice-address-item .saved-address.selected[data-v-4237bdf4],.order-page .info-section .invoice-title-item .saved-address.selected[data-v-4237bdf4],.order-page .info-section .invoice-type-item .saved-address.selected[data-v-4237bdf4],.order-page .info-section .trade-type-item .saved-address.selected[data-v-4237bdf4]{border-color:#6a8a27;background-color:rgba(106,138,39,.05)}.order-page .info-section .address-item .saved-address .name-tag[data-v-4237bdf4],.order-page .info-section .invoice-address-item .saved-address .name-tag[data-v-4237bdf4],.order-page .info-section .invoice-title-item .saved-address .name-tag[data-v-4237bdf4],.order-page .info-section .invoice-type-item .saved-address .name-tag[data-v-4237bdf4],.order-page .info-section .trade-type-item .saved-address .name-tag[data-v-4237bdf4]{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-4237bdf4],.order-page .info-section .invoice-address-item .saved-address .detail[data-v-4237bdf4],.order-page .info-section .invoice-title-item .saved-address .detail[data-v-4237bdf4],.order-page .info-section .invoice-type-item .saved-address .detail[data-v-4237bdf4],.order-page .info-section .trade-type-item .saved-address .detail[data-v-4237bdf4]{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-4237bdf4],.order-page .info-section .address-item .saved-address .edit-btn[data-v-4237bdf4],.order-page .info-section .address-item .saved-address .set-default-btn[data-v-4237bdf4],.order-page .info-section .invoice-address-item .saved-address .delete-btn[data-v-4237bdf4],.order-page .info-section .invoice-address-item .saved-address .edit-btn[data-v-4237bdf4],.order-page .info-section .invoice-address-item .saved-address .set-default-btn[data-v-4237bdf4],.order-page .info-section .invoice-title-item .saved-address .delete-btn[data-v-4237bdf4],.order-page .info-section .invoice-title-item .saved-address .edit-btn[data-v-4237bdf4],.order-page .info-section .invoice-title-item .saved-address .set-default-btn[data-v-4237bdf4],.order-page .info-section .invoice-type-item .saved-address .delete-btn[data-v-4237bdf4],.order-page .info-section .invoice-type-item .saved-address .edit-btn[data-v-4237bdf4],.order-page .info-section .invoice-type-item .saved-address .set-default-btn[data-v-4237bdf4],.order-page .info-section .trade-type-item .saved-address .delete-btn[data-v-4237bdf4],.order-page .info-section .trade-type-item .saved-address .edit-btn[data-v-4237bdf4],.order-page .info-section .trade-type-item .saved-address .set-default-btn[data-v-4237bdf4]{margin-left:10px;color:#409eff;font-size:13px;padding:0;height:auto}.order-page .info-section .address-item .el-radio[data-v-4237bdf4],.order-page .info-section .invoice-address-item .el-radio[data-v-4237bdf4],.order-page .info-section .invoice-title-item .el-radio[data-v-4237bdf4],.order-page .info-section .invoice-type-item .el-radio[data-v-4237bdf4],.order-page .info-section .trade-type-item .el-radio[data-v-4237bdf4]{margin-right:15px;margin-top:3px}.order-page .info-section .address-item .invoice-title-select[data-v-4237bdf4],.order-page .info-section .invoice-address-item .invoice-title-select[data-v-4237bdf4],.order-page .info-section .invoice-title-item .invoice-title-select[data-v-4237bdf4],.order-page .info-section .invoice-type-item .invoice-title-select[data-v-4237bdf4],.order-page .info-section .trade-type-item .invoice-title-select[data-v-4237bdf4]{width:300px;margin-top:3px}.order-page .info-section .address-item .add-title-btn[data-v-4237bdf4],.order-page .info-section .invoice-address-item .add-title-btn[data-v-4237bdf4],.order-page .info-section .invoice-title-item .add-title-btn[data-v-4237bdf4],.order-page .info-section .invoice-type-item .add-title-btn[data-v-4237bdf4],.order-page .info-section .trade-type-item .add-title-btn[data-v-4237bdf4]{margin-left:10px;color:#409eff;padding:0;height:auto}.order-page .contract-section[data-v-4237bdf4]{margin-bottom:20px;padding:15px;background-color:#f9f9f9;border-radius:4px}.order-page .contract-section h3[data-v-4237bdf4]{font-size:16px;font-weight:500;color:#333;margin-bottom:10px;margin-top:0}.order-page .contract-section p[data-v-4237bdf4]{font-size:14px;color:#666;margin:0}.order-page .goods-section h3[data-v-4237bdf4]{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-4237bdf4]{margin-bottom:20px;border:1px solid #e6e6e6;border-radius:4px;overflow:hidden}.order-page .goods-section .order-group .supplier-info[data-v-4237bdf4]{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-4237bdf4]{width:100%;border-collapse:collapse}.order-page .goods-section .order-group .goods-table th[data-v-4237bdf4]{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-4237bdf4]{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-4237bdf4]{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-4237bdf4]{vertical-align:middle;max-width:200px;display:inline-block}.order-page .goods-section .order-group .goods-table .subtotal[data-v-4237bdf4]{color:#ff4d4f;font-weight:500}.order-page .goods-section .order-group .order-remark[data-v-4237bdf4]{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-4237bdf4]{display:block;margin-bottom:10px;font-weight:500}.order-page .goods-section .order-group .order-remark .rich-text-editor[data-v-4237bdf4]{border:1px solid #e6e6e6;border-radius:4px;overflow:hidden}.order-page .goods-section .order-group .order-remark .rich-text-editor .remark-editor[data-v-4237bdf4]{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-4237bdf4]{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-4237bdf4]{margin-right:5px}.order-page .goods-section .total-info[data-v-4237bdf4]{text-align:right;padding:20px;background-color:#f5f7fa;border-radius:4px;margin-top:10px}.order-page .goods-section .total-info p[data-v-4237bdf4]{margin:8px 0;color:#333;font-size:14px}.order-page .goods-section .total-info .pay-amount[data-v-4237bdf4]{font-weight:700;color:#ff4d4f;font-size:16px;margin:15px 0}.order-page .goods-section .total-info .address-info[data-v-4237bdf4]{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-4237bdf4]{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-4237bdf4]:hover{background-color:#e03e40}@media(max-width:768px){.order-page[data-v-4237bdf4]{padding:10px}.info-section .address-item[data-v-4237bdf4],.info-section .invoice-address-item[data-v-4237bdf4],.info-section .invoice-title-item[data-v-4237bdf4],.info-section .invoice-type-item[data-v-4237bdf4],.info-section .trade-type-item[data-v-4237bdf4]{flex-direction:column}.info-section .address-item .label[data-v-4237bdf4],.info-section .invoice-address-item .label[data-v-4237bdf4],.info-section .invoice-title-item .label[data-v-4237bdf4],.info-section .invoice-type-item .label[data-v-4237bdf4],.info-section .trade-type-item .label[data-v-4237bdf4]{width:100%;margin-bottom:5px;padding-top:0}.info-section .address-item .saved-address[data-v-4237bdf4],.info-section .invoice-address-item .saved-address[data-v-4237bdf4],.info-section .invoice-title-item .saved-address[data-v-4237bdf4],.info-section .invoice-type-item .saved-address[data-v-4237bdf4],.info-section .trade-type-item .saved-address[data-v-4237bdf4]{flex-direction:column;align-items:flex-start}.info-section .address-item .saved-address .detail[data-v-4237bdf4],.info-section .address-item .saved-address .name-tag[data-v-4237bdf4],.info-section .invoice-address-item .saved-address .detail[data-v-4237bdf4],.info-section .invoice-address-item .saved-address .name-tag[data-v-4237bdf4],.info-section .invoice-title-item .saved-address .detail[data-v-4237bdf4],.info-section .invoice-title-item .saved-address .name-tag[data-v-4237bdf4],.info-section .invoice-type-item .saved-address .detail[data-v-4237bdf4],.info-section .invoice-type-item .saved-address .name-tag[data-v-4237bdf4],.info-section .trade-type-item .saved-address .detail[data-v-4237bdf4],.info-section .trade-type-item .saved-address .name-tag[data-v-4237bdf4]{margin-bottom:8px;width:100%}.info-section .address-item .saved-address .delete-btn[data-v-4237bdf4],.info-section .address-item .saved-address .edit-btn[data-v-4237bdf4],.info-section .address-item .saved-address .set-default-btn[data-v-4237bdf4],.info-section .invoice-address-item .saved-address .delete-btn[data-v-4237bdf4],.info-section .invoice-address-item .saved-address .edit-btn[data-v-4237bdf4],.info-section .invoice-address-item .saved-address .set-default-btn[data-v-4237bdf4],.info-section .invoice-title-item .saved-address .delete-btn[data-v-4237bdf4],.info-section .invoice-title-item .saved-address .edit-btn[data-v-4237bdf4],.info-section .invoice-title-item .saved-address .set-default-btn[data-v-4237bdf4],.info-section .invoice-type-item .saved-address .delete-btn[data-v-4237bdf4],.info-section .invoice-type-item .saved-address .edit-btn[data-v-4237bdf4],.info-section .invoice-type-item .saved-address .set-default-btn[data-v-4237bdf4],.info-section .trade-type-item .saved-address .delete-btn[data-v-4237bdf4],.info-section .trade-type-item .saved-address .edit-btn[data-v-4237bdf4],.info-section .trade-type-item .saved-address .set-default-btn[data-v-4237bdf4]{margin-left:0;margin-right:10px;display:inline-block}.info-section .address-item .invoice-title-select[data-v-4237bdf4],.info-section .invoice-address-item .invoice-title-select[data-v-4237bdf4],.info-section .invoice-title-item .invoice-title-select[data-v-4237bdf4],.info-section .invoice-type-item .invoice-title-select[data-v-4237bdf4],.info-section .trade-type-item .invoice-title-select[data-v-4237bdf4]{width:100%}.goods-section .goods-table[data-v-4237bdf4]{font-size:12px}.goods-section .order-group .goods-table td[data-v-4237bdf4],.goods-section .order-group .goods-table th[data-v-4237bdf4]{padding:8px;font-size:12px}.goods-section .order-group .goods-name[data-v-4237bdf4]{max-width:100px}.goods-section .total-info[data-v-4237bdf4]{padding:15px}.goods-section .total-info .submit-btn[data-v-4237bdf4]{width:100%}} \ No newline at end of file diff --git a/dist/css/208.268eb302.css b/dist/css/208.268eb302.css new file mode 100644 index 0000000..d2f387e --- /dev/null +++ b/dist/css/208.268eb302.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%}.flex-between[data-v-b49931c8]{display:flex;justify-content:space-between;align-items:center} \ No newline at end of file diff --git a/dist/css/241.47c7ac13.css b/dist/css/241.47c7ac13.css deleted file mode 100644 index 778195f..0000000 --- a/dist/css/241.47c7ac13.css +++ /dev/null @@ -1 +0,0 @@ -.bg[data-v-56d6bf2e]{display:flex;flex-direction:column;font-size:14px}.common-card[data-v-56d6bf2e]{width:100%;background-color:#fff;padding:20px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.order-status[data-v-56d6bf2e]{border-right:1px solid #eee;width:350px;height:220px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:space-between}.order-status .order-no[data-v-56d6bf2e]{color:#999}.order-status .order-no .el-button[data-v-56d6bf2e]{width:-moz-fit-content;width:fit-content;margin:0;display:inline-block;padding:0}.order-status .status-title[data-v-56d6bf2e]{display:flex;align-items:center;font-size:16px;font-weight:700}.order-status .status-title i[data-v-56d6bf2e]{font-size:24px}.order-status .el-button[data-v-56d6bf2e]{width:120px;display:block;margin:0 auto}.order-step[data-v-56d6bf2e]{flex:1;width:1px;padding:0 20px;display:flex;align-items:center}.order-step[data-v-56d6bf2e] .el-step__icon.is-text{border:none;width:30px;height:30px;border-radius:50%;background:#c0c4cc;color:#fff}.order-step[data-v-56d6bf2e] .el-step__line{top:13px}.order-step[data-v-56d6bf2e] .el-step__line-inner{border-color:#c0c4cc}.order-step .process-title[data-v-56d6bf2e]{color:#666;font-weight:700;font-size:14px;margin-top:-70px}.order-step .process-description[data-v-56d6bf2e]{color:#666;font-size:12px;margin-top:45px}.order-step[data-v-56d6bf2e] .is-finish .el-step__icon{background:#67c23a}.order-info-card[data-v-56d6bf2e]{display:flex}.order-info-card[data-v-56d6bf2e] .el-descriptions{flex:1;flex-shrink:0;border-right:1px solid hsla(0,0%,60%,.1);padding:0 20px}.order-info-card[data-v-56d6bf2e] .el-descriptions .el-descriptions-item__label{width:90px}.product-image[data-v-56d6bf2e]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:15px;border-radius:4px}.total-card[data-v-56d6bf2e]{margin-top:20px;background:#fafafa;box-shadow:none}.total-card[data-v-56d6bf2e] .el-descriptions__body{background:none;text-align:right}.total-card[data-v-56d6bf2e] .el-descriptions__body .el-descriptions-item__label{width:90%;text-align:right;justify-content:flex-end}.total-card[data-v-56d6bf2e] .el-descriptions__body .el-descriptions-item__content{justify-content:flex-end} \ No newline at end of file diff --git a/dist/css/286.84b91fbd.css b/dist/css/286.84b91fbd.css new file mode 100644 index 0000000..4445d8b --- /dev/null +++ b/dist/css/286.84b91fbd.css @@ -0,0 +1 @@ +.bg[data-v-425bad3e]{display:flex;flex-direction:column}.bg[data-v-425bad3e] .el-button--text,.bg[data-v-425bad3e] .el-tabs__item.is-active{color:#6a8a27}.bg[data-v-425bad3e] .el-tabs__active-bar{background-color:#6a8a27}.bg[data-v-425bad3e] .el-tabs__item:hover{color:#6a8a27}.order-card[data-v-425bad3e]{border-radius:4px;overflow:hidden}.order-header[data-v-425bad3e]{padding:12px 20px;display:flex;align-items:center;background:#f8f9fa;border-bottom:1px solid #999;color:#666;font-size:14px}.order-products[data-v-425bad3e]{padding:10px 20px}.product-item[data-v-425bad3e]{display:flex;align-items:center;padding:15px 0;border-bottom:1px dashed #eee;font-size:14px}.product-item[data-v-425bad3e]:last-child{border-bottom:none}.product-image[data-v-425bad3e]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:15px;border-radius:4px}.product-details[data-v-425bad3e]{flex:1}.product-name[data-v-425bad3e]{color:#333}.product-spec[data-v-425bad3e]{color:#999;font-size:12px}.product-box[data-v-425bad3e]{width:100px;text-align:center;color:#333}.product-quantity[data-v-425bad3e]{width:160px;text-align:center;color:#333}.product-select[data-v-425bad3e]{width:80px;color:#333}.product-price[data-v-425bad3e]{color:#ff5252}.cart-footer[data-v-425bad3e]{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding:15px;background-color:#f5f7fa;border-radius:4px}.selected-info[data-v-425bad3e]{color:#666;font-size:14px;padding-right:50px}.import-text[data-v-425bad3e]{color:#c7020b;font-size:20px;font-weight:700}.total-price[data-v-425bad3e]:before{content:"¥";margin-right:5px;font-size:12px} \ No newline at end of file diff --git a/dist/css/322.f144348b.css b/dist/css/322.f144348b.css new file mode 100644 index 0000000..e9e3be0 --- /dev/null +++ b/dist/css/322.f144348b.css @@ -0,0 +1 @@ +.home-layout-container[data-v-c27a7e04]{display:flex;width:100%;height:auto}.left-nav[data-v-c27a7e04]{width:200px;background-color:#f8f9fa;padding:20px 0;box-sizing:border-box}.nav-list[data-v-c27a7e04]{list-style:none;margin:0;padding:0}.nav-item[data-v-c27a7e04]{padding:12px 20px;cursor:pointer;color:#333;transition:all .3s ease;display:flex}.nav-item img[data-v-c27a7e04]{width:20px;margin-right:5px}.nav-item[data-v-c27a7e04]:hover{background-color:#e9ecef;padding-left:25px}.main-content[data-v-c27a7e04]{flex:1;height:auto;overflow:hidden}.carousel-img[data-v-c27a7e04]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.main-content[data-v-c27a7e04] .el-carousel__container{height:100%!important}.right-info[data-v-c27a7e04]{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-c27a7e04]{display:flex;flex-direction:column;align-items:center;margin-bottom:20px}.user-avatar[data-v-c27a7e04]{width:60px;height:60px;border-radius:50%;margin-bottom:10px;border:2px solid #f0f0f0}.welcome-text[data-v-c27a7e04]{font-size:14px;color:#333}.btn-group[data-v-c27a7e04]{display:flex;gap:10px;margin-bottom:30px;width:100%}.func-icons[data-v-c27a7e04]{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-c27a7e04]{display:flex;flex-direction:column;align-items:center;cursor:pointer;color:#666;transition:color .3s ease;width:50px}.icon-item[data-v-c27a7e04]:hover{color:#1890ff}.icon[data-v-c27a7e04]{font-size:24px;margin-bottom:5px}.icon-item span[data-v-c27a7e04]{font-size:12px}.announcement[data-v-c27a7e04]{display:flex;align-items:center;font-size:12px;color:#666;width:100%;padding-top:10px}.announcement span[data-v-c27a7e04]{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/4.0070063a.css b/dist/css/4.0070063a.css deleted file mode 100644 index 8ed6ac0..0000000 --- a/dist/css/4.0070063a.css +++ /dev/null @@ -1 +0,0 @@ -.product-grid-page[data-v-16ce8d0c]{padding:20px;background-color:#f5f7fa;max-width:1400px;margin:0 auto}.product-grid-page .filter-bar[data-v-16ce8d0c]{display:flex;gap:15px;margin-bottom:20px;flex-wrap:wrap;align-items:center;padding:15px;background-color:#fff;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.05)}.product-grid-page .filter-bar .search-input[data-v-16ce8d0c]{flex:1;min-width:200px}.product-grid-page .filter-bar .filter-select[data-v-16ce8d0c]{min-width:140px}.product-grid-page .result-stats[data-v-16ce8d0c]{margin:0 0 15px 5px;color:#666;font-size:14px;padding:5px 0}.product-grid-page .result-stats .category[data-v-16ce8d0c],.product-grid-page .result-stats .keyword[data-v-16ce8d0c]{color:#ff4d4f;font-weight:500;margin:0 5px}.product-grid-page .product-grid[data-v-16ce8d0c]{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;margin-bottom:30px}.product-grid-page .product-card[data-v-16ce8d0c]{background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.05);overflow:hidden;transition:transform .3s,box-shadow .3s;cursor:pointer;position:relative}.product-grid-page .product-card[data-v-16ce8d0c]:hover{transform:translateY(-5px);box-shadow:0 8px 16px rgba(0,0,0,.1)}.product-grid-page .product-card .product-img[data-v-16ce8d0c]{width:100%;height:200px;background-color:#f5f5f5}.product-grid-page .product-card .image-placeholder[data-v-16ce8d0c]{width:100%;height:200px;display:flex;align-items:center;justify-content:center;background-color:#f5f5f5}.product-grid-page .product-card .tag[data-v-16ce8d0c]{position:absolute;top:10px;left:10px;padding:3px 8px;font-size:12px;color:#fff;border-radius:4px;z-index:1}.product-grid-page .product-card .product-info[data-v-16ce8d0c]{padding:15px}.product-grid-page .product-card .product-info .product-name[data-v-16ce8d0c]{font-size:14px;color:#333;margin-bottom:10px;height:40px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-grid-page .product-card .product-info .price-row[data-v-16ce8d0c]{display:flex;align-items:center;margin-bottom:8px}.product-grid-page .product-card .product-info .price-row .current-price[data-v-16ce8d0c]{color:#ff4d4f;font-weight:700;font-size:16px}.product-grid-page .product-card .product-info .price-row .original-price[data-v-16ce8d0c]{color:#999;font-size:12px;text-decoration:line-through;margin-left:8px}.product-grid-page .product-card .product-info .sales-volume[data-v-16ce8d0c]{font-size:12px;color:#666;margin-bottom:10px;display:flex;align-items:center}.product-grid-page .product-card .product-info .sales-volume i[data-v-16ce8d0c]{font-size:12px;margin-right:4px}.product-grid-page .product-card .product-info .cart-btn[data-v-16ce8d0c]{width:100%}.product-grid-page .empty-state[data-v-16ce8d0c]{grid-column:1/-1;padding:60px 0;text-align:center}.product-grid-page .pagination-container[data-v-16ce8d0c]{display:flex;justify-content:center;margin-top:20px;padding:10px}@media(max-width:768px){.product-grid-page[data-v-16ce8d0c]{padding:10px}.product-grid-page .filter-bar[data-v-16ce8d0c]{padding:10px;gap:10px}.product-grid-page .product-grid[data-v-16ce8d0c]{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.product-grid-page .product-card .image-placeholder[data-v-16ce8d0c],.product-grid-page .product-card .product-img[data-v-16ce8d0c]{height:140px}} \ No newline at end of file diff --git a/dist/css/40.614e9a44.css b/dist/css/40.614e9a44.css deleted file mode 100644 index 5b7ff88..0000000 --- a/dist/css/40.614e9a44.css +++ /dev/null @@ -1 +0,0 @@ -.home-layout-container[data-v-340df0cc]{display:flex;width:100%;height:auto}.left-nav[data-v-340df0cc]{width:200px;background-color:#f8f9fa;padding:20px 0;box-sizing:border-box}.nav-list[data-v-340df0cc]{list-style:none;margin:0;padding:0}.nav-item[data-v-340df0cc]{padding:12px 20px;cursor:pointer;color:#333;transition:all .3s ease;display:flex}.nav-item img[data-v-340df0cc]{width:20px;margin-right:5px}.nav-item[data-v-340df0cc]:hover{background-color:#e9ecef;padding-left:25px}.main-content[data-v-340df0cc]{flex:1;height:auto;overflow:hidden}.carousel-img[data-v-340df0cc]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.main-content[data-v-340df0cc] .el-carousel__container{height:100%!important}.right-info[data-v-340df0cc]{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-340df0cc]{display:flex;flex-direction:column;align-items:center;margin-bottom:20px}.user-avatar[data-v-340df0cc]{width:60px;height:60px;border-radius:50%;margin-bottom:10px;border:2px solid #f0f0f0}.welcome-text[data-v-340df0cc]{font-size:14px;color:#333}.btn-group[data-v-340df0cc]{display:flex;gap:10px;margin-bottom:30px;width:100%}.func-icons[data-v-340df0cc]{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-340df0cc]{display:flex;flex-direction:column;align-items:center;cursor:pointer;color:#666;transition:color .3s ease;width:50px}.icon-item[data-v-340df0cc]:hover{color:#1890ff}.icon[data-v-340df0cc]{font-size:24px;margin-bottom:5px}.icon-item span[data-v-340df0cc]{font-size:12px}.announcement[data-v-340df0cc]{display:flex;align-items:center;font-size:12px;color:#666;width:100%;padding-top:10px}.announcement span[data-v-340df0cc]{margin-left:10px}.product-list .product-grid[data-v-6ecfbe40]{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.product-list .product-card[data-v-6ecfbe40]{border:1px solid #eaeaea;border-radius:8px;overflow:hidden;transition:all .3s ease;padding:10px}.product-list .product-card[data-v-6ecfbe40]:hover{transform:translateY(-5px);box-shadow:0 5px 15px rgba(0,0,0,.1)}.product-list .product-card .product-img[data-v-6ecfbe40]{height:250px;overflow:hidden}.product-list .product-card .product-img .product-pic[data-v-6ecfbe40]{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-6ecfbe40]:hover{transform:scale(1.05)}.product-list .product-card .product-info[data-v-6ecfbe40]{padding:10px}.product-list .product-card .product-info .product-name[data-v-6ecfbe40]{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-6ecfbe40]{color:#333}.product-list .product-card .product-info .product-name a[data-v-6ecfbe40]:hover{color:#409eff}.product-list .product-card .product-info .product-price[data-v-6ecfbe40]{margin-bottom:15px}.product-list .product-card .product-info .product-price .current-price[data-v-6ecfbe40]{color:#f40;font-size:16px;font-weight:700}.product-list .product-card .product-info .product-price .original-price[data-v-6ecfbe40]{color:#999;font-size:12px;text-decoration:line-through;margin-left:8px}.product-list .product-card .product-info .product-actions[data-v-6ecfbe40]{margin-bottom:10px}.product-list .product-card .product-info .product-sales[data-v-6ecfbe40]{font-size:12px;color:#999;margin-bottom:15px}.product-list .no-products[data-v-6ecfbe40]{padding:50px 0;text-align:center}.product-box[data-v-17e3f187]{margin:30px 0}.product-box h2[data-v-17e3f187]{margin-bottom:20px} \ No newline at end of file diff --git a/dist/css/411.e4757598.css b/dist/css/411.e4757598.css new file mode 100644 index 0000000..509d6d3 --- /dev/null +++ b/dist/css/411.e4757598.css @@ -0,0 +1 @@ +.login-page[data-v-6c83dcbd]{position:relative;left:0;width:100%;height:100%;overflow:hidden}.login-page .bg-container[data-v-6c83dcbd]{width:100vw;height:100%;left:0;top:0;z-index:1}.login-page .bg-container .bg-img[data-v-6c83dcbd]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.login-page .form-card[data-v-6c83dcbd]{position:absolute;right:8%;top:50%;transform:translateY(-50%);width:360px;background:#fff;border-radius:8px;box-shadow:0 2px 16px rgba(0,0,0,.1);z-index:2;padding:30px 25px}.login-page .form-card .tab-bar[data-v-6c83dcbd]{display:flex;justify-content:center;margin-bottom:25px}.login-page .form-card .tab-bar .tab-item[data-v-6c83dcbd]{width:50%;text-align:center;padding:10px 0;color:#666;cursor:pointer;border-bottom:2px solid transparent}.login-page .form-card .tab-bar .tab-item.active[data-v-6c83dcbd]{color:#6a8a27;border-bottom-color:#6a8a27}.login-page .form-card .login-form .el-form-item[data-v-6c83dcbd]{margin-bottom:20px}.login-page .form-card .login-form .el-input[data-v-6c83dcbd]{height:40px;line-height:40px}.login-page .form-card .login-form .captcha-img[data-v-6c83dcbd]{display:inline-block;width:30%;height:40px;margin-left:8px;cursor:pointer;vertical-align:middle}.login-page .form-card .login-form .captcha-img .captcha-pic[data-v-6c83dcbd]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.login-page .form-card .login-form .code-btn[data-v-6c83dcbd]{padding:0 5px;height:40px;background-color:#6a8a27;border:none;margin-left:5px}.login-page .form-card .login-form .remember-item[data-v-6c83dcbd]{padding-left:0;margin-bottom:10px}.login-page .form-card .login-form .login-btn[data-v-6c83dcbd]{width:100%;background:#6a8a27;border:none}.login-page .form-card .login-form .login-btn[data-v-6c83dcbd]:hover{background:#e03e40}.login-page .form-card .login-form .register-guide[data-v-6c83dcbd]{text-align:center;margin-top:15px;color:#999}.login-page .form-card .login-form .register-guide .register-link[data-v-6c83dcbd]{color:#6a8a27;text-decoration:underline;margin-left:5px}@media(max-width:992px){.login-page .form-card[data-v-6c83dcbd]{right:5%;width:320px}}@media(max-width:576px){.login-page .form-card[data-v-6c83dcbd]{right:50%;transform:translate(50%,-50%);width:90%}} \ No newline at end of file diff --git a/dist/css/446.4288d89e.css b/dist/css/446.4288d89e.css new file mode 100644 index 0000000..bc34960 --- /dev/null +++ b/dist/css/446.4288d89e.css @@ -0,0 +1 @@ +.bg[data-v-0653f094]{display:flex;flex-direction:column}.bg[data-v-0653f094] .el-button--text,.bg[data-v-0653f094] .el-tabs__item.is-active{color:#6a8a27}.bg[data-v-0653f094] .el-tabs__active-bar{background-color:#6a8a27}.bg[data-v-0653f094] .el-tabs__item:hover{color:#6a8a27}.filter-bar[data-v-0653f094]{margin-bottom:20px}.order-card[data-v-0653f094]{border:1px solid #eee;border-radius:4px;margin-bottom:20px;overflow:hidden}.order-header[data-v-0653f094]{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-0653f094]{padding:10px 20px}.product-item[data-v-0653f094]{display:flex;align-items:center;padding:15px 0;border-bottom:1px dashed #eee;font-size:14px}.product-item[data-v-0653f094]:last-child{border-bottom:none}.product-image[data-v-0653f094]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:15px;border-radius:4px}.product-details[data-v-0653f094]{flex:1}.product-name[data-v-0653f094]{color:#333;margin-bottom:5px}.product-spec[data-v-0653f094]{color:#999;font-size:12px}.product-price[data-v-0653f094]{width:120px;text-align:center;color:#333}.product-quantity[data-v-0653f094]{width:100px;text-align:center;color:#666}.product-total[data-v-0653f094]{width:120px;text-align:center;color:#333;font-weight:500}.product-actions[data-v-0653f094],.product-status[data-v-0653f094]{width:150px;text-align:center}.order-footer[data-v-0653f094]{background-color:#f8f9fa;padding:15px 20px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee}.order-summary[data-v-0653f094]{text-align:right}.order-amount[data-v-0653f094]{color:#333;margin-bottom:5px}.order-amount strong[data-v-0653f094]{color:#ff4d4f;font-size:16px}.order-tips[data-v-0653f094]{font-size:12px;color:#999}.order-actions[data-v-0653f094]{display:flex;gap:10px} \ No newline at end of file diff --git a/dist/css/624.f7a540d4.css b/dist/css/624.f7a540d4.css new file mode 100644 index 0000000..24f9f85 --- /dev/null +++ b/dist/css/624.f7a540d4.css @@ -0,0 +1 @@ +.bg[data-v-e57efb46]{display:flex;flex-direction:column}.bg[data-v-e57efb46] .el-button--text{color:#6a8a27}.el-card[data-v-e57efb46]{margin-bottom:20px;border-radius:6px;box-shadow:0 2px 12px 0 rgba(0,0,0,.05);border:none}.el-card__header[data-v-e57efb46]{padding:16px 20px;border-bottom:1px solid #f0f0f0;background-color:#fff;font-size:16px;font-weight:500}.el-card__body[data-v-e57efb46]{padding:20px}.notice-bar[data-v-e57efb46]{background-color:#fffbe6;border:1px solid #ffe58f;padding:12px 16px;border-radius:4px;margin-bottom:20px;justify-content:space-between;color:#fa8c16;font-size:14px}.notice-bar[data-v-e57efb46],.notice-bar__content[data-v-e57efb46]{display:flex;align-items:center}.notice-bar__content i[data-v-e57efb46]{margin-right:8px}.notice-bar__close[data-v-e57efb46]{cursor:pointer;transition:color .2s}.notice-bar__close[data-v-e57efb46]:hover{color:#fa8c16}.user-info[data-v-e57efb46]{display:flex;align-items:flex-start;padding:10px 0}.user-avatar[data-v-e57efb46]{width:100px;height:100px;border-radius:50%;margin-right:20px;border:4px solid #f5f7fa;-o-object-fit:cover;object-fit:cover}.user-details[data-v-e57efb46]{flex:1}.user-name[data-v-e57efb46]{font-size:20px;font-weight:500;margin-bottom:10px;color:#1f2329}.user-other-info[data-v-e57efb46]{color:#4e5969;margin-bottom:6px;font-size:14px}.login-info[data-v-e57efb46]{display:flex;padding-top:20px}.login-section[data-v-e57efb46]{flex:1}.login-section-title[data-v-e57efb46]{font-weight:500;margin-bottom:10px;color:#1f2329;font-size:15px}.login-detail[data-v-e57efb46]{color:#4e5969;font-size:14px;margin-bottom:6px}.feature-grid[data-v-e57efb46]{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:15px}.feature-item[data-v-e57efb46]{display:flex;flex-direction:column;align-items:center;padding:15px 10px;border-radius:6px;transition:all .2s;cursor:pointer}.feature-item[data-v-e57efb46]:hover{background-color:#f5f7fa}.feature-icon[data-v-e57efb46]{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:50%;margin-bottom:10px;font-size:20px;color:#6a8a27;background-color:rgba(106,138,39,.1)}.feature-name[data-v-e57efb46]{font-size:14px;color:#4e5969} \ No newline at end of file diff --git a/dist/css/639.c184e302.css b/dist/css/639.c184e302.css deleted file mode 100644 index b22c7da..0000000 --- a/dist/css/639.c184e302.css +++ /dev/null @@ -1 +0,0 @@ -.product-review-section[data-v-3412a0b2]{padding:20px;background:#fff;border:1px solid #eee;border-radius:4px}.product-review-section .review-header[data-v-3412a0b2]{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;flex-wrap:wrap}.product-review-section .review-header .rating-box[data-v-3412a0b2]{display:flex;align-items:center}.product-review-section .review-header .rating-box .rating-score[data-v-3412a0b2]{font-size:24px;color:#ff4d4f;font-weight:700;margin-right:10px}.product-review-section .review-header .rating-box .rating-text[data-v-3412a0b2]{font-size:14px;color:#999}.product-review-section .review-header .filter-tabs[data-v-3412a0b2]{display:flex;gap:10px;flex-wrap:wrap}.product-review-section .review-header .filter-tabs .tab-item[data-v-3412a0b2]{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-3412a0b2],.product-review-section .review-header .filter-tabs .tab-item[data-v-3412a0b2]:hover{border-color:#ff4d4f;color:#ff4d4f}.product-review-section .review-list[data-v-3412a0b2]{display:flex;flex-direction:column;gap:20px;margin-bottom:30px}.product-review-section .review-list .review-item[data-v-3412a0b2]{padding:15px;border:1px solid #f5f5f5;border-radius:4px;background:#fdfdfd}.product-review-section .review-list .review-item .user-info[data-v-3412a0b2]{display:flex;align-items:center;margin-bottom:10px}.product-review-section .review-list .review-item .user-info .avatar[data-v-3412a0b2]{width:40px;height:40px;border-radius:50%;margin-right:10px}.product-review-section .review-list .review-item .user-info .user-name[data-v-3412a0b2]{font-size:14px;color:#333;font-weight:500}.product-review-section .review-list .review-item .user-info .rating-stars[data-v-3412a0b2]{margin-left:auto;color:#ff4d4f;font-size:14px}.product-review-section .review-list .review-item .review-content[data-v-3412a0b2]{font-size:14px;color:#666;line-height:1.6;margin-bottom:10px}.product-review-section .review-list .review-item .review-content.empty[data-v-3412a0b2]{color:#999;font-style:italic}.product-review-section .review-list .review-item .review-images[data-v-3412a0b2]{display:flex;gap:8px;margin-bottom:10px}.product-review-section .review-list .review-item .review-images img[data-v-3412a0b2]{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-3412a0b2]:hover{transform:scale(1.05)}.product-review-section .review-list .review-item .review-time[data-v-3412a0b2]{font-size:12px;color:#999;margin-top:5px}.product-review-section .review-list .empty-state[data-v-3412a0b2]{padding:50px 0;text-align:center}.product-review-section .pagination-container[data-v-3412a0b2]{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-3412a0b2]{flex-direction:column;align-items:flex-start;gap:15px}.product-review-section .pagination-container[data-v-3412a0b2]{padding:0 10px}}.image-preview-dialog .el-dialog__body[data-v-3412a0b2]{padding:0;height:80vh;display:flex;align-items:center;justify-content:center}.preview-container[data-v-3412a0b2]{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.preview-img-wrapper[data-v-3412a0b2]{width:-moz-fit-content;width:fit-content;display:flex;align-items:center;justify-content:center}.preview-img[data-v-3412a0b2]{min-height:50vh;max-height:70vh;-o-object-fit:contain;object-fit:contain}.preview-btn[data-v-3412a0b2]{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-3412a0b2]:hover{opacity:1;color:#fff;background-color:rgba(0,0,0,.7)}.prev-btn[data-v-3412a0b2]{left:20px}.next-btn[data-v-3412a0b2]{right:20px}.review-images img[data-v-3412a0b2]{cursor:zoom-in}.product-detail-container[data-v-6a5a5b52]{display:flex;padding:20px;background-color:#fff;border:1px solid #eaeaea;border-radius:4px}.product-detail-container .left-section[data-v-6a5a5b52]{width:40%;margin-right:20px;display:flex;flex-direction:column}.product-detail-container .left-section .product-carousel[data-v-6a5a5b52]{border:1px solid #eaeaea;border-radius:4px;margin-bottom:15px}.product-detail-container .left-section .product-carousel .carousel-img[data-v-6a5a5b52]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.product-detail-container .left-section .hint-text[data-v-6a5a5b52]{color:#ccc;font-size:12px;margin-bottom:10px}.product-detail-container .left-section .image-indicators[data-v-6a5a5b52]{display:flex;gap:10px;justify-content:center;padding:5px 0}.product-detail-container .left-section .image-indicators .indicator-item[data-v-6a5a5b52]{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-6a5a5b52]{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-6a5a5b52]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.product-detail-container .right-section[data-v-6a5a5b52]{width:60%}.product-detail-container .right-section .product-title[data-v-6a5a5b52]{font-size:20px;font-weight:700;margin-bottom:10px}.product-detail-container .right-section .product-title .product-count[data-v-6a5a5b52]{font-size:14px;color:#666}.product-detail-container .right-section .product-tags[data-v-6a5a5b52]{margin-bottom:15px}.product-detail-container .right-section .product-tags .subtitle[data-v-6a5a5b52]{color:#666}.product-detail-container .right-section .price-info[data-v-6a5a5b52]{display:flex;align-items:center;margin-bottom:15px}.product-detail-container .right-section .price-info .price-label[data-v-6a5a5b52]{font-weight:700;margin-right:10px}.product-detail-container .right-section .price-info .price-amount[data-v-6a5a5b52]{font-size:24px;color:#ff4d4f;margin-right:20px}.product-detail-container .right-section .price-info .sales-volume[data-v-6a5a5b52]{color:#999}.product-detail-container .right-section .product-attr[data-v-6a5a5b52]{margin-bottom:20px}.product-detail-container .right-section .product-attr .attr-item[data-v-6a5a5b52]{display:flex;flex-direction:column;margin-bottom:15px}.product-detail-container .right-section .product-attr .attr-item .attr-label[data-v-6a5a5b52]{font-weight:700;margin-bottom:8px;color:#333}.product-detail-container .right-section .product-attr .attr-item .attr-value[data-v-6a5a5b52]{color:#666}.product-detail-container .right-section .product-attr .attr-item.spec-group[data-v-6a5a5b52]{margin-top:20px;margin-bottom:20px}.product-detail-container .right-section .product-attr .attr-item.spec-group .custom-radio-group[data-v-6a5a5b52]{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-6a5a5b52]{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-6a5a5b52]:hover{border-color:#409eff}.product-detail-container .right-section .product-attr .attr-item.spec-group .custom-radio-group .custom-radio.is-checked[data-v-6a5a5b52]{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-6a5a5b52]: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-6a5a5b52]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.product-detail-container .right-section .quantity-control[data-v-6a5a5b52]{display:flex;align-items:center;gap:10px;margin-top:30px}.product-detail-container .right-section .quantity-control .quantity-value[data-v-6a5a5b52]{width:40px;text-align:center}.product-detail-container .right-section .quantity-control .bargain-btn[data-v-6a5a5b52],.product-detail-container .right-section .quantity-control .buy-btn[data-v-6a5a5b52],.product-detail-container .right-section .quantity-control .cart-btn[data-v-6a5a5b52]{margin-right:10px}.product-bottom[data-v-6a5a5b52]{margin-top:50px;display:flex}.product-bottom .hot-recommend-sidebar[data-v-6a5a5b52]{min-width:200px;padding:10px;background-color:#f7f9fa;margin-right:20px}.product-bottom .hot-recommend-sidebar .hot-title[data-v-6a5a5b52]{border-left:4px solid #ff4d4f;padding-left:10px;margin-bottom:20px}.product-bottom .hot-recommend-sidebar .product-item[data-v-6a5a5b52]{margin-bottom:20px;text-align:center}.product-bottom .hot-recommend-sidebar .product-item img[data-v-6a5a5b52]{width:100%;height:auto;margin-bottom:8px}.product-bottom .hot-recommend-sidebar .product-item .product-name[data-v-6a5a5b52]{font-size:14px;margin-bottom:4px}.product-bottom .hot-recommend-sidebar .product-item .product-price[data-v-6a5a5b52]{font-size:12px;color:#f40}.product-bottom .product-right[data-v-6a5a5b52]{width:1000%}.product-bottom .product-tabs[data-v-6a5a5b52]{display:flex;margin-bottom:10px;background-color:#f7f9fa;padding:10px}.product-bottom .product-tabs .tab-item[data-v-6a5a5b52]{padding:10px 20px;cursor:pointer;margin-right:10px;color:#333}.product-bottom .product-tabs .tab-item.active[data-v-6a5a5b52]{color:#ff4d4f;border-bottom:2px solid #ff4d4f}.product-bottom .product-detail-main[data-v-6a5a5b52]{flex:1;padding:10px;background-color:#fff}.product-bottom .product-detail-main .product-banner[data-v-6a5a5b52]{width:100%;height:auto;margin-bottom:20px}.product-bottom .product-detail-main .product-desc[data-v-6a5a5b52]{font-size:14px;line-height:1.6;color:#666} \ No newline at end of file diff --git a/dist/css/64.c294a0d0.css b/dist/css/64.c294a0d0.css deleted file mode 100644 index e428242..0000000 --- a/dist/css/64.c294a0d0.css +++ /dev/null @@ -1 +0,0 @@ -.bg[data-v-281b462a]{display:flex;flex-direction:column}.bg[data-v-281b462a] .el-button--text{color:#6a8a27}.el-card[data-v-281b462a]{margin-bottom:20px;border-radius:6px;box-shadow:0 2px 12px 0 rgba(0,0,0,.05);border:none}.el-card__header[data-v-281b462a]{padding:16px 20px;border-bottom:1px solid #f0f0f0;background-color:#fff;font-size:16px;font-weight:500}.el-card__body[data-v-281b462a]{padding:20px}.notice-bar[data-v-281b462a]{background-color:#fffbe6;border:1px solid #ffe58f;padding:12px 16px;border-radius:4px;margin-bottom:20px;justify-content:space-between;color:#fa8c16;font-size:14px}.notice-bar[data-v-281b462a],.notice-bar__content[data-v-281b462a]{display:flex;align-items:center}.notice-bar__content i[data-v-281b462a]{margin-right:8px}.notice-bar__close[data-v-281b462a]{cursor:pointer;transition:color .2s}.notice-bar__close[data-v-281b462a]:hover{color:#fa8c16}.user-info[data-v-281b462a]{display:flex;align-items:flex-start;padding:10px 0}.user-avatar[data-v-281b462a]{width:100px;height:100px;border-radius:50%;margin-right:20px;border:4px solid #f5f7fa;-o-object-fit:cover;object-fit:cover}.user-details[data-v-281b462a]{flex:1}.user-name[data-v-281b462a]{font-size:20px;font-weight:500;margin-bottom:10px;color:#1f2329}.user-other-info[data-v-281b462a]{color:#4e5969;margin-bottom:6px;font-size:14px}.login-info[data-v-281b462a]{display:flex;padding-top:20px}.login-section[data-v-281b462a]{flex:1}.login-section-title[data-v-281b462a]{font-weight:500;margin-bottom:10px;color:#1f2329;font-size:15px}.login-detail[data-v-281b462a]{color:#4e5969;font-size:14px;margin-bottom:6px}.feature-grid[data-v-281b462a]{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:15px}.feature-item[data-v-281b462a]{display:flex;flex-direction:column;align-items:center;padding:15px 10px;border-radius:6px;transition:all .2s;cursor:pointer}.feature-item[data-v-281b462a]:hover{background-color:#f5f7fa}.feature-icon[data-v-281b462a]{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:50%;margin-bottom:10px;font-size:20px;color:#6a8a27;background-color:rgba(106,138,39,.1)}.feature-name[data-v-281b462a]{font-size:14px;color:#4e5969} \ No newline at end of file diff --git a/dist/css/828.96d8e95b.css b/dist/css/828.3ffea4ab.css similarity index 74% rename from dist/css/828.96d8e95b.css rename to dist/css/828.3ffea4ab.css index 772cc9f..800151f 100644 --- a/dist/css/828.96d8e95b.css +++ b/dist/css/828.3ffea4ab.css @@ -1 +1 @@ -.product-list .product-grid[data-v-6ecfbe40]{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.product-list .product-card[data-v-6ecfbe40]{border:1px solid #eaeaea;border-radius:8px;overflow:hidden;transition:all .3s ease;padding:10px}.product-list .product-card[data-v-6ecfbe40]:hover{transform:translateY(-5px);box-shadow:0 5px 15px rgba(0,0,0,.1)}.product-list .product-card .product-img[data-v-6ecfbe40]{height:250px;overflow:hidden}.product-list .product-card .product-img .product-pic[data-v-6ecfbe40]{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-6ecfbe40]:hover{transform:scale(1.05)}.product-list .product-card .product-info[data-v-6ecfbe40]{padding:10px}.product-list .product-card .product-info .product-name[data-v-6ecfbe40]{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-6ecfbe40]{color:#333}.product-list .product-card .product-info .product-name a[data-v-6ecfbe40]:hover{color:#409eff}.product-list .product-card .product-info .product-price[data-v-6ecfbe40]{margin-bottom:15px}.product-list .product-card .product-info .product-price .current-price[data-v-6ecfbe40]{color:#f40;font-size:16px;font-weight:700}.product-list .product-card .product-info .product-price .original-price[data-v-6ecfbe40]{color:#999;font-size:12px;text-decoration:line-through;margin-left:8px}.product-list .product-card .product-info .product-actions[data-v-6ecfbe40]{margin-bottom:10px}.product-list .product-card .product-info .product-sales[data-v-6ecfbe40]{font-size:12px;color:#999;margin-bottom:15px}.product-list .no-products[data-v-6ecfbe40]{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 +.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/86.3b46bb21.css b/dist/css/86.3b46bb21.css deleted file mode 100644 index 66cb53d..0000000 --- a/dist/css/86.3b46bb21.css +++ /dev/null @@ -1 +0,0 @@ -.bg[data-v-a18e9d96]{display:flex;flex-direction:column}.bg[data-v-a18e9d96] .el-button--text,.bg[data-v-a18e9d96] .el-tabs__item.is-active{color:#6a8a27}.bg[data-v-a18e9d96] .el-tabs__active-bar{background-color:#6a8a27}.bg[data-v-a18e9d96] .el-tabs__item:hover{color:#6a8a27}.filter-bar[data-v-a18e9d96]{margin-bottom:20px}.order-card[data-v-a18e9d96]{border:1px solid #eee;border-radius:4px;margin-bottom:20px;overflow:hidden}.order-header[data-v-a18e9d96]{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-a18e9d96]{padding:10px 20px}.product-item[data-v-a18e9d96]{display:flex;align-items:center;padding:15px 0;border-bottom:1px dashed #eee;font-size:14px}.product-item[data-v-a18e9d96]:last-child{border-bottom:none}.product-image[data-v-a18e9d96]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:15px;border-radius:4px}.product-details[data-v-a18e9d96]{flex:1}.product-name[data-v-a18e9d96]{color:#333;margin-bottom:5px}.product-spec[data-v-a18e9d96]{color:#999;font-size:12px}.product-price[data-v-a18e9d96]{width:120px;text-align:center;color:#333}.product-quantity[data-v-a18e9d96]{width:100px;text-align:center;color:#666}.product-total[data-v-a18e9d96]{width:120px;text-align:center;color:#333;font-weight:500}.product-actions[data-v-a18e9d96],.product-status[data-v-a18e9d96]{width:150px;text-align:center}.order-footer[data-v-a18e9d96]{background-color:#f8f9fa;padding:15px 20px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee}.order-summary[data-v-a18e9d96]{text-align:right}.order-amount[data-v-a18e9d96]{color:#333;margin-bottom:5px}.order-amount strong[data-v-a18e9d96]{color:#ff4d4f;font-size:16px}.order-tips[data-v-a18e9d96]{font-size:12px;color:#999}.order-actions[data-v-a18e9d96]{display:flex;gap:10px} \ No newline at end of file diff --git a/dist/css/882.f420d2be.css b/dist/css/882.f420d2be.css new file mode 100644 index 0000000..fb3d5bb --- /dev/null +++ b/dist/css/882.f420d2be.css @@ -0,0 +1 @@ +.bg[data-v-1d95a9f7]{display:flex;flex-direction:column;font-size:14px}.common-card[data-v-1d95a9f7]{width:100%;background-color:#fff;padding:20px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.order-status[data-v-1d95a9f7]{border-right:1px solid #eee;width:350px;height:220px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:space-between}.order-status .order-no[data-v-1d95a9f7]{color:#999}.order-status .order-no .el-button[data-v-1d95a9f7]{width:-moz-fit-content;width:fit-content;margin:0;display:inline-block;padding:0}.order-status .status-title[data-v-1d95a9f7]{display:flex;align-items:center;font-size:16px;font-weight:700}.order-status .status-title i[data-v-1d95a9f7]{font-size:24px}.order-status .el-button[data-v-1d95a9f7]{width:120px;display:block;margin:0 auto}.order-step[data-v-1d95a9f7]{flex:1;width:1px;padding:0 20px;display:flex;align-items:center}.order-step[data-v-1d95a9f7] .el-step__icon.is-text{border:none;width:30px;height:30px;border-radius:50%;background:#c0c4cc;color:#fff}.order-step[data-v-1d95a9f7] .el-step__line{top:13px}.order-step[data-v-1d95a9f7] .el-step__line-inner{border-color:#c0c4cc}.order-step .process-title[data-v-1d95a9f7]{color:#666;font-weight:700;font-size:14px;margin-top:-70px}.order-step .process-description[data-v-1d95a9f7]{color:#666;font-size:12px;margin-top:45px}.order-step[data-v-1d95a9f7] .is-finish .el-step__icon{background:#67c23a}.order-info-card[data-v-1d95a9f7]{display:flex}.order-info-card[data-v-1d95a9f7] .el-descriptions{flex:1;flex-shrink:0;border-right:1px solid hsla(0,0%,60%,.1);padding:0 20px}.order-info-card[data-v-1d95a9f7] .el-descriptions .el-descriptions-item__label{width:90px}.product-image[data-v-1d95a9f7]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:15px;border-radius:4px}.total-card[data-v-1d95a9f7]{margin-top:20px;background:#fafafa;box-shadow:none}.total-card[data-v-1d95a9f7] .el-descriptions__body{background:none;text-align:right}.total-card[data-v-1d95a9f7] .el-descriptions__body .el-descriptions-item__label{width:90%;text-align:right;justify-content:flex-end}.total-card[data-v-1d95a9f7] .el-descriptions__body .el-descriptions-item__content{justify-content:flex-end} \ No newline at end of file diff --git a/dist/css/896.f1192b9d.css b/dist/css/896.f1192b9d.css new file mode 100644 index 0000000..f531741 --- /dev/null +++ b/dist/css/896.f1192b9d.css @@ -0,0 +1 @@ +.product-grid-page[data-v-cf708dca]{padding:20px;background-color:#f5f7fa;max-width:1400px;margin:0 auto}.product-grid-page .filter-bar[data-v-cf708dca]{display:flex;gap:15px;margin-bottom:20px;flex-wrap:wrap;align-items:center;padding:15px;background-color:#fff;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.05)}.product-grid-page .filter-bar .search-input[data-v-cf708dca]{flex:1;min-width:200px}.product-grid-page .filter-bar .filter-select[data-v-cf708dca]{min-width:140px}.product-grid-page .result-stats[data-v-cf708dca]{margin:0 0 15px 5px;color:#666;font-size:14px;padding:5px 0}.product-grid-page .result-stats .category[data-v-cf708dca],.product-grid-page .result-stats .keyword[data-v-cf708dca]{color:#ff4d4f;font-weight:500;margin:0 5px}.product-grid-page .product-grid[data-v-cf708dca]{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;margin-bottom:30px}.product-grid-page .product-card[data-v-cf708dca]{background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.05);overflow:hidden;transition:transform .3s,box-shadow .3s;cursor:pointer;position:relative}.product-grid-page .product-card[data-v-cf708dca]:hover{transform:translateY(-5px);box-shadow:0 8px 16px rgba(0,0,0,.1)}.product-grid-page .product-card .product-img[data-v-cf708dca]{width:100%;height:200px;background-color:#f5f5f5}.product-grid-page .product-card .image-placeholder[data-v-cf708dca]{width:100%;height:200px;display:flex;align-items:center;justify-content:center;background-color:#f5f5f5}.product-grid-page .product-card .tag[data-v-cf708dca]{position:absolute;top:10px;left:10px;padding:3px 8px;font-size:12px;color:#fff;border-radius:4px;z-index:1}.product-grid-page .product-card .product-info[data-v-cf708dca]{padding:15px}.product-grid-page .product-card .product-info .product-name[data-v-cf708dca]{font-size:14px;color:#333;margin-bottom:10px;height:40px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-grid-page .product-card .product-info .price-row[data-v-cf708dca]{display:flex;align-items:center;margin-bottom:8px}.product-grid-page .product-card .product-info .price-row .current-price[data-v-cf708dca]{color:#ff4d4f;font-weight:700;font-size:16px}.product-grid-page .product-card .product-info .price-row .original-price[data-v-cf708dca]{color:#999;font-size:12px;text-decoration:line-through;margin-left:8px}.product-grid-page .product-card .product-info .sales-volume[data-v-cf708dca]{font-size:12px;color:#666;margin-bottom:10px;display:flex;align-items:center}.product-grid-page .product-card .product-info .sales-volume i[data-v-cf708dca]{font-size:12px;margin-right:4px}.product-grid-page .product-card .product-info .cart-btn[data-v-cf708dca]{width:100%}.product-grid-page .empty-state[data-v-cf708dca]{grid-column:1/-1;padding:60px 0;text-align:center}.product-grid-page .pagination-container[data-v-cf708dca]{display:flex;justify-content:center;margin-top:20px;padding:10px}@media(max-width:768px){.product-grid-page[data-v-cf708dca]{padding:10px}.product-grid-page .filter-bar[data-v-cf708dca]{padding:10px;gap:10px}.product-grid-page .product-grid[data-v-cf708dca]{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.product-grid-page .product-card .image-placeholder[data-v-cf708dca],.product-grid-page .product-card .product-img[data-v-cf708dca]{height:140px}} \ No newline at end of file diff --git a/dist/css/900.57bae3a8.css b/dist/css/900.57bae3a8.css deleted file mode 100644 index 46b45f3..0000000 --- a/dist/css/900.57bae3a8.css +++ /dev/null @@ -1 +0,0 @@ -.login-page[data-v-0c4c6f6a]{position:relative;left:0;width:100%;height:100%;overflow:hidden}.login-page .bg-container[data-v-0c4c6f6a]{width:100vw;height:100%;left:0;top:0;z-index:1}.login-page .bg-container .bg-img[data-v-0c4c6f6a]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.login-page .form-card[data-v-0c4c6f6a]{position:absolute;right:8%;top:50%;transform:translateY(-50%);width:360px;background:#fff;border-radius:8px;box-shadow:0 2px 16px rgba(0,0,0,.1);z-index:2;padding:30px 25px}.login-page .form-card .tab-bar[data-v-0c4c6f6a]{display:flex;justify-content:center;margin-bottom:25px}.login-page .form-card .tab-bar .tab-item[data-v-0c4c6f6a]{width:50%;text-align:center;padding:10px 0;color:#666;cursor:pointer;border-bottom:2px solid transparent}.login-page .form-card .tab-bar .tab-item.active[data-v-0c4c6f6a]{color:#6a8a27;border-bottom-color:#6a8a27}.login-page .form-card .login-form .el-form-item[data-v-0c4c6f6a]{margin-bottom:20px}.login-page .form-card .login-form .el-input[data-v-0c4c6f6a]{height:40px;line-height:40px}.login-page .form-card .login-form .captcha-img[data-v-0c4c6f6a]{display:inline-block;width:30%;height:40px;margin-left:8px;cursor:pointer;vertical-align:middle}.login-page .form-card .login-form .captcha-img .captcha-pic[data-v-0c4c6f6a]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.login-page .form-card .login-form .code-btn[data-v-0c4c6f6a]{padding:0 5px;height:40px;background-color:#6a8a27;border:none;margin-left:5px}.login-page .form-card .login-form .remember-item[data-v-0c4c6f6a]{padding-left:0;margin-bottom:10px}.login-page .form-card .login-form .login-btn[data-v-0c4c6f6a]{width:100%;background:#6a8a27;border:none}.login-page .form-card .login-form .login-btn[data-v-0c4c6f6a]:hover{background:#e03e40}.login-page .form-card .login-form .register-guide[data-v-0c4c6f6a]{text-align:center;margin-top:15px;color:#999}.login-page .form-card .login-form .register-guide .register-link[data-v-0c4c6f6a]{color:#6a8a27;text-decoration:underline;margin-left:5px}@media(max-width:992px){.login-page .form-card[data-v-0c4c6f6a]{right:5%;width:320px}}@media(max-width:576px){.login-page .form-card[data-v-0c4c6f6a]{right:50%;transform:translate(50%,-50%);width:90%}} \ No newline at end of file diff --git a/dist/css/926.a9594400.css b/dist/css/926.a9594400.css new file mode 100644 index 0000000..7df7a59 --- /dev/null +++ b/dist/css/926.a9594400.css @@ -0,0 +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 diff --git a/dist/css/955.7f61bedf.css b/dist/css/955.7f61bedf.css new file mode 100644 index 0000000..38ff5b5 --- /dev/null +++ b/dist/css/955.7f61bedf.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-0103a9f5]{max-width:1200px;margin:0 auto;padding:20px;background-color:#fff;border:1px solid #e6e6e6;border-radius:4px}.order-page .page-header[data-v-0103a9f5]{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.order-page .page-header h2[data-v-0103a9f5]{font-size:18px;font-weight:500;color:#333;margin:0}.order-page .page-header .address-book-btn[data-v-0103a9f5]{color:#409eff}.order-page .info-section[data-v-0103a9f5]{margin-bottom:20px}.order-page .info-section h3[data-v-0103a9f5]{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-0103a9f5],.order-page .info-section .invoice-address-item[data-v-0103a9f5],.order-page .info-section .invoice-title-item[data-v-0103a9f5],.order-page .info-section .invoice-type-item[data-v-0103a9f5],.order-page .info-section .trade-type-item[data-v-0103a9f5]{margin-bottom:15px;display:flex;align-items:center}.order-page .info-section .address-item .label[data-v-0103a9f5],.order-page .info-section .invoice-address-item .label[data-v-0103a9f5],.order-page .info-section .invoice-title-item .label[data-v-0103a9f5],.order-page .info-section .invoice-type-item .label[data-v-0103a9f5],.order-page .info-section .trade-type-item .label[data-v-0103a9f5]{width:120px;color:#666;font-size:14px;padding-top:5px}.order-page .info-section .address-item .address-content[data-v-0103a9f5],.order-page .info-section .invoice-address-item .address-content[data-v-0103a9f5],.order-page .info-section .invoice-title-item .address-content[data-v-0103a9f5],.order-page .info-section .invoice-type-item .address-content[data-v-0103a9f5],.order-page .info-section .trade-type-item .address-content[data-v-0103a9f5]{flex:1}.order-page .info-section .address-item .saved-address[data-v-0103a9f5],.order-page .info-section .invoice-address-item .saved-address[data-v-0103a9f5],.order-page .info-section .invoice-title-item .saved-address[data-v-0103a9f5],.order-page .info-section .invoice-type-item .saved-address[data-v-0103a9f5],.order-page .info-section .trade-type-item .saved-address[data-v-0103a9f5]{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-0103a9f5],.order-page .info-section .invoice-address-item .saved-address.selected[data-v-0103a9f5],.order-page .info-section .invoice-title-item .saved-address.selected[data-v-0103a9f5],.order-page .info-section .invoice-type-item .saved-address.selected[data-v-0103a9f5],.order-page .info-section .trade-type-item .saved-address.selected[data-v-0103a9f5]{border-color:#6a8a27;background-color:rgba(106,138,39,.05)}.order-page .info-section .address-item .saved-address .name-tag[data-v-0103a9f5],.order-page .info-section .invoice-address-item .saved-address .name-tag[data-v-0103a9f5],.order-page .info-section .invoice-title-item .saved-address .name-tag[data-v-0103a9f5],.order-page .info-section .invoice-type-item .saved-address .name-tag[data-v-0103a9f5],.order-page .info-section .trade-type-item .saved-address .name-tag[data-v-0103a9f5]{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-0103a9f5],.order-page .info-section .invoice-address-item .saved-address .detail[data-v-0103a9f5],.order-page .info-section .invoice-title-item .saved-address .detail[data-v-0103a9f5],.order-page .info-section .invoice-type-item .saved-address .detail[data-v-0103a9f5],.order-page .info-section .trade-type-item .saved-address .detail[data-v-0103a9f5]{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-0103a9f5],.order-page .info-section .address-item .saved-address .edit-btn[data-v-0103a9f5],.order-page .info-section .address-item .saved-address .set-default-btn[data-v-0103a9f5],.order-page .info-section .invoice-address-item .saved-address .delete-btn[data-v-0103a9f5],.order-page .info-section .invoice-address-item .saved-address .edit-btn[data-v-0103a9f5],.order-page .info-section .invoice-address-item .saved-address .set-default-btn[data-v-0103a9f5],.order-page .info-section .invoice-title-item .saved-address .delete-btn[data-v-0103a9f5],.order-page .info-section .invoice-title-item .saved-address .edit-btn[data-v-0103a9f5],.order-page .info-section .invoice-title-item .saved-address .set-default-btn[data-v-0103a9f5],.order-page .info-section .invoice-type-item .saved-address .delete-btn[data-v-0103a9f5],.order-page .info-section .invoice-type-item .saved-address .edit-btn[data-v-0103a9f5],.order-page .info-section .invoice-type-item .saved-address .set-default-btn[data-v-0103a9f5],.order-page .info-section .trade-type-item .saved-address .delete-btn[data-v-0103a9f5],.order-page .info-section .trade-type-item .saved-address .edit-btn[data-v-0103a9f5],.order-page .info-section .trade-type-item .saved-address .set-default-btn[data-v-0103a9f5]{margin-left:10px;color:#409eff;font-size:13px;padding:0;height:auto}.order-page .info-section .address-item .el-radio[data-v-0103a9f5],.order-page .info-section .invoice-address-item .el-radio[data-v-0103a9f5],.order-page .info-section .invoice-title-item .el-radio[data-v-0103a9f5],.order-page .info-section .invoice-type-item .el-radio[data-v-0103a9f5],.order-page .info-section .trade-type-item .el-radio[data-v-0103a9f5]{margin-right:15px;margin-top:3px}.order-page .info-section .address-item .invoice-title-select[data-v-0103a9f5],.order-page .info-section .invoice-address-item .invoice-title-select[data-v-0103a9f5],.order-page .info-section .invoice-title-item .invoice-title-select[data-v-0103a9f5],.order-page .info-section .invoice-type-item .invoice-title-select[data-v-0103a9f5],.order-page .info-section .trade-type-item .invoice-title-select[data-v-0103a9f5]{width:300px;margin-top:3px}.order-page .info-section .address-item .add-title-btn[data-v-0103a9f5],.order-page .info-section .invoice-address-item .add-title-btn[data-v-0103a9f5],.order-page .info-section .invoice-title-item .add-title-btn[data-v-0103a9f5],.order-page .info-section .invoice-type-item .add-title-btn[data-v-0103a9f5],.order-page .info-section .trade-type-item .add-title-btn[data-v-0103a9f5]{margin-left:10px;color:#409eff;padding:0;height:auto}.order-page .contract-section[data-v-0103a9f5]{margin-bottom:20px;padding:15px;background-color:#f9f9f9;border-radius:4px}.order-page .contract-section h3[data-v-0103a9f5]{font-size:16px;font-weight:500;color:#333;margin-bottom:10px;margin-top:0}.order-page .contract-section p[data-v-0103a9f5]{font-size:14px;color:#666;margin:0}.order-page .goods-section h3[data-v-0103a9f5]{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-0103a9f5]{margin-bottom:20px;border:1px solid #e6e6e6;border-radius:4px;overflow:hidden}.order-page .goods-section .order-group .supplier-info[data-v-0103a9f5]{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-0103a9f5]{width:100%;border-collapse:collapse}.order-page .goods-section .order-group .goods-table th[data-v-0103a9f5]{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-0103a9f5]{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-0103a9f5]{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-0103a9f5]{vertical-align:middle;max-width:200px;display:inline-block}.order-page .goods-section .order-group .goods-table .subtotal[data-v-0103a9f5]{color:#ff4d4f;font-weight:500}.order-page .goods-section .order-group .order-remark[data-v-0103a9f5]{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-0103a9f5]{display:block;margin-bottom:10px;font-weight:500}.order-page .goods-section .order-group .order-remark .rich-text-editor[data-v-0103a9f5]{border:1px solid #e6e6e6;border-radius:4px;overflow:hidden}.order-page .goods-section .order-group .order-remark .rich-text-editor .remark-editor[data-v-0103a9f5]{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-0103a9f5]{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-0103a9f5]{margin-right:5px}.order-page .goods-section .total-info[data-v-0103a9f5]{text-align:right;padding:20px;background-color:#f5f7fa;border-radius:4px;margin-top:10px}.order-page .goods-section .total-info p[data-v-0103a9f5]{margin:8px 0;color:#333;font-size:14px}.order-page .goods-section .total-info .pay-amount[data-v-0103a9f5]{font-weight:700;color:#ff4d4f;font-size:16px;margin:15px 0}.order-page .goods-section .total-info .address-info[data-v-0103a9f5]{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-0103a9f5]{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-0103a9f5]:hover{background-color:#e03e40}@media(max-width:768px){.order-page[data-v-0103a9f5]{padding:10px}.info-section .address-item[data-v-0103a9f5],.info-section .invoice-address-item[data-v-0103a9f5],.info-section .invoice-title-item[data-v-0103a9f5],.info-section .invoice-type-item[data-v-0103a9f5],.info-section .trade-type-item[data-v-0103a9f5]{flex-direction:column}.info-section .address-item .label[data-v-0103a9f5],.info-section .invoice-address-item .label[data-v-0103a9f5],.info-section .invoice-title-item .label[data-v-0103a9f5],.info-section .invoice-type-item .label[data-v-0103a9f5],.info-section .trade-type-item .label[data-v-0103a9f5]{width:100%;margin-bottom:5px;padding-top:0}.info-section .address-item .saved-address[data-v-0103a9f5],.info-section .invoice-address-item .saved-address[data-v-0103a9f5],.info-section .invoice-title-item .saved-address[data-v-0103a9f5],.info-section .invoice-type-item .saved-address[data-v-0103a9f5],.info-section .trade-type-item .saved-address[data-v-0103a9f5]{flex-direction:column;align-items:flex-start}.info-section .address-item .saved-address .detail[data-v-0103a9f5],.info-section .address-item .saved-address .name-tag[data-v-0103a9f5],.info-section .invoice-address-item .saved-address .detail[data-v-0103a9f5],.info-section .invoice-address-item .saved-address .name-tag[data-v-0103a9f5],.info-section .invoice-title-item .saved-address .detail[data-v-0103a9f5],.info-section .invoice-title-item .saved-address .name-tag[data-v-0103a9f5],.info-section .invoice-type-item .saved-address .detail[data-v-0103a9f5],.info-section .invoice-type-item .saved-address .name-tag[data-v-0103a9f5],.info-section .trade-type-item .saved-address .detail[data-v-0103a9f5],.info-section .trade-type-item .saved-address .name-tag[data-v-0103a9f5]{margin-bottom:8px;width:100%}.info-section .address-item .saved-address .delete-btn[data-v-0103a9f5],.info-section .address-item .saved-address .edit-btn[data-v-0103a9f5],.info-section .address-item .saved-address .set-default-btn[data-v-0103a9f5],.info-section .invoice-address-item .saved-address .delete-btn[data-v-0103a9f5],.info-section .invoice-address-item .saved-address .edit-btn[data-v-0103a9f5],.info-section .invoice-address-item .saved-address .set-default-btn[data-v-0103a9f5],.info-section .invoice-title-item .saved-address .delete-btn[data-v-0103a9f5],.info-section .invoice-title-item .saved-address .edit-btn[data-v-0103a9f5],.info-section .invoice-title-item .saved-address .set-default-btn[data-v-0103a9f5],.info-section .invoice-type-item .saved-address .delete-btn[data-v-0103a9f5],.info-section .invoice-type-item .saved-address .edit-btn[data-v-0103a9f5],.info-section .invoice-type-item .saved-address .set-default-btn[data-v-0103a9f5],.info-section .trade-type-item .saved-address .delete-btn[data-v-0103a9f5],.info-section .trade-type-item .saved-address .edit-btn[data-v-0103a9f5],.info-section .trade-type-item .saved-address .set-default-btn[data-v-0103a9f5]{margin-left:0;margin-right:10px;display:inline-block}.info-section .address-item .invoice-title-select[data-v-0103a9f5],.info-section .invoice-address-item .invoice-title-select[data-v-0103a9f5],.info-section .invoice-title-item .invoice-title-select[data-v-0103a9f5],.info-section .invoice-type-item .invoice-title-select[data-v-0103a9f5],.info-section .trade-type-item .invoice-title-select[data-v-0103a9f5]{width:100%}.goods-section .goods-table[data-v-0103a9f5]{font-size:12px}.goods-section .order-group .goods-table td[data-v-0103a9f5],.goods-section .order-group .goods-table th[data-v-0103a9f5]{padding:8px;font-size:12px}.goods-section .order-group .goods-name[data-v-0103a9f5]{max-width:100px}.goods-section .total-info[data-v-0103a9f5]{padding:15px}.goods-section .total-info .submit-btn[data-v-0103a9f5]{width:100%}} \ No newline at end of file diff --git a/dist/css/app.5178ac73.css b/dist/css/app.78312ffd.css similarity index 54% rename from dist/css/app.5178ac73.css rename to dist/css/app.78312ffd.css index c93903c..83470fb 100644 --- a/dist/css/app.5178ac73.css +++ b/dist/css/app.78312ffd.css @@ -1 +1 @@ -.header-nav[data-v-397f4a13]{width:100%}.header-nav .top-notice[data-v-397f4a13]{background-color:#f5f5f5;padding:8px 0}.header-nav .top-notice .container[data-v-397f4a13]{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-397f4a13]{font-size:14px;color:#666;margin:0}.header-nav .top-notice .container p .highlight[data-v-397f4a13]{color:#f40;margin:0 5px;font-weight:500}.header-nav .top-notice .container .top-links[data-v-397f4a13]{display:flex;align-items:center;gap:15px;font-size:14px}.header-nav .top-notice .container .top-links .avatar[data-v-397f4a13]{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-397f4a13]{color:#ccc}.header-nav .top-notice .container .top-links .logout-btn[data-v-397f4a13],.header-nav .top-notice .container .top-links a[data-v-397f4a13]{color:#666;transition:color .2s;cursor:pointer;text-decoration:none}.header-nav .top-notice .container .top-links .logout-btn[data-v-397f4a13]:hover,.header-nav .top-notice .container .top-links a[data-v-397f4a13]:hover{color:#6a8a27}.header-nav .top-notice .container .top-links .user-link[data-v-397f4a13]{display:flex;align-items:center}.header-nav .top-notice .container .top-links .cart-link[data-v-397f4a13]{display:inline-flex;align-items:center}.header-nav .main-nav[data-v-397f4a13]{background-color:#fff;padding:15px 0;box-shadow:0 2px 5px rgba(0,0,0,.05)}.header-nav .main-nav .container[data-v-397f4a13]{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-397f4a13]{display:block}.header-nav .main-nav .logo a .logo-img[data-v-397f4a13]{height:40px;-o-object-fit:contain;object-fit:contain}.header-nav .main-nav .search-box[data-v-397f4a13]{flex:0 0 500px}@media(max-width:992px){.header-nav .main-nav .search-box[data-v-397f4a13]{flex:0 0 400px}}@media(max-width:768px){.header-nav .main-nav .search-box[data-v-397f4a13]{display:none}}.header-nav .main-nav .search-box .search-input[data-v-397f4a13]{width:100%;border:1px solid #6a8a27}.header-nav .main-nav .search-box .search-input[data-v-397f4a13] .el-input__inner{border-right:none}.header-nav .main-nav .search-box .search-input[data-v-397f4a13] .el-input-group__append{background-color:#6a8a27;border-color:#6a8a27;color:#fff}.header-nav .main-nav .search-box .hot-tags[data-v-397f4a13]{margin-top:8px;font-size:12px;color:#999;display:flex;align-items:center}.header-nav .main-nav .search-box .hot-tags span[data-v-397f4a13]{margin-right:5px}.header-nav .main-nav .search-box .hot-tags .hot-tag[data-v-397f4a13]{margin:0 5px;color:#666;cursor:pointer;transition:color .2s}.header-nav .main-nav .search-box .hot-tags .hot-tag[data-v-397f4a13]:hover{color:#409eff;text-decoration:underline}.header-nav .main-nav .phone-entry a[data-v-397f4a13]{display:flex;align-items:center;color:#333;font-size:16px;text-decoration:none}.header-nav .main-nav .phone-entry a img[data-v-397f4a13]{width:24px;height:24px}.header-nav .main-nav .phone-entry a span[data-v-397f4a13]{margin-left:10px}.header-nav .main-nav .phone-entry a .cart-count[data-v-397f4a13]{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-397f4a13]{background-color:#409eff}.header-nav .category-nav .container[data-v-397f4a13]{max-width:1200px;margin:0 auto;padding:0 20px}.header-nav .category-nav .nav-list[data-v-397f4a13]{display:flex;margin:0;padding:0}@media(max-width:992px){.header-nav .category-nav .nav-list[data-v-397f4a13]{overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}}.header-nav .category-nav .nav-list .nav-item[data-v-397f4a13]{list-style:none}.header-nav .category-nav .nav-list .nav-item .nav-link[data-v-397f4a13]{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-397f4a13],.header-nav .category-nav .nav-list .nav-item .nav-link[data-v-397f4a13]: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-0ddafffa]{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-0ddafffa]{display:flex;flex-direction:column;align-items:center;cursor:pointer;margin-bottom:20px;color:#666;transition:all .3s}.sidebar-container .sidebar-item[data-v-0ddafffa]:last-child{margin-bottom:0}.sidebar-container .sidebar-item i[data-v-0ddafffa]{font-size:20px;margin-bottom:5px}.sidebar-container .sidebar-item .item-text[data-v-0ddafffa]{font-size:12px}.sidebar-container .sidebar-item[data-v-0ddafffa]:hover{color:#409eff}.sidebar-container .item-badge .el-badge__content[data-v-0ddafffa]{background-color:#ff4d4f;top:-5px;right:-10px}.sidebar-container .back-to-top.active[data-v-0ddafffa]{color:#409eff}@media(max-width:768px){.sidebar-container[data-v-0ddafffa]{right:10px;padding:10px 5px}.sidebar-container .sidebar-item[data-v-0ddafffa]{margin-bottom:15px}.sidebar-container .sidebar-item i[data-v-0ddafffa]{font-size:18px}.sidebar-container .sidebar-item .item-text[data-v-0ddafffa]{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-adf79b44]{width:100%}.header-nav .top-notice[data-v-adf79b44]{background-color:#f5f5f5;padding:8px 0}.header-nav .top-notice .container[data-v-adf79b44]{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-adf79b44]{font-size:14px;color:#666;margin:0}.header-nav .top-notice .container p .highlight[data-v-adf79b44]{color:#f40;margin:0 5px;font-weight:500}.header-nav .top-notice .container .top-links[data-v-adf79b44]{display:flex;align-items:center;gap:15px;font-size:14px}.header-nav .top-notice .container .top-links .avatar[data-v-adf79b44]{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-adf79b44]{color:#ccc}.header-nav .top-notice .container .top-links .logout-btn[data-v-adf79b44],.header-nav .top-notice .container .top-links a[data-v-adf79b44]{color:#666;transition:color .2s;cursor:pointer;text-decoration:none}.header-nav .top-notice .container .top-links .logout-btn[data-v-adf79b44]:hover,.header-nav .top-notice .container .top-links a[data-v-adf79b44]:hover{color:#6a8a27}.header-nav .top-notice .container .top-links .user-link[data-v-adf79b44]{display:flex;align-items:center}.header-nav .top-notice .container .top-links .cart-link[data-v-adf79b44]{display:inline-flex;align-items:center}.header-nav .main-nav[data-v-adf79b44]{background-color:#fff;padding:15px 0;box-shadow:0 2px 5px rgba(0,0,0,.05)}.header-nav .main-nav .container[data-v-adf79b44]{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-adf79b44]{display:block}.header-nav .main-nav .logo a .logo-img[data-v-adf79b44]{height:40px;-o-object-fit:contain;object-fit:contain}.header-nav .main-nav .search-box[data-v-adf79b44]{flex:0 0 500px}@media(max-width:992px){.header-nav .main-nav .search-box[data-v-adf79b44]{flex:0 0 400px}}@media(max-width:768px){.header-nav .main-nav .search-box[data-v-adf79b44]{display:none}}.header-nav .main-nav .search-box .search-input[data-v-adf79b44]{width:100%;border:1px solid #6a8a27}.header-nav .main-nav .search-box .search-input[data-v-adf79b44] .el-input__inner{border-right:none}.header-nav .main-nav .search-box .search-input[data-v-adf79b44] .el-input-group__append{background-color:#6a8a27;border-color:#6a8a27;color:#fff}.header-nav .main-nav .search-box .hot-tags[data-v-adf79b44]{margin-top:8px;font-size:12px;color:#999;display:flex;align-items:center}.header-nav .main-nav .search-box .hot-tags span[data-v-adf79b44]{margin-right:5px}.header-nav .main-nav .search-box .hot-tags .hot-tag[data-v-adf79b44]{margin:0 5px;color:#666;cursor:pointer;transition:color .2s}.header-nav .main-nav .search-box .hot-tags .hot-tag[data-v-adf79b44]:hover{color:#409eff;text-decoration:underline}.header-nav .main-nav .phone-entry a[data-v-adf79b44]{display:flex;align-items:center;color:#333;font-size:16px;text-decoration:none}.header-nav .main-nav .phone-entry a img[data-v-adf79b44]{width:24px;height:24px}.header-nav .main-nav .phone-entry a span[data-v-adf79b44]{margin-left:10px}.header-nav .main-nav .phone-entry a .cart-count[data-v-adf79b44]{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-adf79b44]{background-color:#409eff}.header-nav .category-nav .container[data-v-adf79b44]{max-width:1200px;margin:0 auto;padding:0 20px}.header-nav .category-nav .nav-list[data-v-adf79b44]{display:flex;margin:0;padding:0}@media(max-width:992px){.header-nav .category-nav .nav-list[data-v-adf79b44]{overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}}.header-nav .category-nav .nav-list .nav-item[data-v-adf79b44]{list-style:none}.header-nav .category-nav .nav-list .nav-item .nav-link[data-v-adf79b44]{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-adf79b44],.header-nav .category-nav .nav-list .nav-item .nav-link[data-v-adf79b44]: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-f2321a44]{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-f2321a44]{display:flex;flex-direction:column;align-items:center;cursor:pointer;margin-bottom:20px;color:#666;transition:all .3s}.sidebar-container .sidebar-item[data-v-f2321a44]:last-child{margin-bottom:0}.sidebar-container .sidebar-item i[data-v-f2321a44]{font-size:20px;margin-bottom:5px}.sidebar-container .sidebar-item .item-text[data-v-f2321a44]{font-size:12px}.sidebar-container .sidebar-item[data-v-f2321a44]:hover{color:#409eff}.sidebar-container .item-badge .el-badge__content[data-v-f2321a44]{background-color:#ff4d4f;top:-5px;right:-10px}.sidebar-container .back-to-top.active[data-v-f2321a44]{color:#409eff}@media(max-width:768px){.sidebar-container[data-v-f2321a44]{right:10px;padding:10px 5px}.sidebar-container .sidebar-item[data-v-f2321a44]{margin-bottom:15px}.sidebar-container .sidebar-item i[data-v-f2321a44]{font-size:18px}.sidebar-container .sidebar-item .item-text[data-v-f2321a44]{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 diff --git a/dist/index.html b/dist/index.html index 9f9b2a9..be7d06b 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -abcdf
\ No newline at end of file +abcdf
\ No newline at end of file diff --git a/dist/js/135.08e8073a.js b/dist/js/135.08e8073a.js deleted file mode 100644 index 9529d09..0000000 --- a/dist/js/135.08e8073a.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[135],{2135:function(t,e,s){s.r(e),s.d(e,{default:function(){return r}});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),{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:{getList(){this.post({customBaseURL:"/api"},"/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}),this.judgeSelectAll()},handleSelect(){this.judgeSelectAll()},judgeSelectAll(){this.selectedRows=[],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,customBaseURL:"/api"},"/api/cart/update_sku").then(t=>{})},delItem(t){this.post({id:t.id,customBaseURL:"/api"},"/api/cart/del_sku").then(t=>{this.getList()})},deleteSelected(){let t=this.selectedRows.map(t=>t.id).join(",");this.post({ids:t,customBaseURL:"/api"},"/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"})}}}),a=c,d=s(1656),o=(0,d.A)(a,l,i,!1,null,"2bf96cfd",null),r=o.exports}}]); -//# sourceMappingURL=135.08e8073a.js.map \ No newline at end of file diff --git a/dist/js/135.08e8073a.js.map b/dist/js/135.08e8073a.js.map deleted file mode 100644 index 9d2a7d9..0000000 --- a/dist/js/135.08e8073a.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/135.08e8073a.js","mappings":"sJAAA,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,MA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B,aAAA,GACA,KAAAzB,KAAAuC,QAAAC,IACAA,EAAA9B,MAAA+C,KAAAC,GAAA,MAAAA,EAAA1C,IAAAuC,MACAf,EAAA9B,MAAA+C,KAAAC,GAAA,MAAAA,EAAA1C,IAAAuC,OAAAG,EAAApD,UACAkC,EAAAlC,UAAA,EAEAkC,EAAAlC,UAAA,EAGAkC,EAAAlC,UAAA,IAIA,KAAAN,KAAA2D,MAAAnB,GAAAA,EAAAlC,WAAA,KAAAN,KAAAuB,OAAA,EACA,KAAA9B,WAAA,EAEA,KAAAA,WAAA,CAEA,EAGA2B,eAAAA,CAAAV,GACA,KAAAiC,KAAA,CAAAxC,GAAAO,EAAAP,GAAAkB,IAAAX,EAAAW,IAAAuB,cAAA,gCAAAC,KAAAC,MAGA,EAEAxB,OAAAA,CAAA4B,GACA,KAAAP,KAAA,CAAAxC,GAAA+C,EAAA/C,GAAAyC,cAAA,6BAAAC,KAAAC,IACA,KAAAV,WAEA,EACAV,cAAAA,GACA,IAAAkC,EAAA,KAAAnC,aAAAwB,IAAAT,GAAAA,EAAArC,IAAA0D,KAAA,KACA,KAAAlB,KAAA,CAAAiB,IAAAA,EAAAhB,cAAA,8BAAAC,KAAAC,IACA,KAAAV,WAEA,EAMA0B,gBAAAA,CAAAT,GACA,KAAAnB,SAAAmB,CACA,EAGAU,mBAAAA,CAAAV,GACA,KAAApB,YAAAoB,CACA,EAIAW,QAAAA,CAAAC,GACA,KAAAC,SAAA,CACAC,QAAA,MAAAF,QACAG,KAAA,QAEA,KChPoQ,I,UCQhQC,GAAY,OACd,EACAvF,EACA+C,GACA,EACA,KACA,WACA,MAIF,EAAewC,E","sources":["webpack://abcdf/./src/views/User/ShoppingCart.vue","webpack://abcdf/src/views/User/ShoppingCart.vue","webpack://abcdf/./src/views/User/ShoppingCart.vue?5cfe","webpack://abcdf/./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","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=2bf96cfd&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=2bf96cfd&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 \"2bf96cfd\",\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","post","customBaseURL","then","res","resData","currentSelectGoodsIds","map","item","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/143.9d51e2ee.js b/dist/js/143.9d51e2ee.js deleted file mode 100644 index d222b6d..0000000 --- a/dist/js/143.9d51e2ee.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[143],{8524:function(e,s,t){t.r(s),t.d(s,{default:function(){return c}});var a=function(){var e=this,s=e._self._c;return s("div",{staticClass:"order-page"},[s("div",{staticClass:"page-header"},[s("h2",[e._v("填写收货人信息")]),s("el-button",{staticClass:"address-book-btn",attrs:{type:"text"}},[e._v(" 新增/修改地址 ")])],1),s("div",{staticClass:"info-section"},[s("h3",[e._v("收货人信息")]),s("div",{staticClass:"address-item"},[s("span",{staticClass:"label"},[e._v("收货人地址:")]),s("div",{staticClass:"address-content"},e._l(e.addresses,function(t,a){return s("div",{key:a,staticClass:"saved-address",class:{selected:e.selectedAddressIndex===a},on:{click:function(s){return e.selectAddress(a)}}},[s("span",{staticClass:"name-tag"},[e._v(e._s(t.name)+" "+e._s(t.province))]),s("span",{staticClass:"detail"},[e._v(e._s(t.address)+" "+e._s(t.phone))]),s("el-button",{staticClass:"set-default-btn",attrs:{type:"text"}},[e._v("设为默认")]),s("el-button",{staticClass:"edit-btn",attrs:{type:"text"}},[e._v("编辑")]),s("el-button",{staticClass:"delete-btn",attrs:{type:"text"}},[e._v("删除")])],1)}),0)]),s("div",{staticClass:"trade-type-item"},[s("span",{staticClass:"label"},[e._v("交易方式:")]),s("el-radio-group",{model:{value:e.selectedTradeType,callback:function(s){e.selectedTradeType=s},expression:"selectedTradeType"}},[s("el-radio",{attrs:{label:1}},[e._v("先款后货")]),s("el-radio",{attrs:{label:2}},[e._v("货到付款")])],1)],1),s("h3",[e._v("发票信息")]),s("div",{staticClass:"invoice-type-item"},[s("span",{staticClass:"label"},[e._v("发票类型:")]),s("el-radio-group",{model:{value:e.selectedInvoiceType,callback:function(s){e.selectedInvoiceType=s},expression:"selectedInvoiceType"}},[s("el-radio",{attrs:{label:1}},[e._v("增值税普通发票")]),s("el-radio",{attrs:{label:2}},[e._v("普通电子发票")])],1)],1),s("div",{staticClass:"invoice-title-item"},[s("span",{staticClass:"label"},[e._v("发票抬头:")]),s("el-select",{staticClass:"invoice-title-select",attrs:{placeholder:"请选择发票抬头"},model:{value:e.selectedInvoiceTitle,callback:function(s){e.selectedInvoiceTitle=s},expression:"selectedInvoiceTitle"}},e._l(e.invoiceTitles,function(e,t){return s("el-option",{key:t,attrs:{label:e.name,value:e.id}})}),1),s("el-button",{staticClass:"add-title-btn",attrs:{type:"text"}},[e._v("+ 添加")])],1),s("h3",[e._v("收票地址")]),s("div",{staticClass:"invoice-address-item"},[s("span",{staticClass:"label"},[e._v("收票地址:")]),s("div",{staticClass:"address-content"},e._l(e.invoiceAddresses,function(t,a){return s("div",{key:a,staticClass:"saved-address",class:{selected:e.selectedInvoiceAddressIndex===a},on:{click:function(s){return e.selectInvoiceAddress(a)}}},[s("span",{staticClass:"name-tag"},[e._v(e._s(t.name)+" "+e._s(t.province))]),s("span",{staticClass:"detail"},[e._v(e._s(t.address)+" "+e._s(t.phone))]),s("el-button",{staticClass:"set-default-btn",attrs:{type:"text"}},[e._v("设为默认")]),s("el-button",{staticClass:"edit-btn",attrs:{type:"text"}},[e._v("编辑")]),s("el-button",{staticClass:"delete-btn",attrs:{type:"text"}},[e._v("删除")])],1)}),0)])]),e._m(0),s("div",{staticClass:"goods-section"},[s("h3",[e._v("商品清单")]),e._l(e.orderGroups,function(t,a){return s("div",{key:a,staticClass:"order-group"},[s("div",{staticClass:"supplier-info"},[s("span",[e._v("供货名称:"+e._s(t.supplier))])]),s("table",{staticClass:"goods-table"},[e._m(1,!0),s("tbody",e._l(t.items,function(t,a){return s("tr",{key:a},[s("td",[s("img",{staticClass:"goods-img",attrs:{src:t.image,alt:"商品图片"}}),s("span",{staticClass:"goods-name"},[e._v(e._s(t.name))])]),s("td",[e._v(e._s(t.spec))]),s("td",[e._v(e._s(t.price))]),s("td",[e._v(e._s(t.quantity))]),s("td",[e._v(e._s(t.freight))]),s("td",[e._v(e._s(t.deliveryType))]),s("td",{staticClass:"subtotal"},[e._v(e._s(t.subtotal))])])}),0)]),s("div",{staticClass:"order-remark"},[s("span",{staticClass:"remark-label"},[e._v("订单备注:")]),s("div",{staticClass:"rich-text-editor"},[s("el-input",{staticClass:"remark-editor",attrs:{type:"textarea",rows:"4",placeholder:"请输入订单备注信息"},model:{value:t.remark,callback:function(s){e.$set(t,"remark",s)},expression:"group.remark"}}),e._e()],1)])])}),s("div",{staticClass:"total-info"},[s("p",[e._v(" 共 "+e._s(e.totalGoodsCount)+" 件商品,总商品金额 ¥"+e._s(e.totalGoodsAmount)+" ")]),s("p",[e._v("总运费 ¥"+e._s(e.totalFreight))]),s("p",{staticClass:"pay-amount"},[e._v("实付总金额 ¥"+e._s(e.totalPayAmount))]),s("p",{staticClass:"address-info"},[e._v(" 配送地:"+e._s(e.selectedAddress.address)),s("br"),e._v(" 交货地:"+e._s(e.selectedAddress.address)+" "+e._s(e.selectedAddress.phone)+" ")]),s("el-button",{staticClass:"submit-btn",attrs:{type:"primary"},on:{click:e.submitOrder}},[e._v(" 提交订单 ")])],1)],2)])},i=[function(){var e=this,s=e._self._c;return s("div",{staticClass:"contract-section"},[s("h3",[e._v("签署合同")]),s("p",[e._v("如需签署合同,提交订单后,请至采购中心>合同中心签署")])])},function(){var e=this,s=e._self._c;return s("thead",[s("tr",[s("th",[e._v("商品")]),s("th",[e._v("规格")]),s("th",[e._v("单价(元)")]),s("th",[e._v("数量")]),s("th",[e._v("运费")]),s("th",[e._v("收货方式")]),s("th",[e._v("小计(元)")])])])}],d={name:"OrderPage",data(){return{addresses:[{id:1,name:"郑小工",province:"江苏省",address:"苏州市吴中区文化创意大厦16层",phone:"13000000000",isDefault:!0},{id:2,name:"郑小工",province:"江苏省",address:"苏州市吴中区文化创意大厦16层",phone:"13000000001",isDefault:!1}],selectedAddressIndex:0,selectedTradeType:1,selectedInvoiceType:1,invoiceTitles:[{id:1,name:"苏州特色农产品发展有限公司"},{id:2,name:"个人"},{id:3,name:"苏州科技有限公司"}],selectedInvoiceTitle:null,invoiceAddresses:[{id:1,name:"郑小工",province:"江苏省",address:"苏州市吴中区文化创意大厦16层",phone:"13000000000",isDefault:!0},{id:2,name:"郑小工",province:"江苏省",address:"苏州市吴中区文化创意大厦16层",phone:"13000000001",isDefault:!1}],selectedInvoiceAddressIndex:0,orderGroups:[{supplier:"新疆特色农产品开发有限公司",items:[{image:"https://picsum.photos/50/50?random=1",name:"产品标题产品标题产品标题",spec:"规格名称一样",price:"¥449",quantity:1,freight:"¥0.00",deliveryType:"邮寄",subtotal:"¥449.00"},{image:"https://picsum.photos/50/50?random=2",name:"产品标题产品标题",spec:"规格名称一样",price:"¥199",quantity:1,freight:"¥0.00",deliveryType:"快递",subtotal:"¥199.00"}],remark:""},{supplier:"新疆特色农产品开发有限公司",items:[{image:"https://picsum.photos/50/50?random=3",name:"产品标题产品标题产品标题",spec:"规格名称一样",price:"¥339",quantity:1,freight:"¥0.00",deliveryType:"邮寄",subtotal:"¥339.00"}],remark:""}],totalGoodsCount:3,totalGoodsAmount:973,totalFreight:0,totalPayAmount:973}},computed:{selectedAddress(){return this.addresses[this.selectedAddressIndex]||{}}},methods:{selectAddress(e){this.selectedAddressIndex=e},selectInvoiceAddress(e){this.selectedInvoiceAddressIndex=e},submitOrder(){null!==this.selectedAddressIndex?this.selectedInvoiceTitle?null!==this.selectedInvoiceAddressIndex?this.$message.success("订单提交成功!"):this.$message.warning("请选择收票地址"):this.$message.warning("请选择发票抬头"):this.$message.warning("请选择收货地址")}}},l=d,n=t(1656),r=(0,n.A)(l,a,i,!1,null,"4237bdf4",null),c=r.exports}}]); -//# sourceMappingURL=143.9d51e2ee.js.map \ No newline at end of file diff --git a/dist/js/143.9d51e2ee.js.map b/dist/js/143.9d51e2ee.js.map deleted file mode 100644 index d5f8c3f..0000000 --- a/dist/js/143.9d51e2ee.js.map +++ /dev/null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P,GACA,KAAAI,qBAAAJ,CACA,EAGA0B,oBAAAA,CAAA1B,GACA,KAAAyB,4BAAAzB,CACA,EAGAkD,WAAAA,GAEA,YAAA9C,qBAKA,KAAAgB,qBAKA,YAAAK,4BAKA,KAAA+B,SAAAC,QAAA,WAJA,KAAAD,SAAAE,QAAA,WALA,KAAAF,SAAAE,QAAA,WALA,KAAAF,SAAAE,QAAA,UAiBA,ICzV6P,I,UCQzPC,GAAY,OACd,EACAtE,EACA8D,GACA,EACA,KACA,WACA,MAIF,EAAeQ,E","sources":["webpack://abcdf/./src/views/Order/Index.vue","webpack://abcdf/src/views/Order/Index.vue","webpack://abcdf/./src/views/Order/Index.vue?7896","webpack://abcdf/./src/views/Order/Index.vue?7cca"],"sourcesContent":["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\"}},[_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:\"set-default-btn\",attrs:{\"type\":\"text\"}},[_vm._v(\"设为默认\")]),_c('el-button',{staticClass:\"edit-btn\",attrs:{\"type\":\"text\"}},[_vm._v(\"编辑\")]),_c('el-button',{staticClass:\"delete-btn\",attrs:{\"type\":\"text\"}},[_vm._v(\"删除\")])],1)}),0)]),_c('div',{staticClass:\"trade-type-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"交易方式:\")]),_c('el-radio-group',{model:{value:(_vm.selectedTradeType),callback:function ($$v) {_vm.selectedTradeType=$$v},expression:\"selectedTradeType\"}},[_c('el-radio',{attrs:{\"label\":1}},[_vm._v(\"先款后货\")]),_c('el-radio',{attrs:{\"label\":2}},[_vm._v(\"货到付款\")])],1)],1),_c('h3',[_vm._v(\"发票信息\")]),_c('div',{staticClass:\"invoice-type-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"发票类型:\")]),_c('el-radio-group',{model:{value:(_vm.selectedInvoiceType),callback:function ($$v) {_vm.selectedInvoiceType=$$v},expression:\"selectedInvoiceType\"}},[_c('el-radio',{attrs:{\"label\":1}},[_vm._v(\"增值税普通发票\")]),_c('el-radio',{attrs:{\"label\":2}},[_vm._v(\"普通电子发票\")])],1)],1),_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.name,\"value\":title.id}})}),1),_c('el-button',{staticClass:\"add-title-btn\",attrs:{\"type\":\"text\"}},[_vm._v(\"+ 添加\")])],1),_c('h3',[_vm._v(\"收票地址\")]),_c('div',{staticClass:\"invoice-address-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"收票地址:\")]),_c('div',{staticClass:\"address-content\"},_vm._l((_vm.invoiceAddresses),function(addr,index){return _c('div',{key:index,staticClass:\"saved-address\",class:{ selected: _vm.selectedInvoiceAddressIndex === index },on:{\"click\":function($event){return _vm.selectInvoiceAddress(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:\"set-default-btn\",attrs:{\"type\":\"text\"}},[_vm._v(\"设为默认\")]),_c('el-button',{staticClass:\"edit-btn\",attrs:{\"type\":\"text\"}},[_vm._v(\"编辑\")]),_c('el-button',{staticClass:\"delete-btn\",attrs:{\"type\":\"text\"}},[_vm._v(\"删除\")])],1)}),0)])]),_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)])\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 ","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=4237bdf4&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=4237bdf4&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 \"4237bdf4\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_v","attrs","_l","addresses","addr","index","key","class","selected","selectedAddressIndex","on","$event","selectAddress","_s","name","province","address","phone","model","value","selectedTradeType","callback","$$v","expression","selectedInvoiceType","selectedInvoiceTitle","invoiceTitles","title","id","invoiceAddresses","selectedInvoiceAddressIndex","selectInvoiceAddress","_m","orderGroups","group","groupIndex","supplier","items","item","itemIndex","image","spec","price","quantity","freight","deliveryType","subtotal","remark","$set","_e","totalGoodsCount","totalGoodsAmount","totalFreight","totalPayAmount","selectedAddress","submitOrder","staticRenderFns","data","isDefault","computed","methods","$message","success","warning","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/208.a0feba87.js b/dist/js/208.a0feba87.js new file mode 100644 index 0000000..f9554d9 --- /dev/null +++ b/dist/js/208.a0feba87.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[208],{1734:function(e,i,t){t.d(i,{A:function(){return d}});var a=function(){var e=this,i=e._self._c;return i("el-dialog",{attrs:{title:("add"===e.type?"新增":"编辑")+"收货地址",visible:e.visible,width:"700px"},on:{close:e.handleClose}},[i("el-form",{ref:"addressForm",attrs:{model:e.form,rules:e.rules,"label-width":"100px",size:"small"}},[i("el-form-item",{attrs:{label:"收货人",prop:"username"}},[i("el-input",{attrs:{placeholder:"请填写收货人姓名,限制10个字符",maxlength:"10"},model:{value:e.form.username,callback:function(i){e.$set(e.form,"username",i)},expression:"form.username"}})],1),i("el-form-item",{attrs:{label:"所在地区",prop:"region"}},[i("div",{staticClass:"region-selector"},[i("el-select",{staticClass:"region-select",attrs:{placeholder:"选择省份/直辖市"},on:{change:e.handleProvinceChange},model:{value:e.form.province_id,callback:function(i){e.$set(e.form,"province_id",i)},expression:"form.province_id"}},e._l(e.provinces,function(e){return i("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1),i("el-select",{staticClass:"region-select",attrs:{placeholder:"选择城市",disabled:!e.form.province_id},on:{change:e.handleCityChange},model:{value:e.form.city_id,callback:function(i){e.$set(e.form,"city_id",i)},expression:"form.city_id"}},e._l(e.cities,function(e){return i("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1),i("el-select",{staticClass:"region-select",attrs:{placeholder:"选择县区",disabled:!e.form.city_id},model:{value:e.form.district_id,callback:function(i){e.$set(e.form,"district_id",i)},expression:"form.district_id"}},e._l(e.districts,function(e){return i("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1)],1)]),i("el-form-item",{attrs:{label:"详细地址",prop:"detail_addr"}},[i("el-input",{attrs:{placeholder:"请填写详细地址,限制500个字符",maxlength:"500"},model:{value:e.form.detail_addr,callback:function(i){e.$set(e.form,"detail_addr",i)},expression:"form.detail_addr"}})],1),i("el-form-item",{attrs:{label:"手机号码",prop:"mobile"}},[i("el-input",{attrs:{placeholder:"请填写手机号码,限制11位数字",maxlength:"11",oninput:"value=value.replace(/[^\\d]/g,'')"},model:{value:e.form.mobile,callback:function(i){e.$set(e.form,"mobile",i)},expression:"form.mobile"}})],1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{size:"small"},on:{click:e.handleClose}},[e._v("取消")]),i("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.saveAddress}},[e._v("保存")])],1)],1)},s=[],r=(t(8111),t(2489),t(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,i,t)=>i?/^1[3-9]\d{9}$/.test(i)?void t():t(new Error("请输入正确的11位手机号码")):t(new Error("请输入手机号码")),i=(e,i,t)=>{if(!this.form.province_id||!this.form.city_id||!this.form.district_id)return t(new Error("请完整选择省市区"));t()};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:i,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 i=e.split(" ");if(i.length<3)return;const t=this.provinces.find(e=>e.name===i[0]);t&&(this.form.province_id=t.id,this.$nextTick(()=>{const e=this.cities.find(e=>e.name===i[1]);e&&(this.form.city_id=e.id,this.$nextTick(()=>{const e=this.districts.find(e=>e.name===i[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 i=this.provinces.find(e=>e.id===this.form.province_id),t=this.cities.find(e=>e.id===this.form.city_id),a=this.districts.find(e=>e.id===this.form.district_id);if(!(i&&t&&a))return void this.$message.warning("地区信息不完整");const s={...this.form,region:`${i.name} ${t.name} ${a.name}`};this.$emit("save",s),this.handleClose()})},handleClose(){this.$emit("update:visible",!1)}}}),l=r,n=t(1656),o=(0,n.A)(l,a,s,!1,null,"7d3ebefd",null),d=o.exports},5208:function(e,i,t){t.r(i),t.d(i,{default:function(){return c}});var a=function(){var e=this,i=e._self._c;return i("div",{staticClass:"bg"},[i("el-card",{staticStyle:{width:"100%"}},[i("div",{staticClass:"clearfix flex-between",attrs:{slot:"header"},slot:"header"},[i("div",[e._v(" 收货地址 "),i("span",{staticStyle:{"font-size":"12px",color:"#666"}},[e._v("收票人地址统一使用该地址管理设置")])]),i("el-button",{staticStyle:{float:"right"},attrs:{size:"small",type:"primary"},on:{click:function(i){return e.openDialog("add",{})}}},[e._v("新增地址")])],1),i("el-table",{staticStyle:{width:"100%"},attrs:{data:e.addresses,border:""}},[i("el-table-column",{attrs:{prop:"name",label:"收货人",width:"120"}}),i("el-table-column",{attrs:{prop:"address",label:"收货地址",width:"auto"}}),i("el-table-column",{attrs:{prop:"tel",label:"手机号码",width:"150"}}),i("el-table-column",{attrs:{label:"操作",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-button",{attrs:{size:"mini"},on:{click:function(i){return e.handleEdit(t.row)}}},[e._v("编辑")]),i("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(i){return e.handleDelete(t.row)}}},[e._v("删除")])]}}])})],1),i("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[i("el-pagination",{attrs:{"current-page":e.searchParam.currentPage,"page-sizes":[5,10,20],"page-size":e.searchParam.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.searchParam.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1),i("AddressFormDialog",{attrs:{visible:e.dialogVisible,type:e.dialogType,"initial-data":e.dialogData},on:{"update:visible":function(i){e.dialogVisible=i},save:e.handleSaveAddress}})],1)},s=[],r=t(1734),l={name:"AddressManagement",components:{AddressFormDialog:r.A},data(){return{user:{},searchParam:{pageSize:5,currentPage:1,total:0},dialogVisible:!1,dialogType:"add",dialogData:{},addresses:[]}},mounted(){this.getAddress()},methods:{getAddress(){this.post({contactType:"CONSIGNEE",offset:"0",limit:"100"},"/api/uservice/user/getContactOrConsignee").then(e=>{e&&(this.addresses=e.data||[],this.searchParam.total=this.addresses.length)})},handleSizeChange(e){this.searchParam.pageSize=e,this.searchParam.currentPage=1},handleCurrentChange(e){this.searchParam.currentPage=e},openDialog(e,i){this.dialogType=e,this.dialogData={...i},this.dialogVisible=!0},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)})},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("已取消删除")})}}},n=l,o=t(1656),d=(0,o.A)(n,a,s,!1,null,"b49931c8",null),c=d.exports}}]); +//# sourceMappingURL=208.a0feba87.js.map \ No newline at end of file diff --git a/dist/js/208.a0feba87.js.map b/dist/js/208.a0feba87.js.map new file mode 100644 index 0000000..c7b4c97 --- /dev/null +++ b/dist/js/208.a0feba87.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/208.a0feba87.js","mappings":"yIAAA,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,mBAAm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AEA,mCACAoG,KAAApD,IACA,GAAAA,EAAAsD,OACA,KAAAN,aACA,KAAA9C,SAAAqD,QAAA,cAIAM,MAAA,KACA,KAAA3D,SAAA4D,KAAA,UAEA,IC1LmQ,I,UCQ/PvC,GAAY,OACd,EACAlG,EACAyC,GACA,EACA,KACA,WACA,MAIF,EAAeyD,E","sources":["webpack://abcdf/./src/components/common/AddressFormDialog.vue","webpack://abcdf/src/components/common/AddressFormDialog.vue","webpack://abcdf/./src/components/common/AddressFormDialog.vue?ef45","webpack://abcdf/./src/components/common/AddressFormDialog.vue?6358","webpack://abcdf/./src/views/User/UserAddress.vue","webpack://abcdf/src/views/User/UserAddress.vue","webpack://abcdf/./src/views/User/UserAddress.vue?e7fa","webpack://abcdf/./src/views/User/UserAddress.vue?5d77"],"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","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:\"bg\"},[_c('el-card',{staticStyle:{\"width\":\"100%\"}},[_c('div',{staticClass:\"clearfix flex-between\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('div',[_vm._v(\" 收货地址 \"),_c('span',{staticStyle:{\"font-size\":\"12px\",\"color\":\"#666\"}},[_vm._v(\"收票人地址统一使用该地址管理设置\")])]),_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.addresses,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"收货人\",\"width\":\"120\"}}),_c('el-table-column',{attrs:{\"prop\":\"address\",\"label\":\"收货地址\",\"width\":\"auto\"}}),_c('el-table-column',{attrs:{\"prop\":\"tel\",\"label\":\"手机号码\",\"width\":\"150\"}}),_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.handleEdit(scope.row)}}},[_vm._v(\"编辑\")]),_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){return _vm.handleDelete(scope.row)}}},[_vm._v(\"删除\")])]}}])})],1),_c('div',{staticStyle:{\"text-align\":\"right\",\"margin-top\":\"20px\"}},[_c('el-pagination',{attrs:{\"current-page\":_vm.searchParam.currentPage,\"page-sizes\":[5, 10, 20],\"page-size\":_vm.searchParam.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.searchParam.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1)],1),_c('AddressFormDialog',{attrs:{\"visible\":_vm.dialogVisible,\"type\":_vm.dialogType,\"initial-data\":_vm.dialogData},on:{\"update:visible\":function($event){_vm.dialogVisible = $event},\"save\":_vm.handleSaveAddress}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UserAddress.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!./UserAddress.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UserAddress.vue?vue&type=template&id=b49931c8&scoped=true\"\nimport script from \"./UserAddress.vue?vue&type=script&lang=js\"\nexport * from \"./UserAddress.vue?vue&type=script&lang=js\"\nimport style0 from \"./UserAddress.vue?vue&type=style&index=0&id=b49931c8&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 \"b49931c8\",\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","staticStyle","$event","openDialog","addresses","scopedSlots","_u","fn","scope","handleEdit","row","handleDelete","searchParam","currentPage","pageSize","total","handleSizeChange","handleCurrentChange","dialogVisible","dialogType","dialogData","handleSaveAddress","components","AddressFormDialog","user","getAddress","contactType","offset","limit","then","is_default","code","success","log","tel","$confirm","confirmButtonText","cancelButtonText","catch","info"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/241.231f8707.js b/dist/js/241.231f8707.js deleted file mode 100644 index 43784b5..0000000 --- a/dist/js/241.231f8707.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[241],{6241:function(t,e,s){s.r(e),s.d(e,{default:function(){return c}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[e("div",{staticClass:"normal-margin-bottom"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:"/User/UserCenter"}}},[t._v("个人中心")]),e("el-breadcrumb-item",{attrs:{to:{path:"/User/OrderList"}}},[t._v("我的订单")]),e("el-breadcrumb-item",[t._v(" 订单详情")])],1)],1),e("div",{staticClass:"common-card normal-margin-bottom",staticStyle:{padding:"20px 0",display:"flex"}},[e("div",{staticClass:"order-status"},[e("div",{staticClass:"order-no"},[t._v("订单号: 209907091214560078 "),e("el-button",{staticStyle:{color:"#999"},attrs:{type:"text",icon:"el-icon-document-copy"}})],1),t._m(0),e("el-button",{attrs:{type:"primary",size:"medium"}},[t._v("在线付款")]),e("el-button",{staticStyle:{padding:"0"},attrs:{type:"text",size:"small"}},[t._v("打印订单")])],1),e("div",{staticClass:"order-step"},[e("el-steps",{staticStyle:{width:"100%"},attrs:{active:2,"align-center":""}},t._l(t.activities,function(s,a){return e("el-step",{key:a},[e("div",{staticClass:"process-title",attrs:{slot:"title"},slot:"title"},[t._v(t._s(s.status))]),e("div",{attrs:{slot:"icon"},slot:"icon"},[a>=2?e("span",[t._v(t._s(a+1))]):e("i",{staticClass:"el-icon-check",staticStyle:{color:"#fff"}})]),e("div",{staticClass:"process-description",attrs:{slot:"description"},slot:"description"},[t._v(t._s(s.timestamp))])])}),1)],1)]),e("div",{staticClass:"common-card normal-margin-bottom order-info-card",staticStyle:{display:"flex",padding:"20px 0"}},[e("el-descriptions",{attrs:{title:"订单信息",column:1}},[e("el-descriptions-item",{attrs:{label:"订单号"}},[t._v(t._s(t.orderInfo.orderNumber))]),e("el-descriptions-item",{attrs:{label:"订单状态"}},[t._v(t._s(t.orderInfo.status))]),e("el-descriptions-item",{attrs:{label:"下单时间"}},[t._v(t._s(t.orderInfo.orderTime))])],1),e("el-descriptions",{attrs:{title:"配送信息",column:1}},[e("el-descriptions-item",{attrs:{label:"收货人"}},[t._v(t._s(t.deliveryInfo.receiver))]),e("el-descriptions-item",{attrs:{label:"地址"}},[t._v(t._s(t.deliveryInfo.address))]),e("el-descriptions-item",{attrs:{label:"手机号码"}},[t._v(t._s(t.deliveryInfo.phone))]),e("el-descriptions-item",{attrs:{label:"配送方式"}},[t._v(t._s(t.deliveryInfo.deliveryMethod))]),e("el-descriptions-item",{attrs:{label:"期望送达时间"}},[t._v(t._s(t.deliveryInfo.expectedDeliveryTime))])],1),e("el-descriptions",{staticStyle:{border:"none"},attrs:{title:"支付信息",column:1}},[e("el-descriptions-item",{attrs:{label:"支付方式"}},[t._v(t._s(t.paymentInfo.paymentMethod))]),e("el-descriptions-item",{attrs:{label:"支付状态"}},[t._v(t._s(t.paymentInfo.paymentStatus))]),e("el-descriptions-item",{attrs:{label:"支付时间"}},[t._v(t._s(t.paymentInfo.paymentTime))])],1)],1),e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.productList}},[e("el-table-column",{attrs:{prop:"name",label:"商品名称",align:"center"},scopedSlots:t._u([{key:"default",fn:function({row:s}){return[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticClass:"product-image",attrs:{src:s.image,alt:s.name}}),e("div",[t._v(t._s(s.name))])])]}}])}),e("el-table-column",{attrs:{prop:"spec",label:"规格",align:"center"}}),e("el-table-column",{attrs:{prop:"price",label:"单价(元)",align:"center",width:"200"}}),e("el-table-column",{attrs:{prop:"quantity",label:"数量",align:"center",width:"100"}}),e("el-table-column",{attrs:{prop:"subtotal",label:"小计(元)",align:"center",width:"200"},scopedSlots:t._u([{key:"default",fn:function({row:s}){return[e("div",{staticStyle:{color:"#ff1111"}},[t._v("¥"+t._s(s.subtotal))])]}}])})],1),e("div",{staticClass:"common-card normal-margin-bottom total-card"},[e("el-descriptions",{attrs:{column:1}},[e("el-descriptions-item",{attrs:{label:"商品总价"}},[t._v("¥"+t._s(t.totalPrice.productTotal))]),e("el-descriptions-item",{attrs:{label:"运费"}},[t._v("¥"+t._s(t.totalPrice.shippingFee))]),e("el-descriptions-item",{attrs:{label:"实付款"}},[e("span",{staticStyle:{"font-size":"16px","font-weight":"bold",color:"#ff1111"}},[t._v("¥"+t._s(t.totalPrice.actualPayment))])])],1)],1)],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-title"},[e("i",{staticClass:"el-icon-time",staticStyle:{color:"#ff9800","font-size":"32px"}}),e("span",{staticStyle:{height:"24px","line-height":"24px","padding-left":"5px"}},[t._v("订单状态: 待付款")])])}],l={name:"OrderDetail",data(){return{activities:[{status:"提交订单",timestamp:"2025-08-01 15:30:00"},{status:"支付成功",timestamp:"2025-08-01 15:35:00"},{status:"商家接单",timestamp:"2025-08-01 15:40:00"},{status:"商品出库",timestamp:"2025-08-01 16:00:00"},{status:"配送中",timestamp:"2025-08-01 16:30:00"},{status:"已完成",timestamp:"2025-08-01 17:00:00"}],orderInfo:{orderNumber:"20250801123456",status:"已完成",orderTime:"2025-08-01 15:30:00"},deliveryInfo:{receiver:"张三",address:"北京市海淀区xxx街道xxx小区",phone:"13800138000",deliveryMethod:"快递",expectedDeliveryTime:"2025-08-02"},paymentInfo:{paymentMethod:"支付宝",paymentStatus:"已支付",paymentTime:"2025-08-01 15:35:00"},productList:[{name:"商品1",spec:"规格1",price:100,quantity:1,subtotal:100,image:"https://picsum.photos/200/200?random=1"},{name:"商品2",spec:"规格2",price:200,quantity:2,subtotal:400,image:"https://picsum.photos/200/200?random=1"}],totalPrice:{productTotal:500,shippingFee:0,actualPayment:500}}},computed:{},methods:{}},r=l,o=s(1656),n=(0,o.A)(r,a,i,!1,null,"56d6bf2e",null),c=n.exports}}]); -//# sourceMappingURL=241.231f8707.js.map \ No newline at end of file diff --git a/dist/js/241.231f8707.js.map b/dist/js/241.231f8707.js.map deleted file mode 100644 index b103957..0000000 --- a/dist/js/241.231f8707.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/241.231f8707.js","mappings":"sJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACE,YAAY,wBAAwB,C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C,UAAA,uBACA,CAAAD,OAAA,MAAAC,UAAA,uBACA,CAAAD,OAAA,MAAAC,UAAA,wBAEAC,UAAA,CACAC,YAAA,iBACAH,OAAA,MACAI,UAAA,uBAEAC,aAAA,CACAC,SAAA,KACAC,QAAA,mBACAC,MAAA,cACAC,eAAA,KACAC,qBAAA,cAEAC,YAAA,CACAC,cAAA,MACAC,cAAA,MACAC,YAAA,uBAEAC,YAAA,CACA,CAAAM,KAAA,MAAAQ,KAAA,MAAAC,MAAA,IAAAC,SAAA,EAAAT,SAAA,IAAAF,MAAA,0CACA,CAAAC,KAAA,MAAAQ,KAAA,MAAAC,MAAA,IAAAC,SAAA,EAAAT,SAAA,IAAAF,MAAA,2CAEAG,WAAA,CACAC,aAAA,IACAC,YAAA,EACAC,cAAA,KAGA,EACAM,SAAA,CAEA,EACAC,QAAA,CAEA,GC9ImQ,I,UCQ/PC,GAAY,OACd,EACApD,EACA6C,GACA,EACA,KACA,WACA,MAIF,EAAeO,E","sources":["webpack://abcdf/./src/views/Order/OrderDetail.vue","webpack://abcdf/src/views/Order/OrderDetail.vue","webpack://abcdf/./src/views/Order/OrderDetail.vue?32d4","webpack://abcdf/./src/views/Order/OrderDetail.vue?fd9f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"normal-margin-bottom\"},[_c('el-breadcrumb',{attrs:{\"separator-class\":\"el-icon-arrow-right\"}},[_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/User/UserCenter' }}},[_vm._v(\"个人中心\")]),_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/User/OrderList' }}},[_vm._v(\"我的订单\")]),_c('el-breadcrumb-item',[_vm._v(\" 订单详情\")])],1)],1),_c('div',{staticClass:\"common-card normal-margin-bottom\",staticStyle:{\"padding\":\"20px 0\",\"display\":\"flex\"}},[_c('div',{staticClass:\"order-status\"},[_c('div',{staticClass:\"order-no\"},[_vm._v(\"订单号: 209907091214560078 \"),_c('el-button',{staticStyle:{\"color\":\"#999\"},attrs:{\"type\":\"text\",\"icon\":\"el-icon-document-copy\"}})],1),_vm._m(0),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"}},[_vm._v(\"在线付款\")]),_c('el-button',{staticStyle:{\"padding\":\"0\"},attrs:{\"type\":\"text\",\"size\":\"small\"}},[_vm._v(\"打印订单\")])],1),_c('div',{staticClass:\"order-step\"},[_c('el-steps',{staticStyle:{\"width\":\"100%\"},attrs:{\"active\":2,\"align-center\":\"\"}},_vm._l((_vm.activities),function(item,i){return _c('el-step',{key:i},[_c('div',{staticClass:\"process-title\",attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(_vm._s(item.status))]),_c('div',{attrs:{\"slot\":\"icon\"},slot:\"icon\"},[(i>=2)?_c('span',[_vm._v(_vm._s(i+1))]):_c('i',{staticClass:\"el-icon-check\",staticStyle:{\"color\":\"#fff\"}})]),_c('div',{staticClass:\"process-description\",attrs:{\"slot\":\"description\"},slot:\"description\"},[_vm._v(_vm._s(item.timestamp))])])}),1)],1)]),_c('div',{staticClass:\"common-card normal-margin-bottom order-info-card\",staticStyle:{\"display\":\"flex\",\"padding\":\"20px 0\"}},[_c('el-descriptions',{attrs:{\"title\":\"订单信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"订单号\"}},[_vm._v(_vm._s(_vm.orderInfo.orderNumber))]),_c('el-descriptions-item',{attrs:{\"label\":\"订单状态\"}},[_vm._v(_vm._s(_vm.orderInfo.status))]),_c('el-descriptions-item',{attrs:{\"label\":\"下单时间\"}},[_vm._v(_vm._s(_vm.orderInfo.orderTime))])],1),_c('el-descriptions',{attrs:{\"title\":\"配送信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"收货人\"}},[_vm._v(_vm._s(_vm.deliveryInfo.receiver))]),_c('el-descriptions-item',{attrs:{\"label\":\"地址\"}},[_vm._v(_vm._s(_vm.deliveryInfo.address))]),_c('el-descriptions-item',{attrs:{\"label\":\"手机号码\"}},[_vm._v(_vm._s(_vm.deliveryInfo.phone))]),_c('el-descriptions-item',{attrs:{\"label\":\"配送方式\"}},[_vm._v(_vm._s(_vm.deliveryInfo.deliveryMethod))]),_c('el-descriptions-item',{attrs:{\"label\":\"期望送达时间\"}},[_vm._v(_vm._s(_vm.deliveryInfo.expectedDeliveryTime))])],1),_c('el-descriptions',{staticStyle:{\"border\":\"none\"},attrs:{\"title\":\"支付信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"支付方式\"}},[_vm._v(_vm._s(_vm.paymentInfo.paymentMethod))]),_c('el-descriptions-item',{attrs:{\"label\":\"支付状态\"}},[_vm._v(_vm._s(_vm.paymentInfo.paymentStatus))]),_c('el-descriptions-item',{attrs:{\"label\":\"支付时间\"}},[_vm._v(_vm._s(_vm.paymentInfo.paymentTime))])],1)],1),_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.productList}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"商品名称\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function({row}){return [_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[_c('img',{staticClass:\"product-image\",attrs:{\"src\":row.image,\"alt\":row.name}}),_c('div',[_vm._v(_vm._s(row.name))])])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"spec\",\"label\":\"规格\",\"align\":\"center\"}}),_c('el-table-column',{attrs:{\"prop\":\"price\",\"label\":\"单价(元)\",\"align\":\"center\",\"width\":\"200\"}}),_c('el-table-column',{attrs:{\"prop\":\"quantity\",\"label\":\"数量\",\"align\":\"center\",\"width\":\"100\"}}),_c('el-table-column',{attrs:{\"prop\":\"subtotal\",\"label\":\"小计(元)\",\"align\":\"center\",\"width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function({row}){return [_c('div',{staticStyle:{\"color\":\"#ff1111\"}},[_vm._v(\"¥\"+_vm._s(row.subtotal))])]}}])})],1),_c('div',{staticClass:\"common-card normal-margin-bottom total-card\"},[_c('el-descriptions',{attrs:{\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"商品总价\"}},[_vm._v(\"¥\"+_vm._s(_vm.totalPrice.productTotal))]),_c('el-descriptions-item',{attrs:{\"label\":\"运费\"}},[_vm._v(\"¥\"+_vm._s(_vm.totalPrice.shippingFee))]),_c('el-descriptions-item',{attrs:{\"label\":\"实付款\"}},[_c('span',{staticStyle:{\"font-size\":\"16px\",\"font-weight\":\"bold\",\"color\":\"#ff1111\"}},[_vm._v(\"¥\"+_vm._s(_vm.totalPrice.actualPayment))])])],1)],1)],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"status-title\"},[_c('i',{staticClass:\"el-icon-time\",staticStyle:{\"color\":\"#ff9800\",\"font-size\":\"32px\"}}),_c('span',{staticStyle:{\"height\":\"24px\",\"line-height\":\"24px\",\"padding-left\":\"5px\"}},[_vm._v(\"订单状态: 待付款\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderDetail.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderDetail.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderDetail.vue?vue&type=template&id=56d6bf2e&scoped=true\"\nimport script from \"./OrderDetail.vue?vue&type=script&lang=js\"\nexport * from \"./OrderDetail.vue?vue&type=script&lang=js\"\nimport style0 from \"./OrderDetail.vue?vue&type=style&index=0&id=56d6bf2e&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 \"56d6bf2e\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","path","_v","staticStyle","_m","_l","activities","item","i","key","slot","_s","status","timestamp","orderInfo","orderNumber","orderTime","deliveryInfo","receiver","address","phone","deliveryMethod","expectedDeliveryTime","paymentInfo","paymentMethod","paymentStatus","paymentTime","productList","scopedSlots","_u","fn","row","image","name","subtotal","totalPrice","productTotal","shippingFee","actualPayment","staticRenderFns","data","spec","price","quantity","computed","methods","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/286.8f0d1d9c.js b/dist/js/286.8f0d1d9c.js new file mode 100644 index 0000000..6743e2b --- /dev/null +++ b/dist/js/286.8f0d1d9c.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[286],{1286: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)])},c=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v("商品")])])}],i=(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,i.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({customBaseURL:"/api"},"/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}),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,customBaseURL:"/api"},"/api/cart/update_sku").then(t=>{})},delItem(t){this.post({id:t.id,customBaseURL:"/api"},"/api/cart/del_sku").then(t=>{this.getList()})},deleteSelected(){let t=this.selectedRows.map(t=>t.id).join(",");this.post({ids:t,customBaseURL:"/api"},"/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,c,!1,null,"425bad3e",null),n=r.exports}}]); +//# sourceMappingURL=286.8f0d1d9c.js.map \ No newline at end of file diff --git a/dist/js/286.8f0d1d9c.js.map b/dist/js/286.8f0d1d9c.js.map new file mode 100644 index 0000000..9d2680c --- /dev/null +++ b/dist/js/286.8f0d1d9c.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/286.8f0d1d9c.js","mappings":"sJAAA,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,e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AeoD,E","sources":["webpack://abcdf/./src/views/User/ShoppingCart.vue","webpack://abcdf/src/views/User/ShoppingCart.vue","webpack://abcdf/./src/views/User/ShoppingCart.vue?5cfe","webpack://abcdf/./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","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=425bad3e&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=425bad3e&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 \"425bad3e\",\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","customBaseURL","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/322.693252a2.js b/dist/js/322.693252a2.js new file mode 100644 index 0000000..02dd595 --- /dev/null +++ b/dist/js/322.693252a2.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[322],{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},7322: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(),t.$store.getters.isUserLogin?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/ViewHistory"}},[s("i",{staticClass:"icon el-icon-star-off"}),s("span",[t._v("我的收藏")])]),s("router-link",{staticClass:"icon-item",attrs:{to:"/User/UserCenter"}},[s("i",{staticClass:"icon el-icon-pie-chart"}),s("span",[t._v("议价单")])])],1):t._e()])])}),c=[],o={name:"HomeLayout",props:{topBanner:{type:Array,default:()=>[]},tagList:{type:Array,default:()=>[]}},data(){return{}}},n=o,l=i(1656),d=(0,l.A)(n,r,c,!1,null,"c27a7e04",null),p=d.exports,u=i(2988),g={components:{HomeLayout:p,ProductList:u.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=322.693252a2.js.map \ No newline at end of file diff --git a/dist/js/322.693252a2.js.map b/dist/js/322.693252a2.js.map new file mode 100644 index 0000000..d8afc24 --- /dev/null +++ b/dist/js/322.693252a2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/322.693252a2.js","mappings":"yIAAA,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,YAAY,iBAAiB,CAACF,EAAG,OAAO,CAACE,YAAY,iBAAiB,CAACJ,EAAIkB,GAAG,IAAIlB,EAAImB,GAAGZ,EAAQa,MAAQ,QAASb,EAAQc,aAAcnB,EAAG,OAAO,CAACE,YAAY,kBAAkB,CAACJ,EAAIkB,GAAG,IAAIlB,EAAImB,GAAGZ,EAAQc,aAAe,QAAQrB,EAAIsB,OAAQf,EAAQgB,MAAOrB,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,OAAO,CAACF,EAAIkB,GAAG,MAAM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EACAG,KAAA,2CACAQ,MAAA,KACAiC,cAAA,KACAZ,MACA,8EACAlB,MAAA,IACA+B,WAAA,GAEA,CACA7C,GAAA,EACAG,KAAA,OACAQ,MAAA,IACAiC,cAAA,IACAZ,MACA,8EACAlB,MAAA,IACA+B,WAAA,GAEA,CACA7C,GAAA,EACAG,KAAA,SACAQ,MAAA,IACAiC,cAAA,IACAZ,MACA,8EACAlB,MAAA,IACA+B,WAAA,GAEA,CACA7C,GAAA,GACAG,KAAA,SACAQ,MAAA,IACAiC,cAAA,IACAZ,MACA,8EACAlB,MAAA,IACA+B,WAAA,IAIA,EACAC,OAAAA,GACA,KAAAC,eACA,KAAAC,UACA,KAAAC,gBACA,EACA1B,QAAA,CAEAwB,YAAAA,GACA,KAAAG,KACA,CACAC,QAAA,EACAC,SAAA,GAEA,mBACAC,KAAAC,IACAA,IACA,KAAA7B,UAAA6B,EAAAf,OAGA,EAEAS,OAAAA,GACA,KAAAE,KACA,CACAK,IAAA,KAEA,yBACAF,KAAAC,IACA,KAAA5B,QAAA4B,EAAAf,KACA,KAAAb,QAAA,GAAA1B,GAAA,KAEA,EAEAiD,cAAAA,GACA,KAAAtB,WAAA6B,IAAAC,IACA,KAAAP,KACA,CACAQ,OAAAD,EAAAzD,GACA2D,OAAA,EACAC,MAAA,GAEA,mCACAP,KAAAC,IACAG,EAAA7B,KAAA0B,EAAAf,KAAAX,QAGA,IC7IoP,ICQhP,GAAY,OACd,EACAtC,EACA4B,GACA,EACA,KACA,WACA,MAIF,EAAe,E","sources":["webpack://abcdf/./src/components/product/ProductList.vue","webpack://abcdf/src/components/product/ProductList.vue","webpack://abcdf/./src/components/product/ProductList.vue?43ae","webpack://abcdf/./src/components/product/ProductList.vue?0bfb","webpack://abcdf/./src/views/Index.vue","webpack://abcdf/./src/components/layout/HomeLayout.vue","webpack://abcdf/src/components/layout/HomeLayout.vue","webpack://abcdf/./src/components/layout/HomeLayout.vue?06d9","webpack://abcdf/./src/components/layout/HomeLayout.vue?b436","webpack://abcdf/src/views/Index.vue","webpack://abcdf/./src/views/Index.vue?cb95","webpack://abcdf/./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","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(),(_vm.$store.getters.isUserLogin)?_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/ViewHistory\"}},[_c('i',{staticClass:\"icon el-icon-star-off\"}),_c('span',[_vm._v(\"我的收藏\")])]),_c('router-link',{staticClass:\"icon-item\",attrs:{\"to\":\"/User/UserCenter\"}},[_c('i',{staticClass:\"icon el-icon-pie-chart\"}),_c('span',[_vm._v(\"议价单\")])])],1):_vm._e()])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n ","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./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=c27a7e04&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=c27a7e04&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 \"c27a7e04\",\n null\n \n)\n\nexport default component.exports","\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","data","components","HomeLayout","ProductList","newProducts","originalPrice","categoryId","created","getTopBanner","getTags","getProductList","post","type_id","position","then","res","pid","map","i","tag_id","offset","limit"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/4.e0df9c1a.js b/dist/js/4.e0df9c1a.js deleted file mode 100644 index 7935803..0000000 --- a/dist/js/4.e0df9c1a.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[4],{9004:function(e,t,a){a.r(t),a.d(t,{default:function(){return n}});a(8111),a(116);var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"product-grid-page"},[e.showFilter?t("div",{staticClass:"filter-bar"},[t("el-select",{staticClass:"filter-select",attrs:{placeholder:"全部分类"},on:{change:e.handleCategoryChange},model:{value:e.selectedCategory,callback:function(t){e.selectedCategory=t},expression:"selectedCategory"}},e._l(e.categories,function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),t("el-select",{staticClass:"filter-select",attrs:{placeholder:"综合排序"},on:{change:e.handleSortChange},model:{value:e.selectedSort,callback:function(t){e.selectedSort=t},expression:"selectedSort"}},[t("el-option",{attrs:{label:"综合排序",value:"default"}}),t("el-option",{attrs:{label:"销量↑",value:"sales_asc"}}),t("el-option",{attrs:{label:"销量↓",value:"sales_desc"}}),t("el-option",{attrs:{label:"价格↑",value:"price_asc"}}),t("el-option",{attrs:{label:"价格↓",value:"price_desc"}})],1)],1):e._e(),"search"==e.type?t("div",{staticClass:"result-stats"},[t("span",[e._v("全部结果 >")]),e.searchKeyword?t("span",{staticClass:"keyword"},[e._v('"'+e._s(e.searchKeyword)+'"')]):e._e(),e.selectedCategory&&e.categories.find(t=>t.value===e.selectedCategory)?t("span",{staticClass:"category"},[e._v(' "'+e._s(e.categories.find(t=>t.value===e.selectedCategory).label)+'" ')]):e._e(),t("span",[e._v("共"+e._s(e.totalProducts)+"个结果")])]):e._e(),t("div",{staticClass:"product-grid"},[e._l(e.visibleProducts,function(a,s){return t("div",{key:a.id,staticClass:"product-card",on:{click:function(t){return e.goToDetail(a.id)}}},[t("el-image",{directives:[{name:"lazy",rawName:"v-lazy",value:a.image,expression:"product.image"}],staticClass:"product-img",attrs:{alt:a.name,lazy:"",fit:"cover"}},[t("div",{staticClass:"image-placeholder",attrs:{slot:"placeholder"},slot:"placeholder"},[t("i",{staticClass:"el-icon-loading"})])]),a.tag?t("div",{staticClass:"tag",style:{backgroundColor:a.tagColor}},[e._v(" "+e._s(a.tag)+" ")]):e._e(),t("div",{staticClass:"product-info"},[t("div",{staticClass:"product-name"},[e._v(e._s(a.name))]),t("div",{staticClass:"price-row"},[t("span",{staticClass:"current-price"},[e._v("¥"+e._s(a.price.toFixed(2)))]),a.originalPrice?t("span",{staticClass:"original-price"},[e._v("¥"+e._s(a.originalPrice.toFixed(2)))]):e._e()]),a.sales>0?t("div",{staticClass:"sales-volume"},[t("i",{staticClass:"el-icon-shopping-cart"}),e._v(" 已售 "+e._s(a.sales)+" ")]):e._e(),t("el-button",{staticClass:"cart-btn",attrs:{type:"primary",size:"mini"},on:{click:function(t){return t.preventDefault(),e.addToCart(a)}}},[e._v(" 加入购物车 ")])],1)],1)}),0===e.visibleProducts.length?t("div",{staticClass:"empty-state"},[t("el-empty",{attrs:{description:"暂无符合条件的商品"}})],1):e._e()],2),e.totalProducts>0?t("div",{staticClass:"pagination-container"},[t("el-pagination",{attrs:{"current-page":e.currentPage,"page-sizes":[12,24,36],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.totalProducts},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()])},i=[],r=(a(4114),a(2489),a(3518)),c={name:"ProductGridPage",data(){return{type:"",searchKeyword:"",selectedCategory:"",selectedSort:"default",showFilter:!0,currentPage:1,pageSize:12,products:[{id:1,name:"无线蓝牙耳机 主动降噪长续航",image:"https://picsum.photos/id/101/300/300",price:359,originalPrice:499,category:"digital",tag:"限时折扣",tagColor:"#FF6B6B",sales:120},{id:2,name:"智能手表 心率监测运动计步",image:"https://picsum.photos/id/102/300/300",price:259,originalPrice:329,category:"digital",tag:"新品",tagColor:"#4ECDC4",sales:86},{id:3,name:"纯棉短袖T恤 宽松休闲",image:"https://picsum.photos/id/103/300/300",price:89,originalPrice:129,category:"life",sales:320},{id:4,name:"新鲜水果礼盒 当季混合装",image:"https://picsum.photos/id/104/300/300",price:159,category:"food",tag:"热销",tagColor:"#FF9F1C",sales:215},{id:5,name:"全自动咖啡机 家用小型",image:"https://picsum.photos/id/105/300/300",price:1299,originalPrice:1599,category:"life",sales:45},{id:6,name:"高清投影仪 家用办公两用",image:"https://picsum.photos/id/106/300/300",price:2499,category:"digital",tag:"推荐",tagColor:"#2EC4B6",sales:78},{id:7,name:"进口红酒 赤霞珠干红",image:"https://picsum.photos/id/107/300/300",price:199,originalPrice:258,category:"food",sales:63},{id:8,name:"瑜伽垫 防滑专业健身垫",image:"https://picsum.photos/id/108/300/300",price:129,category:"life",sales:156},{id:9,name:"机械键盘 青轴游戏专用",image:"https://picsum.photos/id/109/300/300",price:299,originalPrice:399,category:"digital",tag:"限时折扣",tagColor:"#FF6B6B",sales:92},{id:10,name:"有机蔬菜礼盒 新鲜配送",image:"https://picsum.photos/id/110/300/300",price:89,category:"food",sales:205},{id:11,name:"北欧风落地灯 客厅卧室",image:"https://picsum.photos/id/111/300/300",price:199,category:"life",sales:57},{id:12,name:"便携式充电宝 20000mAh",image:"https://picsum.photos/id/112/300/300",price:129,originalPrice:169,category:"digital",sales:310}],categories:[{label:"全部",value:""},{label:"美食",value:"food"},{label:"生活",value:"life"},{label:"数码",value:"digital"}]}},computed:{...(0,r.L8)(["getSearchText"]),filteredProducts(){return this.products.filter(e=>{const t=!this.selectedCategory||e.category===this.selectedCategory,a=!this.searchKeyword||e.name.toLowerCase().includes(this.searchKeyword.toLowerCase());return t&&a})},sortedProducts(){const e=[...this.filteredProducts];switch(console.log(...this.filteredProducts,e),this.selectedSort){case"price_asc":return e.sort((e,t)=>e.price-t.price);case"price_desc":return e.sort((e,t)=>t.price-e.price);case"sales_asc":return e.sort((e,t)=>e.sales-t.sales);case"sales_desc":return e.sort((e,t)=>t.sales-e.sales);default:return e.sort((e,t)=>e.id-t.id)}},visibleProducts(){const e=(this.currentPage-1)*this.pageSize,t=e+this.pageSize;return this.sortedProducts.slice(e,t)},totalProducts(){return this.sortedProducts.length}},watch:{getSearchText(e,t){e!==t&&(this.searchKeyword=e,this.fetchProducts())}},created(){this.type=this.$route.query?.type,this.searchKeyword=this.getSearchText,this.fetchProducts()},methods:{async fetchProducts(){console.log(this.getSearchText)},handleSearch(){this.currentPage=1},handleCategoryChange(){this.currentPage=1},handleSortChange(){this.currentPage=1},handleSizeChange(e){this.pageSize=e,this.currentPage=1},handleCurrentChange(e){this.currentPage=e,window.scrollTo(0,0)},addToCart(e){this.$message.success(`${e.name} 已加入购物车`)},goToDetail(e){this.$router.push(`/product/${e}`)}}},l=c,o=a(1656),d=(0,o.A)(l,s,i,!1,null,"16ce8d0c",null),n=d.exports}}]); -//# sourceMappingURL=4.e0df9c1a.js.map \ No newline at end of file diff --git a/dist/js/4.e0df9c1a.js.map b/dist/js/4.e0df9c1a.js.map deleted file mode 100644 index 9cc1a0f..0000000 --- a/dist/js/4.e0df9c1a.js.map +++ /dev/null @@ -1 +0,0 @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A7D,KACA,KAAAE,cAAA,KAAAqD,cACA,KAAAG,eACA,EACAI,QAAA,CAEA,mBAAAJ,GACAZ,QAAAC,IAAA,KAAAQ,cAEA,EAGAQ,YAAAA,GACA,KAAAnC,YAAA,CACA,EAGA3C,oBAAAA,GACA,KAAA2C,YAAA,CACA,EAGA/B,gBAAAA,GACA,KAAA+B,YAAA,CACA,EAGAE,gBAAAA,CAAAkC,GACA,KAAAnC,SAAAmC,EACA,KAAApC,YAAA,CACA,EAGAG,mBAAAA,CAAAiC,GACA,KAAApC,YAAAoC,EAEAC,OAAAC,SAAA,IACA,EAGAxC,SAAAA,CAAAnB,GACA,KAAA4D,SAAAC,QAAA,GAAA7D,EAAAM,cAEA,EAGAF,UAAAA,CAAAF,GACA,KAAA4D,QAAAC,KAAA,YAAA7D,IACA,IC7W6P,I,UCQzP8D,GAAY,OACd,EACA/F,EACAwD,GACA,EACA,KACA,WACA,MAIF,EAAeuC,E","sources":["webpack://abcdf/./src/views/ProductPage/Index.vue","webpack://abcdf/src/views/ProductPage/Index.vue","webpack://abcdf/./src/views/ProductPage/Index.vue?c00e","webpack://abcdf/./src/views/ProductPage/Index.vue?ce43"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-grid-page\"},[(_vm.showFilter)?_c('div',{staticClass:\"filter-bar\"},[_c('el-select',{staticClass:\"filter-select\",attrs:{\"placeholder\":\"全部分类\"},on:{\"change\":_vm.handleCategoryChange},model:{value:(_vm.selectedCategory),callback:function ($$v) {_vm.selectedCategory=$$v},expression:\"selectedCategory\"}},_vm._l((_vm.categories),function(cat){return _c('el-option',{key:cat.value,attrs:{\"label\":cat.label,\"value\":cat.value}})}),1),_c('el-select',{staticClass:\"filter-select\",attrs:{\"placeholder\":\"综合排序\"},on:{\"change\":_vm.handleSortChange},model:{value:(_vm.selectedSort),callback:function ($$v) {_vm.selectedSort=$$v},expression:\"selectedSort\"}},[_c('el-option',{attrs:{\"label\":\"综合排序\",\"value\":\"default\"}}),_c('el-option',{attrs:{\"label\":\"销量↑\",\"value\":\"sales_asc\"}}),_c('el-option',{attrs:{\"label\":\"销量↓\",\"value\":\"sales_desc\"}}),_c('el-option',{attrs:{\"label\":\"价格↑\",\"value\":\"price_asc\"}}),_c('el-option',{attrs:{\"label\":\"价格↓\",\"value\":\"price_desc\"}})],1)],1):_vm._e(),(_vm.type == 'search')?_c('div',{staticClass:\"result-stats\"},[_c('span',[_vm._v(\"全部结果 >\")]),(_vm.searchKeyword)?_c('span',{staticClass:\"keyword\"},[_vm._v(\"\\\"\"+_vm._s(_vm.searchKeyword)+\"\\\"\")]):_vm._e(),(\n _vm.selectedCategory &&\n _vm.categories.find((cat) => cat.value === _vm.selectedCategory)\n )?_c('span',{staticClass:\"category\"},[_vm._v(\" \\\"\"+_vm._s(_vm.categories.find((cat) => cat.value === _vm.selectedCategory).label)+\"\\\" \")]):_vm._e(),_c('span',[_vm._v(\"共\"+_vm._s(_vm.totalProducts)+\"个结果\")])]):_vm._e(),_c('div',{staticClass:\"product-grid\"},[_vm._l((_vm.visibleProducts),function(product,index){return _c('div',{key:product.id,staticClass:\"product-card\",on:{\"click\":function($event){return _vm.goToDetail(product.id)}}},[_c('el-image',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(product.image),expression:\"product.image\"}],staticClass:\"product-img\",attrs:{\"alt\":product.name,\"lazy\":\"\",\"fit\":\"cover\"}},[_c('div',{staticClass:\"image-placeholder\",attrs:{\"slot\":\"placeholder\"},slot:\"placeholder\"},[_c('i',{staticClass:\"el-icon-loading\"})])]),(product.tag)?_c('div',{staticClass:\"tag\",style:({ backgroundColor: product.tagColor })},[_vm._v(\" \"+_vm._s(product.tag)+\" \")]):_vm._e(),_c('div',{staticClass:\"product-info\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(product.name))]),_c('div',{staticClass:\"price-row\"},[_c('span',{staticClass:\"current-price\"},[_vm._v(\"¥\"+_vm._s(product.price.toFixed(2)))]),(product.originalPrice)?_c('span',{staticClass:\"original-price\"},[_vm._v(\"¥\"+_vm._s(product.originalPrice.toFixed(2)))]):_vm._e()]),(product.sales > 0)?_c('div',{staticClass:\"sales-volume\"},[_c('i',{staticClass:\"el-icon-shopping-cart\"}),_vm._v(\" 已售 \"+_vm._s(product.sales)+\" \")]):_vm._e(),_c('el-button',{staticClass:\"cart-btn\",attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){$event.preventDefault();return _vm.addToCart(product)}}},[_vm._v(\" 加入购物车 \")])],1)],1)}),(_vm.visibleProducts.length === 0)?_c('div',{staticClass:\"empty-state\"},[_c('el-empty',{attrs:{\"description\":\"暂无符合条件的商品\"}})],1):_vm._e()],2),(_vm.totalProducts > 0)?_c('div',{staticClass:\"pagination-container\"},[_c('el-pagination',{attrs:{\"current-page\":_vm.currentPage,\"page-sizes\":[12, 24, 36],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.totalProducts},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./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=16ce8d0c&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=16ce8d0c&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 \"16ce8d0c\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","showFilter","attrs","on","handleCategoryChange","model","value","selectedCategory","callback","$$v","expression","_l","categories","cat","key","label","handleSortChange","selectedSort","_e","type","_v","searchKeyword","_s","find","totalProducts","visibleProducts","product","index","id","$event","goToDetail","directives","name","rawName","image","slot","tag","style","backgroundColor","tagColor","price","toFixed","originalPrice","sales","preventDefault","addToCart","length","currentPage","pageSize","handleSizeChange","handleCurrentChange","staticRenderFns","data","products","category","computed","mapGetters","filteredProducts","filter","categoryMatch","keywordMatch","toLowerCase","includes","sortedProducts","sorted","console","log","sort","a","b","start","end","slice","watch","getSearchText","newVal","oldVal","fetchProducts","created","$route","query","methods","handleSearch","val","window","scrollTo","$message","success","$router","push","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/40.e5eed29a.js b/dist/js/40.e5eed29a.js deleted file mode 100644 index 63b7538..0000000 --- a/dist/js/40.e5eed29a.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[40],{4458:function(t,s,i){i.d(s,{A:function(){return u}});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("div",{key:i.id,staticClass:"product-card"},[s("div",{staticClass:"product-img"},[s("router-link",{attrs:{to:`/Detail/${i.id}`}},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:i.headimg,expression:"product.headimg"}],staticClass:"product-pic",attrs:{alt:i.title}})])],1),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"},on:{click:function(s){return t.addToCart(i)}}},[s("el-icon",{attrs:{name:"el-icon-shopping-cart"}}),t._v(" 加入购物车 ")],1)],1)])])}),0),0===t.products.length?s("div",{staticClass:"no-products"},[s("el-empty",{attrs:{description:"暂无相关商品"}})],1):t._e()])},e=[],r=(i(4114),i(3518)),c={name:"ProductList",props:{products:{type:Array,default:()=>[]}},methods:{...(0,r.i0)(["addToCart"]),addToCart(t){this.$store.getters.isUserLogin?(this.addToCart({id:t.id,name:t.name,price:t.price,image:t.image,quantity:1}),this.$message.success("已加入购物车")):this.$confirm("您尚未登录,是否前往登录?","提示",{confirmButtonText:"登录",cancelButtonText:"取消",type:"info"}).then(()=>{this.$router.push({path:"/login",query:{redirect:this.$route.fullPath}})}).catch(()=>{})}}},o=c,n=i(1656),l=(0,n.A)(o,a,e,!1,null,"6ecfbe40",null),u=l.exports},5040: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("router-link",{staticClass:"left-nav",attrs:{to:"/productList"}},[s("ul",{staticClass:"nav-list"},t._l(t.tagList,function(i){return s("li",{key:i.id,staticClass:"nav-item"},[s("img",{attrs:{src:t.util.showImg(i.image),alt:""}}),t._v(t._s(i.name)+" ")])}),0)]),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(),t.$store.getters.isUserLogin?s("div",{staticClass:"func-icons"},[t._m(0),t._m(1),t._m(2),t._m(3)]):t._e(),s("div",{staticClass:"announcement"},[s("el-tag",{attrs:{type:"danger",size:"mini"}},[t._v("公告")]),s("span",[t._v("2099年12月平台重要新规速递")])],1)])],1)}),c=[function(){var t=this,s=t._self._c;return s("div",{staticClass:"icon-item"},[s("i",{staticClass:"icon el-icon-user"}),s("span",[t._v("个人中心")])])},function(){var t=this,s=t._self._c;return s("div",{staticClass:"icon-item"},[s("i",{staticClass:"icon el-icon-goods"}),s("span",[t._v("我的订单")])])},function(){var t=this,s=t._self._c;return s("div",{staticClass:"icon-item"},[s("i",{staticClass:"icon el-icon-star-off"}),s("span",[t._v("我的收藏")])])},function(){var t=this,s=t._self._c;return s("div",{staticClass:"icon-item"},[s("i",{staticClass:"icon el-icon-pie-chart"}),s("span",[t._v("议价单")])])}],o={name:"HomeLayout",props:{topBanner:{type:Array,default:()=>[]},tagList:{type:Array,default:()=>[]}},data(){return{}}},n=o,l=i(1656),u=(0,l.A)(n,r,c,!1,null,"340df0cc",null),d=u.exports,p=i(4458),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(),this.post({},"/api/uservice/user/getMyInfo").then(t=>{})},methods:{getTopBanner(){this.post({type_id:6,position:0},"/api/adv/getAdv").then(t=>{t&&(this.topBanner=t.data)})},getTags(){this.post({pid:662},"/api/product/tag_list").then(t=>{this.tagList=t.data})},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,"17e3f187",null),h=v.exports}}]); -//# sourceMappingURL=40.e5eed29a.js.map \ No newline at end of file diff --git a/dist/js/40.e5eed29a.js.map b/dist/js/40.e5eed29a.js.map deleted file mode 100644 index 8e5012e..0000000 --- a/dist/js/40.e5eed29a.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/40.e5eed29a.js","mappings":"wIAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE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D,EAAA5E,GACA8E,OAAA,EACAC,MAAA,GAEA,mCACAzC,KAAAiC,IACAK,EAAAzB,KAAAoB,EAAAZ,KAAAR,QAGA,IC7IoP,ICQhP,GAAY,OACd,EACA7D,EACA+B,GACA,EACA,KACA,WACA,MAIF,EAAe,E","sources":["webpack://abcdf/./src/components/product/ProductList.vue","webpack://abcdf/src/components/product/ProductList.vue","webpack://abcdf/./src/components/product/ProductList.vue?43ae","webpack://abcdf/./src/components/product/ProductList.vue?0bfb","webpack://abcdf/./src/views/Index.vue","webpack://abcdf/./src/components/layout/HomeLayout.vue","webpack://abcdf/src/components/layout/HomeLayout.vue","webpack://abcdf/./src/components/layout/HomeLayout.vue?06d9","webpack://abcdf/./src/components/layout/HomeLayout.vue?b436","webpack://abcdf/src/views/Index.vue","webpack://abcdf/./src/views/Index.vue?cb95","webpack://abcdf/./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('div',{key:product.id,staticClass:\"product-card\"},[_c('div',{staticClass:\"product-img\"},[_c('router-link',{attrs:{\"to\":`/Detail/${product.id}`}},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(product.headimg),expression:\"product.headimg\"}],staticClass:\"product-pic\",attrs:{\"alt\":product.title}})])],1),_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\"},on:{\"click\":function($event){return _vm.addToCart(product)}}},[_c('el-icon',{attrs:{\"name\":\"el-icon-shopping-cart\"}}),_vm._v(\" 加入购物车 \")],1)],1)])])}),0),(_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","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=6ecfbe40&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=6ecfbe40&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 \"6ecfbe40\",\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('router-link',{staticClass:\"left-nav\",attrs:{\"to\":\"/productList\"}},[_c('ul',{staticClass:\"nav-list\"},_vm._l((_vm.tagList),function(item){return _c('li',{key:item.id,staticClass:\"nav-item\"},[_c('img',{attrs:{\"src\":_vm.util.showImg(item.image),\"alt\":\"\"}}),_vm._v(_vm._s(item.name)+\" \")])}),0)]),_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(),(_vm.$store.getters.isUserLogin)?_c('div',{staticClass:\"func-icons\"},[_vm._m(0),_vm._m(1),_vm._m(2),_vm._m(3)]):_vm._e(),_c('div',{staticClass:\"announcement\"},[_c('el-tag',{attrs:{\"type\":\"danger\",\"size\":\"mini\"}},[_vm._v(\"公告\")]),_c('span',[_vm._v(\"2099年12月平台重要新规速递\")])],1)])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"icon-item\"},[_c('i',{staticClass:\"icon el-icon-user\"}),_c('span',[_vm._v(\"个人中心\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"icon-item\"},[_c('i',{staticClass:\"icon el-icon-goods\"}),_c('span',[_vm._v(\"我的订单\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"icon-item\"},[_c('i',{staticClass:\"icon el-icon-star-off\"}),_c('span',[_vm._v(\"我的收藏\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"icon-item\"},[_c('i',{staticClass:\"icon el-icon-pie-chart\"}),_c('span',[_vm._v(\"议价单\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n ","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./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=340df0cc&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=340df0cc&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 \"340df0cc\",\n null\n \n)\n\nexport default component.exports","\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=17e3f187&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=17e3f187&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 \"17e3f187\",\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","on","$event","addToCart","length","staticRenderFns","props","type","Array","default","methods","mapActions","$store","getters","isUserLogin","image","quantity","$message","success","$confirm","confirmButtonText","cancelButtonText","then","$router","push","path","query","redirect","$route","fullPath","catch","component","topBanner","tagList","prouctList","list","item","util","showImg","head_img","getUserInfo","avatar","_m","data","components","HomeLayout","ProductList","newProducts","originalPrice","categoryId","created","getTopBanner","getTags","getProductList","post","res","type_id","position","pid","map","i","tag_id","offset","limit"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/411.e9addbc3.js b/dist/js/411.e9addbc3.js new file mode 100644 index 0000000..f9eec65 --- /dev/null +++ b/dist/js/411.e9addbc3.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[411],{5411:function(e,t,s){s.r(t),s.d(t,{default:function(){return n}});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"login-page"},[e._m(0),t("div",{staticClass:"form-card"},[t("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:e.form,rules:e.rules,"label-width":"0"}},[t("el-form-item",{attrs:{prop:"phone"}},[t("el-input",{attrs:{placeholder:"请输入手机号码",clearable:"","prefix-icon":"el-icon-phone",maxlength:"11"},model:{value:e.form.phone,callback:function(t){e.$set(e.form,"phone",t)},expression:"form.phone"}})],1),t("el-form-item",{attrs:{prop:"captcha"}},[t("el-input",{staticStyle:{width:"65%"},attrs:{placeholder:"请输入图形验证码",clearable:"","prefix-icon":"el-icon-picture"},model:{value:e.form.captcha,callback:function(t){e.$set(e.form,"captcha",t)},expression:"form.captcha"}}),t("div",{staticClass:"captcha-img",on:{click:e.refreshCaptcha}},[t("img",{staticClass:"captcha-pic",attrs:{src:e.captchaUrl,alt:"图形验证码"}})])],1),"sms"===e.loginType?t("el-form-item",{attrs:{prop:"code"}},[t("el-input",{staticStyle:{width:"65%"},attrs:{placeholder:"请输入验证码",clearable:"","prefix-icon":"el-icon-message"},model:{value:e.form.code,callback:function(t){e.$set(e.form,"code",t)},expression:"form.code"}}),t("el-button",{staticClass:"code-btn",attrs:{type:"primary",disabled:e.codeDisabled},on:{click:e.handleGetCode}},[e._v(" "+e._s(e.codeText)+" ")])],1):e._e(),"password"===e.loginType?t("el-form-item",{attrs:{prop:"password"}},[t("el-input",{attrs:{type:"password",placeholder:"请输入密码",clearable:"","prefix-icon":"el-icon-lock"},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}})],1):e._e(),t("el-form-item",{staticClass:"remember-item"},[t("el-checkbox",{attrs:{size:"mini"},model:{value:e.rememberPhone,callback:function(t){e.rememberPhone=t},expression:"rememberPhone"}},[e._v(" 记住用户名/手机号码 ")])],1),t("el-form-item",[t("el-button",{staticClass:"login-btn",attrs:{type:"primary",loading:e.submitting},on:{click:e.handleLogin}},[e._v(" 立即登录 ")])],1),e._e()],1)],1)])},r=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg-container"},[t("img",{staticClass:"bg-img",attrs:{src:"https://static.ticket.sz-trip.com/shiweisuzhou/pc/login/loginBg.png",alt:"login background"}})])}],a=(s(4114),{name:"Login",data(){return{loginType:"sms",form:{phone:"",code:"",password:"",captcha:""},rules:{phone:[{required:!0,message:"请输入手机号码",trigger:"blur"},{pattern:/^1\d{10}$/,message:"手机号码格式错误",trigger:"blur"}],captcha:[{required:!0,message:"请输入图形验证码",trigger:"blur"},{min:4,max:4,message:"图形验证码为4位字符",trigger:"blur"}],code:[{required:!0,message:"请输入验证码",trigger:"blur"},{pattern:/^\d{6}$/,message:"验证码为6位数字",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"},{min:6,message:"密码至少6位",trigger:"blur"}]},codeText:"获取验证码",codeDisabled:!1,countdown:60,captchaUrl:"",captchaId:"",rememberPhone:!1,submitting:!1,smsCodeId:""}},mounted(){const e=localStorage.getItem("rememberedPhone");e&&(this.form.phone=e,this.rememberPhone=!0),this.refreshCaptcha()},methods:{refreshCaptcha(){this.post({},"/api/uservice/user/getCaptchaImg").then(e=>{e&&(this.captchaUrl=e.data.code,this.captchaId=e.data.id)})},switchLoginType(e){this.loginType=e,this.resetForm()},resetForm(){this.form.code="",this.form.password="",this.form.captcha="",this.$refs.loginForm.resetValidation(),this.refreshCaptcha()},handleGetCode(){this.form.phone?this.form.captcha?this.post({mobile:this.form.phone,captchaCode:this.form.captcha,captchaCodeId:this.captchaId},"/api/uservice/user/getMobileCodeForLogin").then(e=>{if(console.log(e),1==e.code){this.codeDisabled=!0,this.smsCodeId=e.data.id,this.codeText=`重新发送(${this.countdown}s)`;const t=setInterval(()=>{this.countdown--,this.codeText=`重新发送(${this.countdown}s)`,this.countdown<=0&&(clearInterval(t),this.codeText="获取验证码",this.codeDisabled=!1,this.countdown=60)},1e3)}}):this.$message.warning("请先输入图形验证码"):this.$message.warning("请先输入手机号码")},handleLogin(){this.$refs.loginForm.validate(e=>{e&&(this.submitting=!0,this.post({mobile:this.form.phone,smsCodeId:this.smsCodeId,smsCode:this.form.code,fromSource:"PC"},"/api/uservice/user/loginByMobileCode").then(e=>{if(this.submitting=!1,1==e.code){this.$message.success("登录成功!"),this.rememberPhone?localStorage.setItem("rememberedPhone",this.form.phone):localStorage.removeItem("rememberedPhone"),this.$store.commit("USER_LOGIN",{userInfo:e.data,token:e.data.token});const t=localStorage.getItem("redirectPath");this.$router.push(t||"/"),localStorage.removeItem("redirectPath")}}),setTimeout(()=>{},1500))})},goToRegister(){this.$router.push("/Register")}}}),i=a,c=s(1656),l=(0,c.A)(i,o,r,!1,null,"6c83dcbd",null),n=l.exports}}]); +//# sourceMappingURL=411.e9addbc3.js.map \ No newline at end of file diff --git a/dist/js/411.e9addbc3.js.map b/dist/js/411.e9addbc3.js.map new file mode 100644 index 0000000..68f58cc --- /dev/null +++ b/dist/js/411.e9addbc3.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/411.e9addbc3.js","mappings":"sJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,cAAc,CAACJ,EAAIK,GAAG,GAAGH,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,UAAU,CAACI,IAAI,YAAYF,YAAY,aAAaG,MAAM,CAAC,MAAQP,EAAIQ,KAAK,MAAQR,EAAIS,MAAM,cAAc,MAAM,CAACP,EAAG,eAAe,CAACK,MAAM,CAAC,KAAO,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A,IACA,IA3BA,KAAA0B,SAAAC,QAAA,aAJA,KAAAD,SAAAC,QAAA,WAiCA,EAGArC,WAAAA,GACA,KAAAyB,MAAAC,UAAAY,SAAAC,IACAA,IACA,KAAAxC,YAAA,EACA,KAAAmB,KACA,CACAU,OAAA,KAAArD,KAAAI,MACAiC,UAAA,KAAAA,UACA4B,QAAA,KAAAjE,KAAAe,KACAmD,WAAA,MAEA,wCACAtB,KAAAC,IAEA,GADA,KAAArB,YAAA,EACA,GAAAqB,EAAA9B,KAAA,CACA,KAAA8C,SAAAM,QAAA,SAEA,KAAA5C,cACAiB,aAAA4B,QAAA,uBAAApE,KAAAI,OAEAoC,aAAA6B,WAAA,mBAIA,KAAAC,OAAAC,OAAA,cACAC,SAAA3B,EAAAjB,KACA6C,MAAA5B,EAAAjB,KAAA6C,QAIA,MAAAC,EAAAlC,aAAAC,QAAA,gBACA,KAAAkC,QAAAC,KAAAF,GAAA,KACAlC,aAAA6B,WAAA,eACA,IAIAQ,WAAA,OAKA,QAGA,EAGAC,YAAAA,GACA,KAAAH,QAAAC,KAAA,YACA,KChSoP,I,UCQhPG,GAAY,OACd,EACAxF,EACAmC,GACA,EACA,KACA,WACA,MAIF,EAAeqD,E","sources":["webpack://abcdf/./src/views/Login.vue","webpack://abcdf/src/views/Login.vue","webpack://abcdf/./src/views/Login.vue?3cb7","webpack://abcdf/./src/views/Login.vue?a6ee"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"login-page\"},[_vm._m(0),_c('div',{staticClass:\"form-card\"},[_c('el-form',{ref:\"loginForm\",staticClass:\"login-form\",attrs:{\"model\":_vm.form,\"rules\":_vm.rules,\"label-width\":\"0\"}},[_c('el-form-item',{attrs:{\"prop\":\"phone\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入手机号码\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-phone\",\"maxlength\":\"11\"},model:{value:(_vm.form.phone),callback:function ($$v) {_vm.$set(_vm.form, \"phone\", $$v)},expression:\"form.phone\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"captcha\"}},[_c('el-input',{staticStyle:{\"width\":\"65%\"},attrs:{\"placeholder\":\"请输入图形验证码\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-picture\"},model:{value:(_vm.form.captcha),callback:function ($$v) {_vm.$set(_vm.form, \"captcha\", $$v)},expression:\"form.captcha\"}}),_c('div',{staticClass:\"captcha-img\",on:{\"click\":_vm.refreshCaptcha}},[_c('img',{staticClass:\"captcha-pic\",attrs:{\"src\":_vm.captchaUrl,\"alt\":\"图形验证码\"}})])],1),(_vm.loginType === 'sms')?_c('el-form-item',{attrs:{\"prop\":\"code\"}},[_c('el-input',{staticStyle:{\"width\":\"65%\"},attrs:{\"placeholder\":\"请输入验证码\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-message\"},model:{value:(_vm.form.code),callback:function ($$v) {_vm.$set(_vm.form, \"code\", $$v)},expression:\"form.code\"}}),_c('el-button',{staticClass:\"code-btn\",attrs:{\"type\":\"primary\",\"disabled\":_vm.codeDisabled},on:{\"click\":_vm.handleGetCode}},[_vm._v(\" \"+_vm._s(_vm.codeText)+\" \")])],1):_vm._e(),(_vm.loginType === 'password')?_c('el-form-item',{attrs:{\"prop\":\"password\"}},[_c('el-input',{attrs:{\"type\":\"password\",\"placeholder\":\"请输入密码\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-lock\"},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}})],1):_vm._e(),_c('el-form-item',{staticClass:\"remember-item\"},[_c('el-checkbox',{attrs:{\"size\":\"mini\"},model:{value:(_vm.rememberPhone),callback:function ($$v) {_vm.rememberPhone=$$v},expression:\"rememberPhone\"}},[_vm._v(\" 记住用户名/手机号码 \")])],1),_c('el-form-item',[_c('el-button',{staticClass:\"login-btn\",attrs:{\"type\":\"primary\",\"loading\":_vm.submitting},on:{\"click\":_vm.handleLogin}},[_vm._v(\" 立即登录 \")])],1),(false)?_c('div',{staticClass:\"register-guide\"},[_vm._v(\" 首次使用? \"),_c('router-link',{staticClass:\"register-link\",attrs:{\"to\":\"/Register\"},on:{\"click\":_vm.goToRegister}},[_vm._v(\" 点击注册 \")])],1):_vm._e()],1)],1)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg-container\"},[_c('img',{staticClass:\"bg-img\",attrs:{\"src\":\"https://static.ticket.sz-trip.com/shiweisuzhou/pc/login/loginBg.png\",\"alt\":\"login background\"}})])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Login.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!./Login.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=6c83dcbd&scoped=true\"\nimport script from \"./Login.vue?vue&type=script&lang=js\"\nexport * from \"./Login.vue?vue&type=script&lang=js\"\nimport style0 from \"./Login.vue?vue&type=style&index=0&id=6c83dcbd&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 \"6c83dcbd\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_m","ref","attrs","form","rules","model","value","phone","callback","$$v","$set","expression","staticStyle","captcha","on","refreshCaptcha","captchaUrl","loginType","code","codeDisabled","handleGetCode","_v","_s","codeText","_e","password","rememberPhone","submitting","handleLogin","staticRenderFns","name","data","required","message","trigger","pattern","min","max","countdown","captchaId","smsCodeId","mounted","rememberedPhone","localStorage","getItem","methods","post","then","res","id","switchLoginType","type","resetForm","$refs","loginForm","resetValidation","mobile","captchaCode","captchaCodeId","console","log","timer","setInterval","clearInterval","$message","warning","validate","valid","smsCode","fromSource","success","setItem","removeItem","$store","commit","userInfo","token","redirectPath","$router","push","setTimeout","goToRegister","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/446.3d8319df.js b/dist/js/446.3d8319df.js new file mode 100644 index 0000000..d3e8d25 --- /dev/null +++ b/dist/js/446.3d8319df.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[446],{4446:function(e,t,i){i.r(t),i.d(t,{default:function(){return d}});var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg"},[t("el-tabs",{model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[t("el-tab-pane",{attrs:{label:"所有订单",name:"all"}}),t("el-tab-pane",{attrs:{label:"待付款",name:"pendingPayment"}}),t("el-tab-pane",{attrs:{label:"待发货",name:"pendingDelivery"}}),t("el-tab-pane",{attrs:{label:"配送中",name:"delivering"}}),t("el-tab-pane",{attrs:{label:"待评价",name:"pendingReview"}})],1),t("div",{staticClass:"filter-bar"},[t("el-form",{attrs:{inline:!0,model:e.filterForm,size:"small"}},[t("el-form-item",{attrs:{label:"商品名称"}},[t("el-input",{attrs:{placeholder:"请输入商品名称"},model:{value:e.filterForm.keywords,callback:function(t){e.$set(e.filterForm,"keywords",t)},expression:"filterForm.keywords"}})],1),t("el-form-item",{attrs:{label:"订单编号"}},[t("el-input",{attrs:{placeholder:"请输入订单编号"},model:{value:e.filterForm.order_id,callback:function(t){e.$set(e.filterForm,"order_id",t)},expression:"filterForm.order_id"}})],1),t("el-form-item",{attrs:{label:"下单时间"}},[t("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd"},model:{value:e.filterForm.createTime,callback:function(t){e.$set(e.filterForm,"createTime",t)},expression:"filterForm.createTime"}})],1),t("el-form-item",{attrs:{label:"商家名称"}},[t("el-input",{attrs:{placeholder:"请输入商家名称"},model:{value:e.filterForm.merchantName,callback:function(t){e.$set(e.filterForm,"merchantName",t)},expression:"filterForm.merchantName"}})],1),t("el-form-item",{attrs:{label:"交易状态"}},[t("el-select",{staticStyle:{width:"200px"},attrs:{placeholder:"请选择"},model:{value:e.filterForm.tradeStatus,callback:function(t){e.$set(e.filterForm,"tradeStatus",t)},expression:"filterForm.tradeStatus"}},e._l(e.typeList,function(e,i){return t("el-option",{key:i,attrs:{label:e.name,value:e.id}})}),1)],1),t("el-form-item",{attrs:{label:"完成时间"}},[t("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd"},model:{value:e.filterForm.finishTime,callback:function(t){e.$set(e.filterForm,"finishTime",t)},expression:"filterForm.finishTime"}})],1),t("el-form-item",[t("el-button",{staticStyle:{background:"#6a8a27",border:"none"},attrs:{type:"primary"},on:{click:e.search}},[e._v("搜索")])],1),t("el-form-item",[t("el-button",{on:{click:e.reset}},[e._v("重置")])],1)],1)],1),t("div",[e._m(0),e._l(e.orders,function(i){return t("div",{key:i.id,staticClass:"order-card"},[t("div",{staticClass:"order-header flex-between"},[t("div",{staticStyle:{display:"flex"}},[t("div",[e._v("订单号: "+e._s(i.order_id))]),t("div",{staticStyle:{"padding-left":"60px"}},[e._v(" 下单时间:"+e._s(i.create_time)+" ")])]),t("div",{staticClass:"product-status"},[t("el-tag",{attrs:{type:e.getStatusTagType(i.state),size:"small"}},[e._v(e._s(i.state_text))])],1)]),t("div",{staticClass:"order-products"},e._l(i.order_product_list,function(i){return t("div",{key:i.id,staticClass:"product-item"},[t("img",{staticClass:"product-image",attrs:{src:i.product_img}}),t("div",{staticClass:"product-details"},[t("div",{staticClass:"product-name"},[e._v(e._s(i.product_title))]),t("div",{staticClass:"product-spec"},[e._v(e._s(i.sku_name))])]),t("div",{staticClass:"product-price"},[e._v(" ¥"+e._s((i.product_price/100).toFixed(2))+" ")]),t("div",{staticClass:"product-quantity"},[e._v("x"+e._s(i.product_num))]),t("div",{staticClass:"product-total"},[e._v(" ¥"+e._s((i.paid_money/100).toFixed(2))+" ")]),t("div",{staticClass:"product-actions"},[t("el-button",{attrs:{type:"text",size:"mini"}},[e._v(" 商品详情")])],1)])}),0),t("div",{staticClass:"order-footer"},[t("div",{staticClass:"order-summary"},[t("div",{staticClass:"order-amount"},[e._v(" 合计: "),t("strong",[e._v("¥"+e._s((i.paid_money/100).toFixed(2)))]),e._v(" (含运费 ¥"+e._s((i.total_post_fee/100).toFixed(2))+") ")])]),t("div",{staticClass:"order-actions"},[t("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(t){return e.viewOrderDetail(i.order_id)}}},[e._v("订单详情")]),"pendingPayment"===i.status?t("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.payOrder(i.id)}}},[e._v("去付款")]):e._e(),"pendingDelivery"===i.status?t("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(t){return e.remindDelivery(i.id)}}},[e._v("提醒发货")]):e._e(),"delivering"===i.status?t("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(t){return e.checkLogistics(i.id)}}},[e._v("查看物流")]):e._e(),"completed"!==i.status||i.isReviewed?e._e():t("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(t){return e.gotoReview(i.id)}}},[e._v("去评价")])],1)])])}),e.orders.length<=0?t("el-empty",{attrs:{description:"暂无订单"}}):e._e(),t("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[t("el-pagination",{attrs:{"current-page":e.filterForm.currentPage,"page-sizes":[5,10,20],"page-size":e.filterForm.limit,layout:"total, sizes, prev, pager, next, jumper",total:e.filterForm.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],2)],1)},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"order-products",staticStyle:{padding:"0 20px",background:"#f8f9fa","border-top":"1px solid #eee","border-bottom":"1px solid #eee","margin-bottom":"20px"}},[t("div",{staticClass:"product-item"},[t("div",{staticClass:"product-details"},[t("div",{staticClass:"product-name"},[e._v("商品信息")])]),t("div",{staticClass:"product-price"},[e._v("单价(元)")]),t("div",{staticClass:"product-quantity"},[e._v("数量")]),t("div",{staticClass:"product-total"},[e._v("小计(元)")]),t("div",{staticClass:"product-actions"})])])}],s=(i(4114),{name:"OrderList",data(){return{activeTab:"ALL",filterForm:{keywords:"",currentPage:1,limit:10,order_id:"",createTime:null,start_date:"",end_date:"",total:1},typeList:[{name:"全部",id:"ALL"},{name:"待付款",id:"WAIT_PAYMENT"},{name:"待发货",id:"WAIT_POST"},{name:"待使用/出行",id:"WAIT_USE"},{name:"待收货",id:"WAIT_DELIVERY"},{name:"退款/售后",id:"NEED_REFUND"}],orders:[]}},computed:{},mounted(){this.getList()},methods:{getList(){this.post({...this.filterForm,offset:(this.filterForm.currentPage-1)*this.filterForm.limit,customBaseURL:"/api"},"/api/order/list").then(e=>{this.orders=e.data.list,this.filterForm.total=e.data.total})},search(){},reset(){},handleSizeChange(e){this.filterForm.limit=e,this.filterForm.currentPage=1,this.getList()},handleCurrentChange(e){this.filterForm.currentPage=e,this.getList()},getStatusText(e){const t={pendingPayment:"待付款",pendingDelivery:"待发货",delivering:"配送中",completed:"已完成",cancelled:"已取消"};return t[e]||e},getStatusTagType(e){const t={pendingPayment:"warning",pendingDelivery:"info",delivering:"primary",completed:"success",cancelled:"danger"};return t[e]||"default"},payOrder(e){this.$message({message:`订单 ${e} 去付款`,type:"info"})},remindDelivery(e){this.$message({message:`已提醒订单 ${e} 发货`,type:"success"})},checkLogistics(e){this.$message({message:`查看订单 ${e} 物流`,type:"info"})},gotoReview(e){this.$message({message:`去评价订单 ${e}`,type:"info"})},viewOrderDetail(e){this.$router.push({path:"/OrderDetail?id="+e})}}}),l=s,o=i(1656),n=(0,o.A)(l,r,a,!1,null,"0653f094",null),d=n.exports}}]); +//# sourceMappingURL=446.3d8319df.js.map \ No newline at end of file diff --git a/dist/js/446.3d8319df.js.map b/dist/js/446.3d8319df.js.map new file mode 100644 index 0000000..8088795 --- /dev/null +++ b/dist/js/446.3d8319df.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/446.3d8319df.js","mappings":"sJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,UAAU,CAACG,MAAM,CAACC,MAAON,EAAIO,UAAWC,SAAS,SAAUC,GAAMT,EAAIO,UAAUE,CAAG,EAAEC,WAAW,cAAc,CAACR,EAAG,cAAc,CAACS,MAAM,CAAC,MAAQ,OAAO,KAAO,SAAST,EAAG,cAAc,CAACS,MAAM,CAAC,MAAQ,MAAM,KAAO,oBAAoBT,EAAG,cAAc,CAACS,MAAM,CAAC,MAAQ,MAAM,KAAO,qBAAqBT,EAAG,cAAc,CAACS,MAAM,CAAC,MAAQ,MAAM,KAAO,gBAAgBT,EAAG,cAAc,CAACS,MAAM,CAAC,MAAQ,MAAM,KAAO,oBAAoB,GAAGT,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,UAAU,CAACS,MAAM,CAAC,QAAS,EAAK,MAAQX,EAAIY,WAAW,KAAO,UAAU,CAACV,EAAG,eAAe,CAACS,MAAM,CAAC,MAAQ,SAAS,CAACT,EAAG,WAAW,CAACS,MAAM,CAAC,YAAc,WAAWN,MAAM,CAACC,MAAON,EAAIY,WAAWC,SAAUL,SAAS,SAAUC,GAAMT,EAAIc,KAAKd,EAAIY,WAAY,WAAYH,EAAI,EAAEC,WAAW,0BAA0B,GAAGR,EAAG,eAAe,CAACS,MAAM,CAAC,MAAQ,SAAS,CAACT,EAAG,WAAW,CAACS,MAAM,CAAC,YAAc,WAAWN,MAAM,CAACC,MAAON,E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AA,EAGAE,KAAAA,GAAA,EAGAgC,gBAAAA,CAAAgB,GACA,KAAAnE,WAAAiD,MAAAkB,EACA,KAAAnE,WAAAgD,YAAA,EACA,KAAAW,SACA,EAGAP,mBAAAA,CAAAe,GACA,KAAAnE,WAAAgD,YAAAmB,EACA,KAAAR,SACA,EAGAS,aAAAA,CAAA5B,GACA,MAAA6B,EAAA,CACAC,eAAA,MACAC,gBAAA,MACAC,WAAA,MACAC,UAAA,MACAC,UAAA,OAEA,OAAAL,EAAA7B,IAAAA,CACA,EAGAf,gBAAAA,CAAAe,GACA,MAAAmC,EAAA,CACAL,eAAA,UACAC,gBAAA,OACAC,WAAA,UACAC,UAAA,UACAC,UAAA,UAEA,OAAAC,EAAAnC,IAAA,SACA,EAGAC,QAAAA,CAAAmC,GACA,KAAAC,SAAA,CACAC,QAAA,MAAAF,QACAG,KAAA,QAEA,EAGApC,cAAAA,CAAAiC,GACA,KAAAC,SAAA,CACAC,QAAA,SAAAF,OACAG,KAAA,WAEA,EAGAnC,cAAAA,CAAAgC,GACA,KAAAC,SAAA,CACAC,QAAA,QAAAF,OACAG,KAAA,QAEA,EAGAjC,UAAAA,CAAA8B,GACA,KAAAC,SAAA,CACAC,QAAA,SAAAF,IACAG,KAAA,QAEA,EAGAxC,eAAAA,CAAAqC,GACA,KAAAI,QAAAC,KAAA,CACAC,KAAA,mBAAAN,GAEA,KCtViQ,I,UCQ7PO,GAAY,OACd,EACAhG,EACAkE,GACA,EACA,KACA,WACA,MAIF,EAAe8B,E","sources":["webpack://abcdf/./src/views/User/OrderList.vue","webpack://abcdf/src/views/User/OrderList.vue","webpack://abcdf/./src/views/User/OrderList.vue?f8b7","webpack://abcdf/./src/views/User/OrderList.vue?604f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('el-tabs',{model:{value:(_vm.activeTab),callback:function ($$v) {_vm.activeTab=$$v},expression:\"activeTab\"}},[_c('el-tab-pane',{attrs:{\"label\":\"所有订单\",\"name\":\"all\"}}),_c('el-tab-pane',{attrs:{\"label\":\"待付款\",\"name\":\"pendingPayment\"}}),_c('el-tab-pane',{attrs:{\"label\":\"待发货\",\"name\":\"pendingDelivery\"}}),_c('el-tab-pane',{attrs:{\"label\":\"配送中\",\"name\":\"delivering\"}}),_c('el-tab-pane',{attrs:{\"label\":\"待评价\",\"name\":\"pendingReview\"}})],1),_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-input',{attrs:{\"placeholder\":\"请输入商家名称\"},model:{value:(_vm.filterForm.merchantName),callback:function ($$v) {_vm.$set(_vm.filterForm, \"merchantName\", $$v)},expression:\"filterForm.merchantName\"}})],1),_c('el-form-item',{attrs:{\"label\":\"交易状态\"}},[_c('el-select',{staticStyle:{\"width\":\"200px\"},attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.filterForm.tradeStatus),callback:function ($$v) {_vm.$set(_vm.filterForm, \"tradeStatus\", $$v)},expression:\"filterForm.tradeStatus\"}},_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',{attrs:{\"label\":\"完成时间\"}},[_c('el-date-picker',{attrs:{\"type\":\"daterange\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\",\"value-format\":\"yyyy-MM-dd\"},model:{value:(_vm.filterForm.finishTime),callback:function ($$v) {_vm.$set(_vm.filterForm, \"finishTime\", $$v)},expression:\"filterForm.finishTime\"}})],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\"}},[_vm._v(\" 商品详情\")])],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.status === 'pendingPayment')?_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.payOrder(order.id)}}},[_vm._v(\"去付款\")]):_vm._e(),(order.status === 'pendingDelivery')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.remindDelivery(order.id)}}},[_vm._v(\"提醒发货\")]):_vm._e(),(order.status === 'delivering')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.checkLogistics(order.id)}}},[_vm._v(\"查看物流\")]):_vm._e(),(order.status === 'completed' && !order.isReviewed)?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoReview(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)],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"order-products\",staticStyle:{\"padding\":\"0 20px\",\"background\":\"#f8f9fa\",\"border-top\":\"1px solid #eee\",\"border-bottom\":\"1px solid #eee\",\"margin-bottom\":\"20px\"}},[_c('div',{staticClass:\"product-item\"},[_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(\"商品信息\")])]),_c('div',{staticClass:\"product-price\"},[_vm._v(\"单价(元)\")]),_c('div',{staticClass:\"product-quantity\"},[_vm._v(\"数量\")]),_c('div',{staticClass:\"product-total\"},[_vm._v(\"小计(元)\")]),_c('div',{staticClass:\"product-actions\"})])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderList.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderList.vue?vue&type=template&id=0653f094&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=0653f094&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 \"0653f094\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","model","value","activeTab","callback","$$v","expression","attrs","filterForm","keywords","$set","order_id","createTime","merchantName","staticStyle","tradeStatus","_l","typeList","item","i","key","name","id","finishTime","on","search","_v","reset","_m","orders","order","_s","create_time","getStatusTagType","state","state_text","order_product_list","product","product_img","product_title","sku_name","product_price","toFixed","product_num","paid_money","total_post_fee","$event","viewOrderDetail","status","payOrder","_e","remindDelivery","checkLogistics","isReviewed","gotoReview","length","currentPage","limit","total","handleSizeChange","handleCurrentChange","staticRenderFns","data","start_date","end_date","computed","mounted","getList","methods","post","offset","customBaseURL","then","res","list","val","getStatusText","statusMap","pendingPayment","pendingDelivery","delivering","completed","cancelled","typeMap","orderId","$message","message","type","$router","push","path","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/624.1742d542.js b/dist/js/624.1742d542.js new file mode 100644 index 0000000..88f7fd5 --- /dev/null +++ b/dist/js/624.1742d542.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[624],{8624:function(t,e,s){s.r(e),s.d(e,{default:function(){return r}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[t.showNotice?e("div",{staticClass:"notice-bar"},[t._m(0),e("div",{staticClass:"notice-bar__close",on:{click:function(e){t.showNotice=!1}}},[e("i",{staticClass:"el-icon-close"})])]):t._e(),e("el-card",[e("el-row",{attrs:{gutter:20}},t._l(t.headFun,function(s,i){return e("el-col",{key:i,attrs:{xs:24,sm:8,md:8}},[e("router-link",{staticClass:"feature-item",attrs:{to:s.path}},[e("div",{staticClass:"feature-icon"},[e("i",{class:s.icon})]),e("span",{staticClass:"feature-name"},[t._v(t._s(s.title))]),e("el-button",{staticStyle:{"margin-top":"5px"},attrs:{type:"text",size:"mini"}},[t._v("去设置")])],1)],1)}),1)],1),t.userInfo?e("el-card",[e("div",{attrs:{slot:"header"},slot:"header"},[t._v("个人信息")]),e("div",{staticClass:"user-info"},[e("img",{staticClass:"user-avatar",attrs:{src:t.userInfo.avatar,alt:"用户头像"}}),e("div",{staticClass:"user-details"},[e("div",[e("div",{staticClass:"user-name"},[t._v(t._s(t.userInfo.nickname))]),e("div",{staticClass:"user-other-info"},[t._v(" ID: "+t._s(t.userInfo.user_id)+" "),e("el-button",{attrs:{type:"text",size:"mini"},on:{click:t.copyId}},[t._v("复制")])],1),e("div",{staticClass:"user-other-info"},[t._v("手机号: "+t._s(t.userInfo.mobile))])]),e("div",{staticClass:"login-info"},[e("div",{staticClass:"login-section"},[e("div",{staticClass:"login-section-title"},[t._v("当前登录信息")]),e("div",{staticClass:"login-detail"},[t._v("登录设备: Edge浏览器")]),e("div",{staticClass:"login-detail"},[t._v("登录地点: 中国广东深圳")]),e("div",{staticClass:"login-detail"},[t._v("登录时间: 2099-02-23 10:09:50")])]),e("div",{staticClass:"login-section"},[e("div",{staticClass:"login-section-title"},[t._v("上次登录信息")]),e("div",{staticClass:"login-detail"},[t._v("登录设备: 微信小程序")]),e("div",{staticClass:"login-detail"},[t._v("登录地点: 中国广东深圳")]),e("div",{staticClass:"login-detail"},[t._v("登录时间: 2099-02-05 10:46:45")])])])]),e("div",[e("el-button",{staticStyle:{"background-color":"#6a8a27",border:"none"},attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.goPath("/User/UserInfo")}}},[e("i",{staticClass:"el-icon-edit"}),t._v(" 编辑个人信息 ")])],1)])]):t._e(),e("div",{staticClass:"flex-center"},[e("el-card",{staticStyle:{flex:"1"}},[e("div",{attrs:{slot:"header"},slot:"header"},[t._v("我的议价")]),e("div",{staticClass:"feature-grid"},t._l(t.bargaining,function(s,i){return e("div",{key:i,staticClass:"feature-item"},[s.value?e("el-badge",{attrs:{value:s.value,type:"danger"}},[e("div",{staticClass:"feature-icon"},[e("i",{class:s.icon})])]):e("div",{staticClass:"feature-icon"},[e("i",{class:s.icon})]),e("span",{staticClass:"feature-name"},[t._v(t._s(s.title))])],1)}),0)]),e("div",{staticStyle:{width:"20px","flex-shrink":"0"}}),e("el-card",{staticStyle:{flex:"1"}},[e("div",{attrs:{slot:"header"},slot:"header"},[t._v("我的订单")]),e("div",{staticClass:"feature-grid"},t._l(t.order,function(s,i){return e("div",{key:i,staticClass:"feature-item"},[s.value?e("el-badge",{attrs:{value:s.value,type:"danger"}},[e("div",{staticClass:"feature-icon"},[e("i",{class:s.icon})])]):e("div",{staticClass:"feature-icon"},[e("i",{class:s.icon})]),e("span",{staticClass:"feature-name"},[t._v(t._s(s.title))])],1)}),0)])],1)],1)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"notice-bar__content"},[e("i",{staticClass:"el-icon-lightbulb"}),t._v(" 尊敬的采购人,欢迎来到时味苏州企业采购平台!您可以先完成下方的基础设置,方便您更高效的采购。 ")])}],l=(s(4114),{name:"UserCenter",data(){return{showNotice:!0,userId:"200901071124",headFun:[{icon:"el-icon-location",title:"设置收货地址",path:"/User/UserAddress"},{icon:"el-icon-document",title:"设置发票抬头",path:"/User/UserInvoice"},{icon:"el-icon-user",title:"设置采购人信息",path:"/User/PurchaserAdd"}],bargaining:[{icon:"el-icon-time",title:"待回复",path:"",value:2},{icon:"el-icon-truck",title:"已取消",path:"",value:2},{icon:"el-icon-menu",title:"已成交",path:"",value:2}],order:[{icon:"el-icon-time",title:"待付款",path:"",value:2},{icon:"el-icon-truck",title:"未发货",path:"",value:2},{icon:"el-icon-menu",title:"全部订单",path:"",value:2}],userInfo:null}},computed:{},mounted(){this.getUserInfo()},methods:{getUserInfo(){this.post({customBaseURL:"/api"},"/api/uservice/user/getMyInfo").then(t=>{this.userInfo=t.data,console.log(this.userInfo)})},goPath(t){this.$router.push(t)},copyId(){const t=document.createElement("input");t.value=this.userId,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),this.$message({message:"ID已复制",type:"success"})}}}),n=l,c=s(1656),o=(0,c.A)(n,i,a,!1,null,"e57efb46",null),r=o.exports}}]); +//# sourceMappingURL=624.1742d542.js.map \ No newline at end of file diff --git a/dist/js/624.1742d542.js.map b/dist/js/624.1742d542.js.map new file mode 100644 index 0000000..b737274 --- /dev/null +++ b/dist/js/624.1742d542.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/624.1742d542.js","mappings":"sJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAAEJ,EAAIK,WAAYH,EAAG,MAAM,CAACE,YAAY,cAAc,CAACJ,EAAIM,GAAG,GAAGJ,EAAG,MAAM,CAACE,YAAY,oBAAoBG,GAAG,CAAC,MAAQ,SAASC,GAAQR,EAAIK,YAAa,CAAK,IAAI,CAACH,EAAG,IAAI,CAACE,YAAY,sBAAsBJ,EAAIS,KAAKP,EAAG,UAAU,CAACA,EAAG,SAAS,CAACQ,MAAM,CAAC,OAAS,KAAKV,EAAIW,GAAIX,EAAIY,QAAS,SAASC,EAAKC,GAAG,OAAOZ,EAAG,SAAS,CAACa,IAAID,EAAEJ,MAAM,CAAC,GAAK,GAAG,GAAK,EAAE,GAAK,IAAI,CAACR,EAAG,cAAc,CAACE,YAAY,eAAeM,MAAM,CAAC,GAAKG,EAAKG,OAAO,CAACd,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,IAAI,CAACe,MAAMJ,EAAKK,SAAShB,EAAG,OAAO,CAACE,YAAY,gBAAgB,CAACJ,EAAImB,GAAGnB,EAAIoB,GAAGP,EAAKQ,UAAUnB,EAAG,YAAY,CAACoB,YAAY,CAAC,aAAa,OAAOZ,MAAM,CAAC,KAAO,OAAO,KAAO,SAAS,CAACV,EAAImB,GAAG,UAAU,IAAI,EAAE,GAAG,IAAI,GAAInB,EAAIuB,SAAUrB,EAAG,UAAU,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AAAd,KAAA,eAAAG,MAAA,OAAAL,KAAA,GAAAgB,MAAA,IAGAT,SAAA,KAIA,EACAe,SAAA,CAEA,EACAC,OAAAA,GACA,KAAAC,aACA,EACAC,QAAA,CACAD,WAAAA,GAEA,KAAAE,KAAA,CAAAC,cAAA,wCAAAC,KAAAC,IACA,KAAAtB,SAAAsB,EAAAT,KACAU,QAAAC,IAAA,KAAAxB,WAEA,EAEAO,MAAAA,CAAAd,GACA,KAAAgC,QAAAC,KAAAjC,EACA,EAGAY,MAAAA,GACA,MAAAsB,EAAAC,SAAAC,cAAA,SACAF,EAAAlB,MAAA,KAAAK,OACAc,SAAAE,KAAAC,YAAAJ,GACAA,EAAAK,SACAJ,SAAAK,YAAA,QACAL,SAAAE,KAAAI,YAAAP,GAEA,KAAAQ,SAAA,CACAC,QAAA,QACAC,KAAA,WAEA,KClKkQ,I,UCQ9PC,GAAY,OACd,EACA9D,EACAmC,GACA,EACA,KACA,WACA,MAIF,EAAe2B,E","sources":["webpack://abcdf/./src/views/User/UserCenter.vue","webpack://abcdf/src/views/User/UserCenter.vue","webpack://abcdf/./src/views/User/UserCenter.vue?f7cc","webpack://abcdf/./src/views/User/UserCenter.vue?715c"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[(_vm.showNotice)?_c('div',{staticClass:\"notice-bar\"},[_vm._m(0),_c('div',{staticClass:\"notice-bar__close\",on:{\"click\":function($event){_vm.showNotice = false}}},[_c('i',{staticClass:\"el-icon-close\"})])]):_vm._e(),_c('el-card',[_c('el-row',{attrs:{\"gutter\":20}},_vm._l((_vm.headFun),function(item,i){return _c('el-col',{key:i,attrs:{\"xs\":24,\"sm\":8,\"md\":8}},[_c('router-link',{staticClass:\"feature-item\",attrs:{\"to\":item.path}},[_c('div',{staticClass:\"feature-icon\"},[_c('i',{class:item.icon})]),_c('span',{staticClass:\"feature-name\"},[_vm._v(_vm._s(item.title))]),_c('el-button',{staticStyle:{\"margin-top\":\"5px\"},attrs:{\"type\":\"text\",\"size\":\"mini\"}},[_vm._v(\"去设置\")])],1)],1)}),1)],1),(_vm.userInfo)?_c('el-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"个人信息\")]),_c('div',{staticClass:\"user-info\"},[_c('img',{staticClass:\"user-avatar\",attrs:{\"src\":_vm.userInfo.avatar,\"alt\":\"用户头像\"}}),_c('div',{staticClass:\"user-details\"},[_c('div',[_c('div',{staticClass:\"user-name\"},[_vm._v(_vm._s(_vm.userInfo.nickname))]),_c('div',{staticClass:\"user-other-info\"},[_vm._v(\" ID: \"+_vm._s(_vm.userInfo.user_id)+\" \"),_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":_vm.copyId}},[_vm._v(\"复制\")])],1),_c('div',{staticClass:\"user-other-info\"},[_vm._v(\"手机号: \"+_vm._s(_vm.userInfo.mobile))])]),_c('div',{staticClass:\"login-info\"},[_c('div',{staticClass:\"login-section\"},[_c('div',{staticClass:\"login-section-title\"},[_vm._v(\"当前登录信息\")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\"登录设备: Edge浏览器\")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\"登录地点: 中国广东深圳\")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\"登录时间: 2099-02-23 10:09:50\")])]),_c('div',{staticClass:\"login-section\"},[_c('div',{staticClass:\"login-section-title\"},[_vm._v(\"上次登录信息\")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\"登录设备: 微信小程序\")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\"登录地点: 中国广东深圳\")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\"登录时间: 2099-02-05 10:46:45\")])])])]),_c('div',[_c('el-button',{staticStyle:{\"background-color\":\"#6a8a27\",\"border\":\"none\"},attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.goPath('/User/UserInfo')}}},[_c('i',{staticClass:\"el-icon-edit\"}),_vm._v(\" 编辑个人信息 \")])],1)])]):_vm._e(),_c('div',{staticClass:\"flex-center\"},[_c('el-card',{staticStyle:{\"flex\":\"1\"}},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"我的议价\")]),_c('div',{staticClass:\"feature-grid\"},_vm._l((_vm.bargaining),function(item,i){return _c('div',{key:i,staticClass:\"feature-item\"},[(item.value)?_c('el-badge',{attrs:{\"value\":item.value,\"type\":\"danger\"}},[_c('div',{staticClass:\"feature-icon\"},[_c('i',{class:item.icon})])]):_c('div',{staticClass:\"feature-icon\"},[_c('i',{class:item.icon})]),_c('span',{staticClass:\"feature-name\"},[_vm._v(_vm._s(item.title))])],1)}),0)]),_c('div',{staticStyle:{\"width\":\"20px\",\"flex-shrink\":\"0\"}}),_c('el-card',{staticStyle:{\"flex\":\"1\"}},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"我的订单\")]),_c('div',{staticClass:\"feature-grid\"},_vm._l((_vm.order),function(item,i){return _c('div',{key:i,staticClass:\"feature-item\"},[(item.value)?_c('el-badge',{attrs:{\"value\":item.value,\"type\":\"danger\"}},[_c('div',{staticClass:\"feature-icon\"},[_c('i',{class:item.icon})])]):_c('div',{staticClass:\"feature-icon\"},[_c('i',{class:item.icon})]),_c('span',{staticClass:\"feature-name\"},[_vm._v(_vm._s(item.title))])],1)}),0)])],1)],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"notice-bar__content\"},[_c('i',{staticClass:\"el-icon-lightbulb\"}),_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!./UserCenter.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!./UserCenter.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UserCenter.vue?vue&type=template&id=e57efb46&scoped=true\"\nimport script from \"./UserCenter.vue?vue&type=script&lang=js\"\nexport * from \"./UserCenter.vue?vue&type=script&lang=js\"\nimport style0 from \"./UserCenter.vue?vue&type=style&index=0&id=e57efb46&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 \"e57efb46\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","showNotice","_m","on","$event","_e","attrs","_l","headFun","item","i","key","path","class","icon","_v","_s","title","staticStyle","userInfo","slot","avatar","nickname","user_id","copyId","mobile","goPath","bargaining","value","order","staticRenderFns","name","data","userId","computed","mounted","getUserInfo","methods","post","customBaseURL","then","res","console","log","$router","push","input","document","createElement","body","appendChild","select","execCommand","removeChild","$message","message","type","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/639.edae0537.js b/dist/js/639.edae0537.js deleted file mode 100644 index dda1fd5..0000000 --- a/dist/js/639.edae0537.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[639],{4639:function(t,e,i){i.r(e),i.d(e,{default:function(){return g}});var s=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"product-detail-container"},[e("div",{staticClass:"left-section"},[e("el-carousel",{ref:"carousel",staticClass:"product-carousel",attrs:{height:"500px","indicator-position":"none"},on:{change:t.handleCarouselChange}},t._l(t.info.listimg,function(t,i){return e("el-carousel-item",{key:i},[e("img",{staticClass:"carousel-img",attrs:{src:t,alt:`商品图片${i+1}`}})])}),1),e("div",{staticClass:"hint-text"},[t._v(" 温馨提示:以上图片仅供参考,若图片与实物有所不同,则以实物为准。 ")]),e("div",{staticClass:"image-indicators"},t._l(t.info.listimg,function(i,s){return e("div",{key:s,staticClass:"indicator-item",class:{active:t.activeIndex===s},on:{click:function(e){return t.handleIndicatorClick(s)}}},[e("img",{staticClass:"indicator-img",attrs:{src:i,alt:`缩略图${s+1}`}})])}),0)],1),e("div",{staticClass:"right-section"},[e("h2",{staticClass:"product-title"},[t._v(" "+t._s(t.info.title)+" ")]),e("div",{staticClass:"product-tags"},[t._l(t.info.display_tags.split(","),function(i,s){return e("el-tag",{key:s,staticStyle:{"margin-right":"5px"},attrs:{effect:"dark",size:"mini"}},[t._v(t._s(i))])}),e("span",{staticClass:"subtitle"},[t._v(t._s(t.info.subtitle))])],2),e("div",{staticClass:"price-info"},[e("span",{staticClass:"price-label"},[t._v("售价")]),e("span",{staticClass:"price-amount"},[t._v("¥"+t._s(t.info.price/100))]),e("span",{staticClass:"sales-volume"},[t._v("已售 "+t._s(t.info.sales_number))])]),e("div",{staticClass:"product-attr"},[e("div",{staticClass:"attr-item"},[e("span",{staticClass:"attr-label"},[t._v("起订量")]),e("span",{staticClass:"attr-value"},[t._v(t._s(t.moq))])]),e("div",{staticClass:"attr-item"},[e("span",{staticClass:"attr-label"},[t._v("收货方式")]),e("span",{staticClass:"attr-value"},[t._v(t._s(t.deliveryMethod))])]),e("div",{staticClass:"attr-item spec-group"},[e("span",{staticClass:"attr-label"},[t._v("商品规格")]),e("div",{staticClass:"custom-radio-group"},t._l(t.info.sku,function(i,s){return e("label",{key:s,staticClass:"custom-radio",class:{"is-checked":t.selectedSpec===s},on:{click:function(e){t.selectedSpec=s}}},[e("span",{staticClass:"radio-text"},[t._v(t._s(i.sku_name))])])}),0)]),e("div",{staticClass:"attr-item"},[e("span",{staticClass:"attr-label"},[t._v("发货地")]),e("span",{staticClass:"attr-value"},[t._v(t._s(t.info.supplier_address))])]),e("div",{staticClass:"attr-item"},[e("span",{staticClass:"attr-label"},[t._v("其他")]),e("span",{staticClass:"attr-value"},[t._v(t._s(t.otherInfo))])]),e("div",{staticClass:"attr-item"},[e("span",{staticClass:"attr-label"},[t._v("配送范围")]),e("span",{staticClass:"attr-value"},[t._v(t._s(t.deliveryRange))])])]),e("div",{staticClass:"quantity-control"},[e("el-button",{attrs:{icon:"el-icon-minus",circle:""},on:{click:t.decreaseQuantity}}),e("span",{staticClass:"quantity-value"},[t._v(t._s(t.quantity))]),e("el-button",{attrs:{icon:"el-icon-plus",circle:""},on:{click:t.increaseQuantity}}),e("el-button",{staticClass:"buy-btn",attrs:{type:"primary"}},[t._v("一口价购买")]),e("el-button",{staticClass:"cart-btn",attrs:{type:"success"}},[t._v("加入购物车")]),e("el-button",{staticClass:"bargain-btn",attrs:{type:"info"}},[t._v("议价")]),e("el-button",{staticClass:"share-btn",attrs:{icon:"el-icon-share",circle:""},on:{click:t.handleShare}})],1)])]),e("div",{staticClass:"product-bottom"},[e("div",{staticClass:"hot-recommend-sidebar"},[e("div",{staticClass:"hot-title"},[t._v("热销推荐")]),t._l(t.hotRecommendData,function(i,s){return e("div",{key:s,staticClass:"product-item"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:i.imgUrl,expression:"item.imgUrl"}],attrs:{alt:""}}),e("div",{staticClass:"product-name"},[t._v(t._s(i.title))]),e("div",{staticClass:"product-price"},[t._v("¥"+t._s(i.price))])])})],2),e("div",{staticClass:"product-right"},[e("div",{staticClass:"product-tabs"},[e("span",{class:["tab-item",{active:!t.tabIndex}],on:{click:function(e){t.tabIndex=0}}},[t._v("商品详情")]),e("span",{class:["tab-item",{active:t.tabIndex}],on:{click:function(e){t.tabIndex=1}}},[t._v("商品评价(125)")])]),e("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))}}),e("Evaluate",{directives:[{name:"show",rawName:"v-show",value:t.tabIndex,expression:"tabIndex"}]})],1)])])},a=[],r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"product-review-section"},[e("div",{staticClass:"review-header"},[e("div",{staticClass:"rating-box"},[e("div",{staticClass:"rating-score"},[t._v(t._s(t.averageScore)+" 分")]),e("div",{staticClass:"rating-text"},[t._v("综合评分 (共 "+t._s(t.totalReviews)+" 条)")])]),e("div",{staticClass:"filter-tabs"},[e("div",{staticClass:"tab-item",class:{active:"all"===t.activeFilter},on:{click:function(e){return t.handleFilterChange("all")}}},[t._v(" 全部("+t._s(t.totalReviews)+") ")]),e("div",{staticClass:"tab-item",class:{active:"image"===t.activeFilter},on:{click:function(e){return t.handleFilterChange("image")}}},[t._v(" 有图("+t._s(t.hasImageCount)+") ")]),e("div",{staticClass:"tab-item",class:{active:"good"===t.activeFilter},on:{click:function(e){return t.handleFilterChange("good")}}},[t._v(" 好评("+t._s(t.goodReviewsCount)+") ")]),e("div",{staticClass:"tab-item",class:{active:"medium"===t.activeFilter},on:{click:function(e){return t.handleFilterChange("medium")}}},[t._v(" 中评("+t._s(t.mediumReviewsCount)+") ")]),e("div",{staticClass:"tab-item",class:{active:"bad"===t.activeFilter},on:{click:function(e){return t.handleFilterChange("bad")}}},[t._v(" 差评("+t._s(t.badReviewsCount)+") ")])])]),e("div",{staticClass:"review-list"},[t._l(t.currentPageReviews,function(i,s){return e("div",{key:i.id,staticClass:"review-item"},[e("div",{staticClass:"user-info"},[e("img",{staticClass:"avatar",attrs:{src:i.avatar,alt:i.userName+"的头像"}}),e("div",{staticClass:"user-name"},[t._v(t._s(i.userName))]),e("div",{staticClass:"rating-stars"},t._l(5,function(s){return e("span",{key:s},[t._v(" "+t._s(s<=i.rating?"★":"☆")+" ")])}),0)]),e("div",{staticClass:"review-content",class:{empty:!i.content}},[t._v(" "+t._s(i.content||"该用户没有填写评价内容")+" ")]),i.images&&i.images.length?e("div",{staticClass:"review-images"},t._l(i.images,function(s,a){return e("img",{key:a,attrs:{src:s,alt:`${i.userName}的评价图片${a+1}`},on:{click:function(e){return t.openPreview(i.images,a)}}})}),0):t._e(),e("div",{staticClass:"review-time"},[t._v(t._s(i.time))])])}),0===t.filteredReviews.length?e("div",{staticClass:"empty-state"},[e("el-empty",{attrs:{description:"暂无符合条件的评价"}})],1):t._e()],2),t.filteredReviews.length>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.filteredReviews.length},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e(),e("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(e){t.previewVisible=e}}},[e("div",{staticClass:"preview-container"},[e("el-button",{staticClass:"preview-btn prev-btn",attrs:{icon:"el-icon-arrow-left",circle:"",disabled:0===t.previewIndex},on:{click:function(e){return t.changePreview("prev")}}}),e("div",{staticClass:"preview-img-wrapper"},[e("img",{staticClass:"preview-img",attrs:{src:t.previewImages[t.previewIndex],alt:`预览图片 ${t.previewIndex+1}`}})]),e("el-button",{staticClass:"preview-btn next-btn",attrs:{icon:"el-icon-arrow-right",circle:"",disabled:t.previewIndex===t.previewImages.length-1},on:{click:function(e){return t.changePreview("next")}}})],1)])],1)},n=[],c=(i(8111),i(2489),i(8237),i(9143)),l={name:"ProductReviews",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,e)=>t+e.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,e=t+this.pageSize;return this.filteredReviews.slice(t,e)}},methods:{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,e){this.previewImages=t,this.previewIndex=e,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=l,d=i(1656),u=(0,d.A)(o,r,n,!1,null,"3412a0b2",null),p=u.exports,v={name:"ProductDetail",components:{Evaluate:p},data(){return{info:{},activeIndex:0,productCount:"52个",productSubtitle:"副标题",moq:1,deliveryMethod:"邮寄",selectedSpec:0,otherInfo:"下单填写留言,即免费赠送精美贺卡!",deliveryRange:"全国(可配送至全国1000多个城市,苏州市区内免配送费)",quantity:1,hotRecommendData:[{id:1,imgUrl:"https://picsum.photos/id/103/500/500",title:"北欧花艺素雅仿真花",price:359},{id:2,imgUrl:"https://picsum.photos/id/103/500/500",title:"生日玫瑰鲜花",price:359},{id:3,imgUrl:"https://picsum.photos/id/103/500/500",title:"香雪兰小苍兰鲜花",price:359},{id:4,imgUrl:"https://picsum.photos/id/103/500/500",title:"现代创意简约仿真花艺",price:359}],tabIndex:0}},methods:{handleCarouselChange(t){this.activeIndex=t},handleIndicatorClick(t){this.activeIndex=t,this.$nextTick(()=>{this.$refs.carousel&&this.$refs.carousel.setActiveItem(t)})},decreaseQuantity(){this.quantity>1&&this.quantity--},increaseQuantity(){this.quantity++},handleShare(){this.$message.info("分享功能待实现")}},mounted(){this.$refs.carousel||console.warn("轮播组件未正确加载,请检查ref属性是否设置"),this.get({id:this.$route.params.id},"/api/product/get_product_detail").then(t=>{this.info=t.data})}},m=v,h=(0,d.A)(m,s,a,!1,null,"6a5a5b52",null),g=h.exports}}]); -//# sourceMappingURL=639.edae0537.js.map \ No newline at end of file diff --git a/dist/js/639.edae0537.js.map b/dist/js/639.edae0537.js.map deleted file mode 100644 index 88ef54b..0000000 --- a/dist/js/639.edae0537.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/639.edae0537.js","mappings":"sJAAA,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,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xF,IAAA,EACAC,eAAA,KACAI,aAAA,EACAG,UAAA,oBACAC,cAAA,+BACAE,SAAA,EACAG,iBAAA,CACA,CACAuB,GAAA,EACAlB,OAAA,uCACA3B,MAAA,YACAM,MAAA,KAEA,CACAuC,GAAA,EACAlB,OAAA,uCACA3B,MAAA,SACAM,MAAA,KAEA,CACAuC,GAAA,EACAlB,OAAA,uCACA3B,MAAA,WACAM,MAAA,KAEA,CACAuC,GAAA,EACAlB,OAAA,uCACA3B,MAAA,aACAM,MAAA,MAGAuB,SAAA,EAEA,EACAsD,QAAA,CAEAjG,oBAAAA,CAAAK,GACA,KAAAK,YAAAL,CACA,EAGAO,oBAAAA,CAAAP,GAEA,KAAAK,YAAAL,EAGA,KAAAoG,UAAA,KACA,KAAAM,MAAAC,UAEA,KAAAD,MAAAC,SAAAC,cAAA5G,IAGA,EAEA2B,gBAAAA,GACA,KAAAC,SAAA,GACA,KAAAA,UAEA,EAEAC,gBAAAA,GACA,KAAAD,UACA,EAEAE,WAAAA,GACA,KAAA+E,SAAAhH,KAAA,UACA,GAEAiH,OAAAA,GAEA,KAAAJ,MAAAC,UACAI,QAAAC,KAAA,0BAGA,KAAAC,IACA,CAAA3D,GAAA,KAAA4D,OAAAC,OAAA7D,IACA,mCACA8D,KAAAC,IACA,KAAAxH,KAAAwH,EAAArC,MAEA,GC3Q6P,ICQzP,GAAY,OACd,EACA9F,EACAyD,GACA,EACA,KACA,WACA,MAIF,EAAe,E","sources":["webpack://abcdf/./src/views/Detail/Index.vue","webpack://abcdf/./src/components/product/Evaluate.vue","webpack://abcdf/src/components/product/Evaluate.vue","webpack://abcdf/./src/components/product/Evaluate.vue?9dbf","webpack://abcdf/./src/components/product/Evaluate.vue?9ce1","webpack://abcdf/src/views/Detail/Index.vue","webpack://abcdf/./src/views/Detail/Index.vue?1ab6","webpack://abcdf/./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._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))])}),_c('span',{staticClass:\"subtitle\"},[_vm._v(_vm._s(_vm.info.subtitle))])],2),_c('div',{staticClass:\"price-info\"},[_c('span',{staticClass:\"price-label\"},[_vm._v(\"售价\")]),_c('span',{staticClass:\"price-amount\"},[_vm._v(\"¥\"+_vm._s(_vm.info.price / 100))]),_c('span',{staticClass:\"sales-volume\"},[_vm._v(\"已售 \"+_vm._s(_vm.info.sales_number))])]),_c('div',{staticClass:\"product-attr\"},[_c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"起订量\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(_vm._s(_vm.moq))])]),_c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"收货方式\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(_vm._s(_vm.deliveryMethod))])]),_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)]),_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\"}},[_vm._v(\"一口价购买\")]),_c('el-button',{staticClass:\"cart-btn\",attrs:{\"type\":\"success\"}},[_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\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(item.imgUrl),expression:\"item.imgUrl\"}],attrs:{\"alt\":\"\"}}),_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(item.title))]),_c('div',{staticClass:\"product-price\"},[_vm._v(\"¥\"+_vm._s(item.price))])])})],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\"}]})],1)])])\n}\nvar staticRenderFns = []\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 ","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=3412a0b2&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=3412a0b2&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 \"3412a0b2\",\n null\n \n)\n\nexport default component.exports","\r\n\r\n\r\n\r\n\r\n ","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=6a5a5b52&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=6a5a5b52&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 \"6a5a5b52\",\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","split","item","staticStyle","subtitle","price","sales_number","moq","deliveryMethod","sku","spec","idx","selectedSpec","sku_name","supplier_address","otherInfo","deliveryRange","decreaseQuantity","quantity","increaseQuantity","handleShare","hotRecommendData","directives","name","rawName","value","imgUrl","expression","tabIndex","domProps","util","formateRichText","content","staticRenderFns","averageScore","totalReviews","activeFilter","handleFilterChange","hasImageCount","goodReviewsCount","mediumReviewsCount","badReviewsCount","currentPageReviews","review","id","avatar","userName","star","rating","empty","images","length","imgIndex","openPreview","_e","time","filteredReviews","currentPage","pageSize","handleSizeChange","handleCurrentChange","previewVisible","previewIndex","previewImages","changePreview","components","ElEmpty","Empty","ElPagination","Pagination","data","reviews","computed","filter","sum","reduce","total","toFixed","result","startIndex","endIndex","slice","methods","filterType","val","document","querySelector","scrollIntoView","behavior","type","$nextTick","textContent","component","Evaluate","productCount","productSubtitle","$refs","carousel","setActiveItem","$message","mounted","console","warn","get","$route","params","then","res"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/64.57193698.js b/dist/js/64.57193698.js deleted file mode 100644 index b03d985..0000000 --- a/dist/js/64.57193698.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[64],{1064:function(t,e,s){s.r(e),s.d(e,{default:function(){return r}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[t.showNotice?e("div",{staticClass:"notice-bar"},[t._m(0),e("div",{staticClass:"notice-bar__close",on:{click:function(e){t.showNotice=!1}}},[e("i",{staticClass:"el-icon-close"})])]):t._e(),e("el-card",[e("el-row",{attrs:{gutter:20}},t._l(t.headFun,function(s,i){return e("el-col",{key:i,attrs:{xs:24,sm:8,md:8}},[e("router-link",{staticClass:"feature-item",attrs:{to:s.path}},[e("div",{staticClass:"feature-icon"},[e("i",{class:s.icon})]),e("span",{staticClass:"feature-name"},[t._v(t._s(s.title))]),e("el-button",{staticStyle:{"margin-top":"5px"},attrs:{type:"text",size:"mini"}},[t._v("去设置")])],1)],1)}),1)],1),t.userInfo?e("el-card",[e("div",{attrs:{slot:"header"},slot:"header"},[t._v("个人信息")]),e("div",{staticClass:"user-info"},[e("img",{staticClass:"user-avatar",attrs:{src:t.userInfo.avatar,alt:"用户头像"}}),e("div",{staticClass:"user-details"},[e("div",[e("div",{staticClass:"user-name"},[t._v(t._s(t.userInfo.nickname))]),e("div",{staticClass:"user-other-info"},[t._v(" ID: "+t._s(t.userInfo.user_id)+" "),e("el-button",{attrs:{type:"text",size:"mini"},on:{click:t.copyId}},[t._v("复制")])],1),e("div",{staticClass:"user-other-info"},[t._v("手机号: "+t._s(t.userInfo.mobile))])]),e("div",{staticClass:"login-info"},[e("div",{staticClass:"login-section"},[e("div",{staticClass:"login-section-title"},[t._v("当前登录信息")]),e("div",{staticClass:"login-detail"},[t._v("登录设备: Edge浏览器")]),e("div",{staticClass:"login-detail"},[t._v("登录地点: 中国广东深圳")]),e("div",{staticClass:"login-detail"},[t._v("登录时间: 2099-02-23 10:09:50")])]),e("div",{staticClass:"login-section"},[e("div",{staticClass:"login-section-title"},[t._v("上次登录信息")]),e("div",{staticClass:"login-detail"},[t._v("登录设备: 微信小程序")]),e("div",{staticClass:"login-detail"},[t._v("登录地点: 中国广东深圳")]),e("div",{staticClass:"login-detail"},[t._v("登录时间: 2099-02-05 10:46:45")])])])]),e("div",[e("el-button",{staticStyle:{"background-color":"#6a8a27",border:"none"},attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.goPath("/User/UserInfo")}}},[e("i",{staticClass:"el-icon-edit"}),t._v(" 编辑个人信息 ")])],1)])]):t._e(),e("div",{staticClass:"flex-center"},[e("el-card",{staticStyle:{flex:"1"}},[e("div",{attrs:{slot:"header"},slot:"header"},[t._v("我的议价")]),e("div",{staticClass:"feature-grid"},t._l(t.bargaining,function(s,i){return e("div",{key:i,staticClass:"feature-item"},[s.value?e("el-badge",{attrs:{value:s.value,type:"danger"}},[e("div",{staticClass:"feature-icon"},[e("i",{class:s.icon})])]):e("div",{staticClass:"feature-icon"},[e("i",{class:s.icon})]),e("span",{staticClass:"feature-name"},[t._v(t._s(s.title))])],1)}),0)]),e("div",{staticStyle:{width:"20px","flex-shrink":"0"}}),e("el-card",{staticStyle:{flex:"1"}},[e("div",{attrs:{slot:"header"},slot:"header"},[t._v("我的订单")]),e("div",{staticClass:"feature-grid"},t._l(t.order,function(s,i){return e("div",{key:i,staticClass:"feature-item"},[s.value?e("el-badge",{attrs:{value:s.value,type:"danger"}},[e("div",{staticClass:"feature-icon"},[e("i",{class:s.icon})])]):e("div",{staticClass:"feature-icon"},[e("i",{class:s.icon})]),e("span",{staticClass:"feature-name"},[t._v(t._s(s.title))])],1)}),0)])],1)],1)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"notice-bar__content"},[e("i",{staticClass:"el-icon-lightbulb"}),t._v(" 尊敬的采购人,欢迎来到xxx平台!您可以先完成下方的基础设置,方便您更高效的采购。 ")])}],l=(s(4114),{name:"UserCenter",data(){return{showNotice:!0,userId:"200901071124",headFun:[{icon:"el-icon-location",title:"设置收货地址",path:"/User/UserAddress"},{icon:"el-icon-document",title:"设置发票抬头",path:"/User/UserInvoice"},{icon:"el-icon-user",title:"设置采购人信息",path:"/User/PurchaserAdd"}],bargaining:[{icon:"el-icon-time",title:"待回复",path:"",value:2},{icon:"el-icon-truck",title:"已取消",path:"",value:2},{icon:"el-icon-menu",title:"已成交",path:"",value:2}],order:[{icon:"el-icon-time",title:"待付款",path:"",value:2},{icon:"el-icon-truck",title:"未发货",path:"",value:2},{icon:"el-icon-menu",title:"全部订单",path:"",value:2}],userInfo:null}},computed:{},mounted(){this.getUserInfo()},methods:{getUserInfo(){this.post({customBaseURL:"/api"},"/api/uservice/user/getMyInfo").then(t=>{this.userInfo=t.data,console.log(this.userInfo)})},goPath(t){this.$router.push(t)},copyId(){const t=document.createElement("input");t.value=this.userId,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),this.$message({message:"ID已复制",type:"success"})}}}),n=l,c=s(1656),o=(0,c.A)(n,i,a,!1,null,"281b462a",null),r=o.exports}}]); -//# sourceMappingURL=64.57193698.js.map \ No newline at end of file diff --git a/dist/js/64.57193698.js.map b/dist/js/64.57193698.js.map deleted file mode 100644 index 346d484..0000000 --- a/dist/js/64.57193698.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/64.57193698.js","mappings":"qJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAAEJ,EAAIK,WAAYH,EAAG,MAAM,CAACE,YAAY,cAAc,CAACJ,EAAIM,GAAG,GAAGJ,EAAG,MAAM,CAACE,YAAY,oBAAoBG,GAAG,CAAC,MAAQ,SAASC,GAAQR,EAAIK,YAAa,CAAK,IAAI,CAACH,EAAG,IAAI,CAACE,YAAY,sBAAsBJ,EAAIS,KAAKP,EAAG,UAAU,CAACA,EAAG,SAAS,CAACQ,MAAM,CAAC,OAAS,KAAKV,EAAIW,GAAIX,EAAIY,QAAS,SAASC,EAAKC,GAAG,OAAOZ,EAAG,SAAS,CAACa,IAAID,EAAEJ,MAAM,CAAC,GAAK,GAAG,GAAK,EAAE,GAAK,IAAI,CAACR,EAAG,cAAc,CAACE,YAAY,eAAeM,MAAM,CAAC,GAAKG,EAAKG,OAAO,CAACd,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,IAAI,CAACe,MAAMJ,EAAKK,SAAShB,EAAG,OAAO,CAACE,YAAY,gBAAgB,CAACJ,EAAImB,GAAGnB,EAAIoB,GAAGP,EAAKQ,UAAUnB,EAAG,YAAY,CAACoB,YAAY,CAAC,aAAa,OAAOZ,MAAM,CAAC,KAAO,OAAO,KAAO,SAAS,CAACV,E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AAgB,MAAA,GACA,CAAAd,KAAA,gBAAAG,MAAA,MAAAL,KAAA,GAAAgB,MAAA,GACA,CAAAd,KAAA,eAAAG,MAAA,OAAAL,KAAA,GAAAgB,MAAA,IAGAT,SAAA,KAIA,EACAe,SAAA,CAEA,EACAC,OAAAA,GACA,KAAAC,aACA,EACAC,QAAA,CACAD,WAAAA,GAEA,KAAAE,KAAA,CAAAC,cAAA,wCAAAC,KAAAC,IACA,KAAAtB,SAAAsB,EAAAT,KACAU,QAAAC,IAAA,KAAAxB,WAEA,EAEAO,MAAAA,CAAAd,GACA,KAAAgC,QAAAC,KAAAjC,EACA,EAGAY,MAAAA,GACA,MAAAsB,EAAAC,SAAAC,cAAA,SACAF,EAAAlB,MAAA,KAAAK,OACAc,SAAAE,KAAAC,YAAAJ,GACAA,EAAAK,SACAJ,SAAAK,YAAA,QACAL,SAAAE,KAAAI,YAAAP,GAEA,KAAAQ,SAAA,CACAC,QAAA,QACAC,KAAA,WAEA,KClKkQ,I,UCQ9PC,GAAY,OACd,EACA9D,EACAmC,GACA,EACA,KACA,WACA,MAIF,EAAe2B,E","sources":["webpack://abcdf/./src/views/User/UserCenter.vue","webpack://abcdf/src/views/User/UserCenter.vue","webpack://abcdf/./src/views/User/UserCenter.vue?f7cc","webpack://abcdf/./src/views/User/UserCenter.vue?715c"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[(_vm.showNotice)?_c('div',{staticClass:\"notice-bar\"},[_vm._m(0),_c('div',{staticClass:\"notice-bar__close\",on:{\"click\":function($event){_vm.showNotice = false}}},[_c('i',{staticClass:\"el-icon-close\"})])]):_vm._e(),_c('el-card',[_c('el-row',{attrs:{\"gutter\":20}},_vm._l((_vm.headFun),function(item,i){return _c('el-col',{key:i,attrs:{\"xs\":24,\"sm\":8,\"md\":8}},[_c('router-link',{staticClass:\"feature-item\",attrs:{\"to\":item.path}},[_c('div',{staticClass:\"feature-icon\"},[_c('i',{class:item.icon})]),_c('span',{staticClass:\"feature-name\"},[_vm._v(_vm._s(item.title))]),_c('el-button',{staticStyle:{\"margin-top\":\"5px\"},attrs:{\"type\":\"text\",\"size\":\"mini\"}},[_vm._v(\"去设置\")])],1)],1)}),1)],1),(_vm.userInfo)?_c('el-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"个人信息\")]),_c('div',{staticClass:\"user-info\"},[_c('img',{staticClass:\"user-avatar\",attrs:{\"src\":_vm.userInfo.avatar,\"alt\":\"用户头像\"}}),_c('div',{staticClass:\"user-details\"},[_c('div',[_c('div',{staticClass:\"user-name\"},[_vm._v(_vm._s(_vm.userInfo.nickname))]),_c('div',{staticClass:\"user-other-info\"},[_vm._v(\" ID: \"+_vm._s(_vm.userInfo.user_id)+\" \"),_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":_vm.copyId}},[_vm._v(\"复制\")])],1),_c('div',{staticClass:\"user-other-info\"},[_vm._v(\"手机号: \"+_vm._s(_vm.userInfo.mobile))])]),_c('div',{staticClass:\"login-info\"},[_c('div',{staticClass:\"login-section\"},[_c('div',{staticClass:\"login-section-title\"},[_vm._v(\"当前登录信息\")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\"登录设备: Edge浏览器\")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\"登录地点: 中国广东深圳\")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\"登录时间: 2099-02-23 10:09:50\")])]),_c('div',{staticClass:\"login-section\"},[_c('div',{staticClass:\"login-section-title\"},[_vm._v(\"上次登录信息\")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\"登录设备: 微信小程序\")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\"登录地点: 中国广东深圳\")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\"登录时间: 2099-02-05 10:46:45\")])])])]),_c('div',[_c('el-button',{staticStyle:{\"background-color\":\"#6a8a27\",\"border\":\"none\"},attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.goPath('/User/UserInfo')}}},[_c('i',{staticClass:\"el-icon-edit\"}),_vm._v(\" 编辑个人信息 \")])],1)])]):_vm._e(),_c('div',{staticClass:\"flex-center\"},[_c('el-card',{staticStyle:{\"flex\":\"1\"}},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"我的议价\")]),_c('div',{staticClass:\"feature-grid\"},_vm._l((_vm.bargaining),function(item,i){return _c('div',{key:i,staticClass:\"feature-item\"},[(item.value)?_c('el-badge',{attrs:{\"value\":item.value,\"type\":\"danger\"}},[_c('div',{staticClass:\"feature-icon\"},[_c('i',{class:item.icon})])]):_c('div',{staticClass:\"feature-icon\"},[_c('i',{class:item.icon})]),_c('span',{staticClass:\"feature-name\"},[_vm._v(_vm._s(item.title))])],1)}),0)]),_c('div',{staticStyle:{\"width\":\"20px\",\"flex-shrink\":\"0\"}}),_c('el-card',{staticStyle:{\"flex\":\"1\"}},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"我的订单\")]),_c('div',{staticClass:\"feature-grid\"},_vm._l((_vm.order),function(item,i){return _c('div',{key:i,staticClass:\"feature-item\"},[(item.value)?_c('el-badge',{attrs:{\"value\":item.value,\"type\":\"danger\"}},[_c('div',{staticClass:\"feature-icon\"},[_c('i',{class:item.icon})])]):_c('div',{staticClass:\"feature-icon\"},[_c('i',{class:item.icon})]),_c('span',{staticClass:\"feature-name\"},[_vm._v(_vm._s(item.title))])],1)}),0)])],1)],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"notice-bar__content\"},[_c('i',{staticClass:\"el-icon-lightbulb\"}),_vm._v(\" 尊敬的采购人,欢迎来到xxx平台!您可以先完成下方的基础设置,方便您更高效的采购。 \")])\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!./UserCenter.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!./UserCenter.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UserCenter.vue?vue&type=template&id=281b462a&scoped=true\"\nimport script from \"./UserCenter.vue?vue&type=script&lang=js\"\nexport * from \"./UserCenter.vue?vue&type=script&lang=js\"\nimport style0 from \"./UserCenter.vue?vue&type=style&index=0&id=281b462a&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 \"281b462a\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","showNotice","_m","on","$event","_e","attrs","_l","headFun","item","i","key","path","class","icon","_v","_s","title","staticStyle","userInfo","slot","avatar","nickname","user_id","copyId","mobile","goPath","bargaining","value","order","staticRenderFns","name","data","userId","computed","mounted","getUserInfo","methods","post","customBaseURL","then","res","console","log","$router","push","input","document","createElement","body","appendChild","select","execCommand","removeChild","$message","message","type","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/700.6882c630.js b/dist/js/700.6882c630.js deleted file mode 100644 index 23a464c..0000000 --- a/dist/js/700.6882c630.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[700],{700:function(e,s,a){a.r(s),a.d(s,{default:function(){return o}});var t=function(){var e=this,s=e._self._c;return s("div",{staticClass:"bg"},[s("el-card",{staticStyle:{width:"100%"}},[s("div",{staticClass:"clearfix flex-between",attrs:{slot:"header"},slot:"header"},[s("div",[e._v(" 收货地址 "),s("span",{staticStyle:{"font-size":"12px",color:"#666"}},[e._v("收票人地址统一使用该地址管理设置")])]),s("el-button",{staticStyle:{float:"right"},attrs:{size:"small",type:"primary"},on:{click:function(s){return e.openDialog("add",{})}}},[e._v("新增地址")])],1),s("el-table",{staticStyle:{width:"100%"},attrs:{data:e.addresses,border:""}},[s("el-table-column",{attrs:{prop:"receiver",label:"收货人",width:"120"}}),s("el-table-column",{attrs:{prop:"region",label:"所在地区",width:"120"}}),s("el-table-column",{attrs:{prop:"detailAddress",label:"详细地址",width:"300"}}),s("el-table-column",{attrs:{prop:"phone",label:"手机号码",width:"150"}}),s("el-table-column",{attrs:{prop:"fixedPhone",label:"固定电话",width:"150"}}),s("el-table-column",{attrs:{prop:"alias",label:"地区别名",width:"120"}}),s("el-table-column",{attrs:{label:"操作",width:"200"},scopedSlots:e._u([{key:"default",fn:function(a){return[s("el-button",{attrs:{size:"mini"},on:{click:function(s){return e.handleEdit(a.row)}}},[e._v("编辑")]),s("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(s){return e.handleDelete(a.row)}}},[e._v("删除")])]}}])})],1),s("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[s("el-pagination",{attrs:{"current-page":e.searchParam.currentPage,"page-sizes":[5,10,20],"page-size":e.searchParam.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.searchParam.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1),s("el-dialog",{attrs:{title:("add"===e.address.type?"新增":"编辑")+"收货地址",visible:e.dialogVisible,width:"700px"},on:{"update:visible":function(s){e.dialogVisible=s}}},[s("el-form",{attrs:{model:e.address,"label-width":"100px",size:"small"}},[s("el-form-item",{attrs:{label:"*收货人"}},[s("el-input",{attrs:{placeholder:"请填写收货人姓名,限制40个字符"},model:{value:e.address.receiver,callback:function(s){e.$set(e.address,"receiver",s)},expression:"address.receiver"}})],1),s("el-form-item",{attrs:{label:"*所在地区"}},[s("el-select",{attrs:{placeholder:"请选择所在地区"},model:{value:e.address.region,callback:function(s){e.$set(e.address,"region",s)},expression:"address.region"}},[s("el-option",{attrs:{label:"北京",value:"北京"}}),s("el-option",{attrs:{label:"上海",value:"上海"}}),s("el-option",{attrs:{label:"广州",value:"广州"}}),s("el-option",{attrs:{label:"深圳",value:"深圳"}})],1)],1),s("el-form-item",{attrs:{label:"*详细地址"}},[s("el-input",{attrs:{placeholder:"请填写详细地址,限制500个字符"},model:{value:e.address.detailAddress,callback:function(s){e.$set(e.address,"detailAddress",s)},expression:"address.detailAddress"}})],1),s("el-form-item",{attrs:{label:"*手机号码"}},[s("el-input",{attrs:{placeholder:"请填写手机号码,限制11位数字"},model:{value:e.address.phone,callback:function(s){e.$set(e.address,"phone",s)},expression:"address.phone"}})],1),s("el-form-item",{attrs:{label:"固定电话"}},[s("el-input",{attrs:{placeholder:"请填写固定号码,限制40个字符"},model:{value:e.address.fixedPhone,callback:function(s){e.$set(e.address,"fixedPhone",s)},expression:"address.fixedPhone"}})],1),s("el-form-item",{attrs:{label:"地区别名"}},[s("el-input",{attrs:{placeholder:"请填写常用名称,限制40个字符"},model:{value:e.address.alias,callback:function(s){e.$set(e.address,"alias",s)},expression:"address.alias"}})],1)],1),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{attrs:{size:"small"},on:{click:function(s){e.dialogVisible=!1}}},[e._v("取消")]),s("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.saveAddress}},[e._v("保存")])],1)],1)],1)},l=[],i=(a(4114),{name:"UserInfo",data(){return{user:{},searchParam:{pageSize:5,currentPage:1,total:10},dialogVisible:!1,addresses:[{id:1,receiver:"张三",region:"北京",detailAddress:"北京市朝阳区xx街道xx小区xx号楼xx单元",phone:"13800138000",fixedPhone:"010-12345678",alias:"家"},{id:2,receiver:"李四",region:"上海",detailAddress:"上海市浦东新区xx街道xx小区xx号楼xx单元",phone:"13900139000",fixedPhone:"021-12345678",alias:"公司"},{id:3,receiver:"王五",region:"广州",detailAddress:"广州市天河区xx街道xx小区xx号楼xx单元",phone:"13700137000",fixedPhone:"020-12345678",alias:"朋友家"}],address:{type:"add",id:"",receiver:"",region:"",detailAddress:"",phone:"",fixedPhone:"",alias:""}}},methods:{handleSizeChange(e){this.searchParam.pageSize=e},handleCurrentChange(e){this.searchParam.currentPage=e},openDialog(e,s){this.address={type:e,id:s.id||"",receiver:s.receiver||"",region:s.region||"",detailAddress:s.detailAddress||"",phone:s.phone||"",fixedPhone:s.fixedPhone||"",alias:s.alias||""},this.dialogVisible=!0},saveAddress(){if(this.address.id){const e=this.addresses.findIndex(e=>e.id===this.address.id);-1!==e&&(this.addresses[e]={...this.address})}else this.address.id=Date.now(),this.addresses.push({...this.address});this.$message({message:"保存成功",type:"success"}),this.dialogVisible=!1},handleEdit(e){this.address={...e},this.dialogVisible=!0},handleDelete(e){this.$confirm("此操作将永久删除该地址, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const s=this.addresses.findIndex(s=>s.id===e.id);-1!==s&&this.addresses.splice(s,1),this.$message({type:"success",message:"删除成功!"})}).catch(()=>{this.$message({type:"info",message:"已取消删除"})})}}}),r=i,d=a(1656),n=(0,d.A)(r,t,l,!1,null,"2982dbfe",null),o=n.exports}}]); -//# sourceMappingURL=700.6882c630.js.map \ No newline at end of file diff --git a/dist/js/700.6882c630.js.map b/dist/js/700.6882c630.js.map deleted file mode 100644 index 4e60351..0000000 --- a/dist/js/700.6882c630.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/700.6882c630.js","mappings":"qJAAA,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,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AvC,UAAAwC,UAAAF,GAAAA,EAAAH,KAAA,KAAApB,QAAAoB,KACA,IAAAI,IACA,KAAAvC,UAAAuC,GAAA,SAAAxB,SAEA,MAEA,KAAAA,QAAAoB,GAAAM,KAAAC,MACA,KAAA1C,UAAA2C,KAAA,SAAA5B,UAEA,KAAA6B,SAAA,CACAC,QAAA,OACA7B,KAAA,YAEA,KAAAC,eAAA,CACA,EACAX,UAAAA,CAAAC,GACA,KAAAQ,QAAA,IAAAR,GACA,KAAAU,eAAA,CACA,EACAT,YAAAA,CAAAD,GACA,KAAAuC,SAAA,2BACAC,kBAAA,KACAC,iBAAA,KACAhC,KAAA,YACAiC,KAAA,KACA,MAAAV,EAAA,KAAAvC,UAAAwC,UAAAF,GAAAA,EAAAH,KAAA5B,EAAA4B,KACA,IAAAI,GACA,KAAAvC,UAAAkD,OAAAX,EAAA,GAEA,KAAAK,SAAA,CACA5B,KAAA,UACA6B,QAAA,YAEAM,MAAA,KACA,KAAAP,SAAA,CACA5B,KAAA,OACA6B,QAAA,WAGA,KCjMmQ,I,UCO/PO,GAAY,OACd,EACAjE,EACA4C,GACA,EACA,KACA,WACA,MAIF,EAAeqB,E","sources":["webpack://abcdf/./src/views/User/UserAddress.vue","webpack://abcdf/src/views/User/UserAddress.vue","webpack://abcdf/./src/views/User/UserAddress.vue?e7fa","webpack://abcdf/./src/views/User/UserAddress.vue?5d77"],"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('div',[_vm._v(\" 收货地址 \"),_c('span',{staticStyle:{\"font-size\":\"12px\",\"color\":\"#666\"}},[_vm._v(\"收票人地址统一使用该地址管理设置\")])]),_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.addresses,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"receiver\",\"label\":\"收货人\",\"width\":\"120\"}}),_c('el-table-column',{attrs:{\"prop\":\"region\",\"label\":\"所在地区\",\"width\":\"120\"}}),_c('el-table-column',{attrs:{\"prop\":\"detailAddress\",\"label\":\"详细地址\",\"width\":\"300\"}}),_c('el-table-column',{attrs:{\"prop\":\"phone\",\"label\":\"手机号码\",\"width\":\"150\"}}),_c('el-table-column',{attrs:{\"prop\":\"fixedPhone\",\"label\":\"固定电话\",\"width\":\"150\"}}),_c('el-table-column',{attrs:{\"prop\":\"alias\",\"label\":\"地区别名\",\"width\":\"120\"}}),_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.handleEdit(scope.row)}}},[_vm._v(\"编辑\")]),_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){return _vm.handleDelete(scope.row)}}},[_vm._v(\"删除\")])]}}])})],1),_c('div',{staticStyle:{\"text-align\":\"right\",\"margin-top\":\"20px\"}},[_c('el-pagination',{attrs:{\"current-page\":_vm.searchParam.currentPage,\"page-sizes\":[5, 10, 20],\"page-size\":_vm.searchParam.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.searchParam.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1)],1),_c('el-dialog',{attrs:{\"title\":`${_vm.address.type === 'add' ? '新增' : '编辑'}收货地址`,\"visible\":_vm.dialogVisible,\"width\":\"700px\"},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.address,\"label-width\":\"100px\",\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"*收货人\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写收货人姓名,限制40个字符\"},model:{value:(_vm.address.receiver),callback:function ($$v) {_vm.$set(_vm.address, \"receiver\", $$v)},expression:\"address.receiver\"}})],1),_c('el-form-item',{attrs:{\"label\":\"*所在地区\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择所在地区\"},model:{value:(_vm.address.region),callback:function ($$v) {_vm.$set(_vm.address, \"region\", $$v)},expression:\"address.region\"}},[_c('el-option',{attrs:{\"label\":\"北京\",\"value\":\"北京\"}}),_c('el-option',{attrs:{\"label\":\"上海\",\"value\":\"上海\"}}),_c('el-option',{attrs:{\"label\":\"广州\",\"value\":\"广州\"}}),_c('el-option',{attrs:{\"label\":\"深圳\",\"value\":\"深圳\"}})],1)],1),_c('el-form-item',{attrs:{\"label\":\"*详细地址\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写详细地址,限制500个字符\"},model:{value:(_vm.address.detailAddress),callback:function ($$v) {_vm.$set(_vm.address, \"detailAddress\", $$v)},expression:\"address.detailAddress\"}})],1),_c('el-form-item',{attrs:{\"label\":\"*手机号码\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写手机号码,限制11位数字\"},model:{value:(_vm.address.phone),callback:function ($$v) {_vm.$set(_vm.address, \"phone\", $$v)},expression:\"address.phone\"}})],1),_c('el-form-item',{attrs:{\"label\":\"固定电话\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写固定号码,限制40个字符\"},model:{value:(_vm.address.fixedPhone),callback:function ($$v) {_vm.$set(_vm.address, \"fixedPhone\", $$v)},expression:\"address.fixedPhone\"}})],1),_c('el-form-item',{attrs:{\"label\":\"地区别名\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写常用名称,限制40个字符\"},model:{value:(_vm.address.alias),callback:function ($$v) {_vm.$set(_vm.address, \"alias\", $$v)},expression:\"address.alias\"}})],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.saveAddress}},[_vm._v(\"保存\")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./UserAddress.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!./UserAddress.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UserAddress.vue?vue&type=template&id=2982dbfe&scoped=true\"\nimport script from \"./UserAddress.vue?vue&type=script&lang=js\"\nexport * from \"./UserAddress.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 \"2982dbfe\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","attrs","slot","_v","on","$event","openDialog","addresses","scopedSlots","_u","key","fn","scope","handleEdit","row","handleDelete","searchParam","currentPage","pageSize","total","handleSizeChange","handleCurrentChange","address","type","dialogVisible","model","value","receiver","callback","$$v","$set","expression","region","detailAddress","phone","fixedPhone","alias","saveAddress","staticRenderFns","name","data","user","id","methods","val","item","index","findIndex","Date","now","push","$message","message","$confirm","confirmButtonText","cancelButtonText","then","splice","catch","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/828.3c50f0ff.js b/dist/js/828.3c50f0ff.js new file mode 100644 index 0000000..3dc15ee --- /dev/null +++ b/dist/js/828.3c50f0ff.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).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.3c50f0ff.js.map \ No newline at end of file diff --git a/dist/js/828.3c50f0ff.js.map b/dist/js/828.3c50f0ff.js.map new file mode 100644 index 0000000..b2dbbd6 --- /dev/null +++ b/dist/js/828.3c50f0ff.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/828.3c50f0ff.js","mappings":"yIAAA,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,YAAY,iBAAiB,CAACF,EAAG,OAAO,CAACE,YAAY,iBAAiB,CAACJ,EAAIkB,GAAG,IAAIlB,EAAImB,GAAGZ,EAAQa,MAAQ,QAASb,EAAQc,aAAcnB,EAAG,OAAO,CAACE,YAAY,kBAAkB,CAACJ,EAAIkB,GAAG,IAAIlB,EAAImB,GAAGZ,EAAQc,aAAe,QAAQrB,EAAIsB,OAAQf,EAAQgB,MAAOrB,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,OAAO,CAACF,EAAIkB,GAAG,MAAMlB,EAAImB,GAAGZ,EAAQiB,cAAc,UAAUxB,E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F,EAAeM,E","sources":["webpack://abcdf/./src/components/product/ProductList.vue","webpack://abcdf/src/components/product/ProductList.vue","webpack://abcdf/./src/components/product/ProductList.vue?43ae","webpack://abcdf/./src/components/product/ProductList.vue?0bfb","webpack://abcdf/./src/views/Home.vue","webpack://abcdf/src/views/Home.vue","webpack://abcdf/./src/views/Home.vue?a787","webpack://abcdf/./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","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","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.dc20517d.js b/dist/js/828.dc20517d.js deleted file mode 100644 index 0d0c625..0000000 --- a/dist/js/828.dc20517d.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[828],{4458:function(t,s,i){i.d(s,{A:function(){return p}});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("div",{key:i.id,staticClass:"product-card"},[s("div",{staticClass:"product-img"},[s("router-link",{attrs:{to:`/Detail/${i.id}`}},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:i.headimg,expression:"product.headimg"}],staticClass:"product-pic",attrs:{alt:i.title}})])],1),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"},on:{click:function(s){return t.addToCart(i)}}},[s("el-icon",{attrs:{name:"el-icon-shopping-cart"}}),t._v(" 加入购物车 ")],1)],1)])])}),0),0===t.products.length?s("div",{staticClass:"no-products"},[s("el-empty",{attrs:{description:"暂无相关商品"}})],1):t._e()])},e=[],r=(i(4114),i(3518)),o={name:"ProductList",props:{products:{type:Array,default:()=>[]}},methods:{...(0,r.i0)(["addToCart"]),addToCart(t){this.$store.getters.isUserLogin?(this.addToCart({id:t.id,name:t.name,price:t.price,image:t.image,quantity:1}),this.$message.success("已加入购物车")):this.$confirm("您尚未登录,是否前往登录?","提示",{confirmButtonText:"登录",cancelButtonText:"取消",type:"info"}).then(()=>{this.$router.push({path:"/login",query:{redirect:this.$route.fullPath}})}).catch(()=>{})}}},c=o,n=i(1656),l=(0,n.A)(c,a,e,!1,null,"6ecfbe40",null),p=l.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(4458),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.dc20517d.js.map \ No newline at end of file diff --git a/dist/js/828.dc20517d.js.map b/dist/js/828.dc20517d.js.map deleted file mode 100644 index a26ef41..0000000 --- a/dist/js/828.dc20517d.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/828.dc20517d.js","mappings":"yIAAA,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,MAAM,CAACM,IAAID,EAAQE,GAAGL,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,cAAc,CAACQ,MAAM,CAAC,GAAK,WAAWH,EAAQE,OAAO,CAACP,EAAG,MAAM,CAACS,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOP,EAAQQ,QAASC,WAAW,oBAAoBZ,YAAY,cAAcM,MAAM,CAAC,IAAMH,EAAQU,YAAY,GAAGf,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,OAAO,CAACE,YAAY,iBAAiB,CAACJ,EAAIkB,GAAG,IAAIlB,EAAImB,GAAGZ,EAAQa,MAAQ,Q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ACA3B,MAAA,yCACAjB,MAAA,IACA6C,WAAA,GAEA,CACA3D,GAAA,EACAG,KAAA,OACAQ,MAAA,IACA+C,cAAA,IACA3B,MAAA,yCACAjB,MAAA,IACA6C,WAAA,GAEA,CACA3D,GAAA,EACAG,KAAA,SACAQ,MAAA,IACA+C,cAAA,IACA3B,MAAA,yCACAjB,MAAA,IACA6C,WAAA,GAEA,CACA3D,GAAA,GACAG,KAAA,SACAQ,MAAA,IACA+C,cAAA,IACA3B,MAAA,0CACAjB,MAAA,IACA6C,WAAA,GAEA,CACA3D,GAAA,GACAG,KAAA,SACAQ,MAAA,IACA+C,cAAA,IACA3B,MAAA,0CACAjB,MAAA,IACA6C,WAAA,GAEA,CACA3D,GAAA,GACAG,KAAA,MACAQ,MAAA,IACA+C,cAAA,IACA3B,MAAA,0CACAjB,MAAA,IACA6C,WAAA,IAIA,EACAC,SAAA,KACAC,EAAAA,EAAAA,IAAA,mBACAZ,UAAAA,GACA,YAAAa,aACA,GAEAC,OAAAA,GACA,KAAAC,iBACA,EACAtC,QAAA,KACAC,EAAAA,EAAAA,IAAA,uBCnOmP,I,UCQ/OoB,GAAY,OACd,EACAzD,EACA+B,GACA,EACA,KACA,WACA,MAIF,EAAe0B,E","sources":["webpack://abcdf/./src/components/product/ProductList.vue","webpack://abcdf/src/components/product/ProductList.vue","webpack://abcdf/./src/components/product/ProductList.vue?43ae","webpack://abcdf/./src/components/product/ProductList.vue?0bfb","webpack://abcdf/./src/views/Home.vue","webpack://abcdf/src/views/Home.vue","webpack://abcdf/./src/views/Home.vue?a787","webpack://abcdf/./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('div',{key:product.id,staticClass:\"product-card\"},[_c('div',{staticClass:\"product-img\"},[_c('router-link',{attrs:{\"to\":`/Detail/${product.id}`}},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(product.headimg),expression:\"product.headimg\"}],staticClass:\"product-pic\",attrs:{\"alt\":product.title}})])],1),_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\"},on:{\"click\":function($event){return _vm.addToCart(product)}}},[_c('el-icon',{attrs:{\"name\":\"el-icon-shopping-cart\"}}),_vm._v(\" 加入购物车 \")],1)],1)])])}),0),(_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","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=6ecfbe40&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=6ecfbe40&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 \"6ecfbe40\",\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","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","on","$event","addToCart","length","staticRenderFns","props","type","Array","default","methods","mapActions","$store","getters","isUserLogin","image","quantity","$message","success","$confirm","confirmButtonText","cancelButtonText","then","$router","push","path","query","redirect","$route","fullPath","catch","component","item","categories","category","icon","_m","hotProducts","newProducts","components","ProductList","data","originalPrice","categoryId","computed","mapGetters","getCategories","created","fetchCategories"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/86.471ac328.js b/dist/js/86.471ac328.js deleted file mode 100644 index 7fc7cd8..0000000 --- a/dist/js/86.471ac328.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[86],{3086:function(e,t,i){i.r(t),i.d(t,{default:function(){return d}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg"},[t("el-tabs",{model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[t("el-tab-pane",{attrs:{label:"所有订单",name:"all"}}),t("el-tab-pane",{attrs:{label:"待付款",name:"pendingPayment"}}),t("el-tab-pane",{attrs:{label:"待发货",name:"pendingDelivery"}}),t("el-tab-pane",{attrs:{label:"配送中",name:"delivering"}}),t("el-tab-pane",{attrs:{label:"待评价",name:"pendingReview"}})],1),t("div",{staticClass:"filter-bar"},[t("el-form",{attrs:{inline:!0,model:e.filterForm,size:"small"}},[t("el-form-item",{attrs:{label:"商品名称"}},[t("el-input",{attrs:{placeholder:"请输入商品名称"},model:{value:e.filterForm.keywords,callback:function(t){e.$set(e.filterForm,"keywords",t)},expression:"filterForm.keywords"}})],1),t("el-form-item",{attrs:{label:"订单编号"}},[t("el-input",{attrs:{placeholder:"请输入订单编号"},model:{value:e.filterForm.order_id,callback:function(t){e.$set(e.filterForm,"order_id",t)},expression:"filterForm.order_id"}})],1),t("el-form-item",{attrs:{label:"下单时间"}},[t("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd"},model:{value:e.filterForm.createTime,callback:function(t){e.$set(e.filterForm,"createTime",t)},expression:"filterForm.createTime"}})],1),t("el-form-item",{attrs:{label:"商家名称"}},[t("el-input",{attrs:{placeholder:"请输入商家名称"},model:{value:e.filterForm.merchantName,callback:function(t){e.$set(e.filterForm,"merchantName",t)},expression:"filterForm.merchantName"}})],1),t("el-form-item",{attrs:{label:"交易状态"}},[t("el-select",{staticStyle:{width:"200px"},attrs:{placeholder:"请选择"},model:{value:e.filterForm.tradeStatus,callback:function(t){e.$set(e.filterForm,"tradeStatus",t)},expression:"filterForm.tradeStatus"}},e._l(e.typeList,function(e,i){return t("el-option",{key:i,attrs:{label:e.name,value:e.id}})}),1)],1),t("el-form-item",{attrs:{label:"完成时间"}},[t("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd"},model:{value:e.filterForm.finishTime,callback:function(t){e.$set(e.filterForm,"finishTime",t)},expression:"filterForm.finishTime"}})],1),t("el-form-item",[t("el-button",{staticStyle:{background:"#6a8a27",border:"none"},attrs:{type:"primary"},on:{click:e.search}},[e._v("搜索")])],1),t("el-form-item",[t("el-button",{on:{click:e.reset}},[e._v("重置")])],1)],1)],1),t("div",[e._m(0),e._l(e.orders,function(i){return t("div",{key:i.id,staticClass:"order-card"},[t("div",{staticClass:"order-header flex-between"},[t("div",{staticStyle:{display:"flex"}},[t("div",[e._v("订单号: "+e._s(i.order_id))]),t("div",{staticStyle:{"padding-left":"60px"}},[e._v("下单时间:"+e._s(i.create_time))])]),t("div",{staticClass:"product-status"},[t("el-tag",{attrs:{type:e.getStatusTagType(i.state),size:"small"}},[e._v(e._s(i.state_text))])],1)]),t("div",{staticClass:"order-products"},e._l(i.order_product_list,function(i){return t("div",{key:i.id,staticClass:"product-item"},[t("img",{staticClass:"product-image",attrs:{src:i.product_img}}),t("div",{staticClass:"product-details"},[t("div",{staticClass:"product-name"},[e._v(e._s(i.product_title))]),t("div",{staticClass:"product-spec"},[e._v(e._s(i.sku_name))])]),t("div",{staticClass:"product-price"},[e._v("¥"+e._s((i.product_price/100).toFixed(2)))]),t("div",{staticClass:"product-quantity"},[e._v("x"+e._s(i.product_num))]),t("div",{staticClass:"product-total"},[e._v("¥"+e._s((i.paid_money/100).toFixed(2)))]),t("div",{staticClass:"product-actions"},[t("el-button",{attrs:{type:"text",size:"mini"}},[e._v(" 商品详情")])],1)])}),0),t("div",{staticClass:"order-footer"},[t("div",{staticClass:"order-summary"},[t("div",{staticClass:"order-amount"},[e._v(" 合计: "),t("strong",[e._v("¥"+e._s((i.paid_money/100).toFixed(2)))]),e._v(" (含运费 ¥"+e._s((i.total_post_fee/100).toFixed(2))+") ")])]),t("div",{staticClass:"order-actions"},[t("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(t){return e.viewOrderDetail(i.id)}}},[e._v("订单详情")]),"pendingPayment"===i.status?t("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.payOrder(i.id)}}},[e._v("去付款")]):e._e(),"pendingDelivery"===i.status?t("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(t){return e.remindDelivery(i.id)}}},[e._v("提醒发货")]):e._e(),"delivering"===i.status?t("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(t){return e.checkLogistics(i.id)}}},[e._v("查看物流")]):e._e(),"completed"!==i.status||i.isReviewed?e._e():t("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(t){return e.gotoReview(i.id)}}},[e._v("去评价")])],1)])])}),e.orders.length<=0?t("el-empty",{attrs:{description:"暂无订单"}}):e._e(),t("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[t("el-pagination",{attrs:{"current-page":e.filterForm.currentPage,"page-sizes":[5,10,20],"page-size":e.filterForm.limit,layout:"total, sizes, prev, pager, next, jumper",total:e.filterForm.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],2)],1)},r=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"order-products",staticStyle:{padding:"0 20px",background:"#f8f9fa","border-top":"1px solid #eee","border-bottom":"1px solid #eee","margin-bottom":"20px"}},[t("div",{staticClass:"product-item"},[t("div",{staticClass:"product-details"},[t("div",{staticClass:"product-name"},[e._v("商品信息")])]),t("div",{staticClass:"product-price"},[e._v("单价(元)")]),t("div",{staticClass:"product-quantity"},[e._v("数量")]),t("div",{staticClass:"product-total"},[e._v("小计(元)")]),t("div",{staticClass:"product-actions"})])])}],s=(i(4114),{name:"OrderList",data(){return{activeTab:"ALL",filterForm:{keywords:"",currentPage:1,limit:10,order_id:"",createTime:null,start_date:"",end_date:"",total:1},typeList:[{name:"全部",id:"ALL"},{name:"待付款",id:"WAIT_PAYMENT"},{name:"待发货",id:"WAIT_POST"},{name:"待使用/出行",id:"WAIT_USE"},{name:"待收货",id:"WAIT_DELIVERY"},{name:"退款/售后",id:"NEED_REFUND"}],orders:[]}},computed:{},mounted(){this.getList()},methods:{getList(){this.post({...this.filterForm,offset:this.filterForm.currentPage*this.filterForm.limit,customBaseURL:"/api"},"/api/order/list").then(e=>{this.orders=e.data.list,this.filterForm.total=e.data.total})},search(){},reset(){},handleSizeChange(e){this.filterForm.limit=e,this.filterForm.currentPage=1,this.getList()},handleCurrentChange(e){this.filterForm.currentPage=e,this.getList()},getStatusText(e){const t={pendingPayment:"待付款",pendingDelivery:"待发货",delivering:"配送中",completed:"已完成",cancelled:"已取消"};return t[e]||e},getStatusTagType(e){const t={pendingPayment:"warning",pendingDelivery:"info",delivering:"primary",completed:"success",cancelled:"danger"};return t[e]||"default"},payOrder(e){this.$message({message:`订单 ${e} 去付款`,type:"info"})},remindDelivery(e){this.$message({message:`已提醒订单 ${e} 发货`,type:"success"})},checkLogistics(e){this.$message({message:`查看订单 ${e} 物流`,type:"info"})},gotoReview(e){this.$message({message:`去评价订单 ${e}`,type:"info"})},viewOrderDetail(e){this.$router.push({name:"OrderDetail"})}}}),l=s,o=i(1656),n=(0,o.A)(l,a,r,!1,null,"a18e9d96",null),d=n.exports}}]); -//# sourceMappingURL=86.471ac328.js.map \ No newline at end of file diff --git a/dist/js/86.471ac328.js.map b/dist/js/86.471ac328.js.map deleted file mode 100644 index 224e919..0000000 --- a/dist/js/86.471ac328.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/86.471ac328.js","mappings":"qJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,UAAU,CAACG,MAAM,CAACC,MAAON,EAAIO,UAAWC,SAAS,SAAUC,GAAMT,EAAIO,UAAUE,CAAG,EAAEC,WAAW,cAAc,CAACR,EAAG,cAAc,CAACS,MAAM,CAAC,MAAQ,OAAO,KAAO,SAAST,EAAG,cAAc,CAACS,MAAM,CAAC,MAAQ,MAAM,KAAO,oBAAoBT,EAAG,cAAc,CAACS,MAAM,CAAC,MAAQ,MAAM,KAAO,qBAAqBT,EAAG,cAAc,CAACS,MAAM,CAAC,MAAQ,MAAM,KAAO,gBAAgBT,EAAG,cAAc,CAACS,MAAM,CAAC,MAAQ,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AAAF,IACAG,KAAA,QAEA,EAGAxC,eAAAA,CAAAqC,GACA,KAAAI,QAAAC,KAAA,CACApE,KAAA,eAEA,KC5RiQ,I,UCQ7PqE,GAAY,OACd,EACA/F,EACAkE,GACA,EACA,KACA,WACA,MAIF,EAAe6B,E","sources":["webpack://abcdf/./src/views/User/OrderList.vue","webpack://abcdf/src/views/User/OrderList.vue","webpack://abcdf/./src/views/User/OrderList.vue?f8b7","webpack://abcdf/./src/views/User/OrderList.vue?604f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('el-tabs',{model:{value:(_vm.activeTab),callback:function ($$v) {_vm.activeTab=$$v},expression:\"activeTab\"}},[_c('el-tab-pane',{attrs:{\"label\":\"所有订单\",\"name\":\"all\"}}),_c('el-tab-pane',{attrs:{\"label\":\"待付款\",\"name\":\"pendingPayment\"}}),_c('el-tab-pane',{attrs:{\"label\":\"待发货\",\"name\":\"pendingDelivery\"}}),_c('el-tab-pane',{attrs:{\"label\":\"配送中\",\"name\":\"delivering\"}}),_c('el-tab-pane',{attrs:{\"label\":\"待评价\",\"name\":\"pendingReview\"}})],1),_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-input',{attrs:{\"placeholder\":\"请输入商家名称\"},model:{value:(_vm.filterForm.merchantName),callback:function ($$v) {_vm.$set(_vm.filterForm, \"merchantName\", $$v)},expression:\"filterForm.merchantName\"}})],1),_c('el-form-item',{attrs:{\"label\":\"交易状态\"}},[_c('el-select',{staticStyle:{\"width\":\"200px\"},attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.filterForm.tradeStatus),callback:function ($$v) {_vm.$set(_vm.filterForm, \"tradeStatus\", $$v)},expression:\"filterForm.tradeStatus\"}},_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',{attrs:{\"label\":\"完成时间\"}},[_c('el-date-picker',{attrs:{\"type\":\"daterange\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\",\"value-format\":\"yyyy-MM-dd\"},model:{value:(_vm.filterForm.finishTime),callback:function ($$v) {_vm.$set(_vm.filterForm, \"finishTime\", $$v)},expression:\"filterForm.finishTime\"}})],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\"}},[_vm._v(\" 商品详情\")])],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.id)}}},[_vm._v(\"订单详情\")]),(order.status === 'pendingPayment')?_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.payOrder(order.id)}}},[_vm._v(\"去付款\")]):_vm._e(),(order.status === 'pendingDelivery')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.remindDelivery(order.id)}}},[_vm._v(\"提醒发货\")]):_vm._e(),(order.status === 'delivering')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.checkLogistics(order.id)}}},[_vm._v(\"查看物流\")]):_vm._e(),(order.status === 'completed' && !order.isReviewed)?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoReview(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)],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"order-products\",staticStyle:{\"padding\":\"0 20px\",\"background\":\"#f8f9fa\",\"border-top\":\"1px solid #eee\",\"border-bottom\":\"1px solid #eee\",\"margin-bottom\":\"20px\"}},[_c('div',{staticClass:\"product-item\"},[_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(\"商品信息\")])]),_c('div',{staticClass:\"product-price\"},[_vm._v(\"单价(元)\")]),_c('div',{staticClass:\"product-quantity\"},[_vm._v(\"数量\")]),_c('div',{staticClass:\"product-total\"},[_vm._v(\"小计(元)\")]),_c('div',{staticClass:\"product-actions\"})])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderList.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderList.vue?vue&type=template&id=a18e9d96&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=a18e9d96&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 \"a18e9d96\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","model","value","activeTab","callback","$$v","expression","attrs","filterForm","keywords","$set","order_id","createTime","merchantName","staticStyle","tradeStatus","_l","typeList","item","i","key","name","id","finishTime","on","search","_v","reset","_m","orders","order","_s","create_time","getStatusTagType","state","state_text","order_product_list","product","product_img","product_title","sku_name","product_price","toFixed","product_num","paid_money","total_post_fee","$event","viewOrderDetail","status","payOrder","_e","remindDelivery","checkLogistics","isReviewed","gotoReview","length","currentPage","limit","total","handleSizeChange","handleCurrentChange","staticRenderFns","data","start_date","end_date","computed","mounted","getList","methods","post","offset","customBaseURL","then","res","list","val","getStatusText","statusMap","pendingPayment","pendingDelivery","delivering","completed","cancelled","typeMap","orderId","$message","message","type","$router","push","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/882.62bac42e.js b/dist/js/882.62bac42e.js new file mode 100644 index 0000000..c955456 --- /dev/null +++ b/dist/js/882.62bac42e.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[882],{5882:function(t,e,s){s.r(e),s.d(e,{default:function(){return c}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[e("div",{staticClass:"normal-margin-bottom"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:"/User/UserCenter"}}},[t._v("个人中心")]),e("el-breadcrumb-item",{attrs:{to:{path:"/User/OrderList"}}},[t._v("我的订单")]),e("el-breadcrumb-item",[t._v(" 订单详情")])],1)],1),e("div",{staticClass:"common-card normal-margin-bottom",staticStyle:{padding:"20px 0",display:"flex"}},[e("div",{staticClass:"order-status"},[e("div",{staticClass:"order-no"},[t._v(" 订单号: 209907091214560078 "),e("el-button",{staticStyle:{color:"#999"},attrs:{type:"text",icon:"el-icon-document-copy"}})],1),e("div",{staticClass:"status-title"},[e("i",{staticClass:"el-icon-time",staticStyle:{color:"#ff9800","font-size":"32px"}}),e("span",{staticStyle:{height:"24px","line-height":"24px","padding-left":"5px"}},[t._v("订单状态: "+t._s(t.info.state_text))])]),e("el-button",{attrs:{type:"primary",size:"medium"}},[t._v("在线付款")]),e("el-button",{staticStyle:{padding:"0"},attrs:{type:"text",size:"small"}},[t._v("打印订单")])],1),e("div",{staticClass:"order-step"},[e("el-steps",{staticStyle:{width:"100%"},attrs:{active:2,"align-center":""}},t._l(t.activities,function(s,i){return e("el-step",{key:i},[e("div",{staticClass:"process-title",attrs:{slot:"title"},slot:"title"},[t._v(t._s(s.remark))]),e("div",{attrs:{slot:"icon"},slot:"icon"},[i>=2?e("span",[t._v(t._s(i+1))]):e("i",{staticClass:"el-icon-check",staticStyle:{color:"#fff"}})]),e("div",{staticClass:"process-description",attrs:{slot:"description"},slot:"description"},[t._v(" "+t._s(s.create_time)+" ")])])}),1)],1)]),e("div",{staticClass:"common-card normal-margin-bottom order-info-card",staticStyle:{display:"flex",padding:"20px 0"}},[e("el-descriptions",{attrs:{title:"订单信息",column:1}},[e("el-descriptions-item",{attrs:{label:"订单号"}},[t._v(t._s(t.orderInfo.orderNumber))]),e("el-descriptions-item",{attrs:{label:"订单状态"}},[t._v(t._s(t.orderInfo.status))]),e("el-descriptions-item",{attrs:{label:"下单时间"}},[t._v(t._s(t.orderInfo.orderTime))])],1),e("el-descriptions",{attrs:{title:"配送信息",column:1}},[e("el-descriptions-item",{attrs:{label:"收货人"}},[t._v(t._s(t.deliveryInfo.receiver))]),e("el-descriptions-item",{attrs:{label:"地址"}},[t._v(t._s(t.deliveryInfo.address))]),e("el-descriptions-item",{attrs:{label:"手机号码"}},[t._v(t._s(t.deliveryInfo.phone))]),e("el-descriptions-item",{attrs:{label:"配送方式"}},[t._v(t._s(t.deliveryInfo.deliveryMethod))]),e("el-descriptions-item",{attrs:{label:"期望送达时间"}},[t._v(t._s(t.deliveryInfo.expectedDeliveryTime))])],1),e("el-descriptions",{staticStyle:{border:"none"},attrs:{title:"支付信息",column:1}},[e("el-descriptions-item",{attrs:{label:"支付方式"}},[t._v(t._s(t.paymentInfo.paymentMethod))]),e("el-descriptions-item",{attrs:{label:"支付状态"}},[t._v(t._s(t.paymentInfo.paymentStatus))]),e("el-descriptions-item",{attrs:{label:"支付时间"}},[t._v(t._s(t.paymentInfo.paymentTime))])],1)],1),e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.productList}},[e("el-table-column",{attrs:{prop:"name",label:"商品名称",align:"center"},scopedSlots:t._u([{key:"default",fn:function({row:s}){return[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticClass:"product-image",attrs:{src:s.image,alt:s.name}}),e("div",[t._v(t._s(s.name))])])]}}])}),e("el-table-column",{attrs:{prop:"spec",label:"规格",align:"center"}}),e("el-table-column",{attrs:{prop:"price",label:"单价(元)",align:"center",width:"200"}}),e("el-table-column",{attrs:{prop:"quantity",label:"数量",align:"center",width:"100"}}),e("el-table-column",{attrs:{prop:"subtotal",label:"小计(元)",align:"center",width:"200"},scopedSlots:t._u([{key:"default",fn:function({row:s}){return[e("div",{staticStyle:{color:"#ff1111"}},[t._v("¥"+t._s(s.subtotal))])]}}])})],1),e("div",{staticClass:"common-card normal-margin-bottom total-card"},[e("el-descriptions",{attrs:{column:1}},[e("el-descriptions-item",{attrs:{label:"商品总价"}},[t._v("¥"+t._s(t.totalPrice.productTotal))]),e("el-descriptions-item",{attrs:{label:"运费"}},[t._v("¥"+t._s(t.totalPrice.shippingFee))]),e("el-descriptions-item",{attrs:{label:"实付款"}},[e("span",{staticStyle:{"font-size":"16px","font-weight":"bold",color:"#ff1111"}},[t._v("¥"+t._s(t.totalPrice.actualPayment))])])],1)],1)],1)},a=[],r={name:"OrderDetail",data(){return{info:{},activities:[],orderInfo:{orderNumber:"20250801123456",status:"已完成",orderTime:"2025-08-01 15:30:00"},deliveryInfo:{receiver:"张三",address:"北京市海淀区xxx街道xxx小区",phone:"13800138000",deliveryMethod:"快递",expectedDeliveryTime:"2025-08-02"},paymentInfo:{paymentMethod:"支付宝",paymentStatus:"已支付",paymentTime:"2025-08-01 15:35:00"},productList:[{name:"商品1",spec:"规格1",price:100,quantity:1,subtotal:100,image:"https://picsum.photos/200/200?random=1"},{name:"商品2",spec:"规格2",price:200,quantity:2,subtotal:400,image:"https://picsum.photos/200/200?random=1"}],totalPrice:{productTotal:500,shippingFee:0,actualPayment:500}}},computed:{},mounted(){this.getDetail()},methods:{getDetail(){this.post({order_id:this.$route.query.id},"/api/order/query").then(t=>{this.info=t.data}),this.post({order_id:this.$route.query.id},"/api/order/refund_detail").then(t=>{this.activities=t.data.list})}}},l=r,o=s(1656),n=(0,o.A)(l,i,a,!1,null,"1d95a9f7",null),c=n.exports}}]); +//# sourceMappingURL=882.62bac42e.js.map \ No newline at end of file diff --git a/dist/js/882.62bac42e.js.map b/dist/js/882.62bac42e.js.map new file mode 100644 index 0000000..9342959 --- /dev/null +++ b/dist/js/882.62bac42e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/882.62bac42e.js","mappings":"sJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,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C,SAAA,KACAC,QAAA,mBACAC,MAAA,cACAC,eAAA,KACAC,qBAAA,cAEAC,YAAA,CACAC,cAAA,MACAC,cAAA,MACAC,YAAA,uBAEAC,YAAA,CACA,CACAM,KAAA,MACAQ,KAAA,MACAC,MAAA,IACAC,SAAA,EACAT,SAAA,IACAF,MAAA,0CAEA,CACAC,KAAA,MACAQ,KAAA,MACAC,MAAA,IACAC,SAAA,EACAT,SAAA,IACAF,MAAA,2CAGAG,WAAA,CACAC,aAAA,IACAC,YAAA,EACAC,cAAA,KAGA,EACAM,SAAA,GACAC,OAAAA,GACA,KAAAC,WACA,EACAC,QAAA,CACAD,SAAAA,GAEA,KAAAE,KACA,CACAC,SAAA,KAAAC,OAAAC,MAAAC,IAEA,oBACAC,KAAAC,IACA,KAAAnD,KAAAmD,EAAAd,OAIA,KAAAQ,KACA,CACAC,SAAA,KAAAC,OAAAC,MAAAC,IAEA,4BACAC,KAAAC,IACA,KAAAhD,WAAAgD,EAAAd,KAAAe,MAEA,IC3OmQ,I,UCQ/PC,GAAY,OACd,EACAhE,EACA+C,GACA,EACA,KACA,WACA,MAIF,EAAeiB,E","sources":["webpack://abcdf/./src/views/Order/OrderDetail.vue","webpack://abcdf/src/views/Order/OrderDetail.vue","webpack://abcdf/./src/views/Order/OrderDetail.vue?32d4","webpack://abcdf/./src/views/Order/OrderDetail.vue?fd9f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"normal-margin-bottom\"},[_c('el-breadcrumb',{attrs:{\"separator-class\":\"el-icon-arrow-right\"}},[_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/User/UserCenter' }}},[_vm._v(\"个人中心\")]),_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/User/OrderList' }}},[_vm._v(\"我的订单\")]),_c('el-breadcrumb-item',[_vm._v(\" 订单详情\")])],1)],1),_c('div',{staticClass:\"common-card normal-margin-bottom\",staticStyle:{\"padding\":\"20px 0\",\"display\":\"flex\"}},[_c('div',{staticClass:\"order-status\"},[_c('div',{staticClass:\"order-no\"},[_vm._v(\" 订单号: 209907091214560078 \"),_c('el-button',{staticStyle:{\"color\":\"#999\"},attrs:{\"type\":\"text\",\"icon\":\"el-icon-document-copy\"}})],1),_c('div',{staticClass:\"status-title\"},[_c('i',{staticClass:\"el-icon-time\",staticStyle:{\"color\":\"#ff9800\",\"font-size\":\"32px\"}}),_c('span',{staticStyle:{\"height\":\"24px\",\"line-height\":\"24px\",\"padding-left\":\"5px\"}},[_vm._v(\"订单状态: \"+_vm._s(_vm.info.state_text))])]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"}},[_vm._v(\"在线付款\")]),_c('el-button',{staticStyle:{\"padding\":\"0\"},attrs:{\"type\":\"text\",\"size\":\"small\"}},[_vm._v(\"打印订单\")])],1),_c('div',{staticClass:\"order-step\"},[_c('el-steps',{staticStyle:{\"width\":\"100%\"},attrs:{\"active\":2,\"align-center\":\"\"}},_vm._l((_vm.activities),function(item,i){return _c('el-step',{key:i},[_c('div',{staticClass:\"process-title\",attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(_vm._s(item.remark))]),_c('div',{attrs:{\"slot\":\"icon\"},slot:\"icon\"},[(i >= 2)?_c('span',[_vm._v(_vm._s(i + 1))]):_c('i',{staticClass:\"el-icon-check\",staticStyle:{\"color\":\"#fff\"}})]),_c('div',{staticClass:\"process-description\",attrs:{\"slot\":\"description\"},slot:\"description\"},[_vm._v(\" \"+_vm._s(item.create_time)+\" \")])])}),1)],1)]),_c('div',{staticClass:\"common-card normal-margin-bottom order-info-card\",staticStyle:{\"display\":\"flex\",\"padding\":\"20px 0\"}},[_c('el-descriptions',{attrs:{\"title\":\"订单信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"订单号\"}},[_vm._v(_vm._s(_vm.orderInfo.orderNumber))]),_c('el-descriptions-item',{attrs:{\"label\":\"订单状态\"}},[_vm._v(_vm._s(_vm.orderInfo.status))]),_c('el-descriptions-item',{attrs:{\"label\":\"下单时间\"}},[_vm._v(_vm._s(_vm.orderInfo.orderTime))])],1),_c('el-descriptions',{attrs:{\"title\":\"配送信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"收货人\"}},[_vm._v(_vm._s(_vm.deliveryInfo.receiver))]),_c('el-descriptions-item',{attrs:{\"label\":\"地址\"}},[_vm._v(_vm._s(_vm.deliveryInfo.address))]),_c('el-descriptions-item',{attrs:{\"label\":\"手机号码\"}},[_vm._v(_vm._s(_vm.deliveryInfo.phone))]),_c('el-descriptions-item',{attrs:{\"label\":\"配送方式\"}},[_vm._v(_vm._s(_vm.deliveryInfo.deliveryMethod))]),_c('el-descriptions-item',{attrs:{\"label\":\"期望送达时间\"}},[_vm._v(_vm._s(_vm.deliveryInfo.expectedDeliveryTime))])],1),_c('el-descriptions',{staticStyle:{\"border\":\"none\"},attrs:{\"title\":\"支付信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"支付方式\"}},[_vm._v(_vm._s(_vm.paymentInfo.paymentMethod))]),_c('el-descriptions-item',{attrs:{\"label\":\"支付状态\"}},[_vm._v(_vm._s(_vm.paymentInfo.paymentStatus))]),_c('el-descriptions-item',{attrs:{\"label\":\"支付时间\"}},[_vm._v(_vm._s(_vm.paymentInfo.paymentTime))])],1)],1),_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.productList}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"商品名称\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[_c('img',{staticClass:\"product-image\",attrs:{\"src\":row.image,\"alt\":row.name}}),_c('div',[_vm._v(_vm._s(row.name))])])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"spec\",\"label\":\"规格\",\"align\":\"center\"}}),_c('el-table-column',{attrs:{\"prop\":\"price\",\"label\":\"单价(元)\",\"align\":\"center\",\"width\":\"200\"}}),_c('el-table-column',{attrs:{\"prop\":\"quantity\",\"label\":\"数量\",\"align\":\"center\",\"width\":\"100\"}}),_c('el-table-column',{attrs:{\"prop\":\"subtotal\",\"label\":\"小计(元)\",\"align\":\"center\",\"width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('div',{staticStyle:{\"color\":\"#ff1111\"}},[_vm._v(\"¥\"+_vm._s(row.subtotal))])]}}])})],1),_c('div',{staticClass:\"common-card normal-margin-bottom total-card\"},[_c('el-descriptions',{attrs:{\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"商品总价\"}},[_vm._v(\"¥\"+_vm._s(_vm.totalPrice.productTotal))]),_c('el-descriptions-item',{attrs:{\"label\":\"运费\"}},[_vm._v(\"¥\"+_vm._s(_vm.totalPrice.shippingFee))]),_c('el-descriptions-item',{attrs:{\"label\":\"实付款\"}},[_c('span',{staticStyle:{\"font-size\":\"16px\",\"font-weight\":\"bold\",\"color\":\"#ff1111\"}},[_vm._v(\"¥\"+_vm._s(_vm.totalPrice.actualPayment))])])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderDetail.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderDetail.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderDetail.vue?vue&type=template&id=1d95a9f7&scoped=true\"\nimport script from \"./OrderDetail.vue?vue&type=script&lang=js\"\nexport * from \"./OrderDetail.vue?vue&type=script&lang=js\"\nimport style0 from \"./OrderDetail.vue?vue&type=style&index=0&id=1d95a9f7&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 \"1d95a9f7\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","path","_v","staticStyle","_s","info","state_text","_l","activities","item","i","key","slot","remark","create_time","orderInfo","orderNumber","status","orderTime","deliveryInfo","receiver","address","phone","deliveryMethod","expectedDeliveryTime","paymentInfo","paymentMethod","paymentStatus","paymentTime","productList","scopedSlots","_u","fn","row","image","name","subtotal","totalPrice","productTotal","shippingFee","actualPayment","staticRenderFns","data","spec","price","quantity","computed","mounted","getDetail","methods","post","order_id","$route","query","id","then","res","list","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/896.996819fe.js b/dist/js/896.996819fe.js new file mode 100644 index 0000000..6bcc054 --- /dev/null +++ b/dist/js/896.996819fe.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[896],{3896:function(e,t,s){s.r(t),s.d(t,{default:function(){return n}});s(8111),s(116);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"product-grid-page"},[e.showFilter?t("div",{staticClass:"filter-bar"},[t("el-select",{staticClass:"filter-select",attrs:{placeholder:"全部分类"},on:{change:e.handleCategoryChange},model:{value:e.selectedCategory,callback:function(t){e.selectedCategory=t},expression:"selectedCategory"}},e._l(e.categories,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1),t("el-select",{staticClass:"filter-select",attrs:{placeholder:"综合排序"},on:{change:e.handleSortChange},model:{value:e.selectedSort,callback:function(t){e.selectedSort=t},expression:"selectedSort"}},[t("el-option",{attrs:{label:"综合排序",value:"default"}}),t("el-option",{attrs:{label:"销量↑",value:"sales_asc"}}),t("el-option",{attrs:{label:"销量↓",value:"sales_desc"}}),t("el-option",{attrs:{label:"价格↑",value:"price_asc"}}),t("el-option",{attrs:{label:"价格↓",value:"price_desc"}})],1)],1):e._e(),"search"==e.type?t("div",{staticClass:"result-stats"},[t("span",[e._v("全部结果 >")]),e.searchKeyword?t("span",{staticClass:"keyword"},[e._v('"'+e._s(e.searchKeyword)+'"')]):e._e(),e.selectedCategory&&e.categories.find(t=>t.value===e.selectedCategory)?t("span",{staticClass:"category"},[e._v(' "'+e._s(e.categories.find(t=>t.value===e.selectedCategory).label)+'" ')]):e._e(),t("span",[e._v("共"+e._s(e.totalProducts)+"个结果")])]):e._e(),t("div",{staticClass:"product-grid"},[e._l(e.visibleProducts,function(s,a){return t("div",{key:a,staticClass:"product-card",on:{click:function(t){return e.goToDetail(s.id)}}},[t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:s.headimg,expression:"product.headimg"}],staticClass:"product-img",attrs:{alt:s.title,fit:"cover"}}),t("div",{staticClass:"product-info"},[t("div",{staticClass:"product-name"},[e._v(e._s(s.title))]),t("div",{staticClass:"price-row"},[t("span",{staticClass:"current-price"},[e._v("¥"+e._s(s.price/100))]),s.market_price?t("span",{staticClass:"original-price"},[e._v("¥"+e._s(s.market_price/100))]):e._e()]),t("div",{staticClass:"sales-volume"},[t("i",{staticClass:"el-icon-shopping-cart"}),e._v(" 已售 "+e._s(s.sales_number)+" ")]),t("el-button",{staticClass:"cart-btn",attrs:{type:"primary",size:"mini"}},[e._v(" 立即购买 ")])],1)])}),0===e.visibleProducts.length?t("div",{staticClass:"empty-state"},[t("el-empty",{attrs:{description:"暂无符合条件的商品"}})],1):e._e()],2),e.totalProducts>0?t("div",{staticClass:"pagination-container"},[t("el-pagination",{attrs:{"current-page":e.currentPage,"page-sizes":[12,24,36],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.totalProducts},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()])},r=[],i=(s(4114),s(3518)),c={name:"ProductGridPage",data(){return{type:"",searchKeyword:"",selectedCategory:"",selectedSort:"default",showFilter:!0,currentPage:1,pageSize:12,visibleProducts:[],totalProducts:0,categories:[],id:"",keyword:""}},computed:{...(0,i.L8)(["getSearchText"]),currentOffset(){return(this.currentPage-1)*this.pageSize}},watch:{getSearchText(e,t){e!==t&&(this.searchKeyword=e,this.fetchProducts())}},created(){this.type=this.$route.query?.type,this.searchKeyword=this.getSearchText,this.getTagList(),this.$bus.on("search-product",e=>{this.searchKeyword=e,this.currentPage=1,this.fetchProducts()})},beforeDestroy(){this.$bus.off("search-product"),this.searchKeyword="",this.$store.commit("setSearchText",""),this.currentPage=1,this.selectedCategory="",this.selectedSort="default"},methods:{getTagList(){this.post({pid:683},"/api/product/tag_list").then(e=>{this.categories=e.data,this.categories[0].id=662;const t=this.$route.query.id||662;if(t){this.id=t;const e=this.categories.find(e=>e.id==t);console.log(t,e),e&&(this.selectedCategory=e.name)}this.fetchProducts()})},async fetchProducts(){const e={tag_id:this.id||this.selectedCategory,offset:this.currentOffset,limit:this.pageSize,title:this.searchKeyword,...this.parseSortParams()};this.searchKeyword&&(e.keyword=this.searchKeyword);const t=await this.post(e,"/api/product/get_product_by_tag");this.visibleProducts=t.data.list||[],this.totalProducts=Number(t.data.total)||0},parseSortParams(){if("default"===this.selectedSort)return{};const[e,t]=this.selectedSort.split("_"),s={sales:"sales_number",price:"price"};return{sort:s[e],order:t}},handleCategoryChange(e){this.id=e,this.currentPage=1,this.fetchProducts()},handleSortChange(){this.currentPage=1,this.fetchProducts()},handleSizeChange(e){this.pageSize=e,this.currentPage=1,this.fetchProducts()},handleCurrentChange(e){this.currentPage=e,this.fetchProducts(),window.scrollTo(0,0)},goToDetail(e){this.$router.push(`/Detail/${e}`)}}},o=c,l=s(1656),d=(0,l.A)(o,a,r,!1,null,"cf708dca",null),n=d.exports}}]); +//# sourceMappingURL=896.996819fe.js.map \ No newline at end of file diff --git a/dist/js/896.996819fe.js.map b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E,EACA,KAAAhD,YAAA,EACA,KAAAc,eACA,EAGArC,gBAAAA,GACA,KAAAuB,YAAA,EACA,KAAAc,eACA,EAGAZ,gBAAAA,CAAA+C,GACA,KAAAhD,SAAAgD,EACA,KAAAjD,YAAA,EACA,KAAAc,eACA,EAGAX,mBAAAA,CAAA8C,GACA,KAAAjD,YAAAiD,EACA,KAAAnC,gBAEAoC,OAAAC,SAAA,IACA,EAGA5D,UAAAA,CAAAhB,GACA,KAAA6E,QAAAC,KAAA,WAAA9E,IACA,ICtR6P,I,UCQzP+E,GAAY,OACd,EACAnG,EACAiD,GACA,EACA,KACA,WACA,MAIF,EAAekD,E","sources":["webpack://abcdf/./src/views/ProductPage/Index.vue","webpack://abcdf/src/views/ProductPage/Index.vue","webpack://abcdf/./src/views/ProductPage/Index.vue?c00e","webpack://abcdf/./src/views/ProductPage/Index.vue?ce43"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-grid-page\"},[(_vm.showFilter)?_c('div',{staticClass:\"filter-bar\"},[_c('el-select',{staticClass:\"filter-select\",attrs:{\"placeholder\":\"全部分类\"},on:{\"change\":_vm.handleCategoryChange},model:{value:(_vm.selectedCategory),callback:function ($$v) {_vm.selectedCategory=$$v},expression:\"selectedCategory\"}},_vm._l((_vm.categories),function(cat){return _c('el-option',{key:cat.id,attrs:{\"label\":cat.name,\"value\":cat.id}})}),1),_c('el-select',{staticClass:\"filter-select\",attrs:{\"placeholder\":\"综合排序\"},on:{\"change\":_vm.handleSortChange},model:{value:(_vm.selectedSort),callback:function ($$v) {_vm.selectedSort=$$v},expression:\"selectedSort\"}},[_c('el-option',{attrs:{\"label\":\"综合排序\",\"value\":\"default\"}}),_c('el-option',{attrs:{\"label\":\"销量↑\",\"value\":\"sales_asc\"}}),_c('el-option',{attrs:{\"label\":\"销量↓\",\"value\":\"sales_desc\"}}),_c('el-option',{attrs:{\"label\":\"价格↑\",\"value\":\"price_asc\"}}),_c('el-option',{attrs:{\"label\":\"价格↓\",\"value\":\"price_desc\"}})],1)],1):_vm._e(),(_vm.type == 'search')?_c('div',{staticClass:\"result-stats\"},[_c('span',[_vm._v(\"全部结果 >\")]),(_vm.searchKeyword)?_c('span',{staticClass:\"keyword\"},[_vm._v(\"\\\"\"+_vm._s(_vm.searchKeyword)+\"\\\"\")]):_vm._e(),(\n _vm.selectedCategory &&\n _vm.categories.find((cat) => cat.value === _vm.selectedCategory)\n )?_c('span',{staticClass:\"category\"},[_vm._v(\" \\\"\"+_vm._s(_vm.categories.find((cat) => cat.value === _vm.selectedCategory).label)+\"\\\" \")]):_vm._e(),_c('span',[_vm._v(\"共\"+_vm._s(_vm.totalProducts)+\"个结果\")])]):_vm._e(),_c('div',{staticClass:\"product-grid\"},[_vm._l((_vm.visibleProducts),function(product,index){return _c('div',{key:index,staticClass:\"product-card\",on:{\"click\":function($event){return _vm.goToDetail(product.id)}}},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(product.headimg),expression:\"product.headimg\"}],staticClass:\"product-img\",attrs:{\"alt\":product.title,\"fit\":\"cover\"}}),_c('div',{staticClass:\"product-info\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(product.title))]),_c('div',{staticClass:\"price-row\"},[_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()]),_c('div',{staticClass:\"sales-volume\"},[_c('i',{staticClass:\"el-icon-shopping-cart\"}),_vm._v(\" 已售 \"+_vm._s(product.sales_number)+\" \")]),_c('el-button',{staticClass:\"cart-btn\",attrs:{\"type\":\"primary\",\"size\":\"mini\"}},[_vm._v(\" 立即购买 \")])],1)])}),(_vm.visibleProducts.length === 0)?_c('div',{staticClass:\"empty-state\"},[_c('el-empty',{attrs:{\"description\":\"暂无符合条件的商品\"}})],1):_vm._e()],2),(_vm.totalProducts > 0)?_c('div',{staticClass:\"pagination-container\"},[_c('el-pagination',{attrs:{\"current-page\":_vm.currentPage,\"page-sizes\":[12, 24, 36],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.totalProducts},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./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=cf708dca&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=cf708dca&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 \"cf708dca\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","showFilter","attrs","on","handleCategoryChange","model","value","selectedCategory","callback","$$v","expression","_l","categories","cat","key","id","name","handleSortChange","selectedSort","_e","type","_v","searchKeyword","_s","find","label","totalProducts","visibleProducts","product","index","$event","goToDetail","directives","rawName","headimg","title","price","market_price","sales_number","length","currentPage","pageSize","handleSizeChange","handleCurrentChange","staticRenderFns","data","keyword","computed","mapGetters","currentOffset","watch","getSearchText","newVal","oldVal","fetchProducts","created","$route","query","getTagList","$bus","beforeDestroy","off","$store","commit","methods","post","pid","then","res","routeId","matchedCategory","console","log","params","tag_id","offset","limit","parseSortParams","response","list","Number","total","sortField","order","split","sortMap","sales","sort","event","val","window","scrollTo","$router","push","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/900.6b17b6f1.js b/dist/js/900.6b17b6f1.js deleted file mode 100644 index bc427c6..0000000 --- a/dist/js/900.6b17b6f1.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[900],{900:function(e,t,s){s.r(t),s.d(t,{default:function(){return n}});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"login-page"},[e._m(0),t("div",{staticClass:"form-card"},[t("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:e.form,rules:e.rules,"label-width":"0"}},[t("el-form-item",{attrs:{prop:"phone"}},[t("el-input",{attrs:{placeholder:"请输入手机号码",clearable:"","prefix-icon":"el-icon-phone",maxlength:"11"},model:{value:e.form.phone,callback:function(t){e.$set(e.form,"phone",t)},expression:"form.phone"}})],1),t("el-form-item",{attrs:{prop:"captcha"}},[t("el-input",{staticStyle:{width:"65%"},attrs:{placeholder:"请输入图形验证码",clearable:"","prefix-icon":"el-icon-picture"},model:{value:e.form.captcha,callback:function(t){e.$set(e.form,"captcha",t)},expression:"form.captcha"}}),t("div",{staticClass:"captcha-img",on:{click:e.refreshCaptcha}},[t("img",{staticClass:"captcha-pic",attrs:{src:e.captchaUrl,alt:"图形验证码"}})])],1),"sms"===e.loginType?t("el-form-item",{attrs:{prop:"code"}},[t("el-input",{staticStyle:{width:"65%"},attrs:{placeholder:"请输入验证码",clearable:"","prefix-icon":"el-icon-message"},model:{value:e.form.code,callback:function(t){e.$set(e.form,"code",t)},expression:"form.code"}}),t("el-button",{staticClass:"code-btn",attrs:{type:"primary",disabled:e.codeDisabled},on:{click:e.handleGetCode}},[e._v(" "+e._s(e.codeText)+" ")])],1):e._e(),"password"===e.loginType?t("el-form-item",{attrs:{prop:"password"}},[t("el-input",{attrs:{type:"password",placeholder:"请输入密码",clearable:"","prefix-icon":"el-icon-lock"},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}})],1):e._e(),t("el-form-item",{staticClass:"remember-item"},[t("el-checkbox",{attrs:{size:"mini"},model:{value:e.rememberPhone,callback:function(t){e.rememberPhone=t},expression:"rememberPhone"}},[e._v(" 记住用户名/手机号码 ")])],1),t("el-form-item",[t("el-button",{staticClass:"login-btn",attrs:{type:"primary",loading:e.submitting},on:{click:e.handleLogin}},[e._v(" 立即登录 ")])],1),e._e()],1)],1)])},r=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg-container"},[t("img",{staticClass:"bg-img",attrs:{src:"https://static.ticket.sz-trip.com/shiweisuzhou/pc/login/loginBg.png",alt:"login background"}})])}],a=(s(4114),{name:"Login",data(){return{loginType:"sms",form:{phone:"",code:"",password:"",captcha:""},rules:{phone:[{required:!0,message:"请输入手机号码",trigger:"blur"},{pattern:/^1\d{10}$/,message:"手机号码格式错误",trigger:"blur"}],captcha:[{required:!0,message:"请输入图形验证码",trigger:"blur"},{min:4,max:4,message:"图形验证码为4位字符",trigger:"blur"}],code:[{required:!0,message:"请输入验证码",trigger:"blur"},{pattern:/^\d{6}$/,message:"验证码为6位数字",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"},{min:6,message:"密码至少6位",trigger:"blur"}]},codeText:"获取验证码",codeDisabled:!1,countdown:60,captchaUrl:"",captchaId:"",rememberPhone:!1,submitting:!1,smsCodeId:""}},mounted(){const e=localStorage.getItem("rememberedPhone");e&&(this.form.phone=e,this.rememberPhone=!0),this.refreshCaptcha()},methods:{refreshCaptcha(){this.post({},"/api/uservice/user/getCaptchaImg").then(e=>{e&&(this.captchaUrl=e.data.code,this.captchaId=e.data.id)})},switchLoginType(e){this.loginType=e,this.resetForm()},resetForm(){this.form.code="",this.form.password="",this.form.captcha="",this.$refs.loginForm.resetValidation(),this.refreshCaptcha()},handleGetCode(){this.form.phone?this.form.captcha?this.post({mobile:this.form.phone,captchaCode:this.form.captcha,captchaCodeId:this.captchaId},"/api/uservice/user/getMobileCodeForLogin").then(e=>{if(console.log(e),1==e.code){this.codeDisabled=!0,this.smsCodeId=e.data.id,this.codeText=`重新发送(${this.countdown}s)`;const t=setInterval(()=>{this.countdown--,this.codeText=`重新发送(${this.countdown}s)`,this.countdown<=0&&(clearInterval(t),this.codeText="获取验证码",this.codeDisabled=!1,this.countdown=60)},1e3)}}):this.$message.warning("请先输入图形验证码"):this.$message.warning("请先输入手机号码")},handleLogin(){this.$refs.loginForm.validate(e=>{e&&(this.submitting=!0,this.post({mobile:this.form.phone,smsCodeId:this.smsCodeId,smsCode:this.form.code,fromSource:"PC"},"/api/uservice/user/loginByMobileCode").then(e=>{this.submitting=!1,1==e.code&&(this.$message.success("登录成功!"),this.rememberPhone?localStorage.setItem("rememberedPhone",this.form.phone):localStorage.removeItem("rememberedPhone"),this.$store.commit("USER_LOGIN",{userInfo:e.data,token:e.data.token}),this.$router.push("/"))}),setTimeout(()=>{},1500))})},goToRegister(){this.$router.push("/Register")}}}),i=a,c=s(1656),l=(0,c.A)(i,o,r,!1,null,"0c4c6f6a",null),n=l.exports}}]); -//# sourceMappingURL=900.6b17b6f1.js.map \ No newline at end of file diff --git a/dist/js/900.6b17b6f1.js.map b/dist/js/900.6b17b6f1.js.map deleted file mode 100644 index 8c07b5c..0000000 --- a/dist/js/900.6b17b6f1.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/900.6b17b6f1.js","mappings":"qJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,cAAc,CAACJ,EAAIK,GAAG,GAAGH,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,UAAU,CAACI,IAAI,YAAYF,YAAY,aAAaG,MAAM,CAAC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Ae,cACA,KAAAA,WAAA,IACAyB,cAAAF,GACA,KAAAtC,SAAA,QACA,KAAAJ,cAAA,EACA,KAAAmB,UAAA,KAEA,IACA,IA3BA,KAAA0B,SAAAC,QAAA,aAJA,KAAAD,SAAAC,QAAA,WAiCA,EAGArC,WAAAA,GACA,KAAAyB,MAAAC,UAAAY,SAAAC,IACAA,IACA,KAAAxC,YAAA,EACA,KAAAmB,KACA,CACAU,OAAA,KAAArD,KAAAI,MACAiC,UAAA,KAAAA,UACA4B,QAAA,KAAAjE,KAAAe,KACAmD,WAAA,MAEA,wCACAtB,KAAAC,IACA,KAAArB,YAAA,EACA,GAAAqB,EAAA9B,OACA,KAAA8C,SAAAM,QAAA,SAEA,KAAA5C,cACAiB,aAAA4B,QAAA,uBAAApE,KAAAI,OAEAoC,aAAA6B,WAAA,mBAIA,KAAAC,OAAAC,OAAA,cACAC,SAAA3B,EAAAjB,KACA6C,MAAA5B,EAAAjB,KAAA6C,QAIA,KAAAC,QAAAC,KAAA,QAKAC,WAAA,OAKA,QAGA,EAGAC,YAAAA,GACA,KAAAH,QAAAC,KAAA,YACA,KC9RoP,I,UCQhPG,GAAY,OACd,EACAvF,EACAmC,GACA,EACA,KACA,WACA,MAIF,EAAeoD,E","sources":["webpack://abcdf/./src/views/Login.vue","webpack://abcdf/src/views/Login.vue","webpack://abcdf/./src/views/Login.vue?3cb7","webpack://abcdf/./src/views/Login.vue?a6ee"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"login-page\"},[_vm._m(0),_c('div',{staticClass:\"form-card\"},[_c('el-form',{ref:\"loginForm\",staticClass:\"login-form\",attrs:{\"model\":_vm.form,\"rules\":_vm.rules,\"label-width\":\"0\"}},[_c('el-form-item',{attrs:{\"prop\":\"phone\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入手机号码\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-phone\",\"maxlength\":\"11\"},model:{value:(_vm.form.phone),callback:function ($$v) {_vm.$set(_vm.form, \"phone\", $$v)},expression:\"form.phone\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"captcha\"}},[_c('el-input',{staticStyle:{\"width\":\"65%\"},attrs:{\"placeholder\":\"请输入图形验证码\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-picture\"},model:{value:(_vm.form.captcha),callback:function ($$v) {_vm.$set(_vm.form, \"captcha\", $$v)},expression:\"form.captcha\"}}),_c('div',{staticClass:\"captcha-img\",on:{\"click\":_vm.refreshCaptcha}},[_c('img',{staticClass:\"captcha-pic\",attrs:{\"src\":_vm.captchaUrl,\"alt\":\"图形验证码\"}})])],1),(_vm.loginType === 'sms')?_c('el-form-item',{attrs:{\"prop\":\"code\"}},[_c('el-input',{staticStyle:{\"width\":\"65%\"},attrs:{\"placeholder\":\"请输入验证码\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-message\"},model:{value:(_vm.form.code),callback:function ($$v) {_vm.$set(_vm.form, \"code\", $$v)},expression:\"form.code\"}}),_c('el-button',{staticClass:\"code-btn\",attrs:{\"type\":\"primary\",\"disabled\":_vm.codeDisabled},on:{\"click\":_vm.handleGetCode}},[_vm._v(\" \"+_vm._s(_vm.codeText)+\" \")])],1):_vm._e(),(_vm.loginType === 'password')?_c('el-form-item',{attrs:{\"prop\":\"password\"}},[_c('el-input',{attrs:{\"type\":\"password\",\"placeholder\":\"请输入密码\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-lock\"},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}})],1):_vm._e(),_c('el-form-item',{staticClass:\"remember-item\"},[_c('el-checkbox',{attrs:{\"size\":\"mini\"},model:{value:(_vm.rememberPhone),callback:function ($$v) {_vm.rememberPhone=$$v},expression:\"rememberPhone\"}},[_vm._v(\" 记住用户名/手机号码 \")])],1),_c('el-form-item',[_c('el-button',{staticClass:\"login-btn\",attrs:{\"type\":\"primary\",\"loading\":_vm.submitting},on:{\"click\":_vm.handleLogin}},[_vm._v(\" 立即登录 \")])],1),(false)?_c('div',{staticClass:\"register-guide\"},[_vm._v(\" 首次使用? \"),_c('router-link',{staticClass:\"register-link\",attrs:{\"to\":\"/Register\"},on:{\"click\":_vm.goToRegister}},[_vm._v(\" 点击注册 \")])],1):_vm._e()],1)],1)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg-container\"},[_c('img',{staticClass:\"bg-img\",attrs:{\"src\":\"https://static.ticket.sz-trip.com/shiweisuzhou/pc/login/loginBg.png\",\"alt\":\"login background\"}})])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Login.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!./Login.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=0c4c6f6a&scoped=true\"\nimport script from \"./Login.vue?vue&type=script&lang=js\"\nexport * from \"./Login.vue?vue&type=script&lang=js\"\nimport style0 from \"./Login.vue?vue&type=style&index=0&id=0c4c6f6a&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 \"0c4c6f6a\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_m","ref","attrs","form","rules","model","value","phone","callback","$$v","$set","expression","staticStyle","captcha","on","refreshCaptcha","captchaUrl","loginType","code","codeDisabled","handleGetCode","_v","_s","codeText","_e","password","rememberPhone","submitting","handleLogin","staticRenderFns","name","data","required","message","trigger","pattern","min","max","countdown","captchaId","smsCodeId","mounted","rememberedPhone","localStorage","getItem","methods","post","then","res","id","switchLoginType","type","resetForm","$refs","loginForm","resetValidation","mobile","captchaCode","captchaCodeId","console","log","timer","setInterval","clearInterval","$message","warning","validate","valid","smsCode","fromSource","success","setItem","removeItem","$store","commit","userInfo","token","$router","push","setTimeout","goToRegister","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/926.d303aa93.js b/dist/js/926.d303aa93.js new file mode 100644 index 0000000..08dd0c1 --- /dev/null +++ b/dist/js/926.d303aa93.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[926],{926:function(t,e,i){i.r(e),i.d(e,{default:function(){return k}});var s=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"product-detail-container"},[e("div",{staticClass:"left-section"},[e("el-carousel",{ref:"carousel",staticClass:"product-carousel",attrs:{height:"500px","indicator-position":"none"},on:{change:t.handleCarouselChange}},t._l(t.info.listimg,function(t,i){return e("el-carousel-item",{key:i},[e("img",{staticClass:"carousel-img",attrs:{src:t,alt:`商品图片${i+1}`}})])}),1),e("div",{staticClass:"hint-text"},[t._v(" 温馨提示:以上图片仅供参考,若图片与实物有所不同,则以实物为准。 ")]),e("div",{staticClass:"image-indicators"},t._l(t.info.listimg,function(i,s){return e("div",{key:s,staticClass:"indicator-item",class:{active:t.activeIndex===s},on:{click:function(e){return t.handleIndicatorClick(s)}}},[e("img",{staticClass:"indicator-img",attrs:{src:i,alt:`缩略图${s+1}`}})])}),0)],1),e("div",{staticClass:"right-section"},[e("h2",{staticClass:"product-title"},[t._v(" "+t._s(t.info.title)+" ")]),e("div",{staticClass:"product-tags"},[t.info.display_tags?e("div",{staticStyle:{display:"inline-block"}},t._l(t.info.display_tags.split(","),function(i,s){return e("el-tag",{key:s,staticStyle:{"margin-right":"5px"},attrs:{effect:"dark",size:"mini"}},[t._v(t._s(i))])}),1):t._e(),e("span",{staticClass:"subtitle"},[t._v(t._s(t.info.subtitle))])]),e("div",{staticClass:"price-info"},[e("span",{staticClass:"price-label"},[t._v("售价")]),e("span",{staticClass:"price-amount"},[t._v("¥"+t._s(t.info.sku[t.selectedSpec].price/100))]),e("span",{staticClass:"sales-volume"},[t._v("已售 "+t._s(t.info.sales_number))])]),e("div",{staticClass:"product-attr"},[t._m(0),e("div",{staticClass:"attr-item spec-group"},[e("span",{staticClass:"attr-label"},[t._v("商品规格")]),e("div",{staticClass:"custom-radio-group"},t._l(t.info.sku,function(i,s){return e("label",{key:s,staticClass:"custom-radio",class:{"is-checked":t.selectedSpec===s},on:{click:function(e){t.selectedSpec=s}}},[e("span",{staticClass:"radio-text"},[t._v(t._s(i.sku_name))])])}),0)]),t.currentMinQuantity>1?e("div",{staticClass:"attr-item"},[e("span",{staticClass:"attr-label"},[t._v("起订量")]),e("span",{staticClass:"attr-value"},[t._v(t._s(t.currentMinQuantity)+"件")])]):t._e(),e("div",{staticClass:"attr-item"},[e("span",{staticClass:"attr-label"},[t._v("发货地")]),e("span",{staticClass:"attr-value"},[t._v(t._s(t.info.supplier_address))])]),e("div",{staticClass:"attr-item"},[e("span",{staticClass:"attr-label"},[t._v("其他")]),e("span",{staticClass:"attr-value"},[t._v(t._s(t.otherInfo))])]),e("div",{staticClass:"attr-item"},[e("span",{staticClass:"attr-label"},[t._v("配送范围")]),e("span",{staticClass:"attr-value"},[t._v(t._s(t.deliveryRange))])])]),e("div",{staticClass:"quantity-control"},[e("el-button",{attrs:{icon:"el-icon-minus",circle:""},on:{click:t.decreaseQuantity}}),e("span",{staticClass:"quantity-value"},[t._v(t._s(t.quantity))]),e("el-button",{attrs:{icon:"el-icon-plus",circle:""},on:{click:t.increaseQuantity}}),e("el-button",{staticClass:"buy-btn",attrs:{type:"primary"},on:{click:t.buyNow}},[t._v("一口价购买")]),e("el-button",{staticClass:"cart-btn",attrs:{type:"success"},on:{click:t.addCart}},[t._v("加入购物车")]),e("el-button",{staticClass:"bargain-btn",attrs:{type:"info"}},[t._v("议价")]),e("el-button",{staticClass:"share-btn",attrs:{icon:"el-icon-share",circle:""},on:{click:t.handleShare}})],1)])]),e("div",{staticClass:"product-bottom"},[e("div",{staticClass:"hot-recommend-sidebar"},[e("div",{staticClass:"hot-title"},[t._v("热销推荐")]),t._l(t.hotRecommendData,function(i,s){return e("div",{key:s,staticClass:"product-item",on:{click:function(e){t.id=i.id,t.onReload()}}},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:i.headimg,expression:"item.headimg"}],attrs:{alt:""}}),e("div",{staticClass:"product-name"},[t._v(t._s(i.title))]),e("div",{staticClass:"product-price"},[t._v("¥"+t._s(i.price/100))])])})],2),e("div",{staticClass:"product-right"},[e("div",{staticClass:"product-tabs"},[e("span",{class:["tab-item",{active:!t.tabIndex}],on:{click:function(e){t.tabIndex=0}}},[t._v("商品详情")]),e("span",{class:["tab-item",{active:t.tabIndex}],on:{click:function(e){t.tabIndex=1}}},[t._v("商品评价(125)")])]),e("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))}}),e("Evaluate",{directives:[{name:"show",rawName:"v-show",value:t.tabIndex,expression:"tabIndex"}],attrs:{id:t.id}})],1)]),e("AddToCartDialog",{attrs:{product:t.sku,buyQuantity:t.quantity,visible:t.showAddCartDialog},on:{"update:visible":function(e){t.showAddCartDialog=e}}})],1)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"attr-item"},[e("span",{staticClass:"attr-label"},[t._v("收货方式")]),e("span",{staticClass:"attr-value"},[t._v("邮寄")])])}],n=(i(4114),function(){var t=this,e=t._self._c;return e("div",{staticClass:"product-review-section"},[e("div",{staticClass:"review-header"},[e("div",{staticClass:"rating-box"},[e("div",{staticClass:"rating-score"},[t._v(t._s(t.averageScore)+" 分")]),e("div",{staticClass:"rating-text"},[t._v("综合评分 (共 "+t._s(t.totalReviews)+" 条)")])]),e("div",{staticClass:"filter-tabs"},[e("div",{staticClass:"tab-item",class:{active:"all"===t.activeFilter},on:{click:function(e){return t.handleFilterChange("all")}}},[t._v(" 全部("+t._s(t.totalReviews)+") ")]),e("div",{staticClass:"tab-item",class:{active:"image"===t.activeFilter},on:{click:function(e){return t.handleFilterChange("image")}}},[t._v(" 有图("+t._s(t.hasImageCount)+") ")]),e("div",{staticClass:"tab-item",class:{active:"good"===t.activeFilter},on:{click:function(e){return t.handleFilterChange("good")}}},[t._v(" 好评("+t._s(t.goodReviewsCount)+") ")]),e("div",{staticClass:"tab-item",class:{active:"medium"===t.activeFilter},on:{click:function(e){return t.handleFilterChange("medium")}}},[t._v(" 中评("+t._s(t.mediumReviewsCount)+") ")]),e("div",{staticClass:"tab-item",class:{active:"bad"===t.activeFilter},on:{click:function(e){return t.handleFilterChange("bad")}}},[t._v(" 差评("+t._s(t.badReviewsCount)+") ")])])]),e("div",{staticClass:"review-list"},[t._l(t.currentPageReviews,function(i,s){return e("div",{key:i.id,staticClass:"review-item"},[e("div",{staticClass:"user-info"},[e("img",{staticClass:"avatar",attrs:{src:i.avatar,alt:i.userName+"的头像"}}),e("div",{staticClass:"user-name"},[t._v(t._s(i.userName))]),e("div",{staticClass:"rating-stars"},t._l(5,function(s){return e("span",{key:s},[t._v(" "+t._s(s<=i.rating?"★":"☆")+" ")])}),0)]),e("div",{staticClass:"review-content",class:{empty:!i.content}},[t._v(" "+t._s(i.content||"该用户没有填写评价内容")+" ")]),i.images&&i.images.length?e("div",{staticClass:"review-images"},t._l(i.images,function(s,a){return e("img",{key:a,attrs:{src:s,alt:`${i.userName}的评价图片${a+1}`},on:{click:function(e){return t.openPreview(i.images,a)}}})}),0):t._e(),e("div",{staticClass:"review-time"},[t._v(t._s(i.time))])])}),0===t.filteredReviews.length?e("div",{staticClass:"empty-state"},[e("el-empty",{attrs:{description:"暂无符合条件的评价"}})],1):t._e()],2),t.filteredReviews.length>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.filteredReviews.length},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e(),e("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(e){t.previewVisible=e}}},[e("div",{staticClass:"preview-container"},[e("el-button",{staticClass:"preview-btn prev-btn",attrs:{icon:"el-icon-arrow-left",circle:"",disabled:0===t.previewIndex},on:{click:function(e){return t.changePreview("prev")}}}),e("div",{staticClass:"preview-img-wrapper"},[e("img",{staticClass:"preview-img",attrs:{src:t.previewImages[t.previewIndex],alt:`预览图片 ${t.previewIndex+1}`}})]),e("el-button",{staticClass:"preview-btn next-btn",attrs:{icon:"el-icon-arrow-right",circle:"",disabled:t.previewIndex===t.previewImages.length-1},on:{click:function(e){return t.changePreview("next")}}})],1)])],1)}),r=[],c=(i(8111),i(2489),i(8237),i(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,e)=>t+e.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,e=t+this.pageSize;return this.filteredReviews.slice(t,e)}},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,e){this.previewImages=t,this.previewIndex=e,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=i(1656),u=(0,d.A)(l,n,r,!1,null,"6c3951fc",null),p=u.exports,h=function(){var t=this,e=t._self._c;return e("el-dialog",{attrs:{title:"加入购物车",visible:t.dialogVisible,width:"360px","close-on-click-modal":!1,"show-close":!1},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("div",{staticClass:"cart-dialog__product"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.product.headimg,expression:"product.headimg"}],staticClass:"product-img",attrs:{alt:"商品图片"}}),e("div",{staticClass:"product-info"},[e("h4",{staticClass:"product-name"},[t._v(t._s(t.product.sku_name||"商品名称"))]),e("p",{staticClass:"product-price"},[t._v("¥"+t._s(t.product.price/100))])])]),e("div",{staticClass:"cart-dialog__quantity"},[e("label",[t._v("购买数量:")]),e("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(e){t.buyQuantity=e},expression:"buyQuantity"}}),t.product.stock?e("span",{staticClass:"stock-tip"},[t._v(" 库存仅剩 "+t._s(t.product.stock)+" 件 ")]):t._e()],1),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticClass:"cancel-btn",on:{click:function(e){t.dialogVisible=!1}}},[t._v(" 取消 ")]),e("el-button",{staticClass:"confirm-btn",attrs:{type:"primary",loading:t.loading},on:{click:t.handleAddToCart}},[t._v(" 加入购物车 ")])],1)])},v=[],m=i(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.d303aa93.js.map \ No newline at end of file diff --git a/dist/js/926.d303aa93.js.map b/dist/js/926.d303aa93.js.map new file mode 100644 index 0000000..1b39b51 --- /dev/null +++ b/dist/js/926.d303aa93.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/926.d303aa93.js","mappings":"qJAAA,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Q,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://abcdf/./src/views/Detail/Index.vue","webpack://abcdf/./src/components/product/Evaluate.vue","webpack://abcdf/src/components/product/Evaluate.vue","webpack://abcdf/./src/components/product/Evaluate.vue?9dbf","webpack://abcdf/./src/components/product/Evaluate.vue?9ce1","webpack://abcdf/./src/components/product/AddToCartDialog.vue","webpack://abcdf/src/components/product/AddToCartDialog.vue","webpack://abcdf/./src/components/product/AddToCartDialog.vue?0999","webpack://abcdf/./src/components/product/AddToCartDialog.vue?aabf","webpack://abcdf/src/views/Detail/Index.vue","webpack://abcdf/./src/views/Detail/Index.vue?1ab6","webpack://abcdf/./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 ","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","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddToCartDialog.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddToCartDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AddToCartDialog.vue?vue&type=template&id=32e5a85a&scoped=true\"\nimport script from \"./AddToCartDialog.vue?vue&type=script&lang=js\"\nexport * from \"./AddToCartDialog.vue?vue&type=script&lang=js\"\nimport style0 from \"./AddToCartDialog.vue?vue&type=style&index=0&id=32e5a85a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"32e5a85a\",\n null\n \n)\n\nexport default component.exports","\r\n\r\n\r\n\r\n\r\n ","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=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/955.1d798592.js b/dist/js/955.1d798592.js new file mode 100644 index 0000000..a56e795 --- /dev/null +++ b/dist/js/955.1d798592.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkabcdf"]=self["webpackChunkabcdf"]||[]).push([[955],{955:function(t,e,i){i.r(e),i.d(e,{default:function(){return u}});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"order-page"},[e("div",{staticClass:"page-header"},[e("h2",[t._v("填写收货人信息")]),e("el-button",{staticClass:"address-book-btn",attrs:{type:"text"},on:{click:function(e){return t.openDialog("add",{})}}},[t._v(" 新增/修改地址 ")])],1),e("div",{staticClass:"info-section"},[e("h3",[t._v("收货人信息")]),e("div",{staticClass:"address-item"},[e("span",{staticClass:"label"},[t._v("收货地址:")]),e("div",{staticClass:"address-content"},t._l(t.addresses,function(i,s){return e("div",{key:s,staticClass:"saved-address",class:{selected:t.selectedAddressIndex===s},on:{click:function(e){return t.selectAddress(s)}}},[e("span",{staticClass:"name-tag"},[t._v(t._s(i.name)+" "+t._s(i.province))]),e("span",{staticClass:"detail"},[t._v(t._s(i.address)+" "+t._s(i.phone))]),e("el-button",{staticClass:"edit-btn",attrs:{type:"text"},on:{click:function(e){return e.stopPropagation(),t.handleEdit(i)}}},[t._v("编辑")]),e("el-button",{staticClass:"delete-btn",attrs:{type:"text"},on:{click:function(e){return e.stopPropagation(),t.handleDelete()}}},[t._v("删除")])],1)}),0)])]),t._m(0),e("div",{staticClass:"goods-section"},[e("h3",[t._v("商品清单")]),t._l(t.orderGroups,function(i,s){return e("div",{key:s,staticClass:"order-group"},[e("div",{staticClass:"supplier-info"},[e("span",[t._v("供货名称:"+t._s(i.supplier))])]),e("table",{staticClass:"goods-table"},[t._m(1,!0),e("tbody",t._l(i.items,function(i,s){return e("tr",{key:s},[e("td",[e("img",{staticClass:"goods-img",attrs:{src:i.image,alt:"商品图片"}}),e("span",{staticClass:"goods-name"},[t._v(t._s(i.name))])]),e("td",[t._v(t._s(i.spec))]),e("td",[t._v(t._s(i.price))]),e("td",[t._v(t._s(i.quantity))]),e("td",[t._v(t._s(i.freight))]),e("td",[t._v(t._s(i.deliveryType))]),e("td",{staticClass:"subtotal"},[t._v(t._s(i.subtotal))])])}),0)]),e("div",{staticClass:"order-remark"},[e("span",{staticClass:"remark-label"},[t._v("订单备注:")]),e("div",{staticClass:"rich-text-editor"},[e("el-input",{staticClass:"remark-editor",attrs:{type:"textarea",rows:"4",placeholder:"请输入订单备注信息"},model:{value:i.remark,callback:function(e){t.$set(i,"remark",e)},expression:"group.remark"}}),t._e()],1)])])}),e("div",{staticClass:"total-info"},[e("p",[t._v(" 共 "+t._s(t.totalGoodsCount)+" 件商品,总商品金额 ¥"+t._s(t.totalGoodsAmount)+" ")]),e("p",[t._v("总运费 ¥"+t._s(t.totalFreight))]),e("p",{staticClass:"pay-amount"},[t._v("实付总金额 ¥"+t._s(t.totalPayAmount))]),e("p",{staticClass:"address-info"},[t._v(" 配送地:"+t._s(t.selectedAddress.address)),e("br"),t._v(" 交货地:"+t._s(t.selectedAddress.address)+" "+t._s(t.selectedAddress.phone)+" ")]),e("el-button",{staticClass:"submit-btn",attrs:{type:"primary"},on:{click:t.submitOrder}},[t._v(" 提交订单 ")])],1)],2),e("AddressFormDialog",{attrs:{visible:t.dialogVisible,type:t.dialogType,"initial-data":t.dialogData},on:{"update:visible":function(e){t.dialogVisible=e},save:t.handleSaveAddress}})],1)},r=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"contract-section"},[e("h3",[t._v("签署合同")]),e("p",[t._v("如需签署合同,提交订单后,请至采购中心>合同中心签署")])])},function(){var t=this,e=t._self._c;return e("thead",[e("tr",[e("th",[t._v("商品")]),e("th",[t._v("规格")]),e("th",[t._v("单价(元)")]),e("th",[t._v("数量")]),e("th",[t._v("运费")]),e("th",[t._v("收货方式")]),e("th",[t._v("小计(元)")])])])}],a=(i(4114),i(8111),i(7588),i(1701),i(3518)),o=i(1734),d={name:"OrderPage",components:{AddressFormDialog:o.A},data(){return{addresses:[],selectedAddressIndex:-1,selectedTradeType:1,selectedInvoiceType:1,invoiceTitles:[{id:1,name:"苏州特色农产品发展有限公司"},{id:2,name:"个人"},{id:3,name:"苏州科技有限公司"}],selectedInvoiceTitle:null,orderGroups:[],totalGoodsCount:3,totalGoodsAmount:973,totalFreight:0,totalPayAmount:0,dialogVisible:!1,dialogType:"add",dialogData:{}}},computed:{...(0,a.L8)(["getOrderData"]),selectedAddress(){return this.addresses[this.selectedAddressIndex]||{}}},mounted(){this.getOrderData?(this.initOrderData(this.getOrderData),console.log(this.getOrderData)):(this.$message.error("未获取到商品信息,请重新操作"),this.$router.go(-1)),this.getAddress()},methods:{...(0,a.PY)(["clearOrderData"]),openDialog(t,e){this.dialogType=t,this.dialogData={...e},this.dialogVisible=!0},handleEdit(t){console.log(t),t.username=t.name,t.mobile=t.tel,this.openDialog("edit",t)},handleDelete(t){this.$confirm("此操作将永久删除该地址, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({id:t.id},"/api/uservice/user/delConsignee").then(t=>{1==t.code&&(this.getAddress(),this.$message.success("删除成功!"))})}).catch(()=>{this.$message.info("已取消删除")})},initOrderData(t){if("product"===t.from){const e=t.items[0];this.orderGroups=[{supplier:e.product.supplier_name,items:this.formatItems([e])}]}else"cart"===t.from&&(this.orderGroups=Object.entries(t.groups).map(([t,e])=>({supplier:t,items:this.formatItems(e)})));this.calculateTotal()},formatItems(t){return console.log(t,13213),t.map(t=>({id:t.sku.id,productId:t.product.id,name:t.product.title,image:t.product.headimg,spec:t.sku.sku_name,price:(t.sku.price/100).toFixed(2),quantity:t.quantity,freight:"0.00",deliveryType:"邮寄",type:t.product.type,subtotal:(t.sku.price/100*t.quantity+parseFloat("0.00")).toFixed(2)}))},getPost(){if(!this.selectedAddress.id)return void this.$message.warning("请先选择收货地址");this.totalFreight=0;const t=[];this.orderGroups.forEach((e,i)=>{e.items.forEach((e,i)=>{const s={consignee_id:this.selectedAddress.id,sku_id:e.id,num:e.quantity},r=this.post(s,"/api/order/get_post_price").then(t=>{if(1===t.code){const i=(t.data.price/100).toFixed(2);e.freight=i,e.subtotal=(parseFloat(e.price)*e.quantity+parseFloat(i)).toFixed(2),this.totalFreight=(parseFloat(this.totalFreight)+parseFloat(i)).toFixed(2)}}).catch(t=>{console.error(`获取商品 ${e.id} 邮费失败`,t),this.$message.error(`获取商品 ${e.name} 邮费失败,请重试`)});t.push(r)})}),Promise.all(t).then(()=>{this.calculateTotal()})},calculateTotalFreight(){let t=0;this.orderGroups.forEach(e=>{e.items.forEach(e=>{console.log(e),t+=parseFloat(e.freight)})}),this.totalFreight=t.toFixed(2)},calculateTotal(){let t=0,e=0;this.orderGroups.forEach(i=>{i.items.forEach(i=>{t+=i.quantity,e+=parseFloat(i.subtotal)})}),this.totalGoodsCount=t,this.totalGoodsAmount=e.toFixed(2),this.totalPayAmount=e.toFixed(2)},handleSaveAddress(t){t.is_default=0,"add"===this.dialogType?this.post(t,"/api/uservice/user/addNewConsignee").then(t=>{1==t.code&&(this.$message.success("保存成功"),this.getAddress(),this.dialogVisible=!1)}):this.post(t,"/api/uservice/user/editConsignee").then(t=>{1==t.code&&(this.$message.success("保存成功"),this.getAddress(),this.dialogVisible=!1)})},getAddress(){this.post({contactType:"CONSIGNEE",offset:"0",limit:"100"},"/api/uservice/user/getContactOrConsignee").then(t=>{t&&(this.addresses=t.data||[])})},selectAddress(t){this.selectedAddressIndex=t,this.getPost()},submitOrder(){if(!this.selectedAddress.id)return void this.$message.warning("请先选择收货地址");let t=[];this.orderGroups.forEach((e,i)=>{e.items.forEach((i,s)=>{console.log(i),t.push({type:i.type,product_id:i.productId,sku_id:i.id,product_num:i.quantity,post:this.selectedAddress.id,remark:e.remark||""})})}),console.log(t),this.post({data:JSON.stringify({product_list:t})},"/api/order/create").then(t=>{1==t.code&&(this.$message.success("订单提交成功!"),this.$router.push("/User/OrderList"))})}}},l=d,n=i(1656),c=(0,n.A)(l,s,r,!1,null,"0103a9f5",null),u=c.exports},1734:function(t,e,i){i.d(e,{A:function(){return n}});var s=function(){var t=this,e=t._self._c;return e("el-dialog",{attrs:{title:("add"===t.type?"新增":"编辑")+"收货地址",visible:t.visible,width:"700px"},on:{close:t.handleClose}},[e("el-form",{ref:"addressForm",attrs:{model:t.form,rules:t.rules,"label-width":"100px",size:"small"}},[e("el-form-item",{attrs:{label:"收货人",prop:"username"}},[e("el-input",{attrs:{placeholder:"请填写收货人姓名,限制10个字符",maxlength:"10"},model:{value:t.form.username,callback:function(e){t.$set(t.form,"username",e)},expression:"form.username"}})],1),e("el-form-item",{attrs:{label:"所在地区",prop:"region"}},[e("div",{staticClass:"region-selector"},[e("el-select",{staticClass:"region-select",attrs:{placeholder:"选择省份/直辖市"},on:{change:t.handleProvinceChange},model:{value:t.form.province_id,callback:function(e){t.$set(t.form,"province_id",e)},expression:"form.province_id"}},t._l(t.provinces,function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})}),1),e("el-select",{staticClass:"region-select",attrs:{placeholder:"选择城市",disabled:!t.form.province_id},on:{change:t.handleCityChange},model:{value:t.form.city_id,callback:function(e){t.$set(t.form,"city_id",e)},expression:"form.city_id"}},t._l(t.cities,function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})}),1),e("el-select",{staticClass:"region-select",attrs:{placeholder:"选择县区",disabled:!t.form.city_id},model:{value:t.form.district_id,callback:function(e){t.$set(t.form,"district_id",e)},expression:"form.district_id"}},t._l(t.districts,function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})}),1)],1)]),e("el-form-item",{attrs:{label:"详细地址",prop:"detail_addr"}},[e("el-input",{attrs:{placeholder:"请填写详细地址,限制500个字符",maxlength:"500"},model:{value:t.form.detail_addr,callback:function(e){t.$set(t.form,"detail_addr",e)},expression:"form.detail_addr"}})],1),e("el-form-item",{attrs:{label:"手机号码",prop:"mobile"}},[e("el-input",{attrs:{placeholder:"请填写手机号码,限制11位数字",maxlength:"11",oninput:"value=value.replace(/[^\\d]/g,'')"},model:{value:t.form.mobile,callback:function(e){t.$set(t.form,"mobile",e)},expression:"form.mobile"}})],1)],1),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{size:"small"},on:{click:t.handleClose}},[t._v("取消")]),e("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.saveAddress}},[t._v("保存")])],1)],1)},r=[],a=(i(8111),i(2489),i(116),{name:"AddressFormDialog",props:{visible:{type:Boolean,default:!1},type:{type:String,required:!0,validator:t=>["add","edit"].includes(t)},initialData:{type:Object,default:()=>({})}},data(){const t=(t,e,i)=>e?/^1[3-9]\d{9}$/.test(e)?void i():i(new Error("请输入正确的11位手机号码")):i(new Error("请输入手机号码")),e=(t,e,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:e,trigger:"change"}],detail_addr:[{required:!0,message:"请输入详细地址",trigger:"blur"},{max:500,message:"详细地址不能超过500个字符",trigger:"blur"}],mobile:[{required:!0,validator:t,trigger:"blur"}]},regionData:[]}},computed:{provinces(){return this.regionData.filter(t=>1===t.level)},cities(){return this.form.province_id?this.regionData.filter(t=>2===t.level&&t.pid===this.form.province_id):[]},districts(){return this.form.city_id?this.regionData.filter(t=>3===t.level&&t.pid===this.form.city_id):[]}},watch:{visible(t){t&&this.initForm()},initialData:{handler(){this.visible&&this.initForm()},deep:!0}},mounted(){this.getRegionData()},methods:{async getRegionData(){try{const t=await this.post({},"/api/uservice/user/getAreas");t&&t.data?this.regionData=t.data:this.$message.error("获取地区数据失败")}catch(t){console.error("获取地区数据出错:",t),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(t){const e=t.split(" ");if(e.length<3)return;const i=this.provinces.find(t=>t.name===e[0]);i&&(this.form.province_id=i.id,this.$nextTick(()=>{const t=this.cities.find(t=>t.name===e[1]);t&&(this.form.city_id=t.id,this.$nextTick(()=>{const t=this.districts.find(t=>t.name===e[2]);t&&(this.form.district_id=t.id)}))}))},handleProvinceChange(){this.form.city_id=null,this.form.district_id=null},handleCityChange(){this.form.district_id=null},saveAddress(){this.$refs.addressForm.validate(async t=>{if(!t)return;const e=this.provinces.find(t=>t.id===this.form.province_id),i=this.cities.find(t=>t.id===this.form.city_id),s=this.districts.find(t=>t.id===this.form.district_id);if(!(e&&i&&s))return void this.$message.warning("地区信息不完整");const r={...this.form,region:`${e.name} ${i.name} ${s.name}`};this.$emit("save",r),this.handleClose()})},handleClose(){this.$emit("update:visible",!1)}}}),o=a,d=i(1656),l=(0,d.A)(o,s,r,!1,null,"7d3ebefd",null),n=l.exports}}]); +//# sourceMappingURL=955.1d798592.js.map \ No newline at end of file diff --git a/dist/js/955.1d798592.js.map b/dist/js/955.1d798592.js.map new file mode 100644 index 0000000..9aa1c93 --- /dev/null +++ b/dist/js/955.1d798592.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/955.1d798592.js","mappings":"qJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAA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","webpack://abcdf/src/views/Order/Index.vue","webpack://abcdf/./src/views/Order/Index.vue?7896","webpack://abcdf/./src/views/Order/Index.vue?7cca","webpack://abcdf/./src/components/common/AddressFormDialog.vue","webpack://abcdf/src/components/common/AddressFormDialog.vue","webpack://abcdf/./src/components/common/AddressFormDialog.vue?ef45","webpack://abcdf/./src/components/common/AddressFormDialog.vue?6358"],"sourcesContent":["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)])]),_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}})],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 ","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=0103a9f5&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=0103a9f5&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 \"0103a9f5\",\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\":`${_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","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"],"names":["render","_vm","this","_c","_self","staticClass","_v","attrs","on","$event","openDialog","_l","addresses","addr","index","key","class","selected","selectedAddressIndex","selectAddress","_s","name","province","address","phone","stopPropagation","handleEdit","handleDelete","_m","orderGroups","group","groupIndex","supplier","items","item","itemIndex","image","spec","price","quantity","freight","deliveryType","subtotal","model","value","remark","callback","$$v","$set","expression","_e","totalGoodsCount","totalGoodsAmount","totalFreight","totalPayAmount","selectedAddress","submitOrder","dialogVisible","dialogType","dialogData","handleSaveAddress","staticRenderFns","components","AddressFormDialog","data","selectedTradeType","selectedInvoiceType","invoiceTitles","id","selectedInvoiceTitle","computed","mapGetters","mounted","getOrderData","initOrderData","console","log","$message","error","$router","go","getAddress","methods","mapMutations","type","row","username","mobile","tel","$confirm","confirmButtonText","cancelButtonText","then","post","res","code","success","catch","info","from","product","supplier_name","formatItems","Object","entries","groups","map","calculateTotal","sku","productId","title","headimg","sku_name","toFixed","parseFloat","getPost","warning","freightPromises","forEach","params","consignee_id","sku_id","num","promise","err","push","Promise","all","calculateTotalFreight","total","totalCount","totalAmount","formData","is_default","contactType","offset","limit","goods","product_id","product_num","JSON","stringify","product_list","component","visible","handleClose","ref","form","rules","handleProvinceChange","province_id","provinces","handleCityChange","city_id","cities","city","district_id","districts","district","detail_addr","slot","saveAddress","props","Boolean","default","String","required","validator","val","includes","initialData","validateMobile","rule","test","Error","validateRegion","region","message","trigger","max","regionData","filter","level","pid","watch","initForm","handler","deep","getRegionData","$nextTick","$refs","addressForm","resetFields","echoRegionSelection","regionText","regions","split","length","find","p","c","d","validate","valid","$emit"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/app.523c1b3b.js b/dist/js/app.523c1b3b.js new file mode 100644 index 0000000..7459279 --- /dev/null +++ b/dist/js/app.523c1b3b.js @@ -0,0 +1,2 @@ +(function(){"use strict";var e={748:function(e,t,a){a(4114);var n=a(6674),r=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},["Register"!==e.$route.name?t("HeaderNav"):e._e(),"Login"!==e.$route.name?t("main",{staticClass:"main-container"},[t("router-view")],1):e._e(),"Login"==e.$route.name?t("main",{staticClass:"main-containers"},[t("router-view")],1):e._e(),"Register"!==e.$route.name?t("Sidebar"):e._e(),"Register"!==e.$route.name?t("Footer"):e._e(),t("BackToTop")],1)},o=[],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"}})])],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),t("div",{staticClass:"hot-tags"},[t("span",[e._v("热门搜索:")]),t("div",{staticClass:"hot-tag",on:{click:function(t){e.searchText="手机",e.handleSearch()}}},[e._v(" 手机 ")]),t("div",{staticClass:"hot-tag",on:{click:function(t){e.searchText="电脑",e.handleSearch()}}},[e._v(" 电脑 ")]),t("div",{staticClass:"hot-tag",on:{click:function(t){e.searchText="服装",e.handleSearch()}}},[e._v(" 服装 ")])])],1),t("div",{staticClass:"phone-entry"},[t("div",[t("img",{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=a(3518),l={name:"HeaderNav",data(){return{searchText:""}},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()},methods:{...(0,c.i0)(["fetchCategories","logout"]),handleSearch(){this.searchText.trim()&&(this.$store.commit("setSearchText",this.searchText),"/ProductList"===this.$route.path?this.$bus.emit("search-product",this.searchText):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=a(1656),h=(0,d.A)(u,i,s,!1,null,"adf79b44",null),p=h.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,C=(0,d.A)(v,m,f,!1,null,"683e198c",null),b=C.exports,k=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=[],T={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(){this.$message.info("正在唤起在线客服...")},handleBackToTop(){window.scrollTo({top:0,behavior:"smooth"})},handleScroll(){this.scrollTimer&&clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(()=>{this.isShowBackTop=window.pageYOffset>300},200)}}},w=T,A=(0,d.A)(w,k,y,!1,null,"f2321a44",null),I=A.exports,x=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()},U=[],R={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)}}},E=R,O=(0,d.A)(E,x,U,!1,null,"7ea6dee0",null),L=O.exports,S={name:"App",components:{HeaderNav:p,Footer:b,BackToTop:L,Sidebar:I},computed:{...(0,c.L8)(["getLoadingStatus"]),loading(){return this.getLoadingStatus}}},P=S,B=(0,d.A)(P,r,o,!1,null,null,null),N=B.exports,z=a(6178),Z=a(5131);n["default"].use(c.Ay);var G=new c.Ay.Store({plugins:[(0,Z.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:a}){e.user.isLogin=!0,e.user.info=t,e.user.token=a,localStorage.setItem("token",a)},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 a=[{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",a),e("UPDATE_LOADING",!1),t(a)},500)})},logout({commit:e}){e("USER_LOGOUT")},addToCart({dispatch:e},t){return n["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?n["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 n["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:a}){return n["default"].prototype.post({sku_id:t,num:a},"/api/cart/add_sku").then(()=>e("fetchCartCount")).catch(e=>{throw console.error("更新购物车商品数量失败",e),e})},clearCart({dispatch:e}){return n["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}});n["default"].use(z.Ay);const W=z.Ay.prototype.push;z.Ay.prototype.push=function(e){return W.call(this,e).catch(e=>{if("NavigationDuplicated"!==e.name)throw e})};const V=new z.Ay({mode:"history",base:"/",routes:[{path:"/",name:"Index",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>a.e(322).then(a.bind(a,7322))},{path:"/Login",name:"Login",meta:{title:"登录 - 精品商城",keepAlive:!1},component:()=>a.e(411).then(a.bind(a,5411))},{path:"/Register",name:"Register",meta:{title:"注册 - 精品商城",keepAlive:!1},component:()=>a.e(29).then(a.bind(a,3029))},{path:"/Home",name:"Home",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>a.e(828).then(a.bind(a,9828))},{path:"/Detail/:id",name:"Detail",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>a.e(926).then(a.bind(a,926))},{path:"/ProductList",name:"ProductList",meta:{title:"商品列表",keepAlive:!1},component:()=>a.e(896).then(a.bind(a,3896))},{path:"/User",name:"User",component:()=>a.e(110).then(a.bind(a,9110)),redirect:"/User/UserCenter",children:[{path:"UserCenter",name:"UserCenter",component:()=>a.e(624).then(a.bind(a,8624))},{path:"OrderList",name:"OrderList",meta:{title:"我的订单 - 精品商城",keepAlive:!1},component:()=>a.e(446).then(a.bind(a,4446))},{path:"UserInfo",name:"UserInfo",meta:{title:"个人信息 - 精品商城",keepAlive:!1},component:()=>a.e(893).then(a.bind(a,5893))},{path:"ViewHistory",name:"ViewHistory",meta:{title:"我的足迹 - 精品商城",keepAlive:!1},component:()=>a.e(33).then(a.bind(a,4033))},{path:"UserAddress",name:"UserAddress",meta:{title:"我的收货地址 - 精品商城",keepAlive:!1},component:()=>a.e(208).then(a.bind(a,5208))},{path:"UserInvoice",name:"UserInvoice",meta:{title:"发票抬头 - 精品商城",keepAlive:!1},component:()=>a.e(113).then(a.bind(a,6113))},{path:"UserInvoiceList",name:"UserInvoiceList",meta:{title:"我的发票 - 精品商城",keepAlive:!1},component:()=>a.e(217).then(a.bind(a,8217))},{path:"ShoppingCart",name:"ShoppingCart",meta:{title:"购物车 - 精品商城",keepAlive:!1},component:()=>a.e(286).then(a.bind(a,1286))},{path:"CommentManage",name:"CommentManage",meta:{title:"评价管理 - 精品商城",keepAlive:!1},component:()=>a.e(592).then(a.bind(a,4592))},{path:"ContractList",name:"ContractList",meta:{title:"合同管理 - 精品商城",keepAlive:!1},component:()=>a.e(406).then(a.bind(a,3406))},{path:"MessageList",name:"MessageList",meta:{title:"消息中心 - 精品商城",keepAlive:!1},component:()=>a.e(838).then(a.bind(a,7838))},{path:"PurchaserAdd",name:"PurchaserAdd",meta:{title:"添加采购单位信息 - 精品商城",keepAlive:!1},component:()=>a.e(181).then(a.bind(a,6181))}]},{path:"/Order",name:"Order",meta:{title:"下单",keepAlive:!1},component:()=>a.e(955).then(a.bind(a,955))},{path:"/OrderDetail",name:"OrderDetail",meta:{title:"订单详情 - 精品商城",keepAlive:!1},component:()=>a.e(882).then(a.bind(a,5882))},{path:"/OrderPay",name:"OrderPay",meta:{title:"订单支付 - 精品商城",keepAlive:!1},component:()=>a.e(677).then(a.bind(a,3677))},{path:"/OrderPayB2B",name:"OrderPayB2B",meta:{title:"订单支付 - 精品商城",keepAlive:!1},component:()=>a.e(452).then(a.bind(a,1452))},{path:"/OrderPayCode",name:"OrderPayCode",meta:{title:"订单支付 - 精品商城",keepAlive:!1},component:()=>a.e(244).then(a.bind(a,244))},{path:"/OrderPaySuccess",name:"OrderPaySuccess",meta:{title:"订单支付 - 精品商城",keepAlive:!1},component:()=>a.e(169).then(a.bind(a,7169))}],scrollBehavior(e,t,a){return{x:0,y:0}}});V.beforeEach((e,t,a)=>{if(e.meta.title&&(document.title=e.meta.title),e.meta.requireAuth){const t=G.state.user?.info?.token||"";t?a():a({path:"/Login",query:{redirect:e.fullPath}})}else a()});var Q=V,D=a(9143),M=a.n(D),Y=a(5847),J=a(4373);const j=J.A.create({timeout:6e3});j.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 a=G.state.user?.info?.token||"";return e.headers["token"]=a||"",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=D.Loading.service({lock:!0,text:"加载中...",background:"rgba(0, 0, 0, 0.7)"})),e},e=>Promise.reject(e)),j.interceptors.response.use(e=>{if(e.config.loadingInstance&&e.config.loadingInstance.close(),200!==e.status&&1!==e.status){const t=`请求失败,状态码:${e.status}`;return D.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}`;D.MessageBox.alert(e,"错误提示",{confirmButtonText:"确定",type:"error"}).then(()=>{if(401===t.code){const e=Q.currentRoute.fullPath;"/Login"!==e&&localStorage.setItem("redirectPath",e),Q.push("/Login")}}).catch(()=>{})}}},e=>{if(e.config&&e.config.loadingInstance&&e.config.loadingInstance.close(),e.response&&e.response.status)switch(e.response.status){case 401:D.MessageBox.confirm("请登录后操作","提示",{confirmButtonText:"去登录",cancelButtonText:"取消",type:"warning"}).then(()=>{Q.push("/Login")}).catch(()=>{});break;case 404:(0,D.Message)({message:"网络繁忙,请刷新再试",type:"error",duration:2e3});break;default:(0,D.Message)({message:"网络繁忙,请刷新再试",type:"error",duration:2e3});break}return Promise.reject(e)}),n["default"].prototype.get=(e,t,a=!1)=>new Promise((n,r)=>{j.get(t,{params:e,loading:a}).then(e=>{n(e)}).catch(e=>{r(e)})}),n["default"].prototype.post=(e,t,a=!1)=>new Promise((n,r)=>{j.post(t,e,{loading:a}).then(e=>{n(e)}).catch(e=>{r(e)})});var K={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)}})}}}};n["default"].use(K),n["default"].config.productionTip=!1,n["default"].use(M()),n["default"].prototype.$bus=new n["default"],n["default"].use(Y.A,{preLoad:1.3,error:a(3153),loading:a(3153),attempt:3,listenEvents:["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],adapter:{loaded({bindType:e,el:t,naturalHeight:a,naturalWidth:n,$parent:r,src:o,loading:i,error:s,Init:c}){console.log("图片加载完成:",o)},error({bindType:e,el:t,error:a,$parent:n,src:r,loading:o}){console.log("图片加载失败:",r)}}}),n["default"].prototype.gotoPath=function(e,t={}){const a=this.$router.currentRoute.fullPath;if(e!==a)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(n){console.error("路由跳转失败:",n),"function"===typeof t.fail&&t.fail(n)}},new n["default"]({el:"#app",router:Q,store:G,components:{App:N},template:""})},3153:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodH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DZvxUC4GsIREHflguDkyQqaVYotIulUChBFAoliEKhBFEolCAKhRJEoVCCKBRKEIVCCaJQKJQgCoUSRKFQgigUShCFIhP8vwADACog5YM65zugAAAAAElFTkSuQmCC"}},t={};function a(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,a),o.loaded=!0,o.exports}a.m=e,function(){a.amdO={}}(),function(){var e=[];a.O=function(t,n,r,o){if(!n){var i=1/0;for(u=0;u=o)&&Object.keys(a.O).every(function(e){return a.O[e](n[c])})?n.splice(c--,1):(s=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o]}}(),function(){a.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(t,{a:t}),t}}(),function(){a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce(function(t,n){return a.f[n](e,t),t},[]))}}(),function(){a.u=function(e){return"js/"+e+"."+{29:"7eef1ca9",33:"d232b82b",110:"4a93ee72",113:"5c3b5964",169:"476d32e6",181:"a2fd06e0",208:"a0feba87",217:"d6b5d26b",244:"7d3000f2",286:"8f0d1d9c",322:"693252a2",406:"069a7943",411:"e9addbc3",446:"3d8319df",452:"d6fc2b8c",592:"90e06992",624:"1742d542",677:"e7ad81c7",828:"3c50f0ff",838:"e0fbe621",882:"62bac42e",893:"906271e2",896:"996819fe",926:"d303aa93",955:"1d798592"}[e]+".js"}}(),function(){a.miniCssF=function(e){return"css/"+e+"."+{29:"2661f71c",33:"5507be5a",110:"854f9bc2",169:"a7db186a",181:"be611a62",208:"268eb302",217:"aab8f461",244:"edd4b6a0",286:"84b91fbd",322:"f144348b",406:"efb923d9",411:"e4757598",446:"4288d89e",452:"42e712d8",592:"09b799c2",624:"f7a540d4",677:"51eebda5",828:"3ffea4ab",838:"4c0b65d7",882:"f420d2be",893:"3aae9905",896:"f1192b9d",926:"a9594400",955:"7f61bedf"}[e]+".css"}}(),function(){a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="abcdf:";a.l=function(n,r,o,i){if(e[n])e[n].push(r);else{var s,c;if(void 0!==o)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\"}})])],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),_c('div',{staticClass:\"hot-tags\"},[_c('span',[_vm._v(\"热门搜索:\")]),_c('div',{staticClass:\"hot-tag\",on:{\"click\":function($event){_vm.searchText = '手机';\n _vm.handleSearch();}}},[_vm._v(\" 手机 \")]),_c('div',{staticClass:\"hot-tag\",on:{\"click\":function($event){_vm.searchText = '电脑';\n _vm.handleSearch();}}},[_vm._v(\" 电脑 \")]),_c('div',{staticClass:\"hot-tag\",on:{\"click\":function($event){_vm.searchText = '服装';\n _vm.handleSearch();}}},[_vm._v(\" 服装 \")])])],1),_c('div',{staticClass:\"phone-entry\"},[_c('div',[_c('img',{attrs:{\"src\":\"https://static.ticket.sz-trip.com/shiweisuzhou/pc/login/phone.png\",\"alt\":\"联系电话\"}}),_c('span',[_vm._v(\"0512-680541\")]),(_vm.cartTotalCount > 0 && false)?_c('span',{staticClass:\"cart-count\"},[_vm._v(_vm._s(_vm.cartTotalCount))]):_vm._e()])])])]),(_vm.categories.length > 0)?_c('div',{staticClass:\"category-nav\"},[_c('div',{staticClass:\"container\"},[(false)?_c('ul',{staticClass:\"nav-list\"},[_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",class:{ active: _vm.$route.path === '/' },attrs:{\"to\":\"/\"}},[_vm._v(\"首页\")])],1),_vm._l((_vm.categories),function(category){return _c('li',{key:category.id,staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",class:{ active: _vm.$route.params.id == category.id },attrs:{\"to\":`/category/${category.id}`}},[_vm._v(\" \"+_vm._s(category.name)+\" \")])],1)})],2):_vm._e()])]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./HeaderNav.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./HeaderNav.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./HeaderNav.vue?vue&type=template&id=adf79b44&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=adf79b44&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 \"adf79b44\",\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","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 }","\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=f2321a44&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=f2321a44&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 \"f2321a44\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.showBackToTop)?_c('div',{staticClass:\"back-to-top\",on:{\"click\":_vm.scrollToTop}},[_c('el-icon',{attrs:{\"name\":\"el-icon-arrow-up\"}})],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BackToTop.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BackToTop.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./BackToTop.vue?vue&type=template&id=7ea6dee0&scoped=true\"\nimport script from \"./BackToTop.vue?vue&type=script&lang=js\"\nexport * from \"./BackToTop.vue?vue&type=script&lang=js\"\nimport style0 from \"./BackToTop.vue?vue&type=style&index=0&id=7ea6dee0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7ea6dee0\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=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","// 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})","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: '/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\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.prototype.$bus = new Vue()\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 + \".\" + {\"29\":\"7eef1ca9\",\"33\":\"d232b82b\",\"110\":\"4a93ee72\",\"113\":\"5c3b5964\",\"169\":\"476d32e6\",\"181\":\"a2fd06e0\",\"208\":\"a0feba87\",\"217\":\"d6b5d26b\",\"244\":\"7d3000f2\",\"286\":\"8f0d1d9c\",\"322\":\"693252a2\",\"406\":\"069a7943\",\"411\":\"e9addbc3\",\"446\":\"3d8319df\",\"452\":\"d6fc2b8c\",\"592\":\"90e06992\",\"624\":\"1742d542\",\"677\":\"e7ad81c7\",\"828\":\"3c50f0ff\",\"838\":\"e0fbe621\",\"882\":\"62bac42e\",\"893\":\"906271e2\",\"896\":\"996819fe\",\"926\":\"d303aa93\",\"955\":\"1d798592\"}[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 + \".\" + {\"29\":\"2661f71c\",\"33\":\"5507be5a\",\"110\":\"854f9bc2\",\"169\":\"a7db186a\",\"181\":\"be611a62\",\"208\":\"268eb302\",\"217\":\"aab8f461\",\"244\":\"edd4b6a0\",\"286\":\"84b91fbd\",\"322\":\"f144348b\",\"406\":\"efb923d9\",\"411\":\"e4757598\",\"446\":\"4288d89e\",\"452\":\"42e712d8\",\"592\":\"09b799c2\",\"624\":\"f7a540d4\",\"677\":\"51eebda5\",\"828\":\"3ffea4ab\",\"838\":\"4c0b65d7\",\"882\":\"f420d2be\",\"893\":\"3aae9905\",\"896\":\"f1192b9d\",\"926\":\"a9594400\",\"955\":\"7f61bedf\"}[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 = \"abcdf:\";\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 = {\"29\":1,\"33\":1,\"110\":1,\"169\":1,\"181\":1,\"208\":1,\"217\":1,\"244\":1,\"286\":1,\"322\":1,\"406\":1,\"411\":1,\"446\":1,\"452\":1,\"592\":1,\"624\":1,\"677\":1,\"828\":1,\"838\":1,\"882\":1,\"893\":1,\"896\":1,\"926\":1,\"955\":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[\"webpackChunkabcdf\"] = self[\"webpackChunkabcdf\"] || [];\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__(748); })\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","nativeOn","$event","type","indexOf","_k","keyCode","key","handleSearch","apply","arguments","model","searchText","callback","$$v","slot","categories","length","data","computed","mapGetters","getCategories","getCartTotalCount","isUserLogin","getUserInfo","created","fetchCategories","methods","mapActions","trim","$store","commit","path","$bus","emit","$router","push","query","keyword","$confirm","confirmButtonText","cancelButtonText","then","logout","$message","success","localStorage","setItem","catch","err","error","message","component","_m","staticStyle","handleCartClick","getters","handleServiceClick","class","active","isShowBackTop","handleBackToTop","cartCount","scrollTimer","mounted","window","addEventListener","handleScroll","dispatch","beforeDestroy","removeEventListener","clearTimeout","info","scrollTo","top","behavior","setTimeout","pageYOffset","showBackToTop","scrollToTop","setInterval","position","Math","max","clearInterval","components","HeaderNav","Footer","BackToTop","Sidebar","loading","getLoadingStatus","Vue","use","Vuex","plugins","createPersistedState","storage","reducer","val","cart","user","state","items","totalCount","totalPrice","token","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","id","icon","addToCart","product","prototype","post","sku_id","num","quantity","res","console","fetchCartCount","log","code","removeFromCart","productId","updateCartItemQuantity","clearCart","getOrderData","getCart","getSearchText","Router","originalPush","location","call","router","mode","base","process","routes","meta","title","keepAlive","redirect","children","scrollBehavior","to","from","savedPosition","x","y","beforeEach","next","document","requireAuth","store","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","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","createElement","charset","nc","setAttribute","onScriptComplete","prev","event","onerror","doneFns","parentNode","removeChild","forEach","bind","target","head","appendChild","Symbol","toStringTag","nmd","paths","p","createStylesheet","fullhref","oldTag","linkTag","rel","nonce","onLinkComplete","errorType","realHref","href","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.a3998a8a.js b/dist/js/app.a3998a8a.js deleted file mode 100644 index 2425355..0000000 --- a/dist/js/app.a3998a8a.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(){"use strict";var e={2008:function(e,t,n){n(4114);var a=n(6674),i=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=[],o=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"}})])],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),t("div",{staticClass:"hot-tags"},[t("span",[e._v("热门搜索:")]),t("div",{staticClass:"hot-tag",on:{click:function(t){e.searchText="手机",e.handleSearch()}}},[e._v(" 手机 ")]),t("div",{staticClass:"hot-tag",on:{click:function(t){e.searchText="电脑",e.handleSearch()}}},[e._v(" 电脑 ")]),t("div",{staticClass:"hot-tag",on:{click:function(t){e.searchText="服装",e.handleSearch()}}},[e._v(" 服装 ")])])],1),t("div",{staticClass:"phone-entry"},[t("router-link",{attrs:{to:"#"}},[t("img",{attrs:{src:"https://static.ticket.sz-trip.com/shiweisuzhou/pc/login/phone.png",alt:"联系电话"}}),t("span",[e._v("0512-680541")]),(e.cartTotalCount,e._e())])],1)])]),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:""}},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()},methods:{...(0,c.i0)(["fetchCategories","logout"]),handleSearch(){if(!this.searchText.trim())return;this.$store.commit("setSearchText",this.searchText);const e="/ProductList"===this.$route.path&&"search"===this.$route.query.type;e?this.$emit("search",this.searchText):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("退出登录成功"),this.$router.push("/Login")}).catch(e=>{this.$message.error("退出失败:"+(e.message||"未知错误"))})}).catch(()=>{})}}},u=l,d=n(1656),h=(0,d.A)(u,o,s,!1,null,"397f4a13",null),p=h.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,k=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.cartCount}},[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=[],T={name:"Sidebar",data(){return{cartCount:3,isShowBackTop:!1,scrollTimer:null}},mounted(){window.addEventListener("scroll",this.handleScroll)},beforeDestroy(){window.removeEventListener("scroll",this.handleScroll),this.scrollTimer&&clearTimeout(this.scrollTimer)},methods:{handleCartClick(){this.$router.push("/User/ShoppingCart")},handleServiceClick(){this.$message.info("正在唤起在线客服...")},handleBackToTop(){window.scrollTo({top:0,behavior:"smooth"})},handleScroll(){this.scrollTimer&&clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(()=>{this.isShowBackTop=window.pageYOffset>300},200)}}},A=T,I=(0,d.A)(A,k,y,!1,null,"0ddafffa",null),w=I.exports,R=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()},x=[],E={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)}}},U=E,O=(0,d.A)(U,R,x,!1,null,"7ea6dee0",null),L=O.exports,P={name:"App",components:{HeaderNav:p,Footer:C,BackToTop:L,Sidebar:w},computed:{...(0,c.L8)(["getLoadingStatus"]),loading(){return this.getLoadingStatus}}},S=P,B=(0,d.A)(S,i,r,!1,null,null,null),N=B.exports,z=n(6178);a["default"].use(z.Ay);const Z=z.Ay.prototype.push;z.Ay.prototype.push=function(e){return Z.call(this,e).catch(e=>{if("NavigationDuplicated"!==e.name)throw e})};const G=new z.Ay({mode:"history",base:"/",routes:[{path:"/",name:"Index",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>n.e(40).then(n.bind(n,5040))},{path:"/Login",name:"Login",meta:{title:"登录 - 精品商城",keepAlive:!1},component:()=>n.e(900).then(n.bind(n,900))},{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(639).then(n.bind(n,4639))},{path:"/ProductList",name:"ProductList",meta:{title:"商品列表",keepAlive:!1},component:()=>n.e(4).then(n.bind(n,9004))},{path:"/User",name:"User",component:()=>n.e(110).then(n.bind(n,9110)),redirect:"/User/UserCenter",children:[{path:"UserCenter",name:"UserCenter",component:()=>n.e(64).then(n.bind(n,1064))},{path:"OrderList",name:"OrderList",meta:{title:"我的订单 - 精品商城",keepAlive:!1},component:()=>n.e(86).then(n.bind(n,3086))},{path:"UserInfo",name:"UserInfo",meta:{title:"个人信息 - 精品商城",keepAlive:!1},component:()=>n.e(893).then(n.bind(n,5893))},{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(700).then(n.bind(n,700))},{path:"UserInvoice",name:"UserInvoice",meta:{title:"发票抬头 - 精品商城",keepAlive:!1},component:()=>n.e(113).then(n.bind(n,6113))},{path:"UserInvoiceList",name:"UserInvoiceList",meta:{title:"我的发票 - 精品商城",keepAlive:!1},component:()=>n.e(217).then(n.bind(n,8217))},{path:"ShoppingCart",name:"ShoppingCart",meta:{title:"购物车 - 精品商城",keepAlive:!1},component:()=>n.e(135).then(n.bind(n,2135))},{path:"CommentManage",name:"CommentManage",meta:{title:"评价管理 - 精品商城",keepAlive:!1},component:()=>n.e(592).then(n.bind(n,4592))},{path:"ContractList",name:"ContractList",meta:{title:"合同管理 - 精品商城",keepAlive:!1},component:()=>n.e(406).then(n.bind(n,3406))},{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(181).then(n.bind(n,6181))}]},{path:"/Order",name:"Order",meta:{title:"下单",keepAlive:!1},component:()=>n.e(143).then(n.bind(n,8524))},{path:"/OrderDetail",name:"OrderDetail",meta:{title:"订单详情 - 精品商城",keepAlive:!1},component:()=>n.e(241).then(n.bind(n,6241))},{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}}});G.beforeEach((e,t,n)=>{if(e.meta.title&&(document.title=e.meta.title),e.meta.requireAuth){const t=localStorage.getItem("token");t?n():n({path:"/Login",query:{redirect:e.fullPath}})}else n()});var W=G,V=(n(8111),n(2489),n(116),n(8237),n(5131));a["default"].use(c.Ay);var Q=new c.Ay.Store({plugins:[(0,V.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:""},mutations:{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")},ADD_TO_CART(e,t){const n=e.cart.items.find(e=>e.id===t.id);n?n.quantity+=t.quantity||1:e.cart.items.push({...t,quantity:t.quantity||1}),this.commit("UPDATE_CART_TOTAL")},REMOVE_FROM_CART(e,t){e.cart.items=e.cart.items.filter(e=>e.id!==t),this.commit("UPDATE_CART_TOTAL")},UPDATE_CART_ITEM_QUANTITY(e,{productId:t,quantity:n}){const a=e.cart.items.find(e=>e.id===t);a&&(a.quantity=n,this.commit("UPDATE_CART_TOTAL"))},CLEAR_CART(e){e.cart.items=[],this.commit("UPDATE_CART_TOTAL")},UPDATE_CART_TOTAL(e){e.cart.totalCount=e.cart.items.reduce((e,t)=>e+t.quantity,0),e.cart.totalPrice=e.cart.items.reduce((e,t)=>e+t.price*t.quantity,0)},setSearchText(e,t){e.searchText=t}},actions:{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({commit:e},t){e("ADD_TO_CART",t)},removeFromCart({commit:e},t){e("REMOVE_FROM_CART",t)},updateCartItemQuantity({commit:e},t){e("UPDATE_CART_ITEM_QUANTITY",t)},clearCart({commit:e}){e("CLEAR_CART")}},getters:{getCategories:e=>e.categories,getCart:e=>e.cart,getCartTotalCount:e=>e.cart.totalCount,getCartTotalPrice:e=>e.cart.totalPrice,isUserLogin:e=>e.user.isLogin,getUserInfo:e=>e.user.info,getLoadingStatus:e=>e.loading,getSearchText:e=>e.searchText}}),D=n(9143),M=n.n(D),Y=n(5847),J=n(4373);const j=J.A.create({timeout:6e3});j.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=Q.state.user?.userInfo?.token||"";return e.headers["token"]=n||"745f2b4c-49b7-4393-bf58-bc380a87149a",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=D.Loading.service({lock:!0,text:"加载中...",background:"rgba(0, 0, 0, 0.7)"})),e},e=>Promise.reject(e)),j.interceptors.response.use(e=>{if(e.config.loadingInstance&&e.config.loadingInstance.close(),200!==e.status&&1!==e.status){const t=`请求失败,状态码:${e.status}`;return D.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}`;D.MessageBox.alert(e,"错误提示",{confirmButtonText:"确定",type:"error"})}}},e=>{if(e.config&&e.config.loadingInstance&&e.config.loadingInstance.close(),e.response&&e.response.status)switch(e.response.status){case 401:D.MessageBox.confirm("请登录后操作","提示",{confirmButtonText:"去登录",cancelButtonText:"取消",type:"warning"}).then(()=>{}).catch(()=>{});break;case 404:(0,D.Message)({message:"网络繁忙,请刷新再试",type:"error",duration:2e3});break;default:(0,D.Message)({message:"网络繁忙,请刷新再试",type:"error",duration:2e3});break}return Promise.reject(e)}),a["default"].prototype.get=(e,t,n=!1)=>new Promise((a,i)=>{j.get(t,{params:e,loading:n}).then(e=>{a(e)}).catch(e=>{i(e)})}),a["default"].prototype.post=(e,t,n=!1)=>new Promise((a,i)=>{j.post(t,e,{loading:n}).then(e=>{a(e)}).catch(e=>{i(e)})});var _={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)}})}}}};a["default"].use(_),a["default"].config.productionTip=!1,a["default"].use(M()),a["default"].use(Y.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:i,src:r,loading:o,error:s,Init:c}){console.log("图片加载完成:",r)},error({bindType:e,el:t,error:n,$parent:a,src:i,loading:r}){console.log("图片加载失败:",i)}}}),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:W,store:Q,components:{App:N},template:""})},3153:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb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rEIJ0nJ4lO2VE3z/ij1GoQRpWaxb4HcKJUhL4GW2XTN8vst+p1CCtDw+Oc6Y6/hEoQRpCRxm23rcv7fazxRKEIXFXZRuwBDZvxUC4GsIREHflguDkyQqaVYotIulUChBFAoliEKhBFEolCAKhRJEoVCCKBRKEIVCCaJQKJQgCoUSRKFQgigUShCFIhP8vwADACog5YM65zugAAAAAElFTkSuQmCC"}},t={};function n(a){var i=t[a];if(void 0!==i)return i.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,i,r){if(!a){var o=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,i,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+"."+{4:"e0df9c1a",29:"7eef1ca9",33:"d232b82b",40:"e5eed29a",64:"57193698",86:"471ac328",110:"4a93ee72",113:"5c3b5964",135:"08e8073a",143:"9d51e2ee",169:"476d32e6",181:"a2fd06e0",217:"d6b5d26b",241:"231f8707",244:"7d3000f2",406:"069a7943",452:"d6fc2b8c",592:"90e06992",639:"edae0537",677:"e7ad81c7",700:"6882c630",828:"dc20517d",838:"e0fbe621",893:"906271e2",900:"6b17b6f1"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{4:"0070063a",29:"2661f71c",33:"5507be5a",40:"614e9a44",64:"c294a0d0",86:"3b46bb21",110:"854f9bc2",135:"643ed51b",143:"ecb72621",169:"a7db186a",181:"be611a62",217:"aab8f461",241:"47c7ac13",244:"edd4b6a0",406:"efb923d9",452:"42e712d8",592:"09b799c2",639:"c184e302",677:"51eebda5",828:"96d8e95b",838:"4c0b65d7",893:"3aae9905",900:"57bae3a8"}[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="abcdf:";n.l=function(a,i,r,o){if(e[a])e[a].push(i);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\"}})])],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),_c('div',{staticClass:\"hot-tags\"},[_c('span',[_vm._v(\"热门搜索:\")]),_c('div',{staticClass:\"hot-tag\",on:{\"click\":function($event){_vm.searchText = '手机';\n _vm.handleSearch();}}},[_vm._v(\" 手机 \")]),_c('div',{staticClass:\"hot-tag\",on:{\"click\":function($event){_vm.searchText = '电脑';\n _vm.handleSearch();}}},[_vm._v(\" 电脑 \")]),_c('div',{staticClass:\"hot-tag\",on:{\"click\":function($event){_vm.searchText = '服装';\n _vm.handleSearch();}}},[_vm._v(\" 服装 \")])])],1),_c('div',{staticClass:\"phone-entry\"},[_c('router-link',{attrs:{\"to\":\"#\"}},[_c('img',{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()])],1)])]),(_vm.categories.length > 0)?_c('div',{staticClass:\"category-nav\"},[_c('div',{staticClass:\"container\"},[(false)?_c('ul',{staticClass:\"nav-list\"},[_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",class:{ active: _vm.$route.path === '/' },attrs:{\"to\":\"/\"}},[_vm._v(\"首页\")])],1),_vm._l((_vm.categories),function(category){return _c('li',{key:category.id,staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",class:{ active: _vm.$route.params.id == category.id },attrs:{\"to\":`/category/${category.id}`}},[_vm._v(\" \"+_vm._s(category.name)+\" \")])],1)})],2):_vm._e()])]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./HeaderNav.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./HeaderNav.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./HeaderNav.vue?vue&type=template&id=397f4a13&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=397f4a13&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 \"397f4a13\",\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","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.cartCount}},[_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 }","\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=0ddafffa&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=0ddafffa&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 \"0ddafffa\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.showBackToTop)?_c('div',{staticClass:\"back-to-top\",on:{\"click\":_vm.scrollToTop}},[_c('el-icon',{attrs:{\"name\":\"el-icon-arrow-up\"}})],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BackToTop.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BackToTop.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./BackToTop.vue?vue&type=template&id=7ea6dee0&scoped=true\"\nimport script from \"./BackToTop.vue?vue&type=script&lang=js\"\nexport * from \"./BackToTop.vue?vue&type=script&lang=js\"\nimport style0 from \"./BackToTop.vue?vue&type=style&index=0&id=7ea6dee0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7ea6dee0\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=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\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: '/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 = localStorage.getItem('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","// 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 mutations: {\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 ADD_TO_CART(state, product) {\n const existingItem = state.cart.items.find(item => item.id === product.id)\n \n if (existingItem) {\n existingItem.quantity += product.quantity || 1\n } else {\n state.cart.items.push({\n ...product,\n quantity: product.quantity || 1\n })\n }\n \n this.commit('UPDATE_CART_TOTAL')\n },\n \n // 从购物车移除商品\n REMOVE_FROM_CART(state, productId) {\n state.cart.items = state.cart.items.filter(item => item.id !== productId)\n this.commit('UPDATE_CART_TOTAL')\n },\n \n // 更新购物车商品数量\n UPDATE_CART_ITEM_QUANTITY(state, { productId, quantity }) {\n const item = state.cart.items.find(item => item.id === productId)\n if (item) {\n item.quantity = quantity\n this.commit('UPDATE_CART_TOTAL')\n }\n },\n \n // 清空购物车\n CLEAR_CART(state) {\n state.cart.items = []\n this.commit('UPDATE_CART_TOTAL')\n },\n \n // 更新购物车总计\n UPDATE_CART_TOTAL(state) {\n state.cart.totalCount = state.cart.items.reduce((total, item) => {\n return total + item.quantity\n }, 0)\n \n state.cart.totalPrice = state.cart.items.reduce((total, item) => {\n return total + (item.price * item.quantity)\n }, 0)\n },\n\n setSearchText(state, text) {\n state.searchText = text;\n }\n },\n actions: {\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({ commit }, product) {\n commit('ADD_TO_CART', product)\n },\n \n // 从购物车移除商品\n removeFromCart({ commit }, productId) {\n commit('REMOVE_FROM_CART', productId)\n },\n \n // 更新购物车商品数量\n updateCartItemQuantity({ commit }, payload) {\n commit('UPDATE_CART_ITEM_QUANTITY', payload)\n },\n \n // 清空购物车\n clearCart({ commit }) {\n commit('CLEAR_CART')\n }\n },\n getters: {\n // 获取分类列表\n getCategories: state => state.categories,\n \n // 获取购物车信息\n getCart: state => state.cart,\n \n // 获取购物车商品总数\n getCartTotalCount: state => state.cart.totalCount,\n \n // 获取购物车商品总价\n getCartTotalPrice: state => state.cart.totalPrice,\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})","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\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?.userInfo?.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 });\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 }).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\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 + \".\" + {\"4\":\"e0df9c1a\",\"29\":\"7eef1ca9\",\"33\":\"d232b82b\",\"40\":\"e5eed29a\",\"64\":\"57193698\",\"86\":\"471ac328\",\"110\":\"4a93ee72\",\"113\":\"5c3b5964\",\"135\":\"08e8073a\",\"143\":\"9d51e2ee\",\"169\":\"476d32e6\",\"181\":\"a2fd06e0\",\"217\":\"d6b5d26b\",\"241\":\"231f8707\",\"244\":\"7d3000f2\",\"406\":\"069a7943\",\"452\":\"d6fc2b8c\",\"592\":\"90e06992\",\"639\":\"edae0537\",\"677\":\"e7ad81c7\",\"700\":\"6882c630\",\"828\":\"dc20517d\",\"838\":\"e0fbe621\",\"893\":\"906271e2\",\"900\":\"6b17b6f1\"}[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 + \".\" + {\"4\":\"0070063a\",\"29\":\"2661f71c\",\"33\":\"5507be5a\",\"40\":\"614e9a44\",\"64\":\"c294a0d0\",\"86\":\"3b46bb21\",\"110\":\"854f9bc2\",\"135\":\"643ed51b\",\"143\":\"ecb72621\",\"169\":\"a7db186a\",\"181\":\"be611a62\",\"217\":\"aab8f461\",\"241\":\"47c7ac13\",\"244\":\"edd4b6a0\",\"406\":\"efb923d9\",\"452\":\"42e712d8\",\"592\":\"09b799c2\",\"639\":\"c184e302\",\"677\":\"51eebda5\",\"828\":\"96d8e95b\",\"838\":\"4c0b65d7\",\"893\":\"3aae9905\",\"900\":\"57bae3a8\"}[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 = \"abcdf:\";\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 = {\"4\":1,\"29\":1,\"33\":1,\"40\":1,\"64\":1,\"86\":1,\"110\":1,\"135\":1,\"143\":1,\"169\":1,\"181\":1,\"217\":1,\"241\":1,\"244\":1,\"406\":1,\"452\":1,\"592\":1,\"639\":1,\"677\":1,\"828\":1,\"838\":1,\"893\":1,\"900\":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[\"webpackChunkabcdf\"] = self[\"webpackChunkabcdf\"] || [];\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__(2008); })\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","nativeOn","$event","type","indexOf","_k","keyCode","key","handleSearch","apply","arguments","model","searchText","callback","$$v","slot","categories","length","data","computed","mapGetters","getCategories","getCartTotalCount","isUserLogin","getUserInfo","created","fetchCategories","methods","mapActions","trim","$store","commit","isSearchPage","path","query","$emit","$router","push","keyword","$confirm","confirmButtonText","cancelButtonText","then","logout","$message","success","catch","err","error","message","component","_m","staticStyle","handleCartClick","cartCount","handleServiceClick","class","active","isShowBackTop","handleBackToTop","scrollTimer","mounted","window","addEventListener","handleScroll","beforeDestroy","removeEventListener","clearTimeout","info","scrollTo","top","behavior","setTimeout","pageYOffset","showBackToTop","scrollToTop","setInterval","position","Math","max","clearInterval","components","HeaderNav","Footer","BackToTop","Sidebar","loading","getLoadingStatus","Vue","use","Router","originalPush","prototype","location","call","router","mode","base","process","routes","meta","title","keepAlive","redirect","children","scrollBehavior","to","from","savedPosition","x","y","beforeEach","next","document","requireAuth","token","localStorage","getItem","fullPath","Vuex","plugins","createPersistedState","storage","reducer","val","cart","user","state","items","totalCount","totalPrice","mutations","UPDATE_CATEGORIES","UPDATE_LOADING","status","USER_LOGIN","setItem","USER_LOGOUT","removeItem","ADD_TO_CART","product","existingItem","find","item","id","quantity","REMOVE_FROM_CART","productId","filter","UPDATE_CART_ITEM_QUANTITY","CLEAR_CART","UPDATE_CART_TOTAL","reduce","total","price","setSearchText","text","actions","Promise","resolve","icon","addToCart","removeFromCart","updateCartItemQuantity","payload","clearCart","getters","getCart","getCartTotalPrice","getSearchText","http","axios","create","timeout","interceptors","request","config","customBaseURL","params","baseURL","store","headers","method","toLowerCase","platform_type","loadingInstance","Loading","service","lock","background","reject","response","close","errorMsg","MessageBox","alert","Error","resData","code","msg","confirm","Message","duration","get","url","res","post","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","utils","productionTip","ElementUI","VueLazyload","preLoad","require","attempt","listenEvents","adapter","loaded","bindType","el","naturalHeight","naturalWidth","$parent","src","Init","console","log","gotoPath","options","currentPath","currentRoute","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","promises","u","miniCssF","g","globalThis","Function","obj","prop","hasOwnProperty","inProgress","dataWebpackPrefix","l","done","script","needAttach","scripts","getElementsByTagName","s","getAttribute","createElement","charset","nc","setAttribute","onScriptComplete","prev","event","onerror","doneFns","parentNode","removeChild","forEach","bind","target","head","appendChild","Symbol","toStringTag","nmd","paths","p","createStylesheet","fullhref","oldTag","linkTag","rel","nonce","onLinkComplete","errorType","realHref","href","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/chunk-vendors.88c8f662.js b/dist/js/chunk-vendors.cab40109.js similarity index 99% rename from dist/js/chunk-vendors.88c8f662.js rename to dist/js/chunk-vendors.cab40109.js index 37314db..693f6be 100644 --- a/dist/js/chunk-vendors.88c8f662.js +++ b/dist/js/chunk-vendors.cab40109.js @@ -37,7 +37,7 @@ function o(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;va * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. - */(function(o,a){i=a,r="function"===typeof i?i.call(t,n,t,e):i,void 0===r||(e.exports=r)})(0,function(){var e=window,t={placement:"bottom",gpuAcceleration:!0,offset:0,boundariesElement:"viewport",boundariesPadding:5,preventOverflowOrder:["left","right","top","bottom"],flipBehavior:"flip",arrowElement:"[x-arrow]",arrowOffset:0,modifiers:["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],modifiersIgnored:[],forceAbsolute:!1};function n(e,n,i){this._reference=e.jquery?e[0]:e,this.state={};var r="undefined"===typeof n||null===n,o=n&&"[object Object]"===Object.prototype.toString.call(n);return this._popper=r||o?this.parse(o?n:{}):n.jquery?n[0]:n,this._options=Object.assign({},t,i),this._options.modifiers=this._options.modifiers.map(function(e){if(-1===this._options.modifiersIgnored.indexOf(e))return"applyStyle"===e&&this._popper.setAttribute("x-placement",this._options.placement),this.modifiers[e]||e}.bind(this)),this.state.position=this._getPosition(this._popper,this._reference),h(this._popper,{position:this.state.position,top:0}),this.update(),this._setupEventListeners(),this}function i(t){var n=t.style.display,i=t.style.visibility;t.style.display="block",t.style.visibility="hidden";t.offsetWidth;var r=e.getComputedStyle(t),o=parseFloat(r.marginTop)+parseFloat(r.marginBottom),a=parseFloat(r.marginLeft)+parseFloat(r.marginRight),s={width:t.offsetWidth+a,height:t.offsetHeight+o};return t.style.display=n,t.style.visibility=i,s}function r(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function o(e){var t=Object.assign({},e);return t.right=t.left+t.width,t.bottom=t.top+t.height,t}function a(e,t){var n,i=0;for(n in e){if(e[n]===t)return i;i++}return null}function s(t,n){var i=e.getComputedStyle(t,null);return i[n]}function l(t){var n=t.offsetParent;return n!==e.document.body&&n?n:e.document.documentElement}function u(t){var n=t.parentNode;return n?n===e.document?e.document.body.scrollTop||e.document.body.scrollLeft?e.document.body:e.document.documentElement:-1!==["scroll","auto"].indexOf(s(n,"overflow"))||-1!==["scroll","auto"].indexOf(s(n,"overflow-x"))||-1!==["scroll","auto"].indexOf(s(n,"overflow-y"))?n:u(t.parentNode):t}function c(t){return t!==e.document.body&&("fixed"===s(t,"position")||(t.parentNode?c(t.parentNode):t))}function h(e,t){function n(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}Object.keys(t).forEach(function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&n(t[i])&&(r="px"),e.style[i]=t[i]+r})}function d(e){var t={};return e&&"[object Function]"===t.toString.call(e)}function f(e){var t={width:e.offsetWidth,height:e.offsetHeight,left:e.offsetLeft,top:e.offsetTop};return t.right=t.left+t.width,t.bottom=t.top+t.height,t}function p(e){var t=e.getBoundingClientRect(),n=-1!=navigator.userAgent.indexOf("MSIE"),i=n&&"HTML"===e.tagName?-e.scrollTop:t.top;return{left:t.left,top:i,right:t.right,bottom:t.bottom,width:t.right-t.left,height:t.bottom-i}}function m(e,t,n){var i=p(e),r=p(t);if(n){var o=u(t);r.top+=o.scrollTop,r.bottom+=o.scrollTop,r.left+=o.scrollLeft,r.right+=o.scrollLeft}var a={top:i.top-r.top,left:i.left-r.left,bottom:i.top-r.top+i.height,right:i.left-r.left+i.width,width:i.width,height:i.height};return a}function v(t){for(var n=["","ms","webkit","moz","o"],i=0;i1&&console.warn("WARNING: the given `parent` query("+t.parent+") matched more than one element, the first one will be used"),0===a.length)throw"ERROR: the given `parent` doesn't exists!";a=a[0]}return a.length>1&&a instanceof Element===!1&&(console.warn("WARNING: you have passed as parent a list of elements, the first one will be used"),a=a[0]),a.appendChild(r),r;function s(e,t){t.forEach(function(t){e.classList.add(t)})}function l(e,t){t.forEach(function(t){e.setAttribute(t.split(":")[0],t.split(":")[1]||"")})}},n.prototype._getPosition=function(e,t){var n=l(t);if(this._options.forceAbsolute)return"absolute";var i=c(t,n);return i?"fixed":"absolute"},n.prototype._getOffsets=function(e,t,n){n=n.split("-")[0];var r={};r.position=this.state.position;var o="fixed"===r.position,a=m(t,l(e),o),s=i(e);return-1!==["right","left"].indexOf(n)?(r.top=a.top+a.height/2-s.height/2,r.left="left"===n?a.left-s.width:a.right):(r.left=a.left+a.width/2-s.width/2,r.top="top"===n?a.top-s.height:a.bottom),r.width=s.width,r.height=s.height,{popper:r,reference:a}},n.prototype._setupEventListeners=function(){if(this.state.updateBound=this.update.bind(this),e.addEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement){var t=u(this._reference);t!==e.document.body&&t!==e.document.documentElement||(t=e),t.addEventListener("scroll",this.state.updateBound),this.state.scrollTarget=t}},n.prototype._removeEventListeners=function(){e.removeEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement&&this.state.scrollTarget&&(this.state.scrollTarget.removeEventListener("scroll",this.state.updateBound),this.state.scrollTarget=null),this.state.updateBound=null},n.prototype._getBoundaries=function(t,n,i){var r,o,a={};if("window"===i){var s=e.document.body,c=e.document.documentElement;o=Math.max(s.scrollHeight,s.offsetHeight,c.clientHeight,c.scrollHeight,c.offsetHeight),r=Math.max(s.scrollWidth,s.offsetWidth,c.clientWidth,c.scrollWidth,c.offsetWidth),a={top:0,right:r,bottom:o,left:0}}else if("viewport"===i){var h=l(this._popper),d=u(this._popper),p=f(h),m=function(e){return e==document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):e.scrollTop},v=function(e){return e==document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):e.scrollLeft},g="fixed"===t.offsets.popper.position?0:m(d),y="fixed"===t.offsets.popper.position?0:v(d);a={top:0-(p.top-g),right:e.document.documentElement.clientWidth-(p.left-y),bottom:e.document.documentElement.clientHeight-(p.top-g),left:0-(p.left-y)}}else a=l(this._popper)===i?{top:0,left:0,right:i.clientWidth,bottom:i.clientHeight}:f(i);return a.left+=n,a.right-=n,a.top=a.top+n,a.bottom=a.bottom-n,a},n.prototype.runModifiers=function(e,t,n){var i=t.slice();return void 0!==n&&(i=this._options.modifiers.slice(0,a(this._options.modifiers,n))),i.forEach(function(t){d(t)&&(e=t.call(this,e))}.bind(this)),e},n.prototype.isModifierRequired=function(e,t){var n=a(this._options.modifiers,e);return!!this._options.modifiers.slice(0,n).filter(function(e){return e===t}).length},n.prototype.modifiers={},n.prototype.modifiers.applyStyle=function(e){var t,n={position:e.offsets.popper.position},i=Math.round(e.offsets.popper.left),r=Math.round(e.offsets.popper.top);return this._options.gpuAcceleration&&(t=v("transform"))?(n[t]="translate3d("+i+"px, "+r+"px, 0)",n.top=0,n.left=0):(n.left=i,n.top=r),Object.assign(n,e.styles),h(this._popper,n),this._popper.setAttribute("x-placement",e.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&e.offsets.arrow&&h(e.arrowElement,e.offsets.arrow),e},n.prototype.modifiers.shift=function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var r=e.offsets.reference,a=o(e.offsets.popper),s={y:{start:{top:r.top},end:{top:r.top+r.height-a.height}},x:{start:{left:r.left},end:{left:r.left+r.width-a.width}}},l=-1!==["bottom","top"].indexOf(n)?"x":"y";e.offsets.popper=Object.assign(a,s[l][i])}return e},n.prototype.modifiers.preventOverflow=function(e){var t=this._options.preventOverflowOrder,n=o(e.offsets.popper),i={left:function(){var t=n.left;return n.lefte.boundaries.right&&(t=Math.min(n.left,e.boundaries.right-n.width)),{left:t}},top:function(){var t=n.top;return n.tope.boundaries.bottom&&(t=Math.min(n.top,e.boundaries.bottom-n.height)),{top:t}}};return t.forEach(function(t){e.offsets.popper=Object.assign(n,i[t]())}),e},n.prototype.modifiers.keepTogether=function(e){var t=o(e.offsets.popper),n=e.offsets.reference,i=Math.floor;return t.righti(n.right)&&(e.offsets.popper.left=i(n.right)),t.bottomi(n.bottom)&&(e.offsets.popper.top=i(n.bottom)),e},n.prototype.modifiers.flip=function(e){if(!this.isModifierRequired(this.modifiers.flip,this.modifiers.preventOverflow))return console.warn("WARNING: preventOverflow modifier is required by flip modifier in order to work, be sure to include it before flip!"),e;if(e.flipped&&e.placement===e._originalPlacement)return e;var t=e.placement.split("-")[0],n=r(t),i=e.placement.split("-")[1]||"",a=[];return a="flip"===this._options.flipBehavior?[t,n]:this._options.flipBehavior,a.forEach(function(s,l){if(t===s&&a.length!==l+1){t=e.placement.split("-")[0],n=r(t);var u=o(e.offsets.popper),c=-1!==["right","bottom"].indexOf(t);(c&&Math.floor(e.offsets.reference[t])>Math.floor(u[n])||!c&&Math.floor(e.offsets.reference[t])s[f]&&(e.offsets.popper[h]+=l[h]+p-s[f]);var m=l[h]+(n||l[c]/2-p/2),v=m-s[h];return v=Math.max(Math.min(s[c]-p-8,v),8),r[h]=v,r[d]="",e.offsets.arrow=r,e.arrowElement=t,e},Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(void 0===e||null===e)throw new TypeError("Cannot convert first argument to object");for(var t=Object(e),n=1;n-1}function v(e,t){if(e){for(var n=e.className,i=(t||"").split(" "),r=0,o=i.length;ri.top&&n.right>i.left&&n.left1&&console.warn("WARNING: the given `parent` query("+t.parent+") matched more than one element, the first one will be used"),0===a.length)throw"ERROR: the given `parent` doesn't exists!";a=a[0]}return a.length>1&&a instanceof Element===!1&&(console.warn("WARNING: you have passed as parent a list of elements, the first one will be used"),a=a[0]),a.appendChild(r),r;function s(e,t){t.forEach(function(t){e.classList.add(t)})}function l(e,t){t.forEach(function(t){e.setAttribute(t.split(":")[0],t.split(":")[1]||"")})}},n.prototype._getPosition=function(e,t){var n=l(t);if(this._options.forceAbsolute)return"absolute";var i=c(t,n);return i?"fixed":"absolute"},n.prototype._getOffsets=function(e,t,n){n=n.split("-")[0];var r={};r.position=this.state.position;var o="fixed"===r.position,a=m(t,l(e),o),s=i(e);return-1!==["right","left"].indexOf(n)?(r.top=a.top+a.height/2-s.height/2,r.left="left"===n?a.left-s.width:a.right):(r.left=a.left+a.width/2-s.width/2,r.top="top"===n?a.top-s.height:a.bottom),r.width=s.width,r.height=s.height,{popper:r,reference:a}},n.prototype._setupEventListeners=function(){if(this.state.updateBound=this.update.bind(this),e.addEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement){var t=u(this._reference);t!==e.document.body&&t!==e.document.documentElement||(t=e),t.addEventListener("scroll",this.state.updateBound),this.state.scrollTarget=t}},n.prototype._removeEventListeners=function(){e.removeEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement&&this.state.scrollTarget&&(this.state.scrollTarget.removeEventListener("scroll",this.state.updateBound),this.state.scrollTarget=null),this.state.updateBound=null},n.prototype._getBoundaries=function(t,n,i){var r,o,a={};if("window"===i){var s=e.document.body,c=e.document.documentElement;o=Math.max(s.scrollHeight,s.offsetHeight,c.clientHeight,c.scrollHeight,c.offsetHeight),r=Math.max(s.scrollWidth,s.offsetWidth,c.clientWidth,c.scrollWidth,c.offsetWidth),a={top:0,right:r,bottom:o,left:0}}else if("viewport"===i){var h=l(this._popper),d=u(this._popper),p=f(h),m=function(e){return e==document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):e.scrollTop},v=function(e){return e==document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):e.scrollLeft},g="fixed"===t.offsets.popper.position?0:m(d),y="fixed"===t.offsets.popper.position?0:v(d);a={top:0-(p.top-g),right:e.document.documentElement.clientWidth-(p.left-y),bottom:e.document.documentElement.clientHeight-(p.top-g),left:0-(p.left-y)}}else a=l(this._popper)===i?{top:0,left:0,right:i.clientWidth,bottom:i.clientHeight}:f(i);return a.left+=n,a.right-=n,a.top=a.top+n,a.bottom=a.bottom-n,a},n.prototype.runModifiers=function(e,t,n){var i=t.slice();return void 0!==n&&(i=this._options.modifiers.slice(0,a(this._options.modifiers,n))),i.forEach(function(t){d(t)&&(e=t.call(this,e))}.bind(this)),e},n.prototype.isModifierRequired=function(e,t){var n=a(this._options.modifiers,e);return!!this._options.modifiers.slice(0,n).filter(function(e){return e===t}).length},n.prototype.modifiers={},n.prototype.modifiers.applyStyle=function(e){var t,n={position:e.offsets.popper.position},i=Math.round(e.offsets.popper.left),r=Math.round(e.offsets.popper.top);return this._options.gpuAcceleration&&(t=v("transform"))?(n[t]="translate3d("+i+"px, "+r+"px, 0)",n.top=0,n.left=0):(n.left=i,n.top=r),Object.assign(n,e.styles),h(this._popper,n),this._popper.setAttribute("x-placement",e.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&e.offsets.arrow&&h(e.arrowElement,e.offsets.arrow),e},n.prototype.modifiers.shift=function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var r=e.offsets.reference,a=o(e.offsets.popper),s={y:{start:{top:r.top},end:{top:r.top+r.height-a.height}},x:{start:{left:r.left},end:{left:r.left+r.width-a.width}}},l=-1!==["bottom","top"].indexOf(n)?"x":"y";e.offsets.popper=Object.assign(a,s[l][i])}return e},n.prototype.modifiers.preventOverflow=function(e){var t=this._options.preventOverflowOrder,n=o(e.offsets.popper),i={left:function(){var t=n.left;return n.lefte.boundaries.right&&(t=Math.min(n.left,e.boundaries.right-n.width)),{left:t}},top:function(){var t=n.top;return n.tope.boundaries.bottom&&(t=Math.min(n.top,e.boundaries.bottom-n.height)),{top:t}}};return t.forEach(function(t){e.offsets.popper=Object.assign(n,i[t]())}),e},n.prototype.modifiers.keepTogether=function(e){var t=o(e.offsets.popper),n=e.offsets.reference,i=Math.floor;return t.righti(n.right)&&(e.offsets.popper.left=i(n.right)),t.bottomi(n.bottom)&&(e.offsets.popper.top=i(n.bottom)),e},n.prototype.modifiers.flip=function(e){if(!this.isModifierRequired(this.modifiers.flip,this.modifiers.preventOverflow))return console.warn("WARNING: preventOverflow modifier is required by flip modifier in order to work, be sure to include it before flip!"),e;if(e.flipped&&e.placement===e._originalPlacement)return e;var t=e.placement.split("-")[0],n=r(t),i=e.placement.split("-")[1]||"",a=[];return a="flip"===this._options.flipBehavior?[t,n]:this._options.flipBehavior,a.forEach(function(s,l){if(t===s&&a.length!==l+1){t=e.placement.split("-")[0],n=r(t);var u=o(e.offsets.popper),c=-1!==["right","bottom"].indexOf(t);(c&&Math.floor(e.offsets.reference[t])>Math.floor(u[n])||!c&&Math.floor(e.offsets.reference[t])s[f]&&(e.offsets.popper[h]+=l[h]+p-s[f]);var m=l[h]+(n||l[c]/2-p/2),v=m-s[h];return v=Math.max(Math.min(s[c]-p-8,v),8),r[h]=v,r[d]="",e.offsets.arrow=r,e.arrowElement=t,e},Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(void 0===e||null===e)throw new TypeError("Cannot convert first argument to object");for(var t=Object(e),n=1;n-1}function v(e,t){if(e){for(var n=e.className,i=(t||"").split(" "),r=0,o=i.length;ri.top&&n.right>i.left&&n.left=2)e.mixin({beforeCreat * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */(function(){var o,a="4.17.10",s=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",c="__lodash_hash_undefined__",h=500,d="__lodash_placeholder__",f=1,p=2,m=4,v=1,g=2,y=1,b=2,_=4,w=8,x=16,C=32,k=64,S=128,O=256,E=512,$=30,D="...",T=800,P=16,j=1,M=2,I=3,A=1/0,N=9007199254740991,L=17976931348623157e292,F=NaN,R=4294967295,B=R-1,V=R>>>1,z=[["ary",S],["bind",y],["bindKey",b],["curry",w],["curryRight",x],["flip",E],["partial",C],["partialRight",k],["rearg",O]],H="[object Arguments]",W="[object Array]",q="[object AsyncFunction]",U="[object Boolean]",K="[object Date]",Y="[object DOMException]",G="[object Error]",X="[object Function]",J="[object GeneratorFunction]",Z="[object Map]",Q="[object Number]",ee="[object Null]",te="[object Object]",ne="[object Promise]",ie="[object Proxy]",re="[object RegExp]",oe="[object Set]",ae="[object String]",se="[object Symbol]",le="[object Undefined]",ue="[object WeakMap]",ce="[object WeakSet]",he="[object ArrayBuffer]",de="[object DataView]",fe="[object Float32Array]",pe="[object Float64Array]",me="[object Int8Array]",ve="[object Int16Array]",ge="[object Int32Array]",ye="[object Uint8Array]",be="[object Uint8ClampedArray]",_e="[object Uint16Array]",we="[object Uint32Array]",xe=/\b__p \+= '';/g,Ce=/\b(__p \+=) '' \+/g,ke=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Se=/&(?:amp|lt|gt|quot|#39);/g,Oe=/[&<>"']/g,Ee=RegExp(Se.source),$e=RegExp(Oe.source),De=/<%-([\s\S]+?)%>/g,Te=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,je=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Me=/^\w*$/,Ie=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ae=/[\\^$.*+?()[\]{}|]/g,Ne=RegExp(Ae.source),Le=/^\s+|\s+$/g,Fe=/^\s+/,Re=/\s+$/,Be=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ve=/\{\n\/\* \[wrapped with (.+)\] \*/,ze=/,? & /,He=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,We=/\\(\\)?/g,qe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ue=/\w*$/,Ke=/^[-+]0x[0-9a-f]+$/i,Ye=/^0b[01]+$/i,Ge=/^\[object .+?Constructor\]$/,Xe=/^0o[0-7]+$/i,Je=/^(?:0|[1-9]\d*)$/,Ze=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qe=/($^)/,et=/['\n\r\u2028\u2029\\]/g,tt="\\ud800-\\udfff",nt="\\u0300-\\u036f",it="\\ufe20-\\ufe2f",rt="\\u20d0-\\u20ff",ot=nt+it+rt,at="\\u2700-\\u27bf",st="a-z\\xdf-\\xf6\\xf8-\\xff",lt="\\xac\\xb1\\xd7\\xf7",ut="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ct="\\u2000-\\u206f",ht=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dt="A-Z\\xc0-\\xd6\\xd8-\\xde",ft="\\ufe0e\\ufe0f",pt=lt+ut+ct+ht,mt="['’]",vt="["+tt+"]",gt="["+pt+"]",yt="["+ot+"]",bt="\\d+",_t="["+at+"]",wt="["+st+"]",xt="[^"+tt+pt+bt+at+st+dt+"]",Ct="\\ud83c[\\udffb-\\udfff]",kt="(?:"+yt+"|"+Ct+")",St="[^"+tt+"]",Ot="(?:\\ud83c[\\udde6-\\uddff]){2}",Et="[\\ud800-\\udbff][\\udc00-\\udfff]",$t="["+dt+"]",Dt="\\u200d",Tt="(?:"+wt+"|"+xt+")",Pt="(?:"+$t+"|"+xt+")",jt="(?:"+mt+"(?:d|ll|m|re|s|t|ve))?",Mt="(?:"+mt+"(?:D|LL|M|RE|S|T|VE))?",It=kt+"?",At="["+ft+"]?",Nt="(?:"+Dt+"(?:"+[St,Ot,Et].join("|")+")"+At+It+")*",Lt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ft="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Rt=At+It+Nt,Bt="(?:"+[_t,Ot,Et].join("|")+")"+Rt,Vt="(?:"+[St+yt+"?",yt,Ot,Et,vt].join("|")+")",zt=RegExp(mt,"g"),Ht=RegExp(yt,"g"),Wt=RegExp(Ct+"(?="+Ct+")|"+Vt+Rt,"g"),qt=RegExp([$t+"?"+wt+"+"+jt+"(?="+[gt,$t,"$"].join("|")+")",Pt+"+"+Mt+"(?="+[gt,$t+Tt,"$"].join("|")+")",$t+"?"+Tt+"+"+jt,$t+"+"+Mt,Ft,Lt,bt,Bt].join("|"),"g"),Ut=RegExp("["+Dt+tt+ot+ft+"]"),Kt=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Yt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Gt=-1,Xt={};Xt[fe]=Xt[pe]=Xt[me]=Xt[ve]=Xt[ge]=Xt[ye]=Xt[be]=Xt[_e]=Xt[we]=!0,Xt[H]=Xt[W]=Xt[he]=Xt[U]=Xt[de]=Xt[K]=Xt[G]=Xt[X]=Xt[Z]=Xt[Q]=Xt[te]=Xt[re]=Xt[oe]=Xt[ae]=Xt[ue]=!1;var Jt={};Jt[H]=Jt[W]=Jt[he]=Jt[de]=Jt[U]=Jt[K]=Jt[fe]=Jt[pe]=Jt[me]=Jt[ve]=Jt[ge]=Jt[Z]=Jt[Q]=Jt[te]=Jt[re]=Jt[oe]=Jt[ae]=Jt[se]=Jt[ye]=Jt[be]=Jt[_e]=Jt[we]=!0,Jt[G]=Jt[X]=Jt[ue]=!1;var Zt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Qt={"&":"&","<":"<",">":">",'"':""","'":"'"},en={"&":"&","<":"<",">":">",""":'"',"'":"'"},tn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nn=parseFloat,rn=parseInt,on="object"===("undefined"===typeof n.g?"undefined":r(n.g))&&n.g&&n.g.Object===Object&&n.g,an="object"===("undefined"===typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,sn=on||an||Function("return this")(),ln="object"===r(t)&&t&&!t.nodeType&&t,un=ln&&"object"===r(e)&&e&&!e.nodeType&&e,cn=un&&un.exports===ln,hn=cn&&on.process,dn=function(){try{var e=un&&un.require&&un.require("util").types;return e||hn&&hn.binding&&hn.binding("util")}catch(t){}}(),fn=dn&&dn.isArrayBuffer,pn=dn&&dn.isDate,mn=dn&&dn.isMap,vn=dn&&dn.isRegExp,gn=dn&&dn.isSet,yn=dn&&dn.isTypedArray;function bn(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function _n(e,t,n,i){var r=-1,o=null==e?0:e.length;while(++r-1}function On(e,t,n){var i=-1,r=null==e?0:e.length;while(++i-1);return n}function Zn(e,t){var n=e.length;while(n--&&Ln(t,e[n],0)>-1);return n}function Qn(e,t){var n=e.length,i=0;while(n--)e[n]===t&&++i;return i}var ei=zn(Zt),ti=zn(Qt);function ni(e){return"\\"+tn[e]}function ii(e,t){return null==e?o:e[t]}function ri(e){return Ut.test(e)}function oi(e){return Kt.test(e)}function ai(e){var t,n=[];while(!(t=e.next()).done)n.push(t.value);return n}function si(e){var t=-1,n=Array(e.size);return e.forEach(function(e,i){n[++t]=[i,e]}),n}function li(e,t){return function(n){return e(t(n))}}function ui(e,t){var n=-1,i=e.length,r=0,o=[];while(++n-1}function zi(e,t){var n=this.__data__,i=cr(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}function Hi(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t=t?e:t)),e}function gr(e,t,n,i,r,a){var s,l=t&f,u=t&p,c=t&m;if(n&&(s=r?n(e,i,r,a):n(e)),s!==o)return s;if(!Cc(e))return e;var h=sc(e);if(h){if(s=ts(e),!l)return ra(e,s)}else{var d=Ja(e),v=d==X||d==J;if(dc(e))return Yo(e,l);if(d==te||d==H||v&&!r){if(s=u||v?{}:ns(e),!l)return u?sa(e,fr(s,e)):aa(e,dr(s,e))}else{if(!Jt[d])return r?e:{};s=is(e,d,l)}}a||(a=new Zi);var g=a.get(e);if(g)return g;if(a.set(e,s),Nc(e))return e.forEach(function(i){s.add(gr(i,t,n,i,e,a))}),s;if(Sc(e))return e.forEach(function(i,r){s.set(r,gr(i,t,n,r,e,a))}),s;var y=c?u?Ba:Ra:u?xh:wh,b=h?o:y(e);return wn(b||e,function(i,r){b&&(r=i,i=e[r]),ur(s,r,gr(i,t,n,r,e,a))}),s}function yr(e){var t=wh(e);return function(n){return br(n,e,t)}}function br(e,t,n){var i=n.length;if(null==e)return!i;e=it(e);while(i--){var r=n[i],a=t[r],s=e[r];if(s===o&&!(r in e)||!a(s))return!1}return!0}function _r(e,t,n){if("function"!==typeof e)throw new at(u);return ks(function(){e.apply(o,n)},t)}function wr(e,t,n,i){var r=-1,o=Sn,a=!0,l=e.length,u=[],c=t.length;if(!l)return u;n&&(t=En(t,Yn(n))),i?(o=On,a=!1):t.length>=s&&(o=Xn,a=!1,t=new Gi(t));e:while(++rr?0:r+n),i=i===o||i>r?r:Kc(i),i<0&&(i+=r),i=n>i?0:Yc(i);while(n0&&n(s)?t>1?$r(s,t-1,n,i,r):$n(r,s):i||(r[r.length]=s)}return r}var Dr=ha(),Tr=ha(!0);function Pr(e,t){return e&&Dr(e,t,wh)}function jr(e,t){return e&&Tr(e,t,wh)}function Mr(e,t){return kn(t,function(t){return _c(e[t])})}function Ir(e,t){t=Wo(t,e);var n=0,i=t.length;while(null!=e&&nt}function Fr(e,t){return null!=e&&dt.call(e,t)}function Rr(e,t){return null!=e&&t in it(e)}function Br(e,t,n){return e>=Wt(t,n)&&e=120&&d.length>=120)?new Gi(l&&d):o}d=e[0];var f=-1,p=u[0];e:while(++f-1)s!==e&&Ot.call(s,l,1),Ot.call(e,l,1)}return e}function go(e,t){var n=e?t.length:0,i=n-1;while(n--){var r=t[n];if(n==i||r!==o){var o=r;as(r)?Ot.call(e,r,1):No(e,r)}}return e}function yo(e,t){return e+At(Kt()*(t-e+1))}function bo(e,t,i,r){var o=-1,a=Vt(It((t-e)/(i||1)),0),s=n(a);while(a--)s[r?a:++o]=e,e+=i;return s}function _o(e,t){var n="";if(!e||t<1||t>N)return n;do{t%2&&(n+=e),t=At(t/2),t&&(e+=e)}while(t);return n}function wo(e,t){return Ss(_s(e,t,Dd),e+"")}function xo(e){return or(Bh(e))}function Co(e,t){var n=Bh(e);return $s(n,vr(t,0,n.length))}function ko(e,t,n,i){if(!Cc(e))return e;t=Wo(t,e);var r=-1,a=t.length,s=a-1,l=e;while(null!=l&&++ro?0:o+t),i=i>o?o:i,i<0&&(i+=o),o=t>i?0:i-t>>>0,t>>>=0;var a=n(o);while(++r>>1,a=e[o];null!==a&&!Fc(a)&&(n?a<=t:a=s){var c=t?null:Da(e);if(c)return hi(c);a=!1,r=Xn,u=new Gi}else u=t?[]:l;e:while(++i=i?e:$o(e,t,n)}var Ko=Pt||function(e){return sn.clearTimeout(e)};function Yo(e,t){if(t)return e.slice();var n=e.length,i=xt?xt(n):new e.constructor(n);return e.copy(i),i}function Go(e){var t=new e.constructor(e.byteLength);return new wt(t).set(new wt(e)),t}function Xo(e,t){var n=t?Go(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Jo(e){var t=new e.constructor(e.source,Ue.exec(e));return t.lastIndex=e.lastIndex,t}function Zo(e){return bi?it(bi.call(e)):{}}function Qo(e,t){var n=t?Go(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ea(e,t){if(e!==t){var n=e!==o,i=null===e,r=e===e,a=Fc(e),s=t!==o,l=null===t,u=t===t,c=Fc(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||i&&s&&u||!n&&u||!r)return 1;if(!i&&!a&&!c&&e=s)return l;var u=n[i];return l*("desc"==u?-1:1)}}return e.index-t.index}function na(e,t,i,r){var o=-1,a=e.length,s=i.length,l=-1,u=t.length,c=Vt(a-s,0),h=n(u+c),d=!r;while(++l1?n[r-1]:o,s=r>2?n[2]:o;a=e.length>3&&"function"===typeof a?(r--,a):o,s&&ss(n[0],n[1],s)&&(a=r<3?o:a,r=1),t=it(t);while(++i-1?r[a?t[s]:s]:o}}function ya(e){return Fa(function(t){var n=t.length,i=n,r=Oi.prototype.thru;e&&t.reverse();while(i--){var a=t[i];if("function"!==typeof a)throw new at(u);if(r&&!s&&"wrapper"==za(a))var s=new Oi([],!0)}i=s?i:n;while(++i1&&y.reverse(),d&&cl))return!1;var c=a.get(e);if(c&&a.get(t))return c==t;var h=-1,d=!0,f=n&g?new Gi:o;a.set(e,t),a.set(t,e);while(++h1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(Be,"{\n/* [wrapped with "+t+"] */\n")}function os(e){return sc(e)||ac(e)||!!(Et&&e&&e[Et])}function as(e,t){var n="undefined"===typeof e?"undefined":r(e);return t=null==t?N:t,!!t&&("number"==n||"symbol"!=n&&Je.test(e))&&e>-1&&e%1==0&&e0){if(++t>=T)return arguments[0]}else t=0;return e.apply(o,arguments)}}function $s(e,t){var n=-1,i=e.length,r=i-1;t=t===o?i:t;while(++n1?e[t-1]:o;return n="function"===typeof n?(e.pop(),n):o,Al(e,n)});function Wl(e){var t=Ci(e);return t.__chain__=!0,t}function ql(e,t){return t(e),e}function Ul(e,t){return t(e)}var Kl=Fa(function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,r=function(t){return mr(t,e)};return!(t>1||this.__actions__.length)&&i instanceof Ei&&as(n)?(i=i.slice(n,+n+(t?1:0)),i.__actions__.push({func:Ul,args:[r],thisArg:o}),new Oi(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(o),e})):this.thru(r)});function Yl(){return Wl(this)}function Gl(){return new Oi(this.value(),this.__chain__)}function Xl(){this.__values__===o&&(this.__values__=qc(this.value()));var e=this.__index__>=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}}function Jl(){return this}function Zl(e){var t,n=this;while(n instanceof Si){var i=Ms(n);i.__index__=0,i.__values__=o,t?r.__wrapped__=i:t=i;var r=i;n=n.__wrapped__}return r.__wrapped__=e,t}function Ql(){var e=this.__wrapped__;if(e instanceof Ei){var t=e;return this.__actions__.length&&(t=new Ei(this)),t=t.reverse(),t.__actions__.push({func:Ul,args:[fl],thisArg:o}),new Oi(t,this.__chain__)}return this.thru(fl)}function eu(){return Ro(this.__wrapped__,this.__actions__)}var tu=la(function(e,t,n){dt.call(e,n)?++e[n]:pr(e,n,1)});function nu(e,t,n){var i=sc(e)?Cn:kr;return n&&ss(e,t,n)&&(t=o),i(e,Wa(t,3))}function iu(e,t){var n=sc(e)?kn:Er;return n(e,Wa(t,3))}var ru=ga(qs),ou=ga(Us);function au(e,t){return $r(mu(e,t),1)}function su(e,t){return $r(mu(e,t),A)}function lu(e,t,n){return n=n===o?1:Kc(n),$r(mu(e,t),n)}function uu(e,t){var n=sc(e)?wn:xr;return n(e,Wa(t,3))}function cu(e,t){var n=sc(e)?xn:Cr;return n(e,Wa(t,3))}var hu=la(function(e,t,n){dt.call(e,n)?e[n].push(t):pr(e,n,[t])});function du(e,t,n,i){e=uc(e)?e:Bh(e),n=n&&!i?Kc(n):0;var r=e.length;return n<0&&(n=Vt(r+n,0)),Lc(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&Ln(e,t,n)>-1}var fu=wo(function(e,t,i){var r=-1,o="function"===typeof t,a=uc(e)?n(e.length):[];return xr(e,function(e){a[++r]=o?bn(t,e,i):Hr(e,t,i)}),a}),pu=la(function(e,t,n){pr(e,n,t)});function mu(e,t){var n=sc(e)?En:oo;return n(e,Wa(t,3))}function vu(e,t,n,i){return null==e?[]:(sc(t)||(t=null==t?[]:[t]),n=i?o:n,sc(n)||(n=null==n?[]:[n]),ho(e,t,n))}var gu=la(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});function yu(e,t,n){var i=sc(e)?Dn:Hn,r=arguments.length<3;return i(e,Wa(t,4),n,r,xr)}function bu(e,t,n){var i=sc(e)?Tn:Hn,r=arguments.length<3;return i(e,Wa(t,4),n,r,Cr)}function _u(e,t){var n=sc(e)?kn:Er;return n(e,Bu(Wa(t,3)))}function wu(e){var t=sc(e)?or:xo;return t(e)}function xu(e,t,n){t=(n?ss(e,t,n):t===o)?1:Kc(t);var i=sc(e)?ar:Co;return i(e,t)}function Cu(e){var t=sc(e)?sr:Eo;return t(e)}function ku(e){if(null==e)return 0;if(uc(e))return Lc(e)?mi(e):e.length;var t=Ja(e);return t==Z||t==oe?e.size:no(e).length}function Su(e,t,n){var i=sc(e)?Pn:Do;return n&&ss(e,t,n)&&(t=o),i(e,Wa(t,3))}var Ou=wo(function(e,t){if(null==e)return[];var n=t.length;return n>1&&ss(e,t[0],t[1])?t=[]:n>2&&ss(t[0],t[1],t[2])&&(t=[t[0]]),ho(e,$r(t,1),[])}),Eu=jt||function(){return sn.Date.now()};function $u(e,t){if("function"!==typeof t)throw new at(u);return e=Kc(e),function(){if(--e<1)return t.apply(this,arguments)}}function Du(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Pa(e,S,o,o,o,o,t)}function Tu(e,t){var n;if("function"!==typeof t)throw new at(u);return e=Kc(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Pu=wo(function(e,t,n){var i=y;if(n.length){var r=ui(n,Ha(Pu));i|=C}return Pa(e,i,t,n,r)}),ju=wo(function(e,t,n){var i=y|b;if(n.length){var r=ui(n,Ha(ju));i|=C}return Pa(t,i,e,n,r)});function Mu(e,t,n){t=n?o:t;var i=Pa(e,w,o,o,o,o,o,t);return i.placeholder=Mu.placeholder,i}function Iu(e,t,n){t=n?o:t;var i=Pa(e,x,o,o,o,o,o,t);return i.placeholder=Iu.placeholder,i}function Au(e,t,n){var i,r,a,s,l,c,h=0,d=!1,f=!1,p=!0;if("function"!==typeof e)throw new at(u);function m(t){var n=i,a=r;return i=r=o,h=t,s=e.apply(a,n),s}function v(e){return h=e,l=ks(b,t),d?m(e):s}function g(e){var n=e-c,i=e-h,r=t-n;return f?Wt(r,a-i):r}function y(e){var n=e-c,i=e-h;return c===o||n>=t||n<0||f&&i>=a}function b(){var e=Eu();if(y(e))return _(e);l=ks(b,g(e))}function _(e){return l=o,p&&i?m(e):(i=r=o,s)}function w(){l!==o&&Ko(l),h=0,i=c=r=l=o}function x(){return l===o?s:_(Eu())}function C(){var e=Eu(),n=y(e);if(i=arguments,r=this,c=e,n){if(l===o)return v(c);if(f)return l=ks(b,t),m(c)}return l===o&&(l=ks(b,t)),s}return t=Gc(t)||0,Cc(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Vt(Gc(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),C.cancel=w,C.flush=x,C}var Nu=wo(function(e,t){return _r(e,1,t)}),Lu=wo(function(e,t,n){return _r(e,Gc(t)||0,n)});function Fu(e){return Pa(e,E)}function Ru(e,t){if("function"!==typeof e||null!=t&&"function"!==typeof t)throw new at(u);var n=function n(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=e.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Ru.Cache||Hi),n}function Bu(e){if("function"!==typeof e)throw new at(u);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Vu(e){return Tu(2,e)}Ru.Cache=Hi;var zu=qo(function(e,t){t=1==t.length&&sc(t[0])?En(t[0],Yn(Wa())):En($r(t,1),Yn(Wa()));var n=t.length;return wo(function(i){var r=-1,o=Wt(i.length,n);while(++r=t}),ac=Wr(function(){return arguments}())?Wr:function(e){return kc(e)&&dt.call(e,"callee")&&!St.call(e,"callee")},sc=n.isArray,lc=fn?Yn(fn):qr;function uc(e){return null!=e&&xc(e.length)&&!_c(e)}function cc(e){return kc(e)&&uc(e)}function hc(e){return!0===e||!1===e||kc(e)&&Nr(e)==U}var dc=Lt||Kd,fc=pn?Yn(pn):Ur;function pc(e){return kc(e)&&1===e.nodeType&&!Mc(e)}function mc(e){if(null==e)return!0;if(uc(e)&&(sc(e)||"string"===typeof e||"function"===typeof e.splice||dc(e)||Rc(e)||ac(e)))return!e.length;var t=Ja(e);if(t==Z||t==oe)return!e.size;if(fs(e))return!no(e).length;for(var n in e)if(dt.call(e,n))return!1;return!0}function vc(e,t){return Kr(e,t)}function gc(e,t,n){n="function"===typeof n?n:o;var i=n?n(e,t):o;return i===o?Kr(e,t,o,n):!!i}function yc(e){if(!kc(e))return!1;var t=Nr(e);return t==G||t==Y||"string"===typeof e.message&&"string"===typeof e.name&&!Mc(e)}function bc(e){return"number"===typeof e&&Ft(e)}function _c(e){if(!Cc(e))return!1;var t=Nr(e);return t==X||t==J||t==q||t==ie}function wc(e){return"number"===typeof e&&e==Kc(e)}function xc(e){return"number"===typeof e&&e>-1&&e%1==0&&e<=N}function Cc(e){var t="undefined"===typeof e?"undefined":r(e);return null!=e&&("object"==t||"function"==t)}function kc(e){return null!=e&&"object"===("undefined"===typeof e?"undefined":r(e))}var Sc=mn?Yn(mn):Gr;function Oc(e,t){return e===t||Xr(e,t,Ua(t))}function Ec(e,t,n){return n="function"===typeof n?n:o,Xr(e,t,Ua(t),n)}function $c(e){return jc(e)&&e!=+e}function Dc(e){if(ds(e))throw new He(l);return Jr(e)}function Tc(e){return null===e}function Pc(e){return null==e}function jc(e){return"number"===typeof e||kc(e)&&Nr(e)==Q}function Mc(e){if(!kc(e)||Nr(e)!=te)return!1;var t=Ct(e);if(null===t)return!0;var n=dt.call(t,"constructor")&&t.constructor;return"function"===typeof n&&n instanceof n&&ht.call(n)==vt}var Ic=vn?Yn(vn):Zr;function Ac(e){return wc(e)&&e>=-N&&e<=N}var Nc=gn?Yn(gn):Qr;function Lc(e){return"string"===typeof e||!sc(e)&&kc(e)&&Nr(e)==ae}function Fc(e){return"symbol"===("undefined"===typeof e?"undefined":r(e))||kc(e)&&Nr(e)==se}var Rc=yn?Yn(yn):eo;function Bc(e){return e===o}function Vc(e){return kc(e)&&Ja(e)==ue}function zc(e){return kc(e)&&Nr(e)==ce}var Hc=Oa(ro),Wc=Oa(function(e,t){return e<=t});function qc(e){if(!e)return[];if(uc(e))return Lc(e)?vi(e):ra(e);if($t&&e[$t])return ai(e[$t]());var t=Ja(e),n=t==Z?si:t==oe?hi:Bh;return n(e)}function Uc(e){if(!e)return 0===e?e:0;if(e=Gc(e),e===A||e===-A){var t=e<0?-1:1;return t*L}return e===e?e:0}function Kc(e){var t=Uc(e),n=t%1;return t===t?n?t-n:t:0}function Yc(e){return e?vr(Kc(e),0,R):0}function Gc(e){if("number"===typeof e)return e;if(Fc(e))return F;if(Cc(e)){var t="function"===typeof e.valueOf?e.valueOf():e;e=Cc(t)?t+"":t}if("string"!==typeof e)return 0===e?e:+e;e=e.replace(Le,"");var n=Ye.test(e);return n||Xe.test(e)?rn(e.slice(2),n?2:8):Ke.test(e)?F:+e}function Xc(e){return oa(e,xh(e))}function Jc(e){return e?vr(Kc(e),-N,N):0===e?e:0}function Zc(e){return null==e?"":Io(e)}var Qc=ua(function(e,t){if(fs(t)||uc(t))oa(t,wh(t),e);else for(var n in t)dt.call(t,n)&&ur(e,n,t[n])}),eh=ua(function(e,t){oa(t,xh(t),e)}),th=ua(function(e,t,n,i){oa(t,xh(t),e,i)}),nh=ua(function(e,t,n,i){oa(t,wh(t),e,i)}),ih=Fa(mr);function rh(e,t){var n=ki(e);return null==t?n:dr(n,t)}var oh=wo(function(e,t){e=it(e);var n=-1,i=t.length,r=i>2?t[2]:o;r&&ss(t[0],t[1],r)&&(i=1);while(++n1),t}),oa(e,Ba(e),n),i&&(n=gr(n,f|p|m,Ia));var r=t.length;while(r--)No(n,t[r]);return n});function $h(e,t){return Th(e,Bu(Wa(t)))}var Dh=Fa(function(e,t){return null==e?{}:fo(e,t)});function Th(e,t){if(null==e)return{};var n=En(Ba(e),function(e){return[e]});return t=Wa(t),po(e,n,function(e,n){return t(e,n[0])})}function Ph(e,t,n){t=Wo(t,e);var i=-1,r=t.length;r||(r=1,e=o);while(++it){var i=e;e=t,t=i}if(n||e%1||t%1){var r=Kt();return Wt(e+r*(t-e+nn("1e-"+((r+"").length-1))),t)}return yo(e,t)}var qh=pa(function(e,t,n){return t=t.toLowerCase(),e+(n?Uh(t):t)});function Uh(e){return bd(Zc(e).toLowerCase())}function Kh(e){return e=Zc(e),e&&e.replace(Ze,ei).replace(Ht,"")}function Yh(e,t,n){e=Zc(e),t=Io(t);var i=e.length;n=n===o?i:vr(Kc(n),0,i);var r=n;return n-=t.length,n>=0&&e.slice(n,r)==t}function Gh(e){return e=Zc(e),e&&$e.test(e)?e.replace(Oe,ti):e}function Xh(e){return e=Zc(e),e&&Ne.test(e)?e.replace(Ae,"\\$&"):e}var Jh=pa(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Zh=pa(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Qh=fa("toLowerCase");function ed(e,t,n){e=Zc(e),t=Kc(t);var i=t?mi(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return Ca(At(r),n)+e+Ca(It(r),n)}function td(e,t,n){e=Zc(e),t=Kc(t);var i=t?mi(e):0;return t&&i>>0,n?(e=Zc(e),e&&("string"===typeof t||null!=t&&!Ic(t))&&(t=Io(t),!t&&ri(e))?Uo(vi(e),0,n):e.split(t,n)):[]}var ld=pa(function(e,t,n){return e+(n?" ":"")+bd(t)});function ud(e,t,n){return e=Zc(e),n=null==n?0:vr(Kc(n),0,e.length),t=Io(t),e.slice(n,n+t.length)==t}function cd(e,t,n){var i=Ci.templateSettings;n&&ss(e,t,n)&&(t=o),e=Zc(e),t=th({},t,i,ja);var r,a,s=th({},t.imports,i.imports,ja),l=wh(s),u=Gn(s,l),c=0,h=t.interpolate||Qe,d="__p += '",f=rt((t.escape||Qe).source+"|"+h.source+"|"+(h===Pe?qe:Qe).source+"|"+(t.evaluate||Qe).source+"|$","g"),p="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++Gt+"]")+"\n";e.replace(f,function(t,n,i,o,s,l){return i||(i=o),d+=e.slice(c,l).replace(et,ni),n&&(r=!0,d+="' +\n__e("+n+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),c=l+t.length,t}),d+="';\n";var m=t.variable;m||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(xe,""):d).replace(Ce,"$1").replace(ke,"$1;"),d="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var v=wd(function(){return tt(l,p+"return "+d).apply(o,u)});if(v.source=d,yc(v))throw v;return v}function hd(e){return Zc(e).toLowerCase()}function dd(e){return Zc(e).toUpperCase()}function fd(e,t,n){if(e=Zc(e),e&&(n||t===o))return e.replace(Le,"");if(!e||!(t=Io(t)))return e;var i=vi(e),r=vi(t),a=Jn(i,r),s=Zn(i,r)+1;return Uo(i,a,s).join("")}function pd(e,t,n){if(e=Zc(e),e&&(n||t===o))return e.replace(Re,"");if(!e||!(t=Io(t)))return e;var i=vi(e),r=Zn(i,vi(t))+1;return Uo(i,0,r).join("")}function md(e,t,n){if(e=Zc(e),e&&(n||t===o))return e.replace(Fe,"");if(!e||!(t=Io(t)))return e;var i=vi(e),r=Jn(i,vi(t));return Uo(i,r).join("")}function vd(e,t){var n=$,i=D;if(Cc(t)){var r="separator"in t?t.separator:r;n="length"in t?Kc(t.length):n,i="omission"in t?Io(t.omission):i}e=Zc(e);var a=e.length;if(ri(e)){var s=vi(e);a=s.length}if(n>=a)return e;var l=n-mi(i);if(l<1)return i;var u=s?Uo(s,0,l).join(""):e.slice(0,l);if(r===o)return u+i;if(s&&(l+=u.length-l),Ic(r)){if(e.slice(l).search(r)){var c,h=u;r.global||(r=rt(r.source,Zc(Ue.exec(r))+"g")),r.lastIndex=0;while(c=r.exec(h))var d=c.index;u=u.slice(0,d===o?l:d)}}else if(e.indexOf(Io(r),l)!=l){var f=u.lastIndexOf(r);f>-1&&(u=u.slice(0,f))}return u+i}function gd(e){return e=Zc(e),e&&Ee.test(e)?e.replace(Se,gi):e}var yd=pa(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),bd=fa("toUpperCase");function _d(e,t,n){return e=Zc(e),t=n?o:t,t===o?oi(e)?_i(e):In(e):e.match(t)||[]}var wd=wo(function(e,t){try{return bn(e,o,t)}catch(n){return yc(n)?n:new He(n)}}),xd=Fa(function(e,t){return wn(t,function(t){t=Ts(t),pr(e,t,Pu(e[t],e))}),e});function Cd(e){var t=null==e?0:e.length,n=Wa();return e=t?En(e,function(e){if("function"!==typeof e[1])throw new at(u);return[n(e[0]),e[1]]}):[],wo(function(n){var i=-1;while(++iN)return[];var n=R,i=Wt(e,R);t=Wa(t),e-=R;var r=Un(i,t);while(++n0||t<0)?new Ei(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(t=Kc(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},Ei.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ei.prototype.toArray=function(){return this.take(R)},Pr(Ei.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),r=Ci[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);r&&(Ci.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,l=t instanceof Ei,u=s[0],c=l||sc(t),h=function(e){var t=r.apply(Ci,$n([e],s));return i&&d?t[0]:t};c&&n&&"function"===typeof u&&1!=u.length&&(l=c=!1);var d=this.__chain__,f=!!this.__actions__.length,p=a&&!d,m=l&&!f;if(!a&&c){t=m?t:new Ei(this);var v=e.apply(t,s);return v.__actions__.push({func:Ul,args:[h],thisArg:o}),new Oi(v,d)}return p&&m?e.apply(this,s):(v=this.thru(h),p?i?v.value()[0]:v.value():v)})}),wn(["pop","push","shift","sort","splice","unshift"],function(e){var t=st[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);Ci.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(sc(r)?r:[],e)}return this[n](function(n){return t.apply(sc(n)?n:[],e)})}}),Pr(Ei.prototype,function(e,t){var n=Ci[t];if(n){var i=n.name+"",r=hn[i]||(hn[i]=[]);r.push({name:t,func:n})}}),hn[ba(o,b).name]=[{name:"wrapper",func:o}],Ei.prototype.clone=$i,Ei.prototype.reverse=Di,Ei.prototype.value=Ti,Ci.prototype.at=Kl,Ci.prototype.chain=Yl,Ci.prototype.commit=Gl,Ci.prototype.next=Xl,Ci.prototype.plant=Zl,Ci.prototype.reverse=Ql,Ci.prototype.toJSON=Ci.prototype.valueOf=Ci.prototype.value=eu,Ci.prototype.first=Ci.prototype.head,$t&&(Ci.prototype[$t]=Jl),Ci},xi=wi();"object"===r(n.amdO)&&n.amdO?(sn._=xi,i=function(){return xi}.call(t,n,t,e),i===o||(e.exports=i)):un?((un.exports=xi)._=xi,ln._=xi):sn._=xi}).call(void 0)},9821:function(e,t,n){"use strict";n(4114),t.__esModule=!0,t["default"]=a;var i=n(6674),r=o(i);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!r.default.prototype.$isServer)if(t){var n=[],i=t.offsetParent;while(i&&e!==i&&e.contains(i))n.push(i),i=i.offsetParent;var o=t.offsetTop+n.reduce(function(e,t){return e+t.offsetTop},0),a=o+t.offsetHeight,s=e.scrollTop,l=s+e.clientHeight;ol&&(e.scrollTop=a-e.clientHeight)}else e.scrollTop=0}},9835:function(e){"use strict";e.exports=function(e){try{var t=new Set,n={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},i=t[e](n);return 1===i.size&&4===i.values().next().value}catch(r){return!1}}},9848:function(e,t,n){"use strict";n(6368),n(9309)},9928:function(e,t,n){"use strict";var i=n(6198),r=n(1291),o=RangeError;e.exports=function(e,t,n,a){var s=i(e),l=r(n),u=l<0?s+l:l;if(u>=s||u<0)throw new o("Incorrect index");for(var c=new t(s),h=0;h 0 ? floor : ceil)(n);\n};\n","'use strict';\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar clearErrorStack = require('../internals/error-stack-clear');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\n\n// non-standard V8\n// eslint-disable-next-line es/no-nonstandard-error-properties -- safe\nvar captureStackTrace = Error.captureStackTrace;\n\nmodule.exports = function (error, C, stack, dropEntries) {\n if (ERROR_STACK_INSTALLABLE) {\n if (captureStackTrace) captureStackTrace(error, C);\n else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));\n }\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","\"use strict\";\n\nexports.__esModule = true;\nexports.isDef = isDef;\nexports.isKorean = isKorean;\nfunction isDef(val) {\n return val !== undefined && val !== null;\n}\nfunction isKorean(text) {\n var reg = /([(\\uAC00-\\uD7AF)|(\\u3130-\\u318F)])+/gi;\n return reg.test(text);\n}","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","'use strict';\nvar classof = require('../internals/classof');\n\nmodule.exports = function (it) {\n var klass = classof(it);\n return klass === 'BigInt64Array' || klass === 'BigUint64Array';\n};\n","module.exports =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/dist/\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 104);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 0:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return normalizeComponent; });\n/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nfunction normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n\n\n/***/ }),\n\n/***/ 104:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n\n// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/progress/src/progress.vue?vue&type=template&id=229ee406&\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n {\n staticClass: \"el-progress\",\n class: [\n \"el-progress--\" + _vm.type,\n _vm.status ? \"is-\" + _vm.status : \"\",\n {\n \"el-progress--without-text\": !_vm.showText,\n \"el-progress--text-inside\": _vm.textInside\n }\n ],\n attrs: {\n role: \"progressbar\",\n \"aria-valuenow\": _vm.percentage,\n \"aria-valuemin\": \"0\",\n \"aria-valuemax\": \"100\"\n }\n },\n [\n _vm.type === \"line\"\n ? _c(\"div\", { staticClass: \"el-progress-bar\" }, [\n _c(\n \"div\",\n {\n staticClass: \"el-progress-bar__outer\",\n style: {\n height: _vm.strokeWidth + \"px\",\n backgroundColor: _vm.defineBackColor\n }\n },\n [\n _c(\n \"div\",\n {\n staticClass: \"el-progress-bar__inner\",\n style: _vm.barStyle\n },\n [\n _vm.showText && _vm.textInside\n ? _c(\n \"div\",\n {\n staticClass: \"el-progress-bar__innerText\",\n style: { color: _vm.textColor }\n },\n [_vm._v(_vm._s(_vm.content))]\n )\n : _vm._e()\n ]\n )\n ]\n )\n ])\n : _c(\n \"div\",\n {\n staticClass: \"el-progress-circle\",\n style: { height: _vm.width + \"px\", width: _vm.width + \"px\" }\n },\n [\n _c(\"svg\", { attrs: { viewBox: \"0 0 100 100\" } }, [\n _c(\"path\", {\n staticClass: \"el-progress-circle__track\",\n style: _vm.trailPathStyle,\n attrs: {\n d: _vm.trackPath,\n stroke: _vm.defineBackColor,\n \"stroke-width\": _vm.relativeStrokeWidth,\n fill: \"none\"\n }\n }),\n _c(\"path\", {\n staticClass: \"el-progress-circle__path\",\n style: _vm.circlePathStyle,\n attrs: {\n d: _vm.trackPath,\n stroke: _vm.stroke,\n fill: \"none\",\n \"stroke-linecap\": _vm.strokeLinecap,\n \"stroke-width\": _vm.percentage ? _vm.relativeStrokeWidth : 0\n }\n })\n ])\n ]\n ),\n _vm.showText && !_vm.textInside\n ? _c(\n \"div\",\n {\n staticClass: \"el-progress__text\",\n style: {\n fontSize: _vm.progressTextSize + \"px\",\n color: _vm.textColor\n }\n },\n [\n !_vm.status\n ? [_vm._v(_vm._s(_vm.content))]\n : _c(\"i\", { class: _vm.iconClass })\n ],\n 2\n )\n : _vm._e()\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n// CONCATENATED MODULE: ./packages/progress/src/progress.vue?vue&type=template&id=229ee406&\n\n// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/progress/src/progress.vue?vue&type=script&lang=js&\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n/* harmony default export */ var progressvue_type_script_lang_js_ = ({\n name: 'ElProgress',\n props: {\n type: {\n type: String,\n default: 'line',\n validator: function validator(val) {\n return ['line', 'circle', 'dashboard'].indexOf(val) > -1;\n }\n },\n percentage: {\n type: Number,\n default: 0,\n required: true,\n validator: function validator(val) {\n return val >= 0 && val <= 100;\n }\n },\n status: {\n type: String,\n validator: function validator(val) {\n return ['success', 'exception', 'warning'].indexOf(val) > -1;\n }\n },\n strokeWidth: {\n type: Number,\n default: 6\n },\n strokeLinecap: {\n type: String,\n default: 'round'\n },\n textInside: {\n type: Boolean,\n default: false\n },\n width: {\n type: Number,\n default: 126\n },\n showText: {\n type: Boolean,\n default: true\n },\n color: {\n type: [String, Array, Function],\n default: ''\n },\n defineBackColor: {\n type: [String, Array, Function],\n default: '#ebeef5'\n },\n textColor: {\n type: [String, Array, Function],\n default: '#606266'\n },\n format: Function\n },\n computed: {\n barStyle: function barStyle() {\n var style = {};\n style.width = this.percentage + '%';\n style.backgroundColor = this.getCurrentColor(this.percentage);\n return style;\n },\n relativeStrokeWidth: function relativeStrokeWidth() {\n return (this.strokeWidth / this.width * 100).toFixed(1);\n },\n radius: function radius() {\n if (this.type === 'circle' || this.type === 'dashboard') {\n return parseInt(50 - parseFloat(this.relativeStrokeWidth) / 2, 10);\n } else {\n return 0;\n }\n },\n trackPath: function trackPath() {\n var radius = this.radius;\n var isDashboard = this.type === 'dashboard';\n return '\\n M 50 50\\n m 0 ' + (isDashboard ? '' : '-') + radius + '\\n a ' + radius + ' ' + radius + ' 0 1 1 0 ' + (isDashboard ? '-' : '') + radius * 2 + '\\n a ' + radius + ' ' + radius + ' 0 1 1 0 ' + (isDashboard ? '' : '-') + radius * 2 + '\\n ';\n },\n perimeter: function perimeter() {\n return 2 * Math.PI * this.radius;\n },\n rate: function rate() {\n return this.type === 'dashboard' ? 0.75 : 1;\n },\n strokeDashoffset: function strokeDashoffset() {\n var offset = -1 * this.perimeter * (1 - this.rate) / 2;\n return offset + 'px';\n },\n trailPathStyle: function trailPathStyle() {\n return {\n strokeDasharray: this.perimeter * this.rate + 'px, ' + this.perimeter + 'px',\n strokeDashoffset: this.strokeDashoffset\n };\n },\n circlePathStyle: function circlePathStyle() {\n return {\n strokeDasharray: this.perimeter * this.rate * (this.percentage / 100) + 'px, ' + this.perimeter + 'px',\n strokeDashoffset: this.strokeDashoffset,\n transition: 'stroke-dasharray 0.6s ease 0s, stroke 0.6s ease'\n };\n },\n stroke: function stroke() {\n var ret = void 0;\n if (this.color) {\n ret = this.getCurrentColor(this.percentage);\n } else {\n switch (this.status) {\n case 'success':\n ret = '#13ce66';\n break;\n case 'exception':\n ret = '#ff4949';\n break;\n case 'warning':\n ret = '#e6a23c';\n break;\n default:\n ret = '#20a0ff';\n }\n }\n return ret;\n },\n iconClass: function iconClass() {\n if (this.status === 'warning') {\n return 'el-icon-warning';\n }\n if (this.type === 'line') {\n return this.status === 'success' ? 'el-icon-circle-check' : 'el-icon-circle-close';\n } else {\n return this.status === 'success' ? 'el-icon-check' : 'el-icon-close';\n }\n },\n progressTextSize: function progressTextSize() {\n return this.type === 'line' ? 12 + this.strokeWidth * 0.4 : this.width * 0.111111 + 2;\n },\n content: function content() {\n if (typeof this.format === 'function') {\n return this.format(this.percentage) || '';\n } else {\n return this.percentage + '%';\n }\n }\n },\n methods: {\n getCurrentColor: function getCurrentColor(percentage) {\n if (typeof this.color === 'function') {\n return this.color(percentage);\n } else if (typeof this.color === 'string') {\n return this.color;\n } else {\n return this.getLevelColor(percentage);\n }\n },\n getLevelColor: function getLevelColor(percentage) {\n var colorArray = this.getColorArray().sort(function (a, b) {\n return a.percentage - b.percentage;\n });\n\n for (var i = 0; i < colorArray.length; i++) {\n if (colorArray[i].percentage > percentage) {\n return colorArray[i].color;\n }\n }\n return colorArray[colorArray.length - 1].color;\n },\n getColorArray: function getColorArray() {\n var color = this.color;\n var span = 100 / color.length;\n return color.map(function (seriesColor, index) {\n if (typeof seriesColor === 'string') {\n return {\n color: seriesColor,\n percentage: (index + 1) * span\n };\n }\n return seriesColor;\n });\n }\n }\n});\n// CONCATENATED MODULE: ./packages/progress/src/progress.vue?vue&type=script&lang=js&\n /* harmony default export */ var src_progressvue_type_script_lang_js_ = (progressvue_type_script_lang_js_); \n// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\nvar componentNormalizer = __webpack_require__(0);\n\n// CONCATENATED MODULE: ./packages/progress/src/progress.vue\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(componentNormalizer[\"a\" /* default */])(\n src_progressvue_type_script_lang_js_,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"packages/progress/src/progress.vue\"\n/* harmony default export */ var progress = (component.exports);\n// CONCATENATED MODULE: ./packages/progress/index.js\n\n\n/* istanbul ignore next */\nprogress.install = function (Vue) {\n Vue.component(progress.name, progress);\n};\n\n/* harmony default export */ var packages_progress = __webpack_exports__[\"default\"] = (progress);\n\n/***/ })\n\n/******/ });","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar iterate = require('../internals/iterate');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar iteratorClose = require('../internals/iterator-close');\nvar iteratorHelperWithoutClosingOnEarlyError = require('../internals/iterator-helper-without-closing-on-early-error');\n\nvar everyWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('every', TypeError);\n\n// `Iterator.prototype.every` method\n// https://tc39.es/ecma262/#sec-iterator.prototype.every\n$({ target: 'Iterator', proto: true, real: true, forced: everyWithoutClosingOnEarlyError }, {\n every: function every(predicate) {\n anObject(this);\n try {\n aCallable(predicate);\n } catch (error) {\n iteratorClose(this, 'throw', error);\n }\n\n if (everyWithoutClosingOnEarlyError) return call(everyWithoutClosingOnEarlyError, this, predicate);\n\n var record = getIteratorDirect(this);\n var counter = 0;\n return !iterate(record, function (value, stop) {\n if (!predicate(value, counter++)) return stop();\n }, { IS_RECORD: true, INTERRUPTED: true }).stopped;\n }\n});\n","module.exports =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/dist/\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 91);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 0:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return normalizeComponent; });\n/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nfunction normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n\n\n/***/ }),\n\n/***/ 4:\n/***/ (function(module, exports) {\n\nmodule.exports = require(\"element-ui/lib/mixins/emitter\");\n\n/***/ }),\n\n/***/ 91:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n\n// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox.vue?vue&type=template&id=d0387074&\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"label\",\n {\n staticClass: \"el-checkbox\",\n class: [\n _vm.border && _vm.checkboxSize\n ? \"el-checkbox--\" + _vm.checkboxSize\n : \"\",\n { \"is-disabled\": _vm.isDisabled },\n { \"is-bordered\": _vm.border },\n { \"is-checked\": _vm.isChecked }\n ],\n attrs: { id: _vm.id }\n },\n [\n _c(\n \"span\",\n {\n staticClass: \"el-checkbox__input\",\n class: {\n \"is-disabled\": _vm.isDisabled,\n \"is-checked\": _vm.isChecked,\n \"is-indeterminate\": _vm.indeterminate,\n \"is-focus\": _vm.focus\n },\n attrs: {\n tabindex: _vm.indeterminate ? 0 : false,\n role: _vm.indeterminate ? \"checkbox\" : false,\n \"aria-checked\": _vm.indeterminate ? \"mixed\" : false\n }\n },\n [\n _c(\"span\", { staticClass: \"el-checkbox__inner\" }),\n _vm.trueLabel || _vm.falseLabel\n ? _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.model,\n expression: \"model\"\n }\n ],\n staticClass: \"el-checkbox__original\",\n attrs: {\n type: \"checkbox\",\n \"aria-hidden\": _vm.indeterminate ? \"true\" : \"false\",\n name: _vm.name,\n disabled: _vm.isDisabled,\n \"true-value\": _vm.trueLabel,\n \"false-value\": _vm.falseLabel\n },\n domProps: {\n checked: Array.isArray(_vm.model)\n ? _vm._i(_vm.model, null) > -1\n : _vm._q(_vm.model, _vm.trueLabel)\n },\n on: {\n change: [\n function($event) {\n var $$a = _vm.model,\n $$el = $event.target,\n $$c = $$el.checked ? _vm.trueLabel : _vm.falseLabel\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v)\n if ($$el.checked) {\n $$i < 0 && (_vm.model = $$a.concat([$$v]))\n } else {\n $$i > -1 &&\n (_vm.model = $$a\n .slice(0, $$i)\n .concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.model = $$c\n }\n },\n _vm.handleChange\n ],\n focus: function($event) {\n _vm.focus = true\n },\n blur: function($event) {\n _vm.focus = false\n }\n }\n })\n : _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.model,\n expression: \"model\"\n }\n ],\n staticClass: \"el-checkbox__original\",\n attrs: {\n type: \"checkbox\",\n \"aria-hidden\": _vm.indeterminate ? \"true\" : \"false\",\n disabled: _vm.isDisabled,\n name: _vm.name\n },\n domProps: {\n value: _vm.label,\n checked: Array.isArray(_vm.model)\n ? _vm._i(_vm.model, _vm.label) > -1\n : _vm.model\n },\n on: {\n change: [\n function($event) {\n var $$a = _vm.model,\n $$el = $event.target,\n $$c = $$el.checked ? true : false\n if (Array.isArray($$a)) {\n var $$v = _vm.label,\n $$i = _vm._i($$a, $$v)\n if ($$el.checked) {\n $$i < 0 && (_vm.model = $$a.concat([$$v]))\n } else {\n $$i > -1 &&\n (_vm.model = $$a\n .slice(0, $$i)\n .concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.model = $$c\n }\n },\n _vm.handleChange\n ],\n focus: function($event) {\n _vm.focus = true\n },\n blur: function($event) {\n _vm.focus = false\n }\n }\n })\n ]\n ),\n _vm.$slots.default || _vm.label\n ? _c(\n \"span\",\n { staticClass: \"el-checkbox__label\" },\n [\n _vm._t(\"default\"),\n !_vm.$slots.default ? [_vm._v(_vm._s(_vm.label))] : _vm._e()\n ],\n 2\n )\n : _vm._e()\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n// CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue?vue&type=template&id=d0387074&\n\n// EXTERNAL MODULE: external \"element-ui/lib/mixins/emitter\"\nvar emitter_ = __webpack_require__(4);\nvar emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);\n\n// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox.vue?vue&type=script&lang=js&\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//\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/* harmony default export */ var checkboxvue_type_script_lang_js_ = ({\n name: 'ElCheckbox',\n\n mixins: [emitter_default.a],\n\n inject: {\n elForm: {\n default: ''\n },\n elFormItem: {\n default: ''\n }\n },\n\n componentName: 'ElCheckbox',\n\n data: function data() {\n return {\n selfModel: false,\n focus: false,\n isLimitExceeded: false\n };\n },\n\n\n computed: {\n model: {\n get: function get() {\n return this.isGroup ? this.store : this.value !== undefined ? this.value : this.selfModel;\n },\n set: function set(val) {\n if (this.isGroup) {\n this.isLimitExceeded = false;\n this._checkboxGroup.min !== undefined && val.length < this._checkboxGroup.min && (this.isLimitExceeded = true);\n\n this._checkboxGroup.max !== undefined && val.length > this._checkboxGroup.max && (this.isLimitExceeded = true);\n\n this.isLimitExceeded === false && this.dispatch('ElCheckboxGroup', 'input', [val]);\n } else {\n this.$emit('input', val);\n this.selfModel = val;\n }\n }\n },\n\n isChecked: function isChecked() {\n if ({}.toString.call(this.model) === '[object Boolean]') {\n return this.model;\n } else if (Array.isArray(this.model)) {\n return this.model.indexOf(this.label) > -1;\n } else if (this.model !== null && this.model !== undefined) {\n return this.model === this.trueLabel;\n }\n },\n isGroup: function isGroup() {\n var parent = this.$parent;\n while (parent) {\n if (parent.$options.componentName !== 'ElCheckboxGroup') {\n parent = parent.$parent;\n } else {\n this._checkboxGroup = parent;\n return true;\n }\n }\n return false;\n },\n store: function store() {\n return this._checkboxGroup ? this._checkboxGroup.value : this.value;\n },\n\n\n /* used to make the isDisabled judgment under max/min props */\n isLimitDisabled: function isLimitDisabled() {\n var _checkboxGroup = this._checkboxGroup,\n max = _checkboxGroup.max,\n min = _checkboxGroup.min;\n\n return !!(max || min) && this.model.length >= max && !this.isChecked || this.model.length <= min && this.isChecked;\n },\n isDisabled: function isDisabled() {\n return this.isGroup ? this._checkboxGroup.disabled || this.disabled || (this.elForm || {}).disabled || this.isLimitDisabled : this.disabled || (this.elForm || {}).disabled;\n },\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n checkboxSize: function checkboxSize() {\n var temCheckboxSize = this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n return this.isGroup ? this._checkboxGroup.checkboxGroupSize || temCheckboxSize : temCheckboxSize;\n }\n },\n\n props: {\n value: {},\n label: {},\n indeterminate: Boolean,\n disabled: Boolean,\n checked: Boolean,\n name: String,\n trueLabel: [String, Number],\n falseLabel: [String, Number],\n id: String, /* 当indeterminate为真时,为controls提供相关连的checkbox的id,表明元素间的控制关系*/\n controls: String, /* 当indeterminate为真时,为controls提供相关连的checkbox的id,表明元素间的控制关系*/\n border: Boolean,\n size: String\n },\n\n methods: {\n addToStore: function addToStore() {\n if (Array.isArray(this.model) && this.model.indexOf(this.label) === -1) {\n this.model.push(this.label);\n } else {\n this.model = this.trueLabel || true;\n }\n },\n handleChange: function handleChange(ev) {\n var _this = this;\n\n if (this.isLimitExceeded) return;\n var value = void 0;\n if (ev.target.checked) {\n value = this.trueLabel === undefined ? true : this.trueLabel;\n } else {\n value = this.falseLabel === undefined ? false : this.falseLabel;\n }\n this.$emit('change', value, ev);\n this.$nextTick(function () {\n if (_this.isGroup) {\n _this.dispatch('ElCheckboxGroup', 'change', [_this._checkboxGroup.value]);\n }\n });\n }\n },\n\n created: function created() {\n this.checked && this.addToStore();\n },\n mounted: function mounted() {\n // 为indeterminate元素 添加aria-controls 属性\n if (this.indeterminate) {\n this.$el.setAttribute('aria-controls', this.controls);\n }\n },\n\n\n watch: {\n value: function value(_value) {\n this.dispatch('ElFormItem', 'el.form.change', _value);\n }\n }\n});\n// CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue?vue&type=script&lang=js&\n /* harmony default export */ var src_checkboxvue_type_script_lang_js_ = (checkboxvue_type_script_lang_js_); \n// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\nvar componentNormalizer = __webpack_require__(0);\n\n// CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(componentNormalizer[\"a\" /* default */])(\n src_checkboxvue_type_script_lang_js_,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"packages/checkbox/src/checkbox.vue\"\n/* harmony default export */ var src_checkbox = (component.exports);\n// CONCATENATED MODULE: ./packages/checkbox/index.js\n\n\n/* istanbul ignore next */\nsrc_checkbox.install = function (Vue) {\n Vue.component(src_checkbox.name, src_checkbox);\n};\n\n/* harmony default export */ var packages_checkbox = __webpack_exports__[\"default\"] = (src_checkbox);\n\n/***/ })\n\n/******/ });","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = globalThis.TypeError;\nvar WeakMap = globalThis.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","module.exports =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/dist/\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 75);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 0:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return normalizeComponent; });\n/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nfunction normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n\n\n/***/ }),\n\n/***/ 11:\n/***/ (function(module, exports) {\n\nmodule.exports = require(\"element-ui/lib/mixins/migrating\");\n\n/***/ }),\n\n/***/ 21:\n/***/ (function(module, exports) {\n\nmodule.exports = require(\"element-ui/lib/utils/shared\");\n\n/***/ }),\n\n/***/ 4:\n/***/ (function(module, exports) {\n\nmodule.exports = require(\"element-ui/lib/mixins/emitter\");\n\n/***/ }),\n\n/***/ 75:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n\n// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/input.vue?vue&type=template&id=343dd774&\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n {\n class: [\n _vm.type === \"textarea\" ? \"el-textarea\" : \"el-input\",\n _vm.inputSize ? \"el-input--\" + _vm.inputSize : \"\",\n {\n \"is-disabled\": _vm.inputDisabled,\n \"is-exceed\": _vm.inputExceed,\n \"el-input-group\": _vm.$slots.prepend || _vm.$slots.append,\n \"el-input-group--append\": _vm.$slots.append,\n \"el-input-group--prepend\": _vm.$slots.prepend,\n \"el-input--prefix\": _vm.$slots.prefix || _vm.prefixIcon,\n \"el-input--suffix\":\n _vm.$slots.suffix ||\n _vm.suffixIcon ||\n _vm.clearable ||\n _vm.showPassword\n }\n ],\n on: {\n mouseenter: function($event) {\n _vm.hovering = true\n },\n mouseleave: function($event) {\n _vm.hovering = false\n }\n }\n },\n [\n _vm.type !== \"textarea\"\n ? [\n _vm.$slots.prepend\n ? _c(\n \"div\",\n { staticClass: \"el-input-group__prepend\" },\n [_vm._t(\"prepend\")],\n 2\n )\n : _vm._e(),\n _vm.type !== \"textarea\"\n ? _c(\n \"input\",\n _vm._b(\n {\n ref: \"input\",\n staticClass: \"el-input__inner\",\n attrs: {\n tabindex: _vm.tabindex,\n type: _vm.showPassword\n ? _vm.passwordVisible\n ? \"text\"\n : \"password\"\n : _vm.type,\n disabled: _vm.inputDisabled,\n readonly: _vm.readonly,\n autocomplete: _vm.autoComplete || _vm.autocomplete,\n \"aria-label\": _vm.label\n },\n on: {\n compositionstart: _vm.handleCompositionStart,\n compositionupdate: _vm.handleCompositionUpdate,\n compositionend: _vm.handleCompositionEnd,\n input: _vm.handleInput,\n focus: _vm.handleFocus,\n blur: _vm.handleBlur,\n change: _vm.handleChange\n }\n },\n \"input\",\n _vm.$attrs,\n false\n )\n )\n : _vm._e(),\n _vm.$slots.prefix || _vm.prefixIcon\n ? _c(\n \"span\",\n { staticClass: \"el-input__prefix\" },\n [\n _vm._t(\"prefix\"),\n _vm.prefixIcon\n ? _c(\"i\", {\n staticClass: \"el-input__icon\",\n class: _vm.prefixIcon\n })\n : _vm._e()\n ],\n 2\n )\n : _vm._e(),\n _vm.getSuffixVisible()\n ? _c(\"span\", { staticClass: \"el-input__suffix\" }, [\n _c(\n \"span\",\n { staticClass: \"el-input__suffix-inner\" },\n [\n !_vm.showClear ||\n !_vm.showPwdVisible ||\n !_vm.isWordLimitVisible\n ? [\n _vm._t(\"suffix\"),\n _vm.suffixIcon\n ? _c(\"i\", {\n staticClass: \"el-input__icon\",\n class: _vm.suffixIcon\n })\n : _vm._e()\n ]\n : _vm._e(),\n _vm.showClear\n ? _c(\"i\", {\n staticClass:\n \"el-input__icon el-icon-circle-close el-input__clear\",\n on: {\n mousedown: function($event) {\n $event.preventDefault()\n },\n click: _vm.clear\n }\n })\n : _vm._e(),\n _vm.showPwdVisible\n ? _c(\"i\", {\n staticClass:\n \"el-input__icon el-icon-view el-input__clear\",\n on: { click: _vm.handlePasswordVisible }\n })\n : _vm._e(),\n _vm.isWordLimitVisible\n ? _c(\"span\", { staticClass: \"el-input__count\" }, [\n _c(\n \"span\",\n { staticClass: \"el-input__count-inner\" },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.textLength) +\n \"/\" +\n _vm._s(_vm.upperLimit) +\n \"\\n \"\n )\n ]\n )\n ])\n : _vm._e()\n ],\n 2\n ),\n _vm.validateState\n ? _c(\"i\", {\n staticClass: \"el-input__icon\",\n class: [\"el-input__validateIcon\", _vm.validateIcon]\n })\n : _vm._e()\n ])\n : _vm._e(),\n _vm.$slots.append\n ? _c(\n \"div\",\n { staticClass: \"el-input-group__append\" },\n [_vm._t(\"append\")],\n 2\n )\n : _vm._e()\n ]\n : _c(\n \"textarea\",\n _vm._b(\n {\n ref: \"textarea\",\n staticClass: \"el-textarea__inner\",\n style: _vm.textareaStyle,\n attrs: {\n tabindex: _vm.tabindex,\n disabled: _vm.inputDisabled,\n readonly: _vm.readonly,\n autocomplete: _vm.autoComplete || _vm.autocomplete,\n \"aria-label\": _vm.label\n },\n on: {\n compositionstart: _vm.handleCompositionStart,\n compositionupdate: _vm.handleCompositionUpdate,\n compositionend: _vm.handleCompositionEnd,\n input: _vm.handleInput,\n focus: _vm.handleFocus,\n blur: _vm.handleBlur,\n change: _vm.handleChange\n }\n },\n \"textarea\",\n _vm.$attrs,\n false\n )\n ),\n _vm.isWordLimitVisible && _vm.type === \"textarea\"\n ? _c(\"span\", { staticClass: \"el-input__count\" }, [\n _vm._v(_vm._s(_vm.textLength) + \"/\" + _vm._s(_vm.upperLimit))\n ])\n : _vm._e()\n ],\n 2\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n// CONCATENATED MODULE: ./packages/input/src/input.vue?vue&type=template&id=343dd774&\n\n// EXTERNAL MODULE: external \"element-ui/lib/mixins/emitter\"\nvar emitter_ = __webpack_require__(4);\nvar emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);\n\n// EXTERNAL MODULE: external \"element-ui/lib/mixins/migrating\"\nvar migrating_ = __webpack_require__(11);\nvar migrating_default = /*#__PURE__*/__webpack_require__.n(migrating_);\n\n// CONCATENATED MODULE: ./packages/input/src/calcTextareaHeight.js\nvar hiddenTextarea = void 0;\n\nvar HIDDEN_STYLE = '\\n height:0 !important;\\n visibility:hidden !important;\\n overflow:hidden !important;\\n position:absolute !important;\\n z-index:-1000 !important;\\n top:0 !important;\\n right:0 !important\\n';\n\nvar CONTEXT_STYLE = ['letter-spacing', 'line-height', 'padding-top', 'padding-bottom', 'font-family', 'font-weight', 'font-size', 'text-rendering', 'text-transform', 'width', 'text-indent', 'padding-left', 'padding-right', 'border-width', 'box-sizing'];\n\nfunction calculateNodeStyling(targetElement) {\n var style = window.getComputedStyle(targetElement);\n\n var boxSizing = style.getPropertyValue('box-sizing');\n\n var paddingSize = parseFloat(style.getPropertyValue('padding-bottom')) + parseFloat(style.getPropertyValue('padding-top'));\n\n var borderSize = parseFloat(style.getPropertyValue('border-bottom-width')) + parseFloat(style.getPropertyValue('border-top-width'));\n\n var contextStyle = CONTEXT_STYLE.map(function (name) {\n return name + ':' + style.getPropertyValue(name);\n }).join(';');\n\n return { contextStyle: contextStyle, paddingSize: paddingSize, borderSize: borderSize, boxSizing: boxSizing };\n}\n\nfunction calcTextareaHeight(targetElement) {\n var minRows = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n var maxRows = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n if (!hiddenTextarea) {\n hiddenTextarea = document.createElement('textarea');\n document.body.appendChild(hiddenTextarea);\n }\n\n var _calculateNodeStyling = calculateNodeStyling(targetElement),\n paddingSize = _calculateNodeStyling.paddingSize,\n borderSize = _calculateNodeStyling.borderSize,\n boxSizing = _calculateNodeStyling.boxSizing,\n contextStyle = _calculateNodeStyling.contextStyle;\n\n hiddenTextarea.setAttribute('style', contextStyle + ';' + HIDDEN_STYLE);\n hiddenTextarea.value = targetElement.value || targetElement.placeholder || '';\n\n var height = hiddenTextarea.scrollHeight;\n var result = {};\n\n if (boxSizing === 'border-box') {\n height = height + borderSize;\n } else if (boxSizing === 'content-box') {\n height = height - paddingSize;\n }\n\n hiddenTextarea.value = '';\n var singleRowHeight = hiddenTextarea.scrollHeight - paddingSize;\n\n if (minRows !== null) {\n var minHeight = singleRowHeight * minRows;\n if (boxSizing === 'border-box') {\n minHeight = minHeight + paddingSize + borderSize;\n }\n height = Math.max(minHeight, height);\n result.minHeight = minHeight + 'px';\n }\n if (maxRows !== null) {\n var maxHeight = singleRowHeight * maxRows;\n if (boxSizing === 'border-box') {\n maxHeight = maxHeight + paddingSize + borderSize;\n }\n height = Math.min(maxHeight, height);\n }\n result.height = height + 'px';\n hiddenTextarea.parentNode && hiddenTextarea.parentNode.removeChild(hiddenTextarea);\n hiddenTextarea = null;\n return result;\n};\n// EXTERNAL MODULE: external \"element-ui/lib/utils/merge\"\nvar merge_ = __webpack_require__(9);\nvar merge_default = /*#__PURE__*/__webpack_require__.n(merge_);\n\n// EXTERNAL MODULE: external \"element-ui/lib/utils/shared\"\nvar shared_ = __webpack_require__(21);\n\n// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/input.vue?vue&type=script&lang=js&\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//\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//\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n/* harmony default export */ var inputvue_type_script_lang_js_ = ({\n name: 'ElInput',\n\n componentName: 'ElInput',\n\n mixins: [emitter_default.a, migrating_default.a],\n\n inheritAttrs: false,\n\n inject: {\n elForm: {\n default: ''\n },\n elFormItem: {\n default: ''\n }\n },\n\n data: function data() {\n return {\n textareaCalcStyle: {},\n hovering: false,\n focused: false,\n isComposing: false,\n passwordVisible: false\n };\n },\n\n\n props: {\n value: [String, Number],\n size: String,\n resize: String,\n form: String,\n disabled: Boolean,\n readonly: Boolean,\n type: {\n type: String,\n default: 'text'\n },\n autosize: {\n type: [Boolean, Object],\n default: false\n },\n autocomplete: {\n type: String,\n default: 'off'\n },\n /** @Deprecated in next major version */\n autoComplete: {\n type: String,\n validator: function validator(val) {\n false && false;\n return true;\n }\n },\n validateEvent: {\n type: Boolean,\n default: true\n },\n suffixIcon: String,\n prefixIcon: String,\n label: String,\n clearable: {\n type: Boolean,\n default: false\n },\n showPassword: {\n type: Boolean,\n default: false\n },\n showWordLimit: {\n type: Boolean,\n default: false\n },\n tabindex: String\n },\n\n computed: {\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n validateState: function validateState() {\n return this.elFormItem ? this.elFormItem.validateState : '';\n },\n needStatusIcon: function needStatusIcon() {\n return this.elForm ? this.elForm.statusIcon : false;\n },\n validateIcon: function validateIcon() {\n return {\n validating: 'el-icon-loading',\n success: 'el-icon-circle-check',\n error: 'el-icon-circle-close'\n }[this.validateState];\n },\n textareaStyle: function textareaStyle() {\n return merge_default()({}, this.textareaCalcStyle, { resize: this.resize });\n },\n inputSize: function inputSize() {\n return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n },\n inputDisabled: function inputDisabled() {\n return this.disabled || (this.elForm || {}).disabled;\n },\n nativeInputValue: function nativeInputValue() {\n return this.value === null || this.value === undefined ? '' : String(this.value);\n },\n showClear: function showClear() {\n return this.clearable && !this.inputDisabled && !this.readonly && this.nativeInputValue && (this.focused || this.hovering);\n },\n showPwdVisible: function showPwdVisible() {\n return this.showPassword && !this.inputDisabled && !this.readonly && (!!this.nativeInputValue || this.focused);\n },\n isWordLimitVisible: function isWordLimitVisible() {\n return this.showWordLimit && this.$attrs.maxlength && (this.type === 'text' || this.type === 'textarea') && !this.inputDisabled && !this.readonly && !this.showPassword;\n },\n upperLimit: function upperLimit() {\n return this.$attrs.maxlength;\n },\n textLength: function textLength() {\n if (typeof this.value === 'number') {\n return String(this.value).length;\n }\n\n return (this.value || '').length;\n },\n inputExceed: function inputExceed() {\n // show exceed style if length of initial value greater then maxlength\n return this.isWordLimitVisible && this.textLength > this.upperLimit;\n }\n },\n\n watch: {\n value: function value(val) {\n this.$nextTick(this.resizeTextarea);\n if (this.validateEvent) {\n this.dispatch('ElFormItem', 'el.form.change', [val]);\n }\n },\n\n // native input value is set explicitly\n // do not use v-model / :value in template\n // see: https://github.com/ElemeFE/element/issues/14521\n nativeInputValue: function nativeInputValue() {\n this.setNativeInputValue();\n },\n\n // when change between and