From b68b89c1dae57c282dfa12b5df90c7b82f77fd75 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Mon, 29 Sep 2025 14:52:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{989.f060a013.css => 133.f060a013.css} | 0 .../{497.703f0337.css => 140.703f0337.css} | 0 .../{630.e6d20e0d.css => 145.e6d20e0d.css} | 0 .../{244.edd4b6a0.css => 154.edd4b6a0.css} | 0 .../{709.8b344007.css => 168.8b344007.css} | 0 .../{677.51eebda5.css => 241.51eebda5.css} | 0 .../{828.9419445b.css => 339.9419445b.css} | 0 .../{169.a7db186a.css => 359.a7db186a.css} | 0 .../{452.42e712d8.css => 395.42e712d8.css} | 0 .../{719.37d35775.css => 420.37d35775.css} | 0 .../css/{838.4c0b65d7.css => 47.4c0b65d7.css} | 0 .../{711.701f8f15.css => 528.701f8f15.css} | 0 .../{688.b751536e.css => 576.b751536e.css} | 0 .../{208.268eb302.css => 597.268eb302.css} | 0 .../css/{29.2661f71c.css => 632.2661f71c.css} | 0 .../{192.3189fded.css => 667.3189fded.css} | 0 .../{601.91c548ed.css => 705.91c548ed.css} | 0 .../{646.ec7235c5.css => 707.ec7235c5.css} | 0 .../{990.fb749462.css => 754.fb749462.css} | 0 .../{462.5ae3b03a.css => 809.5ae3b03a.css} | 0 .../{807.9b5bd9e0.css => 828.9b5bd9e0.css} | 0 dist/css/87.aa23ef52.css | 1 - .../{995.81403639.css => 878.81403639.css} | 0 dist/css/896.4400289a.css | 1 + .../{779.b5e6f704.css => 905.b5e6f704.css} | 0 .../css/{33.5507be5a.css => 933.5507be5a.css} | 0 .../{825.35818b68.css => 934.80745de8.css} | 2 +- .../{700.5f484165.css => 992.5f484165.css} | 0 dist/index.html | 2 +- dist/js/{989.ec009c2e.js => 133.635d95e6.js} | 4 +- ...89.ec009c2e.js.map => 133.635d95e6.js.map} | 2 +- dist/js/140.2a9e3041.js | 2 + dist/js/140.2a9e3041.js.map | 1 + dist/js/{630.d2996537.js => 145.bdf9dbc6.js} | 4 +- ...30.d2996537.js.map => 145.bdf9dbc6.js.map} | 2 +- dist/js/154.8a9d2cca.js | 2 + ...44.940fed0d.js.map => 154.8a9d2cca.js.map} | 2 +- dist/js/{709.04a9155a.js => 168.791742aa.js} | 4 +- ...09.04a9155a.js.map => 168.791742aa.js.map} | 2 +- dist/js/208.50f78b20.js | 2 - dist/js/208.50f78b20.js.map | 1 - dist/js/{677.bb7c2f70.js => 241.17bc4b66.js} | 4 +- ...77.bb7c2f70.js.map => 241.17bc4b66.js.map} | 2 +- dist/js/244.940fed0d.js | 2 - dist/js/29.2ece41d9.js | 2 - dist/js/29.2ece41d9.js.map | 1 - dist/js/33.ca85dca8.js | 2 - dist/js/33.ca85dca8.js.map | 1 - dist/js/339.793917b1.js | 2 + dist/js/339.793917b1.js.map | 1 + dist/js/{169.33f72ed2.js => 359.9bec58e0.js} | 4 +- ...69.33f72ed2.js.map => 359.9bec58e0.js.map} | 2 +- dist/js/{452.0b1eacbe.js => 395.bf4b57c0.js} | 4 +- ...52.0b1eacbe.js.map => 395.bf4b57c0.js.map} | 2 +- dist/js/420.2ae90b4c.js | 2 + ...19.4c174724.js.map => 420.2ae90b4c.js.map} | 2 +- dist/js/47.91e22ff7.js | 2 + dist/js/47.91e22ff7.js.map | 1 + dist/js/497.13803348.js | 2 - dist/js/497.13803348.js.map | 1 - dist/js/528.f5163631.js | 2 + dist/js/528.f5163631.js.map | 1 + dist/js/{688.aa0eb580.js => 576.59915dd8.js} | 4 +- ...88.aa0eb580.js.map => 576.59915dd8.js.map} | 2 +- dist/js/597.bc6f8420.js | 2 + dist/js/597.bc6f8420.js.map | 1 + dist/js/632.bc245760.js | 2 + dist/js/632.bc245760.js.map | 1 + dist/js/{192.a0b515d3.js => 667.6a70b405.js} | 4 +- ...92.a0b515d3.js.map => 667.6a70b405.js.map} | 2 +- dist/js/{601.1c95e2ee.js => 705.c96616d8.js} | 4 +- ...01.1c95e2ee.js.map => 705.c96616d8.js.map} | 2 +- dist/js/{646.86f530bc.js => 707.b7263128.js} | 4 +- ...46.86f530bc.js.map => 707.b7263128.js.map} | 2 +- dist/js/711.baa8d180.js | 2 - dist/js/711.baa8d180.js.map | 1 - dist/js/719.4c174724.js | 2 - dist/js/{990.244d285a.js => 754.eb8a67d3.js} | 4 +- ...90.244d285a.js.map => 754.eb8a67d3.js.map} | 2 +- dist/js/{612.0689f662.js => 788.c3e035d9.js} | 4 +- ...12.0689f662.js.map => 788.c3e035d9.js.map} | 2 +- dist/js/807.8f1f61a0.js | 2 - dist/js/807.8f1f61a0.js.map | 1 - dist/js/{462.1343c7cb.js => 809.6bde92a7.js} | 4 +- ...62.1343c7cb.js.map => 809.6bde92a7.js.map} | 2 +- dist/js/825.fc36db19.js | 2 - dist/js/825.fc36db19.js.map | 1 - dist/js/828.6987a2ad.js | 2 + dist/js/828.6987a2ad.js.map | 1 + dist/js/828.deb87761.js | 2 - dist/js/828.deb87761.js.map | 1 - dist/js/838.3bd96d59.js | 2 - dist/js/838.3bd96d59.js.map | 1 - dist/js/87.48a2ebc1.js | 2 - dist/js/87.48a2ebc1.js.map | 1 - dist/js/{995.b05470f0.js => 878.ed5a6807.js} | 4 +- ...95.b05470f0.js.map => 878.ed5a6807.js.map} | 2 +- dist/js/896.87e420a5.js | 2 + dist/js/896.87e420a5.js.map | 1 + dist/js/{779.c8f94891.js => 905.e365cd50.js} | 4 +- ...79.c8f94891.js.map => 905.e365cd50.js.map} | 2 +- dist/js/933.a1573a86.js | 2 + dist/js/933.a1573a86.js.map | 1 + dist/js/934.c3cb9093.js | 2 + dist/js/934.c3cb9093.js.map | 1 + dist/js/{700.d2d5f812.js => 992.12386cc8.js} | 4 +- ...00.d2d5f812.js.map => 992.12386cc8.js.map} | 2 +- dist/js/app.4470121a.js | 2 + dist/js/app.4470121a.js.map | 1 + dist/js/app.a23286f8.js | 2 - dist/js/app.a23286f8.js.map | 1 - ....9c0851b6.js => chunk-vendors.12a86b61.js} | 4 +- ...6.js.map => chunk-vendors.12a86b61.js.map} | 2 +- package-lock.json | 86 ++++++++++--------- package.json | 3 +- src/main.js | 1 + src/views/Index.vue | 2 +- src/views/ProductPage/Index.vue | 2 +- 118 files changed, 141 insertions(+), 139 deletions(-) rename dist/css/{989.f060a013.css => 133.f060a013.css} (100%) rename dist/css/{497.703f0337.css => 140.703f0337.css} (100%) rename dist/css/{630.e6d20e0d.css => 145.e6d20e0d.css} (100%) rename dist/css/{244.edd4b6a0.css => 154.edd4b6a0.css} (100%) rename dist/css/{709.8b344007.css => 168.8b344007.css} (100%) rename dist/css/{677.51eebda5.css => 241.51eebda5.css} (100%) rename dist/css/{828.9419445b.css => 339.9419445b.css} (100%) rename dist/css/{169.a7db186a.css => 359.a7db186a.css} (100%) rename dist/css/{452.42e712d8.css => 395.42e712d8.css} (100%) rename dist/css/{719.37d35775.css => 420.37d35775.css} (100%) rename dist/css/{838.4c0b65d7.css => 47.4c0b65d7.css} (100%) rename dist/css/{711.701f8f15.css => 528.701f8f15.css} (100%) rename dist/css/{688.b751536e.css => 576.b751536e.css} (100%) rename dist/css/{208.268eb302.css => 597.268eb302.css} (100%) rename dist/css/{29.2661f71c.css => 632.2661f71c.css} (100%) rename dist/css/{192.3189fded.css => 667.3189fded.css} (100%) rename dist/css/{601.91c548ed.css => 705.91c548ed.css} (100%) rename dist/css/{646.ec7235c5.css => 707.ec7235c5.css} (100%) rename dist/css/{990.fb749462.css => 754.fb749462.css} (100%) rename dist/css/{462.5ae3b03a.css => 809.5ae3b03a.css} (100%) rename dist/css/{807.9b5bd9e0.css => 828.9b5bd9e0.css} (100%) delete mode 100644 dist/css/87.aa23ef52.css rename dist/css/{995.81403639.css => 878.81403639.css} (100%) create mode 100644 dist/css/896.4400289a.css rename dist/css/{779.b5e6f704.css => 905.b5e6f704.css} (100%) rename dist/css/{33.5507be5a.css => 933.5507be5a.css} (100%) rename dist/css/{825.35818b68.css => 934.80745de8.css} (96%) rename dist/css/{700.5f484165.css => 992.5f484165.css} (100%) rename dist/js/{989.ec009c2e.js => 133.635d95e6.js} (81%) rename dist/js/{989.ec009c2e.js.map => 133.635d95e6.js.map} (64%) create mode 100644 dist/js/140.2a9e3041.js create mode 100644 dist/js/140.2a9e3041.js.map rename dist/js/{630.d2996537.js => 145.bdf9dbc6.js} (96%) rename dist/js/{630.d2996537.js.map => 145.bdf9dbc6.js.map} (90%) create mode 100644 dist/js/154.8a9d2cca.js rename dist/js/{244.940fed0d.js.map => 154.8a9d2cca.js.map} (89%) rename dist/js/{709.04a9155a.js => 168.791742aa.js} (96%) rename dist/js/{709.04a9155a.js.map => 168.791742aa.js.map} (91%) delete mode 100644 dist/js/208.50f78b20.js delete mode 100644 dist/js/208.50f78b20.js.map rename dist/js/{677.bb7c2f70.js => 241.17bc4b66.js} (93%) rename dist/js/{677.bb7c2f70.js.map => 241.17bc4b66.js.map} (84%) delete mode 100644 dist/js/244.940fed0d.js delete mode 100644 dist/js/29.2ece41d9.js delete mode 100644 dist/js/29.2ece41d9.js.map delete mode 100644 dist/js/33.ca85dca8.js delete mode 100644 dist/js/33.ca85dca8.js.map create mode 100644 dist/js/339.793917b1.js create mode 100644 dist/js/339.793917b1.js.map rename dist/js/{169.33f72ed2.js => 359.9bec58e0.js} (83%) rename dist/js/{169.33f72ed2.js.map => 359.9bec58e0.js.map} (70%) rename dist/js/{452.0b1eacbe.js => 395.bf4b57c0.js} (95%) rename dist/js/{452.0b1eacbe.js.map => 395.bf4b57c0.js.map} (88%) create mode 100644 dist/js/420.2ae90b4c.js rename dist/js/{719.4c174724.js.map => 420.2ae90b4c.js.map} (88%) create mode 100644 dist/js/47.91e22ff7.js create mode 100644 dist/js/47.91e22ff7.js.map delete mode 100644 dist/js/497.13803348.js delete mode 100644 dist/js/497.13803348.js.map create mode 100644 dist/js/528.f5163631.js create mode 100644 dist/js/528.f5163631.js.map rename dist/js/{688.aa0eb580.js => 576.59915dd8.js} (95%) rename dist/js/{688.aa0eb580.js.map => 576.59915dd8.js.map} (88%) create mode 100644 dist/js/597.bc6f8420.js create mode 100644 dist/js/597.bc6f8420.js.map create mode 100644 dist/js/632.bc245760.js create mode 100644 dist/js/632.bc245760.js.map rename dist/js/{192.a0b515d3.js => 667.6a70b405.js} (93%) rename dist/js/{192.a0b515d3.js.map => 667.6a70b405.js.map} (84%) rename dist/js/{601.1c95e2ee.js => 705.c96616d8.js} (92%) rename dist/js/{601.1c95e2ee.js.map => 705.c96616d8.js.map} (82%) rename dist/js/{646.86f530bc.js => 707.b7263128.js} (64%) rename dist/js/{646.86f530bc.js.map => 707.b7263128.js.map} (53%) delete mode 100644 dist/js/711.baa8d180.js delete mode 100644 dist/js/711.baa8d180.js.map delete mode 100644 dist/js/719.4c174724.js rename dist/js/{990.244d285a.js => 754.eb8a67d3.js} (97%) rename dist/js/{990.244d285a.js.map => 754.eb8a67d3.js.map} (91%) rename dist/js/{612.0689f662.js => 788.c3e035d9.js} (96%) rename dist/js/{612.0689f662.js.map => 788.c3e035d9.js.map} (88%) delete mode 100644 dist/js/807.8f1f61a0.js delete mode 100644 dist/js/807.8f1f61a0.js.map rename dist/js/{462.1343c7cb.js => 809.6bde92a7.js} (87%) rename dist/js/{462.1343c7cb.js.map => 809.6bde92a7.js.map} (72%) delete mode 100644 dist/js/825.fc36db19.js delete mode 100644 dist/js/825.fc36db19.js.map create mode 100644 dist/js/828.6987a2ad.js create mode 100644 dist/js/828.6987a2ad.js.map delete mode 100644 dist/js/828.deb87761.js delete mode 100644 dist/js/828.deb87761.js.map delete mode 100644 dist/js/838.3bd96d59.js delete mode 100644 dist/js/838.3bd96d59.js.map delete mode 100644 dist/js/87.48a2ebc1.js delete mode 100644 dist/js/87.48a2ebc1.js.map rename dist/js/{995.b05470f0.js => 878.ed5a6807.js} (96%) rename dist/js/{995.b05470f0.js.map => 878.ed5a6807.js.map} (91%) create mode 100644 dist/js/896.87e420a5.js create mode 100644 dist/js/896.87e420a5.js.map rename dist/js/{779.c8f94891.js => 905.e365cd50.js} (96%) rename dist/js/{779.c8f94891.js.map => 905.e365cd50.js.map} (89%) create mode 100644 dist/js/933.a1573a86.js create mode 100644 dist/js/933.a1573a86.js.map create mode 100644 dist/js/934.c3cb9093.js create mode 100644 dist/js/934.c3cb9093.js.map rename dist/js/{700.d2d5f812.js => 992.12386cc8.js} (96%) rename dist/js/{700.d2d5f812.js.map => 992.12386cc8.js.map} (89%) create mode 100644 dist/js/app.4470121a.js create mode 100644 dist/js/app.4470121a.js.map delete mode 100644 dist/js/app.a23286f8.js delete mode 100644 dist/js/app.a23286f8.js.map rename dist/js/{chunk-vendors.9c0851b6.js => chunk-vendors.12a86b61.js} (90%) rename dist/js/{chunk-vendors.9c0851b6.js.map => chunk-vendors.12a86b61.js.map} (51%) diff --git a/dist/css/989.f060a013.css b/dist/css/133.f060a013.css similarity index 100% rename from dist/css/989.f060a013.css rename to dist/css/133.f060a013.css diff --git a/dist/css/497.703f0337.css b/dist/css/140.703f0337.css similarity index 100% rename from dist/css/497.703f0337.css rename to dist/css/140.703f0337.css diff --git a/dist/css/630.e6d20e0d.css b/dist/css/145.e6d20e0d.css similarity index 100% rename from dist/css/630.e6d20e0d.css rename to dist/css/145.e6d20e0d.css diff --git a/dist/css/244.edd4b6a0.css b/dist/css/154.edd4b6a0.css similarity index 100% rename from dist/css/244.edd4b6a0.css rename to dist/css/154.edd4b6a0.css diff --git a/dist/css/709.8b344007.css b/dist/css/168.8b344007.css similarity index 100% rename from dist/css/709.8b344007.css rename to dist/css/168.8b344007.css diff --git a/dist/css/677.51eebda5.css b/dist/css/241.51eebda5.css similarity index 100% rename from dist/css/677.51eebda5.css rename to dist/css/241.51eebda5.css diff --git a/dist/css/828.9419445b.css b/dist/css/339.9419445b.css similarity index 100% rename from dist/css/828.9419445b.css rename to dist/css/339.9419445b.css diff --git a/dist/css/169.a7db186a.css b/dist/css/359.a7db186a.css similarity index 100% rename from dist/css/169.a7db186a.css rename to dist/css/359.a7db186a.css diff --git a/dist/css/452.42e712d8.css b/dist/css/395.42e712d8.css similarity index 100% rename from dist/css/452.42e712d8.css rename to dist/css/395.42e712d8.css diff --git a/dist/css/719.37d35775.css b/dist/css/420.37d35775.css similarity index 100% rename from dist/css/719.37d35775.css rename to dist/css/420.37d35775.css diff --git a/dist/css/838.4c0b65d7.css b/dist/css/47.4c0b65d7.css similarity index 100% rename from dist/css/838.4c0b65d7.css rename to dist/css/47.4c0b65d7.css diff --git a/dist/css/711.701f8f15.css b/dist/css/528.701f8f15.css similarity index 100% rename from dist/css/711.701f8f15.css rename to dist/css/528.701f8f15.css diff --git a/dist/css/688.b751536e.css b/dist/css/576.b751536e.css similarity index 100% rename from dist/css/688.b751536e.css rename to dist/css/576.b751536e.css diff --git a/dist/css/208.268eb302.css b/dist/css/597.268eb302.css similarity index 100% rename from dist/css/208.268eb302.css rename to dist/css/597.268eb302.css diff --git a/dist/css/29.2661f71c.css b/dist/css/632.2661f71c.css similarity index 100% rename from dist/css/29.2661f71c.css rename to dist/css/632.2661f71c.css diff --git a/dist/css/192.3189fded.css b/dist/css/667.3189fded.css similarity index 100% rename from dist/css/192.3189fded.css rename to dist/css/667.3189fded.css diff --git a/dist/css/601.91c548ed.css b/dist/css/705.91c548ed.css similarity index 100% rename from dist/css/601.91c548ed.css rename to dist/css/705.91c548ed.css diff --git a/dist/css/646.ec7235c5.css b/dist/css/707.ec7235c5.css similarity index 100% rename from dist/css/646.ec7235c5.css rename to dist/css/707.ec7235c5.css diff --git a/dist/css/990.fb749462.css b/dist/css/754.fb749462.css similarity index 100% rename from dist/css/990.fb749462.css rename to dist/css/754.fb749462.css diff --git a/dist/css/462.5ae3b03a.css b/dist/css/809.5ae3b03a.css similarity index 100% rename from dist/css/462.5ae3b03a.css rename to dist/css/809.5ae3b03a.css diff --git a/dist/css/807.9b5bd9e0.css b/dist/css/828.9b5bd9e0.css similarity index 100% rename from dist/css/807.9b5bd9e0.css rename to dist/css/828.9b5bd9e0.css diff --git a/dist/css/87.aa23ef52.css b/dist/css/87.aa23ef52.css deleted file mode 100644 index 650df83..0000000 --- a/dist/css/87.aa23ef52.css +++ /dev/null @@ -1 +0,0 @@ -.product-grid-page[data-v-770ecff0]{padding:20px;background-color:#f5f7fa;max-width:1400px;margin:0 auto}.product-grid-page .filter-bar[data-v-770ecff0]{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-770ecff0]{flex:1;min-width:200px}.product-grid-page .filter-bar .filter-select[data-v-770ecff0]{min-width:140px}.product-grid-page .result-stats[data-v-770ecff0]{margin:0 0 15px 5px;color:#666;font-size:14px;padding:5px 0}.product-grid-page .result-stats .category[data-v-770ecff0],.product-grid-page .result-stats .keyword[data-v-770ecff0]{color:#ff4d4f;font-weight:500;margin:0 5px}.product-grid-page .product-grid[data-v-770ecff0]{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;margin-bottom:30px}.product-grid-page .product-card[data-v-770ecff0]{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-770ecff0]:hover{transform:translateY(-5px);box-shadow:0 8px 16px rgba(0,0,0,.1)}.product-grid-page .product-card .product-img[data-v-770ecff0]{width:100%;height:200px;background-color:#f5f5f5}.product-grid-page .product-card .image-placeholder[data-v-770ecff0]{width:100%;height:200px;display:flex;align-items:center;justify-content:center;background-color:#f5f5f5}.product-grid-page .product-card .tag[data-v-770ecff0]{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-770ecff0]{padding:15px}.product-grid-page .product-card .product-info .product-name[data-v-770ecff0]{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-770ecff0]{display:flex;align-items:center;margin-bottom:8px}.product-grid-page .product-card .product-info .price-row .current-price[data-v-770ecff0]{color:#ff4d4f;font-weight:700;font-size:16px}.product-grid-page .product-card .product-info .price-row .original-price[data-v-770ecff0]{color:#999;font-size:12px;text-decoration:line-through;margin-left:8px}.product-grid-page .product-card .product-info .sales-volume[data-v-770ecff0]{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-770ecff0]{font-size:12px;margin-right:4px}.product-grid-page .product-card .product-info .cart-btn[data-v-770ecff0]{width:100%}.product-grid-page .empty-state[data-v-770ecff0]{grid-column:1/-1;padding:60px 0;text-align:center}.product-grid-page .pagination-container[data-v-770ecff0]{display:flex;justify-content:center;margin-top:20px;padding:10px}@media(max-width:768px){.product-grid-page[data-v-770ecff0]{padding:10px}.product-grid-page .filter-bar[data-v-770ecff0]{padding:10px;gap:10px}.product-grid-page .product-grid[data-v-770ecff0]{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.product-grid-page .product-card .image-placeholder[data-v-770ecff0],.product-grid-page .product-card .product-img[data-v-770ecff0]{height:140px}} \ No newline at end of file diff --git a/dist/css/995.81403639.css b/dist/css/878.81403639.css similarity index 100% rename from dist/css/995.81403639.css rename to dist/css/878.81403639.css diff --git a/dist/css/896.4400289a.css b/dist/css/896.4400289a.css new file mode 100644 index 0000000..bc11f35 --- /dev/null +++ b/dist/css/896.4400289a.css @@ -0,0 +1 @@ +.product-grid-page[data-v-4eb980d8]{padding:20px;background-color:#f5f7fa;max-width:1400px;margin:0 auto}.product-grid-page .filter-bar[data-v-4eb980d8]{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-4eb980d8]{flex:1;min-width:200px}.product-grid-page .filter-bar .filter-select[data-v-4eb980d8]{min-width:140px}.product-grid-page .result-stats[data-v-4eb980d8]{margin:0 0 15px 5px;color:#666;font-size:14px;padding:5px 0}.product-grid-page .result-stats .category[data-v-4eb980d8],.product-grid-page .result-stats .keyword[data-v-4eb980d8]{color:#ff4d4f;font-weight:500;margin:0 5px}.product-grid-page .product-grid[data-v-4eb980d8]{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;margin-bottom:30px}.product-grid-page .product-card[data-v-4eb980d8]{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-4eb980d8]:hover{transform:translateY(-5px);box-shadow:0 8px 16px rgba(0,0,0,.1)}.product-grid-page .product-card .product-img[data-v-4eb980d8]{width:100%;height:200px;background-color:#f5f5f5}.product-grid-page .product-card .image-placeholder[data-v-4eb980d8]{width:100%;height:200px;display:flex;align-items:center;justify-content:center;background-color:#f5f5f5}.product-grid-page .product-card .tag[data-v-4eb980d8]{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-4eb980d8]{padding:15px}.product-grid-page .product-card .product-info .product-name[data-v-4eb980d8]{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-4eb980d8]{display:flex;align-items:center;margin-bottom:8px}.product-grid-page .product-card .product-info .price-row .current-price[data-v-4eb980d8]{color:#ff4d4f;font-weight:700;font-size:16px}.product-grid-page .product-card .product-info .price-row .original-price[data-v-4eb980d8]{color:#999;font-size:12px;text-decoration:line-through;margin-left:8px}.product-grid-page .product-card .product-info .sales-volume[data-v-4eb980d8]{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-4eb980d8]{font-size:12px;margin-right:4px}.product-grid-page .product-card .product-info .cart-btn[data-v-4eb980d8]{width:100%}.product-grid-page .empty-state[data-v-4eb980d8]{grid-column:1/-1;padding:60px 0;text-align:center}.product-grid-page .pagination-container[data-v-4eb980d8]{display:flex;justify-content:center;margin-top:20px;padding:10px}@media(max-width:768px){.product-grid-page[data-v-4eb980d8]{padding:10px}.product-grid-page .filter-bar[data-v-4eb980d8]{padding:10px;gap:10px}.product-grid-page .product-grid[data-v-4eb980d8]{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.product-grid-page .product-card .image-placeholder[data-v-4eb980d8],.product-grid-page .product-card .product-img[data-v-4eb980d8]{height:140px}} \ No newline at end of file diff --git a/dist/css/779.b5e6f704.css b/dist/css/905.b5e6f704.css similarity index 100% rename from dist/css/779.b5e6f704.css rename to dist/css/905.b5e6f704.css diff --git a/dist/css/33.5507be5a.css b/dist/css/933.5507be5a.css similarity index 100% rename from dist/css/33.5507be5a.css rename to dist/css/933.5507be5a.css diff --git a/dist/css/825.35818b68.css b/dist/css/934.80745de8.css similarity index 96% rename from dist/css/825.35818b68.css rename to dist/css/934.80745de8.css index de48d65..fb97396 100644 --- a/dist/css/825.35818b68.css +++ b/dist/css/934.80745de8.css @@ -1 +1 @@ -.home-layout-container[data-v-185af175]{display:flex;width:100%;height:auto}.left-nav[data-v-185af175]{width:200px;background-color:#f8f9fa;padding:20px 0;box-sizing:border-box;border-radius:10px 0 0 10px}.nav-list[data-v-185af175]{list-style:none;margin:0;padding:0}.nav-item[data-v-185af175]{padding:12px 20px;cursor:pointer;color:#333;transition:all .3s ease;display:flex}.nav-item img[data-v-185af175]{width:20px;margin-right:5px}.nav-item[data-v-185af175]:hover{background-color:#e9ecef;padding-left:25px;color:#fff;background:#6a8a27}.main-content[data-v-185af175]{flex:1;height:auto;overflow:hidden}.carousel-img[data-v-185af175]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.main-content[data-v-185af175] .el-carousel__container{height:100%!important}.right-info[data-v-185af175]{width:280px;background-color:#fff;padding:20px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;border-left:1px solid #eee;border-radius:0 10px 10px 0}.avatar-container[data-v-185af175]{display:flex;flex-direction:column;align-items:center;margin-bottom:20px}.user-avatar[data-v-185af175]{width:60px;height:60px;border-radius:50%;margin-bottom:10px;border:2px solid #f0f0f0}.welcome-text[data-v-185af175]{font-size:14px;color:#333}.btn-group[data-v-185af175]{display:flex;gap:10px;margin-bottom:30px;width:100%}.func-icons[data-v-185af175]{display:flex;justify-content:space-around;flex-wrap:wrap;width:100%;margin-bottom:10px;padding:10px 0;border-top:1px dashed #eee;border-bottom:1px dashed #eee}.icon-item[data-v-185af175]{display:flex;flex-direction:column;align-items:center;cursor:pointer;color:#666;transition:color .3s ease;width:50%}.icon-item[data-v-185af175]:nth-child(n+3){margin-top:20px}.icon-item[data-v-185af175]:hover{color:#1890ff}.icon[data-v-185af175]{font-size:24px;margin-bottom:5px}.icon-item span[data-v-185af175]{font-size:12px}.announcement[data-v-185af175]{display:flex;align-items:center;font-size:12px;color:#666;width:100%;padding-top:10px;cursor:pointer}.announcement span[data-v-185af175]{margin-left:10px}.product-list .product-grid[data-v-71ee3626]{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.product-list .product-card[data-v-71ee3626]{border:1px solid #eaeaea;border-radius:8px;overflow:hidden;transition:all .3s ease;padding:10px;background:#fff;border-radius:10px}.product-list .product-card[data-v-71ee3626]:hover{transform:translateY(-5px);box-shadow:0 5px 15px rgba(0,0,0,.1)}.product-list .product-card .product-img[data-v-71ee3626]{height:250px;overflow:hidden}.product-list .product-card .product-img .product-pic[data-v-71ee3626]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .5s ease}.product-list .product-card .product-img .product-pic[data-v-71ee3626]:hover{transform:scale(1.05)}.product-list .product-card .product-info[data-v-71ee3626]{padding:10px}.product-list .product-card .product-info .product-name[data-v-71ee3626]{font-size:14px;line-height:20px;min-height:40px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:10px}.product-list .product-card .product-info .product-name a[data-v-71ee3626]{color:#333}.product-list .product-card .product-info .product-name a[data-v-71ee3626]:hover{color:#409eff}.product-list .product-card .product-info .product-price[data-v-71ee3626]{margin-bottom:15px}.product-list .product-card .product-info .product-price .current-price[data-v-71ee3626]{color:#f40;font-size:16px;font-weight:700}.product-list .product-card .product-info .product-price .original-price[data-v-71ee3626]{color:#999;font-size:12px;text-decoration:line-through;margin-left:8px}.product-list .product-card .product-info .product-actions[data-v-71ee3626]{margin-bottom:10px}.product-list .product-card .product-info .product-sales[data-v-71ee3626]{font-size:12px;color:#999;margin-bottom:15px}.product-list .no-products[data-v-71ee3626]{padding:50px 0;text-align:center}.product-box[data-v-0cf18cfe]{margin:30px 0}.product-box h2[data-v-0cf18cfe]{margin-bottom:20px} \ No newline at end of file +.home-layout-container[data-v-185af175]{display:flex;width:100%;height:auto}.left-nav[data-v-185af175]{width:200px;background-color:#f8f9fa;padding:20px 0;box-sizing:border-box;border-radius:10px 0 0 10px}.nav-list[data-v-185af175]{list-style:none;margin:0;padding:0}.nav-item[data-v-185af175]{padding:12px 20px;cursor:pointer;color:#333;transition:all .3s ease;display:flex}.nav-item img[data-v-185af175]{width:20px;margin-right:5px}.nav-item[data-v-185af175]:hover{background-color:#e9ecef;padding-left:25px;color:#fff;background:#6a8a27}.main-content[data-v-185af175]{flex:1;height:auto;overflow:hidden}.carousel-img[data-v-185af175]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.main-content[data-v-185af175] .el-carousel__container{height:100%!important}.right-info[data-v-185af175]{width:280px;background-color:#fff;padding:20px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;border-left:1px solid #eee;border-radius:0 10px 10px 0}.avatar-container[data-v-185af175]{display:flex;flex-direction:column;align-items:center;margin-bottom:20px}.user-avatar[data-v-185af175]{width:60px;height:60px;border-radius:50%;margin-bottom:10px;border:2px solid #f0f0f0}.welcome-text[data-v-185af175]{font-size:14px;color:#333}.btn-group[data-v-185af175]{display:flex;gap:10px;margin-bottom:30px;width:100%}.func-icons[data-v-185af175]{display:flex;justify-content:space-around;flex-wrap:wrap;width:100%;margin-bottom:10px;padding:10px 0;border-top:1px dashed #eee;border-bottom:1px dashed #eee}.icon-item[data-v-185af175]{display:flex;flex-direction:column;align-items:center;cursor:pointer;color:#666;transition:color .3s ease;width:50%}.icon-item[data-v-185af175]:nth-child(n+3){margin-top:20px}.icon-item[data-v-185af175]:hover{color:#1890ff}.icon[data-v-185af175]{font-size:24px;margin-bottom:5px}.icon-item span[data-v-185af175]{font-size:12px}.announcement[data-v-185af175]{display:flex;align-items:center;font-size:12px;color:#666;width:100%;padding-top:10px;cursor:pointer}.announcement span[data-v-185af175]{margin-left:10px}.product-list .product-grid[data-v-71ee3626]{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.product-list .product-card[data-v-71ee3626]{border:1px solid #eaeaea;border-radius:8px;overflow:hidden;transition:all .3s ease;padding:10px;background:#fff;border-radius:10px}.product-list .product-card[data-v-71ee3626]:hover{transform:translateY(-5px);box-shadow:0 5px 15px rgba(0,0,0,.1)}.product-list .product-card .product-img[data-v-71ee3626]{height:250px;overflow:hidden}.product-list .product-card .product-img .product-pic[data-v-71ee3626]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .5s ease}.product-list .product-card .product-img .product-pic[data-v-71ee3626]:hover{transform:scale(1.05)}.product-list .product-card .product-info[data-v-71ee3626]{padding:10px}.product-list .product-card .product-info .product-name[data-v-71ee3626]{font-size:14px;line-height:20px;min-height:40px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:10px}.product-list .product-card .product-info .product-name a[data-v-71ee3626]{color:#333}.product-list .product-card .product-info .product-name a[data-v-71ee3626]:hover{color:#409eff}.product-list .product-card .product-info .product-price[data-v-71ee3626]{margin-bottom:15px}.product-list .product-card .product-info .product-price .current-price[data-v-71ee3626]{color:#f40;font-size:16px;font-weight:700}.product-list .product-card .product-info .product-price .original-price[data-v-71ee3626]{color:#999;font-size:12px;text-decoration:line-through;margin-left:8px}.product-list .product-card .product-info .product-actions[data-v-71ee3626]{margin-bottom:10px}.product-list .product-card .product-info .product-sales[data-v-71ee3626]{font-size:12px;color:#999;margin-bottom:15px}.product-list .no-products[data-v-71ee3626]{padding:50px 0;text-align:center}.product-box[data-v-6fb8cf7d]{margin:30px 0}.product-box h2[data-v-6fb8cf7d]{margin-bottom:20px} \ No newline at end of file diff --git a/dist/css/700.5f484165.css b/dist/css/992.5f484165.css similarity index 100% rename from dist/css/700.5f484165.css rename to dist/css/992.5f484165.css diff --git a/dist/index.html b/dist/index.html index e1798fe..d933393 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -shiweisuzhou
\ No newline at end of file +shiweisuzhou
\ No newline at end of file diff --git a/dist/js/989.ec009c2e.js b/dist/js/133.635d95e6.js similarity index 81% rename from dist/js/989.ec009c2e.js rename to dist/js/133.635d95e6.js index 0b6c1b0..ef5bd2b 100644 --- a/dist/js/989.ec009c2e.js +++ b/dist/js/133.635d95e6.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[989],{3989:function(t,e,n){n.r(e),n.d(e,{default:function(){return r}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"announcement-container"},[e("div",{staticClass:"page-title"},[t._v(t._s(t.content.title))]),e("div",{staticClass:"detail",domProps:{innerHTML:t._s(t.util.formateRichText(t.content.content))}})])},s=[],a={name:"Announcement",data(){return{content:{}}},created(){this.getAnnouncement()},methods:{getAnnouncement(){"notice"==this.$route.query.type?this.get({id:this.$route.query.id},"/api/anncmnt/getAnncmntById").then(t=>{1==t.code&&(this.content=t.data)}):"footer"==this.$route.query.type&&this.get({id:this.$route.query.id},"/api/navigation/getNavigationById").then(t=>{this.content=t.data})}}},o=a,u=n(1656),c=(0,u.A)(o,i,s,!1,null,"5252b9be",null),r=c.exports}}]); -//# sourceMappingURL=989.ec009c2e.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[133],{7133:function(t,e,n){n.r(e),n.d(e,{default:function(){return r}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"announcement-container"},[e("div",{staticClass:"page-title"},[t._v(t._s(t.content.title))]),e("div",{staticClass:"detail",domProps:{innerHTML:t._s(t.util.formateRichText(t.content.content))}})])},s=[],a={name:"Announcement",data(){return{content:{}}},created(){this.getAnnouncement()},methods:{getAnnouncement(){"notice"==this.$route.query.type?this.get({id:this.$route.query.id},"/api/anncmnt/getAnncmntById").then(t=>{1==t.code&&(this.content=t.data)}):"footer"==this.$route.query.type&&this.get({id:this.$route.query.id},"/api/navigation/getNavigationById").then(t=>{this.content=t.data})}}},o=a,u=n(845),c=(0,u.A)(o,i,s,!1,null,"5252b9be",null),r=c.exports}}]); +//# sourceMappingURL=133.635d95e6.js.map \ No newline at end of file diff --git a/dist/js/989.ec009c2e.js.map b/dist/js/133.635d95e6.js.map similarity index 64% rename from dist/js/989.ec009c2e.js.map rename to dist/js/133.635d95e6.js.map index 6a0aa2d..c4db36d 100644 --- a/dist/js/989.ec009c2e.js.map +++ b/dist/js/133.635d95e6.js.map @@ -1 +1 @@ -{"version":3,"file":"js/989.ec009c2e.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,0BAA0B,CAACF,EAAG,MAAM,CAACE,YAAY,cAAc,CAACJ,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,QAAQC,UAAUN,EAAG,MAAM,CAACE,YAAY,SAASK,SAAS,CAAC,UAAYT,EAAIM,GAAGN,EAAIU,KAAKC,gBAAgBX,EAAIO,QAAQA,cAC9R,EACIK,EAAkB,GCStB,GACAC,KAAA,eACAC,IAAAA,GACA,OACAP,QAAA,GAEA,EACAQ,OAAAA,GAEA,KAAAC,iBACA,EACAC,QAAA,CAEAD,eAAAA,GACA,eAAAE,OAAAC,MAAAC,KACA,KAAAC,IACA,CACAC,GAAA,KAAAJ,OAAAC,MAAAG,IAEA,+BACAC,KAAAC,IACA,GAAAA,EAAAC,OACA,KAAAlB,QAAAiB,EAAAV,QAGA,eAAAI,OAAAC,MAAAC,MACA,KAAAC,IACA,CACAC,GAAA,KAAAJ,OAAAC,MAAAG,IAEA,qCACAC,KAAAC,IACA,KAAAjB,QAAAiB,EAAAV,MAGA,IC9CoQ,I,UCQhQY,GAAY,OACd,EACA3B,EACAa,GACA,EACA,KACA,WACA,MAIF,EAAec,E","sources":["webpack://shiweisuzhou/./src/views/notice/noticeDetail.vue","webpack://shiweisuzhou/src/views/notice/noticeDetail.vue","webpack://shiweisuzhou/./src/views/notice/noticeDetail.vue?b35e","webpack://shiweisuzhou/./src/views/notice/noticeDetail.vue?4a16"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"announcement-container\"},[_c('div',{staticClass:\"page-title\"},[_vm._v(_vm._s(_vm.content.title))]),_c('div',{staticClass:\"detail\",domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(_vm.content.content))}})])\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!./noticeDetail.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./noticeDetail.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./noticeDetail.vue?vue&type=template&id=5252b9be&scoped=true\"\nimport script from \"./noticeDetail.vue?vue&type=script&lang=js\"\nexport * from \"./noticeDetail.vue?vue&type=script&lang=js\"\nimport style0 from \"./noticeDetail.vue?vue&type=style&index=0&id=5252b9be&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 \"5252b9be\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_v","_s","content","title","domProps","util","formateRichText","staticRenderFns","name","data","created","getAnnouncement","methods","$route","query","type","get","id","then","res","code","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/133.635d95e6.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,0BAA0B,CAACF,EAAG,MAAM,CAACE,YAAY,cAAc,CAACJ,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,QAAQC,UAAUN,EAAG,MAAM,CAACE,YAAY,SAASK,SAAS,CAAC,UAAYT,EAAIM,GAAGN,EAAIU,KAAKC,gBAAgBX,EAAIO,QAAQA,cAC9R,EACIK,EAAkB,GCStB,GACAC,KAAA,eACAC,IAAAA,GACA,OACAP,QAAA,GAEA,EACAQ,OAAAA,GAEA,KAAAC,iBACA,EACAC,QAAA,CAEAD,eAAAA,GACA,eAAAE,OAAAC,MAAAC,KACA,KAAAC,IACA,CACAC,GAAA,KAAAJ,OAAAC,MAAAG,IAEA,+BACAC,KAAAC,IACA,GAAAA,EAAAC,OACA,KAAAlB,QAAAiB,EAAAV,QAGA,eAAAI,OAAAC,MAAAC,MACA,KAAAC,IACA,CACAC,GAAA,KAAAJ,OAAAC,MAAAG,IAEA,qCACAC,KAAAC,IACA,KAAAjB,QAAAiB,EAAAV,MAGA,IC9CkS,I,SCQ9RY,GAAY,OACd,EACA3B,EACAa,GACA,EACA,KACA,WACA,MAIF,EAAec,E","sources":["webpack://shiweisuzhou/./src/views/notice/noticeDetail.vue","webpack://shiweisuzhou/src/views/notice/noticeDetail.vue","webpack://shiweisuzhou/./src/views/notice/noticeDetail.vue?3075","webpack://shiweisuzhou/./src/views/notice/noticeDetail.vue?5082"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"announcement-container\"},[_c('div',{staticClass:\"page-title\"},[_vm._v(_vm._s(_vm.content.title))]),_c('div',{staticClass:\"detail\",domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(_vm.content.content))}})])\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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./noticeDetail.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./noticeDetail.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./noticeDetail.vue?vue&type=template&id=5252b9be&scoped=true\"\nimport script from \"./noticeDetail.vue?vue&type=script&lang=js\"\nexport * from \"./noticeDetail.vue?vue&type=script&lang=js\"\nimport style0 from \"./noticeDetail.vue?vue&type=style&index=0&id=5252b9be&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5252b9be\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_v","_s","content","title","domProps","util","formateRichText","staticRenderFns","name","data","created","getAnnouncement","methods","$route","query","type","get","id","then","res","code","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/140.2a9e3041.js b/dist/js/140.2a9e3041.js new file mode 100644 index 0000000..34db042 --- /dev/null +++ b/dist/js/140.2a9e3041.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[140],{5241:function(t,e,i){i.d(e,{A:function(){return c}});var s=function(){var t=this,e=t._self._c;return t.show?e("el-dialog",{attrs:{title:"物流信息",visible:t.visible,width:"700px","close-on-click-modal":!1,"show-close":!0,"before-close":t.handleClose},on:{"update:visible":function(e){t.visible=e}}},[e("div",{staticClass:"express-info"},[e("div",{staticClass:"express-logo"},[e("span",{staticClass:"express-name"},[t._v(t._s(t.logisticsInfo.express_name))])]),e("div",{staticClass:"express-number"},[e("span",{staticClass:"number-label"},[t._v("运单号:")]),e("span",{staticClass:"number-value"},[t._v(t._s(t.logisticsInfo.courier_number))]),e("el-button",{staticClass:"copy-btn",attrs:{type:"text"},on:{click:t.copyWaybillNumber}},[t._v(" 复制 ")])],1)]),e("div",{staticClass:"timeline-container"},[e("el-timeline",t._l(t.logisticsList,function(i,s){return e("el-timeline-item",{key:s,attrs:{timestamp:i.time,color:0===s?"orange":"#8492a6",icon:0===s?"el-icon-check":"",size:0===s?"large":"normal"}},[e("div",{staticClass:"timeline-content"},[e("div",{staticClass:"timeline-status",class:{active:0===s}},[t._v(" "+t._s(i.context)+" ")]),e("div",{staticClass:"timeline-desc"},[t._v(t._s(i.description))])])])}),1)],1),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.handleClose}},[t._v("关闭")])],1)]):t._e()},r=[],o={name:"LogisticsModal",props:{visible:{type:Boolean,default:!1},orderId:{type:String},logisticsInfo:{type:Object}},data(){return{logisticsList:[],show:this.visible}},watch:{visible(t){this.show=t}},mounted(){this.post({child_order_id:this.orderId},"/api/order/getExpress").then(t=>{this.logisticsList=t.data})},methods:{copyWaybillNumber(){const t=document.createElement("input");t.value=this.logisticsInfo.courier_number,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),this.$message.success("运单号已复制")},handleClose(){this.show=!1,this.$emit("update:visible",!1)}}},a=o,l=i(845),n=(0,l.A)(a,s,r,!1,null,"05881a53",null),c=n.exports},9759:function(t,e,i){i.r(e),i.d(e,{default:function(){return d}});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[e("div",{staticClass:"filter-bar"},[e("el-form",{attrs:{inline:!0,model:t.filterForm,size:"small"}},[e("el-form-item",{attrs:{label:"商品名称"}},[e("el-input",{attrs:{placeholder:"请输入商品名称"},model:{value:t.filterForm.keywords,callback:function(e){t.$set(t.filterForm,"keywords",e)},expression:"filterForm.keywords"}})],1),e("el-form-item",{attrs:{label:"订单编号"}},[e("el-input",{attrs:{placeholder:"请输入订单编号"},model:{value:t.filterForm.order_id,callback:function(e){t.$set(t.filterForm,"order_id",e)},expression:"filterForm.order_id"}})],1),e("el-form-item",{attrs:{label:"下单时间"}},[e("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd"},model:{value:t.filterForm.createTime,callback:function(e){t.$set(t.filterForm,"createTime",e)},expression:"filterForm.createTime"}})],1),e("el-form-item",{attrs:{label:"交易状态"}},[e("el-select",{staticStyle:{width:"200px"},attrs:{placeholder:"请选择"},model:{value:t.filterForm.state,callback:function(e){t.$set(t.filterForm,"state",e)},expression:"filterForm.state"}},t._l(t.typeList,function(t,i){return e("el-option",{key:i,attrs:{label:t.name,value:t.id}})}),1)],1),e("el-form-item",[e("el-button",{staticStyle:{background:"#6a8a27",border:"none"},attrs:{type:"primary"},on:{click:t.search}},[t._v("搜索")])],1),e("el-form-item",[e("el-button",{on:{click:t.reset}},[t._v("重置")])],1)],1)],1),e("div",[t._m(0),t._l(t.orders,function(i){return e("div",{key:i.id,staticClass:"order-card"},[e("div",{staticClass:"order-header flex-between"},[e("div",{staticStyle:{display:"flex"}},[e("div",[t._v("订单号: "+t._s(i.order_id))]),e("div",{staticStyle:{"padding-left":"60px"}},[t._v(" 下单时间:"+t._s(i.create_time)+" ")])]),e("div",{staticClass:"product-status"},[e("el-tag",{attrs:{type:t.getStatusTagType(i.state),size:"small"}},[t._v(t._s(i.state_text))])],1)]),e("div",{staticClass:"order-products"},t._l(i.order_product_list,function(i){return e("div",{key:i.id,staticClass:"product-item"},[e("img",{staticClass:"product-image",attrs:{src:i.product_img}}),e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v(t._s(i.product_title))]),e("div",{staticClass:"product-spec"},[t._v(t._s(i.sku_name))])]),e("div",{staticClass:"product-price"},[t._v(" ¥"+t._s((i.product_price/100).toFixed(2))+" ")]),e("div",{staticClass:"product-quantity"},[t._v("x"+t._s(i.product_num))]),e("div",{staticClass:"product-total"},[t._v(" ¥"+t._s((i.paid_money/100).toFixed(2))+" ")]),e("div",{staticClass:"product-actions"},[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoDetail(i)}}},[t._v(" 商品详情")]),"WAIT_DELIVERY"===i.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.checkLogistics(i)}}},[t._v("查看物流")]):t._e(),"WAIT_COMMENT"==i.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoReview(i)}}},[t._v(" 去评价")]):t._e()],1)])}),0),e("div",{staticClass:"order-footer"},[e("div",{staticClass:"order-summary"},[e("div",{staticClass:"order-amount"},[t._v(" 合计: "),e("strong",[t._v("¥"+t._s((i.paid_money/100).toFixed(2)))]),t._v(" (含运费 ¥"+t._s((i.total_post_fee/100).toFixed(2))+") ")])]),e("div",{staticClass:"order-actions"},[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.viewOrderDetail(i.order_id)}}},[t._v("订单详情")]),["WAIT_POST","WAIT_USE","PAID"].includes(i.state)?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.refund(i.order_id)}}},[t._v("取消订单")]):t._e(),["UNPAID"].includes(i.state)?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.closeOrder(i.order_id)}}},[t._v("关闭订单")]):t._e(),"UNPAID"===i.state?e("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.payOrder(i.order_id)}}},[t._v("去付款")]):t._e(),"WAIT_DELIVERY"===i.state?e("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.confirmpost(i.order_id)}}},[t._v("确认收货")]):t._e()],1)])])}),t.orders.length<=0?e("el-empty",{attrs:{description:"暂无订单"}}):t._e(),e("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[e("el-pagination",{attrs:{"current-page":t.filterForm.currentPage,"page-sizes":[5,10,20],"page-size":t.filterForm.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.filterForm.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],2),t.logisticsShow?e("LogisticsModal",{attrs:{visible:t.logisticsShow,orderId:t.orderId,logisticsInfo:t.logisticsInfo},on:{"update:visible":function(e){t.logisticsShow=e}}}):t._e()],1)},r=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"order-products",staticStyle:{padding:"0 20px",background:"#f8f9fa","border-top":"1px solid #eee","border-bottom":"1px solid #eee","margin-bottom":"20px"}},[e("div",{staticClass:"product-item"},[e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v("商品信息")])]),e("div",{staticClass:"product-price"},[t._v("单价(元)")]),e("div",{staticClass:"product-quantity"},[t._v("数量")]),e("div",{staticClass:"product-total"},[t._v("小计(元)")]),e("div",{staticClass:"product-actions"})])])}],o=(i(4114),i(5241)),a={name:"OrderList",components:{LogisticsModal:o.A},data(){return{activeTab:"ALL",filterForm:{keywords:"",currentPage:1,limit:10,order_id:"",createTime:[],start_date:"",end_date:"",total:1,state:""},typeList:[{name:"全部",id:""},{name:"待付款",id:"WAIT_PAYMENT"},{name:"已支付",id:"PAID"},{name:"待发货",id:"WAIT_POST"},{name:"待收货",id:"WAIT_DELIVERY"},{name:"退款/售后",id:"NEED_REFUND"},{name:"待评价",id:"WAIT_COMMENT"},{name:"已关闭",id:"CLOSED"},{name:"已完成",id:"COMPLETED"}],orders:[],logisticsShow:!1,orderId:"",logisticsInfo:""}},computed:{},mounted(){const t=this.$route.query.status;t&&(this.filterForm.state=t),this.getList()},methods:{confirmpost(t){this.$confirm("是否确认收货?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(()=>{this.post({order_id:t},"/api/order/confirmPost").then(t=>{1==t.code&&(this.getList(),this.$message({type:"success",message:"确认收货成功成功!"}))})})},closeOrder(t){this.$confirm("是否关闭订单?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({order_id:t},"/api/order/close").then(t=>{1==t.code&&(this.getList(),this.$message({type:"success",message:"订单关闭成功!"}))})})},refund(t){this.$confirm("是否取消订单?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({order_id:t},"/api/order/refund").then(t=>{1==t.code&&(this.getList(),this.$message({type:"success",message:"订单取消成功!"}))})})},gotoDetail(t){this.$router.push("/Detail/"+t.product_id)},getList(){this.filterForm.start_date=this.filterForm.createTime[0],this.filterForm.end_date=this.filterForm.createTime[1],this.post({...this.filterForm,offset:(this.filterForm.currentPage-1)*this.filterForm.limit},"/api/order/list").then(t=>{this.orders=t.data.list,this.filterForm.total=t.data.total})},search(){this.filterForm.currentPage=1,this.getList()},reset(){this.filterForm={keywords:"",currentPage:1,limit:10,order_id:"",createTime:[],start_date:"",end_date:"",total:1},this.getList()},handleSizeChange(t){this.filterForm.limit=t,this.filterForm.currentPage=1,this.getList()},handleCurrentChange(t){this.filterForm.currentPage=t,this.getList()},getStatusText(t){const e={pendingPayment:"待付款",pendingDelivery:"待发货",delivering:"配送中",completed:"已完成",cancelled:"已取消"};return e[t]||t},getStatusTagType(t){const e={pendingPayment:"warning",pendingDelivery:"info",delivering:"primary",completed:"success",cancelled:"danger"};return e[t]||"default"},payOrder(t){this.post({order_id:t,pay_method:"ABC_H5",pay_platform:"PC"},"/api/order/pay").then(e=>{1==e.code&&(this.$message.success("订单提交成功!"),this.$router.push({path:"/OrderDetail?id="+t}))})},remindDelivery(t){this.$message({message:`已提醒订单 ${t} 发货`,type:"success"})},checkLogistics(t){this.orderId=t.child_order_id,this.logisticsInfo=t.order_product_extend,this.logisticsShow=!0},gotoReview(t){this.$router.push("/ProductReview?product="+JSON.stringify(t))},viewOrderDetail(t){this.$router.push({path:"/OrderDetail?id="+t})}}},l=a,n=i(845),c=(0,n.A)(l,s,r,!1,null,"c32677a6",null),d=c.exports}}]); +//# sourceMappingURL=140.2a9e3041.js.map \ No newline at end of file diff --git a/dist/js/140.2a9e3041.js.map b/dist/js/140.2a9e3041.js.map new file mode 100644 index 0000000..c7c6003 --- /dev/null +++ b/dist/js/140.2a9e3041.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/140.2a9e3041.js","mappings":"uJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAQF,EAAII,KAAMF,EAAG,YAAY,CAACG,MAAM,CAAC,MAAQ,OAAO,QAAUL,EAAIM,QAAQ,MAAQ,QAAQ,wBAAuB,EAAM,cAAa,EAAK,eAAeN,EAAIO,aAAaC,GAAG,CAAC,iBAAiB,SAASC,GAAQT,EAAIM,QAAQG,CAAM,IAAI,CAACP,EAAG,MAAM,CAACQ,YAAY,gBAAgB,CAACR,EAAG,MAAM,CAACQ,YAAY,gBAAgB,CAACR,EAAG,OAAO,CAACQ,YAAY,gBAAgB,CAACV,E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CQ3RwB,GAAY,OACd,EACA5D,EACA8B,GACA,EACA,KACA,WACA,MAIF,EAAe8B,E","sources":["webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue","webpack://shiweisuzhou/src/components/product/LogisticsModal.vue","webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue?44e4","webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue?6aac","webpack://shiweisuzhou/./src/views/User/OrderList.vue","webpack://shiweisuzhou/src/views/User/OrderList.vue","webpack://shiweisuzhou/./src/views/User/OrderList.vue?674b","webpack://shiweisuzhou/./src/views/User/OrderList.vue?6807"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.show)?_c('el-dialog',{attrs:{\"title\":\"物流信息\",\"visible\":_vm.visible,\"width\":\"700px\",\"close-on-click-modal\":false,\"show-close\":true,\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('div',{staticClass:\"express-info\"},[_c('div',{staticClass:\"express-logo\"},[_c('span',{staticClass:\"express-name\"},[_vm._v(_vm._s(_vm.logisticsInfo.express_name))])]),_c('div',{staticClass:\"express-number\"},[_c('span',{staticClass:\"number-label\"},[_vm._v(\"运单号:\")]),_c('span',{staticClass:\"number-value\"},[_vm._v(_vm._s(_vm.logisticsInfo.courier_number))]),_c('el-button',{staticClass:\"copy-btn\",attrs:{\"type\":\"text\"},on:{\"click\":_vm.copyWaybillNumber}},[_vm._v(\" 复制 \")])],1)]),_c('div',{staticClass:\"timeline-container\"},[_c('el-timeline',_vm._l((_vm.logisticsList),function(item,index){return _c('el-timeline-item',{key:index,attrs:{\"timestamp\":item.time,\"color\":index === 0 ? 'orange' : '#8492a6',\"icon\":index === 0 ? 'el-icon-check' : '',\"size\":index === 0 ? 'large' : 'normal'}},[_c('div',{staticClass:\"timeline-content\"},[_c('div',{staticClass:\"timeline-status\",class:{ active: index === 0 }},[_vm._v(\" \"+_vm._s(item.context)+\" \")]),_c('div',{staticClass:\"timeline-desc\"},[_vm._v(_vm._s(item.description))])])])}),1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.handleClose}},[_vm._v(\"关闭\")])],1)]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LogisticsModal.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LogisticsModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LogisticsModal.vue?vue&type=template&id=05881a53&scoped=true\"\nimport script from \"./LogisticsModal.vue?vue&type=script&lang=js\"\nexport * from \"./LogisticsModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./LogisticsModal.vue?vue&type=style&index=0&id=05881a53&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"05881a53\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"filter-bar\"},[_c('el-form',{attrs:{\"inline\":true,\"model\":_vm.filterForm,\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"商品名称\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入商品名称\"},model:{value:(_vm.filterForm.keywords),callback:function ($$v) {_vm.$set(_vm.filterForm, \"keywords\", $$v)},expression:\"filterForm.keywords\"}})],1),_c('el-form-item',{attrs:{\"label\":\"订单编号\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入订单编号\"},model:{value:(_vm.filterForm.order_id),callback:function ($$v) {_vm.$set(_vm.filterForm, \"order_id\", $$v)},expression:\"filterForm.order_id\"}})],1),_c('el-form-item',{attrs:{\"label\":\"下单时间\"}},[_c('el-date-picker',{attrs:{\"type\":\"daterange\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\",\"value-format\":\"yyyy-MM-dd\"},model:{value:(_vm.filterForm.createTime),callback:function ($$v) {_vm.$set(_vm.filterForm, \"createTime\", $$v)},expression:\"filterForm.createTime\"}})],1),_c('el-form-item',{attrs:{\"label\":\"交易状态\"}},[_c('el-select',{staticStyle:{\"width\":\"200px\"},attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.filterForm.state),callback:function ($$v) {_vm.$set(_vm.filterForm, \"state\", $$v)},expression:\"filterForm.state\"}},_vm._l((_vm.typeList),function(item,i){return _c('el-option',{key:i,attrs:{\"label\":item.name,\"value\":item.id}})}),1)],1),_c('el-form-item',[_c('el-button',{staticStyle:{\"background\":\"#6a8a27\",\"border\":\"none\"},attrs:{\"type\":\"primary\"},on:{\"click\":_vm.search}},[_vm._v(\"搜索\")])],1),_c('el-form-item',[_c('el-button',{on:{\"click\":_vm.reset}},[_vm._v(\"重置\")])],1)],1)],1),_c('div',[_vm._m(0),_vm._l((_vm.orders),function(order){return _c('div',{key:order.id,staticClass:\"order-card\"},[_c('div',{staticClass:\"order-header flex-between\"},[_c('div',{staticStyle:{\"display\":\"flex\"}},[_c('div',[_vm._v(\"订单号: \"+_vm._s(order.order_id))]),_c('div',{staticStyle:{\"padding-left\":\"60px\"}},[_vm._v(\" 下单时间:\"+_vm._s(order.create_time)+\" \")])]),_c('div',{staticClass:\"product-status\"},[_c('el-tag',{attrs:{\"type\":_vm.getStatusTagType(order.state),\"size\":\"small\"}},[_vm._v(_vm._s(order.state_text))])],1)]),_c('div',{staticClass:\"order-products\"},_vm._l((order.order_product_list),function(product){return _c('div',{key:product.id,staticClass:\"product-item\"},[_c('img',{staticClass:\"product-image\",attrs:{\"src\":product.product_img}}),_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(product.product_title))]),_c('div',{staticClass:\"product-spec\"},[_vm._v(_vm._s(product.sku_name))])]),_c('div',{staticClass:\"product-price\"},[_vm._v(\" ¥\"+_vm._s((product.product_price / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-quantity\"},[_vm._v(\"x\"+_vm._s(product.product_num))]),_c('div',{staticClass:\"product-total\"},[_vm._v(\" ¥\"+_vm._s((product.paid_money / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-actions\"},[_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoDetail(product)}}},[_vm._v(\" 商品详情\")]),(product.state === 'WAIT_DELIVERY')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.checkLogistics(product)}}},[_vm._v(\"查看物流\")]):_vm._e(),(product.state == 'WAIT_COMMENT')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoReview(product)}}},[_vm._v(\" 去评价\")]):_vm._e()],1)])}),0),_c('div',{staticClass:\"order-footer\"},[_c('div',{staticClass:\"order-summary\"},[_c('div',{staticClass:\"order-amount\"},[_vm._v(\" 合计: \"),_c('strong',[_vm._v(\"¥\"+_vm._s((order.paid_money / 100).toFixed(2)))]),_vm._v(\" (含运费 ¥\"+_vm._s((order.total_post_fee / 100).toFixed(2))+\") \")])]),_c('div',{staticClass:\"order-actions\"},[_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.viewOrderDetail(order.order_id)}}},[_vm._v(\"订单详情\")]),(['WAIT_POST', 'WAIT_USE', 'PAID'].includes(order.state))?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.refund(order.order_id)}}},[_vm._v(\"取消订单\")]):_vm._e(),(['UNPAID'].includes(order.state))?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.closeOrder(order.order_id)}}},[_vm._v(\"关闭订单\")]):_vm._e(),(order.state === 'UNPAID')?_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.payOrder(order.order_id)}}},[_vm._v(\"去付款\")]):_vm._e(),(order.state === 'WAIT_DELIVERY')?_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.confirmpost(order.order_id)}}},[_vm._v(\"确认收货\")]):_vm._e()],1)])])}),(_vm.orders.length <= 0)?_c('el-empty',{attrs:{\"description\":\"暂无订单\"}}):_vm._e(),_c('div',{staticStyle:{\"text-align\":\"right\",\"margin-top\":\"20px\"}},[_c('el-pagination',{attrs:{\"current-page\":_vm.filterForm.currentPage,\"page-sizes\":[5, 10, 20],\"page-size\":_vm.filterForm.limit,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.filterForm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1)],2),(_vm.logisticsShow)?_c('LogisticsModal',{attrs:{\"visible\":_vm.logisticsShow,\"orderId\":_vm.orderId,\"logisticsInfo\":_vm.logisticsInfo},on:{\"update:visible\":function($event){_vm.logisticsShow = $event}}}):_vm._e()],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"order-products\",staticStyle:{\"padding\":\"0 20px\",\"background\":\"#f8f9fa\",\"border-top\":\"1px solid #eee\",\"border-bottom\":\"1px solid #eee\",\"margin-bottom\":\"20px\"}},[_c('div',{staticClass:\"product-item\"},[_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(\"商品信息\")])]),_c('div',{staticClass:\"product-price\"},[_vm._v(\"单价(元)\")]),_c('div',{staticClass:\"product-quantity\"},[_vm._v(\"数量\")]),_c('div',{staticClass:\"product-total\"},[_vm._v(\"小计(元)\")]),_c('div',{staticClass:\"product-actions\"})])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/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/cli-service/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=c32677a6&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=c32677a6&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c32677a6\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","show","attrs","visible","handleClose","on","$event","staticClass","_v","_s","logisticsInfo","express_name","courier_number","copyWaybillNumber","_l","logisticsList","item","index","key","time","class","active","context","description","slot","_e","staticRenderFns","name","props","type","Boolean","default","orderId","String","Object","data","watch","newVal","mounted","post","child_order_id","then","res","methods","input","document","createElement","value","body","appendChild","select","execCommand","removeChild","$message","success","$emit","component","filterForm","model","keywords","callback","$$v","$set","expression","order_id","createTime","staticStyle","state","typeList","i","id","search","reset","_m","orders","order","create_time","getStatusTagType","state_text","order_product_list","product","product_img","product_title","sku_name","product_price","toFixed","product_num","paid_money","gotoDetail","checkLogistics","gotoReview","total_post_fee","viewOrderDetail","includes","refund","closeOrder","payOrder","confirmpost","length","currentPage","limit","total","handleSizeChange","handleCurrentChange","logisticsShow","components","LogisticsModal","activeTab","start_date","end_date","computed","status","$route","query","getList","$confirm","confirmButtonText","cancelButtonText","code","message","$router","push","product_id","offset","list","val","getStatusText","statusMap","pendingPayment","pendingDelivery","delivering","completed","cancelled","typeMap","pay_method","pay_platform","path","remindDelivery","order_product_extend","JSON","stringify"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/630.d2996537.js b/dist/js/145.bdf9dbc6.js similarity index 96% rename from dist/js/630.d2996537.js rename to dist/js/145.bdf9dbc6.js index a6c9441..ba2e66f 100644 --- a/dist/js/630.d2996537.js +++ b/dist/js/145.bdf9dbc6.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[630],{2630: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",staticStyle:{cursor:"pointer"},on:{click:function(e){return t.gotoDetail(s.product.id)}}},[e("img",{staticClass:"product-image",attrs:{src:s.product.headimg}}),e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v(t._s(s.product.title))]),e("div",{staticClass:"product-spec"},[t._v(t._s(s.sku.sku_name))])])]),e("div",{staticClass:"product-box"},[t._v(" ¥"+t._s((s.sku.price/100).toFixed(2))+" ")]),e("div",{staticClass:"product-quantity"},[e("el-input-number",{attrs:{size:"small",min:1,step:1},on:{change:function(e){return t.handleNumChange(s)}},model:{value:s.num,callback:function(e){t.$set(s,"num",e)},expression:"goods.num"}})],1),e("div",{staticClass:"product-box"},[t._v("邮寄")]),e("div",{staticClass:"product-box product-price"},[t._v(" ¥"+t._s((s.num*s.sku.price/100).toFixed(2))+" ")]),e("div",{staticClass:"product-box"},[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.delItem(s)}}},[t._v("删除")])],1)])}),0)])}),t.list.length<=0?e("el-empty",{attrs:{description:"暂无数据"}}):t._e(),e("div",{staticClass:"cart-footer"},[e("el-button",{attrs:{disabled:0===t.selectedRows.length,type:"text",size:"mini"},on:{click:t.deleteSelected}},[t._v(" 删除选中商品 ")]),e("div",{staticClass:"flex-between"},[e("div",{staticClass:"selected-info"},[t._v(" 已选商品 "),e("span",{staticClass:"import-text"},[t._v(t._s(t.selectedRows.length))]),t._v(" 件    总价: "),e("span",{staticClass:"import-text total-price"},[t._v(t._s(t.totalPrice))]),t._v(" (不含运费) ")]),e("el-button",{attrs:{type:"primary",disabled:0===t.selectedRows.length},on:{click:t.handleCheckout}},[t._v("去结算")])],1)],1)],2)])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v("商品")])])}],c=(s(4114),s(8111),s(1148),s(7588),s(1701),s(3579),s(3518)),a={name:"OrderList",data(){return{activeTab:"all",currentPage:1,pageSize:10,list:[],selectAll:!1}},mounted(){this.getList()},computed:{selectedRows(){let t=[];return this.list.forEach(e=>{e.goods.forEach(e=>{e.selected&&t.push(e)})}),t},totalPrice(){let t=0;return this.selectedRows.forEach(e=>{t+=e.num*e.sku.price/100}),t.toFixed(2)}},methods:{...(0,c.i0)(["submitOrderData"]),gotoDetail(t){this.$router.push("/Detail/"+t)},handleCheckout(){console.log(this.selectedRows);const t=this.selectedRows.map(t=>({product:t.product,sku:t.sku,quantity:t.num})),e={};t.forEach(t=>{const s=t.product.supplier_name;e[s]||(e[s]=[]),e[s].push(t)}),this.submitOrderData({from:"cart",groups:e}),this.$router.push("/Order")},getList(){this.post({},"/api/cart/get_list",!0).then(t=>{let e=t.data||[],s=this.selectedRows.map(t=>t.id);e.forEach(t=>{t.selected=!1,t.goods.forEach(t=>{t.selected=s.includes(t.id)})}),this.list=e,this.judgeSelectAll()})},handleSelectAll(t){t?this.list.forEach(t=>{t.goods.forEach(t=>{t&&t.product&&t.sku&&"off"==t.sku.flag?t.selected=!1:t.selected=!0})}):this.list.forEach(t=>{t.selected=!1,t.goods.forEach(t=>{t.selected=!1})}),this.judgeSelectAll()},handleSelectShop(t){t.selected?t.goods.forEach(t=>{t.selected=!0}):t.goods.forEach(t=>{t.selected=!1}),this.judgeSelectAll()},handleSelect(){this.judgeSelectAll()},judgeSelectAll(){this.list.forEach(t=>{t.goods.some(t=>"on"==t.sku.flag)?t.goods.some(t=>"on"==t.sku.flag&&!t.selected)?t.selected=!1:t.selected=!0:t.selected=!1}),this.list.every(t=>t.selected)&&this.list.length>0?this.selectAll=!0:this.selectAll=!1},handleNumChange(t){this.post({id:t.id,num:t.num},"/api/cart/update_sku").then(t=>{})},delItem(t){this.post({id:t.id},"/api/cart/del_sku").then(t=>{this.getList()})},deleteSelected(){let t=this.selectedRows.map(t=>t.id).join(",");this.post({id:t},"/api/cart/del_sku").then(t=>{this.getList()})},handleSizeChange(t){this.pageSize=t},handleCurrentChange(t){this.currentPage=t},payOrder(t){this.$message({message:`订单 ${t} 去付款`,type:"info"})}}},d=a,o=s(1656),r=(0,o.A)(d,l,i,!1,null,"273f7f6b",null),n=r.exports}}]); -//# sourceMappingURL=630.d2996537.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[145],{4145: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",staticStyle:{cursor:"pointer"},on:{click:function(e){return t.gotoDetail(s.product.id)}}},[e("img",{staticClass:"product-image",attrs:{src:s.product.headimg}}),e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v(t._s(s.product.title))]),e("div",{staticClass:"product-spec"},[t._v(t._s(s.sku.sku_name))])])]),e("div",{staticClass:"product-box"},[t._v(" ¥"+t._s((s.sku.price/100).toFixed(2))+" ")]),e("div",{staticClass:"product-quantity"},[e("el-input-number",{attrs:{size:"small",min:1,step:1},on:{change:function(e){return t.handleNumChange(s)}},model:{value:s.num,callback:function(e){t.$set(s,"num",e)},expression:"goods.num"}})],1),e("div",{staticClass:"product-box"},[t._v("邮寄")]),e("div",{staticClass:"product-box product-price"},[t._v(" ¥"+t._s((s.num*s.sku.price/100).toFixed(2))+" ")]),e("div",{staticClass:"product-box"},[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.delItem(s)}}},[t._v("删除")])],1)])}),0)])}),t.list.length<=0?e("el-empty",{attrs:{description:"暂无数据"}}):t._e(),e("div",{staticClass:"cart-footer"},[e("el-button",{attrs:{disabled:0===t.selectedRows.length,type:"text",size:"mini"},on:{click:t.deleteSelected}},[t._v(" 删除选中商品 ")]),e("div",{staticClass:"flex-between"},[e("div",{staticClass:"selected-info"},[t._v(" 已选商品 "),e("span",{staticClass:"import-text"},[t._v(t._s(t.selectedRows.length))]),t._v(" 件    总价: "),e("span",{staticClass:"import-text total-price"},[t._v(t._s(t.totalPrice))]),t._v(" (不含运费) ")]),e("el-button",{attrs:{type:"primary",disabled:0===t.selectedRows.length},on:{click:t.handleCheckout}},[t._v("去结算")])],1)],1)],2)])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v("商品")])])}],c=(s(4114),s(8111),s(1148),s(7588),s(1701),s(3579),s(3518)),a={name:"OrderList",data(){return{activeTab:"all",currentPage:1,pageSize:10,list:[],selectAll:!1}},mounted(){this.getList()},computed:{selectedRows(){let t=[];return this.list.forEach(e=>{e.goods.forEach(e=>{e.selected&&t.push(e)})}),t},totalPrice(){let t=0;return this.selectedRows.forEach(e=>{t+=e.num*e.sku.price/100}),t.toFixed(2)}},methods:{...(0,c.i0)(["submitOrderData"]),gotoDetail(t){this.$router.push("/Detail/"+t)},handleCheckout(){console.log(this.selectedRows);const t=this.selectedRows.map(t=>({product:t.product,sku:t.sku,quantity:t.num})),e={};t.forEach(t=>{const s=t.product.supplier_name;e[s]||(e[s]=[]),e[s].push(t)}),this.submitOrderData({from:"cart",groups:e}),this.$router.push("/Order")},getList(){this.post({},"/api/cart/get_list",!0).then(t=>{let e=t.data||[],s=this.selectedRows.map(t=>t.id);e.forEach(t=>{t.selected=!1,t.goods.forEach(t=>{t.selected=s.includes(t.id)})}),this.list=e,this.judgeSelectAll()})},handleSelectAll(t){t?this.list.forEach(t=>{t.goods.forEach(t=>{t&&t.product&&t.sku&&"off"==t.sku.flag?t.selected=!1:t.selected=!0})}):this.list.forEach(t=>{t.selected=!1,t.goods.forEach(t=>{t.selected=!1})}),this.judgeSelectAll()},handleSelectShop(t){t.selected?t.goods.forEach(t=>{t.selected=!0}):t.goods.forEach(t=>{t.selected=!1}),this.judgeSelectAll()},handleSelect(){this.judgeSelectAll()},judgeSelectAll(){this.list.forEach(t=>{t.goods.some(t=>"on"==t.sku.flag)?t.goods.some(t=>"on"==t.sku.flag&&!t.selected)?t.selected=!1:t.selected=!0:t.selected=!1}),this.list.every(t=>t.selected)&&this.list.length>0?this.selectAll=!0:this.selectAll=!1},handleNumChange(t){this.post({id:t.id,num:t.num},"/api/cart/update_sku").then(t=>{})},delItem(t){this.post({id:t.id},"/api/cart/del_sku").then(t=>{this.getList()})},deleteSelected(){let t=this.selectedRows.map(t=>t.id).join(",");this.post({id:t},"/api/cart/del_sku").then(t=>{this.getList()})},handleSizeChange(t){this.pageSize=t},handleCurrentChange(t){this.currentPage=t},payOrder(t){this.$message({message:`订单 ${t} 去付款`,type:"info"})}}},d=a,o=s(845),r=(0,o.A)(d,l,i,!1,null,"273f7f6b",null),n=r.exports}}]); +//# sourceMappingURL=145.bdf9dbc6.js.map \ No newline at end of file diff --git a/dist/js/630.d2996537.js.map b/dist/js/145.bdf9dbc6.js.map similarity index 90% rename from dist/js/630.d2996537.js.map rename to dist/js/145.bdf9dbc6.js.map index 8f51170..556c964 100644 --- a/dist/js/630.d2996537.js.map +++ b/dist/js/145.bdf9dbc6.js.map @@ -1 +1 @@ -{"version":3,"file":"js/630.d2996537.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,iBAAiBC,YAAY,CAAC,QAAU,SAAS,WAAa,UAAU,aAAa,iBAAiB,gBAAgB,iBAAiB,gBAAgB,SAAS,CAACH,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,kBAAkB,CAACF,EAAG,cAAc,CAACI,GAAG,CAAC,OAASN,EAAIO,iBAAiBC,MAAM,CAACC,MAAOT,EAAIU,UAAWC,SAAS,SAAUC,GAAMZ,EAAIU,U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,KAAAvB,WAEA,EAGAoC,gBAAAA,CAAAR,GACA,KAAA9B,SAAA8B,CACA,EAGAS,mBAAAA,CAAAT,GACA,KAAA/B,YAAA+B,CACA,EAGAU,QAAAA,CAAAC,GACA,KAAAC,SAAA,CACAC,QAAA,MAAAF,QACAG,KAAA,QAEA,ICrToQ,I,UCQhQC,GAAY,OACd,EACAlG,EACAgD,GACA,EACA,KACA,WACA,MAIF,EAAekD,E","sources":["webpack://shiweisuzhou/./src/views/User/ShoppingCart.vue","webpack://shiweisuzhou/src/views/User/ShoppingCart.vue","webpack://shiweisuzhou/./src/views/User/ShoppingCart.vue?5cfe","webpack://shiweisuzhou/./src/views/User/ShoppingCart.vue?8f0f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',[_c('div',{staticClass:\"order-products\",staticStyle:{\"padding\":\"0 20px\",\"background\":\"#f8f9fa\",\"border-top\":\"1px solid #eee\",\"border-bottom\":\"1px solid #eee\",\"margin-bottom\":\"20px\"}},[_c('div',{staticClass:\"product-item\"},[_c('div',{staticClass:\"product-select\"},[_c('el-checkbox',{on:{\"change\":_vm.handleSelectAll},model:{value:(_vm.selectAll),callback:function ($$v) {_vm.selectAll=$$v},expression:\"selectAll\"}},[_vm._v(\"全选\")])],1),_vm._m(0),_c('div',{staticClass:\"product-box\"},[_vm._v(\"单价(元)\")]),_c('div',{staticClass:\"product-quantity\"},[_vm._v(\"数量\")]),_c('div',{staticClass:\"product-box\"},[_vm._v(\"收货方式\")]),_c('div',{staticClass:\"product-box\"},[_vm._v(\"小计(元)\")]),_c('div',{staticClass:\"product-box\"},[_vm._v(\"操作\")])])]),_vm._l((_vm.list),function(shop){return _c('div',{key:shop.id,staticClass:\"order-card\"},[_c('div',{staticClass:\"order-header flex-between\"},[_c('div',{staticClass:\"product-select\"},[_c('el-checkbox',{on:{\"change\":function($event){return _vm.handleSelectShop(shop)}},model:{value:(shop.selected),callback:function ($$v) {_vm.$set(shop, \"selected\", $$v)},expression:\"shop.selected\"}},[_c('span',{staticStyle:{\"opacity\":\"0\"}},[_vm._v(\"全选\")])])],1),_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(\"供应商名称:\"+_vm._s(shop.shop_name))])])]),_c('div',{staticClass:\"order-products\"},_vm._l((shop.goods),function(goods){return _c('div',{key:goods.id,staticClass:\"product-item\"},[_c('div',{staticClass:\"product-select\"},[_c('el-checkbox',{on:{\"change\":_vm.handleSelect},model:{value:(goods.selected),callback:function ($$v) {_vm.$set(goods, \"selected\", $$v)},expression:\"goods.selected\"}},[_c('span',{staticStyle:{\"opacity\":\"0\"}},[_vm._v(\"全选\")])])],1),_c('div',{staticClass:\"product-details flex-between\",staticStyle:{\"cursor\":\"pointer\"},on:{\"click\":function($event){return _vm.gotoDetail(goods.product.id)}}},[_c('img',{staticClass:\"product-image\",attrs:{\"src\":goods.product.headimg}}),_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(goods.product.title))]),_c('div',{staticClass:\"product-spec\"},[_vm._v(_vm._s(goods.sku.sku_name))])])]),_c('div',{staticClass:\"product-box\"},[_vm._v(\" ¥\"+_vm._s((goods.sku.price / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-quantity\"},[_c('el-input-number',{attrs:{\"size\":\"small\",\"min\":1,\"step\":1},on:{\"change\":function($event){return _vm.handleNumChange(goods)}},model:{value:(goods.num),callback:function ($$v) {_vm.$set(goods, \"num\", $$v)},expression:\"goods.num\"}})],1),_c('div',{staticClass:\"product-box\"},[_vm._v(\"邮寄\")]),_c('div',{staticClass:\"product-box product-price\"},[_vm._v(\" ¥\"+_vm._s(((goods.num * goods.sku.price) / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-box\"},[_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.delItem(goods)}}},[_vm._v(\"删除\")])],1)])}),0)])}),(_vm.list.length <= 0)?_c('el-empty',{attrs:{\"description\":\"暂无数据\"}}):_vm._e(),_c('div',{staticClass:\"cart-footer\"},[_c('el-button',{attrs:{\"disabled\":_vm.selectedRows.length === 0,\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":_vm.deleteSelected}},[_vm._v(\" 删除选中商品 \")]),_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"selected-info\"},[_vm._v(\" 已选商品 \"),_c('span',{staticClass:\"import-text\"},[_vm._v(_vm._s(_vm.selectedRows.length))]),_vm._v(\" 件    总价: \"),_c('span',{staticClass:\"import-text total-price\"},[_vm._v(_vm._s(_vm.totalPrice))]),_vm._v(\" (不含运费) \")]),_c('el-button',{attrs:{\"type\":\"primary\",\"disabled\":_vm.selectedRows.length === 0},on:{\"click\":_vm.handleCheckout}},[_vm._v(\"去结算\")])],1)],1)],2)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(\"商品\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","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=273f7f6b&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=273f7f6b&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 \"273f7f6b\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","on","handleSelectAll","model","value","selectAll","callback","$$v","expression","_v","_m","_l","list","shop","key","id","$event","handleSelectShop","selected","$set","_s","shop_name","goods","handleSelect","gotoDetail","product","attrs","headimg","title","sku","sku_name","price","toFixed","handleNumChange","num","delItem","length","_e","selectedRows","deleteSelected","totalPrice","handleCheckout","staticRenderFns","name","data","activeTab","currentPage","pageSize","mounted","getList","computed","rows","forEach","v","push","methods","mapActions","$router","console","log","orderItems","map","quantity","supplierGroups","item","supplier","supplier_name","submitOrderData","from","groups","post","then","res","resData","currentSelectGoodsIds","includes","judgeSelectAll","val","t","flag","some","x","every","ids","join","handleSizeChange","handleCurrentChange","payOrder","orderId","$message","message","type","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/145.bdf9dbc6.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,iBAAiBC,YAAY,CAAC,QAAU,SAAS,WAAa,UAAU,aAAa,iBAAiB,gBAAgB,iBAAiB,gBAAgB,SAAS,CAACH,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,kBAAkB,CAACF,EAAG,cAAc,CAACI,GAAG,CAAC,OAASN,EAAIO,iBAAiBC,MAAM,CAACC,MAAOT,EAAIU,UAAWC,SAAS,SAAUC,GAAMZ,EAAIU,UAAUE,CAAG,EAAEC,WAAW,cAAc,CAACb,EAAIc,GAAG,SAAS,GAAGd,EAAIe,GAAG,GAAGb,EAAG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GACA,KAAA/B,YAAA+B,CACA,EAGAU,QAAAA,CAAAC,GACA,KAAAC,SAAA,CACAC,QAAA,MAAAF,QACAG,KAAA,QAEA,ICrTkS,I,SCQ9RC,GAAY,OACd,EACAlG,EACAgD,GACA,EACA,KACA,WACA,MAIF,EAAekD,E","sources":["webpack://shiweisuzhou/./src/views/User/ShoppingCart.vue","webpack://shiweisuzhou/src/views/User/ShoppingCart.vue","webpack://shiweisuzhou/./src/views/User/ShoppingCart.vue?24e9","webpack://shiweisuzhou/./src/views/User/ShoppingCart.vue?fc42"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',[_c('div',{staticClass:\"order-products\",staticStyle:{\"padding\":\"0 20px\",\"background\":\"#f8f9fa\",\"border-top\":\"1px solid #eee\",\"border-bottom\":\"1px solid #eee\",\"margin-bottom\":\"20px\"}},[_c('div',{staticClass:\"product-item\"},[_c('div',{staticClass:\"product-select\"},[_c('el-checkbox',{on:{\"change\":_vm.handleSelectAll},model:{value:(_vm.selectAll),callback:function ($$v) {_vm.selectAll=$$v},expression:\"selectAll\"}},[_vm._v(\"全选\")])],1),_vm._m(0),_c('div',{staticClass:\"product-box\"},[_vm._v(\"单价(元)\")]),_c('div',{staticClass:\"product-quantity\"},[_vm._v(\"数量\")]),_c('div',{staticClass:\"product-box\"},[_vm._v(\"收货方式\")]),_c('div',{staticClass:\"product-box\"},[_vm._v(\"小计(元)\")]),_c('div',{staticClass:\"product-box\"},[_vm._v(\"操作\")])])]),_vm._l((_vm.list),function(shop){return _c('div',{key:shop.id,staticClass:\"order-card\"},[_c('div',{staticClass:\"order-header flex-between\"},[_c('div',{staticClass:\"product-select\"},[_c('el-checkbox',{on:{\"change\":function($event){return _vm.handleSelectShop(shop)}},model:{value:(shop.selected),callback:function ($$v) {_vm.$set(shop, \"selected\", $$v)},expression:\"shop.selected\"}},[_c('span',{staticStyle:{\"opacity\":\"0\"}},[_vm._v(\"全选\")])])],1),_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(\"供应商名称:\"+_vm._s(shop.shop_name))])])]),_c('div',{staticClass:\"order-products\"},_vm._l((shop.goods),function(goods){return _c('div',{key:goods.id,staticClass:\"product-item\"},[_c('div',{staticClass:\"product-select\"},[_c('el-checkbox',{on:{\"change\":_vm.handleSelect},model:{value:(goods.selected),callback:function ($$v) {_vm.$set(goods, \"selected\", $$v)},expression:\"goods.selected\"}},[_c('span',{staticStyle:{\"opacity\":\"0\"}},[_vm._v(\"全选\")])])],1),_c('div',{staticClass:\"product-details flex-between\",staticStyle:{\"cursor\":\"pointer\"},on:{\"click\":function($event){return _vm.gotoDetail(goods.product.id)}}},[_c('img',{staticClass:\"product-image\",attrs:{\"src\":goods.product.headimg}}),_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(goods.product.title))]),_c('div',{staticClass:\"product-spec\"},[_vm._v(_vm._s(goods.sku.sku_name))])])]),_c('div',{staticClass:\"product-box\"},[_vm._v(\" ¥\"+_vm._s((goods.sku.price / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-quantity\"},[_c('el-input-number',{attrs:{\"size\":\"small\",\"min\":1,\"step\":1},on:{\"change\":function($event){return _vm.handleNumChange(goods)}},model:{value:(goods.num),callback:function ($$v) {_vm.$set(goods, \"num\", $$v)},expression:\"goods.num\"}})],1),_c('div',{staticClass:\"product-box\"},[_vm._v(\"邮寄\")]),_c('div',{staticClass:\"product-box product-price\"},[_vm._v(\" ¥\"+_vm._s(((goods.num * goods.sku.price) / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-box\"},[_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.delItem(goods)}}},[_vm._v(\"删除\")])],1)])}),0)])}),(_vm.list.length <= 0)?_c('el-empty',{attrs:{\"description\":\"暂无数据\"}}):_vm._e(),_c('div',{staticClass:\"cart-footer\"},[_c('el-button',{attrs:{\"disabled\":_vm.selectedRows.length === 0,\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":_vm.deleteSelected}},[_vm._v(\" 删除选中商品 \")]),_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"selected-info\"},[_vm._v(\" 已选商品 \"),_c('span',{staticClass:\"import-text\"},[_vm._v(_vm._s(_vm.selectedRows.length))]),_vm._v(\" 件    总价: \"),_c('span',{staticClass:\"import-text total-price\"},[_vm._v(_vm._s(_vm.totalPrice))]),_vm._v(\" (不含运费) \")]),_c('el-button',{attrs:{\"type\":\"primary\",\"disabled\":_vm.selectedRows.length === 0},on:{\"click\":_vm.handleCheckout}},[_vm._v(\"去结算\")])],1)],1)],2)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(\"商品\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/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/cli-service/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=273f7f6b&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=273f7f6b&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"273f7f6b\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","on","handleSelectAll","model","value","selectAll","callback","$$v","expression","_v","_m","_l","list","shop","key","id","$event","handleSelectShop","selected","$set","_s","shop_name","goods","handleSelect","gotoDetail","product","attrs","headimg","title","sku","sku_name","price","toFixed","handleNumChange","num","delItem","length","_e","selectedRows","deleteSelected","totalPrice","handleCheckout","staticRenderFns","name","data","activeTab","currentPage","pageSize","mounted","getList","computed","rows","forEach","v","push","methods","mapActions","$router","console","log","orderItems","map","quantity","supplierGroups","item","supplier","supplier_name","submitOrderData","from","groups","post","then","res","resData","currentSelectGoodsIds","includes","judgeSelectAll","val","t","flag","some","x","every","ids","join","handleSizeChange","handleCurrentChange","payOrder","orderId","$message","message","type","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/154.8a9d2cca.js b/dist/js/154.8a9d2cca.js new file mode 100644 index 0000000..45cf961 --- /dev/null +++ b/dist/js/154.8a9d2cca.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[154],{9154:function(t,s,i){i.r(s),i.d(s,{default:function(){return r}});var e=function(){var t=this,s=t._self._c;return s("div",{staticClass:"bg"},[s("div",{staticClass:"flex-between",staticStyle:{"margin-bottom":"20px"}},[s("div"),s("div",{staticStyle:{color:"#d80200",cursor:"pointer"},on:{click:function(s){return t.$router.go(-1)}}},[t._v("重新选择支付方式")])]),t._m(0),t._m(1),s("div",{staticClass:"common-card"},[s("div",{staticClass:"card-header"},[s("div",[s("span",{staticStyle:{"font-size":"16px","font-weight":"bold","padding-right":"20px"}},[t._v("供应商收款账户")]),s("el-button",{attrs:{type:"success",size:"medium"}},[t._v("货款专用结算账号证明下载")])],1),s("div",{staticClass:"action-buttons"},[s("el-button",{attrs:{plain:"",type:"danger",size:"medium"}},[t._v("下载账户信息")]),s("el-button",{attrs:{plain:"",type:"danger",size:"medium"}},[t._v("查询账户信息使用")]),s("el-button",{attrs:{plain:"",type:"danger",size:"medium"}},[t._v("打印本页面")])],1)]),s("div",[s("el-descriptions",{attrs:{column:1,border:""}},[s("el-descriptions-item",{attrs:{label:"收款户名"}},[t._v("kooriookami")]),s("el-descriptions-item",{attrs:{label:"收款账号"}},[t._v("35610188000170227")]),s("el-descriptions-item",{attrs:{label:"开户银行"}},[t._v("35610188000170227")]),s("el-descriptions-item",{attrs:{label:"支付金额(元)"}},[t._v("176.00")]),s("el-descriptions-item",{attrs:{label:"识别码"}},[s("span",{staticClass:"red-text",staticStyle:{"font-weight":"bold"}},[t._v("faw2d8")])]),s("el-descriptions-item",{attrs:{label:"联行号"}},[t._v("303100000688")])],1)],1)])])},a=[function(){var t=this,s=t._self._c;return s("div",{staticClass:"common-card normal-margin-bottom"},[s("div",{staticClass:"flex-between"},[s("div",{staticClass:"left-box"},[s("div",{staticClass:"success-icon-box"},[s("i",{staticClass:"el-icon-check",staticStyle:{"font-size":"30px","font-weight":"bold",color:"white"}})]),s("div",{staticStyle:{display:"flex","flex-direction":"column","justify-content":"space-between"}},[s("div",{staticClass:"success-title"},[t._v("请将下方的"),s("span",{staticClass:"red-text"},[t._v("【供应商收款账户】")]),t._v("提供给您单位的"),s("span",{staticClass:"red-text"},[t._v("【财务人员】")]),t._v(",")]),s("div",{staticClass:"success-subtitle"},[t._v("然后由财务人员完成汇款转账。")])])]),s("div",{staticClass:"amount"},[t._v("应付金额:"),s("span",{staticClass:"price"},[t._v("176.00")])])])])},function(){var t=this,s=t._self._c;return s("div",{staticClass:"common-card normal-margin-bottom"},[s("div",{staticClass:"tips-title"},[t._v("温馨提示:")]),s("ul",{staticClass:"tips-list"},[s("li",[t._v("本页面仅展示供应商的收款账户信息,不需要进行操作;")]),s("li",[t._v("为确保资金安全,该订单支付只能向此账户汇款,不得向供应商线下提供的任何银行账户汇款;")]),s("li",[t._v(" 为确保及时对账匹配付款信息,付款时请务必在汇款单的“用途/备注/摘要/附言”处添加识别码,添加内容不超过36个汉字且不能填写任何特殊字符,正确填写方式可参考如下或 "),s("a",{staticClass:"download-link",attrs:{href:"#"}},[t._v("下载汇款单示例")])])]),s("div",{staticClass:"example-section"},[t._v(" 仅填写识别码:"),s("span",{staticClass:"red-text"},[t._v("faw2d8")])]),s("div",{staticClass:"example-section"},[t._v(" 若您的汇款行或付款机构对于添加内容有“不得输入纯数字或纯字母”的要求,可在识别码前增加“货款”二字后再录入,如:货款"),s("span",{staticClass:"red-text"},[t._v("faw2d8")])])])}],l={name:"OrderPayCode",data(){return{}},computed:{},methods:{}},c=l,n=i(845),o=(0,n.A)(c,e,a,!1,null,"83cee338",null),r=o.exports}}]); +//# sourceMappingURL=154.8a9d2cca.js.map \ No newline at end of file diff --git a/dist/js/244.940fed0d.js.map b/dist/js/154.8a9d2cca.js.map similarity index 89% rename from dist/js/244.940fed0d.js.map rename to dist/js/154.8a9d2cca.js.map index 57fa329..3cbab22 100644 --- a/dist/js/244.940fed0d.js.map +++ b/dist/js/154.8a9d2cca.js.map @@ -1 +1 @@ -{"version":3,"file":"js/244.940fed0d.js","mappings":"mKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACE,YAAY,eAAeC,YAAY,CAAC,gBAAgB,SAAS,CAACH,EAAG,OAAOA,EAAG,MAAM,CAACG,YAAY,CAAC,MAAQ,UAAU,OAAS,WAAWC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOP,EAAIQ,QAAQC,IAAI,EAAE,IAAI,CAACT,EAAIU,GAAG,gBAAgBV,EAAIW,GAAG,GAAGX,EAAIW,GAAG,GAAGT,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,YAAY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,cAAcR,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACJ,EAAIU,GAAG,+DAA+DR,EAAG,OAAO,CAACE,YAAY,YAAY,CAACJ,EAAIU,GAAG,eAC/vB,GCsEA,GACAI,KAAA,eACAC,IAAAA,GACA,OAGA,CACA,EACAC,SAAA,CAEA,EACAC,QAAA,CAEA,GCvFoQ,I,UCQhQC,GAAY,OACd,EACAnB,EACAc,GACA,EACA,KACA,WACA,MAIF,EAAeK,E","sources":["webpack://shiweisuzhou/./src/views/User/OrderPayCode.vue","webpack://shiweisuzhou/src/views/User/OrderPayCode.vue","webpack://shiweisuzhou/./src/views/User/OrderPayCode.vue?8337","webpack://shiweisuzhou/./src/views/User/OrderPayCode.vue?2cac"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"flex-between\",staticStyle:{\"margin-bottom\":\"20px\"}},[_c('div'),_c('div',{staticStyle:{\"color\":\"#d80200\",\"cursor\":\"pointer\"},on:{\"click\":function($event){return _vm.$router.go(-1)}}},[_vm._v(\"重新选择支付方式\")])]),_vm._m(0),_vm._m(1),_c('div',{staticClass:\"common-card\"},[_c('div',{staticClass:\"card-header\"},[_c('div',[_c('span',{staticStyle:{\"font-size\":\"16px\",\"font-weight\":\"bold\",\"padding-right\":\"20px\"}},[_vm._v(\"供应商收款账户\")]),_c('el-button',{attrs:{\"type\":\"success\",\"size\":\"medium\"}},[_vm._v(\"货款专用结算账号证明下载\")])],1),_c('div',{staticClass:\"action-buttons\"},[_c('el-button',{attrs:{\"plain\":\"\",\"type\":\"danger\",\"size\":\"medium\"}},[_vm._v(\"下载账户信息\")]),_c('el-button',{attrs:{\"plain\":\"\",\"type\":\"danger\",\"size\":\"medium\"}},[_vm._v(\"查询账户信息使用\")]),_c('el-button',{attrs:{\"plain\":\"\",\"type\":\"danger\",\"size\":\"medium\"}},[_vm._v(\"打印本页面\")])],1)]),_c('div',[_c('el-descriptions',{attrs:{\"column\":1,\"border\":\"\"}},[_c('el-descriptions-item',{attrs:{\"label\":\"收款户名\"}},[_vm._v(\"kooriookami\")]),_c('el-descriptions-item',{attrs:{\"label\":\"收款账号\"}},[_vm._v(\"35610188000170227\")]),_c('el-descriptions-item',{attrs:{\"label\":\"开户银行\"}},[_vm._v(\"35610188000170227\")]),_c('el-descriptions-item',{attrs:{\"label\":\"支付金额(元)\"}},[_vm._v(\"176.00\")]),_c('el-descriptions-item',{attrs:{\"label\":\"识别码\"}},[_c('span',{staticClass:\"red-text\",staticStyle:{\"font-weight\":\"bold\"}},[_vm._v(\"faw2d8\")])]),_c('el-descriptions-item',{attrs:{\"label\":\"联行号\"}},[_vm._v(\"303100000688\")])],1)],1)])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"common-card normal-margin-bottom\"},[_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"left-box\"},[_c('div',{staticClass:\"success-icon-box\"},[_c('i',{staticClass:\"el-icon-check\",staticStyle:{\"font-size\":\"30px\",\"font-weight\":\"bold\",\"color\":\"white\"}})]),_c('div',{staticStyle:{\"display\":\"flex\",\"flex-direction\":\"column\",\"justify-content\":\"space-between\"}},[_c('div',{staticClass:\"success-title\"},[_vm._v(\"请将下方的\"),_c('span',{staticClass:\"red-text\"},[_vm._v(\"【供应商收款账户】\")]),_vm._v(\"提供给您单位的\"),_c('span',{staticClass:\"red-text\"},[_vm._v(\"【财务人员】\")]),_vm._v(\",\")]),_c('div',{staticClass:\"success-subtitle\"},[_vm._v(\"然后由财务人员完成汇款转账。\")])])]),_c('div',{staticClass:\"amount\"},[_vm._v(\"应付金额:\"),_c('span',{staticClass:\"price\"},[_vm._v(\"176.00\")])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"common-card normal-margin-bottom\"},[_c('div',{staticClass:\"tips-title\"},[_vm._v(\"温馨提示:\")]),_c('ul',{staticClass:\"tips-list\"},[_c('li',[_vm._v(\"本页面仅展示供应商的收款账户信息,不需要进行操作;\")]),_c('li',[_vm._v(\"为确保资金安全,该订单支付只能向此账户汇款,不得向供应商线下提供的任何银行账户汇款;\")]),_c('li',[_vm._v(\" 为确保及时对账匹配付款信息,付款时请务必在汇款单的“用途/备注/摘要/附言”处添加识别码,添加内容不超过36个汉字且不能填写任何特殊字符,正确填写方式可参考如下或 \"),_c('a',{staticClass:\"download-link\",attrs:{\"href\":\"#\"}},[_vm._v(\"下载汇款单示例\")])])]),_c('div',{staticClass:\"example-section\"},[_vm._v(\" 仅填写识别码:\"),_c('span',{staticClass:\"red-text\"},[_vm._v(\"faw2d8\")])]),_c('div',{staticClass:\"example-section\"},[_vm._v(\" 若您的汇款行或付款机构对于添加内容有“不得输入纯数字或纯字母”的要求,可在识别码前增加“货款”二字后再录入,如:货款\"),_c('span',{staticClass:\"red-text\"},[_vm._v(\"faw2d8\")])])])\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!./OrderPayCode.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!./OrderPayCode.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderPayCode.vue?vue&type=template&id=83cee338&scoped=true\"\nimport script from \"./OrderPayCode.vue?vue&type=script&lang=js\"\nexport * from \"./OrderPayCode.vue?vue&type=script&lang=js\"\nimport style0 from \"./OrderPayCode.vue?vue&type=style&index=0&id=83cee338&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 \"83cee338\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","on","$event","$router","go","_v","_m","attrs","staticRenderFns","name","data","computed","methods","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/154.8a9d2cca.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACE,YAAY,eAAeC,YAAY,CAAC,gBAAgB,SAAS,CAACH,EAAG,OAAOA,EAAG,MAAM,CAACG,YAAY,CAAC,MAAQ,UAAU,OAAS,WAAWC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOP,EAAIQ,QAAQC,IAAI,EAAE,IAAI,CAACT,EAAIU,GAAG,gBAAgBV,EAAIW,GAAG,GAAGX,EAAIW,GAAG,GAAGT,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACA,EAAG,OAAO,CAACG,YAAY,CAAC,YAAY,OAAO,cAAc,OAAO,gBAAgB,SAAS,CAACL,EAAIU,GAAG,aAAaR,EAAG,YAAY,CAACU,MAAM,CAAC,KAAO,UAAU,KAAO,WAAW,CAACZ,EAAIU,GAAG,mBAAmB,GAAGR,EAAG,MAAM,CAACE,YAAY,kBAAkB,CAACF,EAAG,YAAY,CAACU,MAAM,CAAC,MAAQ,GAAG,KAAO,SAAS,KAAO,WAAW,CAACZ,EAAIU,GAAG,YAAYR,EAAG,YAAY,CAACU,MAAM,CAAC,MAAQ,GAAG,KAAO,SAAS,KAAO,WAAW,CAACZ,EAAIU,GAAG,cAAcR,EAAG,YAAY,CAACU,MAAM,CAAC,MAAQ,GAAG,KAAO,SAAS,KAAO,WAAW,CAACZ,EAAIU,GAAG,YAAY,KAAKR,EAAG,MAAM,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AAoB,CAACJ,EAAIU,GAAG,wBAAwBR,EAAG,MAAM,CAACE,YAAY,UAAU,CAACJ,EAAIU,GAAG,SAASR,EAAG,OAAO,CAACE,YAAY,SAAS,CAACJ,EAAIU,GAAG,iBACxzB,EAAE,WAAY,IAAIV,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,oCAAoC,CAACF,EAAG,MAAM,CAACE,YAAY,cAAc,CAACJ,EAAIU,GAAG,WAAWR,EAAG,KAAK,CAACE,YAAY,aAAa,CAACF,EAAG,KAAK,CAACF,EAAIU,GAAG,+BAA+BR,EAAG,KAAK,CAACF,EAAIU,GAAG,gDAAgDR,EAAG,KAAK,CAACF,EAAIU,GAAG,uFAAuFR,EAAG,IAAI,CAACE,YAAY,gBAAgBQ,MAAM,CAAC,KAAO,MAAM,CAACZ,EAAIU,GAAG,iBAAiBR,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACJ,EAAIU,GAAG,YAAYR,EAAG,OAAO,CAACE,YAAY,YAAY,CAACJ,EAAIU,GAAG,cAAcR,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACJ,EAAIU,GAAG,+DAA+DR,EAAG,OAAO,CAACE,YAAY,YAAY,CAACJ,EAAIU,GAAG,eAC/vB,GCsEA,GACAI,KAAA,eACAC,IAAAA,GACA,OAGA,CACA,EACAC,SAAA,CAEA,EACAC,QAAA,CAEA,GCvFkS,I,SCQ9RC,GAAY,OACd,EACAnB,EACAc,GACA,EACA,KACA,WACA,MAIF,EAAeK,E","sources":["webpack://shiweisuzhou/./src/views/User/OrderPayCode.vue","webpack://shiweisuzhou/src/views/User/OrderPayCode.vue","webpack://shiweisuzhou/./src/views/User/OrderPayCode.vue?2764","webpack://shiweisuzhou/./src/views/User/OrderPayCode.vue?6b22"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"flex-between\",staticStyle:{\"margin-bottom\":\"20px\"}},[_c('div'),_c('div',{staticStyle:{\"color\":\"#d80200\",\"cursor\":\"pointer\"},on:{\"click\":function($event){return _vm.$router.go(-1)}}},[_vm._v(\"重新选择支付方式\")])]),_vm._m(0),_vm._m(1),_c('div',{staticClass:\"common-card\"},[_c('div',{staticClass:\"card-header\"},[_c('div',[_c('span',{staticStyle:{\"font-size\":\"16px\",\"font-weight\":\"bold\",\"padding-right\":\"20px\"}},[_vm._v(\"供应商收款账户\")]),_c('el-button',{attrs:{\"type\":\"success\",\"size\":\"medium\"}},[_vm._v(\"货款专用结算账号证明下载\")])],1),_c('div',{staticClass:\"action-buttons\"},[_c('el-button',{attrs:{\"plain\":\"\",\"type\":\"danger\",\"size\":\"medium\"}},[_vm._v(\"下载账户信息\")]),_c('el-button',{attrs:{\"plain\":\"\",\"type\":\"danger\",\"size\":\"medium\"}},[_vm._v(\"查询账户信息使用\")]),_c('el-button',{attrs:{\"plain\":\"\",\"type\":\"danger\",\"size\":\"medium\"}},[_vm._v(\"打印本页面\")])],1)]),_c('div',[_c('el-descriptions',{attrs:{\"column\":1,\"border\":\"\"}},[_c('el-descriptions-item',{attrs:{\"label\":\"收款户名\"}},[_vm._v(\"kooriookami\")]),_c('el-descriptions-item',{attrs:{\"label\":\"收款账号\"}},[_vm._v(\"35610188000170227\")]),_c('el-descriptions-item',{attrs:{\"label\":\"开户银行\"}},[_vm._v(\"35610188000170227\")]),_c('el-descriptions-item',{attrs:{\"label\":\"支付金额(元)\"}},[_vm._v(\"176.00\")]),_c('el-descriptions-item',{attrs:{\"label\":\"识别码\"}},[_c('span',{staticClass:\"red-text\",staticStyle:{\"font-weight\":\"bold\"}},[_vm._v(\"faw2d8\")])]),_c('el-descriptions-item',{attrs:{\"label\":\"联行号\"}},[_vm._v(\"303100000688\")])],1)],1)])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"common-card normal-margin-bottom\"},[_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"left-box\"},[_c('div',{staticClass:\"success-icon-box\"},[_c('i',{staticClass:\"el-icon-check\",staticStyle:{\"font-size\":\"30px\",\"font-weight\":\"bold\",\"color\":\"white\"}})]),_c('div',{staticStyle:{\"display\":\"flex\",\"flex-direction\":\"column\",\"justify-content\":\"space-between\"}},[_c('div',{staticClass:\"success-title\"},[_vm._v(\"请将下方的\"),_c('span',{staticClass:\"red-text\"},[_vm._v(\"【供应商收款账户】\")]),_vm._v(\"提供给您单位的\"),_c('span',{staticClass:\"red-text\"},[_vm._v(\"【财务人员】\")]),_vm._v(\",\")]),_c('div',{staticClass:\"success-subtitle\"},[_vm._v(\"然后由财务人员完成汇款转账。\")])])]),_c('div',{staticClass:\"amount\"},[_vm._v(\"应付金额:\"),_c('span',{staticClass:\"price\"},[_vm._v(\"176.00\")])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"common-card normal-margin-bottom\"},[_c('div',{staticClass:\"tips-title\"},[_vm._v(\"温馨提示:\")]),_c('ul',{staticClass:\"tips-list\"},[_c('li',[_vm._v(\"本页面仅展示供应商的收款账户信息,不需要进行操作;\")]),_c('li',[_vm._v(\"为确保资金安全,该订单支付只能向此账户汇款,不得向供应商线下提供的任何银行账户汇款;\")]),_c('li',[_vm._v(\" 为确保及时对账匹配付款信息,付款时请务必在汇款单的“用途/备注/摘要/附言”处添加识别码,添加内容不超过36个汉字且不能填写任何特殊字符,正确填写方式可参考如下或 \"),_c('a',{staticClass:\"download-link\",attrs:{\"href\":\"#\"}},[_vm._v(\"下载汇款单示例\")])])]),_c('div',{staticClass:\"example-section\"},[_vm._v(\" 仅填写识别码:\"),_c('span',{staticClass:\"red-text\"},[_vm._v(\"faw2d8\")])]),_c('div',{staticClass:\"example-section\"},[_vm._v(\" 若您的汇款行或付款机构对于添加内容有“不得输入纯数字或纯字母”的要求,可在识别码前增加“货款”二字后再录入,如:货款\"),_c('span',{staticClass:\"red-text\"},[_vm._v(\"faw2d8\")])])])\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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderPayCode.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderPayCode.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderPayCode.vue?vue&type=template&id=83cee338&scoped=true\"\nimport script from \"./OrderPayCode.vue?vue&type=script&lang=js\"\nexport * from \"./OrderPayCode.vue?vue&type=script&lang=js\"\nimport style0 from \"./OrderPayCode.vue?vue&type=style&index=0&id=83cee338&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"83cee338\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","on","$event","$router","go","_v","_m","attrs","staticRenderFns","name","data","computed","methods","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/709.04a9155a.js b/dist/js/168.791742aa.js similarity index 96% rename from dist/js/709.04a9155a.js rename to dist/js/168.791742aa.js index 7b1105e..92231c3 100644 --- a/dist/js/709.04a9155a.js +++ b/dist/js/168.791742aa.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[709],{5709:function(t,s,i){i.r(s),i.d(s,{default:function(){return c}});var e=function(){var t=this,s=t._self._c;return s("div",{staticClass:"bg"},[t.showNotice?s("div",{staticClass:"notice-bar"},[t._m(0),s("div",{staticClass:"notice-bar__close",on:{click:function(s){t.showNotice=!1}}},[s("i",{staticClass:"el-icon-close"})])]):t._e(),s("el-card",[s("el-row",{attrs:{gutter:20}},t._l(t.headFun,function(i,e){return s("el-col",{key:e,attrs:{xs:24,sm:8,md:8}},[s("router-link",{staticClass:"feature-item",attrs:{to:i.path}},[s("div",{staticClass:"feature-icon"},[s("i",{class:i.icon})]),s("span",{staticClass:"feature-name"},[t._v(t._s(i.title))]),s("el-button",{staticStyle:{"margin-top":"5px"},attrs:{type:"text",size:"mini"}},[t._v("去设置")])],1)],1)}),1)],1),t.userInfo?s("el-card",[s("div",{attrs:{slot:"header"},slot:"header"},[t._v("个人信息")]),s("div",{staticClass:"user-info"},[s("img",{staticClass:"user-avatar",attrs:{src:t.userInfo.avatar,alt:"用户头像"}}),s("div",{staticClass:"user-details"},[s("div",[s("div",{staticClass:"user-name"},[t._v(t._s(t.userInfo.nickname))]),s("div",{staticClass:"user-other-info"},[t._v(" ID: "+t._s(t.userInfo.user_id)+" "),s("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(s){return t.util.copyId(t.userInfo.user_id)}}},[t._v("复制")])],1),s("div",{staticClass:"user-other-info"},[t._v("手机号: "+t._s(t.userInfo.mobile))])]),s("div",{staticClass:"login-info"},[s("div",{staticClass:"login-section"},[s("div",{staticClass:"login-section-title"},[t._v("当前登录信息")]),s("div",{staticClass:"login-detail"},[t._v(" 登录设备: "+t._s(t.accountInfo.login_log.this_browser)+" ")]),s("div",{staticClass:"login-detail"},[t._v(" 登录地点: "+t._s(t.accountInfo.login_log.this_addr)+" ")]),s("div",{staticClass:"login-detail"},[t._v(" 登录时间: "+t._s(t.accountInfo.login_log.this_login_time)+" ")])]),s("div",{staticClass:"login-section"},[s("div",{staticClass:"login-section-title"},[t._v("上次登录信息")]),s("div",{staticClass:"login-detail"},[t._v(" 登录设备: "+t._s(t.accountInfo.login_log.last_browser)+" ")]),s("div",{staticClass:"login-detail"},[t._v(" 登录地点: "+t._s(t.accountInfo.login_log.last_addr)+" ")]),s("div",{staticClass:"login-detail"},[t._v(" 登录时间: "+t._s(t.accountInfo.login_log.last_login_time)+" ")])])])]),s("div",[s("el-button",{staticStyle:{"background-color":"#6a8a27",border:"none"},attrs:{type:"primary",size:"mini"},on:{click:function(s){return t.goPath("/User/UserInfo")}}},[s("i",{staticClass:"el-icon-edit"}),t._v(" 编辑个人信息 ")])],1)])]):t._e(),s("div",{staticClass:"flex-center"},[s("el-card",{staticStyle:{flex:"1"}},[s("div",{attrs:{slot:"header"},slot:"header"},[t._v("常用功能")]),s("div",{staticClass:"feature-grid"},t._l(t.bargaining,function(i,e){return s("router-link",{key:e,staticClass:"feature-item",attrs:{to:i.path}},[i.value?s("el-badge",{attrs:{value:i.value,type:"danger"}},[s("div",{staticClass:"feature-icon"},[s("i",{class:i.icon})])]):s("div",{staticClass:"feature-icon"},[s("i",{class:i.icon})]),s("span",{staticClass:"feature-name"},[t._v(t._s(i.title))])],1)}),1)]),s("div",{staticStyle:{width:"20px","flex-shrink":"0"}}),s("el-card",{staticStyle:{flex:"1"}},[s("div",{attrs:{slot:"header"},slot:"header"},[t._v("我的订单")]),s("div",{staticClass:"feature-grid"},t._l(t.order,function(i,e){return s("router-link",{key:e,staticClass:"feature-item",attrs:{to:i.path}},[i.value?s("el-badge",{attrs:{value:t.accountInfo.order_info[i.value],type:"danger"}},[s("div",{staticClass:"feature-icon"},[s("i",{class:i.icon})])]):s("div",{staticClass:"feature-icon"},[s("i",{class:i.icon})]),s("span",{staticClass:"feature-name"},[t._v(t._s(i.title))])],1)}),1)])],1)],1)},a=[function(){var t=this,s=t._self._c;return s("div",{staticClass:"notice-bar__content"},[s("i",{staticClass:"el-icon-lightbulb"}),t._v(" 尊敬的采购人,欢迎来到时味苏州企业采购平台!您可以先完成下方的基础设置,方便您更高效的采购。 ")])}],n=(i(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-shopping-cart-full",title:"购物车",path:"/User/ShoppingCart",value:""},{icon:"el-icon-document-copy",title:"合同管理",path:"/User/ContractList",value:""},{icon:"el-icon-tickets",title:"我的发票",path:"/User/UserInvoiceList",value:""}],order:[{icon:"el-icon-time",title:"待付款",path:"/User/OrderList?status=WAIT_PAYMENT",value:"unpaid"},{icon:"el-icon-truck",title:"未发货",path:"/User/OrderList?status=WAIT_POST",value:"wait_post"},{icon:"el-icon-menu",title:"全部订单",path:"/User/OrderList",value:"all"}],userInfo:null,accountInfo:null}},computed:{},mounted(){this.getUserInfo()},methods:{getUserInfo(){this.post({},"/api/uservice/user/getMyInfo").then(t=>{this.userInfo=t.data,console.log(this.userInfo)}),this.post({},"/api/uservice/user/account").then(t=>{this.accountInfo=t.data})},goPath(t){this.$router.push(t)}}}),l=n,o=i(1656),r=(0,o.A)(l,e,a,!1,null,"231e55aa",null),c=r.exports}}]); -//# sourceMappingURL=709.04a9155a.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[168],{4168:function(t,s,i){i.r(s),i.d(s,{default:function(){return c}});var e=function(){var t=this,s=t._self._c;return s("div",{staticClass:"bg"},[t.showNotice?s("div",{staticClass:"notice-bar"},[t._m(0),s("div",{staticClass:"notice-bar__close",on:{click:function(s){t.showNotice=!1}}},[s("i",{staticClass:"el-icon-close"})])]):t._e(),s("el-card",[s("el-row",{attrs:{gutter:20}},t._l(t.headFun,function(i,e){return s("el-col",{key:e,attrs:{xs:24,sm:8,md:8}},[s("router-link",{staticClass:"feature-item",attrs:{to:i.path}},[s("div",{staticClass:"feature-icon"},[s("i",{class:i.icon})]),s("span",{staticClass:"feature-name"},[t._v(t._s(i.title))]),s("el-button",{staticStyle:{"margin-top":"5px"},attrs:{type:"text",size:"mini"}},[t._v("去设置")])],1)],1)}),1)],1),t.userInfo?s("el-card",[s("div",{attrs:{slot:"header"},slot:"header"},[t._v("个人信息")]),s("div",{staticClass:"user-info"},[s("img",{staticClass:"user-avatar",attrs:{src:t.userInfo.avatar,alt:"用户头像"}}),s("div",{staticClass:"user-details"},[s("div",[s("div",{staticClass:"user-name"},[t._v(t._s(t.userInfo.nickname))]),s("div",{staticClass:"user-other-info"},[t._v(" ID: "+t._s(t.userInfo.user_id)+" "),s("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(s){return t.util.copyId(t.userInfo.user_id)}}},[t._v("复制")])],1),s("div",{staticClass:"user-other-info"},[t._v("手机号: "+t._s(t.userInfo.mobile))])]),s("div",{staticClass:"login-info"},[s("div",{staticClass:"login-section"},[s("div",{staticClass:"login-section-title"},[t._v("当前登录信息")]),s("div",{staticClass:"login-detail"},[t._v(" 登录设备: "+t._s(t.accountInfo.login_log.this_browser)+" ")]),s("div",{staticClass:"login-detail"},[t._v(" 登录地点: "+t._s(t.accountInfo.login_log.this_addr)+" ")]),s("div",{staticClass:"login-detail"},[t._v(" 登录时间: "+t._s(t.accountInfo.login_log.this_login_time)+" ")])]),s("div",{staticClass:"login-section"},[s("div",{staticClass:"login-section-title"},[t._v("上次登录信息")]),s("div",{staticClass:"login-detail"},[t._v(" 登录设备: "+t._s(t.accountInfo.login_log.last_browser)+" ")]),s("div",{staticClass:"login-detail"},[t._v(" 登录地点: "+t._s(t.accountInfo.login_log.last_addr)+" ")]),s("div",{staticClass:"login-detail"},[t._v(" 登录时间: "+t._s(t.accountInfo.login_log.last_login_time)+" ")])])])]),s("div",[s("el-button",{staticStyle:{"background-color":"#6a8a27",border:"none"},attrs:{type:"primary",size:"mini"},on:{click:function(s){return t.goPath("/User/UserInfo")}}},[s("i",{staticClass:"el-icon-edit"}),t._v(" 编辑个人信息 ")])],1)])]):t._e(),s("div",{staticClass:"flex-center"},[s("el-card",{staticStyle:{flex:"1"}},[s("div",{attrs:{slot:"header"},slot:"header"},[t._v("常用功能")]),s("div",{staticClass:"feature-grid"},t._l(t.bargaining,function(i,e){return s("router-link",{key:e,staticClass:"feature-item",attrs:{to:i.path}},[i.value?s("el-badge",{attrs:{value:i.value,type:"danger"}},[s("div",{staticClass:"feature-icon"},[s("i",{class:i.icon})])]):s("div",{staticClass:"feature-icon"},[s("i",{class:i.icon})]),s("span",{staticClass:"feature-name"},[t._v(t._s(i.title))])],1)}),1)]),s("div",{staticStyle:{width:"20px","flex-shrink":"0"}}),s("el-card",{staticStyle:{flex:"1"}},[s("div",{attrs:{slot:"header"},slot:"header"},[t._v("我的订单")]),s("div",{staticClass:"feature-grid"},t._l(t.order,function(i,e){return s("router-link",{key:e,staticClass:"feature-item",attrs:{to:i.path}},[i.value?s("el-badge",{attrs:{value:t.accountInfo.order_info[i.value],type:"danger"}},[s("div",{staticClass:"feature-icon"},[s("i",{class:i.icon})])]):s("div",{staticClass:"feature-icon"},[s("i",{class:i.icon})]),s("span",{staticClass:"feature-name"},[t._v(t._s(i.title))])],1)}),1)])],1)],1)},a=[function(){var t=this,s=t._self._c;return s("div",{staticClass:"notice-bar__content"},[s("i",{staticClass:"el-icon-lightbulb"}),t._v(" 尊敬的采购人,欢迎来到时味苏州企业采购平台!您可以先完成下方的基础设置,方便您更高效的采购。 ")])}],n=(i(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-shopping-cart-full",title:"购物车",path:"/User/ShoppingCart",value:""},{icon:"el-icon-document-copy",title:"合同管理",path:"/User/ContractList",value:""},{icon:"el-icon-tickets",title:"我的发票",path:"/User/UserInvoiceList",value:""}],order:[{icon:"el-icon-time",title:"待付款",path:"/User/OrderList?status=WAIT_PAYMENT",value:"unpaid"},{icon:"el-icon-truck",title:"未发货",path:"/User/OrderList?status=WAIT_POST",value:"wait_post"},{icon:"el-icon-menu",title:"全部订单",path:"/User/OrderList",value:"all"}],userInfo:null,accountInfo:null}},computed:{},mounted(){this.getUserInfo()},methods:{getUserInfo(){this.post({},"/api/uservice/user/getMyInfo").then(t=>{this.userInfo=t.data,console.log(this.userInfo)}),this.post({},"/api/uservice/user/account").then(t=>{this.accountInfo=t.data})},goPath(t){this.$router.push(t)}}}),l=n,o=i(845),r=(0,o.A)(l,e,a,!1,null,"231e55aa",null),c=r.exports}}]); +//# sourceMappingURL=168.791742aa.js.map \ No newline at end of file diff --git a/dist/js/709.04a9155a.js.map b/dist/js/168.791742aa.js.map similarity index 91% rename from dist/js/709.04a9155a.js.map rename to dist/js/168.791742aa.js.map index e5b5b84..48bc9c1 100644 --- a/dist/js/709.04a9155a.js.map +++ b/dist/js/168.791742aa.js.map @@ -1 +1 @@ -{"version":3,"file":"js/709.04a9155a.js","mappings":"oKAAA,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,GA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A,KACA,WACA,MAIF,EAAee,E","sources":["webpack://shiweisuzhou/./src/views/User/UserCenter.vue","webpack://shiweisuzhou/src/views/User/UserCenter.vue","webpack://shiweisuzhou/./src/views/User/UserCenter.vue?f7cc","webpack://shiweisuzhou/./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\":function($event){return _vm.util.copyId(_vm.userInfo.user_id)}}},[_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(\" 登录设备: \"+_vm._s(_vm.accountInfo.login_log.this_browser)+\" \")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\" 登录地点: \"+_vm._s(_vm.accountInfo.login_log.this_addr)+\" \")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\" 登录时间: \"+_vm._s(_vm.accountInfo.login_log.this_login_time)+\" \")])]),_c('div',{staticClass:\"login-section\"},[_c('div',{staticClass:\"login-section-title\"},[_vm._v(\"上次登录信息\")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\" 登录设备: \"+_vm._s(_vm.accountInfo.login_log.last_browser)+\" \")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\" 登录地点: \"+_vm._s(_vm.accountInfo.login_log.last_addr)+\" \")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\" 登录时间: \"+_vm._s(_vm.accountInfo.login_log.last_login_time)+\" \")])])])]),_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('router-link',{key:i,staticClass:\"feature-item\",attrs:{\"to\":item.path}},[(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)}),1)]),_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('router-link',{key:i,staticClass:\"feature-item\",attrs:{\"to\":item.path}},[(item.value)?_c('el-badge',{attrs:{\"value\":_vm.accountInfo.order_info[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)}),1)])],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=231e55aa&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=231e55aa&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 \"231e55aa\",\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","util","copyId","mobile","accountInfo","login_log","this_browser","this_addr","this_login_time","last_browser","last_addr","last_login_time","goPath","bargaining","value","order","order_info","staticRenderFns","name","data","userId","computed","mounted","getUserInfo","methods","post","then","res","console","log","$router","push","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/168.791742aa.js","mappings":"oKAAA,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,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H,EACIuB,EAAkB,CAAC,WAAY,IAAI5C,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,uBAAuB,CAACF,EAAG,IAAI,CAACE,YAAY,sBAAsBJ,EAAImB,GAAG,qDACtK,GCoIA,G,QAAA,CACA0B,KAAA,aACAC,IAAAA,GACA,OACAzC,YAAA,EACA0C,OAAA,eACAnC,QAAA,CACA,CACAM,KAAA,mBACAG,MAAA,SACAL,KAAA,qBAEA,CACAE,KAAA,mBACAG,MAAA,SACAL,KAAA,qBAEA,CACAE,KAAA,eACAG,MAAA,UACAL,KAAA,uBAGAwB,WAAA,CACA,CACAtB,KAAA,6BACAG,MAAA,MACAL,KAAA,qBACAyB,MAAA,IAEA,CACAvB,KAAA,wBACAG,MAAA,OACAL,KAAA,qBACAyB,MAAA,IAEA,CACAvB,KAAA,kBACAG,MAAA,OACAL,KAAA,wBACAyB,MAAA,KAGAC,MAAA,CACA,CACAxB,KAAA,eACAG,MAAA,MACAL,KAAA,sCACAyB,MAAA,UAEA,CACAvB,KAAA,gBACAG,MAAA,MACAL,KAAA,mCACAyB,MAAA,aAEA,CACAvB,KAAA,eACAG,MAAA,OACAL,KAAA,kBACAyB,MAAA,QAIAlB,SAAA,KACAQ,YAAA,KAEA,EACAiB,SAAA,GACAC,OAAAA,GACA,KAAAC,aACA,EACAC,QAAA,CACAD,WAAAA,GAEA,KAAAE,KAAA,mCAAAC,KAAAC,IACA,KAAA/B,SAAA+B,EAAAR,KACAS,QAAAC,IAAA,KAAAjC,YAGA,KAAA6B,KAAA,iCAAAC,KAAAC,IACA,KAAAvB,YAAAuB,EAAAR,MAEA,EAEAP,MAAAA,CAAAvB,GACA,KAAAyC,QAAAC,KAAA1C,EACA,KC9NgS,I,SCQ5R2C,GAAY,OACd,EACA5D,EACA6C,GACA,EACA,KACA,WACA,MAIF,EAAee,E","sources":["webpack://shiweisuzhou/./src/views/User/UserCenter.vue","webpack://shiweisuzhou/src/views/User/UserCenter.vue","webpack://shiweisuzhou/./src/views/User/UserCenter.vue?9b59","webpack://shiweisuzhou/./src/views/User/UserCenter.vue?250a"],"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\":function($event){return _vm.util.copyId(_vm.userInfo.user_id)}}},[_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(\" 登录设备: \"+_vm._s(_vm.accountInfo.login_log.this_browser)+\" \")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\" 登录地点: \"+_vm._s(_vm.accountInfo.login_log.this_addr)+\" \")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\" 登录时间: \"+_vm._s(_vm.accountInfo.login_log.this_login_time)+\" \")])]),_c('div',{staticClass:\"login-section\"},[_c('div',{staticClass:\"login-section-title\"},[_vm._v(\"上次登录信息\")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\" 登录设备: \"+_vm._s(_vm.accountInfo.login_log.last_browser)+\" \")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\" 登录地点: \"+_vm._s(_vm.accountInfo.login_log.last_addr)+\" \")]),_c('div',{staticClass:\"login-detail\"},[_vm._v(\" 登录时间: \"+_vm._s(_vm.accountInfo.login_log.last_login_time)+\" \")])])])]),_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('router-link',{key:i,staticClass:\"feature-item\",attrs:{\"to\":item.path}},[(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)}),1)]),_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('router-link',{key:i,staticClass:\"feature-item\",attrs:{\"to\":item.path}},[(item.value)?_c('el-badge',{attrs:{\"value\":_vm.accountInfo.order_info[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)}),1)])],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/cli-service/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/cli-service/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=231e55aa&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=231e55aa&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"231e55aa\",\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","util","copyId","mobile","accountInfo","login_log","this_browser","this_addr","this_login_time","last_browser","last_addr","last_login_time","goPath","bargaining","value","order","order_info","staticRenderFns","name","data","userId","computed","mounted","getUserInfo","methods","post","then","res","console","log","$router","push","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/208.50f78b20.js b/dist/js/208.50f78b20.js deleted file mode 100644 index 0518f72..0000000 --- a/dist/js/208.50f78b20.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[208],{1734:function(e,i,t){t.d(i,{A:function(){return d}});var s=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)},a=[],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),s=this.districts.find(e=>e.id===this.form.district_id);if(!(i&&t&&s))return void this.$message.warning("地区信息不完整");const a={...this.form,region:`${i.name} ${t.name} ${s.name}`};this.$emit("save",a),this.handleClose()})},handleClose(){this.$emit("update:visible",!1)}}}),l=r,n=t(1656),o=(0,n.A)(l,s,a,!1,null,"7d3ebefd",null),d=o.exports},5208:function(e,i,t){t.r(i),t.d(i,{default:function(){return c}});var s=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)},a=[],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,s,a,!1,null,"b49931c8",null),c=d.exports}}]); -//# sourceMappingURL=208.50f78b20.js.map \ No newline at end of file diff --git a/dist/js/208.50f78b20.js.map b/dist/js/208.50f78b20.js.map deleted file mode 100644 index c10b204..0000000 --- a/dist/js/208.50f78b20.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/208.50f78b20.js","mappings":"uJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,G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,KAAAgH,WAAA,IAAArD,GACA,KAAAmD,eAAA,CACA,EAGAG,iBAAAA,CAAAvB,GACAA,EAAAgC,WAAA,EACA,aAAAX,WACA,KAAAzC,KAAAoB,EAAA,sCAAA+B,KACApD,IACA,GAAAA,EAAAsD,OACA,KAAApD,SAAAqD,QAAA,QACA,KAAAP,aACA,KAAAP,eAAA,KAKA,KAAAxC,KAAAoB,EAAA,oCAAA+B,KAAApD,IACA,GAAAA,EAAAsD,OACA,KAAApD,SAAAqD,QAAA,QACA,KAAAP,aACA,KAAAP,eAAA,IAIA,EAGAT,UAAAA,CAAAC,GACA7B,QAAAoD,IAAAvB,GACAA,EAAA7F,SAAA6F,EAAAhF,KACAgF,EAAAvE,OAAAuE,EAAAwB,IACA,KAAA/B,WAAA,OAAAO,EACA,EAGAC,YAAAA,CAAAD,GACA,KAAAyB,SAAA,2BACAC,kBAAA,KACAC,iBAAA,KACAjI,KAAA,YAEAyH,KAAA,KACA,KAAAnD,KACA,CACAjD,GAAAiF,EAAAjF,IAEA,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://shiweisuzhou/./src/components/common/AddressFormDialog.vue","webpack://shiweisuzhou/src/components/common/AddressFormDialog.vue","webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue?ef45","webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue?6358","webpack://shiweisuzhou/./src/views/User/UserAddress.vue","webpack://shiweisuzhou/src/views/User/UserAddress.vue","webpack://shiweisuzhou/./src/views/User/UserAddress.vue?e7fa","webpack://shiweisuzhou/./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/677.bb7c2f70.js b/dist/js/241.17bc4b66.js similarity index 93% rename from dist/js/677.bb7c2f70.js rename to dist/js/241.17bc4b66.js index 16deaa6..f98c25b 100644 --- a/dist/js/677.bb7c2f70.js +++ b/dist/js/241.17bc4b66.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[677],{3677:function(t,s,i){i.r(s),i.d(s,{default:function(){return r}});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"bg"},[t._m(0),s("div",{staticClass:"common-card"},[t._m(1),s("div",{staticClass:"payment-method",on:{click:function(s){return t.selectPayment("/OrderPayB2B")}}},[s("div",{staticClass:"payment-name"},[t._v("企业网银 B2B 支付")]),s("div",{staticClass:"tip-text"},[t._v("使用单位在银行开通的企业网银 B2B 功能进行支付。支持银行:农行")])]),s("div",{staticClass:"payment-method",on:{click:function(s){return t.selectPayment("/OrderPayCode")}}},[t._m(2),s("div",{staticClass:"tip-text"},[t._v("将供应商的收款账户和识别码提供给单位财务人员")])]),s("div",{staticClass:"note",staticStyle:{"font-size":"14px"}},[t._v(" 注:识别码用于关联订单与货款,是预算任务完成的重要依据。以银行柜台汇款/国库支付/现金、支票汇款/网银等付款方式支付时,均应填写识别码 ")])])])},e=[function(){var t=this,s=t._self._c;return s("div",{staticClass:"common-card normal-margin-bottom"},[s("div",{staticClass:"flex-between"},[s("div",{staticClass:"left-box"},[s("div",{staticClass:"success-icon-box"},[s("i",{staticClass:"el-icon-check",staticStyle:{"font-size":"30px","font-weight":"bold",color:"white"}})]),s("div",{staticStyle:{display:"flex","flex-direction":"column","justify-content":"space-between"}},[s("div",{staticClass:"success-title"},[t._v("订单提交成功,请尽快完成支付!")]),s("div",{staticClass:"success-subtitle"},[t._v("订单号:"),s("span",{staticClass:"tip-text"},[t._v("XD250731153300007092")])])])]),s("div",{staticClass:"amount"},[t._v("应付金额:"),s("span",{staticClass:"price"},[t._v("176.00")])])])])},function(){var t=this,s=t._self._c;return s("div",{staticStyle:{"font-weight":"bold","margin-bottom":"20px"}},[t._v("请"),s("span",{staticStyle:{color:"#d80200",padding:"0 5px"}},[t._v("点击")]),t._v("选择支付方式 "),s("span",{staticClass:"tip-text"},[t._v("(提示:您可以先与单位的财务人员确认使用哪种支付方式)")])])},function(){var t=this,s=t._self._c;return s("div",{staticClass:"payment-name"},[t._v("识别码支付"),s("span",{staticClass:"tip-text"},[t._v("(银行柜台汇款/国库支付/现金、支票汇款/网银支付)")])])}],c=(i(4114),{name:"OrderPay",data(){return{}},computed:{},methods:{selectPayment(t){this.$router.push({path:t})}}}),n=c,l=i(1656),o=(0,l.A)(n,a,e,!1,null,"3f83c171",null),r=o.exports}}]); -//# sourceMappingURL=677.bb7c2f70.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[241],{4241:function(t,s,i){i.r(s),i.d(s,{default:function(){return r}});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"bg"},[t._m(0),s("div",{staticClass:"common-card"},[t._m(1),s("div",{staticClass:"payment-method",on:{click:function(s){return t.selectPayment("/OrderPayB2B")}}},[s("div",{staticClass:"payment-name"},[t._v("企业网银 B2B 支付")]),s("div",{staticClass:"tip-text"},[t._v("使用单位在银行开通的企业网银 B2B 功能进行支付。支持银行:农行")])]),s("div",{staticClass:"payment-method",on:{click:function(s){return t.selectPayment("/OrderPayCode")}}},[t._m(2),s("div",{staticClass:"tip-text"},[t._v("将供应商的收款账户和识别码提供给单位财务人员")])]),s("div",{staticClass:"note",staticStyle:{"font-size":"14px"}},[t._v(" 注:识别码用于关联订单与货款,是预算任务完成的重要依据。以银行柜台汇款/国库支付/现金、支票汇款/网银等付款方式支付时,均应填写识别码 ")])])])},e=[function(){var t=this,s=t._self._c;return s("div",{staticClass:"common-card normal-margin-bottom"},[s("div",{staticClass:"flex-between"},[s("div",{staticClass:"left-box"},[s("div",{staticClass:"success-icon-box"},[s("i",{staticClass:"el-icon-check",staticStyle:{"font-size":"30px","font-weight":"bold",color:"white"}})]),s("div",{staticStyle:{display:"flex","flex-direction":"column","justify-content":"space-between"}},[s("div",{staticClass:"success-title"},[t._v("订单提交成功,请尽快完成支付!")]),s("div",{staticClass:"success-subtitle"},[t._v("订单号:"),s("span",{staticClass:"tip-text"},[t._v("XD250731153300007092")])])])]),s("div",{staticClass:"amount"},[t._v("应付金额:"),s("span",{staticClass:"price"},[t._v("176.00")])])])])},function(){var t=this,s=t._self._c;return s("div",{staticStyle:{"font-weight":"bold","margin-bottom":"20px"}},[t._v("请"),s("span",{staticStyle:{color:"#d80200",padding:"0 5px"}},[t._v("点击")]),t._v("选择支付方式 "),s("span",{staticClass:"tip-text"},[t._v("(提示:您可以先与单位的财务人员确认使用哪种支付方式)")])])},function(){var t=this,s=t._self._c;return s("div",{staticClass:"payment-name"},[t._v("识别码支付"),s("span",{staticClass:"tip-text"},[t._v("(银行柜台汇款/国库支付/现金、支票汇款/网银支付)")])])}],c=(i(4114),{name:"OrderPay",data(){return{}},computed:{},methods:{selectPayment(t){this.$router.push({path:t})}}}),n=c,l=i(845),o=(0,l.A)(n,a,e,!1,null,"3f83c171",null),r=o.exports}}]); +//# sourceMappingURL=241.17bc4b66.js.map \ No newline at end of file diff --git a/dist/js/677.bb7c2f70.js.map b/dist/js/241.17bc4b66.js.map similarity index 84% rename from dist/js/677.bb7c2f70.js.map rename to dist/js/241.17bc4b66.js.map index dee3585..79d1cba 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AAiB,CAACJ,EAAIS,GAAG,qBAAqBP,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACJ,EAAIS,GAAG,QAAQP,EAAG,OAAO,CAACE,YAAY,YAAY,CAACJ,EAAIS,GAAG,gCAAgCP,EAAG,MAAM,CAACE,YAAY,UAAU,CAACJ,EAAIS,GAAG,SAASP,EAAG,OAAO,CAACE,YAAY,SAAS,CAACJ,EAAIS,GAAG,iBAC9uB,EAAE,WAAY,IAAIT,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACQ,YAAY,CAAC,cAAc,OAAO,gBAAgB,SAAS,CAACV,EAAIS,GAAG,KAAKP,EAAG,OAAO,CAACQ,YAAY,CAAC,MAAQ,UAAU,QAAU,UAAU,CAACV,EAAIS,GAAG,QAAQT,EAAIS,GAAG,WAAWP,EAAG,OAAO,CAACE,YAAY,YAAY,CAACJ,EAAIS,GAAG,kCAC/Q,EAAE,WAAY,IAAIT,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACJ,EAAIS,GAAG,SAASP,EAAG,OAAO,CAACE,YAAY,YAAY,CAACJ,EAAIS,GAAG,iCACpJ,GCmCA,G,QAAA,CACAG,KAAA,WACAC,IAAAA,GACA,OAGA,CACA,EACAC,SAAA,CAEA,EACAC,QAAA,CACAP,aAAAA,CAAAQ,GACA,KAAAC,QAAAC,KAAA,CAAAF,KAAAA,GACA,KCtDgQ,I,UCQ5PG,GAAY,OACd,EACApB,EACAY,GACA,EACA,KACA,WACA,MAIF,EAAeQ,E","sources":["webpack://shiweisuzhou/./src/views/User/OrderPay.vue","webpack://shiweisuzhou/src/views/User/OrderPay.vue","webpack://shiweisuzhou/./src/views/User/OrderPay.vue?b8cd","webpack://shiweisuzhou/./src/views/User/OrderPay.vue?045f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_vm._m(0),_c('div',{staticClass:\"common-card\"},[_vm._m(1),_c('div',{staticClass:\"payment-method\",on:{\"click\":function($event){return _vm.selectPayment('/OrderPayB2B')}}},[_c('div',{staticClass:\"payment-name\"},[_vm._v(\"企业网银 B2B 支付\")]),_c('div',{staticClass:\"tip-text\"},[_vm._v(\"使用单位在银行开通的企业网银 B2B 功能进行支付。支持银行:农行\")])]),_c('div',{staticClass:\"payment-method\",on:{\"click\":function($event){return _vm.selectPayment('/OrderPayCode')}}},[_vm._m(2),_c('div',{staticClass:\"tip-text\"},[_vm._v(\"将供应商的收款账户和识别码提供给单位财务人员\")])]),_c('div',{staticClass:\"note\",staticStyle:{\"font-size\":\"14px\"}},[_vm._v(\" 注:识别码用于关联订单与货款,是预算任务完成的重要依据。以银行柜台汇款/国库支付/现金、支票汇款/网银等付款方式支付时,均应填写识别码 \")])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"common-card normal-margin-bottom\"},[_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"left-box\"},[_c('div',{staticClass:\"success-icon-box\"},[_c('i',{staticClass:\"el-icon-check\",staticStyle:{\"font-size\":\"30px\",\"font-weight\":\"bold\",\"color\":\"white\"}})]),_c('div',{staticStyle:{\"display\":\"flex\",\"flex-direction\":\"column\",\"justify-content\":\"space-between\"}},[_c('div',{staticClass:\"success-title\"},[_vm._v(\"订单提交成功,请尽快完成支付!\")]),_c('div',{staticClass:\"success-subtitle\"},[_vm._v(\"订单号:\"),_c('span',{staticClass:\"tip-text\"},[_vm._v(\"XD250731153300007092\")])])])]),_c('div',{staticClass:\"amount\"},[_vm._v(\"应付金额:\"),_c('span',{staticClass:\"price\"},[_vm._v(\"176.00\")])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticStyle:{\"font-weight\":\"bold\",\"margin-bottom\":\"20px\"}},[_vm._v(\"请\"),_c('span',{staticStyle:{\"color\":\"#d80200\",\"padding\":\"0 5px\"}},[_vm._v(\"点击\")]),_vm._v(\"选择支付方式 \"),_c('span',{staticClass:\"tip-text\"},[_vm._v(\"(提示:您可以先与单位的财务人员确认使用哪种支付方式)\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"payment-name\"},[_vm._v(\"识别码支付\"),_c('span',{staticClass:\"tip-text\"},[_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!./OrderPay.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!./OrderPay.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderPay.vue?vue&type=template&id=3f83c171&scoped=true\"\nimport script from \"./OrderPay.vue?vue&type=script&lang=js\"\nexport * from \"./OrderPay.vue?vue&type=script&lang=js\"\nimport style0 from \"./OrderPay.vue?vue&type=style&index=0&id=3f83c171&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 \"3f83c171\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_m","on","$event","selectPayment","_v","staticStyle","staticRenderFns","name","data","computed","methods","path","$router","push","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/241.17bc4b66.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EA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EAAIS,GAAG,SAASP,EAAG,OAAO,CAACE,YAAY,SAAS,CAACJ,EAAIS,GAAG,iBAC9uB,EAAE,WAAY,IAAIT,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACQ,YAAY,CAAC,cAAc,OAAO,gBAAgB,SAAS,CAACV,EAAIS,GAAG,KAAKP,EAAG,OAAO,CAACQ,YAAY,CAAC,MAAQ,UAAU,QAAU,UAAU,CAACV,EAAIS,GAAG,QAAQT,EAAIS,GAAG,WAAWP,EAAG,OAAO,CAACE,YAAY,YAAY,CAACJ,EAAIS,GAAG,kCAC/Q,EAAE,WAAY,IAAIT,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACJ,EAAIS,GAAG,SAASP,EAAG,OAAO,CAACE,YAAY,YAAY,CAACJ,EAAIS,GAAG,iCACpJ,GCmCA,G,QAAA,CACAG,KAAA,WACAC,IAAAA,GACA,OAGA,CACA,EACAC,SAAA,CAEA,EACAC,QAAA,CACAP,aAAAA,CAAAQ,GACA,KAAAC,QAAAC,KAAA,CAAAF,KAAAA,GACA,KCtD8R,I,SCQ1RG,GAAY,OACd,EACApB,EACAY,GACA,EACA,KACA,WACA,MAIF,EAAeQ,E","sources":["webpack://shiweisuzhou/./src/views/User/OrderPay.vue","webpack://shiweisuzhou/src/views/User/OrderPay.vue","webpack://shiweisuzhou/./src/views/User/OrderPay.vue?19a5","webpack://shiweisuzhou/./src/views/User/OrderPay.vue?d4ec"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_vm._m(0),_c('div',{staticClass:\"common-card\"},[_vm._m(1),_c('div',{staticClass:\"payment-method\",on:{\"click\":function($event){return _vm.selectPayment('/OrderPayB2B')}}},[_c('div',{staticClass:\"payment-name\"},[_vm._v(\"企业网银 B2B 支付\")]),_c('div',{staticClass:\"tip-text\"},[_vm._v(\"使用单位在银行开通的企业网银 B2B 功能进行支付。支持银行:农行\")])]),_c('div',{staticClass:\"payment-method\",on:{\"click\":function($event){return _vm.selectPayment('/OrderPayCode')}}},[_vm._m(2),_c('div',{staticClass:\"tip-text\"},[_vm._v(\"将供应商的收款账户和识别码提供给单位财务人员\")])]),_c('div',{staticClass:\"note\",staticStyle:{\"font-size\":\"14px\"}},[_vm._v(\" 注:识别码用于关联订单与货款,是预算任务完成的重要依据。以银行柜台汇款/国库支付/现金、支票汇款/网银等付款方式支付时,均应填写识别码 \")])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"common-card normal-margin-bottom\"},[_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"left-box\"},[_c('div',{staticClass:\"success-icon-box\"},[_c('i',{staticClass:\"el-icon-check\",staticStyle:{\"font-size\":\"30px\",\"font-weight\":\"bold\",\"color\":\"white\"}})]),_c('div',{staticStyle:{\"display\":\"flex\",\"flex-direction\":\"column\",\"justify-content\":\"space-between\"}},[_c('div',{staticClass:\"success-title\"},[_vm._v(\"订单提交成功,请尽快完成支付!\")]),_c('div',{staticClass:\"success-subtitle\"},[_vm._v(\"订单号:\"),_c('span',{staticClass:\"tip-text\"},[_vm._v(\"XD250731153300007092\")])])])]),_c('div',{staticClass:\"amount\"},[_vm._v(\"应付金额:\"),_c('span',{staticClass:\"price\"},[_vm._v(\"176.00\")])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticStyle:{\"font-weight\":\"bold\",\"margin-bottom\":\"20px\"}},[_vm._v(\"请\"),_c('span',{staticStyle:{\"color\":\"#d80200\",\"padding\":\"0 5px\"}},[_vm._v(\"点击\")]),_vm._v(\"选择支付方式 \"),_c('span',{staticClass:\"tip-text\"},[_vm._v(\"(提示:您可以先与单位的财务人员确认使用哪种支付方式)\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"payment-name\"},[_vm._v(\"识别码支付\"),_c('span',{staticClass:\"tip-text\"},[_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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderPay.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderPay.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderPay.vue?vue&type=template&id=3f83c171&scoped=true\"\nimport script from \"./OrderPay.vue?vue&type=script&lang=js\"\nexport * from \"./OrderPay.vue?vue&type=script&lang=js\"\nimport style0 from \"./OrderPay.vue?vue&type=style&index=0&id=3f83c171&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3f83c171\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_m","on","$event","selectPayment","_v","staticStyle","staticRenderFns","name","data","computed","methods","path","$router","push","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/244.940fed0d.js b/dist/js/244.940fed0d.js deleted file mode 100644 index aeba1e0..0000000 --- a/dist/js/244.940fed0d.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[244],{244:function(t,s,i){i.r(s),i.d(s,{default:function(){return r}});var e=function(){var t=this,s=t._self._c;return s("div",{staticClass:"bg"},[s("div",{staticClass:"flex-between",staticStyle:{"margin-bottom":"20px"}},[s("div"),s("div",{staticStyle:{color:"#d80200",cursor:"pointer"},on:{click:function(s){return t.$router.go(-1)}}},[t._v("重新选择支付方式")])]),t._m(0),t._m(1),s("div",{staticClass:"common-card"},[s("div",{staticClass:"card-header"},[s("div",[s("span",{staticStyle:{"font-size":"16px","font-weight":"bold","padding-right":"20px"}},[t._v("供应商收款账户")]),s("el-button",{attrs:{type:"success",size:"medium"}},[t._v("货款专用结算账号证明下载")])],1),s("div",{staticClass:"action-buttons"},[s("el-button",{attrs:{plain:"",type:"danger",size:"medium"}},[t._v("下载账户信息")]),s("el-button",{attrs:{plain:"",type:"danger",size:"medium"}},[t._v("查询账户信息使用")]),s("el-button",{attrs:{plain:"",type:"danger",size:"medium"}},[t._v("打印本页面")])],1)]),s("div",[s("el-descriptions",{attrs:{column:1,border:""}},[s("el-descriptions-item",{attrs:{label:"收款户名"}},[t._v("kooriookami")]),s("el-descriptions-item",{attrs:{label:"收款账号"}},[t._v("35610188000170227")]),s("el-descriptions-item",{attrs:{label:"开户银行"}},[t._v("35610188000170227")]),s("el-descriptions-item",{attrs:{label:"支付金额(元)"}},[t._v("176.00")]),s("el-descriptions-item",{attrs:{label:"识别码"}},[s("span",{staticClass:"red-text",staticStyle:{"font-weight":"bold"}},[t._v("faw2d8")])]),s("el-descriptions-item",{attrs:{label:"联行号"}},[t._v("303100000688")])],1)],1)])])},a=[function(){var t=this,s=t._self._c;return s("div",{staticClass:"common-card normal-margin-bottom"},[s("div",{staticClass:"flex-between"},[s("div",{staticClass:"left-box"},[s("div",{staticClass:"success-icon-box"},[s("i",{staticClass:"el-icon-check",staticStyle:{"font-size":"30px","font-weight":"bold",color:"white"}})]),s("div",{staticStyle:{display:"flex","flex-direction":"column","justify-content":"space-between"}},[s("div",{staticClass:"success-title"},[t._v("请将下方的"),s("span",{staticClass:"red-text"},[t._v("【供应商收款账户】")]),t._v("提供给您单位的"),s("span",{staticClass:"red-text"},[t._v("【财务人员】")]),t._v(",")]),s("div",{staticClass:"success-subtitle"},[t._v("然后由财务人员完成汇款转账。")])])]),s("div",{staticClass:"amount"},[t._v("应付金额:"),s("span",{staticClass:"price"},[t._v("176.00")])])])])},function(){var t=this,s=t._self._c;return s("div",{staticClass:"common-card normal-margin-bottom"},[s("div",{staticClass:"tips-title"},[t._v("温馨提示:")]),s("ul",{staticClass:"tips-list"},[s("li",[t._v("本页面仅展示供应商的收款账户信息,不需要进行操作;")]),s("li",[t._v("为确保资金安全,该订单支付只能向此账户汇款,不得向供应商线下提供的任何银行账户汇款;")]),s("li",[t._v(" 为确保及时对账匹配付款信息,付款时请务必在汇款单的“用途/备注/摘要/附言”处添加识别码,添加内容不超过36个汉字且不能填写任何特殊字符,正确填写方式可参考如下或 "),s("a",{staticClass:"download-link",attrs:{href:"#"}},[t._v("下载汇款单示例")])])]),s("div",{staticClass:"example-section"},[t._v(" 仅填写识别码:"),s("span",{staticClass:"red-text"},[t._v("faw2d8")])]),s("div",{staticClass:"example-section"},[t._v(" 若您的汇款行或付款机构对于添加内容有“不得输入纯数字或纯字母”的要求,可在识别码前增加“货款”二字后再录入,如:货款"),s("span",{staticClass:"red-text"},[t._v("faw2d8")])])])}],l={name:"OrderPayCode",data(){return{}},computed:{},methods:{}},c=l,n=i(1656),o=(0,n.A)(c,e,a,!1,null,"83cee338",null),r=o.exports}}]); -//# sourceMappingURL=244.940fed0d.js.map \ No newline at end of file diff --git a/dist/js/29.2ece41d9.js b/dist/js/29.2ece41d9.js deleted file mode 100644 index 73bc396..0000000 --- a/dist/js/29.2ece41d9.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[29],{3029:function(e,t,s){s.r(t),s.d(t,{default:function(){return c}});var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"register-page"},[e._m(0),t("div",{staticClass:"form-container"},[t("h2",{staticClass:"form-title"},[e._v("注册页")]),t("el-form",{ref:"registerForm",staticClass:"register-form",attrs:{model:e.form,rules:e.rules,"label-width":"80px"}},[t("el-form-item",{attrs:{label:"手机号码",prop:"phone"}},[t("el-input",{attrs:{placeholder:"请输入手机号码",clearable:"","prefix-icon":"el-icon-phone"},model:{value:e.form.phone,callback:function(t){e.$set(e.form,"phone",t)},expression:"form.phone"}})],1),t("el-form-item",{attrs:{label:"手机验证码",prop:"code"}},[t("el-input",{staticStyle:{width:"60%"},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:"success",disabled:e.codeBtnDisabled},on:{click:e.handleGetCode}},[e._v(" "+e._s(e.codeBtnText)+" ")])],1),t("el-form-item",{attrs:{label:"用户名",prop:"username"}},[t("el-input",{attrs:{placeholder:"账户唯一识别,可用来登录",clearable:"","prefix-icon":"el-icon-user"},model:{value:e.form.username,callback:function(t){e.$set(e.form,"username",t)},expression:"form.username"}}),t("div",{staticClass:"form-tip"},[e._v(" 请输入4-32位字符,只能包含英文字母、数字和下划线,不能为纯数字/不能为纯下划线 ")])],1),t("el-form-item",{attrs:{label:"设重密码",prop:"password"}},[t("el-input",{attrs:{type:"password",placeholder:"请设置登录密码",clearable:"","prefix-icon":"el-icon-lock"},on:{input:e.handlePasswordInput},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}}),t("div",{staticClass:"form-tip"},[e._v(" 请输入8-30位密码,密码必须同时包含字母和数字 ")])],1),t("el-form-item",{attrs:{label:"确认密码",prop:"confirmPassword"}},[t("el-input",{attrs:{type:"password",placeholder:"请再次输入登录密码",clearable:"","prefix-icon":"el-icon-lock"},model:{value:e.form.confirmPassword,callback:function(t){e.$set(e.form,"confirmPassword",t)},expression:"form.confirmPassword"}}),t("div",{staticClass:"form-tip"},[e._v("请与上方填写的密码保持一致")])],1),t("el-form-item",[t("el-checkbox",{staticClass:"agreement-checkbox",model:{value:e.agreement,callback:function(t){e.agreement=t},expression:"agreement"}},[e._v(" 我已阅读并同意 "),t("router-link",{staticClass:"protocol-link",attrs:{to:"javascript:;"}},[e._v("《用户注册协议》")]),e._v(" 《"),t("router-link",{staticClass:"protocol-link",attrs:{to:"javascript:;"}},[e._v("隐私协议")]),e._v("》 ")],1)],1),t("el-form-item",[t("el-button",{staticClass:"register-btn",attrs:{type:"primary",disabled:!e.agreement||e.submitting},on:{click:e.handleRegister}},[e._v(" "+e._s(e.submitting?"注册中...":"立即注册")+" ")])],1),e._e()],1)],1)])},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"header"},[t("div",{staticClass:"logo-area"},[t("img",{staticClass:"logo-img",attrs:{src:s(3153),alt:"logo"}}),t("span",{staticClass:"domain"},[e._v("yunming.com")])]),t("div",{staticClass:"hotline"},[e._v("400-123-4xxx")])])}],o={name:"RegisterPage",data(){const e=(e,t,s)=>{/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,30}$/.test(t)?s():s(new Error("请输入8-30位密码,必须同时包含字母和数字"))},t=(e,t,s)=>{/^(?!_+$)(?!\d+$)[a-zA-Z0-9_]{4,32}$/.test(t)?s():s(new Error("请输入4-32位字符,只能包含字母、数字和下划线,不能为纯数字/纯下划线"))};return{form:{phone:"",code:"",username:"",password:"",confirmPassword:""},rules:{phone:[{required:!0,message:"请输入手机号码",trigger:"blur"},{pattern:/^1\d{10}$/,message:"请输入正确的手机号码格式",trigger:"blur"}],code:[{required:!0,message:"请输入验证码",trigger:"blur"},{pattern:/^\d{6}$/,message:"请输入6位数字验证码",trigger:"blur"}],username:[{required:!0,message:"请输入用户名",trigger:"blur"},{validator:t,trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"},{validator:e,trigger:"blur"}],confirmPassword:[{required:!0,message:"请确认密码",trigger:"blur"},{validator:(e,t,s)=>{t!==this.form.password?s(new Error("两次输入密码不一致")):s()},trigger:"blur"}]},agreement:!1,codeBtnText:"获取验证码",codeBtnDisabled:!1,submitting:!1,countdown:60}},methods:{handleGetCode(){if(!this.form.phone)return void this.$message.warning("请先输入手机号码");this.codeBtnDisabled=!0,this.codeBtnText=`重新发送(${this.countdown}s)`;const e=setInterval(()=>{this.countdown--,this.codeBtnText=`重新发送(${this.countdown}s)`,this.countdown<=0&&(clearInterval(e),this.codeBtnText="获取验证码",this.codeBtnDisabled=!1,this.countdown=60)},1e3)},handlePasswordInput(){},handleRegister(){this.$refs.registerForm.validate(e=>{e&&this.agreement?(this.submitting=!0,setTimeout(()=>{this.$message.success("注册成功!"),this.submitting=!1},1500)):this.agreement||this.$message.warning("请勾选用户协议")})}}},i=o,l=s(1656),n=(0,l.A)(i,r,a,!1,null,"4e3838a4",null),c=n.exports}}]); -//# sourceMappingURL=29.2ece41d9.js.map \ No newline at end of file diff --git a/dist/js/29.2ece41d9.js.map b/dist/js/29.2ece41d9.js.map deleted file mode 100644 index a72fe2e..0000000 --- a/dist/js/29.2ece41d9.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/29.2ece41d9.js","mappings":"mKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACJ,EAAIK,GAAG,GAAGH,EAAG,MAAM,CAACE,YAAY,kBAAkB,CAACF,EAAG,KAAK,CAACE,YAAY,cAAc,CAACJ,EAAIM,GAAG,SAASJ,EAAG,UAAU,CAACK,IAAI,eAAeH,YAAY,gBAAgBI,MAAM,CAAC,MAAQR,EAAIS,KAAK,MAAQT,EAAIU,MAAM,cAAc,SAAS,CAACR,EAAG,eAAe,CAACM,MAAM,CAAC,MAAQ,OAAO,KAAO,UAAU,CAACN,EAAG,WAAW,CAACM,MAAM,CAAC,YAAc,UAAU,UAAY,GAAG,cAAc,iBAAiBG,MAAM,CAACC,MAAOZ,EAAIS,KAAKI,MAAOC,SAAS,SAAUC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AAA,EACA,KAAAI,YAAA,aAAAuB,cACA,MAAAI,EAAAC,YAAA,KACA,KAAAL,YACA,KAAAvB,YAAA,aAAAuB,cACA,KAAAA,WAAA,IACAM,cAAAF,GACA,KAAA3B,YAAA,QACA,KAAAJ,iBAAA,EACA,KAAA2B,UAAA,KAEA,IAGA,EAGArB,mBAAAA,GACA,EAIAK,cAAAA,GACA,KAAAuB,MAAAC,aAAAC,SAAAC,IACAA,GAAA,KAAA5B,WACA,KAAAC,YAAA,EAEA4B,WAAA,KACA,KAAAT,SAAAU,QAAA,SACA,KAAA7B,YAAA,GAKA,OACA,KAAAD,WACA,KAAAoB,SAAAC,QAAA,YAGA,IC9PuP,I,UCQnPU,GAAY,OACd,EACA7D,EACAkC,GACA,EACA,KACA,WACA,MAIF,EAAe2B,E","sources":["webpack://shiweisuzhou/./src/views/Register.vue","webpack://shiweisuzhou/src/views/Register.vue","webpack://shiweisuzhou/./src/views/Register.vue?517e","webpack://shiweisuzhou/./src/views/Register.vue?65fd"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"register-page\"},[_vm._m(0),_c('div',{staticClass:\"form-container\"},[_c('h2',{staticClass:\"form-title\"},[_vm._v(\"注册页\")]),_c('el-form',{ref:\"registerForm\",staticClass:\"register-form\",attrs:{\"model\":_vm.form,\"rules\":_vm.rules,\"label-width\":\"80px\"}},[_c('el-form-item',{attrs:{\"label\":\"手机号码\",\"prop\":\"phone\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入手机号码\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-phone\"},model:{value:(_vm.form.phone),callback:function ($$v) {_vm.$set(_vm.form, \"phone\", $$v)},expression:\"form.phone\"}})],1),_c('el-form-item',{attrs:{\"label\":\"手机验证码\",\"prop\":\"code\"}},[_c('el-input',{staticStyle:{\"width\":\"60%\"},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\":\"success\",\"disabled\":_vm.codeBtnDisabled},on:{\"click\":_vm.handleGetCode}},[_vm._v(\" \"+_vm._s(_vm.codeBtnText)+\" \")])],1),_c('el-form-item',{attrs:{\"label\":\"用户名\",\"prop\":\"username\"}},[_c('el-input',{attrs:{\"placeholder\":\"账户唯一识别,可用来登录\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-user\"},model:{value:(_vm.form.username),callback:function ($$v) {_vm.$set(_vm.form, \"username\", $$v)},expression:\"form.username\"}}),_c('div',{staticClass:\"form-tip\"},[_vm._v(\" 请输入4-32位字符,只能包含英文字母、数字和下划线,不能为纯数字/不能为纯下划线 \")])],1),_c('el-form-item',{attrs:{\"label\":\"设重密码\",\"prop\":\"password\"}},[_c('el-input',{attrs:{\"type\":\"password\",\"placeholder\":\"请设置登录密码\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-lock\"},on:{\"input\":_vm.handlePasswordInput},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}}),_c('div',{staticClass:\"form-tip\"},[_vm._v(\" 请输入8-30位密码,密码必须同时包含字母和数字 \")])],1),_c('el-form-item',{attrs:{\"label\":\"确认密码\",\"prop\":\"confirmPassword\"}},[_c('el-input',{attrs:{\"type\":\"password\",\"placeholder\":\"请再次输入登录密码\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-lock\"},model:{value:(_vm.form.confirmPassword),callback:function ($$v) {_vm.$set(_vm.form, \"confirmPassword\", $$v)},expression:\"form.confirmPassword\"}}),_c('div',{staticClass:\"form-tip\"},[_vm._v(\"请与上方填写的密码保持一致\")])],1),_c('el-form-item',[_c('el-checkbox',{staticClass:\"agreement-checkbox\",model:{value:(_vm.agreement),callback:function ($$v) {_vm.agreement=$$v},expression:\"agreement\"}},[_vm._v(\" 我已阅读并同意 \"),_c('router-link',{staticClass:\"protocol-link\",attrs:{\"to\":\"javascript:;\"}},[_vm._v(\"《用户注册协议》\")]),_vm._v(\" 《\"),_c('router-link',{staticClass:\"protocol-link\",attrs:{\"to\":\"javascript:;\"}},[_vm._v(\"隐私协议\")]),_vm._v(\"》 \")],1)],1),_c('el-form-item',[_c('el-button',{staticClass:\"register-btn\",attrs:{\"type\":\"primary\",\"disabled\":!_vm.agreement || _vm.submitting},on:{\"click\":_vm.handleRegister}},[_vm._v(\" \"+_vm._s(_vm.submitting ? \"注册中...\" : \"立即注册\")+\" \")])],1),(false)?_c('div',{staticClass:\"bottom-tip\"},[_vm._v(\" 如需注册供应商请点击 \"),_c('router-link',{staticClass:\"supplier-link\",attrs:{\"to\":\"javascript:;\"}},[_vm._v(\"这里\")])],1):_vm._e()],1)],1)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"logo-area\"},[_c('img',{staticClass:\"logo-img\",attrs:{\"src\":require(\"@/assets/logo.png\"),\"alt\":\"logo\"}}),_c('span',{staticClass:\"domain\"},[_vm._v(\"yunming.com\")])]),_c('div',{staticClass:\"hotline\"},[_vm._v(\"400-123-4xxx\")])])\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!./Register.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!./Register.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Register.vue?vue&type=template&id=4e3838a4&scoped=true\"\nimport script from \"./Register.vue?vue&type=script&lang=js\"\nexport * from \"./Register.vue?vue&type=script&lang=js\"\nimport style0 from \"./Register.vue?vue&type=style&index=0&id=4e3838a4&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 \"4e3838a4\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_m","_v","ref","attrs","form","rules","model","value","phone","callback","$$v","$set","expression","staticStyle","code","codeBtnDisabled","on","handleGetCode","_s","codeBtnText","username","handlePasswordInput","password","confirmPassword","agreement","submitting","handleRegister","_e","staticRenderFns","require","name","data","validatePassword","rule","test","Error","validateUsername","required","message","trigger","pattern","validator","countdown","methods","$message","warning","timer","setInterval","clearInterval","$refs","registerForm","validate","valid","setTimeout","success","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/33.ca85dca8.js b/dist/js/33.ca85dca8.js deleted file mode 100644 index 0d39cff..0000000 --- a/dist/js/33.ca85dca8.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[33],{4033:function(t,s,e){e.r(s),e.d(s,{default:function(){return r}});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"bg"},[s("el-card",{staticStyle:{width:"100%"}},[s("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[s("span",[t._v("个人信息")]),s("el-button",{staticStyle:{float:"right",color:"#999"},attrs:{type:"text",icon:"el-icon-delete"}},[t._v("批量删除")])],1),s("el-checkbox-group",{model:{value:t.checkList,callback:function(s){t.checkList=s},expression:"checkList"}},t._l(t.historyData,function(e,a){return s("div",{key:a,staticClass:"date-container"},[s("div",{staticClass:"head-date"},[t._v(" "+t._s(e.date)+" "),s("span",{staticClass:"goods-num"},[t._v(t._s(e.goods.length)+"件商品")])]),s("div",{staticClass:"goods-container"},t._l(15,function(a,i){return s("div",{key:i,staticClass:"goods-item"},[s("img",{staticClass:"goods-img",attrs:{src:e.goods[0].image}}),s("div",{staticClass:"goods-content"},[s("div",{staticClass:"price"},[t._v(t._s(e.goods[0].price))]),s("div",{staticClass:"text-overflowRows"},[t._v(t._s(e.goods[0].name))])])])}),0)])}),0)],1)],1)},i=[],o={name:"UserInfo",data(){return{historyData:[{date:"06.10",goods:[{image:"https://picsum.photos/300/200?random=1",price:359,name:"产品标题产品标题"}]}],checkList:[]}},methods:{}},c=o,n=e(1656),l=(0,n.A)(c,a,i,!1,null,"137fe55c",null),r=l.exports}}]); -//# sourceMappingURL=33.ca85dca8.js.map \ No newline at end of file diff --git a/dist/js/33.ca85dca8.js.map b/dist/js/33.ca85dca8.js.map deleted file mode 100644 index 7767c58..0000000 --- a/dist/js/33.ca85dca8.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/33.ca85dca8.js","mappings":"mKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,UAAU,CAACG,YAAY,CAAC,MAAQ,SAAS,CAACH,EAAG,MAAM,CAACE,YAAY,WAAWE,MAAM,CAAC,KAAO,UAAUC,KAAK,UAAU,CAACL,EAAG,OAAO,CAACF,EAAIQ,GAAG,UAAUN,EAAG,YAAY,CAACG,YAAY,CAAC,MAAQ,QAAQ,MAAQ,QAAQC,MAAM,CAAC,KAAO,OAAO,KAAO,mBAAmB,CAACN,EAAIQ,GAAG,WAAW,GAAGN,EAAG,oBAAoB,CAACO,MAAM,CAACC,MAAOV,EAAIW,UAAWC,SAAS,SAAUC,GAAMb,EAAIW,UAAUE,CAAG,EAAEC,WAAW,cAAcd,EAAIe,GAAIf,EAAIgB,YAAa,SAASC,EAAKC,GAAG,OAAOhB,EAAG,MAAM,CAACiB,IAAID,EAAEd,YAAY,kBAAkB,CAACF,EAAG,MAAM,CAACE,YAAY,aAAa,CAACJ,EAAIQ,GAAG,IAAIR,EAAIoB,GAAGH,EAAKI,MAAM,KAAKnB,EAAG,OAAO,CAACE,YAAY,aAAa,CAACJ,EAAIQ,GAAGR,EAAIoB,GAAGH,EAAKK,MAAMC,QAAQ,WAAWrB,EAAG,MAAM,CAACE,YAAY,mBAAmBJ,EAAIe,GAAI,GAAI,SAASO,EAAME,GAAO,OAAOtB,EAAG,MAAM,CAACiB,IAAIK,EAAMpB,YAAY,cAAc,CAACF,EAAG,MAAM,CAACE,YAAY,YAAYE,MAAM,CAAC,IAAMW,EAAKK,MAAM,GAAGG,SAASvB,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,MAAM,CAACE,YAAY,SAAS,CAACJ,EAAIQ,GAAGR,EAAIoB,GAAGH,EAAKK,MAAM,GAAGI,UAAUxB,EAAG,MAAM,CAACE,YAAY,qBAAqB,CAACJ,EAAIQ,GAAGR,EAAIoB,GAAGH,EAAKK,MAAM,GAAGK,YAAY,GAAG,IAAI,GAAG,IAAI,IAAI,EAChoC,EACIC,EAAkB,GCoCtB,GACAD,KAAA,WACAE,IAAAA,GACA,OACAb,YAAA,CACA,CACAK,KAAA,QACAC,MAAA,EAAAG,MAAA,yCAAAC,MAAA,IAAAC,KAAA,eAGAhB,UAAA,GAEA,EACAmB,QAAA,CAEA,GCrDmQ,I,UCQ/PC,GAAY,OACd,EACAhC,EACA6B,GACA,EACA,KACA,WACA,MAIF,EAAeG,E","sources":["webpack://shiweisuzhou/./src/views/User/ViewHistory.vue","webpack://shiweisuzhou/src/views/User/ViewHistory.vue","webpack://shiweisuzhou/./src/views/User/ViewHistory.vue?6e3e","webpack://shiweisuzhou/./src/views/User/ViewHistory.vue?6685"],"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\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\"个人信息\")]),_c('el-button',{staticStyle:{\"float\":\"right\",\"color\":\"#999\"},attrs:{\"type\":\"text\",\"icon\":\"el-icon-delete\"}},[_vm._v(\"批量删除\")])],1),_c('el-checkbox-group',{model:{value:(_vm.checkList),callback:function ($$v) {_vm.checkList=$$v},expression:\"checkList\"}},_vm._l((_vm.historyData),function(item,i){return _c('div',{key:i,staticClass:\"date-container\"},[_c('div',{staticClass:\"head-date\"},[_vm._v(\" \"+_vm._s(item.date)+\" \"),_c('span',{staticClass:\"goods-num\"},[_vm._v(_vm._s(item.goods.length)+\"件商品\")])]),_c('div',{staticClass:\"goods-container\"},_vm._l((15),function(goods,itemI){return _c('div',{key:itemI,staticClass:\"goods-item\"},[_c('img',{staticClass:\"goods-img\",attrs:{\"src\":item.goods[0].image}}),_c('div',{staticClass:\"goods-content\"},[_c('div',{staticClass:\"price\"},[_vm._v(_vm._s(item.goods[0].price))]),_c('div',{staticClass:\"text-overflowRows\"},[_vm._v(_vm._s(item.goods[0].name))])])])}),0)])}),0)],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!./ViewHistory.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!./ViewHistory.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ViewHistory.vue?vue&type=template&id=137fe55c&scoped=true\"\nimport script from \"./ViewHistory.vue?vue&type=script&lang=js\"\nexport * from \"./ViewHistory.vue?vue&type=script&lang=js\"\nimport style0 from \"./ViewHistory.vue?vue&type=style&index=0&id=137fe55c&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 \"137fe55c\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","attrs","slot","_v","model","value","checkList","callback","$$v","expression","_l","historyData","item","i","key","_s","date","goods","length","itemI","image","price","name","staticRenderFns","data","methods","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/339.793917b1.js b/dist/js/339.793917b1.js new file mode 100644 index 0000000..78261bc --- /dev/null +++ b/dist/js/339.793917b1.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[339],{8977: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(845),n=(0,c.A)(o,a,e,!1,null,"71ee3626",null),l=n.exports},9339: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(8977),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(845),p=(0,l.A)(n,a,e,!1,null,"34d6a3aa",null),d=p.exports}}]); +//# sourceMappingURL=339.793917b1.js.map \ No newline at end of file diff --git a/dist/js/339.793917b1.js.map b/dist/js/339.793917b1.js.map new file mode 100644 index 0000000..ad6e276 --- /dev/null +++ b/dist/js/339.793917b1.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/339.793917b1.js","mappings":"uJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgBJ,EAAIK,GAAIL,EAAIM,SAAU,SAASC,GAAS,OAAOL,EAAG,cAAc,CAACM,IAAID,EAAQE,GAAGL,YAAY,eAAeM,MAAM,CAAC,GAAK,WAAWH,EAAQE,OAAO,CAACP,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACS,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOP,EAAQQ,QAASC,WAAW,oBAAoBZ,YAAY,cAAcM,MAAM,CAAC,IAAMH,EAAQU,WAAWf,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,OAAO,CAACE,YAAY,iBAAiB,CAACJ,E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AA,GAEA,CACAzC,GAAA,GACAG,KAAA,MACAQ,MAAA,IACA4B,cAAA,IACAC,MAAA,0CACA1B,MAAA,IACA2B,WAAA,IAIA,EACAC,SAAA,KACAC,EAAAA,EAAAA,IAAA,mBACAjB,UAAAA,GACA,YAAAkB,aACA,GAEAC,OAAAA,GACA,KAAAC,iBACA,EACAvB,QAAA,KACAwB,EAAAA,EAAAA,IAAA,uBCnOiR,I,SCQ7QvB,GAAY,OACd,EACAlC,EACA4B,GACA,EACA,KACA,WACA,MAIF,EAAeM,E","sources":["webpack://shiweisuzhou/./src/components/product/ProductList.vue","webpack://shiweisuzhou/src/components/product/ProductList.vue","webpack://shiweisuzhou/./src/components/product/ProductList.vue?9721","webpack://shiweisuzhou/./src/components/product/ProductList.vue?97f4","webpack://shiweisuzhou/./src/views/Home.vue","webpack://shiweisuzhou/src/views/Home.vue","webpack://shiweisuzhou/./src/views/Home.vue?4a62","webpack://shiweisuzhou/./src/views/Home.vue?c6a5"],"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/cli-service/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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductList.vue?vue&type=template&id=71ee3626&scoped=true\"\nimport script from \"./ProductList.vue?vue&type=script&lang=js\"\nexport * from \"./ProductList.vue?vue&type=script&lang=js\"\nimport style0 from \"./ProductList.vue?vue&type=style&index=0&id=71ee3626&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"71ee3626\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"home-page\"},[_c('el-carousel',{staticClass:\"home-carousel\",attrs:{\"height\":\"500px\",\"indicator-position\":\"outside\"}},_vm._l((4),function(item){return _c('el-carousel-item',{key:item},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(`https://picsum.photos/1200/500?random=${item}`),expression:\"`https://picsum.photos/1200/500?random=${item}`\"}],staticClass:\"carousel-img\",attrs:{\"alt\":\"轮播图片\"}})])}),1),_c('div',{staticClass:\"category-nav\"},[_c('h2',{staticClass:\"section-title\"},[_vm._v(\"商品分类\")]),_c('div',{staticClass:\"category-list\"},_vm._l((_vm.categories),function(category){return _c('div',{key:category.id,staticClass:\"category-item\",on:{\"click\":function($event){return _vm.$router.push(`/category/${category.id}`)}}},[_c('el-icon',{staticClass:\"category-icon\",attrs:{\"name\":category.icon}}),_c('span',{staticClass:\"category-name\"},[_vm._v(_vm._s(category.name))])],1)}),0)]),_c('div',{staticClass:\"hot-products\"},[_vm._m(0),_c('ProductList',{attrs:{\"products\":_vm.hotProducts}})],1),_c('div',{staticClass:\"new-products\"},[_vm._m(1),_c('ProductList',{attrs:{\"products\":_vm.newProducts}})],1),_c('div',{staticClass:\"promotion-section\"},[_c('h2',{staticClass:\"section-title\"},[_vm._v(\"限时促销\")]),_c('div',{staticClass:\"promotion-container\"},[_c('div',{staticClass:\"promotion-item\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(`https://picsum.photos/600/300?random=10`),expression:\"`https://picsum.photos/600/300?random=10`\"}],staticClass:\"promotion-img\",attrs:{\"alt\":\"促销活动图片\"}}),_c('div',{staticClass:\"promotion-info\"},[_c('h3',[_vm._v(\"夏季大促\")]),_c('p',[_vm._v(\"全场商品低至5折\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"}},[_vm._v(\"立即抢购\")])],1)]),_c('div',{staticClass:\"promotion-item\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(`https://picsum.photos/600/300?random=11`),expression:\"`https://picsum.photos/600/300?random=11`\"}],staticClass:\"promotion-img\",attrs:{\"alt\":\"促销活动图片\"}}),_c('div',{staticClass:\"promotion-info\"},[_c('h3',[_vm._v(\"新品首发\")]),_c('p',[_vm._v(\"限量发售,先到先得\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"}},[_vm._v(\"立即抢购\")])],1)])])])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"section-header\"},[_c('h2',{staticClass:\"section-title\"},[_vm._v(\"热门商品\")]),_c('a',{staticClass:\"more-link\",attrs:{\"href\":\"#\"}},[_vm._v(\"查看更多 \"),_c('i',{staticClass:\"el-icon-arrow-right\"})])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"section-header\"},[_c('h2',{staticClass:\"section-title\"},[_vm._v(\"新品上市\")]),_c('a',{staticClass:\"more-link\",attrs:{\"href\":\"#\"}},[_vm._v(\"查看更多 \"),_c('i',{staticClass:\"el-icon-arrow-right\"})])])\n}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/cli-service/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/cli-service/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/cli-service/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/169.33f72ed2.js b/dist/js/359.9bec58e0.js similarity index 83% rename from dist/js/169.33f72ed2.js rename to dist/js/359.9bec58e0.js index e8310c1..8ea9e4b 100644 --- a/dist/js/169.33f72ed2.js +++ b/dist/js/359.9bec58e0.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[169],{7169:function(t,s,i){i.r(s),i.d(s,{default:function(){return u}});var e=function(){var t=this,s=t._self._c;return s("div",{staticClass:"bg"},[t._m(0),s("div",{staticClass:"tip-text"},[s("div",[t._v("订单提交成功!")]),s("div",[t._v("请您到"),s("router-link",{attrs:{to:"/User/OrderList"}},[t._v("采购人中心>我的订单")]),t._v("中查看订单发货进度")],1)]),s("div",{staticClass:"bottom-btn"},[t._v("查看我的订单")]),s("div",{staticClass:"bottom-btn back-index"},[t._v("返回首页,再逛逛")])])},a=[function(){var t=this,s=t._self._c;return s("div",{staticClass:"success-icon-box"},[s("i",{staticClass:"el-icon-check",staticStyle:{"font-size":"30px","font-weight":"bold",color:"white"}})])}],c={name:"OrderPayCode",data(){return{}},computed:{},methods:{}},n=c,o=i(1656),r=(0,o.A)(n,e,a,!1,null,"3f425fd0",null),u=r.exports}}]); -//# sourceMappingURL=169.33f72ed2.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[359],{5359:function(t,s,i){i.r(s),i.d(s,{default:function(){return u}});var e=function(){var t=this,s=t._self._c;return s("div",{staticClass:"bg"},[t._m(0),s("div",{staticClass:"tip-text"},[s("div",[t._v("订单提交成功!")]),s("div",[t._v("请您到"),s("router-link",{attrs:{to:"/User/OrderList"}},[t._v("采购人中心>我的订单")]),t._v("中查看订单发货进度")],1)]),s("div",{staticClass:"bottom-btn"},[t._v("查看我的订单")]),s("div",{staticClass:"bottom-btn back-index"},[t._v("返回首页,再逛逛")])])},a=[function(){var t=this,s=t._self._c;return s("div",{staticClass:"success-icon-box"},[s("i",{staticClass:"el-icon-check",staticStyle:{"font-size":"30px","font-weight":"bold",color:"white"}})])}],c={name:"OrderPayCode",data(){return{}},computed:{},methods:{}},n=c,o=i(845),r=(0,o.A)(n,e,a,!1,null,"3f425fd0",null),u=r.exports}}]); +//# sourceMappingURL=359.9bec58e0.js.map \ No newline at end of file diff --git a/dist/js/169.33f72ed2.js.map b/dist/js/359.9bec58e0.js.map similarity index 70% rename from dist/js/169.33f72ed2.js.map rename to dist/js/359.9bec58e0.js.map index 7903c8d..7fa1be3 100644 --- a/dist/js/169.33f72ed2.js.map +++ b/dist/js/359.9bec58e0.js.map @@ -1 +1 @@ -{"version":3,"file":"js/169.33f72ed2.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACJ,EAAIK,GAAG,GAAGH,EAAG,MAAM,CAACE,YAAY,YAAY,CAACF,EAAG,MAAM,CAACF,EAAIM,GAAG,aAAaJ,EAAG,MAAM,CAACF,EAAIM,GAAG,OAAOJ,EAAG,cAAc,CAACK,MAAM,CAAC,GAAK,oBAAoB,CAACP,EAAIM,GAAG,gBAAgBN,EAAIM,GAAG,cAAc,KAAKJ,EAAG,MAAM,CAACE,YAAY,cAAc,CAACJ,EAAIM,GAAG,YAAYJ,EAAG,MAAM,CAACE,YAAY,yBAAyB,CAACJ,EAAIM,GAAG,eACtZ,EACIE,EAAkB,CAAC,WAAY,IAAIR,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,IAAI,CAACE,YAAY,gBAAgBK,YAAY,CAAC,YAAY,OAAO,cAAc,OAAO,MAAQ,YACnN,GCeA,GACAC,KAAA,eACAC,IAAAA,GACA,OAGA,CACA,EACAC,SAAA,CAEA,EACAC,QAAA,CAEA,GC/BuQ,I,UCQnQC,GAAY,OACd,EACAf,EACAS,GACA,EACA,KACA,WACA,MAIF,EAAeM,E","sources":["webpack://shiweisuzhou/./src/views/User/OrderPaySuccess.vue","webpack://shiweisuzhou/src/views/User/OrderPaySuccess.vue","webpack://shiweisuzhou/./src/views/User/OrderPaySuccess.vue?b701","webpack://shiweisuzhou/./src/views/User/OrderPaySuccess.vue?6f58"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_vm._m(0),_c('div',{staticClass:\"tip-text\"},[_c('div',[_vm._v(\"订单提交成功!\")]),_c('div',[_vm._v(\"请您到\"),_c('router-link',{attrs:{\"to\":\"/User/OrderList\"}},[_vm._v(\"采购人中心>我的订单\")]),_vm._v(\"中查看订单发货进度\")],1)]),_c('div',{staticClass:\"bottom-btn\"},[_vm._v(\"查看我的订单\")]),_c('div',{staticClass:\"bottom-btn back-index\"},[_vm._v(\"返回首页,再逛逛\")])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"success-icon-box\"},[_c('i',{staticClass:\"el-icon-check\",staticStyle:{\"font-size\":\"30px\",\"font-weight\":\"bold\",\"color\":\"white\"}})])\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!./OrderPaySuccess.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!./OrderPaySuccess.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderPaySuccess.vue?vue&type=template&id=3f425fd0&scoped=true\"\nimport script from \"./OrderPaySuccess.vue?vue&type=script&lang=js\"\nexport * from \"./OrderPaySuccess.vue?vue&type=script&lang=js\"\nimport style0 from \"./OrderPaySuccess.vue?vue&type=style&index=0&id=3f425fd0&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 \"3f425fd0\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_m","_v","attrs","staticRenderFns","staticStyle","name","data","computed","methods","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/359.9bec58e0.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACJ,EAAIK,GAAG,GAAGH,EAAG,MAAM,CAACE,YAAY,YAAY,CAACF,EAAG,MAAM,CAACF,EAAIM,GAAG,aAAaJ,EAAG,MAAM,CAACF,EAAIM,GAAG,OAAOJ,EAAG,cAAc,CAACK,MAAM,CAAC,GAAK,oBAAoB,CAACP,EAAIM,GAAG,gBAAgBN,EAAIM,GAAG,cAAc,KAAKJ,EAAG,MAAM,CAACE,YAAY,cAAc,CAACJ,EAAIM,GAAG,YAAYJ,EAAG,MAAM,CAACE,YAAY,yBAAyB,CAACJ,EAAIM,GAAG,eACtZ,EACIE,EAAkB,CAAC,WAAY,IAAIR,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,IAAI,CAACE,YAAY,gBAAgBK,YAAY,CAAC,YAAY,OAAO,cAAc,OAAO,MAAQ,YACnN,GCeA,GACAC,KAAA,eACAC,IAAAA,GACA,OAGA,CACA,EACAC,SAAA,CAEA,EACAC,QAAA,CAEA,GC/BqS,I,SCQjSC,GAAY,OACd,EACAf,EACAS,GACA,EACA,KACA,WACA,MAIF,EAAeM,E","sources":["webpack://shiweisuzhou/./src/views/User/OrderPaySuccess.vue","webpack://shiweisuzhou/src/views/User/OrderPaySuccess.vue","webpack://shiweisuzhou/./src/views/User/OrderPaySuccess.vue?6296","webpack://shiweisuzhou/./src/views/User/OrderPaySuccess.vue?b96c"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_vm._m(0),_c('div',{staticClass:\"tip-text\"},[_c('div',[_vm._v(\"订单提交成功!\")]),_c('div',[_vm._v(\"请您到\"),_c('router-link',{attrs:{\"to\":\"/User/OrderList\"}},[_vm._v(\"采购人中心>我的订单\")]),_vm._v(\"中查看订单发货进度\")],1)]),_c('div',{staticClass:\"bottom-btn\"},[_vm._v(\"查看我的订单\")]),_c('div',{staticClass:\"bottom-btn back-index\"},[_vm._v(\"返回首页,再逛逛\")])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"success-icon-box\"},[_c('i',{staticClass:\"el-icon-check\",staticStyle:{\"font-size\":\"30px\",\"font-weight\":\"bold\",\"color\":\"white\"}})])\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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderPaySuccess.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderPaySuccess.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderPaySuccess.vue?vue&type=template&id=3f425fd0&scoped=true\"\nimport script from \"./OrderPaySuccess.vue?vue&type=script&lang=js\"\nexport * from \"./OrderPaySuccess.vue?vue&type=script&lang=js\"\nimport style0 from \"./OrderPaySuccess.vue?vue&type=style&index=0&id=3f425fd0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3f425fd0\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_m","_v","attrs","staticRenderFns","staticStyle","name","data","computed","methods","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/452.0b1eacbe.js b/dist/js/395.bf4b57c0.js similarity index 95% rename from dist/js/452.0b1eacbe.js rename to dist/js/395.bf4b57c0.js index 22723ad..256421d 100644 --- a/dist/js/452.0b1eacbe.js +++ b/dist/js/395.bf4b57c0.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[452],{1452:function(t,i,s){s.r(i),s.d(i,{default:function(){return r}});var a=function(){var t=this,i=t._self._c;return i("div",{staticClass:"bg"},[i("div",{staticClass:"flex-between",staticStyle:{"margin-bottom":"20px"}},[i("div"),i("div",{staticStyle:{color:"#d80200",cursor:"pointer"},on:{click:function(i){return t.$router.go(-1)}}},[t._v("重新选择支付方式")])]),t._m(0),i("div",{staticClass:"common-card"},[i("div",{staticClass:"grid-container"},t._l(23,function(s){return i("div",{key:s,staticClass:"bank-img",on:{click:function(i){t.activeIndex=s}}},[i("img",{staticClass:"bank-img",attrs:{src:"https://static.ticket.sz-trip.com/uploads/20250627/08ca7d74f5a7c6299bc72f29a27c918e.png"}}),t.activeIndex==s?i("div",{staticClass:"hover-box"}):t._e()])}),0),i("div",{staticClass:"flex-between",staticStyle:{"margin-top":"40px"}},[t._m(1),i("el-button",{attrs:{type:"danger"},on:{click:function(i){t.dialogVisible=!0}}},[t._v("去支付")])],1)]),i("el-dialog",{attrs:{"custom-class":"error-pay-dialog","show-close":!1,visible:t.dialogVisible,width:"800px"},on:{"update:visible":function(i){t.dialogVisible=i}}},[i("div",{staticClass:"dialog-content"},[i("div",{staticClass:"dialog-title"},[t._v("尊敬的客户:")]),i("div",{staticClass:"dialog-title"},[t._v(" 系统未能成功接受到证书信息,导致无法登录网银专业版。此现象可能是多种原因导致,请您根据下述方法进行处理: ")]),i("ol",{staticClass:"dialog-list"},[i("li",[t._v(" 下载安装并运行 "),i("a",{staticStyle:{color:"#409EFF","text-decoration":"underline"},attrs:{href:"#"}},[t._v('"农业银行网银助手"')]),t._v(", 帮助您检测问题并根据结果进行修复; ")]),i("li",[t._v("请关闭所有打开的IE浏览窗口,重新尝试登录;")]),i("li",[t._v(" 如仍不能正常登录网银专业版,请参阅 "),i("a",{staticStyle:{color:"#409EFF","text-decoration":"underline"},attrs:{href:"#"}},[t._v('"对公网上银行常见问题解答"')]),t._v(" 的【登录】部分; ")]),i("li",[t._v(" 您可拨打95599客户服务电话,也可点击 "),i("a",{staticStyle:{color:"#409EFF","text-decoration":"underline"},attrs:{href:"#"}},[t._v("【在线客服】")]),t._v(" 进入人工服务,将由专人为您提供帮助。 ")])]),i("div",{staticClass:"flex-center",staticStyle:{"margin-top":"50px"}},[i("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(i){t.dialogVisible=!1}}},[t._v("关闭")])],1)])])],1)},e=[function(){var t=this,i=t._self._c;return i("div",{staticClass:"common-card normal-margin-bottom"},[i("div",{staticClass:"flex-between"},[i("div",{staticClass:"left-box"},[i("div",{staticClass:"success-icon-box"},[i("i",{staticClass:"el-icon-check",staticStyle:{"font-size":"30px","font-weight":"bold",color:"white"}})]),i("div",{staticStyle:{display:"flex","flex-direction":"column","justify-content":"space-between"}},[i("div",{staticClass:"success-title"},[t._v("请选择一家银行,然后通过企业网银B2B进行支付")]),i("div",{staticClass:"success-subtitle"},[t._v("订单号:"),i("span",{staticClass:"tip-text"},[t._v("XD250731153300007092")])])])]),i("div",{staticClass:"amount"},[t._v("应付金额:"),i("span",{staticClass:"price"},[t._v("176.00")])])])])},function(){var t=this,i=t._self._c;return i("div",[t._v(" 如您的付款行不在上述银行列表中,请选择 "),i("span",{staticStyle:{color:"#d80200"}},[t._v("识别码支付")]),t._v("。 ")])}],l={name:"OrderPay",data(){return{activeIndex:0,data:[],bank:null,dialogVisible:!1}},computed:{},methods:{}},c=l,o=s(1656),n=(0,o.A)(c,a,e,!1,null,"0419bb2d",null),r=n.exports}}]); -//# sourceMappingURL=452.0b1eacbe.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[395],{8776:function(t,i,s){s.r(i),s.d(i,{default:function(){return r}});var a=function(){var t=this,i=t._self._c;return i("div",{staticClass:"bg"},[i("div",{staticClass:"flex-between",staticStyle:{"margin-bottom":"20px"}},[i("div"),i("div",{staticStyle:{color:"#d80200",cursor:"pointer"},on:{click:function(i){return t.$router.go(-1)}}},[t._v("重新选择支付方式")])]),t._m(0),i("div",{staticClass:"common-card"},[i("div",{staticClass:"grid-container"},t._l(23,function(s){return i("div",{key:s,staticClass:"bank-img",on:{click:function(i){t.activeIndex=s}}},[i("img",{staticClass:"bank-img",attrs:{src:"https://static.ticket.sz-trip.com/uploads/20250627/08ca7d74f5a7c6299bc72f29a27c918e.png"}}),t.activeIndex==s?i("div",{staticClass:"hover-box"}):t._e()])}),0),i("div",{staticClass:"flex-between",staticStyle:{"margin-top":"40px"}},[t._m(1),i("el-button",{attrs:{type:"danger"},on:{click:function(i){t.dialogVisible=!0}}},[t._v("去支付")])],1)]),i("el-dialog",{attrs:{"custom-class":"error-pay-dialog","show-close":!1,visible:t.dialogVisible,width:"800px"},on:{"update:visible":function(i){t.dialogVisible=i}}},[i("div",{staticClass:"dialog-content"},[i("div",{staticClass:"dialog-title"},[t._v("尊敬的客户:")]),i("div",{staticClass:"dialog-title"},[t._v(" 系统未能成功接受到证书信息,导致无法登录网银专业版。此现象可能是多种原因导致,请您根据下述方法进行处理: ")]),i("ol",{staticClass:"dialog-list"},[i("li",[t._v(" 下载安装并运行 "),i("a",{staticStyle:{color:"#409EFF","text-decoration":"underline"},attrs:{href:"#"}},[t._v('"农业银行网银助手"')]),t._v(", 帮助您检测问题并根据结果进行修复; ")]),i("li",[t._v("请关闭所有打开的IE浏览窗口,重新尝试登录;")]),i("li",[t._v(" 如仍不能正常登录网银专业版,请参阅 "),i("a",{staticStyle:{color:"#409EFF","text-decoration":"underline"},attrs:{href:"#"}},[t._v('"对公网上银行常见问题解答"')]),t._v(" 的【登录】部分; ")]),i("li",[t._v(" 您可拨打95599客户服务电话,也可点击 "),i("a",{staticStyle:{color:"#409EFF","text-decoration":"underline"},attrs:{href:"#"}},[t._v("【在线客服】")]),t._v(" 进入人工服务,将由专人为您提供帮助。 ")])]),i("div",{staticClass:"flex-center",staticStyle:{"margin-top":"50px"}},[i("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(i){t.dialogVisible=!1}}},[t._v("关闭")])],1)])])],1)},e=[function(){var t=this,i=t._self._c;return i("div",{staticClass:"common-card normal-margin-bottom"},[i("div",{staticClass:"flex-between"},[i("div",{staticClass:"left-box"},[i("div",{staticClass:"success-icon-box"},[i("i",{staticClass:"el-icon-check",staticStyle:{"font-size":"30px","font-weight":"bold",color:"white"}})]),i("div",{staticStyle:{display:"flex","flex-direction":"column","justify-content":"space-between"}},[i("div",{staticClass:"success-title"},[t._v("请选择一家银行,然后通过企业网银B2B进行支付")]),i("div",{staticClass:"success-subtitle"},[t._v("订单号:"),i("span",{staticClass:"tip-text"},[t._v("XD250731153300007092")])])])]),i("div",{staticClass:"amount"},[t._v("应付金额:"),i("span",{staticClass:"price"},[t._v("176.00")])])])])},function(){var t=this,i=t._self._c;return i("div",[t._v(" 如您的付款行不在上述银行列表中,请选择 "),i("span",{staticStyle:{color:"#d80200"}},[t._v("识别码支付")]),t._v("。 ")])}],l={name:"OrderPay",data(){return{activeIndex:0,data:[],bank:null,dialogVisible:!1}},computed:{},methods:{}},c=l,o=s(845),n=(0,o.A)(c,a,e,!1,null,"0419bb2d",null),r=n.exports}}]); +//# sourceMappingURL=395.bf4b57c0.js.map \ No newline at end of file diff --git a/dist/js/452.0b1eacbe.js.map b/dist/js/395.bf4b57c0.js.map similarity index 88% rename from dist/js/452.0b1eacbe.js.map rename to dist/js/395.bf4b57c0.js.map index be94baa..b14050d 100644 --- a/dist/js/452.0b1eacbe.js.map +++ b/dist/js/395.bf4b57c0.js.map @@ -1 +1 @@ -{"version":3,"file":"js/452.0b1eacbe.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACE,YAAY,eAAeC,YAAY,CAAC,gBAAgB,SAAS,CAACH,EAAG,OAAOA,EAAG,MAAM,CAACG,YAAY,CAAC,MAAQ,UAAU,OAAS,WAAWC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOP,EAAIQ,QAAQC,IAAI,EAAE,IAAI,CAACT,EAAIU,GAAG,gBAAgBV,EAAIW,GAAG,GAAGT,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,YAAY,kBAAkBJ,EAAIY,GAAI,GAAI,SAASC,GAAG,OAAOX,EAAG,MAAM,CAACY,IAAID,EAAET,YAAY,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ClK,GCsEA,GACAU,KAAA,WACAC,IAAAA,GACA,OACAN,YAAA,EACAM,KAAA,GACAC,KAAA,KACAJ,eAAA,EAGA,EACAK,SAAA,CAEA,EACAC,QAAA,CAEA,GC1FmQ,I,UCQ/PC,GAAY,OACd,EACA1B,EACAoB,GACA,EACA,KACA,WACA,MAIF,EAAeM,E","sources":["webpack://shiweisuzhou/./src/views/User/OrderPayB2B.vue","webpack://shiweisuzhou/src/views/User/OrderPayB2B.vue","webpack://shiweisuzhou/./src/views/User/OrderPayB2B.vue?682f","webpack://shiweisuzhou/./src/views/User/OrderPayB2B.vue?b10f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"flex-between\",staticStyle:{\"margin-bottom\":\"20px\"}},[_c('div'),_c('div',{staticStyle:{\"color\":\"#d80200\",\"cursor\":\"pointer\"},on:{\"click\":function($event){return _vm.$router.go(-1)}}},[_vm._v(\"重新选择支付方式\")])]),_vm._m(0),_c('div',{staticClass:\"common-card\"},[_c('div',{staticClass:\"grid-container\"},_vm._l((23),function(i){return _c('div',{key:i,staticClass:\"bank-img\",on:{\"click\":function($event){_vm.activeIndex=i}}},[_c('img',{staticClass:\"bank-img\",attrs:{\"src\":\"https://static.ticket.sz-trip.com/uploads/20250627/08ca7d74f5a7c6299bc72f29a27c918e.png\"}}),(_vm.activeIndex==i)?_c('div',{staticClass:\"hover-box\"}):_vm._e()])}),0),_c('div',{staticClass:\"flex-between\",staticStyle:{\"margin-top\":\"40px\"}},[_vm._m(1),_c('el-button',{attrs:{\"type\":\"danger\"},on:{\"click\":function($event){_vm.dialogVisible = true}}},[_vm._v(\"去支付\")])],1)]),_c('el-dialog',{attrs:{\"custom-class\":\"error-pay-dialog\",\"show-close\":false,\"visible\":_vm.dialogVisible,\"width\":\"800px\"},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('div',{staticClass:\"dialog-content\"},[_c('div',{staticClass:\"dialog-title\"},[_vm._v(\"尊敬的客户:\")]),_c('div',{staticClass:\"dialog-title\"},[_vm._v(\" 系统未能成功接受到证书信息,导致无法登录网银专业版。此现象可能是多种原因导致,请您根据下述方法进行处理: \")]),_c('ol',{staticClass:\"dialog-list\"},[_c('li',[_vm._v(\" 下载安装并运行 \"),_c('a',{staticStyle:{\"color\":\"#409EFF\",\"text-decoration\":\"underline\"},attrs:{\"href\":\"#\"}},[_vm._v(\"\\\"农业银行网银助手\\\"\")]),_vm._v(\", 帮助您检测问题并根据结果进行修复; \")]),_c('li',[_vm._v(\"请关闭所有打开的IE浏览窗口,重新尝试登录;\")]),_c('li',[_vm._v(\" 如仍不能正常登录网银专业版,请参阅 \"),_c('a',{staticStyle:{\"color\":\"#409EFF\",\"text-decoration\":\"underline\"},attrs:{\"href\":\"#\"}},[_vm._v(\"\\\"对公网上银行常见问题解答\\\"\")]),_vm._v(\" 的【登录】部分; \")]),_c('li',[_vm._v(\" 您可拨打95599客户服务电话,也可点击 \"),_c('a',{staticStyle:{\"color\":\"#409EFF\",\"text-decoration\":\"underline\"},attrs:{\"href\":\"#\"}},[_vm._v(\"【在线客服】\")]),_vm._v(\" 进入人工服务,将由专人为您提供帮助。 \")])]),_c('div',{staticClass:\"flex-center\",staticStyle:{\"margin-top\":\"50px\"}},[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"small\"},on:{\"click\":function($event){_vm.dialogVisible = false}}},[_vm._v(\"关闭\")])],1)])])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"common-card normal-margin-bottom\"},[_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"left-box\"},[_c('div',{staticClass:\"success-icon-box\"},[_c('i',{staticClass:\"el-icon-check\",staticStyle:{\"font-size\":\"30px\",\"font-weight\":\"bold\",\"color\":\"white\"}})]),_c('div',{staticStyle:{\"display\":\"flex\",\"flex-direction\":\"column\",\"justify-content\":\"space-between\"}},[_c('div',{staticClass:\"success-title\"},[_vm._v(\"请选择一家银行,然后通过企业网银B2B进行支付\")]),_c('div',{staticClass:\"success-subtitle\"},[_vm._v(\"订单号:\"),_c('span',{staticClass:\"tip-text\"},[_vm._v(\"XD250731153300007092\")])])])]),_c('div',{staticClass:\"amount\"},[_vm._v(\"应付金额:\"),_c('span',{staticClass:\"price\"},[_vm._v(\"176.00\")])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',[_vm._v(\" 如您的付款行不在上述银行列表中,请选择 \"),_c('span',{staticStyle:{\"color\":\"#d80200\"}},[_vm._v(\"识别码支付\")]),_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!./OrderPayB2B.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!./OrderPayB2B.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderPayB2B.vue?vue&type=template&id=0419bb2d&scoped=true\"\nimport script from \"./OrderPayB2B.vue?vue&type=script&lang=js\"\nexport * from \"./OrderPayB2B.vue?vue&type=script&lang=js\"\nimport style0 from \"./OrderPayB2B.vue?vue&type=style&index=0&id=0419bb2d&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 \"0419bb2d\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","on","$event","$router","go","_v","_m","_l","i","key","activeIndex","attrs","_e","dialogVisible","staticRenderFns","name","data","bank","computed","methods","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/395.bf4b57c0.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACE,YAAY,eAAeC,YAAY,CAAC,gBAAgB,SAAS,CAACH,EAAG,OAAOA,EAAG,MAAM,CAACG,YAAY,CAAC,MAAQ,UAAU,OAAS,WAAWC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOP,EAAIQ,QAAQC,IAAI,EAAE,IAAI,CAACT,EAAIU,GAAG,gBAAgBV,EAAIW,GAAG,GAAGT,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,YAAY,kBAAkBJ,EAAIY,GAAI,GAAI,SAASC,GAAG,OAAOX,EAAG,MAAM,CAACY,IAAID,EAAET,YAAY,WAAWE,GAAG,CAAC,MAAQ,SAASC,GAAQP,EAAIe,YAAYF,CAAC,IAAI,CAACX,EAAG,MAAM,CAACE,YAAY,WAAWY,MAAM,CAAC,IAAM,6FAA8FhB,EAAIe,aAAaF,EAAGX,EAAG,MAAM,CAACE,YAAY,cAAcJ,EAAIiB,MAAM,GAAG,GAAGf,EAAG,MAAM,CAACE,YAAY,eAAeC,YAAY,CAAC,aAAa,SAAS,CAACL,EAAIW,GAAG,GAAGT,EAAG,YAAY,CAACc,MAAM,CAAC,KAAO,UAAUV,GAAG,CAAC,MAAQ,SAASC,GAAQP,EAAIkB,eAAgB,CAAI,IAAI,CAAClB,EAAIU,GAAG,UAAU,KAAKR,EAAG,YAAY,CAACc,MAAM,CAAC,eAAe,mBAAmB,cAAa,EAAM,QAAUhB,EAAIkB,cAAc,MAAQ,SAASZ,GAAG,CAAC,iBAAiB,SAASC,GAAQP,EAAIkB,cAAcX,CAAM,IAAI,CAACL,EAAG,MAAM,CAACE,YAAY,kBAAkB,C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AAO,cAAc,OAAO,MAAQ,aAAaH,EAAG,MAAM,CAACG,YAAY,CAAC,QAAU,OAAO,iBAAiB,SAAS,kBAAkB,kBAAkB,CAACH,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACJ,EAAIU,GAAG,6BAA6BR,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACJ,EAAIU,GAAG,QAAQR,EAAG,OAAO,CAACE,YAAY,YAAY,CAACJ,EAAIU,GAAG,gCAAgCR,EAAG,MAAM,CAACE,YAAY,UAAU,CAACJ,EAAIU,GAAG,SAASR,EAAG,OAAO,CAACE,YAAY,SAAS,CAACJ,EAAIU,GAAG,iBACtvB,EAAE,WAAY,IAAIV,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACF,EAAIU,GAAG,yBAAyBR,EAAG,OAAO,CAACG,YAAY,CAAC,MAAQ,YAAY,CAACL,EAAIU,GAAG,WAAWV,EAAIU,GAAG,OAClK,GCsEA,GACAU,KAAA,WACAC,IAAAA,GACA,OACAN,YAAA,EACAM,KAAA,GACAC,KAAA,KACAJ,eAAA,EAGA,EACAK,SAAA,CAEA,EACAC,QAAA,CAEA,GC1FiS,I,SCQ7RC,GAAY,OACd,EACA1B,EACAoB,GACA,EACA,KACA,WACA,MAIF,EAAeM,E","sources":["webpack://shiweisuzhou/./src/views/User/OrderPayB2B.vue","webpack://shiweisuzhou/src/views/User/OrderPayB2B.vue","webpack://shiweisuzhou/./src/views/User/OrderPayB2B.vue?5bb5","webpack://shiweisuzhou/./src/views/User/OrderPayB2B.vue?0701"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"flex-between\",staticStyle:{\"margin-bottom\":\"20px\"}},[_c('div'),_c('div',{staticStyle:{\"color\":\"#d80200\",\"cursor\":\"pointer\"},on:{\"click\":function($event){return _vm.$router.go(-1)}}},[_vm._v(\"重新选择支付方式\")])]),_vm._m(0),_c('div',{staticClass:\"common-card\"},[_c('div',{staticClass:\"grid-container\"},_vm._l((23),function(i){return _c('div',{key:i,staticClass:\"bank-img\",on:{\"click\":function($event){_vm.activeIndex=i}}},[_c('img',{staticClass:\"bank-img\",attrs:{\"src\":\"https://static.ticket.sz-trip.com/uploads/20250627/08ca7d74f5a7c6299bc72f29a27c918e.png\"}}),(_vm.activeIndex==i)?_c('div',{staticClass:\"hover-box\"}):_vm._e()])}),0),_c('div',{staticClass:\"flex-between\",staticStyle:{\"margin-top\":\"40px\"}},[_vm._m(1),_c('el-button',{attrs:{\"type\":\"danger\"},on:{\"click\":function($event){_vm.dialogVisible = true}}},[_vm._v(\"去支付\")])],1)]),_c('el-dialog',{attrs:{\"custom-class\":\"error-pay-dialog\",\"show-close\":false,\"visible\":_vm.dialogVisible,\"width\":\"800px\"},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('div',{staticClass:\"dialog-content\"},[_c('div',{staticClass:\"dialog-title\"},[_vm._v(\"尊敬的客户:\")]),_c('div',{staticClass:\"dialog-title\"},[_vm._v(\" 系统未能成功接受到证书信息,导致无法登录网银专业版。此现象可能是多种原因导致,请您根据下述方法进行处理: \")]),_c('ol',{staticClass:\"dialog-list\"},[_c('li',[_vm._v(\" 下载安装并运行 \"),_c('a',{staticStyle:{\"color\":\"#409EFF\",\"text-decoration\":\"underline\"},attrs:{\"href\":\"#\"}},[_vm._v(\"\\\"农业银行网银助手\\\"\")]),_vm._v(\", 帮助您检测问题并根据结果进行修复; \")]),_c('li',[_vm._v(\"请关闭所有打开的IE浏览窗口,重新尝试登录;\")]),_c('li',[_vm._v(\" 如仍不能正常登录网银专业版,请参阅 \"),_c('a',{staticStyle:{\"color\":\"#409EFF\",\"text-decoration\":\"underline\"},attrs:{\"href\":\"#\"}},[_vm._v(\"\\\"对公网上银行常见问题解答\\\"\")]),_vm._v(\" 的【登录】部分; \")]),_c('li',[_vm._v(\" 您可拨打95599客户服务电话,也可点击 \"),_c('a',{staticStyle:{\"color\":\"#409EFF\",\"text-decoration\":\"underline\"},attrs:{\"href\":\"#\"}},[_vm._v(\"【在线客服】\")]),_vm._v(\" 进入人工服务,将由专人为您提供帮助。 \")])]),_c('div',{staticClass:\"flex-center\",staticStyle:{\"margin-top\":\"50px\"}},[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"small\"},on:{\"click\":function($event){_vm.dialogVisible = false}}},[_vm._v(\"关闭\")])],1)])])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"common-card normal-margin-bottom\"},[_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"left-box\"},[_c('div',{staticClass:\"success-icon-box\"},[_c('i',{staticClass:\"el-icon-check\",staticStyle:{\"font-size\":\"30px\",\"font-weight\":\"bold\",\"color\":\"white\"}})]),_c('div',{staticStyle:{\"display\":\"flex\",\"flex-direction\":\"column\",\"justify-content\":\"space-between\"}},[_c('div',{staticClass:\"success-title\"},[_vm._v(\"请选择一家银行,然后通过企业网银B2B进行支付\")]),_c('div',{staticClass:\"success-subtitle\"},[_vm._v(\"订单号:\"),_c('span',{staticClass:\"tip-text\"},[_vm._v(\"XD250731153300007092\")])])])]),_c('div',{staticClass:\"amount\"},[_vm._v(\"应付金额:\"),_c('span',{staticClass:\"price\"},[_vm._v(\"176.00\")])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',[_vm._v(\" 如您的付款行不在上述银行列表中,请选择 \"),_c('span',{staticStyle:{\"color\":\"#d80200\"}},[_vm._v(\"识别码支付\")]),_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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderPayB2B.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderPayB2B.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderPayB2B.vue?vue&type=template&id=0419bb2d&scoped=true\"\nimport script from \"./OrderPayB2B.vue?vue&type=script&lang=js\"\nexport * from \"./OrderPayB2B.vue?vue&type=script&lang=js\"\nimport style0 from \"./OrderPayB2B.vue?vue&type=style&index=0&id=0419bb2d&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0419bb2d\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","on","$event","$router","go","_v","_m","_l","i","key","activeIndex","attrs","_e","dialogVisible","staticRenderFns","name","data","bank","computed","methods","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/420.2ae90b4c.js b/dist/js/420.2ae90b4c.js new file mode 100644 index 0000000..7744559 --- /dev/null +++ b/dist/js/420.2ae90b4c.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[420],{7420:function(e,t,r){r.r(t),r.d(t,{default:function(){return c}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg"},[e._e(),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.contract_number,callback:function(t){e.$set(e.filterForm,"contract_number",t)},expression:"filterForm.contract_number"}})],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.datetime,callback:function(t){e.$set(e.filterForm,"datetime",t)},expression:"filterForm.datetime"}})],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("el-table",{staticStyle:{width:"100%"},attrs:{data:e.orders,border:""}},[t("el-table-column",{attrs:{prop:"create_time",label:"下单时间",width:"160"}}),t("el-table-column",{attrs:{prop:"order_id",label:"订单号","min-width":"100"}}),t("el-table-column",{attrs:{prop:"status",label:"商品信息","min-width":"200"},scopedSlots:e._u([{key:"default",fn:function(r){return[t("div",{staticClass:"product-info"},[t("img",{staticClass:"product-img",attrs:{src:r.row.product_headimg}}),t("div",{staticClass:"product-name"},[e._v(" "+e._s(r.row.product_title)+" "+e._s(r.row.child_order_num>1?"等"+r.row.child_order_num+"款":"")+" ")])])]}}])}),t("el-table-column",{attrs:{prop:"contract_number",label:"合同号",width:"180"}}),t("el-table-column",{attrs:{prop:"paid_money",label:"合同金额","min-width":"70"}}),t("el-table-column",{attrs:{label:"操作",width:"130"},scopedSlots:e._u([{key:"default",fn:function(r){return r.row.contract_number?[t("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDownload(r.row)}}},[e._v("下载合同")])]:void 0}}],null,!0)})],1),t("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[t("el-pagination",{attrs:{"current-page":e.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)],1)},i=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"notice-bar__content"},[t("div",[e._v("说明:")]),t("div",[e._v("1.订单提交成功,系统将根据订单内容自动为您创建交易合同。")]),t("div",[e._v("2.您可直接“下载合同模板”,线下邮寄盖章使用。")])])}],l=(r(4114),{name:"OrderList",data(){return{activeTab:"all",currentPage:1,filterForm:{contract_number:"",datetime:"",order_id:"",limit:10,total:0},orders:[]}},mounted(){this.getList()},methods:{handlePreview(e){window.open(e,"_blank")},handleDownload(e){const t=e.contract_url,r=document.createElement("a");r.href=t,r.download=`合同${e.contract_number}.pdf`,r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r),this.$message({message:`合同 ${e.contract_number} 开始下载`,type:"success"})},getList(){this.post({offset:(this.currentPage-1)*this.filterForm.limit,...this.filterForm},"/api/order/orderContract").then(e=>{this.orders=e.data.list,this.filterForm.total=e.data.total})},search(){this.currentPage=1,this.getList()},reset(){this.filterForm={order_id:"",createTime:"",contract_number:"",datetime:""},this.activeTab="all",this.currentPage=1},handleSizeChange(e){this.filterForm.limit=e,this.getList()},handleCurrentChange(e){this.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"})}}}),n=l,s=r(845),o=(0,s.A)(n,a,i,!1,null,"bf2be14c",null),c=o.exports}}]); +//# sourceMappingURL=420.2ae90b4c.js.map \ No newline at end of file diff --git a/dist/js/719.4c174724.js.map b/dist/js/420.2ae90b4c.js.map similarity index 88% rename from dist/js/719.4c174724.js.map rename to dist/js/420.2ae90b4c.js.map index e06bf3e..a8e7129 100644 --- a/dist/js/719.4c174724.js.map +++ b/dist/js/420.2ae90b4c.js.map @@ -1 +1 @@ -{"version":3,"file":"js/719.4c174724.js","mappings":"mKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAA0DJ,EAAIK,KAAKH,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,UAAU,CAACI,MAAM,CAAC,QAAS,EAAK,MAAQN,EAAIO,WAAW,KAAO,UAAU,CAACL,EAAG,eAAe,CAACI,MAAM,CAAC,MAAQ,QAAQ,CAACJ,EAAG,WAAW,CAACI,MAAM,CAAC,YAAc,UAAUE,MAAM,CAACC,MAAOT,EAAIO,WAAWG,gBAAiBC,SAAS,SAAUC,GAAMZ,EAAIa,KAAKb,EAAIO,WAAY,kBAAmBK,EAAI,EAAEE,WAAW,iCAAiC,GAAGZ,EAAG,eAAe,CAACI,MAAM,CAAC,MAAQ,SAAS,CAACJ,EAAG,WAAW,CAACI,MAAM,CAAC,YAAc,WAAWE,MAAM,CAACC,MAAOT,EAAIO,WAAWQ,SAAUJ,SAAS,SAAUC,GAAMZ,EAAIa,KAAKb,EAAIO,WAAY,WAAYK,EAAI,EAAEE,WAAW,0BAA0B,GAAGZ,EAAG,eAAe,CAACI,MAAM,CAAC,MAAQ,SAAS,CAACJ,EAAG,iBAAiB,CAACI,MAAM,CAAC,KAAO,YAAY,kBAAkB,IAAI,oBAAoB,OAAO,kBAAkB,OAAO,eAAe,cAAcE,MAAM,CAACC,MAAOT,EAAIO,WAAWS,SAAUL,SAAS,SAAUC,GAAMZ,EAAIa,KAAKb,EAAIO,WAAY,WAAYK,EAAI,EAAEE,WAAW,0BAA0B,GAAGZ,EAAG,eAAe,CAACA,EAA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,QAEA,EAGAuB,eAAAA,CAAAJ,GACA,KAAAK,QAAAC,KAAA,CACAlD,KAAA,eAEA,KC/QoQ,I,UCQhQmD,GAAY,OACd,EACA9F,EACA0C,GACA,EACA,KACA,WACA,MAIF,EAAeoD,E","sources":["webpack://shiweisuzhou/./src/views/User/ContractList.vue","webpack://shiweisuzhou/src/views/User/ContractList.vue","webpack://shiweisuzhou/./src/views/User/ContractList.vue?59d9","webpack://shiweisuzhou/./src/views/User/ContractList.vue?898c"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[(false)?_c('div',{staticClass:\"notice-bar\"},[_vm._m(0)]):_vm._e(),_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.contract_number),callback:function ($$v) {_vm.$set(_vm.filterForm, \"contract_number\", $$v)},expression:\"filterForm.contract_number\"}})],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.datetime),callback:function ($$v) {_vm.$set(_vm.filterForm, \"datetime\", $$v)},expression:\"filterForm.datetime\"}})],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('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.orders,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"create_time\",\"label\":\"下单时间\",\"width\":\"160\"}}),_c('el-table-column',{attrs:{\"prop\":\"order_id\",\"label\":\"订单号\",\"min-width\":\"100\"}}),_c('el-table-column',{attrs:{\"prop\":\"status\",\"label\":\"商品信息\",\"min-width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"product-info\"},[_c('img',{staticClass:\"product-img\",attrs:{\"src\":scope.row.product_headimg}}),_c('div',{staticClass:\"product-name\"},[_vm._v(\" \"+_vm._s(scope.row.product_title)+\" \"+_vm._s(scope.row.child_order_num > 1 ? \"等\" + scope.row.child_order_num + \"款\" : \"\")+\" \")])])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"contract_number\",\"label\":\"合同号\",\"width\":\"180\"}}),_c('el-table-column',{attrs:{\"prop\":\"paid_money\",\"label\":\"合同金额\",\"min-width\":\"70\"}}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"130\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return (scope.row.contract_number)?[_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){return _vm.handleDownload(scope.row)}}},[_vm._v(\"下载合同\")])]:undefined}}],null,true)})],1),_c('div',{staticStyle:{\"text-align\":\"right\",\"margin-top\":\"20px\"}},[_c('el-pagination',{attrs:{\"current-page\":_vm.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)],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"notice-bar__content\"},[_c('div',[_vm._v(\"说明:\")]),_c('div',[_vm._v(\"1.订单提交成功,系统将根据订单内容自动为您创建交易合同。\")]),_c('div',[_vm._v(\"2.您可直接“下载合同模板”,线下邮寄盖章使用。\")])])\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!./ContractList.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!./ContractList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ContractList.vue?vue&type=template&id=bf2be14c&scoped=true\"\nimport script from \"./ContractList.vue?vue&type=script&lang=js\"\nexport * from \"./ContractList.vue?vue&type=script&lang=js\"\nimport style0 from \"./ContractList.vue?vue&type=style&index=0&id=bf2be14c&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 \"bf2be14c\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_e","attrs","filterForm","model","value","contract_number","callback","$$v","$set","expression","order_id","datetime","staticStyle","on","search","_v","reset","orders","scopedSlots","_u","key","fn","scope","row","product_headimg","_s","product_title","child_order_num","$event","handleDownload","undefined","currentPage","limit","total","handleSizeChange","handleCurrentChange","staticRenderFns","name","data","activeTab","mounted","getList","methods","handlePreview","pdfUrl","window","open","downloadUrl","contract_url","link","document","createElement","href","download","style","display","body","appendChild","click","removeChild","$message","message","type","post","offset","then","res","list","createTime","val","getStatusText","status","statusMap","pendingPayment","pendingDelivery","delivering","completed","cancelled","getStatusTagType","typeMap","payOrder","orderId","remindDelivery","checkLogistics","gotoReview","viewOrderDetail","$router","push","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/420.2ae90b4c.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAA0DJ,EAAIK,KAAKH,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,UAAU,CAACI,MAAM,CAAC,QAAS,EAAK,MAAQN,EAAIO,WAAW,KAAO,UAAU,CAACL,EAAG,eAAe,CAACI,MAAM,CAAC,MAAQ,QAAQ,CAACJ,EAAG,WAAW,CAACI,MAAM,CAAC,YAAc,UAAUE,MAAM,CAACC,MAAOT,EAAIO,WAAWG,gBAAiBC,SAAS,SAAUC,GAAMZ,EAAIa,KAAKb,EAAIO,WAAY,kBAAmBK,EAAI,EAAEE,WAAW,iCAAiC,GAAGZ,EAAG,eAAe,CAACI,MAAM,CAAC,MAAQ,SAAS,CAACJ,EAAG,WAAW,CAACI,MAAM,CAAC,YAAc,WAAWE,MAAM,CAACC,MAAOT,EAAIO,WAAWQ,SAAUJ,SAAS,SAAUC,GAAMZ,EAAIa,KAAKb,EAAIO,WAAY,WAAYK,EAAI,EAAEE,WAAW,0BAA0B,GAAGZ,EAAG,eAAe,CAACI,MAAM,CAAC,MAAQ,SAAS,CAACJ,EAAG,iBAAiB,CAACI,MAAM,CAAC,KAAO,YAAY,kBAAkB,IAAI,oBAAoB,OAAO,kBAAkB,OAAO,eAAe,cAAcE,MAAM,CAACC,MAAOT,EAAIO,WAAWS,SAAUL,SAAS,SAAUC,GAAMZ,EAAIa,KAAKb,EAAIO,WAAY,WAAYK,EAAI,EAAEE,WAAW,0BAA0B,GAAGZ,EAAG,eAAe,CAACA,EAAG,YAAY,CAACe,YAAY,CAAC,WAAa,UAAU,OAAS,QAAQX,MAAM,CAAC,K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AAA,eAEA,KC/QkS,I,SCQ9RmD,GAAY,OACd,EACA9F,EACA0C,GACA,EACA,KACA,WACA,MAIF,EAAeoD,E","sources":["webpack://shiweisuzhou/./src/views/User/ContractList.vue","webpack://shiweisuzhou/src/views/User/ContractList.vue","webpack://shiweisuzhou/./src/views/User/ContractList.vue?6809","webpack://shiweisuzhou/./src/views/User/ContractList.vue?dfc3"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[(false)?_c('div',{staticClass:\"notice-bar\"},[_vm._m(0)]):_vm._e(),_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.contract_number),callback:function ($$v) {_vm.$set(_vm.filterForm, \"contract_number\", $$v)},expression:\"filterForm.contract_number\"}})],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.datetime),callback:function ($$v) {_vm.$set(_vm.filterForm, \"datetime\", $$v)},expression:\"filterForm.datetime\"}})],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('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.orders,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"create_time\",\"label\":\"下单时间\",\"width\":\"160\"}}),_c('el-table-column',{attrs:{\"prop\":\"order_id\",\"label\":\"订单号\",\"min-width\":\"100\"}}),_c('el-table-column',{attrs:{\"prop\":\"status\",\"label\":\"商品信息\",\"min-width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"product-info\"},[_c('img',{staticClass:\"product-img\",attrs:{\"src\":scope.row.product_headimg}}),_c('div',{staticClass:\"product-name\"},[_vm._v(\" \"+_vm._s(scope.row.product_title)+\" \"+_vm._s(scope.row.child_order_num > 1 ? \"等\" + scope.row.child_order_num + \"款\" : \"\")+\" \")])])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"contract_number\",\"label\":\"合同号\",\"width\":\"180\"}}),_c('el-table-column',{attrs:{\"prop\":\"paid_money\",\"label\":\"合同金额\",\"min-width\":\"70\"}}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"130\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return (scope.row.contract_number)?[_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){return _vm.handleDownload(scope.row)}}},[_vm._v(\"下载合同\")])]:undefined}}],null,true)})],1),_c('div',{staticStyle:{\"text-align\":\"right\",\"margin-top\":\"20px\"}},[_c('el-pagination',{attrs:{\"current-page\":_vm.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)],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"notice-bar__content\"},[_c('div',[_vm._v(\"说明:\")]),_c('div',[_vm._v(\"1.订单提交成功,系统将根据订单内容自动为您创建交易合同。\")]),_c('div',[_vm._v(\"2.您可直接“下载合同模板”,线下邮寄盖章使用。\")])])\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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ContractList.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ContractList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ContractList.vue?vue&type=template&id=bf2be14c&scoped=true\"\nimport script from \"./ContractList.vue?vue&type=script&lang=js\"\nexport * from \"./ContractList.vue?vue&type=script&lang=js\"\nimport style0 from \"./ContractList.vue?vue&type=style&index=0&id=bf2be14c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bf2be14c\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_e","attrs","filterForm","model","value","contract_number","callback","$$v","$set","expression","order_id","datetime","staticStyle","on","search","_v","reset","orders","scopedSlots","_u","key","fn","scope","row","product_headimg","_s","product_title","child_order_num","$event","handleDownload","undefined","currentPage","limit","total","handleSizeChange","handleCurrentChange","staticRenderFns","name","data","activeTab","mounted","getList","methods","handlePreview","pdfUrl","window","open","downloadUrl","contract_url","link","document","createElement","href","download","style","display","body","appendChild","click","removeChild","$message","message","type","post","offset","then","res","list","createTime","val","getStatusText","status","statusMap","pendingPayment","pendingDelivery","delivering","completed","cancelled","getStatusTagType","typeMap","payOrder","orderId","remindDelivery","checkLogistics","gotoReview","viewOrderDetail","$router","push","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/47.91e22ff7.js b/dist/js/47.91e22ff7.js new file mode 100644 index 0000000..3665a78 --- /dev/null +++ b/dist/js/47.91e22ff7.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[47],{3047:function(t,x,e){e.r(x),e.d(x,{default:function(){return o}});var a=function(){var t=this,x=t._self._c;return x("div",{staticClass:"notification-page"},[x("el-button",{staticClass:"mark-all-read",attrs:{type:"text"},on:{click:t.markAllAsRead}},[t._v("全部已读")]),t._l(t.currentPageNotifications,function(e,a){return x("el-card",{key:a,staticClass:"notification-card",class:{read:e.isRead}},[x("div",{staticClass:"notification-header",on:{click:function(x){return t.toggleExpand(e)}}},[e.isRead?t._e():x("span",{staticClass:"dot"},[t._v("●")]),x("span",{staticClass:"title"},[t._v(t._s(e.title))]),x("el-button",{staticClass:"expand-btn",attrs:{type:"text"}},[t._v(" "+t._s(e.isExpanded?"收起":"展开")+" "),t.isExpanded?x("i",{staticClass:"el-icon-arrow-up"}):x("i",{staticClass:"el-icon-arrow-down"})]),x("span",{staticClass:"date"},[t._v(t._s(e.date))])],1),x("div",{directives:[{name:"show",rawName:"v-show",value:e.isExpanded,expression:"item.isExpanded"}],staticClass:"notification-content"},[t._v(" "+t._s(e.content)+" ")])])}),x("el-pagination",{staticClass:"pagination",attrs:{"current-page":t.currentPage,"page-size":t.pageSize,layout:"prev, pager, next",total:t.notifications.length},on:{"current-change":t.handleCurrentChange}})],2)},i=[],n=(e(8111),e(7588),{name:"NotificationPage",data(){return{currentPage:2,pageSize:3,notifications:[{title:"您的订单(编号:0022929922992)包含的产品:xxx 已成功出票",date:"2025-08-18",content:"",isRead:!1,isExpanded:!1},{title:"重大通知:因台风天气影响,部分商家发货会延迟,请见谅!",date:"2025-08-18",content:"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",isRead:!1,isExpanded:!0},{title:"您的订单(编号:0022929922992)包含的产品:xxx 已成功出票",date:"2025-08-18",content:"",isRead:!0,isExpanded:!1},{title:"新功能上线通知:新增会员专属优惠活动",date:"2025-08-17",content:"尊敬的用户,我们新增了会员专属优惠活动,快来查看吧!",isRead:!0,isExpanded:!1},{title:"您的账户安全提示:请及时修改密码",date:"2025-08-17",content:"为保障您的账户安全,建议您定期修改密码,避免使用简单密码。",isRead:!0,isExpanded:!1}]}},computed:{currentPageNotifications(){const t=(this.currentPage-1)*this.pageSize,x=t+this.pageSize;return this.notifications.slice(t,x)}},methods:{toggleExpand(t){t.isExpanded=!t.isExpanded},markAllAsRead(){this.notifications.forEach(t=>{t.isRead=!0})},handleCurrentChange(t){this.currentPage=t}}}),s=n,c=e(845),d=(0,c.A)(s,a,i,!1,null,"b0cdd62a",null),o=d.exports}}]); +//# sourceMappingURL=47.91e22ff7.js.map \ No newline at end of file diff --git a/dist/js/47.91e22ff7.js.map b/dist/js/47.91e22ff7.js.map new file mode 100644 index 0000000..f2455a5 --- /dev/null +++ b/dist/js/47.91e22ff7.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/47.91e22ff7.js","mappings":"mKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,qBAAqB,CAACF,EAAG,YAAY,CAACE,YAAY,gBAAgBC,MAAM,CAAC,KAAO,QAAQC,GAAG,CAAC,MAAQN,EAAIO,gBAAgB,CAACP,EAAIQ,GAAG,UAAUR,EAAIS,GAAIT,EAAIU,yBAA0B,SAASC,EAAKC,GAAO,OAAOV,EAAG,UAAU,CAACW,IAAID,EAAMR,YAAY,oBAAoBU,MAAM,CAAE,KA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CACAD,MAAA,wCACAE,KAAA,aACAM,QAAA,GACAb,QAAA,EACAM,YAAA,GAGA,CACAD,MAAA,qBACAE,KAAA,aACAM,QAAA,6BACAb,QAAA,EACAM,YAAA,GAEA,CACAD,MAAA,mBACAE,KAAA,aACAM,QAAA,gCACAb,QAAA,EACAM,YAAA,IAIA,EACAe,SAAA,CAEA1B,wBAAAA,GACA,MAAA2B,GAAA,KAAAR,YAAA,QAAAC,SACAQ,EAAAD,EAAA,KAAAP,SACA,YAAAC,cAAAQ,MAAAF,EAAAC,EACA,GAEAE,QAAA,CAEAvB,YAAAA,CAAAN,GACAA,EAAAU,YAAAV,EAAAU,UACA,EAEAd,aAAAA,GACA,KAAAwB,cAAAU,QAAA9B,IACAA,EAAAI,QAAA,GAEA,EAEAkB,mBAAAA,CAAAS,GACA,KAAAb,YAAAa,CACA,KCxGiS,I,SCQ7RC,GAAY,OACd,EACA5C,EACAmC,GACA,EACA,KACA,WACA,MAIF,EAAeS,E","sources":["webpack://shiweisuzhou/./src/views/User/MessageList.vue","webpack://shiweisuzhou/src/views/User/MessageList.vue","webpack://shiweisuzhou/./src/views/User/MessageList.vue?0507","webpack://shiweisuzhou/./src/views/User/MessageList.vue?f4c1"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"notification-page\"},[_c('el-button',{staticClass:\"mark-all-read\",attrs:{\"type\":\"text\"},on:{\"click\":_vm.markAllAsRead}},[_vm._v(\"全部已读\")]),_vm._l((_vm.currentPageNotifications),function(item,index){return _c('el-card',{key:index,staticClass:\"notification-card\",class:{ 'read': item.isRead }},[_c('div',{staticClass:\"notification-header\",on:{\"click\":function($event){return _vm.toggleExpand(item)}}},[(!item.isRead)?_c('span',{staticClass:\"dot\"},[_vm._v(\"●\")]):_vm._e(),_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(item.title))]),_c('el-button',{staticClass:\"expand-btn\",attrs:{\"type\":\"text\"}},[_vm._v(\" \"+_vm._s(item.isExpanded? '收起' : '展开')+\" \"),(_vm.isExpanded)?_c('i',{staticClass:\"el-icon-arrow-up\"}):_c('i',{staticClass:\"el-icon-arrow-down\"})]),_c('span',{staticClass:\"date\"},[_vm._v(_vm._s(item.date))])],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(item.isExpanded),expression:\"item.isExpanded\"}],staticClass:\"notification-content\"},[_vm._v(\" \"+_vm._s(item.content)+\" \")])])}),_c('el-pagination',{staticClass:\"pagination\",attrs:{\"current-page\":_vm.currentPage,\"page-size\":_vm.pageSize,\"layout\":\"prev, pager, next\",\"total\":_vm.notifications.length},on:{\"current-change\":_vm.handleCurrentChange}})],2)\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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MessageList.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MessageList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./MessageList.vue?vue&type=template&id=b0cdd62a&scoped=true\"\nimport script from \"./MessageList.vue?vue&type=script&lang=js\"\nexport * from \"./MessageList.vue?vue&type=script&lang=js\"\nimport style0 from \"./MessageList.vue?vue&type=style&index=0&id=b0cdd62a&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b0cdd62a\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","on","markAllAsRead","_v","_l","currentPageNotifications","item","index","key","class","isRead","$event","toggleExpand","_e","_s","title","isExpanded","date","directives","name","rawName","value","expression","content","currentPage","pageSize","notifications","length","handleCurrentChange","staticRenderFns","data","computed","start","end","slice","methods","forEach","val","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/497.13803348.js b/dist/js/497.13803348.js deleted file mode 100644 index 497318a..0000000 --- a/dist/js/497.13803348.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[497],{80:function(t,e,i){i.d(e,{A:function(){return c}});var s=function(){var t=this,e=t._self._c;return t.show?e("el-dialog",{attrs:{title:"物流信息",visible:t.visible,width:"700px","close-on-click-modal":!1,"show-close":!0,"before-close":t.handleClose},on:{"update:visible":function(e){t.visible=e}}},[e("div",{staticClass:"express-info"},[e("div",{staticClass:"express-logo"},[e("span",{staticClass:"express-name"},[t._v(t._s(t.logisticsInfo.express_name))])]),e("div",{staticClass:"express-number"},[e("span",{staticClass:"number-label"},[t._v("运单号:")]),e("span",{staticClass:"number-value"},[t._v(t._s(t.logisticsInfo.courier_number))]),e("el-button",{staticClass:"copy-btn",attrs:{type:"text"},on:{click:t.copyWaybillNumber}},[t._v(" 复制 ")])],1)]),e("div",{staticClass:"timeline-container"},[e("el-timeline",t._l(t.logisticsList,function(i,s){return e("el-timeline-item",{key:s,attrs:{timestamp:i.time,color:0===s?"orange":"#8492a6",icon:0===s?"el-icon-check":"",size:0===s?"large":"normal"}},[e("div",{staticClass:"timeline-content"},[e("div",{staticClass:"timeline-status",class:{active:0===s}},[t._v(" "+t._s(i.context)+" ")]),e("div",{staticClass:"timeline-desc"},[t._v(t._s(i.description))])])])}),1)],1),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.handleClose}},[t._v("关闭")])],1)]):t._e()},r=[],o={name:"LogisticsModal",props:{visible:{type:Boolean,default:!1},orderId:{type:String},logisticsInfo:{type:Object}},data(){return{logisticsList:[],show:this.visible}},watch:{visible(t){this.show=t}},mounted(){this.post({child_order_id:this.orderId},"/api/order/getExpress").then(t=>{this.logisticsList=t.data})},methods:{copyWaybillNumber(){const t=document.createElement("input");t.value=this.logisticsInfo.courier_number,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),this.$message.success("运单号已复制")},handleClose(){this.show=!1,this.$emit("update:visible",!1)}}},a=o,l=i(1656),n=(0,l.A)(a,s,r,!1,null,"05881a53",null),c=n.exports},7497:function(t,e,i){i.r(e),i.d(e,{default:function(){return d}});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[e("div",{staticClass:"filter-bar"},[e("el-form",{attrs:{inline:!0,model:t.filterForm,size:"small"}},[e("el-form-item",{attrs:{label:"商品名称"}},[e("el-input",{attrs:{placeholder:"请输入商品名称"},model:{value:t.filterForm.keywords,callback:function(e){t.$set(t.filterForm,"keywords",e)},expression:"filterForm.keywords"}})],1),e("el-form-item",{attrs:{label:"订单编号"}},[e("el-input",{attrs:{placeholder:"请输入订单编号"},model:{value:t.filterForm.order_id,callback:function(e){t.$set(t.filterForm,"order_id",e)},expression:"filterForm.order_id"}})],1),e("el-form-item",{attrs:{label:"下单时间"}},[e("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd"},model:{value:t.filterForm.createTime,callback:function(e){t.$set(t.filterForm,"createTime",e)},expression:"filterForm.createTime"}})],1),e("el-form-item",{attrs:{label:"交易状态"}},[e("el-select",{staticStyle:{width:"200px"},attrs:{placeholder:"请选择"},model:{value:t.filterForm.state,callback:function(e){t.$set(t.filterForm,"state",e)},expression:"filterForm.state"}},t._l(t.typeList,function(t,i){return e("el-option",{key:i,attrs:{label:t.name,value:t.id}})}),1)],1),e("el-form-item",[e("el-button",{staticStyle:{background:"#6a8a27",border:"none"},attrs:{type:"primary"},on:{click:t.search}},[t._v("搜索")])],1),e("el-form-item",[e("el-button",{on:{click:t.reset}},[t._v("重置")])],1)],1)],1),e("div",[t._m(0),t._l(t.orders,function(i){return e("div",{key:i.id,staticClass:"order-card"},[e("div",{staticClass:"order-header flex-between"},[e("div",{staticStyle:{display:"flex"}},[e("div",[t._v("订单号: "+t._s(i.order_id))]),e("div",{staticStyle:{"padding-left":"60px"}},[t._v(" 下单时间:"+t._s(i.create_time)+" ")])]),e("div",{staticClass:"product-status"},[e("el-tag",{attrs:{type:t.getStatusTagType(i.state),size:"small"}},[t._v(t._s(i.state_text))])],1)]),e("div",{staticClass:"order-products"},t._l(i.order_product_list,function(i){return e("div",{key:i.id,staticClass:"product-item"},[e("img",{staticClass:"product-image",attrs:{src:i.product_img}}),e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v(t._s(i.product_title))]),e("div",{staticClass:"product-spec"},[t._v(t._s(i.sku_name))])]),e("div",{staticClass:"product-price"},[t._v(" ¥"+t._s((i.product_price/100).toFixed(2))+" ")]),e("div",{staticClass:"product-quantity"},[t._v("x"+t._s(i.product_num))]),e("div",{staticClass:"product-total"},[t._v(" ¥"+t._s((i.paid_money/100).toFixed(2))+" ")]),e("div",{staticClass:"product-actions"},[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoDetail(i)}}},[t._v(" 商品详情")]),"WAIT_DELIVERY"===i.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.checkLogistics(i)}}},[t._v("查看物流")]):t._e(),"WAIT_COMMENT"==i.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoReview(i)}}},[t._v(" 去评价")]):t._e()],1)])}),0),e("div",{staticClass:"order-footer"},[e("div",{staticClass:"order-summary"},[e("div",{staticClass:"order-amount"},[t._v(" 合计: "),e("strong",[t._v("¥"+t._s((i.paid_money/100).toFixed(2)))]),t._v(" (含运费 ¥"+t._s((i.total_post_fee/100).toFixed(2))+") ")])]),e("div",{staticClass:"order-actions"},[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.viewOrderDetail(i.order_id)}}},[t._v("订单详情")]),["WAIT_POST","WAIT_USE","PAID"].includes(i.state)?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.refund(i.order_id)}}},[t._v("取消订单")]):t._e(),["UNPAID"].includes(i.state)?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.closeOrder(i.order_id)}}},[t._v("关闭订单")]):t._e(),"UNPAID"===i.state?e("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.payOrder(i.order_id)}}},[t._v("去付款")]):t._e(),"WAIT_DELIVERY"===i.state?e("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.confirmpost(i.order_id)}}},[t._v("确认收货")]):t._e()],1)])])}),t.orders.length<=0?e("el-empty",{attrs:{description:"暂无订单"}}):t._e(),e("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[e("el-pagination",{attrs:{"current-page":t.filterForm.currentPage,"page-sizes":[5,10,20],"page-size":t.filterForm.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.filterForm.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],2),t.logisticsShow?e("LogisticsModal",{attrs:{visible:t.logisticsShow,orderId:t.orderId,logisticsInfo:t.logisticsInfo},on:{"update:visible":function(e){t.logisticsShow=e}}}):t._e()],1)},r=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"order-products",staticStyle:{padding:"0 20px",background:"#f8f9fa","border-top":"1px solid #eee","border-bottom":"1px solid #eee","margin-bottom":"20px"}},[e("div",{staticClass:"product-item"},[e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v("商品信息")])]),e("div",{staticClass:"product-price"},[t._v("单价(元)")]),e("div",{staticClass:"product-quantity"},[t._v("数量")]),e("div",{staticClass:"product-total"},[t._v("小计(元)")]),e("div",{staticClass:"product-actions"})])])}],o=(i(4114),i(80)),a={name:"OrderList",components:{LogisticsModal:o.A},data(){return{activeTab:"ALL",filterForm:{keywords:"",currentPage:1,limit:10,order_id:"",createTime:[],start_date:"",end_date:"",total:1,state:""},typeList:[{name:"全部",id:""},{name:"待付款",id:"WAIT_PAYMENT"},{name:"已支付",id:"PAID"},{name:"待发货",id:"WAIT_POST"},{name:"待收货",id:"WAIT_DELIVERY"},{name:"退款/售后",id:"NEED_REFUND"},{name:"待评价",id:"WAIT_COMMENT"},{name:"已关闭",id:"CLOSED"},{name:"已完成",id:"COMPLETED"}],orders:[],logisticsShow:!1,orderId:"",logisticsInfo:""}},computed:{},mounted(){const t=this.$route.query.status;t&&(this.filterForm.state=t),this.getList()},methods:{confirmpost(t){this.$confirm("是否确认收货?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(()=>{this.post({order_id:t},"/api/order/confirmPost").then(t=>{1==t.code&&(this.getList(),this.$message({type:"success",message:"确认收货成功成功!"}))})})},closeOrder(t){this.$confirm("是否关闭订单?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({order_id:t},"/api/order/close").then(t=>{1==t.code&&(this.getList(),this.$message({type:"success",message:"订单关闭成功!"}))})})},refund(t){this.$confirm("是否取消订单?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({order_id:t},"/api/order/refund").then(t=>{1==t.code&&(this.getList(),this.$message({type:"success",message:"订单取消成功!"}))})})},gotoDetail(t){this.$router.push("/Detail/"+t.product_id)},getList(){this.filterForm.start_date=this.filterForm.createTime[0],this.filterForm.end_date=this.filterForm.createTime[1],this.post({...this.filterForm,offset:(this.filterForm.currentPage-1)*this.filterForm.limit},"/api/order/list").then(t=>{this.orders=t.data.list,this.filterForm.total=t.data.total})},search(){this.filterForm.currentPage=1,this.getList()},reset(){this.filterForm={keywords:"",currentPage:1,limit:10,order_id:"",createTime:[],start_date:"",end_date:"",total:1},this.getList()},handleSizeChange(t){this.filterForm.limit=t,this.filterForm.currentPage=1,this.getList()},handleCurrentChange(t){this.filterForm.currentPage=t,this.getList()},getStatusText(t){const e={pendingPayment:"待付款",pendingDelivery:"待发货",delivering:"配送中",completed:"已完成",cancelled:"已取消"};return e[t]||t},getStatusTagType(t){const e={pendingPayment:"warning",pendingDelivery:"info",delivering:"primary",completed:"success",cancelled:"danger"};return e[t]||"default"},payOrder(t){this.post({order_id:t,pay_method:"ABC_H5",pay_platform:"PC"},"/api/order/pay").then(e=>{1==e.code&&(this.$message.success("订单提交成功!"),this.$router.push({path:"/OrderDetail?id="+t}))})},remindDelivery(t){this.$message({message:`已提醒订单 ${t} 发货`,type:"success"})},checkLogistics(t){this.orderId=t.child_order_id,this.logisticsInfo=t.order_product_extend,this.logisticsShow=!0},gotoReview(t){this.$router.push("/ProductReview?product="+JSON.stringify(t))},viewOrderDetail(t){this.$router.push({path:"/OrderDetail?id="+t})}}},l=a,n=i(1656),c=(0,n.A)(l,s,r,!1,null,"c32677a6",null),d=c.exports}}]); -//# sourceMappingURL=497.13803348.js.map \ No newline at end of file diff --git a/dist/js/497.13803348.js.map b/dist/js/497.13803348.js.map deleted file mode 100644 index 1612fa5..0000000 --- a/dist/js/497.13803348.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/497.13803348.js","mappings":"qJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAQF,EAAII,KAAMF,EAAG,YAAY,CAACG,MAAM,CAAC,MAAQ,OAAO,QAAUL,EAAIM,QAAQ,MAAQ,QAAQ,wBAAuB,EAAM,cAAa,EAAK,eAAeN,EAAIO,aAAaC,GAAG,CAAC,iBAAiB,SAASC,GAAQT,EAAIM,QAAQG,CAAM,IAAI,CAACP,EAAG,MAAM,CAACQ,YAAY,gBAAgB,CAACR,EAAG,MAAM,CAACQ,YAAY,gBAAgB,CAACR,EAAG,OAAO,CAACQ,YAAY,gBAAgB,CAACV,EAAIW,GAAGX,EAAIY,GAAGZ,EAAI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B,GACA,EACA,KACA,WACA,MAIF,EAAe8B,E","sources":["webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue","webpack://shiweisuzhou/src/components/product/LogisticsModal.vue","webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue?0c14","webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue?a972","webpack://shiweisuzhou/./src/views/User/OrderList.vue","webpack://shiweisuzhou/src/views/User/OrderList.vue","webpack://shiweisuzhou/./src/views/User/OrderList.vue?f8b7","webpack://shiweisuzhou/./src/views/User/OrderList.vue?604f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.show)?_c('el-dialog',{attrs:{\"title\":\"物流信息\",\"visible\":_vm.visible,\"width\":\"700px\",\"close-on-click-modal\":false,\"show-close\":true,\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('div',{staticClass:\"express-info\"},[_c('div',{staticClass:\"express-logo\"},[_c('span',{staticClass:\"express-name\"},[_vm._v(_vm._s(_vm.logisticsInfo.express_name))])]),_c('div',{staticClass:\"express-number\"},[_c('span',{staticClass:\"number-label\"},[_vm._v(\"运单号:\")]),_c('span',{staticClass:\"number-value\"},[_vm._v(_vm._s(_vm.logisticsInfo.courier_number))]),_c('el-button',{staticClass:\"copy-btn\",attrs:{\"type\":\"text\"},on:{\"click\":_vm.copyWaybillNumber}},[_vm._v(\" 复制 \")])],1)]),_c('div',{staticClass:\"timeline-container\"},[_c('el-timeline',_vm._l((_vm.logisticsList),function(item,index){return _c('el-timeline-item',{key:index,attrs:{\"timestamp\":item.time,\"color\":index === 0 ? 'orange' : '#8492a6',\"icon\":index === 0 ? 'el-icon-check' : '',\"size\":index === 0 ? 'large' : 'normal'}},[_c('div',{staticClass:\"timeline-content\"},[_c('div',{staticClass:\"timeline-status\",class:{ active: index === 0 }},[_vm._v(\" \"+_vm._s(item.context)+\" \")]),_c('div',{staticClass:\"timeline-desc\"},[_vm._v(_vm._s(item.description))])])])}),1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.handleClose}},[_vm._v(\"关闭\")])],1)]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LogisticsModal.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LogisticsModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LogisticsModal.vue?vue&type=template&id=05881a53&scoped=true\"\nimport script from \"./LogisticsModal.vue?vue&type=script&lang=js\"\nexport * from \"./LogisticsModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./LogisticsModal.vue?vue&type=style&index=0&id=05881a53&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"05881a53\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"filter-bar\"},[_c('el-form',{attrs:{\"inline\":true,\"model\":_vm.filterForm,\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"商品名称\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入商品名称\"},model:{value:(_vm.filterForm.keywords),callback:function ($$v) {_vm.$set(_vm.filterForm, \"keywords\", $$v)},expression:\"filterForm.keywords\"}})],1),_c('el-form-item',{attrs:{\"label\":\"订单编号\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入订单编号\"},model:{value:(_vm.filterForm.order_id),callback:function ($$v) {_vm.$set(_vm.filterForm, \"order_id\", $$v)},expression:\"filterForm.order_id\"}})],1),_c('el-form-item',{attrs:{\"label\":\"下单时间\"}},[_c('el-date-picker',{attrs:{\"type\":\"daterange\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\",\"value-format\":\"yyyy-MM-dd\"},model:{value:(_vm.filterForm.createTime),callback:function ($$v) {_vm.$set(_vm.filterForm, \"createTime\", $$v)},expression:\"filterForm.createTime\"}})],1),_c('el-form-item',{attrs:{\"label\":\"交易状态\"}},[_c('el-select',{staticStyle:{\"width\":\"200px\"},attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.filterForm.state),callback:function ($$v) {_vm.$set(_vm.filterForm, \"state\", $$v)},expression:\"filterForm.state\"}},_vm._l((_vm.typeList),function(item,i){return _c('el-option',{key:i,attrs:{\"label\":item.name,\"value\":item.id}})}),1)],1),_c('el-form-item',[_c('el-button',{staticStyle:{\"background\":\"#6a8a27\",\"border\":\"none\"},attrs:{\"type\":\"primary\"},on:{\"click\":_vm.search}},[_vm._v(\"搜索\")])],1),_c('el-form-item',[_c('el-button',{on:{\"click\":_vm.reset}},[_vm._v(\"重置\")])],1)],1)],1),_c('div',[_vm._m(0),_vm._l((_vm.orders),function(order){return _c('div',{key:order.id,staticClass:\"order-card\"},[_c('div',{staticClass:\"order-header flex-between\"},[_c('div',{staticStyle:{\"display\":\"flex\"}},[_c('div',[_vm._v(\"订单号: \"+_vm._s(order.order_id))]),_c('div',{staticStyle:{\"padding-left\":\"60px\"}},[_vm._v(\" 下单时间:\"+_vm._s(order.create_time)+\" \")])]),_c('div',{staticClass:\"product-status\"},[_c('el-tag',{attrs:{\"type\":_vm.getStatusTagType(order.state),\"size\":\"small\"}},[_vm._v(_vm._s(order.state_text))])],1)]),_c('div',{staticClass:\"order-products\"},_vm._l((order.order_product_list),function(product){return _c('div',{key:product.id,staticClass:\"product-item\"},[_c('img',{staticClass:\"product-image\",attrs:{\"src\":product.product_img}}),_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(product.product_title))]),_c('div',{staticClass:\"product-spec\"},[_vm._v(_vm._s(product.sku_name))])]),_c('div',{staticClass:\"product-price\"},[_vm._v(\" ¥\"+_vm._s((product.product_price / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-quantity\"},[_vm._v(\"x\"+_vm._s(product.product_num))]),_c('div',{staticClass:\"product-total\"},[_vm._v(\" ¥\"+_vm._s((product.paid_money / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-actions\"},[_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoDetail(product)}}},[_vm._v(\" 商品详情\")]),(product.state === 'WAIT_DELIVERY')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.checkLogistics(product)}}},[_vm._v(\"查看物流\")]):_vm._e(),(product.state == 'WAIT_COMMENT')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoReview(product)}}},[_vm._v(\" 去评价\")]):_vm._e()],1)])}),0),_c('div',{staticClass:\"order-footer\"},[_c('div',{staticClass:\"order-summary\"},[_c('div',{staticClass:\"order-amount\"},[_vm._v(\" 合计: \"),_c('strong',[_vm._v(\"¥\"+_vm._s((order.paid_money / 100).toFixed(2)))]),_vm._v(\" (含运费 ¥\"+_vm._s((order.total_post_fee / 100).toFixed(2))+\") \")])]),_c('div',{staticClass:\"order-actions\"},[_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.viewOrderDetail(order.order_id)}}},[_vm._v(\"订单详情\")]),(['WAIT_POST', 'WAIT_USE', 'PAID'].includes(order.state))?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.refund(order.order_id)}}},[_vm._v(\"取消订单\")]):_vm._e(),(['UNPAID'].includes(order.state))?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.closeOrder(order.order_id)}}},[_vm._v(\"关闭订单\")]):_vm._e(),(order.state === 'UNPAID')?_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.payOrder(order.order_id)}}},[_vm._v(\"去付款\")]):_vm._e(),(order.state === 'WAIT_DELIVERY')?_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.confirmpost(order.order_id)}}},[_vm._v(\"确认收货\")]):_vm._e()],1)])])}),(_vm.orders.length <= 0)?_c('el-empty',{attrs:{\"description\":\"暂无订单\"}}):_vm._e(),_c('div',{staticStyle:{\"text-align\":\"right\",\"margin-top\":\"20px\"}},[_c('el-pagination',{attrs:{\"current-page\":_vm.filterForm.currentPage,\"page-sizes\":[5, 10, 20],\"page-size\":_vm.filterForm.limit,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.filterForm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1)],2),(_vm.logisticsShow)?_c('LogisticsModal',{attrs:{\"visible\":_vm.logisticsShow,\"orderId\":_vm.orderId,\"logisticsInfo\":_vm.logisticsInfo},on:{\"update:visible\":function($event){_vm.logisticsShow = $event}}}):_vm._e()],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"order-products\",staticStyle:{\"padding\":\"0 20px\",\"background\":\"#f8f9fa\",\"border-top\":\"1px solid #eee\",\"border-bottom\":\"1px solid #eee\",\"margin-bottom\":\"20px\"}},[_c('div',{staticClass:\"product-item\"},[_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(\"商品信息\")])]),_c('div',{staticClass:\"product-price\"},[_vm._v(\"单价(元)\")]),_c('div',{staticClass:\"product-quantity\"},[_vm._v(\"数量\")]),_c('div',{staticClass:\"product-total\"},[_vm._v(\"小计(元)\")]),_c('div',{staticClass:\"product-actions\"})])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderList.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderList.vue?vue&type=template&id=c32677a6&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=c32677a6&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 \"c32677a6\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","show","attrs","visible","handleClose","on","$event","staticClass","_v","_s","logisticsInfo","express_name","courier_number","copyWaybillNumber","_l","logisticsList","item","index","key","time","class","active","context","description","slot","_e","staticRenderFns","name","props","type","Boolean","default","orderId","String","Object","data","watch","newVal","mounted","post","child_order_id","then","res","methods","input","document","createElement","value","body","appendChild","select","execCommand","removeChild","$message","success","$emit","component","filterForm","model","keywords","callback","$$v","$set","expression","order_id","createTime","staticStyle","state","typeList","i","id","search","reset","_m","orders","order","create_time","getStatusTagType","state_text","order_product_list","product","product_img","product_title","sku_name","product_price","toFixed","product_num","paid_money","gotoDetail","checkLogistics","gotoReview","total_post_fee","viewOrderDetail","includes","refund","closeOrder","payOrder","confirmpost","length","currentPage","limit","total","handleSizeChange","handleCurrentChange","logisticsShow","components","LogisticsModal","activeTab","start_date","end_date","computed","status","$route","query","getList","$confirm","confirmButtonText","cancelButtonText","code","message","$router","push","product_id","offset","list","val","getStatusText","statusMap","pendingPayment","pendingDelivery","delivering","completed","cancelled","typeMap","pay_method","pay_platform","path","remindDelivery","order_product_extend","JSON","stringify"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/528.f5163631.js b/dist/js/528.f5163631.js new file mode 100644 index 0000000..488fd81 --- /dev/null +++ b/dist/js/528.f5163631.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[528],{2528:function(t,e,i){i.r(e),i.d(e,{default:function(){return d}});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[e("div",{staticClass:"normal-margin-bottom"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:"/User/UserCenter"}}},[t._v("个人中心")]),e("el-breadcrumb-item",{attrs:{to:{path:"/User/OrderList"}}},[t._v("我的订单")]),e("el-breadcrumb-item",[t._v(" 订单详情")])],1)],1),e("div",{staticClass:"common-card normal-margin-bottom",staticStyle:{padding:"20px 0",display:"flex"}},[e("div",{staticClass:"order-status"},[e("div",{staticClass:"order-no"},[t._v(" 订单号: 209907091214560078 "),e("el-button",{staticStyle:{color:"#999"},attrs:{type:"text",icon:"el-icon-document-copy"}})],1),e("div",{staticClass:"status-title"},[e("i",{staticClass:"el-icon-time",staticStyle:{color:"#ff9800","font-size":"32px"}}),e("span",{staticStyle:{height:"24px","line-height":"24px","padding-left":"5px"}},[t._v("订单状态: "+t._s(t.info.state_text))])]),"WAIT_COMMENT"!=t.info.state?e("el-button",{attrs:{type:"primary",size:"medium"},on:{click:t.payOrder}},[t._v("在线付款")]):t._e()],1),e("div",{staticClass:"order-step"},[e("el-steps",{staticStyle:{width:"100%"},attrs:{active:t.activities.length,"align-center":""}},t._l(t.activities,function(i,s){return e("el-step",{key:s},[e("div",{staticClass:"process-title",attrs:{slot:"description"},slot:"description"},[t._v(" "+t._s(i.remark)+" ")]),e("div",{attrs:{slot:"icon"},slot:"icon"},[s>=2?e("span",[t._v(t._s(s+1))]):e("i",{staticClass:"el-icon-check",staticStyle:{color:"#fff"}})]),e("div",{staticClass:"process-description",attrs:{slot:"description"},slot:"description"},[t._v(" "+t._s(i.create_time)+" ")])])}),1)],1)]),e("div",{staticClass:"common-card normal-margin-bottom order-info-card",staticStyle:{display:"flex",padding:"20px 0"}},[e("el-descriptions",{attrs:{title:"订单信息",column:1}},[e("el-descriptions-item",{attrs:{label:"订单号"}},[t._v(t._s(t.info.order_id))]),e("el-descriptions-item",{attrs:{label:"订单状态"}},[t._v(t._s(t.info.state_text))]),e("el-descriptions-item",{attrs:{label:"下单时间"}},[t._v(t._s(t.info.create_time))])],1),e("el-descriptions",{attrs:{title:"配送信息",column:1}},[e("el-descriptions-item",{attrs:{label:"收货人"}},[t._v(t._s(t.info.order_product_list[0].consignee_info.name))]),e("el-descriptions-item",{attrs:{label:"地址"}},[t._v(t._s(t.info.order_product_list[0].consignee_info.address))]),e("el-descriptions-item",{attrs:{label:"手机号码"}},[t._v(t._s(t.info.order_product_list[0].consignee_info.tel))])],1),t.info.pay_method_text?e("el-descriptions",{staticStyle:{border:"none"},attrs:{title:"支付信息",column:1}},[e("el-descriptions-item",{attrs:{label:"支付方式"}},[t._v(t._s(t.info.pay_method_text))]),e("el-descriptions-item",{attrs:{label:"支付时间"}},[t._v(t._s(t.info.pay_at))])],1):t._e()],1),e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.productList}},[e("el-table-column",{attrs:{prop:"name",label:"商品名称",align:"center"},scopedSlots:t._u([{key:"default",fn:function({row:i}){return[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticClass:"product-image",attrs:{src:i.product_img,alt:i.product_title}}),e("div",[t._v(t._s(i.product_title))])])]}}])}),e("el-table-column",{attrs:{prop:"sku_name",label:"规格",align:"center"}}),e("el-table-column",{attrs:{prop:"product_price",label:"单价(元)",align:"center",width:"200"},scopedSlots:t._u([{key:"default",fn:function({row:i}){return[e("div",[t._v(t._s(i.product_price/100))])]}}])}),e("el-table-column",{attrs:{prop:"product_num",label:"数量",align:"center",width:"100"}}),e("el-table-column",{attrs:{prop:"subtotal",label:"小计(元)",align:"center",width:"200"},scopedSlots:t._u([{key:"default",fn:function({row:i}){return[e("div",{staticStyle:{color:"#ff1111"}},[t._v("¥"+t._s(i.paid_money/100))])]}}])}),e("el-table-column",{attrs:{label:"操作",align:"center",width:"250"},scopedSlots:t._u([{key:"default",fn:function({row:i}){return[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoDetail(i)}}},[t._v(" 商品详情 ")]),"WAIT_DELIVERY"===i.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.checkLogistics(i)}}},[t._v(" 查看物流 ")]):t._e(),"WAIT_COMMENT"===i.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoReview(i)}}},[t._v(" 去评价 ")]):t._e()]}}])})],1),e("div",{staticClass:"common-card normal-margin-bottom total-card"},[e("el-descriptions",{attrs:{column:1}},[e("el-descriptions-item",{attrs:{label:"商品总价"}},[t._v("¥"+t._s(t.info.total_money/100))]),e("el-descriptions-item",{attrs:{label:"运费"}},[t._v("¥"+t._s(t.info.total_post_fee/100))]),e("el-descriptions-item",{attrs:{label:"实付款"}},[e("span",{staticStyle:{"font-size":"16px","font-weight":"bold",color:"#ff1111"}},[t._v("¥"+t._s(t.info.paid_money/100))])])],1)],1),t.logisticsShow?e("LogisticsModal",{attrs:{visible:t.logisticsShow,orderId:t.orderId,logisticsInfo:t.logisticsInfo},on:{"update:visible":function(e){t.logisticsShow=e}}}):t._e()],1)},o=[],r=(i(4114),i(8111),i(7588),i(5241)),l={name:"OrderDetail",components:{LogisticsModal:r.A},data(){return{info:{},activities:[],orderInfo:{orderNumber:"20250801123456",status:"已完成",orderTime:"2025-08-01 15:30:00"},deliveryInfo:{receiver:"张三",address:"北京市海淀区xxx街道xxx小区",phone:"13800138000",deliveryMethod:"快递",expectedDeliveryTime:"2025-08-02"},paymentInfo:{paymentMethod:"支付宝",paymentStatus:"已支付",paymentTime:"2025-08-01 15:35:00"},productList:[],totalPrice:{productTotal:500,shippingFee:0,actualPayment:500},logisticsShow:!1,orderId:"",logisticsInfo:""}},computed:{},mounted(){this.getDetail()},methods:{payOrder(){this.post({order_id:this.$route.query.id,pay_method:"ABC_H5",pay_platform:"PC"},"/api/order/pay").then(t=>{1==t.code&&this.$message.success("订单提交成功!")})},getDetail(){this.post({order_id:this.$route.query.id},"/api/order/query").then(t=>{this.info=t.data,this.productList=this.info.order_product_list,this.info.order_product_list.forEach(t=>{"post"===t.product_model&&t.consignee_info&&(t.consignee_info=JSON.parse(t.consignee_info))})}),this.post({order_id:this.$route.query.id},"/api/order/refund_detail").then(t=>{this.activities=t.data.list})},gotoDetail(t){this.$router.push("/Detail/"+t.product_id)},checkLogistics(t){this.orderId=t.child_order_id,this.logisticsInfo=t.order_product_extend,this.logisticsShow=!0},gotoReview(t){this.$router.push("/ProductReview?product="+JSON.stringify(t))}}},a=l,n=i(845),c=(0,n.A)(a,s,o,!1,null,"a02735a6",null),d=c.exports},5241:function(t,e,i){i.d(e,{A:function(){return c}});var s=function(){var t=this,e=t._self._c;return t.show?e("el-dialog",{attrs:{title:"物流信息",visible:t.visible,width:"700px","close-on-click-modal":!1,"show-close":!0,"before-close":t.handleClose},on:{"update:visible":function(e){t.visible=e}}},[e("div",{staticClass:"express-info"},[e("div",{staticClass:"express-logo"},[e("span",{staticClass:"express-name"},[t._v(t._s(t.logisticsInfo.express_name))])]),e("div",{staticClass:"express-number"},[e("span",{staticClass:"number-label"},[t._v("运单号:")]),e("span",{staticClass:"number-value"},[t._v(t._s(t.logisticsInfo.courier_number))]),e("el-button",{staticClass:"copy-btn",attrs:{type:"text"},on:{click:t.copyWaybillNumber}},[t._v(" 复制 ")])],1)]),e("div",{staticClass:"timeline-container"},[e("el-timeline",t._l(t.logisticsList,function(i,s){return e("el-timeline-item",{key:s,attrs:{timestamp:i.time,color:0===s?"orange":"#8492a6",icon:0===s?"el-icon-check":"",size:0===s?"large":"normal"}},[e("div",{staticClass:"timeline-content"},[e("div",{staticClass:"timeline-status",class:{active:0===s}},[t._v(" "+t._s(i.context)+" ")]),e("div",{staticClass:"timeline-desc"},[t._v(t._s(i.description))])])])}),1)],1),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.handleClose}},[t._v("关闭")])],1)]):t._e()},o=[],r={name:"LogisticsModal",props:{visible:{type:Boolean,default:!1},orderId:{type:String},logisticsInfo:{type:Object}},data(){return{logisticsList:[],show:this.visible}},watch:{visible(t){this.show=t}},mounted(){this.post({child_order_id:this.orderId},"/api/order/getExpress").then(t=>{this.logisticsList=t.data})},methods:{copyWaybillNumber(){const t=document.createElement("input");t.value=this.logisticsInfo.courier_number,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),this.$message.success("运单号已复制")},handleClose(){this.show=!1,this.$emit("update:visible",!1)}}},l=r,a=i(845),n=(0,a.A)(l,s,o,!1,null,"05881a53",null),c=n.exports}}]); +//# sourceMappingURL=528.f5163631.js.map \ No newline at end of file diff --git a/dist/js/528.f5163631.js.map b/dist/js/528.f5163631.js.map new file mode 100644 index 0000000..ad1880c --- /dev/null +++ b/dist/js/528.f5163631.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/528.f5163631.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACE,YAAY,wBAAwB,CAACF,EAAG,g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SAGAhE,IAAAA,GACA,OAEAoD,cAAA,GACAN,KAAA,KAAAC,QAEA,EACAkB,MAAA,CACAlB,OAAAA,CAAAmB,GACA,KAAApB,KAAAoB,CACA,GAEA/C,OAAAA,GACA,KAAAG,KACA,CACAoB,eAAA,KAAA/C,SAEA,yBACAiC,KAAAC,IACA,KAAAuB,cAAAvB,EAAA7B,MAEA,EACAqB,QAAA,CAEA8B,iBAAAA,GAEA,MAAAgB,EAAAC,SAAAC,cAAA,SACAF,EAAAG,MAAA,KAAA1E,cAAAsD,eACAkB,SAAAG,KAAAC,YAAAL,GACAA,EAAAM,SACAL,SAAAM,YAAA,QACAN,SAAAG,KAAAI,YAAAR,GAGA,KAAApC,SAAAC,QAAA,SACA,EACAgB,WAAAA,GAEA,KAAAF,MAAA,EAEA,KAAA8B,MAAA,oBACA,IC3GoS,I,SCQhS/B,GAAY,OACd,EACApG,EACAoD,GACA,EACA,KACA,WACA,MAIF,EAAegD,E","sources":["webpack://shiweisuzhou/./src/views/Order/OrderDetail.vue","webpack://shiweisuzhou/src/views/Order/OrderDetail.vue","webpack://shiweisuzhou/./src/views/Order/OrderDetail.vue?a2ba","webpack://shiweisuzhou/./src/views/Order/OrderDetail.vue?41a4","webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue","webpack://shiweisuzhou/src/components/product/LogisticsModal.vue","webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue?44e4","webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue?6aac"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"normal-margin-bottom\"},[_c('el-breadcrumb',{attrs:{\"separator-class\":\"el-icon-arrow-right\"}},[_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/User/UserCenter' }}},[_vm._v(\"个人中心\")]),_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/User/OrderList' }}},[_vm._v(\"我的订单\")]),_c('el-breadcrumb-item',[_vm._v(\" 订单详情\")])],1)],1),_c('div',{staticClass:\"common-card normal-margin-bottom\",staticStyle:{\"padding\":\"20px 0\",\"display\":\"flex\"}},[_c('div',{staticClass:\"order-status\"},[_c('div',{staticClass:\"order-no\"},[_vm._v(\" 订单号: 209907091214560078 \"),_c('el-button',{staticStyle:{\"color\":\"#999\"},attrs:{\"type\":\"text\",\"icon\":\"el-icon-document-copy\"}})],1),_c('div',{staticClass:\"status-title\"},[_c('i',{staticClass:\"el-icon-time\",staticStyle:{\"color\":\"#ff9800\",\"font-size\":\"32px\"}}),_c('span',{staticStyle:{\"height\":\"24px\",\"line-height\":\"24px\",\"padding-left\":\"5px\"}},[_vm._v(\"订单状态: \"+_vm._s(_vm.info.state_text))])]),(_vm.info.state != 'WAIT_COMMENT')?_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"},on:{\"click\":_vm.payOrder}},[_vm._v(\"在线付款\")]):_vm._e()],1),_c('div',{staticClass:\"order-step\"},[_c('el-steps',{staticStyle:{\"width\":\"100%\"},attrs:{\"active\":_vm.activities.length,\"align-center\":\"\"}},_vm._l((_vm.activities),function(item,i){return _c('el-step',{key:i},[_c('div',{staticClass:\"process-title\",attrs:{\"slot\":\"description\"},slot:\"description\"},[_vm._v(\" \"+_vm._s(item.remark)+\" \")]),_c('div',{attrs:{\"slot\":\"icon\"},slot:\"icon\"},[(i >= 2)?_c('span',[_vm._v(_vm._s(i + 1))]):_c('i',{staticClass:\"el-icon-check\",staticStyle:{\"color\":\"#fff\"}})]),_c('div',{staticClass:\"process-description\",attrs:{\"slot\":\"description\"},slot:\"description\"},[_vm._v(\" \"+_vm._s(item.create_time)+\" \")])])}),1)],1)]),_c('div',{staticClass:\"common-card normal-margin-bottom order-info-card\",staticStyle:{\"display\":\"flex\",\"padding\":\"20px 0\"}},[_c('el-descriptions',{attrs:{\"title\":\"订单信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"订单号\"}},[_vm._v(_vm._s(_vm.info.order_id))]),_c('el-descriptions-item',{attrs:{\"label\":\"订单状态\"}},[_vm._v(_vm._s(_vm.info.state_text))]),_c('el-descriptions-item',{attrs:{\"label\":\"下单时间\"}},[_vm._v(_vm._s(_vm.info.create_time))])],1),_c('el-descriptions',{attrs:{\"title\":\"配送信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"收货人\"}},[_vm._v(_vm._s(_vm.info.order_product_list[0].consignee_info.name))]),_c('el-descriptions-item',{attrs:{\"label\":\"地址\"}},[_vm._v(_vm._s(_vm.info.order_product_list[0].consignee_info.address))]),_c('el-descriptions-item',{attrs:{\"label\":\"手机号码\"}},[_vm._v(_vm._s(_vm.info.order_product_list[0].consignee_info.tel))])],1),(_vm.info.pay_method_text)?_c('el-descriptions',{staticStyle:{\"border\":\"none\"},attrs:{\"title\":\"支付信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"支付方式\"}},[_vm._v(_vm._s(_vm.info.pay_method_text))]),_c('el-descriptions-item',{attrs:{\"label\":\"支付时间\"}},[_vm._v(_vm._s(_vm.info.pay_at))])],1):_vm._e()],1),_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.productList}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"商品名称\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[_c('img',{staticClass:\"product-image\",attrs:{\"src\":row.product_img,\"alt\":row.product_title}}),_c('div',[_vm._v(_vm._s(row.product_title))])])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"sku_name\",\"label\":\"规格\",\"align\":\"center\"}}),_c('el-table-column',{attrs:{\"prop\":\"product_price\",\"label\":\"单价(元)\",\"align\":\"center\",\"width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('div',[_vm._v(_vm._s(row.product_price / 100))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"product_num\",\"label\":\"数量\",\"align\":\"center\",\"width\":\"100\"}}),_c('el-table-column',{attrs:{\"prop\":\"subtotal\",\"label\":\"小计(元)\",\"align\":\"center\",\"width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('div',{staticStyle:{\"color\":\"#ff1111\"}},[_vm._v(\"¥\"+_vm._s(row.paid_money / 100))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"align\":\"center\",\"width\":\"250\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoDetail(row)}}},[_vm._v(\" 商品详情 \")]),(row.state === 'WAIT_DELIVERY')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.checkLogistics(row)}}},[_vm._v(\" 查看物流 \")]):_vm._e(),(row.state === 'WAIT_COMMENT')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoReview(row)}}},[_vm._v(\" 去评价 \")]):_vm._e()]}}])})],1),_c('div',{staticClass:\"common-card normal-margin-bottom total-card\"},[_c('el-descriptions',{attrs:{\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"商品总价\"}},[_vm._v(\"¥\"+_vm._s(_vm.info.total_money / 100))]),_c('el-descriptions-item',{attrs:{\"label\":\"运费\"}},[_vm._v(\"¥\"+_vm._s(_vm.info.total_post_fee / 100))]),_c('el-descriptions-item',{attrs:{\"label\":\"实付款\"}},[_c('span',{staticStyle:{\"font-size\":\"16px\",\"font-weight\":\"bold\",\"color\":\"#ff1111\"}},[_vm._v(\"¥\"+_vm._s(_vm.info.paid_money / 100))])])],1)],1),(_vm.logisticsShow)?_c('LogisticsModal',{attrs:{\"visible\":_vm.logisticsShow,\"orderId\":_vm.orderId,\"logisticsInfo\":_vm.logisticsInfo},on:{\"update:visible\":function($event){_vm.logisticsShow = $event}}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/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/cli-service/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=a02735a6&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=a02735a6&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a02735a6\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.show)?_c('el-dialog',{attrs:{\"title\":\"物流信息\",\"visible\":_vm.visible,\"width\":\"700px\",\"close-on-click-modal\":false,\"show-close\":true,\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('div',{staticClass:\"express-info\"},[_c('div',{staticClass:\"express-logo\"},[_c('span',{staticClass:\"express-name\"},[_vm._v(_vm._s(_vm.logisticsInfo.express_name))])]),_c('div',{staticClass:\"express-number\"},[_c('span',{staticClass:\"number-label\"},[_vm._v(\"运单号:\")]),_c('span',{staticClass:\"number-value\"},[_vm._v(_vm._s(_vm.logisticsInfo.courier_number))]),_c('el-button',{staticClass:\"copy-btn\",attrs:{\"type\":\"text\"},on:{\"click\":_vm.copyWaybillNumber}},[_vm._v(\" 复制 \")])],1)]),_c('div',{staticClass:\"timeline-container\"},[_c('el-timeline',_vm._l((_vm.logisticsList),function(item,index){return _c('el-timeline-item',{key:index,attrs:{\"timestamp\":item.time,\"color\":index === 0 ? 'orange' : '#8492a6',\"icon\":index === 0 ? 'el-icon-check' : '',\"size\":index === 0 ? 'large' : 'normal'}},[_c('div',{staticClass:\"timeline-content\"},[_c('div',{staticClass:\"timeline-status\",class:{ active: index === 0 }},[_vm._v(\" \"+_vm._s(item.context)+\" \")]),_c('div',{staticClass:\"timeline-desc\"},[_vm._v(_vm._s(item.description))])])])}),1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.handleClose}},[_vm._v(\"关闭\")])],1)]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LogisticsModal.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LogisticsModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LogisticsModal.vue?vue&type=template&id=05881a53&scoped=true\"\nimport script from \"./LogisticsModal.vue?vue&type=script&lang=js\"\nexport * from \"./LogisticsModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./LogisticsModal.vue?vue&type=style&index=0&id=05881a53&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"05881a53\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","path","_v","staticStyle","_s","info","state_text","state","on","payOrder","_e","activities","length","_l","item","i","key","slot","remark","create_time","order_id","order_product_list","consignee_info","name","address","tel","pay_method_text","pay_at","productList","scopedSlots","_u","fn","row","product_img","product_title","product_price","paid_money","$event","gotoDetail","checkLogistics","gotoReview","total_money","total_post_fee","logisticsShow","orderId","logisticsInfo","staticRenderFns","components","LogisticsModal","data","orderInfo","orderNumber","status","orderTime","deliveryInfo","receiver","phone","deliveryMethod","expectedDeliveryTime","paymentInfo","paymentMethod","paymentStatus","paymentTime","totalPrice","productTotal","shippingFee","actualPayment","computed","mounted","getDetail","methods","post","$route","query","id","pay_method","pay_platform","then","res","code","$message","success","forEach","product_model","JSON","parse","list","$router","push","product_id","product","child_order_id","order_product_extend","stringify","component","show","visible","handleClose","express_name","courier_number","copyWaybillNumber","logisticsList","index","time","class","active","context","description","props","type","Boolean","default","String","Object","watch","newVal","input","document","createElement","value","body","appendChild","select","execCommand","removeChild","$emit"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/688.aa0eb580.js b/dist/js/576.59915dd8.js similarity index 95% rename from dist/js/688.aa0eb580.js rename to dist/js/576.59915dd8.js index 58212cb..d9735d9 100644 --- a/dist/js/688.aa0eb580.js +++ b/dist/js/576.59915dd8.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[688],{5688:function(e,t,i){i.r(t),i.d(t,{default:function(){return c}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg"},[t("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.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-select",{staticStyle:{width:"200px"},attrs:{placeholder:"请选择"},model:{value:e.filterForm.invoice_status,callback:function(t){e.$set(e.filterForm,"invoice_status",t)},expression:"filterForm.invoice_status"}},[t("el-option",{attrs:{label:"全部",value:""}}),t("el-option",{attrs:{label:"未申请",value:"0"}}),t("el-option",{attrs:{label:"已申请",value:"1"}}),t("el-option",{attrs:{label:"已开票",value:"2"}}),t("el-option",{attrs:{label:"开票失败",value:"3"}})],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.datetime,callback:function(t){e.$set(e.filterForm,"datetime",t)},expression:"filterForm.datetime"}})],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("el-table",{staticStyle:{width:"100%"},attrs:{data:e.invoiceList,border:""}},[t("el-table-column",{attrs:{prop:"order_id",label:"订单号","min-width":"120"}}),t("el-table-column",{attrs:{prop:"status",label:"订单状态",width:"80"}}),t("el-table-column",{attrs:{prop:"create_time",label:"下单时间",width:"200"}}),t("el-table-column",{attrs:{prop:"paid_money",label:"发票金额",width:"110"}}),t("el-table-column",{attrs:{prop:"invoice_head",label:"发票抬头","min-width":"120"}}),t("el-table-column",{attrs:{prop:"invoice_type",label:"发票类型",width:"120"}}),t("el-table-column",{attrs:{prop:"invoice_status",label:"开票状态",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(e.getStatusText(t.row.invoice_status))+" ")]}}])}),t("el-table-column",{attrs:{label:"操作",width:"110"},scopedSlots:e._u([{key:"default",fn:function(i){return i.row.invoice_url?[t("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.handleDownload(i.row)}}},[e._v("下载发票")])]:void 0}}],null,!0)})],1),t("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[t("el-pagination",{attrs:{"current-page":e.offset,"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)],1)},l=[],r=(i(4114),{name:"OrderList",data(){return{activeTab:"all",offset:1,filterForm:{order_id:"",datetime:"",status:"",limit:10,total:0,invoice_status:""},invoiceList:[]}},mounted(){this.getList()},methods:{getList(){this.post({offset:(this.offset-1)*this.filterForm.limit,...this.filterForm},"/api/order/orderInvoice").then(e=>{this.invoiceList=e.data.list,this.filterForm.total=e.data.total})},search(){this.offset=1,this.getList()},reset(){this.filterForm={order_id:"",datetime:"",status:"",offset:1,limit:10,total:0,invoice_status:""},this.activeTab="all"},handleDownload(e){const t=e.invoice_url,i=document.createElement("a");i.href=t,i.download=`发票${e.invoice_head}.pdf`,i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i),this.$message({message:`发票 ${e.invoice_head} 开始下载`,type:"success"})},getStatusText(e){let t="";switch(e){case 0:t="未申请";break;case 1:t="已申请";break;case 2:t="已开票";break;case 3:t="开票失败";break;default:break}return t},handleSizeChange(e){this.filterForm.limit=e,this.getList()},handleCurrentChange(e){this.offset=e,this.getList()},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"})}}}),s=r,o=i(1656),n=(0,o.A)(s,a,l,!1,null,"96301760",null),c=n.exports}}]); -//# sourceMappingURL=688.aa0eb580.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[576],{5576:function(e,t,i){i.r(t),i.d(t,{default:function(){return c}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg"},[t("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.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-select",{staticStyle:{width:"200px"},attrs:{placeholder:"请选择"},model:{value:e.filterForm.invoice_status,callback:function(t){e.$set(e.filterForm,"invoice_status",t)},expression:"filterForm.invoice_status"}},[t("el-option",{attrs:{label:"全部",value:""}}),t("el-option",{attrs:{label:"未申请",value:"0"}}),t("el-option",{attrs:{label:"已申请",value:"1"}}),t("el-option",{attrs:{label:"已开票",value:"2"}}),t("el-option",{attrs:{label:"开票失败",value:"3"}})],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.datetime,callback:function(t){e.$set(e.filterForm,"datetime",t)},expression:"filterForm.datetime"}})],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("el-table",{staticStyle:{width:"100%"},attrs:{data:e.invoiceList,border:""}},[t("el-table-column",{attrs:{prop:"order_id",label:"订单号","min-width":"120"}}),t("el-table-column",{attrs:{prop:"status",label:"订单状态",width:"80"}}),t("el-table-column",{attrs:{prop:"create_time",label:"下单时间",width:"200"}}),t("el-table-column",{attrs:{prop:"paid_money",label:"发票金额",width:"110"}}),t("el-table-column",{attrs:{prop:"invoice_head",label:"发票抬头","min-width":"120"}}),t("el-table-column",{attrs:{prop:"invoice_type",label:"发票类型",width:"120"}}),t("el-table-column",{attrs:{prop:"invoice_status",label:"开票状态",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(e.getStatusText(t.row.invoice_status))+" ")]}}])}),t("el-table-column",{attrs:{label:"操作",width:"110"},scopedSlots:e._u([{key:"default",fn:function(i){return i.row.invoice_url?[t("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.handleDownload(i.row)}}},[e._v("下载发票")])]:void 0}}],null,!0)})],1),t("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[t("el-pagination",{attrs:{"current-page":e.offset,"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)],1)},l=[],r=(i(4114),{name:"OrderList",data(){return{activeTab:"all",offset:1,filterForm:{order_id:"",datetime:"",status:"",limit:10,total:0,invoice_status:""},invoiceList:[]}},mounted(){this.getList()},methods:{getList(){this.post({offset:(this.offset-1)*this.filterForm.limit,...this.filterForm},"/api/order/orderInvoice").then(e=>{this.invoiceList=e.data.list,this.filterForm.total=e.data.total})},search(){this.offset=1,this.getList()},reset(){this.filterForm={order_id:"",datetime:"",status:"",offset:1,limit:10,total:0,invoice_status:""},this.activeTab="all"},handleDownload(e){const t=e.invoice_url,i=document.createElement("a");i.href=t,i.download=`发票${e.invoice_head}.pdf`,i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i),this.$message({message:`发票 ${e.invoice_head} 开始下载`,type:"success"})},getStatusText(e){let t="";switch(e){case 0:t="未申请";break;case 1:t="已申请";break;case 2:t="已开票";break;case 3:t="开票失败";break;default:break}return t},handleSizeChange(e){this.filterForm.limit=e,this.getList()},handleCurrentChange(e){this.offset=e,this.getList()},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"})}}}),s=r,o=i(845),n=(0,o.A)(s,a,l,!1,null,"96301760",null),c=n.exports}}]); +//# sourceMappingURL=576.59915dd8.js.map \ No newline at end of file diff --git a/dist/js/688.aa0eb580.js.map b/dist/js/576.59915dd8.js.map similarity index 88% rename from dist/js/688.aa0eb580.js.map rename to dist/js/576.59915dd8.js.map index 0b6f0ff..855b243 100644 --- a/dist/js/688.aa0eb580.js.map +++ b/dist/js/576.59915dd8.js.map @@ -1 +1 @@ -{"version":3,"file":"js/688.aa0eb580.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,UAAU,CAACG,MAAM,CAAC,QAAS,EAAK,MAAQL,EAAIM,WAAW,KAAO,UAAU,CAACJ,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,SAAS,CAACH,EAAG,WAAW,CAACG,MAAM,CAAC,YAAc,WAAWE,MAAM,CAACC,MAAOR,EAAIM,WAAWG,SAAUC,SAAS,SAAUC,GAAMX,EAAIY,KAAKZ,EAAIM,WAAY,WAAYK,EAAI,EAAEE,WAAW,0BAA0B,GAAGX,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,SAAS,CAACH,EAA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EACA,KAAAvB,SACA,EAGAwB,gBAAAA,CAAA1B,GACA,MAAA2B,EAAA,CACAC,eAAA,UACAC,gBAAA,OACAC,WAAA,UACAC,UAAA,UACAC,UAAA,UAEA,OAAAL,EAAA3B,IAAA,SACA,EAGAiC,QAAAA,CAAAC,GACA,KAAAb,SAAA,CACAC,QAAA,MAAAY,QACAX,KAAA,QAEA,EAGAY,cAAAA,CAAAD,GACA,KAAAb,SAAA,CACAC,QAAA,SAAAY,OACAX,KAAA,WAEA,EAGAa,cAAAA,CAAAF,GACA,KAAAb,SAAA,CACAC,QAAA,QAAAY,OACAX,KAAA,QAEA,EAGAc,UAAAA,CAAAH,GACA,KAAAb,SAAA,CACAC,QAAA,SAAAY,IACAX,KAAA,QAEA,EAGAe,eAAAA,CAAAJ,GACA,KAAAK,QAAAC,KAAA,CACA3C,KAAA,eAEA,KCjRuQ,I,UCQnQ4C,GAAY,OACd,EACArF,EACAwC,GACA,EACA,KACA,WACA,MAIF,EAAe6C,E","sources":["webpack://shiweisuzhou/./src/views/User/UserInvoiceList.vue","webpack://shiweisuzhou/src/views/User/UserInvoiceList.vue","webpack://shiweisuzhou/./src/views/User/UserInvoiceList.vue?81d6","webpack://shiweisuzhou/./src/views/User/UserInvoiceList.vue?5e4f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"filter-bar\"},[_c('el-form',{attrs:{\"inline\":true,\"model\":_vm.filterForm,\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"订单编号\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入订单编号\"},model:{value:(_vm.filterForm.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-select',{staticStyle:{\"width\":\"200px\"},attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.filterForm.invoice_status),callback:function ($$v) {_vm.$set(_vm.filterForm, \"invoice_status\", $$v)},expression:\"filterForm.invoice_status\"}},[_c('el-option',{attrs:{\"label\":\"全部\",\"value\":\"\"}}),_c('el-option',{attrs:{\"label\":\"未申请\",\"value\":\"0\"}}),_c('el-option',{attrs:{\"label\":\"已申请\",\"value\":\"1\"}}),_c('el-option',{attrs:{\"label\":\"已开票\",\"value\":\"2\"}}),_c('el-option',{attrs:{\"label\":\"开票失败\",\"value\":\"3\"}})],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.datetime),callback:function ($$v) {_vm.$set(_vm.filterForm, \"datetime\", $$v)},expression:\"filterForm.datetime\"}})],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('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.invoiceList,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"order_id\",\"label\":\"订单号\",\"min-width\":\"120\"}}),_c('el-table-column',{attrs:{\"prop\":\"status\",\"label\":\"订单状态\",\"width\":\"80\"}}),_c('el-table-column',{attrs:{\"prop\":\"create_time\",\"label\":\"下单时间\",\"width\":\"200\"}}),_c('el-table-column',{attrs:{\"prop\":\"paid_money\",\"label\":\"发票金额\",\"width\":\"110\"}}),_c('el-table-column',{attrs:{\"prop\":\"invoice_head\",\"label\":\"发票抬头\",\"min-width\":\"120\"}}),_c('el-table-column',{attrs:{\"prop\":\"invoice_type\",\"label\":\"发票类型\",\"width\":\"120\"}}),_c('el-table-column',{attrs:{\"prop\":\"invoice_status\",\"label\":\"开票状态\",\"width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\" \"+_vm._s(_vm.getStatusText(scope.row.invoice_status))+\" \")]}}])}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"110\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return (scope.row.invoice_url)?[_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){return _vm.handleDownload(scope.row)}}},[_vm._v(\"下载发票\")])]:undefined}}],null,true)})],1),_c('div',{staticStyle:{\"text-align\":\"right\",\"margin-top\":\"20px\"}},[_c('el-pagination',{attrs:{\"current-page\":_vm.offset,\"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)],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!./UserInvoiceList.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!./UserInvoiceList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UserInvoiceList.vue?vue&type=template&id=96301760&scoped=true\"\nimport script from \"./UserInvoiceList.vue?vue&type=script&lang=js\"\nexport * from \"./UserInvoiceList.vue?vue&type=script&lang=js\"\nimport style0 from \"./UserInvoiceList.vue?vue&type=style&index=0&id=96301760&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 \"96301760\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","filterForm","model","value","order_id","callback","$$v","$set","expression","staticStyle","invoice_status","datetime","on","search","_v","reset","invoiceList","scopedSlots","_u","key","fn","scope","_s","getStatusText","row","invoice_url","$event","handleDownload","undefined","offset","limit","total","handleSizeChange","handleCurrentChange","staticRenderFns","name","data","activeTab","status","mounted","getList","methods","post","then","res","list","downloadUrl","link","document","createElement","href","download","invoice_head","style","display","body","appendChild","click","removeChild","$message","message","type","text","val","getStatusTagType","typeMap","pendingPayment","pendingDelivery","delivering","completed","cancelled","payOrder","orderId","remindDelivery","checkLogistics","gotoReview","viewOrderDetail","$router","push","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/576.59915dd8.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,UAAU,CAACG,MAAM,CAAC,QAAS,EAAK,MAAQL,EAAIM,WAAW,KAAO,UAAU,CAACJ,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,SAAS,CAACH,EAAG,WAAW,CAACG,MAAM,CAAC,YAAc,WAAWE,MAAM,CAACC,MAAOR,EAAIM,WAAWG,SAAUC,SAAS,SAAUC,GAAMX,EAAIY,KAAKZ,EAAIM,WAAY,WAAYK,EAAI,EAAEE,WAAW,0BAA0B,GAAGX,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,SAAS,CAACH,EAAG,YAAY,CAACY,YAAY,CAAC,MAAQ,SAAST,MAAM,CAAC,YAAc,OAAOE,MAAM,CAACC,MAAOR,EAAIM,WAAWS,eAAgBL,SAAS,SAAUC,GAAMX,EAAIY,KAAKZ,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B,IAAA,SACA,EAGAiC,QAAAA,CAAAC,GACA,KAAAb,SAAA,CACAC,QAAA,MAAAY,QACAX,KAAA,QAEA,EAGAY,cAAAA,CAAAD,GACA,KAAAb,SAAA,CACAC,QAAA,SAAAY,OACAX,KAAA,WAEA,EAGAa,cAAAA,CAAAF,GACA,KAAAb,SAAA,CACAC,QAAA,QAAAY,OACAX,KAAA,QAEA,EAGAc,UAAAA,CAAAH,GACA,KAAAb,SAAA,CACAC,QAAA,SAAAY,IACAX,KAAA,QAEA,EAGAe,eAAAA,CAAAJ,GACA,KAAAK,QAAAC,KAAA,CACA3C,KAAA,eAEA,KCjRqS,I,SCQjS4C,GAAY,OACd,EACArF,EACAwC,GACA,EACA,KACA,WACA,MAIF,EAAe6C,E","sources":["webpack://shiweisuzhou/./src/views/User/UserInvoiceList.vue","webpack://shiweisuzhou/src/views/User/UserInvoiceList.vue","webpack://shiweisuzhou/./src/views/User/UserInvoiceList.vue?e587","webpack://shiweisuzhou/./src/views/User/UserInvoiceList.vue?b46e"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"filter-bar\"},[_c('el-form',{attrs:{\"inline\":true,\"model\":_vm.filterForm,\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"订单编号\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入订单编号\"},model:{value:(_vm.filterForm.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-select',{staticStyle:{\"width\":\"200px\"},attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.filterForm.invoice_status),callback:function ($$v) {_vm.$set(_vm.filterForm, \"invoice_status\", $$v)},expression:\"filterForm.invoice_status\"}},[_c('el-option',{attrs:{\"label\":\"全部\",\"value\":\"\"}}),_c('el-option',{attrs:{\"label\":\"未申请\",\"value\":\"0\"}}),_c('el-option',{attrs:{\"label\":\"已申请\",\"value\":\"1\"}}),_c('el-option',{attrs:{\"label\":\"已开票\",\"value\":\"2\"}}),_c('el-option',{attrs:{\"label\":\"开票失败\",\"value\":\"3\"}})],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.datetime),callback:function ($$v) {_vm.$set(_vm.filterForm, \"datetime\", $$v)},expression:\"filterForm.datetime\"}})],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('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.invoiceList,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"order_id\",\"label\":\"订单号\",\"min-width\":\"120\"}}),_c('el-table-column',{attrs:{\"prop\":\"status\",\"label\":\"订单状态\",\"width\":\"80\"}}),_c('el-table-column',{attrs:{\"prop\":\"create_time\",\"label\":\"下单时间\",\"width\":\"200\"}}),_c('el-table-column',{attrs:{\"prop\":\"paid_money\",\"label\":\"发票金额\",\"width\":\"110\"}}),_c('el-table-column',{attrs:{\"prop\":\"invoice_head\",\"label\":\"发票抬头\",\"min-width\":\"120\"}}),_c('el-table-column',{attrs:{\"prop\":\"invoice_type\",\"label\":\"发票类型\",\"width\":\"120\"}}),_c('el-table-column',{attrs:{\"prop\":\"invoice_status\",\"label\":\"开票状态\",\"width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\" \"+_vm._s(_vm.getStatusText(scope.row.invoice_status))+\" \")]}}])}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"110\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return (scope.row.invoice_url)?[_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){return _vm.handleDownload(scope.row)}}},[_vm._v(\"下载发票\")])]:undefined}}],null,true)})],1),_c('div',{staticStyle:{\"text-align\":\"right\",\"margin-top\":\"20px\"}},[_c('el-pagination',{attrs:{\"current-page\":_vm.offset,\"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)],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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UserInvoiceList.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UserInvoiceList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UserInvoiceList.vue?vue&type=template&id=96301760&scoped=true\"\nimport script from \"./UserInvoiceList.vue?vue&type=script&lang=js\"\nexport * from \"./UserInvoiceList.vue?vue&type=script&lang=js\"\nimport style0 from \"./UserInvoiceList.vue?vue&type=style&index=0&id=96301760&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"96301760\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","filterForm","model","value","order_id","callback","$$v","$set","expression","staticStyle","invoice_status","datetime","on","search","_v","reset","invoiceList","scopedSlots","_u","key","fn","scope","_s","getStatusText","row","invoice_url","$event","handleDownload","undefined","offset","limit","total","handleSizeChange","handleCurrentChange","staticRenderFns","name","data","activeTab","status","mounted","getList","methods","post","then","res","list","downloadUrl","link","document","createElement","href","download","invoice_head","style","display","body","appendChild","click","removeChild","$message","message","type","text","val","getStatusTagType","typeMap","pendingPayment","pendingDelivery","delivering","completed","cancelled","payOrder","orderId","remindDelivery","checkLogistics","gotoReview","viewOrderDetail","$router","push","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/597.bc6f8420.js b/dist/js/597.bc6f8420.js new file mode 100644 index 0000000..d36c1fc --- /dev/null +++ b/dist/js/597.bc6f8420.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[597],{597:function(e,i,t){t.r(i),t.d(i,{default:function(){return c}});var s=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)},a=[],r=t(4294),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(845),d=(0,o.A)(n,s,a,!1,null,"b49931c8",null),c=d.exports},4294:function(e,i,t){t.d(i,{A:function(){return d}});var s=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)},a=[],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),s=this.districts.find(e=>e.id===this.form.district_id);if(!(i&&t&&s))return void this.$message.warning("地区信息不完整");const a={...this.form,region:`${i.name} ${t.name} ${s.name}`};this.$emit("save",a),this.handleClose()})},handleClose(){this.$emit("update:visible",!1)}}}),l=r,n=t(845),o=(0,n.A)(l,s,a,!1,null,"7d3ebefd",null),d=o.exports}}]); +//# sourceMappingURL=597.bc6f8420.js.map \ No newline at end of file diff --git a/dist/js/597.bc6f8420.js.map b/dist/js/597.bc6f8420.js.map new file mode 100644 index 0000000..ebcd213 --- /dev/null +++ b/dist/js/597.bc6f8420.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/597.bc6f8420.js","mappings":"mKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF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A,KAAAnB,KAAAiB,YAAAE,EAAA1B,SAMA,EACAe,oBAAAA,GACA,KAAAR,KAAAc,QAAA,KACA,KAAAd,KAAAiB,YAAA,IACA,EACAJ,gBAAAA,GACA,KAAAb,KAAAiB,YAAA,IACA,EACAI,WAAAA,GACA,KAAA+B,MAAAC,YAAAU,SAAA,UACA,IAAAC,EAAA,OAEA,MAAApD,EAAA,KAAAD,UAAAgD,KACAC,GAAAA,EAAAnE,KAAA,KAAAO,KAAAS,aAEAO,EAAA,KAAAD,OAAA4C,KAAAE,GAAAA,EAAApE,KAAA,KAAAO,KAAAc,SACAK,EAAA,KAAAD,UAAAyC,KACAG,GAAAA,EAAArE,KAAA,KAAAO,KAAAiB,aAGA,KAAAL,GAAAI,GAAAG,GAEA,YADA,KAAApC,SAAAkF,QAAA,WAIA,MAAArF,EAAA,IACA,KAAAoB,KACAoC,OAAA,GAAAxB,EAAAlD,QAAAsD,EAAAtD,QAAAyD,EAAAzD,QAGA,KAAAwG,MAAA,OAAAtF,GACA,KAAAkB,eAEA,EACAA,WAAAA,GACA,KAAAoE,MAAA,oBACA,KC3SuS,I,SCQnStE,GAAY,OACd,EACAnE,EACAgC,GACA,EACA,KACA,WACA,MAIF,EAAemC,E","sources":["webpack://shiweisuzhou/./src/views/User/UserAddress.vue","webpack://shiweisuzhou/src/views/User/UserAddress.vue","webpack://shiweisuzhou/./src/views/User/UserAddress.vue?7380","webpack://shiweisuzhou/./src/views/User/UserAddress.vue?f9a5","webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue","webpack://shiweisuzhou/src/components/common/AddressFormDialog.vue","webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue?4498","webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue?70a0"],"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\":\"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/cli-service/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/cli-service/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/cli-service/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","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/cli-service/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/cli-service/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/cli-service/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","staticStyle","attrs","slot","_v","on","$event","openDialog","addresses","scopedSlots","_u","key","fn","scope","handleEdit","row","handleDelete","searchParam","currentPage","pageSize","total","handleSizeChange","handleCurrentChange","dialogVisible","dialogType","dialogData","handleSaveAddress","staticRenderFns","name","components","AddressFormDialog","data","user","mounted","getAddress","methods","post","contactType","offset","limit","then","res","length","val","type","item","formData","is_default","code","$message","success","console","log","username","mobile","tel","$confirm","confirmButtonText","cancelButtonText","id","catch","info","component","visible","handleClose","ref","form","rules","model","value","callback","$$v","$set","expression","handleProvinceChange","province_id","_l","provinces","province","handleCityChange","city_id","cities","city","district_id","districts","district","detail_addr","saveAddress","props","Boolean","default","String","required","validator","includes","initialData","Object","validateMobile","rule","test","Error","validateRegion","region","message","trigger","max","regionData","computed","filter","level","pid","watch","initForm","handler","deep","getRegionData","error","$nextTick","$refs","addressForm","resetFields","echoRegionSelection","regionText","regions","split","find","p","c","d","validate","valid","warning","$emit"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/632.bc245760.js b/dist/js/632.bc245760.js new file mode 100644 index 0000000..76726ef --- /dev/null +++ b/dist/js/632.bc245760.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[632],{2632:function(e,t,s){s.r(t),s.d(t,{default:function(){return c}});var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"register-page"},[e._m(0),t("div",{staticClass:"form-container"},[t("h2",{staticClass:"form-title"},[e._v("注册页")]),t("el-form",{ref:"registerForm",staticClass:"register-form",attrs:{model:e.form,rules:e.rules,"label-width":"80px"}},[t("el-form-item",{attrs:{label:"手机号码",prop:"phone"}},[t("el-input",{attrs:{placeholder:"请输入手机号码",clearable:"","prefix-icon":"el-icon-phone"},model:{value:e.form.phone,callback:function(t){e.$set(e.form,"phone",t)},expression:"form.phone"}})],1),t("el-form-item",{attrs:{label:"手机验证码",prop:"code"}},[t("el-input",{staticStyle:{width:"60%"},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:"success",disabled:e.codeBtnDisabled},on:{click:e.handleGetCode}},[e._v(" "+e._s(e.codeBtnText)+" ")])],1),t("el-form-item",{attrs:{label:"用户名",prop:"username"}},[t("el-input",{attrs:{placeholder:"账户唯一识别,可用来登录",clearable:"","prefix-icon":"el-icon-user"},model:{value:e.form.username,callback:function(t){e.$set(e.form,"username",t)},expression:"form.username"}}),t("div",{staticClass:"form-tip"},[e._v(" 请输入4-32位字符,只能包含英文字母、数字和下划线,不能为纯数字/不能为纯下划线 ")])],1),t("el-form-item",{attrs:{label:"设重密码",prop:"password"}},[t("el-input",{attrs:{type:"password",placeholder:"请设置登录密码",clearable:"","prefix-icon":"el-icon-lock"},on:{input:e.handlePasswordInput},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}}),t("div",{staticClass:"form-tip"},[e._v(" 请输入8-30位密码,密码必须同时包含字母和数字 ")])],1),t("el-form-item",{attrs:{label:"确认密码",prop:"confirmPassword"}},[t("el-input",{attrs:{type:"password",placeholder:"请再次输入登录密码",clearable:"","prefix-icon":"el-icon-lock"},model:{value:e.form.confirmPassword,callback:function(t){e.$set(e.form,"confirmPassword",t)},expression:"form.confirmPassword"}}),t("div",{staticClass:"form-tip"},[e._v("请与上方填写的密码保持一致")])],1),t("el-form-item",[t("el-checkbox",{staticClass:"agreement-checkbox",model:{value:e.agreement,callback:function(t){e.agreement=t},expression:"agreement"}},[e._v(" 我已阅读并同意 "),t("router-link",{staticClass:"protocol-link",attrs:{to:"javascript:;"}},[e._v("《用户注册协议》")]),e._v(" 《"),t("router-link",{staticClass:"protocol-link",attrs:{to:"javascript:;"}},[e._v("隐私协议")]),e._v("》 ")],1)],1),t("el-form-item",[t("el-button",{staticClass:"register-btn",attrs:{type:"primary",disabled:!e.agreement||e.submitting},on:{click:e.handleRegister}},[e._v(" "+e._s(e.submitting?"注册中...":"立即注册")+" ")])],1),e._e()],1)],1)])},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"header"},[t("div",{staticClass:"logo-area"},[t("img",{staticClass:"logo-img",attrs:{src:s(3153),alt:"logo"}}),t("span",{staticClass:"domain"},[e._v("yunming.com")])]),t("div",{staticClass:"hotline"},[e._v("400-123-4xxx")])])}],o={name:"RegisterPage",data(){const e=(e,t,s)=>{/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,30}$/.test(t)?s():s(new Error("请输入8-30位密码,必须同时包含字母和数字"))},t=(e,t,s)=>{/^(?!_+$)(?!\d+$)[a-zA-Z0-9_]{4,32}$/.test(t)?s():s(new Error("请输入4-32位字符,只能包含字母、数字和下划线,不能为纯数字/纯下划线"))};return{form:{phone:"",code:"",username:"",password:"",confirmPassword:""},rules:{phone:[{required:!0,message:"请输入手机号码",trigger:"blur"},{pattern:/^1\d{10}$/,message:"请输入正确的手机号码格式",trigger:"blur"}],code:[{required:!0,message:"请输入验证码",trigger:"blur"},{pattern:/^\d{6}$/,message:"请输入6位数字验证码",trigger:"blur"}],username:[{required:!0,message:"请输入用户名",trigger:"blur"},{validator:t,trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"},{validator:e,trigger:"blur"}],confirmPassword:[{required:!0,message:"请确认密码",trigger:"blur"},{validator:(e,t,s)=>{t!==this.form.password?s(new Error("两次输入密码不一致")):s()},trigger:"blur"}]},agreement:!1,codeBtnText:"获取验证码",codeBtnDisabled:!1,submitting:!1,countdown:60}},methods:{handleGetCode(){if(!this.form.phone)return void this.$message.warning("请先输入手机号码");this.codeBtnDisabled=!0,this.codeBtnText=`重新发送(${this.countdown}s)`;const e=setInterval(()=>{this.countdown--,this.codeBtnText=`重新发送(${this.countdown}s)`,this.countdown<=0&&(clearInterval(e),this.codeBtnText="获取验证码",this.codeBtnDisabled=!1,this.countdown=60)},1e3)},handlePasswordInput(){},handleRegister(){this.$refs.registerForm.validate(e=>{e&&this.agreement?(this.submitting=!0,setTimeout(()=>{this.$message.success("注册成功!"),this.submitting=!1},1500)):this.agreement||this.$message.warning("请勾选用户协议")})}}},i=o,l=s(845),n=(0,l.A)(i,r,a,!1,null,"4e3838a4",null),c=n.exports}}]); +//# sourceMappingURL=632.bc245760.js.map \ No newline at end of file diff --git a/dist/js/632.bc245760.js.map b/dist/js/632.bc245760.js.map new file mode 100644 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QAAA,SAGAzB,KAAA,CACA,CAAAuB,UAAA,EAAAC,QAAA,SAAAC,QAAA,QACA,CACAC,QAAA,UACAF,QAAA,aACAC,QAAA,SAGAnB,SAAA,CACA,CAAAiB,UAAA,EAAAC,QAAA,SAAAC,QAAA,QACA,CAAAE,UAAAL,EAAAG,QAAA,SAEAjB,SAAA,CACA,CAAAe,UAAA,EAAAC,QAAA,QAAAC,QAAA,QACA,CAAAE,UAAAT,EAAAO,QAAA,SAEAhB,gBAAA,CACA,CAAAc,UAAA,EAAAC,QAAA,QAAAC,QAAA,QACA,CACAE,UAAAA,CAAAR,EAAA1B,EAAAE,KACAF,IAAA,KAAAH,KAAAkB,SACAb,EAAA,IAAA0B,MAAA,cAEA1B,KAGA8B,QAAA,UAIAf,WAAA,EACAL,YAAA,QACAJ,iBAAA,EACAU,YAAA,EACAiB,UAAA,GAEA,EACAC,QAAA,CAEA1B,aAAAA,GACA,SAAAb,KAAAI,MAEA,YADA,KAAAoC,SAAAC,QAAA,YAIA,KAAA9B,iBAAA,EACA,KAAAI,YAAA,aAAAuB,cACA,MAAAI,EAAAC,YAAA,KACA,KAAAL,YACA,KAAAvB,YAAA,aAAAuB,cACA,KAAAA,WAAA,IACAM,cAAAF,GACA,KAAA3B,YAAA,QACA,KAAAJ,iBAAA,EACA,KAAA2B,UAAA,KAEA,IAGA,EAGArB,mBAAAA,GACA,EAIAK,cAAAA,GACA,KAAAuB,MAAAC,aAAAC,SAAAC,IACAA,GAAA,KAAA5B,WACA,KAAAC,YAAA,EAEA4B,WAAA,KACA,KAAAT,SAAAU,QAAA,SACA,KAAA7B,YAAA,GAKA,OACA,KAAAD,WACA,KAAAoB,SAAAC,QAAA,YAGA,IC9PqR,I,SCQjRU,GAAY,OACd,EACA7D,EACAkC,GACA,EACA,KACA,WACA,MAIF,EAAe2B,E","sources":["webpack://shiweisuzhou/./src/views/Register.vue","webpack://shiweisuzhou/src/views/Register.vue","webpack://shiweisuzhou/./src/views/Register.vue?a91f","webpack://shiweisuzhou/./src/views/Register.vue?ee5d"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"register-page\"},[_vm._m(0),_c('div',{staticClass:\"form-container\"},[_c('h2',{staticClass:\"form-title\"},[_vm._v(\"注册页\")]),_c('el-form',{ref:\"registerForm\",staticClass:\"register-form\",attrs:{\"model\":_vm.form,\"rules\":_vm.rules,\"label-width\":\"80px\"}},[_c('el-form-item',{attrs:{\"label\":\"手机号码\",\"prop\":\"phone\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入手机号码\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-phone\"},model:{value:(_vm.form.phone),callback:function ($$v) {_vm.$set(_vm.form, \"phone\", $$v)},expression:\"form.phone\"}})],1),_c('el-form-item',{attrs:{\"label\":\"手机验证码\",\"prop\":\"code\"}},[_c('el-input',{staticStyle:{\"width\":\"60%\"},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\":\"success\",\"disabled\":_vm.codeBtnDisabled},on:{\"click\":_vm.handleGetCode}},[_vm._v(\" \"+_vm._s(_vm.codeBtnText)+\" \")])],1),_c('el-form-item',{attrs:{\"label\":\"用户名\",\"prop\":\"username\"}},[_c('el-input',{attrs:{\"placeholder\":\"账户唯一识别,可用来登录\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-user\"},model:{value:(_vm.form.username),callback:function ($$v) {_vm.$set(_vm.form, \"username\", $$v)},expression:\"form.username\"}}),_c('div',{staticClass:\"form-tip\"},[_vm._v(\" 请输入4-32位字符,只能包含英文字母、数字和下划线,不能为纯数字/不能为纯下划线 \")])],1),_c('el-form-item',{attrs:{\"label\":\"设重密码\",\"prop\":\"password\"}},[_c('el-input',{attrs:{\"type\":\"password\",\"placeholder\":\"请设置登录密码\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-lock\"},on:{\"input\":_vm.handlePasswordInput},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}}),_c('div',{staticClass:\"form-tip\"},[_vm._v(\" 请输入8-30位密码,密码必须同时包含字母和数字 \")])],1),_c('el-form-item',{attrs:{\"label\":\"确认密码\",\"prop\":\"confirmPassword\"}},[_c('el-input',{attrs:{\"type\":\"password\",\"placeholder\":\"请再次输入登录密码\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-lock\"},model:{value:(_vm.form.confirmPassword),callback:function ($$v) {_vm.$set(_vm.form, \"confirmPassword\", $$v)},expression:\"form.confirmPassword\"}}),_c('div',{staticClass:\"form-tip\"},[_vm._v(\"请与上方填写的密码保持一致\")])],1),_c('el-form-item',[_c('el-checkbox',{staticClass:\"agreement-checkbox\",model:{value:(_vm.agreement),callback:function ($$v) {_vm.agreement=$$v},expression:\"agreement\"}},[_vm._v(\" 我已阅读并同意 \"),_c('router-link',{staticClass:\"protocol-link\",attrs:{\"to\":\"javascript:;\"}},[_vm._v(\"《用户注册协议》\")]),_vm._v(\" 《\"),_c('router-link',{staticClass:\"protocol-link\",attrs:{\"to\":\"javascript:;\"}},[_vm._v(\"隐私协议\")]),_vm._v(\"》 \")],1)],1),_c('el-form-item',[_c('el-button',{staticClass:\"register-btn\",attrs:{\"type\":\"primary\",\"disabled\":!_vm.agreement || _vm.submitting},on:{\"click\":_vm.handleRegister}},[_vm._v(\" \"+_vm._s(_vm.submitting ? \"注册中...\" : \"立即注册\")+\" \")])],1),(false)?_c('div',{staticClass:\"bottom-tip\"},[_vm._v(\" 如需注册供应商请点击 \"),_c('router-link',{staticClass:\"supplier-link\",attrs:{\"to\":\"javascript:;\"}},[_vm._v(\"这里\")])],1):_vm._e()],1)],1)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"logo-area\"},[_c('img',{staticClass:\"logo-img\",attrs:{\"src\":require(\"@/assets/logo.png\"),\"alt\":\"logo\"}}),_c('span',{staticClass:\"domain\"},[_vm._v(\"yunming.com\")])]),_c('div',{staticClass:\"hotline\"},[_vm._v(\"400-123-4xxx\")])])\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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Register.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Register.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Register.vue?vue&type=template&id=4e3838a4&scoped=true\"\nimport script from \"./Register.vue?vue&type=script&lang=js\"\nexport * from \"./Register.vue?vue&type=script&lang=js\"\nimport style0 from \"./Register.vue?vue&type=style&index=0&id=4e3838a4&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4e3838a4\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_m","_v","ref","attrs","form","rules","model","value","phone","callback","$$v","$set","expression","staticStyle","code","codeBtnDisabled","on","handleGetCode","_s","codeBtnText","username","handlePasswordInput","password","confirmPassword","agreement","submitting","handleRegister","_e","staticRenderFns","require","name","data","validatePassword","rule","test","Error","validateUsername","required","message","trigger","pattern","validator","countdown","methods","$message","warning","timer","setInterval","clearInterval","$refs","registerForm","validate","valid","setTimeout","success","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/192.a0b515d3.js b/dist/js/667.6a70b405.js similarity index 93% rename from dist/js/192.a0b515d3.js rename to dist/js/667.6a70b405.js index cd7b0e7..0b5b2cb 100644 --- a/dist/js/192.a0b515d3.js +++ b/dist/js/667.6a70b405.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[192],{1192:function(e,t,s){s.r(t),s.d(t,{default:function(){return u}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg"},[t("el-card",{staticStyle:{width:"100%"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",[e._v("个人信息")])]),t("div",{staticStyle:{"padding-right":"200px"}},[t("el-form",{ref:"userForm",attrs:{model:e.user,"label-width":"100px",size:"small"}},[t("el-form-item",{attrs:{label:"用户头像"}},[t("el-upload",{staticClass:"avatar-uploader",attrs:{action:"#","auto-upload":!1,"on-change":e.handleAvatarChange,"show-file-list":!1}},[e.user.avatar?t("div",{staticStyle:{position:"relative"}},[t("img",{staticClass:"avatar",attrs:{src:e.user.avatar}}),t("div",{staticClass:"hover-tip"},[e._v("修改头像")])]):t("i",{staticClass:"el-icon-plus avatar-uploader-icon"})])],1),t("el-form-item",{attrs:{label:"昵称",prop:"nickname",rules:[{required:!0,message:"请输入昵称"}]}},[t("el-input",{attrs:{placeholder:"请输入昵称"},model:{value:e.user.nickname,callback:function(t){e.$set(e.user,"nickname",t)},expression:"user.nickname"}})],1),t("el-form-item",{attrs:{label:"用户ID"}},[t("el-input",{attrs:{disabled:""},model:{value:e.user.user_id,callback:function(t){e.$set(e.user,"user_id",t)},expression:"user.user_id"}},[t("template",{slot:"append"},[t("el-button",{on:{click:e.copyId}},[e._v("复制")])],1)],2)],1),t("el-form-item",{attrs:{label:"性别"}},[t("el-radio-group",{model:{value:e.user.gender,callback:function(t){e.$set(e.user,"gender",t)},expression:"user.gender"}},[t("el-radio",{attrs:{label:1}},[e._v("男性")]),t("el-radio",{attrs:{label:2}},[e._v("女性")]),t("el-radio",{attrs:{label:0}},[e._v("保密")])],1)],1),t("el-form-item",{attrs:{label:"生日"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",placeholder:"选择日期","value-format":"yyyy-MM-dd"},model:{value:e.user.birthday,callback:function(t){e.$set(e.user,"birthday",t)},expression:"user.birthday"}})],1),t("el-form-item",{staticClass:"form-actions"},[t("el-button",{attrs:{type:"primary"},on:{click:e.saveUser}},[e._v("保存")])],1)],1)],1)])],1)},r=[],i={name:"UserInfo",data(){return{user:{avatar:"",nickname:"",id:"",gender:null,birthday:null}}},mounted(){this.getUserInfo()},methods:{getUserInfo(){this.post({},"/api/uservice/user/getMyInfo").then(e=>{this.user=e.data})},handleAvatarChange(e){this.util.imgToBase64(e.raw).then(e=>{console.log(e),this.post({img_base64:e},"/api/pbservice/Other/base64Upload").then(e=>{this.user.avatar=e.data.url})})},copyId(){const e=document.createElement("input");e.value=this.user.id,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),this.$message({message:"用户ID已复制",type:"success"})},saveUser(){this.$refs.userForm.validate(e=>{e&&this.post({...this.user},"/api/uservice/user/profile").then(e=>{1==e.code&&(this.$message({message:"修改成功",type:"success"}),this.post({},"/api/uservice/user/getMyInfo").then(e=>{this.$store.dispatch("login",{userInfo:e.data,token:e.data.token})}))})})}}},l=i,o=s(1656),n=(0,o.A)(l,a,r,!1,null,"dbf125e0",null),u=n.exports}}]); -//# sourceMappingURL=192.a0b515d3.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[667],{5667:function(e,t,s){s.r(t),s.d(t,{default:function(){return u}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg"},[t("el-card",{staticStyle:{width:"100%"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",[e._v("个人信息")])]),t("div",{staticStyle:{"padding-right":"200px"}},[t("el-form",{ref:"userForm",attrs:{model:e.user,"label-width":"100px",size:"small"}},[t("el-form-item",{attrs:{label:"用户头像"}},[t("el-upload",{staticClass:"avatar-uploader",attrs:{action:"#","auto-upload":!1,"on-change":e.handleAvatarChange,"show-file-list":!1}},[e.user.avatar?t("div",{staticStyle:{position:"relative"}},[t("img",{staticClass:"avatar",attrs:{src:e.user.avatar}}),t("div",{staticClass:"hover-tip"},[e._v("修改头像")])]):t("i",{staticClass:"el-icon-plus avatar-uploader-icon"})])],1),t("el-form-item",{attrs:{label:"昵称",prop:"nickname",rules:[{required:!0,message:"请输入昵称"}]}},[t("el-input",{attrs:{placeholder:"请输入昵称"},model:{value:e.user.nickname,callback:function(t){e.$set(e.user,"nickname",t)},expression:"user.nickname"}})],1),t("el-form-item",{attrs:{label:"用户ID"}},[t("el-input",{attrs:{disabled:""},model:{value:e.user.user_id,callback:function(t){e.$set(e.user,"user_id",t)},expression:"user.user_id"}},[t("template",{slot:"append"},[t("el-button",{on:{click:e.copyId}},[e._v("复制")])],1)],2)],1),t("el-form-item",{attrs:{label:"性别"}},[t("el-radio-group",{model:{value:e.user.gender,callback:function(t){e.$set(e.user,"gender",t)},expression:"user.gender"}},[t("el-radio",{attrs:{label:1}},[e._v("男性")]),t("el-radio",{attrs:{label:2}},[e._v("女性")]),t("el-radio",{attrs:{label:0}},[e._v("保密")])],1)],1),t("el-form-item",{attrs:{label:"生日"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",placeholder:"选择日期","value-format":"yyyy-MM-dd"},model:{value:e.user.birthday,callback:function(t){e.$set(e.user,"birthday",t)},expression:"user.birthday"}})],1),t("el-form-item",{staticClass:"form-actions"},[t("el-button",{attrs:{type:"primary"},on:{click:e.saveUser}},[e._v("保存")])],1)],1)],1)])],1)},r=[],i={name:"UserInfo",data(){return{user:{avatar:"",nickname:"",id:"",gender:null,birthday:null}}},mounted(){this.getUserInfo()},methods:{getUserInfo(){this.post({},"/api/uservice/user/getMyInfo").then(e=>{this.user=e.data})},handleAvatarChange(e){this.util.imgToBase64(e.raw).then(e=>{console.log(e),this.post({img_base64:e},"/api/pbservice/Other/base64Upload").then(e=>{this.user.avatar=e.data.url})})},copyId(){const e=document.createElement("input");e.value=this.user.id,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),this.$message({message:"用户ID已复制",type:"success"})},saveUser(){this.$refs.userForm.validate(e=>{e&&this.post({...this.user},"/api/uservice/user/profile").then(e=>{1==e.code&&(this.$message({message:"修改成功",type:"success"}),this.post({},"/api/uservice/user/getMyInfo").then(e=>{this.$store.dispatch("login",{userInfo:e.data,token:e.data.token})}))})})}}},l=i,o=s(845),n=(0,o.A)(l,a,r,!1,null,"dbf125e0",null),u=n.exports}}]); +//# sourceMappingURL=667.6a70b405.js.map \ No newline at end of file diff --git a/dist/js/192.a0b515d3.js.map b/dist/js/667.6a70b405.js.map similarity index 84% rename from dist/js/192.a0b515d3.js.map rename to dist/js/667.6a70b405.js.map index 4efb7f7..ffa7cd5 100644 --- a/dist/js/192.a0b515d3.js.map +++ b/dist/js/667.6a70b405.js.map @@ -1 +1 @@ -{"version":3,"file":"js/192.a0b515d3.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,UAAU,CAACG,YAAY,CAAC,MAAQ,SAAS,CAACH,EAAG,MAAM,CAACE,YAAY,WAAWE,MAAM,CAAC,KAAO,UAAUC,KAAK,UAAU,CAACL,EAAG,OAAO,CAACF,EAAIQ,GAAG,YAAYN,EAAG,MAAM,CAACG,YAAY,CAAC,gBAAgB,UAAU,CAACH,EAAG,UAAU,CAACO,IAAI,WAAWH,MAAM,CAAC,MAAQN,EAAIU,KAAK,cAAc,QAAQ,KAAO,UAAU,CAACR,EAAG,eAAe,CAACI,MAAM,CAAC,MAAQ,SAAS,CAACJ,EAAG,YAAY,CAACE,YAAY,kB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AK,YAAA,QACAL,SAAAE,KAAAI,YAAAP,GACA,KAAAQ,SAAA,CACAzC,QAAA,UACA0C,KAAA,WAEA,EACA7B,QAAAA,GACA,KAAA8B,MAAAC,SAAAC,SAAAC,IACAA,GACA,KAAAzB,KAAA,SAAAzB,MAAA,8BAAA0B,KACAC,IACA,GAAAA,EAAAwB,OACA,KAAAN,SAAA,CAAAzC,QAAA,OAAA0C,KAAA,YAEA,KAAArB,KAAA,mCAAAC,KAAAC,IACA,KAAAyB,OAAAC,SAAA,SACAC,SAAA3B,EAAAP,KACAmC,MAAA5B,EAAAP,KAAAmC,cAQA,ICxIgQ,I,UCQ5PC,GAAY,OACd,EACAnE,EACA6B,GACA,EACA,KACA,WACA,MAIF,EAAesC,E","sources":["webpack://shiweisuzhou/./src/views/User/UserInfo.vue","webpack://shiweisuzhou/src/views/User/UserInfo.vue","webpack://shiweisuzhou/./src/views/User/UserInfo.vue?a3cf","webpack://shiweisuzhou/./src/views/User/UserInfo.vue?e070"],"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\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\"个人信息\")])]),_c('div',{staticStyle:{\"padding-right\":\"200px\"}},[_c('el-form',{ref:\"userForm\",attrs:{\"model\":_vm.user,\"label-width\":\"100px\",\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"用户头像\"}},[_c('el-upload',{staticClass:\"avatar-uploader\",attrs:{\"action\":\"#\",\"auto-upload\":false,\"on-change\":_vm.handleAvatarChange,\"show-file-list\":false}},[(_vm.user.avatar)?_c('div',{staticStyle:{\"position\":\"relative\"}},[_c('img',{staticClass:\"avatar\",attrs:{\"src\":_vm.user.avatar}}),_c('div',{staticClass:\"hover-tip\"},[_vm._v(\"修改头像\")])]):_c('i',{staticClass:\"el-icon-plus avatar-uploader-icon\"})])],1),_c('el-form-item',{attrs:{\"label\":\"昵称\",\"prop\":\"nickname\",\"rules\":[{ required: true, message: '请输入昵称' }]}},[_c('el-input',{attrs:{\"placeholder\":\"请输入昵称\"},model:{value:(_vm.user.nickname),callback:function ($$v) {_vm.$set(_vm.user, \"nickname\", $$v)},expression:\"user.nickname\"}})],1),_c('el-form-item',{attrs:{\"label\":\"用户ID\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.user.user_id),callback:function ($$v) {_vm.$set(_vm.user, \"user_id\", $$v)},expression:\"user.user_id\"}},[_c('template',{slot:\"append\"},[_c('el-button',{on:{\"click\":_vm.copyId}},[_vm._v(\"复制\")])],1)],2)],1),_c('el-form-item',{attrs:{\"label\":\"性别\"}},[_c('el-radio-group',{model:{value:(_vm.user.gender),callback:function ($$v) {_vm.$set(_vm.user, \"gender\", $$v)},expression:\"user.gender\"}},[_c('el-radio',{attrs:{\"label\":1}},[_vm._v(\"男性\")]),_c('el-radio',{attrs:{\"label\":2}},[_vm._v(\"女性\")]),_c('el-radio',{attrs:{\"label\":0}},[_vm._v(\"保密\")])],1)],1),_c('el-form-item',{attrs:{\"label\":\"生日\"}},[_c('el-date-picker',{staticStyle:{\"width\":\"100%\"},attrs:{\"type\":\"date\",\"placeholder\":\"选择日期\",\"value-format\":\"yyyy-MM-dd\"},model:{value:(_vm.user.birthday),callback:function ($$v) {_vm.$set(_vm.user, \"birthday\", $$v)},expression:\"user.birthday\"}})],1),_c('el-form-item',{staticClass:\"form-actions\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveUser}},[_vm._v(\"保存\")])],1)],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!./UserInfo.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!./UserInfo.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UserInfo.vue?vue&type=template&id=dbf125e0&scoped=true\"\nimport script from \"./UserInfo.vue?vue&type=script&lang=js\"\nexport * from \"./UserInfo.vue?vue&type=script&lang=js\"\nimport style0 from \"./UserInfo.vue?vue&type=style&index=0&id=dbf125e0&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 \"dbf125e0\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","attrs","slot","_v","ref","user","handleAvatarChange","avatar","required","message","model","value","nickname","callback","$$v","$set","expression","user_id","on","copyId","gender","birthday","saveUser","staticRenderFns","name","data","id","mounted","getUserInfo","methods","post","then","res","file","util","imgToBase64","raw","base64","console","log","img_base64","url","input","document","createElement","body","appendChild","select","execCommand","removeChild","$message","type","$refs","userForm","validate","valid","code","$store","dispatch","userInfo","token","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/667.6a70b405.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,UAAU,CAACG,YAAY,CAAC,MAAQ,SAAS,CAACH,EAAG,MAAM,CAACE,YAAY,WAAWE,MAAM,CAAC,KAAO,UAAUC,KAAK,UAAU,CAACL,EAAG,OAAO,CAACF,EAAIQ,GAAG,YAAYN,EAAG,MAAM,CAACG,YAAY,CAAC,gBAAgB,UAAU,CAACH,EAAG,UAAU,CAACO,IAAI,WAAWH,MAAM,CAAC,MAA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,GACA,MAAAuB,EAAAC,SAAAC,cAAA,SACAF,EAAA/B,MAAA,KAAAN,KAAAqB,GACAiB,SAAAE,KAAAC,YAAAJ,GACAA,EAAAK,SACAJ,SAAAK,YAAA,QACAL,SAAAE,KAAAI,YAAAP,GACA,KAAAQ,SAAA,CACAzC,QAAA,UACA0C,KAAA,WAEA,EACA7B,QAAAA,GACA,KAAA8B,MAAAC,SAAAC,SAAAC,IACAA,GACA,KAAAzB,KAAA,SAAAzB,MAAA,8BAAA0B,KACAC,IACA,GAAAA,EAAAwB,OACA,KAAAN,SAAA,CAAAzC,QAAA,OAAA0C,KAAA,YAEA,KAAArB,KAAA,mCAAAC,KAAAC,IACA,KAAAyB,OAAAC,SAAA,SACAC,SAAA3B,EAAAP,KACAmC,MAAA5B,EAAAP,KAAAmC,cAQA,ICxI8R,I,SCQ1RC,GAAY,OACd,EACAnE,EACA6B,GACA,EACA,KACA,WACA,MAIF,EAAesC,E","sources":["webpack://shiweisuzhou/./src/views/User/UserInfo.vue","webpack://shiweisuzhou/src/views/User/UserInfo.vue","webpack://shiweisuzhou/./src/views/User/UserInfo.vue?c8e3","webpack://shiweisuzhou/./src/views/User/UserInfo.vue?54e8"],"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\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\"个人信息\")])]),_c('div',{staticStyle:{\"padding-right\":\"200px\"}},[_c('el-form',{ref:\"userForm\",attrs:{\"model\":_vm.user,\"label-width\":\"100px\",\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"用户头像\"}},[_c('el-upload',{staticClass:\"avatar-uploader\",attrs:{\"action\":\"#\",\"auto-upload\":false,\"on-change\":_vm.handleAvatarChange,\"show-file-list\":false}},[(_vm.user.avatar)?_c('div',{staticStyle:{\"position\":\"relative\"}},[_c('img',{staticClass:\"avatar\",attrs:{\"src\":_vm.user.avatar}}),_c('div',{staticClass:\"hover-tip\"},[_vm._v(\"修改头像\")])]):_c('i',{staticClass:\"el-icon-plus avatar-uploader-icon\"})])],1),_c('el-form-item',{attrs:{\"label\":\"昵称\",\"prop\":\"nickname\",\"rules\":[{ required: true, message: '请输入昵称' }]}},[_c('el-input',{attrs:{\"placeholder\":\"请输入昵称\"},model:{value:(_vm.user.nickname),callback:function ($$v) {_vm.$set(_vm.user, \"nickname\", $$v)},expression:\"user.nickname\"}})],1),_c('el-form-item',{attrs:{\"label\":\"用户ID\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.user.user_id),callback:function ($$v) {_vm.$set(_vm.user, \"user_id\", $$v)},expression:\"user.user_id\"}},[_c('template',{slot:\"append\"},[_c('el-button',{on:{\"click\":_vm.copyId}},[_vm._v(\"复制\")])],1)],2)],1),_c('el-form-item',{attrs:{\"label\":\"性别\"}},[_c('el-radio-group',{model:{value:(_vm.user.gender),callback:function ($$v) {_vm.$set(_vm.user, \"gender\", $$v)},expression:\"user.gender\"}},[_c('el-radio',{attrs:{\"label\":1}},[_vm._v(\"男性\")]),_c('el-radio',{attrs:{\"label\":2}},[_vm._v(\"女性\")]),_c('el-radio',{attrs:{\"label\":0}},[_vm._v(\"保密\")])],1)],1),_c('el-form-item',{attrs:{\"label\":\"生日\"}},[_c('el-date-picker',{staticStyle:{\"width\":\"100%\"},attrs:{\"type\":\"date\",\"placeholder\":\"选择日期\",\"value-format\":\"yyyy-MM-dd\"},model:{value:(_vm.user.birthday),callback:function ($$v) {_vm.$set(_vm.user, \"birthday\", $$v)},expression:\"user.birthday\"}})],1),_c('el-form-item',{staticClass:\"form-actions\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveUser}},[_vm._v(\"保存\")])],1)],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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UserInfo.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UserInfo.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UserInfo.vue?vue&type=template&id=dbf125e0&scoped=true\"\nimport script from \"./UserInfo.vue?vue&type=script&lang=js\"\nexport * from \"./UserInfo.vue?vue&type=script&lang=js\"\nimport style0 from \"./UserInfo.vue?vue&type=style&index=0&id=dbf125e0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"dbf125e0\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","attrs","slot","_v","ref","user","handleAvatarChange","avatar","required","message","model","value","nickname","callback","$$v","$set","expression","user_id","on","copyId","gender","birthday","saveUser","staticRenderFns","name","data","id","mounted","getUserInfo","methods","post","then","res","file","util","imgToBase64","raw","base64","console","log","img_base64","url","input","document","createElement","body","appendChild","select","execCommand","removeChild","$message","type","$refs","userForm","validate","valid","code","$store","dispatch","userInfo","token","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/601.1c95e2ee.js b/dist/js/705.c96616d8.js similarity index 92% rename from dist/js/601.1c95e2ee.js rename to dist/js/705.c96616d8.js index 146aa8e..8a84c9d 100644 --- a/dist/js/601.1c95e2ee.js +++ b/dist/js/705.c96616d8.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[601],{6601:function(t,e,n){n.r(e),n.d(e,{default:function(){return l}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"announcement-container"},[e("div",{staticClass:"page-title"},[t._v("公告列表")]),e("el-card",{staticClass:"announcement-list-card"},[t._l(t.announcementList,function(n){return e("div",{key:n.id,staticClass:"announcement-item",on:{click:function(e){return t.gotoDetail(n)}}},[e("div",{staticClass:"announcement-header"},[e("div",{staticClass:"announcement-title"},[e("span",{class:{"is-top":n.isTop}},[t._v(t._s(n.title))])]),e("div",{staticClass:"announcement-date"},[t._v(t._s(n.createTime))])]),e("div",{staticClass:"announcement-content text-overflowRows",domProps:{innerHTML:t._s(t.util.formateRichText(n.content))}}),e("div",{staticClass:"announcement-action"},[e("el-button",{attrs:{type:"text"}},[t._v("查看详情")])],1)])}),0===t.announcementList.length?e("div",{staticClass:"empty-state"},[e("el-empty",{attrs:{description:"暂无公告信息"}})],1):t._e()],2),t.total>0?e("div",{staticClass:"pagination-container"},[e("el-pagination",{attrs:{"current-page":t.currentPage,"page-sizes":[5,10,20],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)},i=[],s=(n(4114),{name:"AnnouncementList",data(){return{searchKeyword:"",currentPage:1,pageSize:5,total:0,announcementList:[]}},filters:{ellipsis(t,e){return t?t.length<=e?t:t.slice(0,e)+"...":""}},created(){this.getAnnouncementList()},methods:{getAnnouncementList(){this.post({offset:(this.currentPage-1)*this.pageSize,limit:this.pageSize},"/api/anncmnt/getAnncmntByType").then(t=>{1==t.code&&(this.announcementList=t.data.list,this.total=t.data.total)})},handleSearch(){this.currentPage=1,this.getAnnouncementList()},handleSizeChange(t){this.pageSize=t,this.currentPage=1,this.getAnnouncementList()},handleCurrentChange(t){this.currentPage=t,this.getAnnouncementList()},gotoDetail(t){this.$router.push("/NoticeDetail?type=notice&id="+t.id)}}}),c=s,o=n(1656),r=(0,o.A)(c,a,i,!1,null,"2e0c8dfc",null),l=r.exports}}]); -//# sourceMappingURL=601.1c95e2ee.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[705],{6705:function(t,e,n){n.r(e),n.d(e,{default:function(){return l}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"announcement-container"},[e("div",{staticClass:"page-title"},[t._v("公告列表")]),e("el-card",{staticClass:"announcement-list-card"},[t._l(t.announcementList,function(n){return e("div",{key:n.id,staticClass:"announcement-item",on:{click:function(e){return t.gotoDetail(n)}}},[e("div",{staticClass:"announcement-header"},[e("div",{staticClass:"announcement-title"},[e("span",{class:{"is-top":n.isTop}},[t._v(t._s(n.title))])]),e("div",{staticClass:"announcement-date"},[t._v(t._s(n.createTime))])]),e("div",{staticClass:"announcement-content text-overflowRows",domProps:{innerHTML:t._s(t.util.formateRichText(n.content))}}),e("div",{staticClass:"announcement-action"},[e("el-button",{attrs:{type:"text"}},[t._v("查看详情")])],1)])}),0===t.announcementList.length?e("div",{staticClass:"empty-state"},[e("el-empty",{attrs:{description:"暂无公告信息"}})],1):t._e()],2),t.total>0?e("div",{staticClass:"pagination-container"},[e("el-pagination",{attrs:{"current-page":t.currentPage,"page-sizes":[5,10,20],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)},i=[],s=(n(4114),{name:"AnnouncementList",data(){return{searchKeyword:"",currentPage:1,pageSize:5,total:0,announcementList:[]}},filters:{ellipsis(t,e){return t?t.length<=e?t:t.slice(0,e)+"...":""}},created(){this.getAnnouncementList()},methods:{getAnnouncementList(){this.post({offset:(this.currentPage-1)*this.pageSize,limit:this.pageSize},"/api/anncmnt/getAnncmntByType").then(t=>{1==t.code&&(this.announcementList=t.data.list,this.total=t.data.total)})},handleSearch(){this.currentPage=1,this.getAnnouncementList()},handleSizeChange(t){this.pageSize=t,this.currentPage=1,this.getAnnouncementList()},handleCurrentChange(t){this.currentPage=t,this.getAnnouncementList()},gotoDetail(t){this.$router.push("/NoticeDetail?type=notice&id="+t.id)}}}),c=s,o=n(845),r=(0,o.A)(c,a,i,!1,null,"2e0c8dfc",null),l=r.exports}}]); +//# sourceMappingURL=705.c96616d8.js.map \ No newline at end of file diff --git a/dist/js/601.1c95e2ee.js.map b/dist/js/705.c96616d8.js.map similarity index 82% rename from dist/js/601.1c95e2ee.js.map rename to dist/js/705.c96616d8.js.map index 538bd45..58c1fd3 100644 --- a/dist/js/601.1c95e2ee.js.map +++ b/dist/js/705.c96616d8.js.map @@ -1 +1 @@ -{"version":3,"file":"js/601.1c95e2ee.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,0BAA0B,CAACF,EAAG,MAAM,CAACE,YAAY,cAAc,CAACJ,EAAIK,GAAG,UAAUH,EAAG,UAAU,CAACE,YAAY,0BAA0B,CAACJ,EAAIM,GAAIN,EAAIO,iBAAkB,SAASC,GAAM,OAAON,EAAG,MAAM,CAACO,IAAID,EAAKE,GAAGN,YAAY,oBAAoBO,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOZ,EAAIa,WAAWL,EAAK,IAAI,CAACN,EAAG,MAAM,CAACE,YAAY,uBAAuB,CAACF,EAAG,MAAM,CAACE,YAAY,sBAAsB,CAACF,EAAG,OAAO,CAACY,MAAM,CAAE,SAAUN,EAAKO,QAAS,CAACf,EAAIK,GAAGL,EAAIgB,GAAGR,EAAKS,YAAYf,EAAG,MAAM,CAACE,YAAY,qBAAqB,CAACJ,EAAIK,GAAGL,EAAIgB,GAAGR,EAAKU,iBAAiBhB,EAAG,MAAM,CAACE,YAAY,yCAAyCe,SAAS,CAAC,UAAYnB,EAAIgB,GAAGhB,EAAIoB,KAAKC,gBAAgBb,EAAKc,aAAapB,EAAG,MAAM,CAACE,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AAAvB,YAAAuB,EACA,KAAAV,qBACA,EAGA3B,UAAAA,CAAAL,GACA,KAAA2C,QAAAC,KAAA,gCAAA5C,EAAAE,GACA,KCrHkQ,I,UCQ9P2C,GAAY,OACd,EACAtD,EACAgC,GACA,EACA,KACA,WACA,MAIF,EAAesB,E","sources":["webpack://shiweisuzhou/./src/views/notice/noticeList.vue","webpack://shiweisuzhou/src/views/notice/noticeList.vue","webpack://shiweisuzhou/./src/views/notice/noticeList.vue?979f","webpack://shiweisuzhou/./src/views/notice/noticeList.vue?b8c2"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"announcement-container\"},[_c('div',{staticClass:\"page-title\"},[_vm._v(\"公告列表\")]),_c('el-card',{staticClass:\"announcement-list-card\"},[_vm._l((_vm.announcementList),function(item){return _c('div',{key:item.id,staticClass:\"announcement-item\",on:{\"click\":function($event){return _vm.gotoDetail(item)}}},[_c('div',{staticClass:\"announcement-header\"},[_c('div',{staticClass:\"announcement-title\"},[_c('span',{class:{ 'is-top': item.isTop }},[_vm._v(_vm._s(item.title))])]),_c('div',{staticClass:\"announcement-date\"},[_vm._v(_vm._s(item.createTime))])]),_c('div',{staticClass:\"announcement-content text-overflowRows\",domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(item.content))}}),_c('div',{staticClass:\"announcement-action\"},[_c('el-button',{attrs:{\"type\":\"text\"}},[_vm._v(\"查看详情\")])],1)])}),(_vm.announcementList.length === 0)?_c('div',{staticClass:\"empty-state\"},[_c('el-empty',{attrs:{\"description\":\"暂无公告信息\"}})],1):_vm._e()],2),(_vm.total > 0)?_c('div',{staticClass:\"pagination-container\"},[_c('el-pagination',{attrs:{\"current-page\":_vm.currentPage,\"page-sizes\":[5, 10, 20],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./noticeList.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./noticeList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./noticeList.vue?vue&type=template&id=2e0c8dfc&scoped=true\"\nimport script from \"./noticeList.vue?vue&type=script&lang=js\"\nexport * from \"./noticeList.vue?vue&type=script&lang=js\"\nimport style0 from \"./noticeList.vue?vue&type=style&index=0&id=2e0c8dfc&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 \"2e0c8dfc\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_v","_l","announcementList","item","key","id","on","$event","gotoDetail","class","isTop","_s","title","createTime","domProps","util","formateRichText","content","attrs","length","_e","total","currentPage","pageSize","handleSizeChange","handleCurrentChange","staticRenderFns","name","data","searchKeyword","filters","ellipsis","value","slice","created","getAnnouncementList","methods","post","offset","limit","then","res","code","list","handleSearch","val","$router","push","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/705.c96616d8.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,0BAA0B,CAACF,EAAG,MAAM,CAACE,YAAY,cAAc,CAACJ,EAAIK,GAAG,UAAUH,EAAG,UAAU,CAACE,YAAY,0BA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A,EACAF,MAAA,EAGAnB,iBAAA,GAEA,EACA4B,QAAA,CAEAC,QAAAA,CAAAC,EAAAb,GACA,OAAAa,EACAA,EAAAb,QAAAA,EAAAa,EACAA,EAAAC,MAAA,EAAAd,GAAA,MAFA,EAGA,GAEAe,OAAAA,GAEA,KAAAC,qBACA,EACAC,QAAA,CAEAD,mBAAAA,GACA,KAAAE,KACA,CACAC,QAAA,KAAAhB,YAAA,QAAAC,SACAgB,MAAA,KAAAhB,UAEA,iCACAiB,KAAAC,IACA,GAAAA,EAAAC,OACA,KAAAxC,iBAAAuC,EAAAb,KAAAe,KACA,KAAAtB,MAAAoB,EAAAb,KAAAP,QAGA,EAGAuB,YAAAA,GACA,KAAAtB,YAAA,EACA,KAAAa,qBACA,EAGAX,gBAAAA,CAAAqB,GACA,KAAAtB,SAAAsB,EACA,KAAAvB,YAAA,EACA,KAAAa,qBACA,EAGAV,mBAAAA,CAAAoB,GACA,KAAAvB,YAAAuB,EACA,KAAAV,qBACA,EAGA3B,UAAAA,CAAAL,GACA,KAAA2C,QAAAC,KAAA,gCAAA5C,EAAAE,GACA,KCrHgS,I,SCQ5R2C,GAAY,OACd,EACAtD,EACAgC,GACA,EACA,KACA,WACA,MAIF,EAAesB,E","sources":["webpack://shiweisuzhou/./src/views/notice/noticeList.vue","webpack://shiweisuzhou/src/views/notice/noticeList.vue","webpack://shiweisuzhou/./src/views/notice/noticeList.vue?b8cd","webpack://shiweisuzhou/./src/views/notice/noticeList.vue?d4d2"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"announcement-container\"},[_c('div',{staticClass:\"page-title\"},[_vm._v(\"公告列表\")]),_c('el-card',{staticClass:\"announcement-list-card\"},[_vm._l((_vm.announcementList),function(item){return _c('div',{key:item.id,staticClass:\"announcement-item\",on:{\"click\":function($event){return _vm.gotoDetail(item)}}},[_c('div',{staticClass:\"announcement-header\"},[_c('div',{staticClass:\"announcement-title\"},[_c('span',{class:{ 'is-top': item.isTop }},[_vm._v(_vm._s(item.title))])]),_c('div',{staticClass:\"announcement-date\"},[_vm._v(_vm._s(item.createTime))])]),_c('div',{staticClass:\"announcement-content text-overflowRows\",domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(item.content))}}),_c('div',{staticClass:\"announcement-action\"},[_c('el-button',{attrs:{\"type\":\"text\"}},[_vm._v(\"查看详情\")])],1)])}),(_vm.announcementList.length === 0)?_c('div',{staticClass:\"empty-state\"},[_c('el-empty',{attrs:{\"description\":\"暂无公告信息\"}})],1):_vm._e()],2),(_vm.total > 0)?_c('div',{staticClass:\"pagination-container\"},[_c('el-pagination',{attrs:{\"current-page\":_vm.currentPage,\"page-sizes\":[5, 10, 20],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./noticeList.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./noticeList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./noticeList.vue?vue&type=template&id=2e0c8dfc&scoped=true\"\nimport script from \"./noticeList.vue?vue&type=script&lang=js\"\nexport * from \"./noticeList.vue?vue&type=script&lang=js\"\nimport style0 from \"./noticeList.vue?vue&type=style&index=0&id=2e0c8dfc&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2e0c8dfc\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_v","_l","announcementList","item","key","id","on","$event","gotoDetail","class","isTop","_s","title","createTime","domProps","util","formateRichText","content","attrs","length","_e","total","currentPage","pageSize","handleSizeChange","handleCurrentChange","staticRenderFns","name","data","searchKeyword","filters","ellipsis","value","slice","created","getAnnouncementList","methods","post","offset","limit","then","res","code","list","handleSearch","val","$router","push","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/646.86f530bc.js b/dist/js/707.b7263128.js similarity index 64% rename from dist/js/646.86f530bc.js rename to dist/js/707.b7263128.js index 4f02eb2..7e48c0c 100644 --- a/dist/js/646.86f530bc.js +++ b/dist/js/707.b7263128.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[646],{5646:function(t,i,e){e.r(i),e.d(i,{default:function(){return x}});var s=function(){var t=this,i=t._self._c;return i("div",[i("div",{staticClass:"product-detail-container"},[i("div",{staticClass:"left-section"},[i("el-carousel",{ref:"carousel",staticClass:"product-carousel",attrs:{height:"500px","indicator-position":"none"},on:{change:t.handleCarouselChange}},t._l(t.info.listimg,function(t,e){return i("el-carousel-item",{key:e},[i("img",{staticClass:"carousel-img",attrs:{src:t,alt:`商品图片${e+1}`}})])}),1),i("div",{staticClass:"hint-text"},[t._v(" 温馨提示:以上图片仅供参考,若图片与实物有所不同,则以实物为准。 ")]),i("div",{staticClass:"image-indicators"},t._l(t.info.listimg,function(e,s){return i("div",{key:s,staticClass:"indicator-item",class:{active:t.activeIndex===s},on:{click:function(i){return t.handleIndicatorClick(s)}}},[i("img",{staticClass:"indicator-img",attrs:{src:e,alt:`缩略图${s+1}`}})])}),0)],1),i("div",{staticClass:"right-section"},[i("h2",{staticClass:"product-title"},[t._v(" "+t._s(t.info.title)+" ")]),i("div",{staticClass:"product-tags"},[t.info.display_tags?i("div",{staticStyle:{display:"inline-block"}},t._l(t.info.display_tags.split(","),function(e,s){return i("el-tag",{key:s,staticStyle:{"margin-right":"5px"},attrs:{effect:"dark",size:"mini"}},[t._v(t._s(e))])}),1):t._e(),i("span",{staticClass:"subtitle"},[t._v(t._s(t.info.subtitle))])]),i("div",{staticClass:"price-info"},[i("span",{staticClass:"price-label"},[t._v("售价")]),i("span",{staticClass:"price-amount"},[t._v("¥"+t._s(t.info.sku[t.selectedSpec].price/100))]),i("span",{staticClass:"sales-volume"},[t._v("已售 "+t._s(t.info.sales_number))])]),i("div",{staticClass:"product-attr"},[t._m(0),i("div",{staticClass:"attr-item spec-group"},[i("span",{staticClass:"attr-label"},[t._v("商品规格")]),i("div",{staticClass:"custom-radio-group"},t._l(t.info.sku,function(e,s){return i("label",{key:s,staticClass:"custom-radio",class:{"is-checked":t.selectedSpec===s},on:{click:function(i){t.selectedSpec=s}}},[i("span",{staticClass:"radio-text"},[t._v(t._s(e.sku_name))])])}),0)]),t.currentMinQuantity>1?i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("起订量")]),i("span",{staticClass:"attr-value"},[t._v(t._s(t.currentMinQuantity)+"件")])]):t._e(),i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("发货地")]),i("span",{staticClass:"attr-value"},[t._v(t._s(t.info.supplier_address))])]),i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("其他")]),i("span",{staticClass:"attr-value"},[t._v(t._s(t.otherInfo))])]),i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("配送范围")]),i("span",{staticClass:"attr-value"},[t._v(t._s(t.deliveryRange))])])]),i("div",{staticClass:"quantity-control"},[i("el-button",{attrs:{icon:"el-icon-minus",circle:""},on:{click:t.decreaseQuantity}}),i("span",{staticClass:"quantity-value"},[t._v(t._s(t.quantity))]),i("el-button",{attrs:{icon:"el-icon-plus",circle:""},on:{click:t.increaseQuantity}}),i("el-button",{staticClass:"buy-btn",attrs:{type:"primary"},on:{click:t.buyNow}},[t._v("一口价购买")]),i("el-button",{staticClass:"cart-btn",attrs:{type:"success"},on:{click:t.addCart}},[t._v("加入购物车")]),i("el-button",{staticClass:"bargain-btn",attrs:{type:"info"},on:{click:t.goYj}},[t._v("议价")])],1)])]),i("div",{staticClass:"product-bottom"},[i("div",{staticClass:"hot-recommend-sidebar"},[i("div",{staticClass:"hot-title"},[t._v("热销推荐")]),t._l(t.hotRecommendData,function(e,s){return i("div",{key:s,staticClass:"product-item",on:{click:function(i){t.id=e.id,t.onReload()}}},[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.headimg,expression:"item.headimg"}],attrs:{alt:""}}),i("div",{staticClass:"product-name"},[t._v(t._s(e.title))]),i("div",{staticClass:"product-price"},[t._v("¥"+t._s(e.price/100))])])})],2),i("div",{staticClass:"product-right"},[i("div",{staticClass:"product-tabs"},[i("span",{class:["tab-item",{active:!t.tabIndex}],on:{click:function(i){t.tabIndex=0}}},[t._v("商品详情")]),i("span",{class:["tab-item",{active:t.tabIndex}],on:{click:function(i){t.tabIndex=1}}},[t._v("商品评价("+t._s(t.evaluateNum)+")")])]),i("div",{directives:[{name:"show",rawName:"v-show",value:!t.tabIndex,expression:"!tabIndex"}],staticClass:"product-detail-main",domProps:{innerHTML:t._s(t.util.formateRichText(t.info.content))}}),i("Evaluate",{directives:[{name:"show",rawName:"v-show",value:t.tabIndex,expression:"tabIndex"}],attrs:{id:t.id}})],1)]),i("AddToCartDialog",{attrs:{product:t.sku,buyQuantity:t.quantity,visible:t.showAddCartDialog},on:{"update:visible":function(i){t.showAddCartDialog=i}}})],1)},a=[function(){var t=this,i=t._self._c;return i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("收货方式")]),i("span",{staticClass:"attr-value"},[t._v("邮寄")])])}],n=(e(4114),function(){var t=this,i=t._self._c;return i("div",{staticClass:"product-review-section"},[t._e(),i("div",{staticClass:"review-list"},[t._l(t.reviews,function(e,s){return i("div",{key:e.id,staticClass:"review-item"},[i("div",{staticClass:"user-info"},[i("img",{staticClass:"avatar",attrs:{src:e.user.avatar}}),i("div",{staticClass:"user-name"},[t._v(t._s(e.user.nickname))]),i("div",{staticClass:"rating-stars"},t._l(5,function(s){return i("span",{key:s},[t._v(" "+t._s(s<=e.rate?"★":"☆")+" ")])}),0)]),i("div",{staticClass:"review-content",class:{empty:!e.content},domProps:{innerHTML:t._s(t.util.formateRichText(e.content))}}),e.img_list.split(",")&&e.img_list.split(",").length?i("div",{staticClass:"review-images"},t._l(e.img_list.split(","),function(s,a){return i("img",{key:a,attrs:{src:s,alt:`${e.nickname}的评价图片${a+1}`},on:{click:function(i){t.openPreview(e.img_list.split(","),a)}}})}),0):t._e(),i("div",{staticClass:"review-time"},[t._v(t._s(e.time))])])}),0===t.reviews.length?i("div",{staticClass:"empty-state"},[i("el-empty",{attrs:{description:"暂无符合条件的评价"}})],1):t._e()],2),t.total>0?i("div",{staticClass:"pagination-container"},[i("el-pagination",{attrs:{"current-page":t.currentPage,"page-sizes":[5,10,20],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e(),i("el-dialog",{attrs:{visible:t.previewVisible,modal:!0,title:`查看图片 ${t.previewIndex+1}/${t.previewImages.length}`,width:"80%",height:"80%","custom-class":"image-preview-dialog","close-on-click-modal":!0},on:{"update:visible":function(i){t.previewVisible=i}}},[i("div",{staticClass:"preview-container"},[i("el-button",{staticClass:"preview-btn prev-btn",attrs:{icon:"el-icon-arrow-left",circle:"",disabled:0===t.previewIndex},on:{click:function(i){return t.changePreview("prev")}}}),i("div",{staticClass:"preview-img-wrapper"},[i("img",{staticClass:"preview-img",attrs:{src:t.previewImages[t.previewIndex],alt:`预览图片 ${t.previewIndex+1}`}})]),i("el-button",{staticClass:"preview-btn next-btn",attrs:{icon:"el-icon-arrow-right",circle:"",disabled:t.previewIndex===t.previewImages.length-1},on:{click:function(i){return t.changePreview("next")}}})],1)])],1)}),r=[],l=e(9143),c={name:"ProductReviews",props:["id"],components:{ElEmpty:l.Empty,ElPagination:l.Pagination},data(){return{activeFilter:"all",currentPage:1,pageSize:10,reviews:[],total:0,loading:!1,previewVisible:!1,previewImages:[],previewIndex:0}},mounted(){this.getList()},watch:{id(t){this.idd=t,this.getList()}},methods:{getList(){this.loading=!0,this.get({product_id:this.id,offset:(this.currentPage-1)*this.pageSize,limit:this.pageSize},"/api/product/product_comment_list").then(t=>{this.reviews=t.data.list,this.total=t.data.total,this.loading=!1}).catch(()=>{this.loading=!1})},handleFilterChange(t){this.activeFilter=t,this.currentPage=1},handleSizeChange(t){this.pageSize=t,this.currentPage=1,this.getList()},handleCurrentChange(t){this.currentPage=t,this.getList(),document.querySelector(".review-list")?.scrollIntoView({behavior:"smooth"})},openPreview(t,i){this.previewImages=t,this.previewIndex=i,this.previewVisible=!0},changePreview(t){"prev"===t&&this.previewIndex>0?this.previewIndex--:"next"===t&&this.previewIndex{document.querySelector(".el-dialog__title").textContent=`查看图片 ${this.previewIndex+1}/${this.previewImages.length}`})}}},o=c,d=e(1656),u=(0,d.A)(o,n,r,!1,null,"35760caa",null),p=u.exports,h=function(){var t=this,i=t._self._c;return i("el-dialog",{attrs:{title:"加入购物车",visible:t.dialogVisible,width:"360px","close-on-click-modal":!1,"show-close":!1},on:{"update:visible":function(i){t.dialogVisible=i}}},[i("div",{staticClass:"cart-dialog__product"},[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.product.headimg,expression:"product.headimg"}],staticClass:"product-img",attrs:{alt:"商品图片"}}),i("div",{staticClass:"product-info"},[i("h4",{staticClass:"product-name"},[t._v(t._s(t.product.sku_name||"商品名称"))]),i("p",{staticClass:"product-price"},[t._v("¥"+t._s(t.product.price/100))])])]),i("div",{staticClass:"cart-dialog__quantity"},[i("label",[t._v("购买数量:")]),i("el-input-number",{staticClass:"quantity-input",attrs:{min:1,max:t.product.stock,step:1},on:{change:t.handleQuantityChange},model:{value:t.buyQuantity,callback:function(i){t.buyQuantity=i},expression:"buyQuantity"}}),t.product.stock?i("span",{staticClass:"stock-tip"},[t._v(" 库存仅剩 "+t._s(t.product.stock)+" 件 ")]):t._e()],1),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{staticClass:"cancel-btn",on:{click:function(i){t.dialogVisible=!1}}},[t._v(" 取消 ")]),i("el-button",{staticClass:"confirm-btn",attrs:{type:"primary",loading:t.loading},on:{click:t.handleAddToCart}},[t._v(" 加入购物车 ")])],1)])},v=[],m=e(3518),g={name:"AddToCartDialog",props:{product:{type:Object,required:!0,default:()=>({id:"",name:"",price:0,avatar:"https://picsum.photos/100",stock:99})},visible:{type:Boolean,default:!1},buyQuantity:{type:Number,default:!1}},data(){return{loading:!1}},computed:{dialogVisible:{get(){return this.visible},set(t){this.$emit("update:visible",t)}}},methods:{...(0,m.i0)(["addToCart"]),handleQuantityChange(t){t>this.product.stock&&(this.buyQuantity=this.product.stock,this.$message.warning(`库存不足,最多可购买 ${this.product.stock} 件`))},async handleAddToCart(){this.loading=!0;try{await this.addToCart({...this.product,quantity:this.buyQuantity}),this.dialogVisible=!1,this.buyQuantity=1}catch(t){this.$message.error(t.message||"加入购物车失败,请重试")}finally{this.loading=!1}}}},C=g,_=(0,d.A)(C,h,v,!1,null,"32e5a85a",null),f=_.exports,b=e(5129),y={name:"ProductDetail",components:{Evaluate:p,AddToCartDialog:f},data(){return{id:"",info:{},activeIndex:0,productCount:"52个",productSubtitle:"副标题",moq:1,deliveryMethod:"邮寄",selectedSpec:0,otherInfo:"下单填写留言,即免费赠送精美贺卡!",deliveryRange:"全国(可配送至全国1000多个城市,苏州市区内免配送费)",quantity:1,hotRecommendData:[],tabIndex:0,showAddCartDialog:!1,sku:{},evaluateNum:0}},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("分享功能待实现")},goYj(){const t=b.A.state.user?.info?.token||"";window.location.href="https://swsz.api.js-dyyj.com/kefu?token="+t},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(),this.get({product_id:this.id,offset:0,limit:1},"/api/product/product_comment_list").then(t=>{this.evaluateNum=t.data.total})}},mounted(){this.$refs.carousel||console.warn("轮播组件未正确加载,请检查ref属性是否设置"),this.id=this.$route.params.id,this.onReload()}},w=y,k=(0,d.A)(w,s,a,!1,null,"b0a7f4d8",null),x=k.exports}}]); -//# sourceMappingURL=646.86f530bc.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[707],{3707:function(t,i,e){e.r(i),e.d(i,{default:function(){return x}});var s=function(){var t=this,i=t._self._c;return i("div",[i("div",{staticClass:"product-detail-container"},[i("div",{staticClass:"left-section"},[i("el-carousel",{ref:"carousel",staticClass:"product-carousel",attrs:{height:"500px","indicator-position":"none"},on:{change:t.handleCarouselChange}},t._l(t.info.listimg,function(t,e){return i("el-carousel-item",{key:e},[i("img",{staticClass:"carousel-img",attrs:{src:t,alt:`商品图片${e+1}`}})])}),1),i("div",{staticClass:"hint-text"},[t._v(" 温馨提示:以上图片仅供参考,若图片与实物有所不同,则以实物为准。 ")]),i("div",{staticClass:"image-indicators"},t._l(t.info.listimg,function(e,s){return i("div",{key:s,staticClass:"indicator-item",class:{active:t.activeIndex===s},on:{click:function(i){return t.handleIndicatorClick(s)}}},[i("img",{staticClass:"indicator-img",attrs:{src:e,alt:`缩略图${s+1}`}})])}),0)],1),i("div",{staticClass:"right-section"},[i("h2",{staticClass:"product-title"},[t._v(" "+t._s(t.info.title)+" ")]),i("div",{staticClass:"product-tags"},[t.info.display_tags?i("div",{staticStyle:{display:"inline-block"}},t._l(t.info.display_tags.split(","),function(e,s){return i("el-tag",{key:s,staticStyle:{"margin-right":"5px"},attrs:{effect:"dark",size:"mini"}},[t._v(t._s(e))])}),1):t._e(),i("span",{staticClass:"subtitle"},[t._v(t._s(t.info.subtitle))])]),i("div",{staticClass:"price-info"},[i("span",{staticClass:"price-label"},[t._v("售价")]),i("span",{staticClass:"price-amount"},[t._v("¥"+t._s(t.info.sku[t.selectedSpec].price/100))]),i("span",{staticClass:"sales-volume"},[t._v("已售 "+t._s(t.info.sales_number))])]),i("div",{staticClass:"product-attr"},[t._m(0),i("div",{staticClass:"attr-item spec-group"},[i("span",{staticClass:"attr-label"},[t._v("商品规格")]),i("div",{staticClass:"custom-radio-group"},t._l(t.info.sku,function(e,s){return i("label",{key:s,staticClass:"custom-radio",class:{"is-checked":t.selectedSpec===s},on:{click:function(i){t.selectedSpec=s}}},[i("span",{staticClass:"radio-text"},[t._v(t._s(e.sku_name))])])}),0)]),t.currentMinQuantity>1?i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("起订量")]),i("span",{staticClass:"attr-value"},[t._v(t._s(t.currentMinQuantity)+"件")])]):t._e(),i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("发货地")]),i("span",{staticClass:"attr-value"},[t._v(t._s(t.info.supplier_address))])]),i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("其他")]),i("span",{staticClass:"attr-value"},[t._v(t._s(t.otherInfo))])]),i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("配送范围")]),i("span",{staticClass:"attr-value"},[t._v(t._s(t.deliveryRange))])])]),i("div",{staticClass:"quantity-control"},[i("el-button",{attrs:{icon:"el-icon-minus",circle:""},on:{click:t.decreaseQuantity}}),i("span",{staticClass:"quantity-value"},[t._v(t._s(t.quantity))]),i("el-button",{attrs:{icon:"el-icon-plus",circle:""},on:{click:t.increaseQuantity}}),i("el-button",{staticClass:"buy-btn",attrs:{type:"primary"},on:{click:t.buyNow}},[t._v("一口价购买")]),i("el-button",{staticClass:"cart-btn",attrs:{type:"success"},on:{click:t.addCart}},[t._v("加入购物车")]),i("el-button",{staticClass:"bargain-btn",attrs:{type:"info"},on:{click:t.goYj}},[t._v("议价")])],1)])]),i("div",{staticClass:"product-bottom"},[i("div",{staticClass:"hot-recommend-sidebar"},[i("div",{staticClass:"hot-title"},[t._v("热销推荐")]),t._l(t.hotRecommendData,function(e,s){return i("div",{key:s,staticClass:"product-item",on:{click:function(i){t.id=e.id,t.onReload()}}},[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.headimg,expression:"item.headimg"}],attrs:{alt:""}}),i("div",{staticClass:"product-name"},[t._v(t._s(e.title))]),i("div",{staticClass:"product-price"},[t._v("¥"+t._s(e.price/100))])])})],2),i("div",{staticClass:"product-right"},[i("div",{staticClass:"product-tabs"},[i("span",{class:["tab-item",{active:!t.tabIndex}],on:{click:function(i){t.tabIndex=0}}},[t._v("商品详情")]),i("span",{class:["tab-item",{active:t.tabIndex}],on:{click:function(i){t.tabIndex=1}}},[t._v("商品评价("+t._s(t.evaluateNum)+")")])]),i("div",{directives:[{name:"show",rawName:"v-show",value:!t.tabIndex,expression:"!tabIndex"}],staticClass:"product-detail-main",domProps:{innerHTML:t._s(t.util.formateRichText(t.info.content))}}),i("Evaluate",{directives:[{name:"show",rawName:"v-show",value:t.tabIndex,expression:"tabIndex"}],attrs:{id:t.id}})],1)]),i("AddToCartDialog",{attrs:{product:t.sku,buyQuantity:t.quantity,visible:t.showAddCartDialog},on:{"update:visible":function(i){t.showAddCartDialog=i}}})],1)},a=[function(){var t=this,i=t._self._c;return i("div",{staticClass:"attr-item"},[i("span",{staticClass:"attr-label"},[t._v("收货方式")]),i("span",{staticClass:"attr-value"},[t._v("邮寄")])])}],n=(e(4114),function(){var t=this,i=t._self._c;return i("div",{staticClass:"product-review-section"},[t._e(),i("div",{staticClass:"review-list"},[t._l(t.reviews,function(e,s){return i("div",{key:e.id,staticClass:"review-item"},[i("div",{staticClass:"user-info"},[i("img",{staticClass:"avatar",attrs:{src:e.user.avatar}}),i("div",{staticClass:"user-name"},[t._v(t._s(e.user.nickname))]),i("div",{staticClass:"rating-stars"},t._l(5,function(s){return i("span",{key:s},[t._v(" "+t._s(s<=e.rate?"★":"☆")+" ")])}),0)]),i("div",{staticClass:"review-content",class:{empty:!e.content},domProps:{innerHTML:t._s(t.util.formateRichText(e.content))}}),e.img_list.split(",")&&e.img_list.split(",").length?i("div",{staticClass:"review-images"},t._l(e.img_list.split(","),function(s,a){return i("img",{key:a,attrs:{src:s,alt:`${e.nickname}的评价图片${a+1}`},on:{click:function(i){t.openPreview(e.img_list.split(","),a)}}})}),0):t._e(),i("div",{staticClass:"review-time"},[t._v(t._s(e.time))])])}),0===t.reviews.length?i("div",{staticClass:"empty-state"},[i("el-empty",{attrs:{description:"暂无符合条件的评价"}})],1):t._e()],2),t.total>0?i("div",{staticClass:"pagination-container"},[i("el-pagination",{attrs:{"current-page":t.currentPage,"page-sizes":[5,10,20],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e(),i("el-dialog",{attrs:{visible:t.previewVisible,modal:!0,title:`查看图片 ${t.previewIndex+1}/${t.previewImages.length}`,width:"80%",height:"80%","custom-class":"image-preview-dialog","close-on-click-modal":!0},on:{"update:visible":function(i){t.previewVisible=i}}},[i("div",{staticClass:"preview-container"},[i("el-button",{staticClass:"preview-btn prev-btn",attrs:{icon:"el-icon-arrow-left",circle:"",disabled:0===t.previewIndex},on:{click:function(i){return t.changePreview("prev")}}}),i("div",{staticClass:"preview-img-wrapper"},[i("img",{staticClass:"preview-img",attrs:{src:t.previewImages[t.previewIndex],alt:`预览图片 ${t.previewIndex+1}`}})]),i("el-button",{staticClass:"preview-btn next-btn",attrs:{icon:"el-icon-arrow-right",circle:"",disabled:t.previewIndex===t.previewImages.length-1},on:{click:function(i){return t.changePreview("next")}}})],1)])],1)}),r=[],l=e(9143),c={name:"ProductReviews",props:["id"],components:{ElEmpty:l.Empty,ElPagination:l.Pagination},data(){return{activeFilter:"all",currentPage:1,pageSize:10,reviews:[],total:0,loading:!1,previewVisible:!1,previewImages:[],previewIndex:0}},mounted(){this.getList()},watch:{id(t){this.idd=t,this.getList()}},methods:{getList(){this.loading=!0,this.get({product_id:this.id,offset:(this.currentPage-1)*this.pageSize,limit:this.pageSize},"/api/product/product_comment_list").then(t=>{this.reviews=t.data.list,this.total=t.data.total,this.loading=!1}).catch(()=>{this.loading=!1})},handleFilterChange(t){this.activeFilter=t,this.currentPage=1},handleSizeChange(t){this.pageSize=t,this.currentPage=1,this.getList()},handleCurrentChange(t){this.currentPage=t,this.getList(),document.querySelector(".review-list")?.scrollIntoView({behavior:"smooth"})},openPreview(t,i){this.previewImages=t,this.previewIndex=i,this.previewVisible=!0},changePreview(t){"prev"===t&&this.previewIndex>0?this.previewIndex--:"next"===t&&this.previewIndex{document.querySelector(".el-dialog__title").textContent=`查看图片 ${this.previewIndex+1}/${this.previewImages.length}`})}}},o=c,d=e(845),u=(0,d.A)(o,n,r,!1,null,"35760caa",null),p=u.exports,h=function(){var t=this,i=t._self._c;return i("el-dialog",{attrs:{title:"加入购物车",visible:t.dialogVisible,width:"360px","close-on-click-modal":!1,"show-close":!1},on:{"update:visible":function(i){t.dialogVisible=i}}},[i("div",{staticClass:"cart-dialog__product"},[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.product.headimg,expression:"product.headimg"}],staticClass:"product-img",attrs:{alt:"商品图片"}}),i("div",{staticClass:"product-info"},[i("h4",{staticClass:"product-name"},[t._v(t._s(t.product.sku_name||"商品名称"))]),i("p",{staticClass:"product-price"},[t._v("¥"+t._s(t.product.price/100))])])]),i("div",{staticClass:"cart-dialog__quantity"},[i("label",[t._v("购买数量:")]),i("el-input-number",{staticClass:"quantity-input",attrs:{min:1,max:t.product.stock,step:1},on:{change:t.handleQuantityChange},model:{value:t.buyQuantity,callback:function(i){t.buyQuantity=i},expression:"buyQuantity"}}),t.product.stock?i("span",{staticClass:"stock-tip"},[t._v(" 库存仅剩 "+t._s(t.product.stock)+" 件 ")]):t._e()],1),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{staticClass:"cancel-btn",on:{click:function(i){t.dialogVisible=!1}}},[t._v(" 取消 ")]),i("el-button",{staticClass:"confirm-btn",attrs:{type:"primary",loading:t.loading},on:{click:t.handleAddToCart}},[t._v(" 加入购物车 ")])],1)])},v=[],m=e(3518),g={name:"AddToCartDialog",props:{product:{type:Object,required:!0,default:()=>({id:"",name:"",price:0,avatar:"https://picsum.photos/100",stock:99})},visible:{type:Boolean,default:!1},buyQuantity:{type:Number,default:!1}},data(){return{loading:!1}},computed:{dialogVisible:{get(){return this.visible},set(t){this.$emit("update:visible",t)}}},methods:{...(0,m.i0)(["addToCart"]),handleQuantityChange(t){t>this.product.stock&&(this.buyQuantity=this.product.stock,this.$message.warning(`库存不足,最多可购买 ${this.product.stock} 件`))},async handleAddToCart(){this.loading=!0;try{await this.addToCart({...this.product,quantity:this.buyQuantity}),this.dialogVisible=!1,this.buyQuantity=1}catch(t){this.$message.error(t.message||"加入购物车失败,请重试")}finally{this.loading=!1}}}},C=g,_=(0,d.A)(C,h,v,!1,null,"32e5a85a",null),f=_.exports,b=e(5129),y={name:"ProductDetail",components:{Evaluate:p,AddToCartDialog:f},data(){return{id:"",info:{},activeIndex:0,productCount:"52个",productSubtitle:"副标题",moq:1,deliveryMethod:"邮寄",selectedSpec:0,otherInfo:"下单填写留言,即免费赠送精美贺卡!",deliveryRange:"全国(可配送至全国1000多个城市,苏州市区内免配送费)",quantity:1,hotRecommendData:[],tabIndex:0,showAddCartDialog:!1,sku:{},evaluateNum:0}},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("分享功能待实现")},goYj(){const t=b.A.state.user?.info?.token||"";window.location.href="https://swsz.api.js-dyyj.com/kefu?token="+t},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(),this.get({product_id:this.id,offset:0,limit:1},"/api/product/product_comment_list").then(t=>{this.evaluateNum=t.data.total})}},mounted(){this.$refs.carousel||console.warn("轮播组件未正确加载,请检查ref属性是否设置"),this.id=this.$route.params.id,this.onReload()}},w=y,k=(0,d.A)(w,s,a,!1,null,"b0a7f4d8",null),x=k.exports}}]); +//# sourceMappingURL=707.b7263128.js.map \ No newline at end of file diff --git a/dist/js/646.86f530bc.js.map b/dist/js/707.b7263128.js.map similarity index 53% rename from dist/js/646.86f530bc.js.map rename to dist/js/707.b7263128.js.map index 5291d57..a103fc1 100644 --- a/dist/js/646.86f530bc.js.map +++ b/dist/js/707.b7263128.js.map @@ -1 +1 @@ -{"version":3,"file":"js/646.86f530bc.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,4BAA4B,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,cAAc,CAACG,IAAI,WAAWD,YAAY,mBAAmBE,MAAM,CAAC,OAAS,QAAQ,qBAAqB,QAAQC,GAAG,CAAC,OAASP,EAAIQ,uBAAuBR,EAAIS,GAAIT,EAAIU,KAAKC,QAAS,SAASC,EAAIC,GAAO,OAAOX,EAAG,mBAAmB,CAACY,IAAID,GAAO,CAACX,EAAG,MAAM,CAACE,YAAY,eAAeE,MAAM,CAAC,IAAMM,EAAI,IAAM,OAAOC,EAAQ,QAAQ,GAAG,GAAGX,EAAG,MAAM,CAACE,YAAY,aAAa,CAACJ,EAAIe,GAAG,wCAAwCb,EAAG,MAAM,CAACE,YAAY,oBAAoBJ,EAAIS,GAAIT,EAAIU,KAAKC,QAAS,SAASC,EAAIC,GAAO,OAAOX,EAAG,MAAM,CAACY,IAAID,EAAMT,YAAY,iBAAiBY,MAAM,CAAEC,OAAQjB,EAAIkB,cAAgBL,GAAQN,GAAG,CAAC,MAAQ,SAASY,GAAQ,OAAOnB,EAAIoB,qBAAqBP,EAAM,IA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OAAA,GACAG,OAAAC,SAAAC,KAAA,2CAAAL,CACA,EAGAvH,OAAAA,GACA,KAAAhB,IAAA,KAAAnB,KAAAmB,IAAA,KAAAC,cACA,KAAAgC,mBAAA,CACA,EAGA4G,YAAAA,GACA,KAAAC,KACA,CACApE,OAAA,EACAC,MAAA,EACAoE,MAAA,EACAC,YAAA,KAAA7H,IAEA,iCACAyD,KAAAC,IACA,KAAA3D,iBAAA2D,EAAAd,KAAAe,MAEA,EAGAmE,SAAAA,GACA,KAAAzE,IAAA,CAAArD,GAAA,KAAAA,IAAA,mCAAAyD,KACAC,IACA,KAAAhG,KAAAgG,EAAAd,KACA,KAAAlF,KAAAmB,KAAA,KAAAnB,KAAAmB,IAAA4C,OAAA,IAEA,KAAA3C,cAAA,KAAApB,KAAAmB,IAAA4C,SACA,KAAA3C,aAAA,GAGA,KAAAY,SAAA,KAAAL,qBAIA,EAEAY,QAAAA,GACA,KAAA6H,YACA,KAAAJ,eAGA,KAAArE,IACA,CACAC,WAAA,KAAAtD,GACAuD,OAAA,EACAC,MAAA,GAEA,qCACAC,KAAAC,IACA,KAAAjD,YAAAiD,EAAAd,KAAAf,OAEA,GAEAkB,OAAAA,GAEA,KAAAiE,MAAAC,UACAc,QAAAC,KAAA,0BAEA,KAAAhI,GAAA,KAAAiI,OAAAC,OAAAlI,GACA,KAAAC,UACA,GCpW6P,ICQzP,GAAY,OACd,EACAlD,EACAgE,GACA,EACA,KACA,WACA,MAIF,EAAe,E","sources":["webpack://shiweisuzhou/./src/views/Detail/Index.vue","webpack://shiweisuzhou/./src/components/product/Evaluate.vue","webpack://shiweisuzhou/src/components/product/Evaluate.vue","webpack://shiweisuzhou/./src/components/product/Evaluate.vue?9dbf","webpack://shiweisuzhou/./src/components/product/Evaluate.vue?9ce1","webpack://shiweisuzhou/./src/components/product/AddToCartDialog.vue","webpack://shiweisuzhou/src/components/product/AddToCartDialog.vue","webpack://shiweisuzhou/./src/components/product/AddToCartDialog.vue?0999","webpack://shiweisuzhou/./src/components/product/AddToCartDialog.vue?aabf","webpack://shiweisuzhou/src/views/Detail/Index.vue","webpack://shiweisuzhou/./src/views/Detail/Index.vue?1ab6","webpack://shiweisuzhou/./src/views/Detail/Index.vue?db7a"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"product-detail-container\"},[_c('div',{staticClass:\"left-section\"},[_c('el-carousel',{ref:\"carousel\",staticClass:\"product-carousel\",attrs:{\"height\":\"500px\",\"indicator-position\":\"none\"},on:{\"change\":_vm.handleCarouselChange}},_vm._l((_vm.info.listimg),function(img,index){return _c('el-carousel-item',{key:index},[_c('img',{staticClass:\"carousel-img\",attrs:{\"src\":img,\"alt\":`商品图片${index + 1}`}})])}),1),_c('div',{staticClass:\"hint-text\"},[_vm._v(\" 温馨提示:以上图片仅供参考,若图片与实物有所不同,则以实物为准。 \")]),_c('div',{staticClass:\"image-indicators\"},_vm._l((_vm.info.listimg),function(img,index){return _c('div',{key:index,staticClass:\"indicator-item\",class:{ active: _vm.activeIndex === index },on:{\"click\":function($event){return _vm.handleIndicatorClick(index)}}},[_c('img',{staticClass:\"indicator-img\",attrs:{\"src\":img,\"alt\":`缩略图${index + 1}`}})])}),0)],1),_c('div',{staticClass:\"right-section\"},[_c('h2',{staticClass:\"product-title\"},[_vm._v(\" \"+_vm._s(_vm.info.title)+\" \")]),_c('div',{staticClass:\"product-tags\"},[(_vm.info.display_tags)?_c('div',{staticStyle:{\"display\":\"inline-block\"}},_vm._l((_vm.info.display_tags.split(',')),function(item,index){return _c('el-tag',{key:index,staticStyle:{\"margin-right\":\"5px\"},attrs:{\"effect\":\"dark\",\"size\":\"mini\"}},[_vm._v(_vm._s(item))])}),1):_vm._e(),_c('span',{staticClass:\"subtitle\"},[_vm._v(_vm._s(_vm.info.subtitle))])]),_c('div',{staticClass:\"price-info\"},[_c('span',{staticClass:\"price-label\"},[_vm._v(\"售价\")]),_c('span',{staticClass:\"price-amount\"},[_vm._v(\"¥\"+_vm._s(_vm.info.sku[_vm.selectedSpec].price / 100))]),_c('span',{staticClass:\"sales-volume\"},[_vm._v(\"已售 \"+_vm._s(_vm.info.sales_number))])]),_c('div',{staticClass:\"product-attr\"},[_vm._m(0),_c('div',{staticClass:\"attr-item spec-group\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"商品规格\")]),_c('div',{staticClass:\"custom-radio-group\"},_vm._l((_vm.info.sku),function(spec,idx){return _c('label',{key:idx,staticClass:\"custom-radio\",class:{ 'is-checked': _vm.selectedSpec === idx },on:{\"click\":function($event){_vm.selectedSpec = idx}}},[_c('span',{staticClass:\"radio-text\"},[_vm._v(_vm._s(spec.sku_name))])])}),0)]),(_vm.currentMinQuantity > 1)?_c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"起订量\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(_vm._s(_vm.currentMinQuantity)+\"件\")])]):_vm._e(),_c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"发货地\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(_vm._s(_vm.info.supplier_address))])]),_c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"其他\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(_vm._s(_vm.otherInfo))])]),_c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"配送范围\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(_vm._s(_vm.deliveryRange))])])]),_c('div',{staticClass:\"quantity-control\"},[_c('el-button',{attrs:{\"icon\":\"el-icon-minus\",\"circle\":\"\"},on:{\"click\":_vm.decreaseQuantity}}),_c('span',{staticClass:\"quantity-value\"},[_vm._v(_vm._s(_vm.quantity))]),_c('el-button',{attrs:{\"icon\":\"el-icon-plus\",\"circle\":\"\"},on:{\"click\":_vm.increaseQuantity}}),_c('el-button',{staticClass:\"buy-btn\",attrs:{\"type\":\"primary\"},on:{\"click\":_vm.buyNow}},[_vm._v(\"一口价购买\")]),_c('el-button',{staticClass:\"cart-btn\",attrs:{\"type\":\"success\"},on:{\"click\":_vm.addCart}},[_vm._v(\"加入购物车\")]),_c('el-button',{staticClass:\"bargain-btn\",attrs:{\"type\":\"info\"},on:{\"click\":_vm.goYj}},[_vm._v(\"议价\")])],1)])]),_c('div',{staticClass:\"product-bottom\"},[_c('div',{staticClass:\"hot-recommend-sidebar\"},[_c('div',{staticClass:\"hot-title\"},[_vm._v(\"热销推荐\")]),_vm._l((_vm.hotRecommendData),function(item,index){return _c('div',{key:index,staticClass:\"product-item\",on:{\"click\":function($event){_vm.id = item.id;\n _vm.onReload();}}},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(item.headimg),expression:\"item.headimg\"}],attrs:{\"alt\":\"\"}}),_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(item.title))]),_c('div',{staticClass:\"product-price\"},[_vm._v(\"¥\"+_vm._s(item.price / 100))])])})],2),_c('div',{staticClass:\"product-right\"},[_c('div',{staticClass:\"product-tabs\"},[_c('span',{class:['tab-item', { active: !_vm.tabIndex }],on:{\"click\":function($event){_vm.tabIndex = 0}}},[_vm._v(\"商品详情\")]),_c('span',{class:['tab-item', { active: _vm.tabIndex }],on:{\"click\":function($event){_vm.tabIndex = 1}}},[_vm._v(\"商品评价(\"+_vm._s(_vm.evaluateNum)+\")\")])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.tabIndex),expression:\"!tabIndex\"}],staticClass:\"product-detail-main\",domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(_vm.info.content))}}),_c('Evaluate',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.tabIndex),expression:\"tabIndex\"}],attrs:{\"id\":_vm.id}})],1)]),_c('AddToCartDialog',{attrs:{\"product\":_vm.sku,\"buyQuantity\":_vm.quantity,\"visible\":_vm.showAddCartDialog},on:{\"update:visible\":function($event){_vm.showAddCartDialog=$event}}})],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"收货方式\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(\"邮寄\")])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-review-section\"},[(false)?_c('div',{staticClass:\"review-header\"},[_c('div',{staticClass:\"rating-box\"},[_c('div',{staticClass:\"rating-score\"},[_vm._v(_vm._s(_vm.averageScore)+\" 分\")]),_c('div',{staticClass:\"rating-text\"},[_vm._v(\"综合评分 (共 \"+_vm._s(_vm.totalReviews)+\" 条)\")])]),_c('div',{staticClass:\"filter-tabs\"},[_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'all' },on:{\"click\":function($event){return _vm.handleFilterChange('all')}}},[_vm._v(\" 全部(\"+_vm._s(_vm.totalReviews)+\") \")]),_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'image' },on:{\"click\":function($event){return _vm.handleFilterChange('image')}}},[_vm._v(\" 有图(\"+_vm._s(_vm.hasImageCount)+\") \")]),_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'good' },on:{\"click\":function($event){return _vm.handleFilterChange('good')}}},[_vm._v(\" 好评(\"+_vm._s(_vm.goodReviewsCount)+\") \")]),_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'medium' },on:{\"click\":function($event){return _vm.handleFilterChange('medium')}}},[_vm._v(\" 中评(\"+_vm._s(_vm.mediumReviewsCount)+\") \")]),_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'bad' },on:{\"click\":function($event){return _vm.handleFilterChange('bad')}}},[_vm._v(\" 差评(\"+_vm._s(_vm.badReviewsCount)+\") \")])])]):_vm._e(),_c('div',{staticClass:\"review-list\"},[_vm._l((_vm.reviews),function(review,index){return _c('div',{key:review.id,staticClass:\"review-item\"},[_c('div',{staticClass:\"user-info\"},[_c('img',{staticClass:\"avatar\",attrs:{\"src\":review.user.avatar}}),_c('div',{staticClass:\"user-name\"},[_vm._v(_vm._s(review.user.nickname))]),_c('div',{staticClass:\"rating-stars\"},_vm._l((5),function(star){return _c('span',{key:star},[_vm._v(\" \"+_vm._s(star <= review.rate ? \"★\" : \"☆\")+\" \")])}),0)]),_c('div',{staticClass:\"review-content\",class:{ empty: !review.content },domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(review.content))}}),(review.img_list.split(',') && review.img_list.split(',').length)?_c('div',{staticClass:\"review-images\"},_vm._l((review.img_list.split(',')),function(img,imgIndex){return _c('img',{key:imgIndex,attrs:{\"src\":img,\"alt\":`${review.nickname}的评价图片${imgIndex + 1}`},on:{\"click\":function($event){_vm.openPreview(review.img_list.split(','), imgIndex)}}})}),0):_vm._e(),_c('div',{staticClass:\"review-time\"},[_vm._v(_vm._s(review.time))])])}),(_vm.reviews.length === 0)?_c('div',{staticClass:\"empty-state\"},[_c('el-empty',{attrs:{\"description\":\"暂无符合条件的评价\"}})],1):_vm._e()],2),(_vm.total > 0)?_c('div',{staticClass:\"pagination-container\"},[_c('el-pagination',{attrs:{\"current-page\":_vm.currentPage,\"page-sizes\":[5, 10, 20],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1):_vm._e(),_c('el-dialog',{attrs:{\"visible\":_vm.previewVisible,\"modal\":true,\"title\":`查看图片 ${_vm.previewIndex + 1}/${_vm.previewImages.length}`,\"width\":\"80%\",\"height\":\"80%\",\"custom-class\":\"image-preview-dialog\",\"close-on-click-modal\":true},on:{\"update:visible\":function($event){_vm.previewVisible=$event}}},[_c('div',{staticClass:\"preview-container\"},[_c('el-button',{staticClass:\"preview-btn prev-btn\",attrs:{\"icon\":\"el-icon-arrow-left\",\"circle\":\"\",\"disabled\":_vm.previewIndex === 0},on:{\"click\":function($event){return _vm.changePreview('prev')}}}),_c('div',{staticClass:\"preview-img-wrapper\"},[_c('img',{staticClass:\"preview-img\",attrs:{\"src\":_vm.previewImages[_vm.previewIndex],\"alt\":`预览图片 ${_vm.previewIndex + 1}`}})]),_c('el-button',{staticClass:\"preview-btn next-btn\",attrs:{\"icon\":\"el-icon-arrow-right\",\"circle\":\"\",\"disabled\":_vm.previewIndex === _vm.previewImages.length - 1},on:{\"click\":function($event){return _vm.changePreview('next')}}})],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n ","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Evaluate.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Evaluate.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Evaluate.vue?vue&type=template&id=35760caa&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=35760caa&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 \"35760caa\",\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=b0a7f4d8&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=b0a7f4d8&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 \"b0a7f4d8\",\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","goYj","hotRecommendData","id","onReload","directives","name","rawName","value","headimg","expression","tabIndex","evaluateNum","domProps","util","formateRichText","content","showAddCartDialog","staticRenderFns","reviews","review","user","avatar","nickname","star","rate","empty","img_list","length","imgIndex","openPreview","time","total","currentPage","pageSize","handleSizeChange","handleCurrentChange","previewVisible","previewIndex","previewImages","changePreview","props","components","ElEmpty","Empty","ElPagination","Pagination","data","activeFilter","loading","mounted","getList","watch","newVal","idd","methods","get","product_id","offset","limit","then","res","list","catch","handleFilterChange","filterType","val","document","querySelector","scrollIntoView","behavior","images","type","$nextTick","textContent","component","dialogVisible","product","stock","handleQuantityChange","model","buyQuantity","callback","$$v","slot","handleAddToCart","Object","required","default","visible","Boolean","Number","computed","set","$emit","mapActions","$message","warning","addToCart","err","error","message","Evaluate","AddToCartDialog","productCount","productSubtitle","moq","deliveryMethod","start_number","orderItems","submitOrderData","from","items","$router","push","$refs","carousel","setActiveItem","handleShare","token","store","state","window","location","href","getRecommend","post","rand","product_ids","getDetail","console","warn","$route","params"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/707.b7263128.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,4BAA4B,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,cAAc,CAACG,IAAI,WAAWD,YAAY,mBAAmBE,MAAM,CAAC,OAAS,QAAQ,qBAAqB,QAAQC,GAAG,CAAC,OAASP,EAAIQ,uBAAuBR,EAAIS,GAAIT,EAAIU,KAAKC,QAAS,SAASC,EAAIC,GAAO,OAAOX,EAAG,mBAAmB,CAACY,IAAID,GAAO,CAACX,EAAG,MAAM,CAACE,YAAY,eAAeE,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R,GAAY,OACd,EACAlD,EACAgE,GACA,EACA,KACA,WACA,MAIF,EAAe,E","sources":["webpack://shiweisuzhou/./src/views/Detail/Index.vue","webpack://shiweisuzhou/./src/components/product/Evaluate.vue","webpack://shiweisuzhou/src/components/product/Evaluate.vue","webpack://shiweisuzhou/./src/components/product/Evaluate.vue?065d","webpack://shiweisuzhou/./src/components/product/Evaluate.vue?7fb4","webpack://shiweisuzhou/./src/components/product/AddToCartDialog.vue","webpack://shiweisuzhou/src/components/product/AddToCartDialog.vue","webpack://shiweisuzhou/./src/components/product/AddToCartDialog.vue?41f2","webpack://shiweisuzhou/./src/components/product/AddToCartDialog.vue?f3fa","webpack://shiweisuzhou/src/views/Detail/Index.vue","webpack://shiweisuzhou/./src/views/Detail/Index.vue?6ac4","webpack://shiweisuzhou/./src/views/Detail/Index.vue?6415"],"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\"},on:{\"click\":_vm.goYj}},[_vm._v(\"议价\")])],1)])]),_c('div',{staticClass:\"product-bottom\"},[_c('div',{staticClass:\"hot-recommend-sidebar\"},[_c('div',{staticClass:\"hot-title\"},[_vm._v(\"热销推荐\")]),_vm._l((_vm.hotRecommendData),function(item,index){return _c('div',{key:index,staticClass:\"product-item\",on:{\"click\":function($event){_vm.id = item.id;\n _vm.onReload();}}},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(item.headimg),expression:\"item.headimg\"}],attrs:{\"alt\":\"\"}}),_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(item.title))]),_c('div',{staticClass:\"product-price\"},[_vm._v(\"¥\"+_vm._s(item.price / 100))])])})],2),_c('div',{staticClass:\"product-right\"},[_c('div',{staticClass:\"product-tabs\"},[_c('span',{class:['tab-item', { active: !_vm.tabIndex }],on:{\"click\":function($event){_vm.tabIndex = 0}}},[_vm._v(\"商品详情\")]),_c('span',{class:['tab-item', { active: _vm.tabIndex }],on:{\"click\":function($event){_vm.tabIndex = 1}}},[_vm._v(\"商品评价(\"+_vm._s(_vm.evaluateNum)+\")\")])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.tabIndex),expression:\"!tabIndex\"}],staticClass:\"product-detail-main\",domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(_vm.info.content))}}),_c('Evaluate',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.tabIndex),expression:\"tabIndex\"}],attrs:{\"id\":_vm.id}})],1)]),_c('AddToCartDialog',{attrs:{\"product\":_vm.sku,\"buyQuantity\":_vm.quantity,\"visible\":_vm.showAddCartDialog},on:{\"update:visible\":function($event){_vm.showAddCartDialog=$event}}})],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"attr-item\"},[_c('span',{staticClass:\"attr-label\"},[_vm._v(\"收货方式\")]),_c('span',{staticClass:\"attr-value\"},[_vm._v(\"邮寄\")])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-review-section\"},[(false)?_c('div',{staticClass:\"review-header\"},[_c('div',{staticClass:\"rating-box\"},[_c('div',{staticClass:\"rating-score\"},[_vm._v(_vm._s(_vm.averageScore)+\" 分\")]),_c('div',{staticClass:\"rating-text\"},[_vm._v(\"综合评分 (共 \"+_vm._s(_vm.totalReviews)+\" 条)\")])]),_c('div',{staticClass:\"filter-tabs\"},[_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'all' },on:{\"click\":function($event){return _vm.handleFilterChange('all')}}},[_vm._v(\" 全部(\"+_vm._s(_vm.totalReviews)+\") \")]),_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'image' },on:{\"click\":function($event){return _vm.handleFilterChange('image')}}},[_vm._v(\" 有图(\"+_vm._s(_vm.hasImageCount)+\") \")]),_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'good' },on:{\"click\":function($event){return _vm.handleFilterChange('good')}}},[_vm._v(\" 好评(\"+_vm._s(_vm.goodReviewsCount)+\") \")]),_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'medium' },on:{\"click\":function($event){return _vm.handleFilterChange('medium')}}},[_vm._v(\" 中评(\"+_vm._s(_vm.mediumReviewsCount)+\") \")]),_c('div',{staticClass:\"tab-item\",class:{ active: _vm.activeFilter === 'bad' },on:{\"click\":function($event){return _vm.handleFilterChange('bad')}}},[_vm._v(\" 差评(\"+_vm._s(_vm.badReviewsCount)+\") \")])])]):_vm._e(),_c('div',{staticClass:\"review-list\"},[_vm._l((_vm.reviews),function(review,index){return _c('div',{key:review.id,staticClass:\"review-item\"},[_c('div',{staticClass:\"user-info\"},[_c('img',{staticClass:\"avatar\",attrs:{\"src\":review.user.avatar}}),_c('div',{staticClass:\"user-name\"},[_vm._v(_vm._s(review.user.nickname))]),_c('div',{staticClass:\"rating-stars\"},_vm._l((5),function(star){return _c('span',{key:star},[_vm._v(\" \"+_vm._s(star <= review.rate ? \"★\" : \"☆\")+\" \")])}),0)]),_c('div',{staticClass:\"review-content\",class:{ empty: !review.content },domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(review.content))}}),(review.img_list.split(',') && review.img_list.split(',').length)?_c('div',{staticClass:\"review-images\"},_vm._l((review.img_list.split(',')),function(img,imgIndex){return _c('img',{key:imgIndex,attrs:{\"src\":img,\"alt\":`${review.nickname}的评价图片${imgIndex + 1}`},on:{\"click\":function($event){_vm.openPreview(review.img_list.split(','), imgIndex)}}})}),0):_vm._e(),_c('div',{staticClass:\"review-time\"},[_vm._v(_vm._s(review.time))])])}),(_vm.reviews.length === 0)?_c('div',{staticClass:\"empty-state\"},[_c('el-empty',{attrs:{\"description\":\"暂无符合条件的评价\"}})],1):_vm._e()],2),(_vm.total > 0)?_c('div',{staticClass:\"pagination-container\"},[_c('el-pagination',{attrs:{\"current-page\":_vm.currentPage,\"page-sizes\":[5, 10, 20],\"page-size\":_vm.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1):_vm._e(),_c('el-dialog',{attrs:{\"visible\":_vm.previewVisible,\"modal\":true,\"title\":`查看图片 ${_vm.previewIndex + 1}/${_vm.previewImages.length}`,\"width\":\"80%\",\"height\":\"80%\",\"custom-class\":\"image-preview-dialog\",\"close-on-click-modal\":true},on:{\"update:visible\":function($event){_vm.previewVisible=$event}}},[_c('div',{staticClass:\"preview-container\"},[_c('el-button',{staticClass:\"preview-btn prev-btn\",attrs:{\"icon\":\"el-icon-arrow-left\",\"circle\":\"\",\"disabled\":_vm.previewIndex === 0},on:{\"click\":function($event){return _vm.changePreview('prev')}}}),_c('div',{staticClass:\"preview-img-wrapper\"},[_c('img',{staticClass:\"preview-img\",attrs:{\"src\":_vm.previewImages[_vm.previewIndex],\"alt\":`预览图片 ${_vm.previewIndex + 1}`}})]),_c('el-button',{staticClass:\"preview-btn next-btn\",attrs:{\"icon\":\"el-icon-arrow-right\",\"circle\":\"\",\"disabled\":_vm.previewIndex === _vm.previewImages.length - 1},on:{\"click\":function($event){return _vm.changePreview('next')}}})],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n ","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/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/cli-service/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=35760caa&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=35760caa&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"35760caa\",\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/cli-service/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/cli-service/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/cli-service/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/cli-service/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/cli-service/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=b0a7f4d8&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=b0a7f4d8&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b0a7f4d8\",\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","goYj","hotRecommendData","id","onReload","directives","name","rawName","value","headimg","expression","tabIndex","evaluateNum","domProps","util","formateRichText","content","showAddCartDialog","staticRenderFns","reviews","review","user","avatar","nickname","star","rate","empty","img_list","length","imgIndex","openPreview","time","total","currentPage","pageSize","handleSizeChange","handleCurrentChange","previewVisible","previewIndex","previewImages","changePreview","props","components","ElEmpty","Empty","ElPagination","Pagination","data","activeFilter","loading","mounted","getList","watch","newVal","idd","methods","get","product_id","offset","limit","then","res","list","catch","handleFilterChange","filterType","val","document","querySelector","scrollIntoView","behavior","images","type","$nextTick","textContent","component","dialogVisible","product","stock","handleQuantityChange","model","buyQuantity","callback","$$v","slot","handleAddToCart","Object","required","default","visible","Boolean","Number","computed","set","$emit","mapActions","$message","warning","addToCart","err","error","message","Evaluate","AddToCartDialog","productCount","productSubtitle","moq","deliveryMethod","start_number","orderItems","submitOrderData","from","items","$router","push","$refs","carousel","setActiveItem","handleShare","token","store","state","window","location","href","getRecommend","post","rand","product_ids","getDetail","console","warn","$route","params"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/711.baa8d180.js b/dist/js/711.baa8d180.js deleted file mode 100644 index b59e8d3..0000000 --- a/dist/js/711.baa8d180.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[711],{80:function(t,e,i){i.d(e,{A:function(){return c}});var s=function(){var t=this,e=t._self._c;return t.show?e("el-dialog",{attrs:{title:"物流信息",visible:t.visible,width:"700px","close-on-click-modal":!1,"show-close":!0,"before-close":t.handleClose},on:{"update:visible":function(e){t.visible=e}}},[e("div",{staticClass:"express-info"},[e("div",{staticClass:"express-logo"},[e("span",{staticClass:"express-name"},[t._v(t._s(t.logisticsInfo.express_name))])]),e("div",{staticClass:"express-number"},[e("span",{staticClass:"number-label"},[t._v("运单号:")]),e("span",{staticClass:"number-value"},[t._v(t._s(t.logisticsInfo.courier_number))]),e("el-button",{staticClass:"copy-btn",attrs:{type:"text"},on:{click:t.copyWaybillNumber}},[t._v(" 复制 ")])],1)]),e("div",{staticClass:"timeline-container"},[e("el-timeline",t._l(t.logisticsList,function(i,s){return e("el-timeline-item",{key:s,attrs:{timestamp:i.time,color:0===s?"orange":"#8492a6",icon:0===s?"el-icon-check":"",size:0===s?"large":"normal"}},[e("div",{staticClass:"timeline-content"},[e("div",{staticClass:"timeline-status",class:{active:0===s}},[t._v(" "+t._s(i.context)+" ")]),e("div",{staticClass:"timeline-desc"},[t._v(t._s(i.description))])])])}),1)],1),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.handleClose}},[t._v("关闭")])],1)]):t._e()},o=[],r={name:"LogisticsModal",props:{visible:{type:Boolean,default:!1},orderId:{type:String},logisticsInfo:{type:Object}},data(){return{logisticsList:[],show:this.visible}},watch:{visible(t){this.show=t}},mounted(){this.post({child_order_id:this.orderId},"/api/order/getExpress").then(t=>{this.logisticsList=t.data})},methods:{copyWaybillNumber(){const t=document.createElement("input");t.value=this.logisticsInfo.courier_number,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),this.$message.success("运单号已复制")},handleClose(){this.show=!1,this.$emit("update:visible",!1)}}},l=r,a=i(1656),n=(0,a.A)(l,s,o,!1,null,"05881a53",null),c=n.exports},8711:function(t,e,i){i.r(e),i.d(e,{default:function(){return d}});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[e("div",{staticClass:"normal-margin-bottom"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:"/User/UserCenter"}}},[t._v("个人中心")]),e("el-breadcrumb-item",{attrs:{to:{path:"/User/OrderList"}}},[t._v("我的订单")]),e("el-breadcrumb-item",[t._v(" 订单详情")])],1)],1),e("div",{staticClass:"common-card normal-margin-bottom",staticStyle:{padding:"20px 0",display:"flex"}},[e("div",{staticClass:"order-status"},[e("div",{staticClass:"order-no"},[t._v(" 订单号: 209907091214560078 "),e("el-button",{staticStyle:{color:"#999"},attrs:{type:"text",icon:"el-icon-document-copy"}})],1),e("div",{staticClass:"status-title"},[e("i",{staticClass:"el-icon-time",staticStyle:{color:"#ff9800","font-size":"32px"}}),e("span",{staticStyle:{height:"24px","line-height":"24px","padding-left":"5px"}},[t._v("订单状态: "+t._s(t.info.state_text))])]),"WAIT_COMMENT"!=t.info.state?e("el-button",{attrs:{type:"primary",size:"medium"},on:{click:t.payOrder}},[t._v("在线付款")]):t._e()],1),e("div",{staticClass:"order-step"},[e("el-steps",{staticStyle:{width:"100%"},attrs:{active:t.activities.length,"align-center":""}},t._l(t.activities,function(i,s){return e("el-step",{key:s},[e("div",{staticClass:"process-title",attrs:{slot:"description"},slot:"description"},[t._v(" "+t._s(i.remark)+" ")]),e("div",{attrs:{slot:"icon"},slot:"icon"},[s>=2?e("span",[t._v(t._s(s+1))]):e("i",{staticClass:"el-icon-check",staticStyle:{color:"#fff"}})]),e("div",{staticClass:"process-description",attrs:{slot:"description"},slot:"description"},[t._v(" "+t._s(i.create_time)+" ")])])}),1)],1)]),e("div",{staticClass:"common-card normal-margin-bottom order-info-card",staticStyle:{display:"flex",padding:"20px 0"}},[e("el-descriptions",{attrs:{title:"订单信息",column:1}},[e("el-descriptions-item",{attrs:{label:"订单号"}},[t._v(t._s(t.info.order_id))]),e("el-descriptions-item",{attrs:{label:"订单状态"}},[t._v(t._s(t.info.state_text))]),e("el-descriptions-item",{attrs:{label:"下单时间"}},[t._v(t._s(t.info.create_time))])],1),e("el-descriptions",{attrs:{title:"配送信息",column:1}},[e("el-descriptions-item",{attrs:{label:"收货人"}},[t._v(t._s(t.info.order_product_list[0].consignee_info.name))]),e("el-descriptions-item",{attrs:{label:"地址"}},[t._v(t._s(t.info.order_product_list[0].consignee_info.address))]),e("el-descriptions-item",{attrs:{label:"手机号码"}},[t._v(t._s(t.info.order_product_list[0].consignee_info.tel))])],1),t.info.pay_method_text?e("el-descriptions",{staticStyle:{border:"none"},attrs:{title:"支付信息",column:1}},[e("el-descriptions-item",{attrs:{label:"支付方式"}},[t._v(t._s(t.info.pay_method_text))]),e("el-descriptions-item",{attrs:{label:"支付时间"}},[t._v(t._s(t.info.pay_at))])],1):t._e()],1),e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.productList}},[e("el-table-column",{attrs:{prop:"name",label:"商品名称",align:"center"},scopedSlots:t._u([{key:"default",fn:function({row:i}){return[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticClass:"product-image",attrs:{src:i.product_img,alt:i.product_title}}),e("div",[t._v(t._s(i.product_title))])])]}}])}),e("el-table-column",{attrs:{prop:"sku_name",label:"规格",align:"center"}}),e("el-table-column",{attrs:{prop:"product_price",label:"单价(元)",align:"center",width:"200"},scopedSlots:t._u([{key:"default",fn:function({row:i}){return[e("div",[t._v(t._s(i.product_price/100))])]}}])}),e("el-table-column",{attrs:{prop:"product_num",label:"数量",align:"center",width:"100"}}),e("el-table-column",{attrs:{prop:"subtotal",label:"小计(元)",align:"center",width:"200"},scopedSlots:t._u([{key:"default",fn:function({row:i}){return[e("div",{staticStyle:{color:"#ff1111"}},[t._v("¥"+t._s(i.paid_money/100))])]}}])}),e("el-table-column",{attrs:{label:"操作",align:"center",width:"250"},scopedSlots:t._u([{key:"default",fn:function({row:i}){return[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoDetail(i)}}},[t._v(" 商品详情 ")]),"WAIT_DELIVERY"===i.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.checkLogistics(i)}}},[t._v(" 查看物流 ")]):t._e(),"WAIT_COMMENT"===i.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoReview(i)}}},[t._v(" 去评价 ")]):t._e()]}}])})],1),e("div",{staticClass:"common-card normal-margin-bottom total-card"},[e("el-descriptions",{attrs:{column:1}},[e("el-descriptions-item",{attrs:{label:"商品总价"}},[t._v("¥"+t._s(t.info.total_money/100))]),e("el-descriptions-item",{attrs:{label:"运费"}},[t._v("¥"+t._s(t.info.total_post_fee/100))]),e("el-descriptions-item",{attrs:{label:"实付款"}},[e("span",{staticStyle:{"font-size":"16px","font-weight":"bold",color:"#ff1111"}},[t._v("¥"+t._s(t.info.paid_money/100))])])],1)],1),t.logisticsShow?e("LogisticsModal",{attrs:{visible:t.logisticsShow,orderId:t.orderId,logisticsInfo:t.logisticsInfo},on:{"update:visible":function(e){t.logisticsShow=e}}}):t._e()],1)},o=[],r=(i(4114),i(8111),i(7588),i(80)),l={name:"OrderDetail",components:{LogisticsModal:r.A},data(){return{info:{},activities:[],orderInfo:{orderNumber:"20250801123456",status:"已完成",orderTime:"2025-08-01 15:30:00"},deliveryInfo:{receiver:"张三",address:"北京市海淀区xxx街道xxx小区",phone:"13800138000",deliveryMethod:"快递",expectedDeliveryTime:"2025-08-02"},paymentInfo:{paymentMethod:"支付宝",paymentStatus:"已支付",paymentTime:"2025-08-01 15:35:00"},productList:[],totalPrice:{productTotal:500,shippingFee:0,actualPayment:500},logisticsShow:!1,orderId:"",logisticsInfo:""}},computed:{},mounted(){this.getDetail()},methods:{payOrder(){this.post({order_id:this.$route.query.id,pay_method:"ABC_H5",pay_platform:"PC"},"/api/order/pay").then(t=>{1==t.code&&this.$message.success("订单提交成功!")})},getDetail(){this.post({order_id:this.$route.query.id},"/api/order/query").then(t=>{this.info=t.data,this.productList=this.info.order_product_list,this.info.order_product_list.forEach(t=>{"post"===t.product_model&&t.consignee_info&&(t.consignee_info=JSON.parse(t.consignee_info))})}),this.post({order_id:this.$route.query.id},"/api/order/refund_detail").then(t=>{this.activities=t.data.list})},gotoDetail(t){this.$router.push("/Detail/"+t.product_id)},checkLogistics(t){this.orderId=t.child_order_id,this.logisticsInfo=t.order_product_extend,this.logisticsShow=!0},gotoReview(t){this.$router.push("/ProductReview?product="+JSON.stringify(t))}}},a=l,n=i(1656),c=(0,n.A)(a,s,o,!1,null,"a02735a6",null),d=c.exports}}]); -//# sourceMappingURL=711.baa8d180.js.map \ No newline at end of file diff --git a/dist/js/711.baa8d180.js.map b/dist/js/711.baa8d180.js.map deleted file mode 100644 index 8ebaef3..0000000 --- a/dist/js/711.baa8d180.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/711.baa8d180.js","mappings":"qJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAQF,EAAII,KAAMF,EAAG,YAAY,CAACG,MAAM,CAAC,MAAQ,OAAO,QAAUL,EAAIM,QAAQ,MAAQ,QAAQ,wBAAuB,EAAM,cAAa,EAAK,eAAeN,EAAIO,aAAaC,GAAG,CAAC,iBAAiB,SAASC,GAAQT,EAAIM,QAAQG,CAAM,IAAI,CAACP,EAAG,MAAM,CAACQ,YAAY,gBAAgB,CAACR,EAAG,MAAM,CAACQ,YAAY,gBAAgB,CAACR,EAAG,OAAO,CAACQ,YAAY,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qBAKA,KAAA/B,KACA,CACA6B,SAAA,KAAA2C,OAAAC,MAAAC,IAEA,4BACAxE,KAAAC,IACA,KAAAqB,WAAArB,EAAAP,KAAAsF,MAEA,EACArC,UAAAA,CAAApE,GACA,KAAA0G,QAAAC,KAAA,WAAA3G,EAAA4G,WACA,EACAvC,cAAAA,CAAAwC,GACA,KAAA7F,QAAA6F,EAAArF,eACA,KAAA9B,cAAAmH,EAAAC,qBACA,KAAArC,eAAA,CACA,EACAH,UAAAA,CAAAuC,GACA,KAAAH,QAAAC,KAAA,0BAAAJ,KAAAQ,UAAAF,GACA,ICrTmQ,I,UCQ/PrE,GAAY,OACd,EACA5D,EACA8B,GACA,EACA,KACA,WACA,MAIF,EAAe8B,E","sources":["webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue","webpack://shiweisuzhou/src/components/product/LogisticsModal.vue","webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue?0c14","webpack://shiweisuzhou/./src/components/product/LogisticsModal.vue?a972","webpack://shiweisuzhou/./src/views/Order/OrderDetail.vue","webpack://shiweisuzhou/src/views/Order/OrderDetail.vue","webpack://shiweisuzhou/./src/views/Order/OrderDetail.vue?32d4","webpack://shiweisuzhou/./src/views/Order/OrderDetail.vue?fd9f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.show)?_c('el-dialog',{attrs:{\"title\":\"物流信息\",\"visible\":_vm.visible,\"width\":\"700px\",\"close-on-click-modal\":false,\"show-close\":true,\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('div',{staticClass:\"express-info\"},[_c('div',{staticClass:\"express-logo\"},[_c('span',{staticClass:\"express-name\"},[_vm._v(_vm._s(_vm.logisticsInfo.express_name))])]),_c('div',{staticClass:\"express-number\"},[_c('span',{staticClass:\"number-label\"},[_vm._v(\"运单号:\")]),_c('span',{staticClass:\"number-value\"},[_vm._v(_vm._s(_vm.logisticsInfo.courier_number))]),_c('el-button',{staticClass:\"copy-btn\",attrs:{\"type\":\"text\"},on:{\"click\":_vm.copyWaybillNumber}},[_vm._v(\" 复制 \")])],1)]),_c('div',{staticClass:\"timeline-container\"},[_c('el-timeline',_vm._l((_vm.logisticsList),function(item,index){return _c('el-timeline-item',{key:index,attrs:{\"timestamp\":item.time,\"color\":index === 0 ? 'orange' : '#8492a6',\"icon\":index === 0 ? 'el-icon-check' : '',\"size\":index === 0 ? 'large' : 'normal'}},[_c('div',{staticClass:\"timeline-content\"},[_c('div',{staticClass:\"timeline-status\",class:{ active: index === 0 }},[_vm._v(\" \"+_vm._s(item.context)+\" \")]),_c('div',{staticClass:\"timeline-desc\"},[_vm._v(_vm._s(item.description))])])])}),1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.handleClose}},[_vm._v(\"关闭\")])],1)]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LogisticsModal.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LogisticsModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LogisticsModal.vue?vue&type=template&id=05881a53&scoped=true\"\nimport script from \"./LogisticsModal.vue?vue&type=script&lang=js\"\nexport * from \"./LogisticsModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./LogisticsModal.vue?vue&type=style&index=0&id=05881a53&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"05881a53\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"normal-margin-bottom\"},[_c('el-breadcrumb',{attrs:{\"separator-class\":\"el-icon-arrow-right\"}},[_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/User/UserCenter' }}},[_vm._v(\"个人中心\")]),_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/User/OrderList' }}},[_vm._v(\"我的订单\")]),_c('el-breadcrumb-item',[_vm._v(\" 订单详情\")])],1)],1),_c('div',{staticClass:\"common-card normal-margin-bottom\",staticStyle:{\"padding\":\"20px 0\",\"display\":\"flex\"}},[_c('div',{staticClass:\"order-status\"},[_c('div',{staticClass:\"order-no\"},[_vm._v(\" 订单号: 209907091214560078 \"),_c('el-button',{staticStyle:{\"color\":\"#999\"},attrs:{\"type\":\"text\",\"icon\":\"el-icon-document-copy\"}})],1),_c('div',{staticClass:\"status-title\"},[_c('i',{staticClass:\"el-icon-time\",staticStyle:{\"color\":\"#ff9800\",\"font-size\":\"32px\"}}),_c('span',{staticStyle:{\"height\":\"24px\",\"line-height\":\"24px\",\"padding-left\":\"5px\"}},[_vm._v(\"订单状态: \"+_vm._s(_vm.info.state_text))])]),(_vm.info.state != 'WAIT_COMMENT')?_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"},on:{\"click\":_vm.payOrder}},[_vm._v(\"在线付款\")]):_vm._e()],1),_c('div',{staticClass:\"order-step\"},[_c('el-steps',{staticStyle:{\"width\":\"100%\"},attrs:{\"active\":_vm.activities.length,\"align-center\":\"\"}},_vm._l((_vm.activities),function(item,i){return _c('el-step',{key:i},[_c('div',{staticClass:\"process-title\",attrs:{\"slot\":\"description\"},slot:\"description\"},[_vm._v(\" \"+_vm._s(item.remark)+\" \")]),_c('div',{attrs:{\"slot\":\"icon\"},slot:\"icon\"},[(i >= 2)?_c('span',[_vm._v(_vm._s(i + 1))]):_c('i',{staticClass:\"el-icon-check\",staticStyle:{\"color\":\"#fff\"}})]),_c('div',{staticClass:\"process-description\",attrs:{\"slot\":\"description\"},slot:\"description\"},[_vm._v(\" \"+_vm._s(item.create_time)+\" \")])])}),1)],1)]),_c('div',{staticClass:\"common-card normal-margin-bottom order-info-card\",staticStyle:{\"display\":\"flex\",\"padding\":\"20px 0\"}},[_c('el-descriptions',{attrs:{\"title\":\"订单信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"订单号\"}},[_vm._v(_vm._s(_vm.info.order_id))]),_c('el-descriptions-item',{attrs:{\"label\":\"订单状态\"}},[_vm._v(_vm._s(_vm.info.state_text))]),_c('el-descriptions-item',{attrs:{\"label\":\"下单时间\"}},[_vm._v(_vm._s(_vm.info.create_time))])],1),_c('el-descriptions',{attrs:{\"title\":\"配送信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"收货人\"}},[_vm._v(_vm._s(_vm.info.order_product_list[0].consignee_info.name))]),_c('el-descriptions-item',{attrs:{\"label\":\"地址\"}},[_vm._v(_vm._s(_vm.info.order_product_list[0].consignee_info.address))]),_c('el-descriptions-item',{attrs:{\"label\":\"手机号码\"}},[_vm._v(_vm._s(_vm.info.order_product_list[0].consignee_info.tel))])],1),(_vm.info.pay_method_text)?_c('el-descriptions',{staticStyle:{\"border\":\"none\"},attrs:{\"title\":\"支付信息\",\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"支付方式\"}},[_vm._v(_vm._s(_vm.info.pay_method_text))]),_c('el-descriptions-item',{attrs:{\"label\":\"支付时间\"}},[_vm._v(_vm._s(_vm.info.pay_at))])],1):_vm._e()],1),_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.productList}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"商品名称\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[_c('img',{staticClass:\"product-image\",attrs:{\"src\":row.product_img,\"alt\":row.product_title}}),_c('div',[_vm._v(_vm._s(row.product_title))])])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"sku_name\",\"label\":\"规格\",\"align\":\"center\"}}),_c('el-table-column',{attrs:{\"prop\":\"product_price\",\"label\":\"单价(元)\",\"align\":\"center\",\"width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('div',[_vm._v(_vm._s(row.product_price / 100))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"product_num\",\"label\":\"数量\",\"align\":\"center\",\"width\":\"100\"}}),_c('el-table-column',{attrs:{\"prop\":\"subtotal\",\"label\":\"小计(元)\",\"align\":\"center\",\"width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('div',{staticStyle:{\"color\":\"#ff1111\"}},[_vm._v(\"¥\"+_vm._s(row.paid_money / 100))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"align\":\"center\",\"width\":\"250\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoDetail(row)}}},[_vm._v(\" 商品详情 \")]),(row.state === 'WAIT_DELIVERY')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.checkLogistics(row)}}},[_vm._v(\" 查看物流 \")]):_vm._e(),(row.state === 'WAIT_COMMENT')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoReview(row)}}},[_vm._v(\" 去评价 \")]):_vm._e()]}}])})],1),_c('div',{staticClass:\"common-card normal-margin-bottom total-card\"},[_c('el-descriptions',{attrs:{\"column\":1}},[_c('el-descriptions-item',{attrs:{\"label\":\"商品总价\"}},[_vm._v(\"¥\"+_vm._s(_vm.info.total_money / 100))]),_c('el-descriptions-item',{attrs:{\"label\":\"运费\"}},[_vm._v(\"¥\"+_vm._s(_vm.info.total_post_fee / 100))]),_c('el-descriptions-item',{attrs:{\"label\":\"实付款\"}},[_c('span',{staticStyle:{\"font-size\":\"16px\",\"font-weight\":\"bold\",\"color\":\"#ff1111\"}},[_vm._v(\"¥\"+_vm._s(_vm.info.paid_money / 100))])])],1)],1),(_vm.logisticsShow)?_c('LogisticsModal',{attrs:{\"visible\":_vm.logisticsShow,\"orderId\":_vm.orderId,\"logisticsInfo\":_vm.logisticsInfo},on:{\"update:visible\":function($event){_vm.logisticsShow = $event}}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderDetail.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OrderDetail.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrderDetail.vue?vue&type=template&id=a02735a6&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=a02735a6&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 \"a02735a6\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","show","attrs","visible","handleClose","on","$event","staticClass","_v","_s","logisticsInfo","express_name","courier_number","copyWaybillNumber","_l","logisticsList","item","index","key","time","class","active","context","description","slot","_e","staticRenderFns","name","props","type","Boolean","default","orderId","String","Object","data","watch","newVal","mounted","post","child_order_id","then","res","methods","input","document","createElement","value","body","appendChild","select","execCommand","removeChild","$message","success","$emit","component","path","staticStyle","info","state_text","state","payOrder","activities","length","i","remark","create_time","order_id","order_product_list","consignee_info","address","tel","pay_method_text","pay_at","productList","scopedSlots","_u","fn","row","product_img","product_title","product_price","paid_money","gotoDetail","checkLogistics","gotoReview","total_money","total_post_fee","logisticsShow","components","LogisticsModal","orderInfo","orderNumber","status","orderTime","deliveryInfo","receiver","phone","deliveryMethod","expectedDeliveryTime","paymentInfo","paymentMethod","paymentStatus","paymentTime","totalPrice","productTotal","shippingFee","actualPayment","computed","getDetail","$route","query","id","pay_method","pay_platform","code","forEach","product_model","JSON","parse","list","$router","push","product_id","product","order_product_extend","stringify"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/719.4c174724.js b/dist/js/719.4c174724.js deleted file mode 100644 index fbfea59..0000000 --- a/dist/js/719.4c174724.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[719],{100:function(e,t,r){r.r(t),r.d(t,{default:function(){return c}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg"},[e._e(),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.contract_number,callback:function(t){e.$set(e.filterForm,"contract_number",t)},expression:"filterForm.contract_number"}})],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.datetime,callback:function(t){e.$set(e.filterForm,"datetime",t)},expression:"filterForm.datetime"}})],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("el-table",{staticStyle:{width:"100%"},attrs:{data:e.orders,border:""}},[t("el-table-column",{attrs:{prop:"create_time",label:"下单时间",width:"160"}}),t("el-table-column",{attrs:{prop:"order_id",label:"订单号","min-width":"100"}}),t("el-table-column",{attrs:{prop:"status",label:"商品信息","min-width":"200"},scopedSlots:e._u([{key:"default",fn:function(r){return[t("div",{staticClass:"product-info"},[t("img",{staticClass:"product-img",attrs:{src:r.row.product_headimg}}),t("div",{staticClass:"product-name"},[e._v(" "+e._s(r.row.product_title)+" "+e._s(r.row.child_order_num>1?"等"+r.row.child_order_num+"款":"")+" ")])])]}}])}),t("el-table-column",{attrs:{prop:"contract_number",label:"合同号",width:"180"}}),t("el-table-column",{attrs:{prop:"paid_money",label:"合同金额","min-width":"70"}}),t("el-table-column",{attrs:{label:"操作",width:"130"},scopedSlots:e._u([{key:"default",fn:function(r){return r.row.contract_number?[t("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDownload(r.row)}}},[e._v("下载合同")])]:void 0}}],null,!0)})],1),t("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[t("el-pagination",{attrs:{"current-page":e.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)],1)},i=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"notice-bar__content"},[t("div",[e._v("说明:")]),t("div",[e._v("1.订单提交成功,系统将根据订单内容自动为您创建交易合同。")]),t("div",[e._v("2.您可直接“下载合同模板”,线下邮寄盖章使用。")])])}],l=(r(4114),{name:"OrderList",data(){return{activeTab:"all",currentPage:1,filterForm:{contract_number:"",datetime:"",order_id:"",limit:10,total:0},orders:[]}},mounted(){this.getList()},methods:{handlePreview(e){window.open(e,"_blank")},handleDownload(e){const t=e.contract_url,r=document.createElement("a");r.href=t,r.download=`合同${e.contract_number}.pdf`,r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r),this.$message({message:`合同 ${e.contract_number} 开始下载`,type:"success"})},getList(){this.post({offset:(this.currentPage-1)*this.filterForm.limit,...this.filterForm},"/api/order/orderContract").then(e=>{this.orders=e.data.list,this.filterForm.total=e.data.total})},search(){this.currentPage=1,this.getList()},reset(){this.filterForm={order_id:"",createTime:"",contract_number:"",datetime:""},this.activeTab="all",this.currentPage=1},handleSizeChange(e){this.filterForm.limit=e,this.getList()},handleCurrentChange(e){this.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"})}}}),n=l,s=r(1656),o=(0,s.A)(n,a,i,!1,null,"bf2be14c",null),c=o.exports}}]); -//# sourceMappingURL=719.4c174724.js.map \ No newline at end of file diff --git a/dist/js/990.244d285a.js b/dist/js/754.eb8a67d3.js similarity index 97% rename from dist/js/990.244d285a.js rename to dist/js/754.eb8a67d3.js index c0dd1a2..87e8a53 100644 --- a/dist/js/990.244d285a.js +++ b/dist/js/754.eb8a67d3.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[990],{4990:function(t,e,i){i.r(e),i.d(e,{default:function(){return n}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[e("div",{staticClass:"filter-bar"},[e("el-form",{attrs:{inline:!0,model:t.filterForm,size:"small"}},[e("el-form-item",{attrs:{label:"商品名称"}},[e("el-input",{attrs:{placeholder:"请输入商品名称"},model:{value:t.filterForm.keywords,callback:function(e){t.$set(t.filterForm,"keywords",e)},expression:"filterForm.keywords"}})],1),e("el-form-item",{attrs:{label:"订单编号"}},[e("el-input",{attrs:{placeholder:"请输入订单编号"},model:{value:t.filterForm.order_id,callback:function(e){t.$set(t.filterForm,"order_id",e)},expression:"filterForm.order_id"}})],1),e("el-form-item",{attrs:{label:"下单时间"}},[e("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd"},model:{value:t.filterForm.createTime,callback:function(e){t.$set(t.filterForm,"createTime",e)},expression:"filterForm.createTime"}})],1),e("el-form-item",{attrs:{label:"交易状态"}},[e("el-select",{staticStyle:{width:"200px"},attrs:{placeholder:"请选择"},model:{value:t.filterForm.state,callback:function(e){t.$set(t.filterForm,"state",e)},expression:"filterForm.state"}},t._l(t.typeList,function(t,i){return e("el-option",{key:i,attrs:{label:t.name,value:t.id}})}),1)],1),e("el-form-item",[e("el-button",{staticStyle:{background:"#6a8a27",border:"none"},attrs:{type:"primary"},on:{click:t.search}},[t._v("搜索")])],1),e("el-form-item",[e("el-button",{on:{click:t.reset}},[t._v("重置")])],1)],1)],1),e("div",[t._m(0),t._l(t.orders,function(i){return e("div",{key:i.id,staticClass:"order-card"},[e("div",{staticClass:"order-header flex-between"},[e("div",{staticStyle:{display:"flex"}},[e("div",[t._v("订单号: "+t._s(i.order_id))]),e("div",{staticStyle:{"padding-left":"60px"}},[t._v(" 下单时间:"+t._s(i.create_time)+" ")])]),e("div",{staticClass:"product-status"},[e("el-tag",{attrs:{type:t.getStatusTagType(i.state),size:"small"}},[t._v(t._s(i.state_text))])],1)]),e("div",{staticClass:"order-products"},t._l(i.order_product_list,function(i){return e("div",{key:i.id,staticClass:"product-item"},[e("img",{staticClass:"product-image",attrs:{src:i.product_img}}),e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v(t._s(i.product_title))]),e("div",{staticClass:"product-spec"},[t._v(t._s(i.sku_name))])]),e("div",{staticClass:"product-price"},[t._v(" ¥"+t._s((i.product_price/100).toFixed(2))+" ")]),e("div",{staticClass:"product-quantity"},[t._v("x"+t._s(i.product_num))]),e("div",{staticClass:"product-total"},[t._v(" ¥"+t._s((i.paid_money/100).toFixed(2))+" ")]),e("div",{staticClass:"product-actions"},[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.openReview(i)}}},[t._v(" 评价详情")]),"WAIT_COMMENT"==i.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoReview(i)}}},[t._v(" 去评价")]):t._e()],1)])}),0),e("div",{staticClass:"order-footer"},[e("div",{staticClass:"order-summary"},[e("div",{staticClass:"order-amount"},[t._v(" 合计: "),e("strong",[t._v("¥"+t._s((i.paid_money/100).toFixed(2)))]),t._v(" (含运费 ¥"+t._s((i.total_post_fee/100).toFixed(2))+") ")])])])])}),t.orders.length<=0?e("el-empty",{attrs:{description:"当前类型暂无评价"}}):t._e(),e("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[e("el-pagination",{attrs:{"current-page":t.filterForm.currentPage,"page-sizes":[5,10,20],"page-size":t.filterForm.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.filterForm.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],2),e("el-dialog",{attrs:{title:"评价详情",visible:t.visible,width:"700px","close-on-click-modal":!1,"show-close":!0,"before-close":t.handleClose},on:{"update:visible":function(e){t.visible=e}}},[e("div",{staticClass:"review-box"},[e("div",{staticClass:"time"},[t._v(t._s(t.reviewInfo.create_time))]),e("div",{staticClass:"rating-stars"},t._l(t.reviewInfo.rate,function(i){return e("span",{key:i},[t._v(" ★ ")])}),0),e("div",{staticClass:"content"},[t._v(t._s(t.reviewInfo.content))]),e("div",{staticClass:"imgs"},t._l(t.reviewInfo.img_list,function(t,i){return e("img",{key:i,staticClass:"img",attrs:{src:t}})}),0)])])],1)},s=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"order-products",staticStyle:{padding:"0 20px",background:"#f8f9fa","border-top":"1px solid #eee","border-bottom":"1px solid #eee","margin-bottom":"20px"}},[e("div",{staticClass:"product-item"},[e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v("商品信息")])]),e("div",{staticClass:"product-price"},[t._v("单价(元)")]),e("div",{staticClass:"product-quantity"},[t._v("数量")]),e("div",{staticClass:"product-total"},[t._v("小计(元)")]),e("div",{staticClass:"product-actions"})])])}],a=(i(4114),{name:"OrderList",data(){return{activeTab:"ALL",filterForm:{keywords:"",currentPage:1,limit:10,order_id:"",createTime:[],start_date:"",end_date:"",total:1,state:"",visible:!1},typeList:[{name:"待评价",id:"WAIT_COMMENT"},{name:"已评价",id:"COMPLETED"}],orders:[],visible:!1,reviewInfo:{}}},computed:{},mounted(){this.filterForm.state="WAIT_COMMENT",this.getList()},methods:{openReview(t){this.post({child_order_id:t.child_order_id},"/api/product/ownProductComment").then(t=>{1==t.code&&(this.reviewInfo=t.data,this.visible=!0)})},gotoDetail(t){this.$router.push("/Detail/"+t.product_id)},getList(){this.filterForm.start_date=this.filterForm.createTime[0],this.filterForm.end_date=this.filterForm.createTime[1],this.post({...this.filterForm,offset:(this.filterForm.currentPage-1)*this.filterForm.limit},"/api/order/list").then(t=>{this.orders=t.data.list,this.filterForm.total=t.data.total})},search(){this.filterForm.currentPage=1,this.getList()},reset(){this.filterForm={keywords:"",currentPage:1,limit:10,order_id:"",createTime:[],start_date:"",end_date:"",total:1},this.getList()},handleSizeChange(t){this.filterForm.limit=t,this.filterForm.currentPage=1,this.getList()},handleCurrentChange(t){this.filterForm.currentPage=t,this.getList()},getStatusText(t){const e={pendingPayment:"待付款",pendingDelivery:"待发货",delivering:"配送中",completed:"已完成",cancelled:"已取消"};return e[t]||t},getStatusTagType(t){const e={pendingPayment:"warning",pendingDelivery:"info",delivering:"primary",completed:"success",cancelled:"danger"};return e[t]||"default"},payOrder(t){this.$message({message:`订单 ${t} 去付款`,type:"info"})},remindDelivery(t){this.$message({message:`已提醒订单 ${t} 发货`,type:"success"})},checkLogistics(t){this.$message({message:`查看订单 ${t} 物流`,type:"info"})},gotoReview(t){this.$router.push("/ProductReview?product="+JSON.stringify(t))},viewOrderDetail(t){this.$router.push({path:"/OrderDetail?id="+t})}}}),o=a,l=i(1656),d=(0,l.A)(o,r,s,!1,null,"90572a8e",null),n=d.exports}}]); -//# sourceMappingURL=990.244d285a.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[754],{3754:function(t,e,i){i.r(e),i.d(e,{default:function(){return n}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[e("div",{staticClass:"filter-bar"},[e("el-form",{attrs:{inline:!0,model:t.filterForm,size:"small"}},[e("el-form-item",{attrs:{label:"商品名称"}},[e("el-input",{attrs:{placeholder:"请输入商品名称"},model:{value:t.filterForm.keywords,callback:function(e){t.$set(t.filterForm,"keywords",e)},expression:"filterForm.keywords"}})],1),e("el-form-item",{attrs:{label:"订单编号"}},[e("el-input",{attrs:{placeholder:"请输入订单编号"},model:{value:t.filterForm.order_id,callback:function(e){t.$set(t.filterForm,"order_id",e)},expression:"filterForm.order_id"}})],1),e("el-form-item",{attrs:{label:"下单时间"}},[e("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd"},model:{value:t.filterForm.createTime,callback:function(e){t.$set(t.filterForm,"createTime",e)},expression:"filterForm.createTime"}})],1),e("el-form-item",{attrs:{label:"交易状态"}},[e("el-select",{staticStyle:{width:"200px"},attrs:{placeholder:"请选择"},model:{value:t.filterForm.state,callback:function(e){t.$set(t.filterForm,"state",e)},expression:"filterForm.state"}},t._l(t.typeList,function(t,i){return e("el-option",{key:i,attrs:{label:t.name,value:t.id}})}),1)],1),e("el-form-item",[e("el-button",{staticStyle:{background:"#6a8a27",border:"none"},attrs:{type:"primary"},on:{click:t.search}},[t._v("搜索")])],1),e("el-form-item",[e("el-button",{on:{click:t.reset}},[t._v("重置")])],1)],1)],1),e("div",[t._m(0),t._l(t.orders,function(i){return e("div",{key:i.id,staticClass:"order-card"},[e("div",{staticClass:"order-header flex-between"},[e("div",{staticStyle:{display:"flex"}},[e("div",[t._v("订单号: "+t._s(i.order_id))]),e("div",{staticStyle:{"padding-left":"60px"}},[t._v(" 下单时间:"+t._s(i.create_time)+" ")])]),e("div",{staticClass:"product-status"},[e("el-tag",{attrs:{type:t.getStatusTagType(i.state),size:"small"}},[t._v(t._s(i.state_text))])],1)]),e("div",{staticClass:"order-products"},t._l(i.order_product_list,function(i){return e("div",{key:i.id,staticClass:"product-item"},[e("img",{staticClass:"product-image",attrs:{src:i.product_img}}),e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v(t._s(i.product_title))]),e("div",{staticClass:"product-spec"},[t._v(t._s(i.sku_name))])]),e("div",{staticClass:"product-price"},[t._v(" ¥"+t._s((i.product_price/100).toFixed(2))+" ")]),e("div",{staticClass:"product-quantity"},[t._v("x"+t._s(i.product_num))]),e("div",{staticClass:"product-total"},[t._v(" ¥"+t._s((i.paid_money/100).toFixed(2))+" ")]),e("div",{staticClass:"product-actions"},[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.openReview(i)}}},[t._v(" 评价详情")]),"WAIT_COMMENT"==i.state?e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return t.gotoReview(i)}}},[t._v(" 去评价")]):t._e()],1)])}),0),e("div",{staticClass:"order-footer"},[e("div",{staticClass:"order-summary"},[e("div",{staticClass:"order-amount"},[t._v(" 合计: "),e("strong",[t._v("¥"+t._s((i.paid_money/100).toFixed(2)))]),t._v(" (含运费 ¥"+t._s((i.total_post_fee/100).toFixed(2))+") ")])])])])}),t.orders.length<=0?e("el-empty",{attrs:{description:"当前类型暂无评价"}}):t._e(),e("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[e("el-pagination",{attrs:{"current-page":t.filterForm.currentPage,"page-sizes":[5,10,20],"page-size":t.filterForm.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.filterForm.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],2),e("el-dialog",{attrs:{title:"评价详情",visible:t.visible,width:"700px","close-on-click-modal":!1,"show-close":!0,"before-close":t.handleClose},on:{"update:visible":function(e){t.visible=e}}},[e("div",{staticClass:"review-box"},[e("div",{staticClass:"time"},[t._v(t._s(t.reviewInfo.create_time))]),e("div",{staticClass:"rating-stars"},t._l(t.reviewInfo.rate,function(i){return e("span",{key:i},[t._v(" ★ ")])}),0),e("div",{staticClass:"content"},[t._v(t._s(t.reviewInfo.content))]),e("div",{staticClass:"imgs"},t._l(t.reviewInfo.img_list,function(t,i){return e("img",{key:i,staticClass:"img",attrs:{src:t}})}),0)])])],1)},s=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"order-products",staticStyle:{padding:"0 20px",background:"#f8f9fa","border-top":"1px solid #eee","border-bottom":"1px solid #eee","margin-bottom":"20px"}},[e("div",{staticClass:"product-item"},[e("div",{staticClass:"product-details"},[e("div",{staticClass:"product-name"},[t._v("商品信息")])]),e("div",{staticClass:"product-price"},[t._v("单价(元)")]),e("div",{staticClass:"product-quantity"},[t._v("数量")]),e("div",{staticClass:"product-total"},[t._v("小计(元)")]),e("div",{staticClass:"product-actions"})])])}],a=(i(4114),{name:"OrderList",data(){return{activeTab:"ALL",filterForm:{keywords:"",currentPage:1,limit:10,order_id:"",createTime:[],start_date:"",end_date:"",total:1,state:"",visible:!1},typeList:[{name:"待评价",id:"WAIT_COMMENT"},{name:"已评价",id:"COMPLETED"}],orders:[],visible:!1,reviewInfo:{}}},computed:{},mounted(){this.filterForm.state="WAIT_COMMENT",this.getList()},methods:{openReview(t){this.post({child_order_id:t.child_order_id},"/api/product/ownProductComment").then(t=>{1==t.code&&(this.reviewInfo=t.data,this.visible=!0)})},gotoDetail(t){this.$router.push("/Detail/"+t.product_id)},getList(){this.filterForm.start_date=this.filterForm.createTime[0],this.filterForm.end_date=this.filterForm.createTime[1],this.post({...this.filterForm,offset:(this.filterForm.currentPage-1)*this.filterForm.limit},"/api/order/list").then(t=>{this.orders=t.data.list,this.filterForm.total=t.data.total})},search(){this.filterForm.currentPage=1,this.getList()},reset(){this.filterForm={keywords:"",currentPage:1,limit:10,order_id:"",createTime:[],start_date:"",end_date:"",total:1},this.getList()},handleSizeChange(t){this.filterForm.limit=t,this.filterForm.currentPage=1,this.getList()},handleCurrentChange(t){this.filterForm.currentPage=t,this.getList()},getStatusText(t){const e={pendingPayment:"待付款",pendingDelivery:"待发货",delivering:"配送中",completed:"已完成",cancelled:"已取消"};return e[t]||t},getStatusTagType(t){const e={pendingPayment:"warning",pendingDelivery:"info",delivering:"primary",completed:"success",cancelled:"danger"};return e[t]||"default"},payOrder(t){this.$message({message:`订单 ${t} 去付款`,type:"info"})},remindDelivery(t){this.$message({message:`已提醒订单 ${t} 发货`,type:"success"})},checkLogistics(t){this.$message({message:`查看订单 ${t} 物流`,type:"info"})},gotoReview(t){this.$router.push("/ProductReview?product="+JSON.stringify(t))},viewOrderDetail(t){this.$router.push({path:"/OrderDetail?id="+t})}}}),o=a,l=i(845),d=(0,l.A)(o,r,s,!1,null,"90572a8e",null),n=d.exports}}]); +//# sourceMappingURL=754.eb8a67d3.js.map \ No newline at end of file diff --git a/dist/js/990.244d285a.js.map b/dist/js/754.eb8a67d3.js.map similarity index 91% rename from dist/js/990.244d285a.js.map r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GACA,KAAAC,SAAA,CACAC,QAAA,SAAAF,OACAG,KAAA,WAEA,EAGAE,cAAAA,CAAAL,GACA,KAAAC,SAAA,CACAC,QAAA,QAAAF,OACAG,KAAA,QAEA,EAGAnD,UAAAA,CAAAV,GACA,KAAA0C,QAAAC,KAAA,0BAAAqB,KAAAC,UAAAjE,GACA,EAGAkE,eAAAA,CAAAR,GACA,KAAAhB,QAAAC,KAAA,CACAwB,KAAA,mBAAAT,GAEA,KCnYqQ,I,UCQjQU,GAAY,OACd,EACA1G,EACAiE,GACA,EACA,KACA,WACA,MAIF,EAAeyC,E","sources":["webpack://shiweisuzhou/./src/views/User/CommentManage.vue","webpack://shiweisuzhou/src/views/User/CommentManage.vue","webpack://shiweisuzhou/./src/views/User/CommentManage.vue?cd48","webpack://shiweisuzhou/./src/views/User/CommentManage.vue?0d4f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"filter-bar\"},[_c('el-form',{attrs:{\"inline\":true,\"model\":_vm.filterForm,\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"商品名称\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入商品名称\"},model:{value:(_vm.filterForm.keywords),callback:function ($$v) {_vm.$set(_vm.filterForm, \"keywords\", $$v)},expression:\"filterForm.keywords\"}})],1),_c('el-form-item',{attrs:{\"label\":\"订单编号\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入订单编号\"},model:{value:(_vm.filterForm.order_id),callback:function ($$v) {_vm.$set(_vm.filterForm, \"order_id\", $$v)},expression:\"filterForm.order_id\"}})],1),_c('el-form-item',{attrs:{\"label\":\"下单时间\"}},[_c('el-date-picker',{attrs:{\"type\":\"daterange\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\",\"value-format\":\"yyyy-MM-dd\"},model:{value:(_vm.filterForm.createTime),callback:function ($$v) {_vm.$set(_vm.filterForm, \"createTime\", $$v)},expression:\"filterForm.createTime\"}})],1),_c('el-form-item',{attrs:{\"label\":\"交易状态\"}},[_c('el-select',{staticStyle:{\"width\":\"200px\"},attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.filterForm.state),callback:function ($$v) {_vm.$set(_vm.filterForm, \"state\", $$v)},expression:\"filterForm.state\"}},_vm._l((_vm.typeList),function(item,i){return _c('el-option',{key:i,attrs:{\"label\":item.name,\"value\":item.id}})}),1)],1),_c('el-form-item',[_c('el-button',{staticStyle:{\"background\":\"#6a8a27\",\"border\":\"none\"},attrs:{\"type\":\"primary\"},on:{\"click\":_vm.search}},[_vm._v(\"搜索\")])],1),_c('el-form-item',[_c('el-button',{on:{\"click\":_vm.reset}},[_vm._v(\"重置\")])],1)],1)],1),_c('div',[_vm._m(0),_vm._l((_vm.orders),function(order){return _c('div',{key:order.id,staticClass:\"order-card\"},[_c('div',{staticClass:\"order-header flex-between\"},[_c('div',{staticStyle:{\"display\":\"flex\"}},[_c('div',[_vm._v(\"订单号: \"+_vm._s(order.order_id))]),_c('div',{staticStyle:{\"padding-left\":\"60px\"}},[_vm._v(\" 下单时间:\"+_vm._s(order.create_time)+\" \")])]),_c('div',{staticClass:\"product-status\"},[_c('el-tag',{attrs:{\"type\":_vm.getStatusTagType(order.state),\"size\":\"small\"}},[_vm._v(_vm._s(order.state_text))])],1)]),_c('div',{staticClass:\"order-products\"},_vm._l((order.order_product_list),function(product){return _c('div',{key:product.id,staticClass:\"product-item\"},[_c('img',{staticClass:\"product-image\",attrs:{\"src\":product.product_img}}),_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(product.product_title))]),_c('div',{staticClass:\"product-spec\"},[_vm._v(_vm._s(product.sku_name))])]),_c('div',{staticClass:\"product-price\"},[_vm._v(\" ¥\"+_vm._s((product.product_price / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-quantity\"},[_vm._v(\"x\"+_vm._s(product.product_num))]),_c('div',{staticClass:\"product-total\"},[_vm._v(\" ¥\"+_vm._s((product.paid_money / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-actions\"},[_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.openReview(product)}}},[_vm._v(\" 评价详情\")]),(product.state == 'WAIT_COMMENT')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoReview(product)}}},[_vm._v(\" 去评价\")]):_vm._e()],1)])}),0),_c('div',{staticClass:\"order-footer\"},[_c('div',{staticClass:\"order-summary\"},[_c('div',{staticClass:\"order-amount\"},[_vm._v(\" 合计: \"),_c('strong',[_vm._v(\"¥\"+_vm._s((order.paid_money / 100).toFixed(2)))]),_vm._v(\" (含运费 ¥\"+_vm._s((order.total_post_fee / 100).toFixed(2))+\") \")])])])])}),(_vm.orders.length <= 0)?_c('el-empty',{attrs:{\"description\":\"当前类型暂无评价\"}}):_vm._e(),_c('div',{staticStyle:{\"text-align\":\"right\",\"margin-top\":\"20px\"}},[_c('el-pagination',{attrs:{\"current-page\":_vm.filterForm.currentPage,\"page-sizes\":[5, 10, 20],\"page-size\":_vm.filterForm.limit,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.filterForm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1)],2),_c('el-dialog',{attrs:{\"title\":\"评价详情\",\"visible\":_vm.visible,\"width\":\"700px\",\"close-on-click-modal\":false,\"show-close\":true,\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('div',{staticClass:\"review-box\"},[_c('div',{staticClass:\"time\"},[_vm._v(_vm._s(_vm.reviewInfo.create_time))]),_c('div',{staticClass:\"rating-stars\"},_vm._l((_vm.reviewInfo.rate),function(star){return _c('span',{key:star},[_vm._v(\" ★ \")])}),0),_c('div',{staticClass:\"content\"},[_vm._v(_vm._s(_vm.reviewInfo.content))]),_c('div',{staticClass:\"imgs\"},_vm._l((_vm.reviewInfo.img_list),function(item,index){return _c('img',{key:index,staticClass:\"img\",attrs:{\"src\":item}})}),0)])])],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!./CommentManage.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CommentManage.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CommentManage.vue?vue&type=template&id=90572a8e&scoped=true\"\nimport script from \"./CommentManage.vue?vue&type=script&lang=js\"\nexport * from \"./CommentManage.vue?vue&type=script&lang=js\"\nimport style0 from \"./CommentManage.vue?vue&type=style&index=0&id=90572a8e&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 \"90572a8e\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","filterForm","model","value","keywords","callback","$$v","$set","expression","order_id","createTime","staticStyle","state","_l","typeList","item","i","key","name","id","on","search","_v","reset","_m","orders","order","_s","create_time","getStatusTagType","state_text","order_product_list","product","product_img","product_title","sku_name","product_price","toFixed","product_num","paid_money","$event","openReview","gotoReview","_e","total_post_fee","length","currentPage","limit","total","handleSizeChange","handleCurrentChange","visible","handleClose","reviewInfo","rate","star","content","img_list","index","staticRenderFns","data","activeTab","start_date","end_date","computed","mounted","getList","methods","post","child_order_id","then","res","code","gotoDetail","$router","push","product_id","offset","list","val","getStatusText","status","statusMap","pendingPayment","pendingDelivery","delivering","completed","cancelled","typeMap","payOrder","orderId","$message","message","type","remindDelivery","checkLogistics","JSON","stringify","viewOrderDetail","path","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/754.eb8a67d3.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,UAAU,CAACG,MAAM,CAAC,QAAS,EAAK,MAAQL,EAAIM,WAAW,KAAO,UAAU,CAACJ,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,SAAS,CAACH,EAAG,WAAW,CAACG,MAAM,CAAC,YAAc,WAAWE,MAAM,CAACC,MAAOR,EAAIM,WAAWG,SAAUC,SAAS,SAAUC,GAAMX,EAAIY,KAAKZ,EAAIM,WAAY,WAAYK,EAAI,EAAEE,WAAW,0BAA0B,GAAGX,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,SAAS,CAACH,EAAG,WAAW,CAACG,MAAM,CAAC,YAAc,WAAWE,MAAM,CAACC,MAAOR,EAAIM,WAAWQ,SAAUJ,SAAS,SAAUC,GAAMX,EAAIY,KAAKZ,EAAIM,WAA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,SACA,EAGAhB,mBAAAA,CAAA6B,GACA,KAAA9E,WAAA6C,YAAAiC,EACA,KAAAb,SACA,EAGAc,aAAAA,CAAAC,GACA,MAAAC,EAAA,CACAC,eAAA,MACAC,gBAAA,MACAC,WAAA,MACAC,UAAA,MACAC,UAAA,OAEA,OAAAL,EAAAD,IAAAA,CACA,EAGApD,gBAAAA,CAAAoD,GACA,MAAAO,EAAA,CACAL,eAAA,UACAC,gBAAA,OACAC,WAAA,UACAC,UAAA,UACAC,UAAA,UAEA,OAAAC,EAAAP,IAAA,SACA,EAGAQ,QAAAA,CAAAC,GACA,KAAAC,SAAA,CACAC,QAAA,MAAAF,QACAG,KAAA,QAEA,EAGAC,cAAAA,CAAAJ,GACA,KAAAC,SAAA,CACAC,QAAA,SAAAF,OACAG,KAAA,WAEA,EAGAE,cAAAA,CAAAL,GACA,KAAAC,SAAA,CACAC,QAAA,QAAAF,OACAG,KAAA,QAEA,EAGAnD,UAAAA,CAAAV,GACA,KAAA0C,QAAAC,KAAA,0BAAAqB,KAAAC,UAAAjE,GACA,EAGAkE,eAAAA,CAAAR,GACA,KAAAhB,QAAAC,KAAA,CACAwB,KAAA,mBAAAT,GAEA,KCnYmS,I,SCQ/RU,GAAY,OACd,EACA1G,EACAiE,GACA,EACA,KACA,WACA,MAIF,EAAeyC,E","sources":["webpack://shiweisuzhou/./src/views/User/CommentManage.vue","webpack://shiweisuzhou/src/views/User/CommentManage.vue","webpack://shiweisuzhou/./src/views/User/CommentManage.vue?62c5","webpack://shiweisuzhou/./src/views/User/CommentManage.vue?bfdb"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"filter-bar\"},[_c('el-form',{attrs:{\"inline\":true,\"model\":_vm.filterForm,\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"商品名称\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入商品名称\"},model:{value:(_vm.filterForm.keywords),callback:function ($$v) {_vm.$set(_vm.filterForm, \"keywords\", $$v)},expression:\"filterForm.keywords\"}})],1),_c('el-form-item',{attrs:{\"label\":\"订单编号\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入订单编号\"},model:{value:(_vm.filterForm.order_id),callback:function ($$v) {_vm.$set(_vm.filterForm, \"order_id\", $$v)},expression:\"filterForm.order_id\"}})],1),_c('el-form-item',{attrs:{\"label\":\"下单时间\"}},[_c('el-date-picker',{attrs:{\"type\":\"daterange\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\",\"value-format\":\"yyyy-MM-dd\"},model:{value:(_vm.filterForm.createTime),callback:function ($$v) {_vm.$set(_vm.filterForm, \"createTime\", $$v)},expression:\"filterForm.createTime\"}})],1),_c('el-form-item',{attrs:{\"label\":\"交易状态\"}},[_c('el-select',{staticStyle:{\"width\":\"200px\"},attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.filterForm.state),callback:function ($$v) {_vm.$set(_vm.filterForm, \"state\", $$v)},expression:\"filterForm.state\"}},_vm._l((_vm.typeList),function(item,i){return _c('el-option',{key:i,attrs:{\"label\":item.name,\"value\":item.id}})}),1)],1),_c('el-form-item',[_c('el-button',{staticStyle:{\"background\":\"#6a8a27\",\"border\":\"none\"},attrs:{\"type\":\"primary\"},on:{\"click\":_vm.search}},[_vm._v(\"搜索\")])],1),_c('el-form-item',[_c('el-button',{on:{\"click\":_vm.reset}},[_vm._v(\"重置\")])],1)],1)],1),_c('div',[_vm._m(0),_vm._l((_vm.orders),function(order){return _c('div',{key:order.id,staticClass:\"order-card\"},[_c('div',{staticClass:\"order-header flex-between\"},[_c('div',{staticStyle:{\"display\":\"flex\"}},[_c('div',[_vm._v(\"订单号: \"+_vm._s(order.order_id))]),_c('div',{staticStyle:{\"padding-left\":\"60px\"}},[_vm._v(\" 下单时间:\"+_vm._s(order.create_time)+\" \")])]),_c('div',{staticClass:\"product-status\"},[_c('el-tag',{attrs:{\"type\":_vm.getStatusTagType(order.state),\"size\":\"small\"}},[_vm._v(_vm._s(order.state_text))])],1)]),_c('div',{staticClass:\"order-products\"},_vm._l((order.order_product_list),function(product){return _c('div',{key:product.id,staticClass:\"product-item\"},[_c('img',{staticClass:\"product-image\",attrs:{\"src\":product.product_img}}),_c('div',{staticClass:\"product-details\"},[_c('div',{staticClass:\"product-name\"},[_vm._v(_vm._s(product.product_title))]),_c('div',{staticClass:\"product-spec\"},[_vm._v(_vm._s(product.sku_name))])]),_c('div',{staticClass:\"product-price\"},[_vm._v(\" ¥\"+_vm._s((product.product_price / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-quantity\"},[_vm._v(\"x\"+_vm._s(product.product_num))]),_c('div',{staticClass:\"product-total\"},[_vm._v(\" ¥\"+_vm._s((product.paid_money / 100).toFixed(2))+\" \")]),_c('div',{staticClass:\"product-actions\"},[_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.openReview(product)}}},[_vm._v(\" 评价详情\")]),(product.state == 'WAIT_COMMENT')?_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoReview(product)}}},[_vm._v(\" 去评价\")]):_vm._e()],1)])}),0),_c('div',{staticClass:\"order-footer\"},[_c('div',{staticClass:\"order-summary\"},[_c('div',{staticClass:\"order-amount\"},[_vm._v(\" 合计: \"),_c('strong',[_vm._v(\"¥\"+_vm._s((order.paid_money / 100).toFixed(2)))]),_vm._v(\" (含运费 ¥\"+_vm._s((order.total_post_fee / 100).toFixed(2))+\") \")])])])])}),(_vm.orders.length <= 0)?_c('el-empty',{attrs:{\"description\":\"当前类型暂无评价\"}}):_vm._e(),_c('div',{staticStyle:{\"text-align\":\"right\",\"margin-top\":\"20px\"}},[_c('el-pagination',{attrs:{\"current-page\":_vm.filterForm.currentPage,\"page-sizes\":[5, 10, 20],\"page-size\":_vm.filterForm.limit,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.filterForm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1)],2),_c('el-dialog',{attrs:{\"title\":\"评价详情\",\"visible\":_vm.visible,\"width\":\"700px\",\"close-on-click-modal\":false,\"show-close\":true,\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('div',{staticClass:\"review-box\"},[_c('div',{staticClass:\"time\"},[_vm._v(_vm._s(_vm.reviewInfo.create_time))]),_c('div',{staticClass:\"rating-stars\"},_vm._l((_vm.reviewInfo.rate),function(star){return _c('span',{key:star},[_vm._v(\" ★ \")])}),0),_c('div',{staticClass:\"content\"},[_vm._v(_vm._s(_vm.reviewInfo.content))]),_c('div',{staticClass:\"imgs\"},_vm._l((_vm.reviewInfo.img_list),function(item,index){return _c('img',{key:index,staticClass:\"img\",attrs:{\"src\":item}})}),0)])])],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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CommentManage.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CommentManage.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CommentManage.vue?vue&type=template&id=90572a8e&scoped=true\"\nimport script from \"./CommentManage.vue?vue&type=script&lang=js\"\nexport * from \"./CommentManage.vue?vue&type=script&lang=js\"\nimport style0 from \"./CommentManage.vue?vue&type=style&index=0&id=90572a8e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"90572a8e\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","filterForm","model","value","keywords","callback","$$v","$set","expression","order_id","createTime","staticStyle","state","_l","typeList","item","i","key","name","id","on","search","_v","reset","_m","orders","order","_s","create_time","getStatusTagType","state_text","order_product_list","product","product_img","product_title","sku_name","product_price","toFixed","product_num","paid_money","$event","openReview","gotoReview","_e","total_post_fee","length","currentPage","limit","total","handleSizeChange","handleCurrentChange","visible","handleClose","reviewInfo","rate","star","content","img_list","index","staticRenderFns","data","activeTab","start_date","end_date","computed","mounted","getList","methods","post","child_order_id","then","res","code","gotoDetail","$router","push","product_id","offset","list","val","getStatusText","status","statusMap","pendingPayment","pendingDelivery","delivering","completed","cancelled","typeMap","payOrder","orderId","$message","message","type","remindDelivery","checkLogistics","JSON","stringify","viewOrderDetail","path","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/612.0689f662.js b/dist/js/788.c3e035d9.js similarity index 96% rename from dist/js/612.0689f662.js rename to dist/js/788.c3e035d9.js index cd2f01d..71bc982 100644 --- a/dist/js/612.0689f662.js +++ b/dist/js/788.c3e035d9.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[612],{9231:function(e,t,i){i.r(t),i.d(t,{default:function(){return c}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg"},[t("el-card",{staticStyle:{width:"100%"}},[t("div",{staticClass:"clearfix flex-between",attrs:{slot:"header"},slot:"header"},[t("span",[e._v("我的发票")]),t("div",{staticClass:"flex-between"},[t("span",{staticStyle:{color:"#666","font-size":"12px"}},[e._v("您已保存了"+e._s(e.invoiceList.length)+"个发票抬头信息,最多可创建5个。")]),t("el-button",{staticStyle:{float:"right"},attrs:{size:"small",type:"primary"},on:{click:function(t){return e.openDialog("add",{})}}},[e._v("新增")])],1)]),t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.invoiceList,border:""}},[t("el-table-column",{attrs:{prop:"invoice_head",label:"发票抬头",width:"120"}}),t("el-table-column",{attrs:{prop:"tax_number",label:"纳税人识别号",width:"200"}}),t("el-table-column",{attrs:{prop:"opening_bank",label:"开户银行","min-width":"180"}}),t("el-table-column",{attrs:{prop:"bank_account",label:"银行账号","min-width":"180"}}),t("el-table-column",{attrs:{label:"操作",width:"200"},scopedSlots:e._u([{key:"default",fn:function(i){return[t("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.openDialog("edit",i.row)}}},[e._v("编辑")]),t("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDelete(i.row)}}},[e._v("删除")])]}}])})],1)],1),t("el-dialog",{attrs:{title:"发票抬头",visible:e.dialogVisible,width:"700px"},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("el-form",{ref:"form",attrs:{model:e.form,"label-width":"120px",size:"small",rules:e.titleRules}},[t("el-form-item",{attrs:{label:"发票抬头",prop:"invoice_head"}},[t("el-input",{attrs:{placeholder:"请填写发票抬头"},model:{value:e.form.invoice_head,callback:function(t){e.$set(e.form,"invoice_head",t)},expression:"form.invoice_head"}})],1),t("el-form-item",{attrs:{label:"纳税人识别号",prop:"tax_number"}},[t("el-input",{attrs:{placeholder:"请填写纳税人识别号"},model:{value:e.form.tax_number,callback:function(t){e.$set(e.form,"tax_number",t)},expression:"form.tax_number"}})],1),t("el-form-item",{attrs:{label:"开户银行",prop:"opening_bank"}},[t("el-input",{attrs:{placeholder:"请填写开户银行"},model:{value:e.form.opening_bank,callback:function(t){e.$set(e.form,"opening_bank",t)},expression:"form.opening_bank"}})],1),t("el-form-item",{attrs:{label:"银行账号",prop:"bank_account"}},[t("el-input",{attrs:{placeholder:"请填写银行账号"},model:{value:e.form.bank_account,callback:function(t){e.$set(e.form,"bank_account",t)},expression:"form.bank_account"}})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"small"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("取消")]),t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.saveInvoiceTitle}},[e._v("保存")])],1)],1)],1)},n=[],l={name:"UserInfo",data(){return{user:{},searchParam:{pageSize:5,currentPage:1,total:10},dialogVisible:!1,invoiceList:[],form:{type:"add",invoice_head:"",tax_number:"",opening_bank:"",bank_account:""},titleRules:{invoice_head:[{required:!0,message:"请输入发票抬头",trigger:"blur"}],tax_number:[{required:!0,message:"请输入纳税人识别号",trigger:"blur"},{pattern:/^[A-Z0-9]{15,20}$/,message:"纳税人识别号格式不正确",trigger:"blur"}],opening_bank:[{required:!0,message:"请输入开户银行",trigger:"blur"}],bank_account:[{required:!0,message:"请输入银行账号",trigger:"blur"}]}}},mounted(){this.getList()},methods:{getList(){this.post({offset:0,limit:5},"/api/enterprise_invoice/index").then(e=>{this.invoiceList=e.data})},handleSizeChange(e){this.searchParam.pageSize=e},handleCurrentChange(e){this.searchParam.currentPage=e},openDialog(e,t){this.form={type:e,id:t.id||"",bank_account:t.bank_account||"",invoice_head:t.invoice_head||"",opening_bank:t.opening_bank||"",tax_number:t.tax_number||""},this.dialogVisible=!0},saveInvoiceTitle(){this.$refs.form.validate(e=>{if(e){let e="add"==this.form.type?"/api/enterprise_invoice/create":"/api/enterprise_invoice/edit";this.post(this.form,e).then(e=>{1==e.code&&(this.getList(),this.$message.success("操作成功"),this.dialogVisible=!1)})}})},handleDelete(e){this.$confirm("此操作将永久删除该发票, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({id:e.id},"/api/enterprise_invoice/delete").then(e=>{1==e.code&&(this.getList(),this.$message({type:"success",message:"删除成功!"}))})})}}},r=l,o=i(1656),s=(0,o.A)(r,a,n,!1,null,"0c50ce5c",null),c=s.exports}}]); -//# sourceMappingURL=612.0689f662.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[788],{9788:function(e,t,i){i.r(t),i.d(t,{default:function(){return c}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg"},[t("el-card",{staticStyle:{width:"100%"}},[t("div",{staticClass:"clearfix flex-between",attrs:{slot:"header"},slot:"header"},[t("span",[e._v("我的发票")]),t("div",{staticClass:"flex-between"},[t("span",{staticStyle:{color:"#666","font-size":"12px"}},[e._v("您已保存了"+e._s(e.invoiceList.length)+"个发票抬头信息,最多可创建5个。")]),t("el-button",{staticStyle:{float:"right"},attrs:{size:"small",type:"primary"},on:{click:function(t){return e.openDialog("add",{})}}},[e._v("新增")])],1)]),t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.invoiceList,border:""}},[t("el-table-column",{attrs:{prop:"invoice_head",label:"发票抬头",width:"120"}}),t("el-table-column",{attrs:{prop:"tax_number",label:"纳税人识别号",width:"200"}}),t("el-table-column",{attrs:{prop:"opening_bank",label:"开户银行","min-width":"180"}}),t("el-table-column",{attrs:{prop:"bank_account",label:"银行账号","min-width":"180"}}),t("el-table-column",{attrs:{label:"操作",width:"200"},scopedSlots:e._u([{key:"default",fn:function(i){return[t("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.openDialog("edit",i.row)}}},[e._v("编辑")]),t("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDelete(i.row)}}},[e._v("删除")])]}}])})],1)],1),t("el-dialog",{attrs:{title:"发票抬头",visible:e.dialogVisible,width:"700px"},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("el-form",{ref:"form",attrs:{model:e.form,"label-width":"120px",size:"small",rules:e.titleRules}},[t("el-form-item",{attrs:{label:"发票抬头",prop:"invoice_head"}},[t("el-input",{attrs:{placeholder:"请填写发票抬头"},model:{value:e.form.invoice_head,callback:function(t){e.$set(e.form,"invoice_head",t)},expression:"form.invoice_head"}})],1),t("el-form-item",{attrs:{label:"纳税人识别号",prop:"tax_number"}},[t("el-input",{attrs:{placeholder:"请填写纳税人识别号"},model:{value:e.form.tax_number,callback:function(t){e.$set(e.form,"tax_number",t)},expression:"form.tax_number"}})],1),t("el-form-item",{attrs:{label:"开户银行",prop:"opening_bank"}},[t("el-input",{attrs:{placeholder:"请填写开户银行"},model:{value:e.form.opening_bank,callback:function(t){e.$set(e.form,"opening_bank",t)},expression:"form.opening_bank"}})],1),t("el-form-item",{attrs:{label:"银行账号",prop:"bank_account"}},[t("el-input",{attrs:{placeholder:"请填写银行账号"},model:{value:e.form.bank_account,callback:function(t){e.$set(e.form,"bank_account",t)},expression:"form.bank_account"}})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"small"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("取消")]),t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.saveInvoiceTitle}},[e._v("保存")])],1)],1)],1)},n=[],l={name:"UserInfo",data(){return{user:{},searchParam:{pageSize:5,currentPage:1,total:10},dialogVisible:!1,invoiceList:[],form:{type:"add",invoice_head:"",tax_number:"",opening_bank:"",bank_account:""},titleRules:{invoice_head:[{required:!0,message:"请输入发票抬头",trigger:"blur"}],tax_number:[{required:!0,message:"请输入纳税人识别号",trigger:"blur"},{pattern:/^[A-Z0-9]{15,20}$/,message:"纳税人识别号格式不正确",trigger:"blur"}],opening_bank:[{required:!0,message:"请输入开户银行",trigger:"blur"}],bank_account:[{required:!0,message:"请输入银行账号",trigger:"blur"}]}}},mounted(){this.getList()},methods:{getList(){this.post({offset:0,limit:5},"/api/enterprise_invoice/index").then(e=>{this.invoiceList=e.data})},handleSizeChange(e){this.searchParam.pageSize=e},handleCurrentChange(e){this.searchParam.currentPage=e},openDialog(e,t){this.form={type:e,id:t.id||"",bank_account:t.bank_account||"",invoice_head:t.invoice_head||"",opening_bank:t.opening_bank||"",tax_number:t.tax_number||""},this.dialogVisible=!0},saveInvoiceTitle(){this.$refs.form.validate(e=>{if(e){let e="add"==this.form.type?"/api/enterprise_invoice/create":"/api/enterprise_invoice/edit";this.post(this.form,e).then(e=>{1==e.code&&(this.getList(),this.$message.success("操作成功"),this.dialogVisible=!1)})}})},handleDelete(e){this.$confirm("此操作将永久删除该发票, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({id:e.id},"/api/enterprise_invoice/delete").then(e=>{1==e.code&&(this.getList(),this.$message({type:"success",message:"删除成功!"}))})})}}},r=l,o=i(845),s=(0,o.A)(r,a,n,!1,null,"0c50ce5c",null),c=s.exports}}]); +//# sourceMappingURL=788.c3e035d9.js.map \ No newline at end of file diff --git a/dist/js/612.0689f662.js.map b/dist/js/788.c3e035d9.js.map similarity index 88% rename from dist/js/612.0689f662.js.map rename to dist/js/788.c3e035d9.js.map index 3d26445..e250e21 100644 --- a/dist/js/612.0689f662.js.map +++ b/dist/js/788.c3e035d9.js.map @@ -1 +1 @@ -{"version":3,"file":"js/612.0689f662.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,UAAU,CAACG,YAAY,CAAC,MAAQ,SAAS,CAACH,EAAG,MAAM,CAACE,YAAY,wBA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EACA7C,UAAAA,CAAA+B,EAAAgB,GACA,KAAArC,KAAA,CACAqB,KAAAA,EACAiB,GAAAD,EAAAC,IAAA,GACA3B,aAAA0B,EAAA1B,cAAA,GACAP,aAAAiC,EAAAjC,cAAA,GACAM,aAAA2B,EAAA3B,cAAA,GACAD,WAAA4B,EAAA5B,YAAA,IAEA,KAAAX,eAAA,CACA,EAGAc,gBAAAA,GACA,KAAA2B,MAAAvC,KAAAwC,SAAAC,IACA,GAAAA,EAAA,CACA,IAAAC,EACA,YAAA1C,KAAAqB,KACA,iCACA,+BACA,KAAAQ,KAAA,KAAA7B,KAAA0C,GAAAV,KAAAC,IACA,GAAAA,EAAAU,OACA,KAAAhB,UACA,KAAAiB,SAAAC,QAAA,QACA,KAAA/C,eAAA,IAGA,GAEA,EACAD,YAAAA,CAAAD,GACA,KAAAkD,SAAA,2BACAC,kBAAA,KACAC,iBAAA,KACA3B,KAAA,YACAW,KAAA,KACA,KAAAH,KAAA,CAAAS,GAAA1C,EAAA0C,IAAA,kCAAAN,KACAC,IACA,GAAAA,EAAAU,OACA,KAAAhB,UACA,KAAAiB,SAAA,CACAvB,KAAA,UACAE,QAAA,cAMA,ICpOmQ,I,UCO/P0B,GAAY,OACd,EACA1E,EACAsC,GACA,EACA,KACA,WACA,MAIF,EAAeoC,E","sources":["webpack://shiweisuzhou/./src/views/User/UserInvoice.vue","webpack://shiweisuzhou/src/views/User/UserInvoice.vue","webpack://shiweisuzhou/./src/views/User/UserInvoice.vue?a45f","webpack://shiweisuzhou/./src/views/User/UserInvoice.vue?ca6a"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('el-card',{staticStyle:{\"width\":\"100%\"}},[_c('div',{staticClass:\"clearfix flex-between\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\"我的发票\")]),_c('div',{staticClass:\"flex-between\"},[_c('span',{staticStyle:{\"color\":\"#666\",\"font-size\":\"12px\"}},[_vm._v(\"您已保存了\"+_vm._s(_vm.invoiceList.length)+\"个发票抬头信息,最多可创建5个。\")]),_c('el-button',{staticStyle:{\"float\":\"right\"},attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":function($event){return _vm.openDialog('add', {})}}},[_vm._v(\"新增\")])],1)]),_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.invoiceList,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"invoice_head\",\"label\":\"发票抬头\",\"width\":\"120\"}}),_c('el-table-column',{attrs:{\"prop\":\"tax_number\",\"label\":\"纳税人识别号\",\"width\":\"200\"}}),_c('el-table-column',{attrs:{\"prop\":\"opening_bank\",\"label\":\"开户银行\",\"min-width\":\"180\"}}),_c('el-table-column',{attrs:{\"prop\":\"bank_account\",\"label\":\"银行账号\",\"min-width\":\"180\"}}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){return _vm.openDialog('edit', scope.row)}}},[_vm._v(\"编辑\")]),_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){return _vm.handleDelete(scope.row)}}},[_vm._v(\"删除\")])]}}])})],1)],1),_c('el-dialog',{attrs:{\"title\":\"发票抬头\",\"visible\":_vm.dialogVisible,\"width\":\"700px\"},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('el-form',{ref:\"form\",attrs:{\"model\":_vm.form,\"label-width\":\"120px\",\"size\":\"small\",\"rules\":_vm.titleRules}},[_c('el-form-item',{attrs:{\"label\":\"发票抬头\",\"prop\":\"invoice_head\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写发票抬头\"},model:{value:(_vm.form.invoice_head),callback:function ($$v) {_vm.$set(_vm.form, \"invoice_head\", $$v)},expression:\"form.invoice_head\"}})],1),_c('el-form-item',{attrs:{\"label\":\"纳税人识别号\",\"prop\":\"tax_number\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写纳税人识别号\"},model:{value:(_vm.form.tax_number),callback:function ($$v) {_vm.$set(_vm.form, \"tax_number\", $$v)},expression:\"form.tax_number\"}})],1),_c('el-form-item',{attrs:{\"label\":\"开户银行\",\"prop\":\"opening_bank\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写开户银行\"},model:{value:(_vm.form.opening_bank),callback:function ($$v) {_vm.$set(_vm.form, \"opening_bank\", $$v)},expression:\"form.opening_bank\"}})],1),_c('el-form-item',{attrs:{\"label\":\"银行账号\",\"prop\":\"bank_account\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写银行账号\"},model:{value:(_vm.form.bank_account),callback:function ($$v) {_vm.$set(_vm.form, \"bank_account\", $$v)},expression:\"form.bank_account\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"small\"},on:{\"click\":function($event){_vm.dialogVisible = false}}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.saveInvoiceTitle}},[_vm._v(\"保存\")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UserInvoice.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UserInvoice.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UserInvoice.vue?vue&type=template&id=0c50ce5c&scoped=true\"\nimport script from \"./UserInvoice.vue?vue&type=script&lang=js\"\nexport * from \"./UserInvoice.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0c50ce5c\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","attrs","slot","_v","_s","invoiceList","length","on","$event","openDialog","scopedSlots","_u","key","fn","scope","row","handleDelete","dialogVisible","ref","form","titleRules","model","value","invoice_head","callback","$$v","$set","expression","tax_number","opening_bank","bank_account","saveInvoiceTitle","staticRenderFns","name","data","user","searchParam","pageSize","currentPage","total","type","required","message","trigger","pattern","mounted","getList","methods","post","offset","limit","then","res","handleSizeChange","val","handleCurrentChange","item","id","$refs","validate","valid","url","code","$message","success","$confirm","confirmButtonText","cancelButtonText","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/788.c3e035d9.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,UAAU,CAACG,YAAY,CAAC,MAAQ,SAAS,CAACH,EAAG,MAAM,CAACE,YAAY,wBAAwBE,MAAM,CAAC,KAAO,UAAUC,KAAK,UAAU,CAACL,EAAG,OAAO,CAACF,EAAIQ,GAAG,UAAUN,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,OAAO,CAACG,YAAY,CAAC,MAAQ,OAAO,YAAY,SAAS,CAACL,EAAIQ,GAAG,QAAQR,EAAIS,GAAGT,EAAIU,YAAYC,QAAQ,sBAAsBT,EAAG,YAAY,CAACG,YAAY,CAAC,MAAQ,SAASC,MAAM,CAAC,KAAO,QAAQ,KAAO,WAAWM,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOb,EAAIc,WAAW,MAAO,CAAC,EAAE,IAAI,CAACd,EAAIQ,GAAG,SA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AAAiB,SAAAC,QAAA,QACA,KAAA/C,eAAA,IAGA,GAEA,EACAD,YAAAA,CAAAD,GACA,KAAAkD,SAAA,2BACAC,kBAAA,KACAC,iBAAA,KACA3B,KAAA,YACAW,KAAA,KACA,KAAAH,KAAA,CAAAS,GAAA1C,EAAA0C,IAAA,kCAAAN,KACAC,IACA,GAAAA,EAAAU,OACA,KAAAhB,UACA,KAAAiB,SAAA,CACAvB,KAAA,UACAE,QAAA,cAMA,ICpOiS,I,SCO7R0B,GAAY,OACd,EACA1E,EACAsC,GACA,EACA,KACA,WACA,MAIF,EAAeoC,E","sources":["webpack://shiweisuzhou/./src/views/User/UserInvoice.vue","webpack://shiweisuzhou/src/views/User/UserInvoice.vue","webpack://shiweisuzhou/./src/views/User/UserInvoice.vue?dc78","webpack://shiweisuzhou/./src/views/User/UserInvoice.vue?03b3"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('el-card',{staticStyle:{\"width\":\"100%\"}},[_c('div',{staticClass:\"clearfix flex-between\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\"我的发票\")]),_c('div',{staticClass:\"flex-between\"},[_c('span',{staticStyle:{\"color\":\"#666\",\"font-size\":\"12px\"}},[_vm._v(\"您已保存了\"+_vm._s(_vm.invoiceList.length)+\"个发票抬头信息,最多可创建5个。\")]),_c('el-button',{staticStyle:{\"float\":\"right\"},attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":function($event){return _vm.openDialog('add', {})}}},[_vm._v(\"新增\")])],1)]),_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.invoiceList,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"invoice_head\",\"label\":\"发票抬头\",\"width\":\"120\"}}),_c('el-table-column',{attrs:{\"prop\":\"tax_number\",\"label\":\"纳税人识别号\",\"width\":\"200\"}}),_c('el-table-column',{attrs:{\"prop\":\"opening_bank\",\"label\":\"开户银行\",\"min-width\":\"180\"}}),_c('el-table-column',{attrs:{\"prop\":\"bank_account\",\"label\":\"银行账号\",\"min-width\":\"180\"}}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){return _vm.openDialog('edit', scope.row)}}},[_vm._v(\"编辑\")]),_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){return _vm.handleDelete(scope.row)}}},[_vm._v(\"删除\")])]}}])})],1)],1),_c('el-dialog',{attrs:{\"title\":\"发票抬头\",\"visible\":_vm.dialogVisible,\"width\":\"700px\"},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('el-form',{ref:\"form\",attrs:{\"model\":_vm.form,\"label-width\":\"120px\",\"size\":\"small\",\"rules\":_vm.titleRules}},[_c('el-form-item',{attrs:{\"label\":\"发票抬头\",\"prop\":\"invoice_head\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写发票抬头\"},model:{value:(_vm.form.invoice_head),callback:function ($$v) {_vm.$set(_vm.form, \"invoice_head\", $$v)},expression:\"form.invoice_head\"}})],1),_c('el-form-item',{attrs:{\"label\":\"纳税人识别号\",\"prop\":\"tax_number\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写纳税人识别号\"},model:{value:(_vm.form.tax_number),callback:function ($$v) {_vm.$set(_vm.form, \"tax_number\", $$v)},expression:\"form.tax_number\"}})],1),_c('el-form-item',{attrs:{\"label\":\"开户银行\",\"prop\":\"opening_bank\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写开户银行\"},model:{value:(_vm.form.opening_bank),callback:function ($$v) {_vm.$set(_vm.form, \"opening_bank\", $$v)},expression:\"form.opening_bank\"}})],1),_c('el-form-item',{attrs:{\"label\":\"银行账号\",\"prop\":\"bank_account\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写银行账号\"},model:{value:(_vm.form.bank_account),callback:function ($$v) {_vm.$set(_vm.form, \"bank_account\", $$v)},expression:\"form.bank_account\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"small\"},on:{\"click\":function($event){_vm.dialogVisible = false}}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.saveInvoiceTitle}},[_vm._v(\"保存\")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UserInvoice.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./UserInvoice.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UserInvoice.vue?vue&type=template&id=0c50ce5c&scoped=true\"\nimport script from \"./UserInvoice.vue?vue&type=script&lang=js\"\nexport * from \"./UserInvoice.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0c50ce5c\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","attrs","slot","_v","_s","invoiceList","length","on","$event","openDialog","scopedSlots","_u","key","fn","scope","row","handleDelete","dialogVisible","ref","form","titleRules","model","value","invoice_head","callback","$$v","$set","expression","tax_number","opening_bank","bank_account","saveInvoiceTitle","staticRenderFns","name","data","user","searchParam","pageSize","currentPage","total","type","required","message","trigger","pattern","mounted","getList","methods","post","offset","limit","then","res","handleSizeChange","val","handleCurrentChange","item","id","$refs","validate","valid","url","code","$message","success","$confirm","confirmButtonText","cancelButtonText","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/807.8f1f61a0.js b/dist/js/807.8f1f61a0.js deleted file mode 100644 index a05b955..0000000 --- a/dist/js/807.8f1f61a0.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[807],{1734:function(e,t,i){i.d(t,{A:function(){return d}});var s=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:("add"===e.type?"新增":"编辑")+"收货地址",visible:e.visible,width:"700px"},on:{close:e.handleClose}},[t("el-form",{ref:"addressForm",attrs:{model:e.form,rules:e.rules,"label-width":"100px",size:"small"}},[t("el-form-item",{attrs:{label:"收货人",prop:"username"}},[t("el-input",{attrs:{placeholder:"请填写收货人姓名,限制10个字符",maxlength:"10"},model:{value:e.form.username,callback:function(t){e.$set(e.form,"username",t)},expression:"form.username"}})],1),t("el-form-item",{attrs:{label:"所在地区",prop:"region"}},[t("div",{staticClass:"region-selector"},[t("el-select",{staticClass:"region-select",attrs:{placeholder:"选择省份/直辖市"},on:{change:e.handleProvinceChange},model:{value:e.form.province_id,callback:function(t){e.$set(e.form,"province_id",t)},expression:"form.province_id"}},e._l(e.provinces,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1),t("el-select",{staticClass:"region-select",attrs:{placeholder:"选择城市",disabled:!e.form.province_id},on:{change:e.handleCityChange},model:{value:e.form.city_id,callback:function(t){e.$set(e.form,"city_id",t)},expression:"form.city_id"}},e._l(e.cities,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1),t("el-select",{staticClass:"region-select",attrs:{placeholder:"选择县区",disabled:!e.form.city_id},model:{value:e.form.district_id,callback:function(t){e.$set(e.form,"district_id",t)},expression:"form.district_id"}},e._l(e.districts,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1)],1)]),t("el-form-item",{attrs:{label:"详细地址",prop:"detail_addr"}},[t("el-input",{attrs:{placeholder:"请填写详细地址,限制500个字符",maxlength:"500"},model:{value:e.form.detail_addr,callback:function(t){e.$set(e.form,"detail_addr",t)},expression:"form.detail_addr"}})],1),t("el-form-item",{attrs:{label:"手机号码",prop:"mobile"}},[t("el-input",{attrs:{placeholder:"请填写手机号码,限制11位数字",maxlength:"11",oninput:"value=value.replace(/[^\\d]/g,'')"},model:{value:e.form.mobile,callback:function(t){e.$set(e.form,"mobile",t)},expression:"form.mobile"}})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"small"},on:{click:e.handleClose}},[e._v("取消")]),t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.saveAddress}},[e._v("保存")])],1)],1)},a=[],r=(i(8111),i(2489),i(116),{name:"AddressFormDialog",props:{visible:{type:Boolean,default:!1},type:{type:String,required:!0,validator:e=>["add","edit"].includes(e)},initialData:{type:Object,default:()=>({})}},data(){const e=(e,t,i)=>t?/^1[3-9]\d{9}$/.test(t)?void i():i(new Error("请输入正确的11位手机号码")):i(new Error("请输入手机号码")),t=(e,t,i)=>{if(!this.form.province_id||!this.form.city_id||!this.form.district_id)return i(new Error("请完整选择省市区"));i()};return{form:{id:null,username:"",detail_addr:"",mobile:"",province_id:null,city_id:null,district_id:null,region:""},rules:{username:[{required:!0,message:"请输入收货人姓名",trigger:"blur"},{max:10,message:"姓名不能超过10个字符",trigger:"blur"}],region:[{required:!0,validator:t,trigger:"change"}],detail_addr:[{required:!0,message:"请输入详细地址",trigger:"blur"},{max:500,message:"详细地址不能超过500个字符",trigger:"blur"}],mobile:[{required:!0,validator:e,trigger:"blur"}]},regionData:[]}},computed:{provinces(){return this.regionData.filter(e=>1===e.level)},cities(){return this.form.province_id?this.regionData.filter(e=>2===e.level&&e.pid===this.form.province_id):[]},districts(){return this.form.city_id?this.regionData.filter(e=>3===e.level&&e.pid===this.form.city_id):[]}},watch:{visible(e){e&&this.initForm()},initialData:{handler(){this.visible&&this.initForm()},deep:!0}},mounted(){this.getRegionData()},methods:{async getRegionData(){try{const e=await this.post({},"/api/uservice/user/getAreas");e&&e.data?this.regionData=e.data:this.$message.error("获取地区数据失败")}catch(e){console.error("获取地区数据出错:",e),this.$message.error("获取地区数据时发生错误")}},initForm(){this.$nextTick(()=>{this.$refs.addressForm&&this.$refs.addressForm.resetFields(),this.form={id:"edit"===this.type?this.initialData.id:null,username:this.initialData.username||"",detail_addr:this.initialData.detail_addr||"",mobile:this.initialData.mobile||"",province_id:this.initialData.province_id||null,city_id:this.initialData.city_id||null,district_id:this.initialData.district_id||null,region:this.initialData.region||""},"edit"===this.type&&this.initialData.region&&!this.form.province_id&&this.echoRegionSelection(this.initialData.region)})},echoRegionSelection(e){const t=e.split(" ");if(t.length<3)return;const i=this.provinces.find(e=>e.name===t[0]);i&&(this.form.province_id=i.id,this.$nextTick(()=>{const e=this.cities.find(e=>e.name===t[1]);e&&(this.form.city_id=e.id,this.$nextTick(()=>{const e=this.districts.find(e=>e.name===t[2]);e&&(this.form.district_id=e.id)}))}))},handleProvinceChange(){this.form.city_id=null,this.form.district_id=null},handleCityChange(){this.form.district_id=null},saveAddress(){this.$refs.addressForm.validate(async e=>{if(!e)return;const t=this.provinces.find(e=>e.id===this.form.province_id),i=this.cities.find(e=>e.id===this.form.city_id),s=this.districts.find(e=>e.id===this.form.district_id);if(!(t&&i&&s))return void this.$message.warning("地区信息不完整");const a={...this.form,region:`${t.name} ${i.name} ${s.name}`};this.$emit("save",a),this.handleClose()})},handleClose(){this.$emit("update:visible",!1)}}}),o=r,l=i(1656),n=(0,l.A)(o,s,a,!1,null,"7d3ebefd",null),d=n.exports},1807:function(e,t,i){i.r(t),i.d(t,{default:function(){return h}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"order-page"},[t("div",{staticClass:"page-header"},[t("h2",[e._v("填写收货人信息")]),t("el-button",{staticClass:"address-book-btn",attrs:{type:"text"},on:{click:function(t){return e.openDialog("add",{})}}},[e._v(" 新增/修改地址 ")])],1),t("div",{staticClass:"info-section"},[t("h3",[e._v("收货人信息")]),t("div",{staticClass:"address-item"},[t("span",{staticClass:"label"},[e._v("收货地址:")]),t("div",{staticClass:"address-content"},e._l(e.addresses,function(i,s){return t("div",{key:s,staticClass:"saved-address",class:{selected:e.selectedAddressIndex===s},on:{click:function(t){return e.selectAddress(s)}}},[t("span",{staticClass:"name-tag"},[e._v(e._s(i.name)+" "+e._s(i.province))]),t("span",{staticClass:"detail"},[e._v(e._s(i.address)+" "+e._s(i.phone))]),t("el-button",{staticClass:"edit-btn",attrs:{type:"text"},on:{click:function(t){return t.stopPropagation(),e.handleEdit(i)}}},[e._v("编辑")]),t("el-button",{staticClass:"delete-btn",attrs:{type:"text"},on:{click:function(t){return t.stopPropagation(),e.handleDelete()}}},[e._v("删除")])],1)}),0)]),t("h3",[e._v("发票信息")]),t("div",{staticClass:"invoice-type-item"},[t("span",{staticClass:"label"},[e._v("是否开票:")]),t("el-radio-group",{model:{value:e.needInvoice,callback:function(t){e.needInvoice=t},expression:"needInvoice"}},[t("el-radio",{attrs:{label:!0}},[e._v("是")]),t("el-radio",{attrs:{label:!1}},[e._v("否")])],1)],1),e.needInvoice?t("div",{staticClass:"invoice-type-item"},[t("span",{staticClass:"label"},[e._v("发票类型:")]),t("el-radio-group",{model:{value:e.invoice_type,callback:function(t){e.invoice_type=t},expression:"invoice_type"}},[t("el-radio",{attrs:{label:1}},[e._v("增值税普通发票")]),t("el-radio",{attrs:{label:2}},[e._v("普通电子发票")])],1)],1):e._e(),e.needInvoice?t("div",{staticClass:"invoice-title-item"},[t("span",{staticClass:"label"},[e._v("发票抬头:")]),t("el-select",{staticClass:"invoice-title-select",attrs:{placeholder:"请选择发票抬头"},model:{value:e.selectedInvoiceTitle,callback:function(t){e.selectedInvoiceTitle=t},expression:"selectedInvoiceTitle"}},e._l(e.invoiceTitles,function(e,i){return t("el-option",{key:i,attrs:{label:e.invoice_head,value:e.id}})}),1),t("el-button",{staticClass:"add-title-btn",attrs:{type:"text"},on:{click:e.openTitleDialog}},[e._v("+ 添加")])],1):e._e()]),e._m(0),t("div",{staticClass:"goods-section"},[t("h3",[e._v("商品清单")]),e._l(e.orderGroups,function(i,s){return t("div",{key:s,staticClass:"order-group"},[t("div",{staticClass:"supplier-info"},[t("span",[e._v("供货名称:"+e._s(i.supplier))])]),t("table",{staticClass:"goods-table"},[e._m(1,!0),t("tbody",e._l(i.items,function(i,s){return t("tr",{key:s},[t("td",[t("img",{staticClass:"goods-img",attrs:{src:i.image,alt:"商品图片"}}),t("span",{staticClass:"goods-name"},[e._v(e._s(i.name))])]),t("td",[e._v(e._s(i.spec))]),t("td",[e._v(e._s(i.price))]),t("td",[e._v(e._s(i.quantity))]),t("td",[e._v(e._s(i.freight))]),t("td",[e._v(e._s(i.deliveryType))]),t("td",{staticClass:"subtotal"},[e._v(e._s(i.subtotal))])])}),0)]),t("div",{staticClass:"order-remark"},[t("span",{staticClass:"remark-label"},[e._v("订单备注:")]),t("div",{staticClass:"rich-text-editor"},[t("el-input",{staticClass:"remark-editor",attrs:{type:"textarea",rows:"4",placeholder:"请输入订单备注信息"},model:{value:i.remark,callback:function(t){e.$set(i,"remark",t)},expression:"group.remark"}}),e._e()],1)])])}),t("div",{staticClass:"total-info"},[t("p",[e._v(" 共 "+e._s(e.totalGoodsCount)+" 件商品,总商品金额 ¥"+e._s(e.totalGoodsAmount)+" ")]),t("p",[e._v("总运费 ¥"+e._s(e.totalFreight))]),t("p",{staticClass:"pay-amount"},[e._v("实付总金额 ¥"+e._s(e.totalPayAmount))]),t("p",{staticClass:"address-info"},[e._v("配送至:"+e._s(e.selectedAddress.name)+" "+e._s(e.selectedAddress.address)+" "+e._s(e.selectedAddress.tel))]),t("el-button",{staticClass:"submit-btn",attrs:{type:"primary"},on:{click:e.openDialogs}},[e._v(" 提交订单 ")])],1)],2),t("AddressFormDialog",{attrs:{visible:e.dialogVisible,type:e.dialogType,"initial-data":e.dialogData},on:{"update:visible":function(t){e.dialogVisible=t},save:e.handleSaveAddress}}),t("el-dialog",{attrs:{title:"新增发票抬头",visible:e.invoiceTitleDialogVisible,width:"700px","before-close":e.handleTitleDialogClose},on:{"update:visible":function(t){e.invoiceTitleDialogVisible=t}}},[t("el-form",{ref:"titleForm",staticClass:"invoice-title-form",attrs:{model:e.titleForm,rules:e.titleRules,"label-width":"120px"}},[t("el-form-item",{attrs:{label:"发票抬头",prop:"invoice_head"}},[t("el-input",{attrs:{placeholder:"请输入发票抬头",maxlength:"100"},model:{value:e.titleForm.invoice_head,callback:function(t){e.$set(e.titleForm,"invoice_head",t)},expression:"titleForm.invoice_head"}})],1),t("el-form-item",{attrs:{label:"纳税人识别号",prop:"tax_number"}},[t("el-input",{attrs:{placeholder:"请输入纳税人识别号",maxlength:"20"},model:{value:e.titleForm.tax_number,callback:function(t){e.$set(e.titleForm,"tax_number",t)},expression:"titleForm.tax_number"}})],1),t("el-form-item",{attrs:{label:"开户银行",prop:"opening_bank"}},[t("el-input",{attrs:{placeholder:"请输入开户银行",maxlength:"100"},model:{value:e.titleForm.opening_bank,callback:function(t){e.$set(e.titleForm,"opening_bank",t)},expression:"titleForm.opening_bank"}})],1),t("el-form-item",{attrs:{label:"银行账号",prop:"bank_account"}},[t("el-input",{attrs:{placeholder:"请输入银行账号",maxlength:"30"},model:{value:e.titleForm.bank_account,callback:function(t){e.$set(e.titleForm,"bank_account",t)},expression:"titleForm.bank_account"}})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.handleTitleDialogClose}},[e._v("取消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.saveInvoiceTitle}},[e._v("确定")])],1)],1),t("el-dialog",{staticClass:"confirm-dialog",attrs:{title:"《电子企业采购契约》",visible:e.showConfirmDialog,modal:!0,"close-on-click-modal":!1,"show-close":!0,width:"700px"},on:{"update:visible":function(t){e.showConfirmDialog=t},open:e.startReadingTimer}},[t("div",{staticClass:"contract-content",domProps:{innerHTML:e._s(e.util.formateRichText(e.content))}}),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.showConfirmDialog=!1}}},[e._v("取消")]),t("el-button",{attrs:{type:"primary",disabled:e.remainingSeconds>0},on:{click:e.submitOrder}},[e._v(" "+e._s(e.remainingSeconds>0?`请阅读完所有的条款再同意${e.remainingSeconds}秒`:"同意并提交")+" ")])],1)])],1)},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"contract-section"},[t("h3",[e._v("签署合同")]),t("p",[e._v("如需签署合同,提交订单后,请至采购中心>合同中心签署")])])},function(){var e=this,t=e._self._c;return t("thead",[t("tr",[t("th",[e._v("商品")]),t("th",[e._v("规格")]),t("th",[e._v("单价(元)")]),t("th",[e._v("数量")]),t("th",[e._v("运费")]),t("th",[e._v("收货方式")]),t("th",[e._v("小计(元)")])])])}],r=(i(4114),i(8111),i(7588),i(1701),i(3518)),o=i(1734),l={name:"OrderPage",components:{AddressFormDialog:o.A},data(){return{addresses:[],selectedAddressIndex:-1,selectedTradeType:1,needInvoice:!0,invoice_type:1,invoiceTitles:[],selectedInvoiceTitle:null,orderGroups:[],totalGoodsCount:3,totalGoodsAmount:973,totalFreight:0,totalPayAmount:0,dialogVisible:!1,dialogType:"add",dialogData:{},invoiceTitleDialogVisible:!1,titleForm:{invoice_head:"",tax_number:"",opening_bank:"",bank_account:""},titleRules:{invoice_head:[{required:!0,message:"请输入发票抬头",trigger:"blur"}],tax_number:[{required:!0,message:"请输入纳税人识别号",trigger:"blur"},{pattern:/^[A-Z0-9]{15,20}$/,message:"纳税人识别号格式不正确",trigger:"blur"}],opening_bank:[{required:!0,message:"请输入开户银行",trigger:"blur"}],bank_account:[{required:!0,message:"请输入银行账号",trigger:"blur"}]},showConfirmDialog:!1,content:"",remainingSeconds:5,timer:null}},computed:{...(0,r.L8)(["getOrderData"]),selectedAddress(){return this.addresses[this.selectedAddressIndex]||{}}},mounted(){this.post({},"/api/uservice/user/getMyInfo").then(e=>{1==e.data.is_enterprise&&this.$alert("为了确保您能享受到企业专属的价格、服务以及正规的开票流程,首次注册登录后,我们强烈建议您立即完成企业资质认证。","温馨提示",{confirmButtonText:"确定",callback:e=>{this.$router.push("/User/PurchaserAdd")}})}),this.getOrderData?this.initOrderData(this.getOrderData):(this.$message.error("未获取到商品信息,请重新操作"),this.$router.go(-1)),this.getAddress(),this.getInvoiceList()},beforeDestroy(){this.timer&&clearInterval(this.timer)},watch:{},methods:{...(0,r.PY)(["clearOrderData"]),openTitleDialog(){this.invoiceTitleDialogVisible=!0,this.$nextTick(()=>{this.$refs.titleForm.resetFields()})},handleTitleDialogClose(){this.invoiceTitleDialogVisible=!1,this.$refs.titleForm.resetFields()},saveInvoiceTitle(){this.$refs.titleForm.validate(e=>{e&&this.post(this.titleForm,"/api/enterprise_invoice/create").then(e=>{1==e.code&&(this.getInvoiceList(),this.$message.success("发票抬头添加成功"),this.invoiceTitleDialogVisible=!1)})})},getInvoiceList(){this.post({offset:0,limit:100},"/api/enterprise_invoice/index").then(e=>{this.invoiceTitles=e.data})},openDialog(e,t){this.dialogType=e,this.dialogData={...t},this.dialogVisible=!0},handleEdit(e){console.log(e),e.username=e.name,e.mobile=e.tel,this.openDialog("edit",e)},handleDelete(e){this.$confirm("此操作将永久删除该地址, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({id:e.id},"/api/uservice/user/delConsignee").then(e=>{1==e.code&&(this.getAddress(),this.$message.success("删除成功!"))})}).catch(()=>{this.$message.info("已取消删除")})},initOrderData(e){if("product"===e.from){const t=e.items[0];this.orderGroups=[{supplier:t.product.supplier_name,items:this.formatItems([t])}]}else"cart"===e.from&&(this.orderGroups=Object.entries(e.groups).map(([e,t])=>({supplier:e,items:this.formatItems(t)})));this.calculateTotal()},formatItems(e){return console.log(e,13213),e.map(e=>({id:e.sku.id,productId:e.product.id,name:e.product.title,image:e.product.headimg,spec:e.sku.sku_name,price:(e.sku.price/100).toFixed(2),quantity:e.quantity,freight:"0.00",deliveryType:"邮寄",type:e.product.type,subtotal:(e.sku.price/100*e.quantity+parseFloat("0.00")).toFixed(2)}))},getPost(){if(!this.selectedAddress.id)return void this.$message.warning("请先选择收货地址");this.totalFreight=0;const e=[];this.orderGroups.forEach((t,i)=>{t.items.forEach((t,i)=>{const s={consignee_id:this.selectedAddress.id,sku_id:t.id,num:t.quantity},a=this.post(s,"/api/order/get_post_price").then(e=>{if(1===e.code){const i=(e.data.price/100).toFixed(2);t.freight=i,t.subtotal=(parseFloat(t.price)*t.quantity+parseFloat(i)).toFixed(2),this.totalFreight=(parseFloat(this.totalFreight)+parseFloat(i)).toFixed(2)}});e.push(a)})}),Promise.all(e).then(()=>{this.calculateTotal()})},calculateTotalFreight(){let e=0;this.orderGroups.forEach(t=>{t.items.forEach(t=>{console.log(t),e+=parseFloat(t.freight)})}),this.totalFreight=e.toFixed(2)},calculateTotal(){let e=0,t=0;this.orderGroups.forEach(i=>{i.items.forEach(i=>{e+=i.quantity,t+=parseFloat(i.subtotal)})}),this.totalGoodsCount=e,this.totalGoodsAmount=t.toFixed(2),this.totalPayAmount=t.toFixed(2)},handleSaveAddress(e){e.is_default=0,"add"===this.dialogType?this.post(e,"/api/uservice/user/addNewConsignee").then(e=>{1==e.code&&(this.$message.success("保存成功"),this.getAddress(),this.dialogVisible=!1)}):this.post(e,"/api/uservice/user/editConsignee").then(e=>{1==e.code&&(this.$message.success("保存成功"),this.getAddress(),this.dialogVisible=!1)})},getAddress(){this.post({contactType:"CONSIGNEE",offset:"0",limit:"100"},"/api/uservice/user/getContactOrConsignee").then(e=>{e&&(this.addresses=e.data||[])})},selectAddress(e){this.selectedAddressIndex=e,this.getPost()},openDialogs(){this.selectedAddress.id?this.needInvoice&&null===this.selectedInvoiceTitle?this.$message.warning("请选择发票抬头"):this.post({id:19},"/api/pbservice/Other/getDictionary").then(e=>{this.content=e.data[0].content,this.showConfirmDialog=!0}):this.$message.warning("请先选择收货地址")},startReadingTimer(){this.remainingSeconds=5,this.timer&&clearInterval(this.timer),this.timer=setInterval(()=>{this.remainingSeconds--,this.remainingSeconds<=0&&(clearInterval(this.timer),this.timer=null)},1e3)},submitOrder(){this.$loading({lock:!0,text:"订单处理中...",spinner:"el-icon-loading"});let e=[];this.orderGroups.forEach((t,i)=>{t.items.forEach((i,s)=>{console.log(i),e.push({type:i.type,product_id:i.productId,sku_id:i.id,product_num:i.quantity,post:this.selectedAddress.id,remark:t.remark||""})})});let t={product_list:e,invoice_id:this.selectedInvoiceTitle,invoice_type:this.invoice_type};this.post({data:JSON.stringify(t)},"/api/order/create").then(e=>{this.$loading().close(),1==e.code&&this.post({order_id:e.data.order_id,pay_method:"ABC_H5",pay_platform:"PC"},"/api/order/pay").then(e=>{this.clearOrderData(),this.showConfirmDialog=!1,1==e.code&&(this.$message.success("订单提交成功!"),this.$router.push("/User/OrderList"))})})}}},n=l,d=i(1656),c=(0,d.A)(n,s,a,!1,null,"b0ee9810",null),h=c.exports}}]); -//# sourceMappingURL=807.8f1f61a0.js.map \ No newline at end of file diff --git a/dist/js/807.8f1f61a0.js.map b/dist/js/807.8f1f61a0.js.map deleted file mode 100644 index 03dd893..0000000 --- a/dist/js/807.8f1f61a0.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/807.8f1f61a0.js","mappings":"uJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,YAAY,CAACE,MAAM,CAAC,OAAwB,QAAbJ,EAAIK,KAAiB,KAAO,MAA/B,OAA0C,QAAUL,EAAIM,QAAQ,MAAQ,SAASC,GAAG,CAAC,MAAQP,EAAIQ,cAAc,CAACN,EAAG,UAAU,CAACO,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xD,KAAA,KAAAiE,gBAAAlH,GACA6G,OAAAZ,EAAAY,QAAA,SAIA,IAAApF,EAAA,CACAqL,aAAAH,EACAI,WAAA,KAAArH,qBACAF,aAAA,KAAAA,cAEA,KAAAvC,KACA,CACAxB,KAAAuL,KAAAC,UAAAxL,IAEA,qBACAsH,KAAA/F,IACA,KAAAuJ,WAAAW,QACA,GAAAlK,EAAA8G,MACA,KAAA7G,KACA,CACAkK,SAAAnK,EAAAvB,KAAA0L,SACAC,WAAA,SACAC,aAAA,MAEA,kBACAtE,KAAA/F,IACA,KAAAsK,iBACA,KAAArF,mBAAA,EACA,GAAAjF,EAAA8G,OACA,KAAA5G,SAAA6G,QAAA,WACA,KAAAX,QAAAC,KAAA,uBAKA,ICpvB6P,I,UCQzP9E,GAAY,OACd,EACAlG,EACAyC,GACA,EACA,KACA,WACA,MAIF,EAAeyD,E","sources":["webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue","webpack://shiweisuzhou/src/components/common/AddressFormDialog.vue","webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue?ef45","webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue?6358","webpack://shiweisuzhou/./src/views/Order/Index.vue","webpack://shiweisuzhou/src/views/Order/Index.vue","webpack://shiweisuzhou/./src/views/Order/Index.vue?7896","webpack://shiweisuzhou/./src/views/Order/Index.vue?7cca"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-dialog',{attrs:{\"title\":`${_vm.type === 'add' ? '新增' : '编辑'}收货地址`,\"visible\":_vm.visible,\"width\":\"700px\"},on:{\"close\":_vm.handleClose}},[_c('el-form',{ref:\"addressForm\",attrs:{\"model\":_vm.form,\"rules\":_vm.rules,\"label-width\":\"100px\",\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"收货人\",\"prop\":\"username\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写收货人姓名,限制10个字符\",\"maxlength\":\"10\"},model:{value:(_vm.form.username),callback:function ($$v) {_vm.$set(_vm.form, \"username\", $$v)},expression:\"form.username\"}})],1),_c('el-form-item',{attrs:{\"label\":\"所在地区\",\"prop\":\"region\"}},[_c('div',{staticClass:\"region-selector\"},[_c('el-select',{staticClass:\"region-select\",attrs:{\"placeholder\":\"选择省份/直辖市\"},on:{\"change\":_vm.handleProvinceChange},model:{value:(_vm.form.province_id),callback:function ($$v) {_vm.$set(_vm.form, \"province_id\", $$v)},expression:\"form.province_id\"}},_vm._l((_vm.provinces),function(province){return _c('el-option',{key:province.id,attrs:{\"label\":province.name,\"value\":province.id}})}),1),_c('el-select',{staticClass:\"region-select\",attrs:{\"placeholder\":\"选择城市\",\"disabled\":!_vm.form.province_id},on:{\"change\":_vm.handleCityChange},model:{value:(_vm.form.city_id),callback:function ($$v) {_vm.$set(_vm.form, \"city_id\", $$v)},expression:\"form.city_id\"}},_vm._l((_vm.cities),function(city){return _c('el-option',{key:city.id,attrs:{\"label\":city.name,\"value\":city.id}})}),1),_c('el-select',{staticClass:\"region-select\",attrs:{\"placeholder\":\"选择县区\",\"disabled\":!_vm.form.city_id},model:{value:(_vm.form.district_id),callback:function ($$v) {_vm.$set(_vm.form, \"district_id\", $$v)},expression:\"form.district_id\"}},_vm._l((_vm.districts),function(district){return _c('el-option',{key:district.id,attrs:{\"label\":district.name,\"value\":district.id}})}),1)],1)]),_c('el-form-item',{attrs:{\"label\":\"详细地址\",\"prop\":\"detail_addr\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写详细地址,限制500个字符\",\"maxlength\":\"500\"},model:{value:(_vm.form.detail_addr),callback:function ($$v) {_vm.$set(_vm.form, \"detail_addr\", $$v)},expression:\"form.detail_addr\"}})],1),_c('el-form-item',{attrs:{\"label\":\"手机号码\",\"prop\":\"mobile\"}},[_c('el-input',{attrs:{\"placeholder\":\"请填写手机号码,限制11位数字\",\"maxlength\":\"11\",\"oninput\":\"value=value.replace(/[^\\\\d]/g,'')\"},model:{value:(_vm.form.mobile),callback:function ($$v) {_vm.$set(_vm.form, \"mobile\", $$v)},expression:\"form.mobile\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"small\"},on:{\"click\":_vm.handleClose}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.saveAddress}},[_vm._v(\"保存\")])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddressFormDialog.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddressFormDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AddressFormDialog.vue?vue&type=template&id=7d3ebefd&scoped=true\"\nimport script from \"./AddressFormDialog.vue?vue&type=script&lang=js\"\nexport * from \"./AddressFormDialog.vue?vue&type=script&lang=js\"\nimport style0 from \"./AddressFormDialog.vue?vue&type=style&index=0&id=7d3ebefd&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7d3ebefd\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"order-page\"},[_c('div',{staticClass:\"page-header\"},[_c('h2',[_vm._v(\"填写收货人信息\")]),_c('el-button',{staticClass:\"address-book-btn\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.openDialog('add', {})}}},[_vm._v(\" 新增/修改地址 \")])],1),_c('div',{staticClass:\"info-section\"},[_c('h3',[_vm._v(\"收货人信息\")]),_c('div',{staticClass:\"address-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"收货地址:\")]),_c('div',{staticClass:\"address-content\"},_vm._l((_vm.addresses),function(addr,index){return _c('div',{key:index,staticClass:\"saved-address\",class:{ selected: _vm.selectedAddressIndex === index },on:{\"click\":function($event){return _vm.selectAddress(index)}}},[_c('span',{staticClass:\"name-tag\"},[_vm._v(_vm._s(addr.name)+\" \"+_vm._s(addr.province))]),_c('span',{staticClass:\"detail\"},[_vm._v(_vm._s(addr.address)+\" \"+_vm._s(addr.phone))]),_c('el-button',{staticClass:\"edit-btn\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.handleEdit(addr)}}},[_vm._v(\"编辑\")]),_c('el-button',{staticClass:\"delete-btn\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.handleDelete()}}},[_vm._v(\"删除\")])],1)}),0)]),_c('h3',[_vm._v(\"发票信息\")]),_c('div',{staticClass:\"invoice-type-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"是否开票:\")]),_c('el-radio-group',{model:{value:(_vm.needInvoice),callback:function ($$v) {_vm.needInvoice=$$v},expression:\"needInvoice\"}},[_c('el-radio',{attrs:{\"label\":true}},[_vm._v(\"是\")]),_c('el-radio',{attrs:{\"label\":false}},[_vm._v(\"否\")])],1)],1),(_vm.needInvoice)?_c('div',{staticClass:\"invoice-type-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"发票类型:\")]),_c('el-radio-group',{model:{value:(_vm.invoice_type),callback:function ($$v) {_vm.invoice_type=$$v},expression:\"invoice_type\"}},[_c('el-radio',{attrs:{\"label\":1}},[_vm._v(\"增值税普通发票\")]),_c('el-radio',{attrs:{\"label\":2}},[_vm._v(\"普通电子发票\")])],1)],1):_vm._e(),(_vm.needInvoice)?_c('div',{staticClass:\"invoice-title-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"发票抬头:\")]),_c('el-select',{staticClass:\"invoice-title-select\",attrs:{\"placeholder\":\"请选择发票抬头\"},model:{value:(_vm.selectedInvoiceTitle),callback:function ($$v) {_vm.selectedInvoiceTitle=$$v},expression:\"selectedInvoiceTitle\"}},_vm._l((_vm.invoiceTitles),function(title,index){return _c('el-option',{key:index,attrs:{\"label\":title.invoice_head,\"value\":title.id}})}),1),_c('el-button',{staticClass:\"add-title-btn\",attrs:{\"type\":\"text\"},on:{\"click\":_vm.openTitleDialog}},[_vm._v(\"+ 添加\")])],1):_vm._e()]),_vm._m(0),_c('div',{staticClass:\"goods-section\"},[_c('h3',[_vm._v(\"商品清单\")]),_vm._l((_vm.orderGroups),function(group,groupIndex){return _c('div',{key:groupIndex,staticClass:\"order-group\"},[_c('div',{staticClass:\"supplier-info\"},[_c('span',[_vm._v(\"供货名称:\"+_vm._s(group.supplier))])]),_c('table',{staticClass:\"goods-table\"},[_vm._m(1,true),_c('tbody',_vm._l((group.items),function(item,itemIndex){return _c('tr',{key:itemIndex},[_c('td',[_c('img',{staticClass:\"goods-img\",attrs:{\"src\":item.image,\"alt\":\"商品图片\"}}),_c('span',{staticClass:\"goods-name\"},[_vm._v(_vm._s(item.name))])]),_c('td',[_vm._v(_vm._s(item.spec))]),_c('td',[_vm._v(_vm._s(item.price))]),_c('td',[_vm._v(_vm._s(item.quantity))]),_c('td',[_vm._v(_vm._s(item.freight))]),_c('td',[_vm._v(_vm._s(item.deliveryType))]),_c('td',{staticClass:\"subtotal\"},[_vm._v(_vm._s(item.subtotal))])])}),0)]),_c('div',{staticClass:\"order-remark\"},[_c('span',{staticClass:\"remark-label\"},[_vm._v(\"订单备注:\")]),_c('div',{staticClass:\"rich-text-editor\"},[_c('el-input',{staticClass:\"remark-editor\",attrs:{\"type\":\"textarea\",\"rows\":\"4\",\"placeholder\":\"请输入订单备注信息\"},model:{value:(group.remark),callback:function ($$v) {_vm.$set(group, \"remark\", $$v)},expression:\"group.remark\"}}),(false)?_c('div',{staticClass:\"editor-toolbar\"},[_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-bold\",\"size\":\"mini\"}}),_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-italic\",\"size\":\"mini\"}}),_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-underline\",\"size\":\"mini\"}}),_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-link\",\"size\":\"mini\"}}),_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-picture\",\"size\":\"mini\"}})],1):_vm._e()],1)])])}),_c('div',{staticClass:\"total-info\"},[_c('p',[_vm._v(\" 共 \"+_vm._s(_vm.totalGoodsCount)+\" 件商品,总商品金额 ¥\"+_vm._s(_vm.totalGoodsAmount)+\" \")]),_c('p',[_vm._v(\"总运费 ¥\"+_vm._s(_vm.totalFreight))]),_c('p',{staticClass:\"pay-amount\"},[_vm._v(\"实付总金额 ¥\"+_vm._s(_vm.totalPayAmount))]),_c('p',{staticClass:\"address-info\"},[_vm._v(\"配送至:\"+_vm._s(_vm.selectedAddress.name)+\" \"+_vm._s(_vm.selectedAddress.address)+\" \"+_vm._s(_vm.selectedAddress.tel))]),_c('el-button',{staticClass:\"submit-btn\",attrs:{\"type\":\"primary\"},on:{\"click\":_vm.openDialogs}},[_vm._v(\" 提交订单 \")])],1)],2),_c('AddressFormDialog',{attrs:{\"visible\":_vm.dialogVisible,\"type\":_vm.dialogType,\"initial-data\":_vm.dialogData},on:{\"update:visible\":function($event){_vm.dialogVisible = $event},\"save\":_vm.handleSaveAddress}}),_c('el-dialog',{attrs:{\"title\":\"新增发票抬头\",\"visible\":_vm.invoiceTitleDialogVisible,\"width\":\"700px\",\"before-close\":_vm.handleTitleDialogClose},on:{\"update:visible\":function($event){_vm.invoiceTitleDialogVisible=$event}}},[_c('el-form',{ref:\"titleForm\",staticClass:\"invoice-title-form\",attrs:{\"model\":_vm.titleForm,\"rules\":_vm.titleRules,\"label-width\":\"120px\"}},[_c('el-form-item',{attrs:{\"label\":\"发票抬头\",\"prop\":\"invoice_head\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入发票抬头\",\"maxlength\":\"100\"},model:{value:(_vm.titleForm.invoice_head),callback:function ($$v) {_vm.$set(_vm.titleForm, \"invoice_head\", $$v)},expression:\"titleForm.invoice_head\"}})],1),_c('el-form-item',{attrs:{\"label\":\"纳税人识别号\",\"prop\":\"tax_number\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入纳税人识别号\",\"maxlength\":\"20\"},model:{value:(_vm.titleForm.tax_number),callback:function ($$v) {_vm.$set(_vm.titleForm, \"tax_number\", $$v)},expression:\"titleForm.tax_number\"}})],1),_c('el-form-item',{attrs:{\"label\":\"开户银行\",\"prop\":\"opening_bank\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入开户银行\",\"maxlength\":\"100\"},model:{value:(_vm.titleForm.opening_bank),callback:function ($$v) {_vm.$set(_vm.titleForm, \"opening_bank\", $$v)},expression:\"titleForm.opening_bank\"}})],1),_c('el-form-item',{attrs:{\"label\":\"银行账号\",\"prop\":\"bank_account\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入银行账号\",\"maxlength\":\"30\"},model:{value:(_vm.titleForm.bank_account),callback:function ($$v) {_vm.$set(_vm.titleForm, \"bank_account\", $$v)},expression:\"titleForm.bank_account\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.handleTitleDialogClose}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveInvoiceTitle}},[_vm._v(\"确定\")])],1)],1),_c('el-dialog',{staticClass:\"confirm-dialog\",attrs:{\"title\":\"《电子企业采购契约》\",\"visible\":_vm.showConfirmDialog,\"modal\":true,\"close-on-click-modal\":false,\"show-close\":true,\"width\":\"700px\"},on:{\"update:visible\":function($event){_vm.showConfirmDialog=$event},\"open\":_vm.startReadingTimer}},[_c('div',{staticClass:\"contract-content\",domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(_vm.content))}}),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.showConfirmDialog = false}}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"disabled\":_vm.remainingSeconds > 0},on:{\"click\":_vm.submitOrder}},[_vm._v(\" \"+_vm._s(_vm.remainingSeconds > 0 ? `请阅读完所有的条款再同意${_vm.remainingSeconds}秒` : \"同意并提交\")+\" \")])],1)])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"contract-section\"},[_c('h3',[_vm._v(\"签署合同\")]),_c('p',[_vm._v(\"如需签署合同,提交订单后,请至采购中心>合同中心签署\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"商品\")]),_c('th',[_vm._v(\"规格\")]),_c('th',[_vm._v(\"单价(元)\")]),_c('th',[_vm._v(\"数量\")]),_c('th',[_vm._v(\"运费\")]),_c('th',[_vm._v(\"收货方式\")]),_c('th',[_vm._v(\"小计(元)\")])])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n ","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=b0ee9810&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=b0ee9810&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 \"b0ee9810\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","attrs","type","visible","on","handleClose","ref","form","rules","model","value","username","callback","$$v","$set","expression","staticClass","handleProvinceChange","province_id","_l","provinces","province","key","id","name","handleCityChange","city_id","cities","city","district_id","districts","district","detail_addr","mobile","slot","_v","saveAddress","staticRenderFns","props","Boolean","default","String","required","validator","val","includes","initialData","Object","data","validateMobile","rule","test","Error","validateRegion","region","message","trigger","max","regionData","computed","filter","item","level","pid","watch","initForm","handler","deep","mounted","getRegionData","methods","res","post","$message","error","console","$nextTick","$refs","addressForm","resetFields","echoRegionSelection","regionText","regions","split","length","find","p","c","d","validate","valid","warning","formData","$emit","component","$event","openDialog","addresses","addr","index","class","selected","selectedAddressIndex","selectAddress","_s","address","phone","stopPropagation","handleEdit","handleDelete","needInvoice","invoice_type","_e","selectedInvoiceTitle","invoiceTitles","title","invoice_head","openTitleDialog","_m","orderGroups","group","groupIndex","supplier","items","itemIndex","image","spec","price","quantity","freight","deliveryType","subtotal","remark","totalGoodsCount","totalGoodsAmount","totalFreight","totalPayAmount","selectedAddress","tel","openDialogs","dialogVisible","dialogType","dialogData","handleSaveAddress","invoiceTitleDialogVisible","handleTitleDialogClose","titleForm","titleRules","tax_number","opening_bank","bank_account","saveInvoiceTitle","showConfirmDialog","startReadingTimer","domProps","util","formateRichText","content","remainingSeconds","submitOrder","components","AddressFormDialog","selectedTradeType","pattern","timer","mapGetters","then","is_enterprise","$alert","confirmButtonText","action","$router","push","getOrderData","initOrderData","go","getAddress","getInvoiceList","beforeDestroy","clearInterval","mapMutations","code","success","offset","limit","row","log","$confirm","cancelButtonText","catch","info","from","product","supplier_name","formatItems","entries","groups","map","calculateTotal","sku","productId","headimg","sku_name","toFixed","parseFloat","getPost","freightPromises","forEach","params","consignee_id","sku_id","num","promise","Promise","all","calculateTotalFreight","total","totalCount","totalAmount","is_default","contactType","setInterval","$loading","lock","text","spinner","goods","product_id","product_num","product_list","invoice_id","JSON","stringify","close","order_id","pay_method","pay_platform","clearOrderData"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/462.1343c7cb.js b/dist/js/809.6bde92a7.js similarity index 87% rename from dist/js/462.1343c7cb.js rename to dist/js/809.6bde92a7.js index 120d190..8e911cf 100644 --- a/dist/js/462.1343c7cb.js +++ b/dist/js/809.6bde92a7.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[462],{462:function(t,e,s){s.r(e),s.d(e,{default:function(){return h}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[e("div",{staticClass:"left-container"},t._l(t.navList,function(s,a){return e("router-link",{key:a,class:["route-item",t.selectIndex==a?"active":""],attrs:{to:s.path}},[t._v(t._s(s.title))])}),1),e("div",{staticClass:"right-container"},[e("router-view")],1)])},r=[],i={data(){return{selectIndex:0,navList:[{title:"个人中心",path:"/User/UserCenter"},{title:"我的购物车",path:"/User/ShoppingCart"},{title:"我的订单",path:"/User/OrderList"},{title:"评价管理",path:"/User/CommentManage"},{title:"我的发票",path:"/User/UserInvoiceList"},{title:"发票抬头",path:"/User/UserInvoice"},{title:"合同管理",path:"/User/ContractList"},{title:"个人信息",path:"/User/UserInfo"},{title:"采购人信息",path:"/User/PurchaserAdd"},{title:"我的收货地址",path:"/User/UserAddress"}]}},watch:{$route(t,e){let s=t.path.toLocaleLowerCase(),a=this.navList.findIndex(t=>t.path.toLocaleLowerCase()==s);a>=0&&(this.selectIndex=a)}},computed:{},created(){let t=this.$route.path.toLocaleLowerCase(),e=this.navList.findIndex(e=>e.path.toLocaleLowerCase()==t);e>=0&&(this.selectIndex=e)},methods:{}},n=i,l=s(1656),o=(0,l.A)(n,a,r,!1,null,"6739ede2",null),h=o.exports}}]); -//# sourceMappingURL=462.1343c7cb.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[809],{809:function(t,e,s){s.r(e),s.d(e,{default:function(){return h}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg"},[e("div",{staticClass:"left-container"},t._l(t.navList,function(s,a){return e("router-link",{key:a,class:["route-item",t.selectIndex==a?"active":""],attrs:{to:s.path}},[t._v(t._s(s.title))])}),1),e("div",{staticClass:"right-container"},[e("router-view")],1)])},r=[],i={data(){return{selectIndex:0,navList:[{title:"个人中心",path:"/User/UserCenter"},{title:"我的购物车",path:"/User/ShoppingCart"},{title:"我的订单",path:"/User/OrderList"},{title:"评价管理",path:"/User/CommentManage"},{title:"我的发票",path:"/User/UserInvoiceList"},{title:"发票抬头",path:"/User/UserInvoice"},{title:"合同管理",path:"/User/ContractList"},{title:"个人信息",path:"/User/UserInfo"},{title:"采购人信息",path:"/User/PurchaserAdd"},{title:"我的收货地址",path:"/User/UserAddress"}]}},watch:{$route(t,e){let s=t.path.toLocaleLowerCase(),a=this.navList.findIndex(t=>t.path.toLocaleLowerCase()==s);a>=0&&(this.selectIndex=a)}},computed:{},created(){let t=this.$route.path.toLocaleLowerCase(),e=this.navList.findIndex(e=>e.path.toLocaleLowerCase()==t);e>=0&&(this.selectIndex=e)},methods:{}},n=i,l=s(845),o=(0,l.A)(n,a,r,!1,null,"6739ede2",null),h=o.exports}}]); +//# sourceMappingURL=809.6bde92a7.js.map \ No newline at end of file diff --git a/dist/js/462.1343c7cb.js.map b/dist/js/809.6bde92a7.js.map similarity index 72% rename from dist/js/462.1343c7cb.js.map rename to dist/js/809.6bde92a7.js.map index 30bd82d..1c9c672 100644 --- a/dist/js/462.1343c7cb.js.map +++ b/dist/js/809.6bde92a7.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Ad,YAAAc,EAGA,EACAK,QAAA,CAEA,GC7D6P,I,UCQzPC,GAAY,OACd,EACAhC,EACAkB,GACA,EACA,KACA,WACA,MAIF,EAAec,E","sources":["webpack://shiweisuzhou/./src/views/User/Index.vue","webpack://shiweisuzhou/src/views/User/Index.vue","webpack://shiweisuzhou/./src/views/User/Index.vue?5d75","webpack://shiweisuzhou/./src/views/User/Index.vue?c30c"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"left-container\"},_vm._l((_vm.navList),function(item,i){return _c('router-link',{key:i,class:['route-item',_vm.selectIndex==i?'active':''],attrs:{\"to\":item.path}},[_vm._v(_vm._s(item.title))])}),1),_c('div',{staticClass:\"right-container\"},[_c('router-view')],1)])\n}\nvar staticRenderFns = []\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!./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=6739ede2&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=6739ede2&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 \"6739ede2\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_l","navList","item","i","key","class","selectIndex","attrs","path","_v","_s","title","staticRenderFns","data","watch","$route","to","from","toPath","toLocaleLowerCase","index","findIndex","x","computed","created","methods","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/809.6bde92a7.js","mappings":"mKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACE,YAAY,kBAAkBJ,EAAIK,GAAIL,EAAIM,QAAS,SAASC,EAAKC,GAAG,OAAON,EAAG,cAAc,CAACO,IAAID,EAAEE,MAAM,CAAC,aAAaV,EAAIW,aAAaH,EAAE,SAAS,IAAII,MAAM,CAAC,GAAKL,EAAKM,OAAO,CAACb,EAAIc,GAAGd,EAAIe,GAAGR,EAAKS,SAAS,GAAG,GAAGd,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACF,EAAG,gBAAgB,IACzX,EACIe,EAAkB,GCYtB,GACAC,IAAAA,GACA,OACAP,YAAA,EACAL,QAAA,CACA,CAAAU,MAAA,OAAAH,KAAA,oBACA,CAAAG,MAAA,QAAAH,KAAA,sBACA,CAAAG,MAAA,OAAAH,KAAA,mBACA,CAAAG,MAAA,OAAAH,KAAA,uBACA,CAAAG,MAAA,OAAAH,KAAA,yBACA,CAAAG,MAAA,OAAAH,KAAA,qBACA,CAAAG,MAAA,OAAAH,KAAA,sBAMA,CAAAG,MAAA,OAAAH,KAAA,kBACA,CAAAG,MAAA,QAAAH,KAAA,sBACA,CAAAG,MAAA,SAAAH,KAAA,sBAGA,EACAM,MAAA,CAEAC,MAAAA,CAAAC,EAAAC,GACA,IAAAC,EAAAF,EAAAR,KAAAW,oBACAC,EAAA,KAAAnB,QAAAoB,UAAAC,GAAAA,EAAAd,KAAAW,qBAAAD,GACAE,GAAA,IACA,KAAAd,YAAAc,EAEA,GAGAG,SAAA,CAEA,EACAC,OAAAA,GACA,IAAAhB,EAAA,KAAAO,OAAAP,KAAAW,oBACAC,EAAA,KAAAnB,QAAAoB,UAAAC,GAAAA,EAAAd,KAAAW,qBAAAX,GACAY,GAAA,IACA,KAAAd,YAAAc,EAGA,EACAK,QAAA,CAEA,GC7D2R,I,SCQvRC,GAAY,OACd,EACAhC,EACAkB,GACA,EACA,KACA,WACA,MAIF,EAAec,E","sources":["webpack://shiweisuzhou/./src/views/User/Index.vue","webpack://shiweisuzhou/src/views/User/Index.vue","webpack://shiweisuzhou/./src/views/User/Index.vue?15b8","webpack://shiweisuzhou/./src/views/User/Index.vue?ca1c"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"left-container\"},_vm._l((_vm.navList),function(item,i){return _c('router-link',{key:i,class:['route-item',_vm.selectIndex==i?'active':''],attrs:{\"to\":item.path}},[_vm._v(_vm._s(item.title))])}),1),_c('div',{staticClass:\"right-container\"},[_c('router-view')],1)])\n}\nvar staticRenderFns = []\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/cli-service/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/cli-service/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=6739ede2&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=6739ede2&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6739ede2\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","_l","navList","item","i","key","class","selectIndex","attrs","path","_v","_s","title","staticRenderFns","data","watch","$route","to","from","toPath","toLocaleLowerCase","index","findIndex","x","computed","created","methods","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/825.fc36db19.js b/dist/js/825.fc36db19.js deleted file mode 100644 index 37b0b32..0000000 --- a/dist/js/825.fc36db19.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[825],{3825:function(t,s,i){i.r(s),i.d(s,{default:function(){return h}});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"bg"},[s("HomeLayout",{attrs:{topBanner:t.topBanner,tagList:t.tagList}}),s("div",{staticClass:"product-box"},[s("h2",[t._v("今日推荐")]),s("ProductList",{attrs:{products:t.prouctList[0].list}})],1),s("div",{staticClass:"product-box"},[s("h2",[t._v("热销排行")]),s("ProductList",{attrs:{products:t.prouctList[1].list}})],1),s("div",{staticClass:"product-box"},[s("h2",[t._v("新品上市")]),s("ProductList",{attrs:{products:t.prouctList[2].list}})],1)],1)},e=[],r=(i(8111),i(1701),function(){var t=this,s=t._self._c;return s("div",{staticClass:"home-layout-container"},[s("div",{staticClass:"left-nav"},[s("ul",{staticClass:"nav-list"},t._l(t.tagList,function(i){return s("router-link",{key:i.id,staticClass:"nav-item",attrs:{to:"/productList?id="+i.id,tag:"li"}},[s("img",{attrs:{src:t.util.showImg(i.image),alt:""}}),t._v(t._s(i.name)+" ")])}),1)]),s("div",{staticClass:"main-content"},[s("el-carousel",{staticStyle:{height:"100%"}},t._l(t.topBanner,function(t){return s("el-carousel-item",{key:t.id},[s("img",{staticClass:"carousel-img",attrs:{src:t.head_img}})])}),1)],1),s("div",{staticClass:"right-info"},[t.$store.getters.isUserLogin?s("div",{staticClass:"avatar-container"},[s("img",{staticClass:"user-avatar",attrs:{src:t.$store.getters.getUserInfo.avatar,alt:"用户头像"}}),s("div",{staticClass:"welcome-text"},[t._v("Hi-欢迎您")])]):t._e(),t._e(),s("div",{staticClass:"func-icons"},[s("router-link",{staticClass:"icon-item",attrs:{to:"/User/UserCenter"}},[s("i",{staticClass:"icon el-icon-user"}),s("span",[t._v("个人中心")])]),s("router-link",{staticClass:"icon-item",attrs:{to:"/User/OrderList"}},[s("i",{staticClass:"icon el-icon-goods"}),s("span",[t._v("我的订单")])]),s("router-link",{staticClass:"icon-item",attrs:{to:"/User/CommentManage"}},[s("i",{staticClass:"icon el-icon-star-off"}),s("span",[t._v("评价管理")])]),s("router-link",{staticClass:"icon-item",attrs:{to:"/NoticeList"}},[s("i",{staticClass:"icon el-icon-pie-chart"}),s("span",[t._v("公告中心")])])],1),s("router-link",{staticClass:"announcement",attrs:{to:"/NoticeDetail?type=notice&id="+t.notice.id}},[s("el-tag",{attrs:{type:"danger",size:"mini"}},[t._v("公告")]),s("span",{staticClass:"text-overflowRows"},[t._v(t._s(t.notice.title))])],1)],1)])}),c=[],o={name:"HomeLayout",data(){return{notice:""}},props:{topBanner:{type:Array,default:()=>[]},tagList:{type:Array,default:()=>[]}},mounted(){this.post({},"/api/anncmnt/getLatest").then(t=>{this.notice=t.data})}},n=o,l=i(1656),p=(0,l.A)(n,r,c,!1,null,"185af175",null),d=p.exports,u=i(5457),g={components:{HomeLayout:d,ProductList:u.A},data(){return{topBanner:[],tagList:[],prouctList:[{id:this.VUE_APP_GLOBAL_TAGS.pc_index_recommend,title:"今日推荐",list:[]},{id:this.VUE_APP_GLOBAL_TAGS.pc_index_hot,title:"热销排行",list:[]},{id:this.VUE_APP_GLOBAL_TAGS.pc_index_new,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:this.VUE_APP_GLOBAL_TAGS.all_prod},"/api/product/tag_list").then(t=>{this.tagList=t.data,this.tagList[0].id=this.VUE_APP_GLOBAL_TAGS.pc_all})},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,_=(0,l.A)(m,a,e,!1,null,"0cf18cfe",null),h=_.exports},5457:function(t,s,i){i.d(s,{A:function(){return l}});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"product-list"},[s("div",{staticClass:"product-grid"},t._l(t.products,function(i){return s("router-link",{key:i.id,staticClass:"product-card",attrs:{to:`/Detail/${i.id}`}},[s("div",{staticClass:"product-img"},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:i.headimg,expression:"product.headimg"}],staticClass:"product-pic",attrs:{alt:i.title}})]),s("div",{staticClass:"product-info"},[s("div",{staticClass:"flex-between"},[s("div",{staticClass:"product-price"},[s("span",{staticClass:"current-price"},[t._v("¥"+t._s(i.price/100))]),i.market_price?s("span",{staticClass:"original-price"},[t._v("¥"+t._s(i.market_price/100))]):t._e()]),i.sales?s("div",{staticClass:"product-sales"},[s("span",[t._v("已售 "+t._s(i.sales_number)+" 件")])]):t._e()]),s("h3",{staticClass:"product-name"},[s("router-link",{attrs:{to:`/Detail/${i.id}`}},[t._v(" "+t._s(i.title)+" ")])],1),s("div",{staticClass:"product-actions"},[s("el-button",{staticStyle:{"background-color":"#6a8a27",border:"none"},attrs:{type:"primary",size:"small"}},[s("el-icon",{attrs:{name:"el-icon-shopping-cart"}}),t._v(" 立即购买 ")],1)],1)])])}),1),0===t.products.length?s("div",{staticClass:"no-products"},[s("el-empty",{attrs:{description:"暂无相关商品"}})],1):t._e()])},e=[],r={name:"ProductList",props:{products:{type:Array,default:()=>[]}},methods:{}},c=r,o=i(1656),n=(0,o.A)(c,a,e,!1,null,"71ee3626",null),l=n.exports}}]); -//# sourceMappingURL=825.fc36db19.js.map \ No newline at end of file diff --git a/dist/js/825.fc36db19.js.map b/dist/js/825.fc36db19.js.map deleted file mode 100644 index c474653..0000000 --- a/dist/js/825.fc36db19.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/825.fc36db19.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,aAAa,CAACG,MAAM,CAAC,UAAYL,EAAIM,UAAU,QAAUN,EAAIO,WAAWL,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,KAAK,CAACF,EAAIQ,GAAG,UAAUN,EAAG,cAAc,CAACG,MAAM,CAAC,SAAWL,EAAIS,WAAW,GAAGC,SAAS,GAAGR,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,KAAK,CAACF,EAAIQ,GAAG,UAAUN,EAAG,cAAc,CAACG,MAAM,CAAC,SAAWL,EAAIS,WAAW,GAAGC,SAAS,GAAGR,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,KAAK,CAACF,EAAIQ,GAAG,UAAUN,EA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AAO,UAAU,KAAO,UAAU,CAACH,EAAG,UAAU,CAACG,MAAM,CAAC,KAAO,2BAA2BL,EAAIQ,GAAG,WAAW,IAAI,MAAM,GAAG,GAA4B,IAAxBR,EAAIoE,SAASS,OAAc3E,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,WAAW,CAACG,MAAM,CAAC,YAAc,aAAa,GAAGL,EAAI4B,MACl7C,EACIjB,EAAkB,GCsDtB,GACAS,KAAA,cACAY,MAAA,CACAoC,SAAA,CACAnC,KAAAC,MACAC,QAAAA,IAAA,KAGAsB,QAAA,IChEmQ,I,UCQ/PjB,GAAY,OACd,EACAzC,EACAY,GACA,EACA,KACA,WACA,MAIF,EAAe6B,E","sources":["webpack://shiweisuzhou/./src/views/Index.vue","webpack://shiweisuzhou/./src/components/layout/HomeLayout.vue","webpack://shiweisuzhou/src/components/layout/HomeLayout.vue","webpack://shiweisuzhou/./src/components/layout/HomeLayout.vue?06d9","webpack://shiweisuzhou/./src/components/layout/HomeLayout.vue?b436","webpack://shiweisuzhou/src/views/Index.vue","webpack://shiweisuzhou/./src/views/Index.vue?cb95","webpack://shiweisuzhou/./src/views/Index.vue?e2bc","webpack://shiweisuzhou/./src/components/product/ProductList.vue","webpack://shiweisuzhou/src/components/product/ProductList.vue","webpack://shiweisuzhou/./src/components/product/ProductList.vue?43ae","webpack://shiweisuzhou/./src/components/product/ProductList.vue?0bfb"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('HomeLayout',{attrs:{\"topBanner\":_vm.topBanner,\"tagList\":_vm.tagList}}),_c('div',{staticClass:\"product-box\"},[_c('h2',[_vm._v(\"今日推荐\")]),_c('ProductList',{attrs:{\"products\":_vm.prouctList[0].list}})],1),_c('div',{staticClass:\"product-box\"},[_c('h2',[_vm._v(\"热销排行\")]),_c('ProductList',{attrs:{\"products\":_vm.prouctList[1].list}})],1),_c('div',{staticClass:\"product-box\"},[_c('h2',[_vm._v(\"新品上市\")]),_c('ProductList',{attrs:{\"products\":_vm.prouctList[2].list}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"home-layout-container\"},[_c('div',{staticClass:\"left-nav\"},[_c('ul',{staticClass:\"nav-list\"},_vm._l((_vm.tagList),function(item){return _c('router-link',{key:item.id,staticClass:\"nav-item\",attrs:{\"to\":'/productList?id=' + item.id,\"tag\":\"li\"}},[_c('img',{attrs:{\"src\":_vm.util.showImg(item.image),\"alt\":\"\"}}),_vm._v(_vm._s(item.name)+\" \")])}),1)]),_c('div',{staticClass:\"main-content\"},[_c('el-carousel',{staticStyle:{\"height\":\"100%\"}},_vm._l((_vm.topBanner),function(item){return _c('el-carousel-item',{key:item.id},[_c('img',{staticClass:\"carousel-img\",attrs:{\"src\":item.head_img}})])}),1)],1),_c('div',{staticClass:\"right-info\"},[(_vm.$store.getters.isUserLogin)?_c('div',{staticClass:\"avatar-container\"},[_c('img',{staticClass:\"user-avatar\",attrs:{\"src\":_vm.$store.getters.getUserInfo.avatar,\"alt\":\"用户头像\"}}),_c('div',{staticClass:\"welcome-text\"},[_vm._v(\"Hi-欢迎您\")])]):_vm._e(),(false)?_c('div',{staticClass:\"btn-group\"},[_c('el-button',{attrs:{\"type\":\"danger\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoPath('/Login')}}},[_vm._v(\"登录\")]),_c('el-button',{attrs:{\"type\":\"warning\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoPath('/Register')}}},[_vm._v(\"注册\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"}},[_vm._v(\"客服\")])],1):_vm._e(),_c('div',{staticClass:\"func-icons\"},[_c('router-link',{staticClass:\"icon-item\",attrs:{\"to\":\"/User/UserCenter\"}},[_c('i',{staticClass:\"icon el-icon-user\"}),_c('span',[_vm._v(\"个人中心\")])]),_c('router-link',{staticClass:\"icon-item\",attrs:{\"to\":\"/User/OrderList\"}},[_c('i',{staticClass:\"icon el-icon-goods\"}),_c('span',[_vm._v(\"我的订单\")])]),_c('router-link',{staticClass:\"icon-item\",attrs:{\"to\":\"/User/CommentManage\"}},[_c('i',{staticClass:\"icon el-icon-star-off\"}),_c('span',[_vm._v(\"评价管理\")])]),_c('router-link',{staticClass:\"icon-item\",attrs:{\"to\":\"/NoticeList\"}},[_c('i',{staticClass:\"icon el-icon-pie-chart\"}),_c('span',[_vm._v(\"公告中心\")])])],1),_c('router-link',{staticClass:\"announcement\",attrs:{\"to\":'/NoticeDetail?type=notice&id='+_vm.notice.id}},[_c('el-tag',{attrs:{\"type\":\"danger\",\"size\":\"mini\"}},[_vm._v(\"公告\")]),_c('span',{staticClass:\"text-overflowRows\"},[_vm._v(_vm._s(_vm.notice.title))])],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!./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=185af175&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=185af175&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 \"185af175\",\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=0cf18cfe&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=0cf18cfe&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 \"0cf18cfe\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-list\"},[_c('div',{staticClass:\"product-grid\"},_vm._l((_vm.products),function(product){return _c('router-link',{key:product.id,staticClass:\"product-card\",attrs:{\"to\":`/Detail/${product.id}`}},[_c('div',{staticClass:\"product-img\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(product.headimg),expression:\"product.headimg\"}],staticClass:\"product-pic\",attrs:{\"alt\":product.title}})]),_c('div',{staticClass:\"product-info\"},[_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"product-price\"},[_c('span',{staticClass:\"current-price\"},[_vm._v(\"¥\"+_vm._s(product.price / 100))]),(product.market_price)?_c('span',{staticClass:\"original-price\"},[_vm._v(\"¥\"+_vm._s(product.market_price / 100))]):_vm._e()]),(product.sales)?_c('div',{staticClass:\"product-sales\"},[_c('span',[_vm._v(\"已售 \"+_vm._s(product.sales_number)+\" 件\")])]):_vm._e()]),_c('h3',{staticClass:\"product-name\"},[_c('router-link',{attrs:{\"to\":`/Detail/${product.id}`}},[_vm._v(\" \"+_vm._s(product.title)+\" \")])],1),_c('div',{staticClass:\"product-actions\"},[_c('el-button',{staticStyle:{\"background-color\":\"#6a8a27\",\"border\":\"none\"},attrs:{\"type\":\"primary\",\"size\":\"small\"}},[_c('el-icon',{attrs:{\"name\":\"el-icon-shopping-cart\"}}),_vm._v(\" 立即购买 \")],1)],1)])])}),1),(_vm.products.length === 0)?_c('div',{staticClass:\"no-products\"},[_c('el-empty',{attrs:{\"description\":\"暂无相关商品\"}})],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductList.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductList.vue?vue&type=template&id=71ee3626&scoped=true\"\nimport script from \"./ProductList.vue?vue&type=script&lang=js\"\nexport * from \"./ProductList.vue?vue&type=script&lang=js\"\nimport style0 from \"./ProductList.vue?vue&type=style&index=0&id=71ee3626&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"71ee3626\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","topBanner","tagList","_v","prouctList","list","staticRenderFns","_l","item","key","id","util","showImg","image","_s","name","staticStyle","head_img","$store","getters","isUserLogin","getUserInfo","avatar","_e","notice","title","data","props","type","Array","default","mounted","post","then","res","component","components","HomeLayout","ProductList","VUE_APP_GLOBAL_TAGS","pc_index_recommend","pc_index_hot","pc_index_new","newProducts","price","originalPrice","sales","categoryId","created","getTopBanner","getTags","getProductList","methods","type_id","position","pid","all_prod","pc_all","map","i","tag_id","offset","limit","products","product","directives","rawName","value","headimg","expression","market_price","sales_number","length"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/828.6987a2ad.js b/dist/js/828.6987a2ad.js new file mode 100644 index 0000000..19c7e88 --- /dev/null +++ b/dist/js/828.6987a2ad.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[828],{4294:function(e,t,i){i.d(t,{A:function(){return d}});var s=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:("add"===e.type?"新增":"编辑")+"收货地址",visible:e.visible,width:"700px"},on:{close:e.handleClose}},[t("el-form",{ref:"addressForm",attrs:{model:e.form,rules:e.rules,"label-width":"100px",size:"small"}},[t("el-form-item",{attrs:{label:"收货人",prop:"username"}},[t("el-input",{attrs:{placeholder:"请填写收货人姓名,限制10个字符",maxlength:"10"},model:{value:e.form.username,callback:function(t){e.$set(e.form,"username",t)},expression:"form.username"}})],1),t("el-form-item",{attrs:{label:"所在地区",prop:"region"}},[t("div",{staticClass:"region-selector"},[t("el-select",{staticClass:"region-select",attrs:{placeholder:"选择省份/直辖市"},on:{change:e.handleProvinceChange},model:{value:e.form.province_id,callback:function(t){e.$set(e.form,"province_id",t)},expression:"form.province_id"}},e._l(e.provinces,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1),t("el-select",{staticClass:"region-select",attrs:{placeholder:"选择城市",disabled:!e.form.province_id},on:{change:e.handleCityChange},model:{value:e.form.city_id,callback:function(t){e.$set(e.form,"city_id",t)},expression:"form.city_id"}},e._l(e.cities,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1),t("el-select",{staticClass:"region-select",attrs:{placeholder:"选择县区",disabled:!e.form.city_id},model:{value:e.form.district_id,callback:function(t){e.$set(e.form,"district_id",t)},expression:"form.district_id"}},e._l(e.districts,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1)],1)]),t("el-form-item",{attrs:{label:"详细地址",prop:"detail_addr"}},[t("el-input",{attrs:{placeholder:"请填写详细地址,限制500个字符",maxlength:"500"},model:{value:e.form.detail_addr,callback:function(t){e.$set(e.form,"detail_addr",t)},expression:"form.detail_addr"}})],1),t("el-form-item",{attrs:{label:"手机号码",prop:"mobile"}},[t("el-input",{attrs:{placeholder:"请填写手机号码,限制11位数字",maxlength:"11",oninput:"value=value.replace(/[^\\d]/g,'')"},model:{value:e.form.mobile,callback:function(t){e.$set(e.form,"mobile",t)},expression:"form.mobile"}})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"small"},on:{click:e.handleClose}},[e._v("取消")]),t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.saveAddress}},[e._v("保存")])],1)],1)},a=[],r=(i(8111),i(2489),i(116),{name:"AddressFormDialog",props:{visible:{type:Boolean,default:!1},type:{type:String,required:!0,validator:e=>["add","edit"].includes(e)},initialData:{type:Object,default:()=>({})}},data(){const e=(e,t,i)=>t?/^1[3-9]\d{9}$/.test(t)?void i():i(new Error("请输入正确的11位手机号码")):i(new Error("请输入手机号码")),t=(e,t,i)=>{if(!this.form.province_id||!this.form.city_id||!this.form.district_id)return i(new Error("请完整选择省市区"));i()};return{form:{id:null,username:"",detail_addr:"",mobile:"",province_id:null,city_id:null,district_id:null,region:""},rules:{username:[{required:!0,message:"请输入收货人姓名",trigger:"blur"},{max:10,message:"姓名不能超过10个字符",trigger:"blur"}],region:[{required:!0,validator:t,trigger:"change"}],detail_addr:[{required:!0,message:"请输入详细地址",trigger:"blur"},{max:500,message:"详细地址不能超过500个字符",trigger:"blur"}],mobile:[{required:!0,validator:e,trigger:"blur"}]},regionData:[]}},computed:{provinces(){return this.regionData.filter(e=>1===e.level)},cities(){return this.form.province_id?this.regionData.filter(e=>2===e.level&&e.pid===this.form.province_id):[]},districts(){return this.form.city_id?this.regionData.filter(e=>3===e.level&&e.pid===this.form.city_id):[]}},watch:{visible(e){e&&this.initForm()},initialData:{handler(){this.visible&&this.initForm()},deep:!0}},mounted(){this.getRegionData()},methods:{async getRegionData(){try{const e=await this.post({},"/api/uservice/user/getAreas");e&&e.data?this.regionData=e.data:this.$message.error("获取地区数据失败")}catch(e){console.error("获取地区数据出错:",e),this.$message.error("获取地区数据时发生错误")}},initForm(){this.$nextTick(()=>{this.$refs.addressForm&&this.$refs.addressForm.resetFields(),this.form={id:"edit"===this.type?this.initialData.id:null,username:this.initialData.username||"",detail_addr:this.initialData.detail_addr||"",mobile:this.initialData.mobile||"",province_id:this.initialData.province_id||null,city_id:this.initialData.city_id||null,district_id:this.initialData.district_id||null,region:this.initialData.region||""},"edit"===this.type&&this.initialData.region&&!this.form.province_id&&this.echoRegionSelection(this.initialData.region)})},echoRegionSelection(e){const t=e.split(" ");if(t.length<3)return;const i=this.provinces.find(e=>e.name===t[0]);i&&(this.form.province_id=i.id,this.$nextTick(()=>{const e=this.cities.find(e=>e.name===t[1]);e&&(this.form.city_id=e.id,this.$nextTick(()=>{const e=this.districts.find(e=>e.name===t[2]);e&&(this.form.district_id=e.id)}))}))},handleProvinceChange(){this.form.city_id=null,this.form.district_id=null},handleCityChange(){this.form.district_id=null},saveAddress(){this.$refs.addressForm.validate(async e=>{if(!e)return;const t=this.provinces.find(e=>e.id===this.form.province_id),i=this.cities.find(e=>e.id===this.form.city_id),s=this.districts.find(e=>e.id===this.form.district_id);if(!(t&&i&&s))return void this.$message.warning("地区信息不完整");const a={...this.form,region:`${t.name} ${i.name} ${s.name}`};this.$emit("save",a),this.handleClose()})},handleClose(){this.$emit("update:visible",!1)}}}),o=r,l=i(845),n=(0,l.A)(o,s,a,!1,null,"7d3ebefd",null),d=n.exports},8828:function(e,t,i){i.r(t),i.d(t,{default:function(){return h}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"order-page"},[t("div",{staticClass:"page-header"},[t("h2",[e._v("填写收货人信息")]),t("el-button",{staticClass:"address-book-btn",attrs:{type:"text"},on:{click:function(t){return e.openDialog("add",{})}}},[e._v(" 新增/修改地址 ")])],1),t("div",{staticClass:"info-section"},[t("h3",[e._v("收货人信息")]),t("div",{staticClass:"address-item"},[t("span",{staticClass:"label"},[e._v("收货地址:")]),t("div",{staticClass:"address-content"},e._l(e.addresses,function(i,s){return t("div",{key:s,staticClass:"saved-address",class:{selected:e.selectedAddressIndex===s},on:{click:function(t){return e.selectAddress(s)}}},[t("span",{staticClass:"name-tag"},[e._v(e._s(i.name)+" "+e._s(i.province))]),t("span",{staticClass:"detail"},[e._v(e._s(i.address)+" "+e._s(i.phone))]),t("el-button",{staticClass:"edit-btn",attrs:{type:"text"},on:{click:function(t){return t.stopPropagation(),e.handleEdit(i)}}},[e._v("编辑")]),t("el-button",{staticClass:"delete-btn",attrs:{type:"text"},on:{click:function(t){return t.stopPropagation(),e.handleDelete()}}},[e._v("删除")])],1)}),0)]),t("h3",[e._v("发票信息")]),t("div",{staticClass:"invoice-type-item"},[t("span",{staticClass:"label"},[e._v("是否开票:")]),t("el-radio-group",{model:{value:e.needInvoice,callback:function(t){e.needInvoice=t},expression:"needInvoice"}},[t("el-radio",{attrs:{label:!0}},[e._v("是")]),t("el-radio",{attrs:{label:!1}},[e._v("否")])],1)],1),e.needInvoice?t("div",{staticClass:"invoice-type-item"},[t("span",{staticClass:"label"},[e._v("发票类型:")]),t("el-radio-group",{model:{value:e.invoice_type,callback:function(t){e.invoice_type=t},expression:"invoice_type"}},[t("el-radio",{attrs:{label:1}},[e._v("增值税普通发票")]),t("el-radio",{attrs:{label:2}},[e._v("普通电子发票")])],1)],1):e._e(),e.needInvoice?t("div",{staticClass:"invoice-title-item"},[t("span",{staticClass:"label"},[e._v("发票抬头:")]),t("el-select",{staticClass:"invoice-title-select",attrs:{placeholder:"请选择发票抬头"},model:{value:e.selectedInvoiceTitle,callback:function(t){e.selectedInvoiceTitle=t},expression:"selectedInvoiceTitle"}},e._l(e.invoiceTitles,function(e,i){return t("el-option",{key:i,attrs:{label:e.invoice_head,value:e.id}})}),1),t("el-button",{staticClass:"add-title-btn",attrs:{type:"text"},on:{click:e.openTitleDialog}},[e._v("+ 添加")])],1):e._e()]),e._m(0),t("div",{staticClass:"goods-section"},[t("h3",[e._v("商品清单")]),e._l(e.orderGroups,function(i,s){return t("div",{key:s,staticClass:"order-group"},[t("div",{staticClass:"supplier-info"},[t("span",[e._v("供货名称:"+e._s(i.supplier))])]),t("table",{staticClass:"goods-table"},[e._m(1,!0),t("tbody",e._l(i.items,function(i,s){return t("tr",{key:s},[t("td",[t("img",{staticClass:"goods-img",attrs:{src:i.image,alt:"商品图片"}}),t("span",{staticClass:"goods-name"},[e._v(e._s(i.name))])]),t("td",[e._v(e._s(i.spec))]),t("td",[e._v(e._s(i.price))]),t("td",[e._v(e._s(i.quantity))]),t("td",[e._v(e._s(i.freight))]),t("td",[e._v(e._s(i.deliveryType))]),t("td",{staticClass:"subtotal"},[e._v(e._s(i.subtotal))])])}),0)]),t("div",{staticClass:"order-remark"},[t("span",{staticClass:"remark-label"},[e._v("订单备注:")]),t("div",{staticClass:"rich-text-editor"},[t("el-input",{staticClass:"remark-editor",attrs:{type:"textarea",rows:"4",placeholder:"请输入订单备注信息"},model:{value:i.remark,callback:function(t){e.$set(i,"remark",t)},expression:"group.remark"}}),e._e()],1)])])}),t("div",{staticClass:"total-info"},[t("p",[e._v(" 共 "+e._s(e.totalGoodsCount)+" 件商品,总商品金额 ¥"+e._s(e.totalGoodsAmount)+" ")]),t("p",[e._v("总运费 ¥"+e._s(e.totalFreight))]),t("p",{staticClass:"pay-amount"},[e._v("实付总金额 ¥"+e._s(e.totalPayAmount))]),t("p",{staticClass:"address-info"},[e._v("配送至:"+e._s(e.selectedAddress.name)+" "+e._s(e.selectedAddress.address)+" "+e._s(e.selectedAddress.tel))]),t("el-button",{staticClass:"submit-btn",attrs:{type:"primary"},on:{click:e.openDialogs}},[e._v(" 提交订单 ")])],1)],2),t("AddressFormDialog",{attrs:{visible:e.dialogVisible,type:e.dialogType,"initial-data":e.dialogData},on:{"update:visible":function(t){e.dialogVisible=t},save:e.handleSaveAddress}}),t("el-dialog",{attrs:{title:"新增发票抬头",visible:e.invoiceTitleDialogVisible,width:"700px","before-close":e.handleTitleDialogClose},on:{"update:visible":function(t){e.invoiceTitleDialogVisible=t}}},[t("el-form",{ref:"titleForm",staticClass:"invoice-title-form",attrs:{model:e.titleForm,rules:e.titleRules,"label-width":"120px"}},[t("el-form-item",{attrs:{label:"发票抬头",prop:"invoice_head"}},[t("el-input",{attrs:{placeholder:"请输入发票抬头",maxlength:"100"},model:{value:e.titleForm.invoice_head,callback:function(t){e.$set(e.titleForm,"invoice_head",t)},expression:"titleForm.invoice_head"}})],1),t("el-form-item",{attrs:{label:"纳税人识别号",prop:"tax_number"}},[t("el-input",{attrs:{placeholder:"请输入纳税人识别号",maxlength:"20"},model:{value:e.titleForm.tax_number,callback:function(t){e.$set(e.titleForm,"tax_number",t)},expression:"titleForm.tax_number"}})],1),t("el-form-item",{attrs:{label:"开户银行",prop:"opening_bank"}},[t("el-input",{attrs:{placeholder:"请输入开户银行",maxlength:"100"},model:{value:e.titleForm.opening_bank,callback:function(t){e.$set(e.titleForm,"opening_bank",t)},expression:"titleForm.opening_bank"}})],1),t("el-form-item",{attrs:{label:"银行账号",prop:"bank_account"}},[t("el-input",{attrs:{placeholder:"请输入银行账号",maxlength:"30"},model:{value:e.titleForm.bank_account,callback:function(t){e.$set(e.titleForm,"bank_account",t)},expression:"titleForm.bank_account"}})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.handleTitleDialogClose}},[e._v("取消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.saveInvoiceTitle}},[e._v("确定")])],1)],1),t("el-dialog",{staticClass:"confirm-dialog",attrs:{title:"《电子企业采购契约》",visible:e.showConfirmDialog,modal:!0,"close-on-click-modal":!1,"show-close":!0,width:"700px"},on:{"update:visible":function(t){e.showConfirmDialog=t},open:e.startReadingTimer}},[t("div",{staticClass:"contract-content",domProps:{innerHTML:e._s(e.util.formateRichText(e.content))}}),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.showConfirmDialog=!1}}},[e._v("取消")]),t("el-button",{attrs:{type:"primary",disabled:e.remainingSeconds>0},on:{click:e.submitOrder}},[e._v(" "+e._s(e.remainingSeconds>0?`请阅读完所有的条款再同意${e.remainingSeconds}秒`:"同意并提交")+" ")])],1)])],1)},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"contract-section"},[t("h3",[e._v("签署合同")]),t("p",[e._v("如需签署合同,提交订单后,请至采购中心>合同中心签署")])])},function(){var e=this,t=e._self._c;return t("thead",[t("tr",[t("th",[e._v("商品")]),t("th",[e._v("规格")]),t("th",[e._v("单价(元)")]),t("th",[e._v("数量")]),t("th",[e._v("运费")]),t("th",[e._v("收货方式")]),t("th",[e._v("小计(元)")])])])}],r=(i(4114),i(8111),i(7588),i(1701),i(3518)),o=i(4294),l={name:"OrderPage",components:{AddressFormDialog:o.A},data(){return{addresses:[],selectedAddressIndex:-1,selectedTradeType:1,needInvoice:!0,invoice_type:1,invoiceTitles:[],selectedInvoiceTitle:null,orderGroups:[],totalGoodsCount:3,totalGoodsAmount:973,totalFreight:0,totalPayAmount:0,dialogVisible:!1,dialogType:"add",dialogData:{},invoiceTitleDialogVisible:!1,titleForm:{invoice_head:"",tax_number:"",opening_bank:"",bank_account:""},titleRules:{invoice_head:[{required:!0,message:"请输入发票抬头",trigger:"blur"}],tax_number:[{required:!0,message:"请输入纳税人识别号",trigger:"blur"},{pattern:/^[A-Z0-9]{15,20}$/,message:"纳税人识别号格式不正确",trigger:"blur"}],opening_bank:[{required:!0,message:"请输入开户银行",trigger:"blur"}],bank_account:[{required:!0,message:"请输入银行账号",trigger:"blur"}]},showConfirmDialog:!1,content:"",remainingSeconds:5,timer:null}},computed:{...(0,r.L8)(["getOrderData"]),selectedAddress(){return this.addresses[this.selectedAddressIndex]||{}}},mounted(){this.post({},"/api/uservice/user/getMyInfo").then(e=>{1==e.data.is_enterprise&&this.$alert("为了确保您能享受到企业专属的价格、服务以及正规的开票流程,首次注册登录后,我们强烈建议您立即完成企业资质认证。","温馨提示",{confirmButtonText:"确定",callback:e=>{this.$router.push("/User/PurchaserAdd")}})}),this.getOrderData?this.initOrderData(this.getOrderData):(this.$message.error("未获取到商品信息,请重新操作"),this.$router.go(-1)),this.getAddress(),this.getInvoiceList()},beforeDestroy(){this.timer&&clearInterval(this.timer)},watch:{},methods:{...(0,r.PY)(["clearOrderData"]),openTitleDialog(){this.invoiceTitleDialogVisible=!0,this.$nextTick(()=>{this.$refs.titleForm.resetFields()})},handleTitleDialogClose(){this.invoiceTitleDialogVisible=!1,this.$refs.titleForm.resetFields()},saveInvoiceTitle(){this.$refs.titleForm.validate(e=>{e&&this.post(this.titleForm,"/api/enterprise_invoice/create").then(e=>{1==e.code&&(this.getInvoiceList(),this.$message.success("发票抬头添加成功"),this.invoiceTitleDialogVisible=!1)})})},getInvoiceList(){this.post({offset:0,limit:100},"/api/enterprise_invoice/index").then(e=>{this.invoiceTitles=e.data})},openDialog(e,t){this.dialogType=e,this.dialogData={...t},this.dialogVisible=!0},handleEdit(e){console.log(e),e.username=e.name,e.mobile=e.tel,this.openDialog("edit",e)},handleDelete(e){this.$confirm("此操作将永久删除该地址, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.post({id:e.id},"/api/uservice/user/delConsignee").then(e=>{1==e.code&&(this.getAddress(),this.$message.success("删除成功!"))})}).catch(()=>{this.$message.info("已取消删除")})},initOrderData(e){if("product"===e.from){const t=e.items[0];this.orderGroups=[{supplier:t.product.supplier_name,items:this.formatItems([t])}]}else"cart"===e.from&&(this.orderGroups=Object.entries(e.groups).map(([e,t])=>({supplier:e,items:this.formatItems(t)})));this.calculateTotal()},formatItems(e){return console.log(e,13213),e.map(e=>({id:e.sku.id,productId:e.product.id,name:e.product.title,image:e.product.headimg,spec:e.sku.sku_name,price:(e.sku.price/100).toFixed(2),quantity:e.quantity,freight:"0.00",deliveryType:"邮寄",type:e.product.type,subtotal:(e.sku.price/100*e.quantity+parseFloat("0.00")).toFixed(2)}))},getPost(){if(!this.selectedAddress.id)return void this.$message.warning("请先选择收货地址");this.totalFreight=0;const e=[];this.orderGroups.forEach((t,i)=>{t.items.forEach((t,i)=>{const s={consignee_id:this.selectedAddress.id,sku_id:t.id,num:t.quantity},a=this.post(s,"/api/order/get_post_price").then(e=>{if(1===e.code){const i=(e.data.price/100).toFixed(2);t.freight=i,t.subtotal=(parseFloat(t.price)*t.quantity+parseFloat(i)).toFixed(2),this.totalFreight=(parseFloat(this.totalFreight)+parseFloat(i)).toFixed(2)}});e.push(a)})}),Promise.all(e).then(()=>{this.calculateTotal()})},calculateTotalFreight(){let e=0;this.orderGroups.forEach(t=>{t.items.forEach(t=>{console.log(t),e+=parseFloat(t.freight)})}),this.totalFreight=e.toFixed(2)},calculateTotal(){let e=0,t=0;this.orderGroups.forEach(i=>{i.items.forEach(i=>{e+=i.quantity,t+=parseFloat(i.subtotal)})}),this.totalGoodsCount=e,this.totalGoodsAmount=t.toFixed(2),this.totalPayAmount=t.toFixed(2)},handleSaveAddress(e){e.is_default=0,"add"===this.dialogType?this.post(e,"/api/uservice/user/addNewConsignee").then(e=>{1==e.code&&(this.$message.success("保存成功"),this.getAddress(),this.dialogVisible=!1)}):this.post(e,"/api/uservice/user/editConsignee").then(e=>{1==e.code&&(this.$message.success("保存成功"),this.getAddress(),this.dialogVisible=!1)})},getAddress(){this.post({contactType:"CONSIGNEE",offset:"0",limit:"100"},"/api/uservice/user/getContactOrConsignee").then(e=>{e&&(this.addresses=e.data||[])})},selectAddress(e){this.selectedAddressIndex=e,this.getPost()},openDialogs(){this.selectedAddress.id?this.needInvoice&&null===this.selectedInvoiceTitle?this.$message.warning("请选择发票抬头"):this.post({id:19},"/api/pbservice/Other/getDictionary").then(e=>{this.content=e.data[0].content,this.showConfirmDialog=!0}):this.$message.warning("请先选择收货地址")},startReadingTimer(){this.remainingSeconds=5,this.timer&&clearInterval(this.timer),this.timer=setInterval(()=>{this.remainingSeconds--,this.remainingSeconds<=0&&(clearInterval(this.timer),this.timer=null)},1e3)},submitOrder(){this.$loading({lock:!0,text:"订单处理中...",spinner:"el-icon-loading"});let e=[];this.orderGroups.forEach((t,i)=>{t.items.forEach((i,s)=>{console.log(i),e.push({type:i.type,product_id:i.productId,sku_id:i.id,product_num:i.quantity,post:this.selectedAddress.id,remark:t.remark||""})})});let t={product_list:e,invoice_id:this.selectedInvoiceTitle,invoice_type:this.invoice_type};this.post({data:JSON.stringify(t)},"/api/order/create").then(e=>{this.$loading().close(),1==e.code&&this.post({order_id:e.data.order_id,pay_method:"ABC_H5",pay_platform:"PC"},"/api/order/pay").then(e=>{this.clearOrderData(),this.showConfirmDialog=!1,1==e.code&&(this.$message.success("订单提交成功!"),this.$router.push("/User/OrderList"))})})}}},n=l,d=i(845),c=(0,d.A)(n,s,a,!1,null,"b0ee9810",null),h=c.exports}}]); +//# sourceMappingURL=828.6987a2ad.js.map \ No newline at end of file diff --git a/dist/js/828.6987a2ad.js.map b/dist/js/828.6987a2ad.js.map new file mode 100644 index 0000000..c13c68a --- /dev/null +++ b/dist/js/828.6987a2ad.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/828.6987a2ad.js","mappings":"uJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,YAAY,CAACE,MAAM,CAAC,OAAwB,QAAbJ,E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A7H,GACAqK,EAAAtD,KAAA,CACA1K,KAAA2D,EAAA3D,KACAiO,WAAAtK,EAAA2I,UACAU,OAAArJ,EAAAtC,GACA6M,YAAAvK,EAAAmE,SACAxD,KAAA,KAAAiE,gBAAAlH,GACA6G,OAAAZ,EAAAY,QAAA,SAIA,IAAApF,EAAA,CACAqL,aAAAH,EACAI,WAAA,KAAArH,qBACAF,aAAA,KAAAA,cAEA,KAAAvC,KACA,CACAxB,KAAAuL,KAAAC,UAAAxL,IAEA,qBACAsH,KAAA/F,IACA,KAAAuJ,WAAAW,QACA,GAAAlK,EAAA8G,MACA,KAAA7G,KACA,CACAkK,SAAAnK,EAAAvB,KAAA0L,SACAC,WAAA,SACAC,aAAA,MAEA,kBACAtE,KAAA/F,IACA,KAAAsK,iBACA,KAAArF,mBAAA,EACA,GAAAjF,EAAA8G,OACA,KAAA5G,SAAA6G,QAAA,WACA,KAAAX,QAAAC,KAAA,uBAKA,ICpvB2R,I,SCQvR9E,GAAY,OACd,EACAlG,EACAyC,GACA,EACA,KACA,WACA,MAIF,EAAeyD,E","sources":["webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue","webpack://shiweisuzhou/src/components/common/AddressFormDialog.vue","webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue?4498","webpack://shiweisuzhou/./src/components/common/AddressFormDialog.vue?70a0","webpack://shiweisuzhou/./src/views/Order/Index.vue","webpack://shiweisuzhou/src/views/Order/Index.vue","webpack://shiweisuzhou/./src/views/Order/Index.vue?0683","webpack://shiweisuzhou/./src/views/Order/Index.vue?21fa"],"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/cli-service/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/cli-service/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/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7d3ebefd\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"order-page\"},[_c('div',{staticClass:\"page-header\"},[_c('h2',[_vm._v(\"填写收货人信息\")]),_c('el-button',{staticClass:\"address-book-btn\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.openDialog('add', {})}}},[_vm._v(\" 新增/修改地址 \")])],1),_c('div',{staticClass:\"info-section\"},[_c('h3',[_vm._v(\"收货人信息\")]),_c('div',{staticClass:\"address-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"收货地址:\")]),_c('div',{staticClass:\"address-content\"},_vm._l((_vm.addresses),function(addr,index){return _c('div',{key:index,staticClass:\"saved-address\",class:{ selected: _vm.selectedAddressIndex === index },on:{\"click\":function($event){return _vm.selectAddress(index)}}},[_c('span',{staticClass:\"name-tag\"},[_vm._v(_vm._s(addr.name)+\" \"+_vm._s(addr.province))]),_c('span',{staticClass:\"detail\"},[_vm._v(_vm._s(addr.address)+\" \"+_vm._s(addr.phone))]),_c('el-button',{staticClass:\"edit-btn\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.handleEdit(addr)}}},[_vm._v(\"编辑\")]),_c('el-button',{staticClass:\"delete-btn\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.handleDelete()}}},[_vm._v(\"删除\")])],1)}),0)]),_c('h3',[_vm._v(\"发票信息\")]),_c('div',{staticClass:\"invoice-type-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"是否开票:\")]),_c('el-radio-group',{model:{value:(_vm.needInvoice),callback:function ($$v) {_vm.needInvoice=$$v},expression:\"needInvoice\"}},[_c('el-radio',{attrs:{\"label\":true}},[_vm._v(\"是\")]),_c('el-radio',{attrs:{\"label\":false}},[_vm._v(\"否\")])],1)],1),(_vm.needInvoice)?_c('div',{staticClass:\"invoice-type-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"发票类型:\")]),_c('el-radio-group',{model:{value:(_vm.invoice_type),callback:function ($$v) {_vm.invoice_type=$$v},expression:\"invoice_type\"}},[_c('el-radio',{attrs:{\"label\":1}},[_vm._v(\"增值税普通发票\")]),_c('el-radio',{attrs:{\"label\":2}},[_vm._v(\"普通电子发票\")])],1)],1):_vm._e(),(_vm.needInvoice)?_c('div',{staticClass:\"invoice-title-item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"发票抬头:\")]),_c('el-select',{staticClass:\"invoice-title-select\",attrs:{\"placeholder\":\"请选择发票抬头\"},model:{value:(_vm.selectedInvoiceTitle),callback:function ($$v) {_vm.selectedInvoiceTitle=$$v},expression:\"selectedInvoiceTitle\"}},_vm._l((_vm.invoiceTitles),function(title,index){return _c('el-option',{key:index,attrs:{\"label\":title.invoice_head,\"value\":title.id}})}),1),_c('el-button',{staticClass:\"add-title-btn\",attrs:{\"type\":\"text\"},on:{\"click\":_vm.openTitleDialog}},[_vm._v(\"+ 添加\")])],1):_vm._e()]),_vm._m(0),_c('div',{staticClass:\"goods-section\"},[_c('h3',[_vm._v(\"商品清单\")]),_vm._l((_vm.orderGroups),function(group,groupIndex){return _c('div',{key:groupIndex,staticClass:\"order-group\"},[_c('div',{staticClass:\"supplier-info\"},[_c('span',[_vm._v(\"供货名称:\"+_vm._s(group.supplier))])]),_c('table',{staticClass:\"goods-table\"},[_vm._m(1,true),_c('tbody',_vm._l((group.items),function(item,itemIndex){return _c('tr',{key:itemIndex},[_c('td',[_c('img',{staticClass:\"goods-img\",attrs:{\"src\":item.image,\"alt\":\"商品图片\"}}),_c('span',{staticClass:\"goods-name\"},[_vm._v(_vm._s(item.name))])]),_c('td',[_vm._v(_vm._s(item.spec))]),_c('td',[_vm._v(_vm._s(item.price))]),_c('td',[_vm._v(_vm._s(item.quantity))]),_c('td',[_vm._v(_vm._s(item.freight))]),_c('td',[_vm._v(_vm._s(item.deliveryType))]),_c('td',{staticClass:\"subtotal\"},[_vm._v(_vm._s(item.subtotal))])])}),0)]),_c('div',{staticClass:\"order-remark\"},[_c('span',{staticClass:\"remark-label\"},[_vm._v(\"订单备注:\")]),_c('div',{staticClass:\"rich-text-editor\"},[_c('el-input',{staticClass:\"remark-editor\",attrs:{\"type\":\"textarea\",\"rows\":\"4\",\"placeholder\":\"请输入订单备注信息\"},model:{value:(group.remark),callback:function ($$v) {_vm.$set(group, \"remark\", $$v)},expression:\"group.remark\"}}),(false)?_c('div',{staticClass:\"editor-toolbar\"},[_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-bold\",\"size\":\"mini\"}}),_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-italic\",\"size\":\"mini\"}}),_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-underline\",\"size\":\"mini\"}}),_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-link\",\"size\":\"mini\"}}),_c('el-button',{attrs:{\"type\":\"text\",\"icon\":\"el-icon-picture\",\"size\":\"mini\"}})],1):_vm._e()],1)])])}),_c('div',{staticClass:\"total-info\"},[_c('p',[_vm._v(\" 共 \"+_vm._s(_vm.totalGoodsCount)+\" 件商品,总商品金额 ¥\"+_vm._s(_vm.totalGoodsAmount)+\" \")]),_c('p',[_vm._v(\"总运费 ¥\"+_vm._s(_vm.totalFreight))]),_c('p',{staticClass:\"pay-amount\"},[_vm._v(\"实付总金额 ¥\"+_vm._s(_vm.totalPayAmount))]),_c('p',{staticClass:\"address-info\"},[_vm._v(\"配送至:\"+_vm._s(_vm.selectedAddress.name)+\" \"+_vm._s(_vm.selectedAddress.address)+\" \"+_vm._s(_vm.selectedAddress.tel))]),_c('el-button',{staticClass:\"submit-btn\",attrs:{\"type\":\"primary\"},on:{\"click\":_vm.openDialogs}},[_vm._v(\" 提交订单 \")])],1)],2),_c('AddressFormDialog',{attrs:{\"visible\":_vm.dialogVisible,\"type\":_vm.dialogType,\"initial-data\":_vm.dialogData},on:{\"update:visible\":function($event){_vm.dialogVisible = $event},\"save\":_vm.handleSaveAddress}}),_c('el-dialog',{attrs:{\"title\":\"新增发票抬头\",\"visible\":_vm.invoiceTitleDialogVisible,\"width\":\"700px\",\"before-close\":_vm.handleTitleDialogClose},on:{\"update:visible\":function($event){_vm.invoiceTitleDialogVisible=$event}}},[_c('el-form',{ref:\"titleForm\",staticClass:\"invoice-title-form\",attrs:{\"model\":_vm.titleForm,\"rules\":_vm.titleRules,\"label-width\":\"120px\"}},[_c('el-form-item',{attrs:{\"label\":\"发票抬头\",\"prop\":\"invoice_head\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入发票抬头\",\"maxlength\":\"100\"},model:{value:(_vm.titleForm.invoice_head),callback:function ($$v) {_vm.$set(_vm.titleForm, \"invoice_head\", $$v)},expression:\"titleForm.invoice_head\"}})],1),_c('el-form-item',{attrs:{\"label\":\"纳税人识别号\",\"prop\":\"tax_number\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入纳税人识别号\",\"maxlength\":\"20\"},model:{value:(_vm.titleForm.tax_number),callback:function ($$v) {_vm.$set(_vm.titleForm, \"tax_number\", $$v)},expression:\"titleForm.tax_number\"}})],1),_c('el-form-item',{attrs:{\"label\":\"开户银行\",\"prop\":\"opening_bank\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入开户银行\",\"maxlength\":\"100\"},model:{value:(_vm.titleForm.opening_bank),callback:function ($$v) {_vm.$set(_vm.titleForm, \"opening_bank\", $$v)},expression:\"titleForm.opening_bank\"}})],1),_c('el-form-item',{attrs:{\"label\":\"银行账号\",\"prop\":\"bank_account\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入银行账号\",\"maxlength\":\"30\"},model:{value:(_vm.titleForm.bank_account),callback:function ($$v) {_vm.$set(_vm.titleForm, \"bank_account\", $$v)},expression:\"titleForm.bank_account\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.handleTitleDialogClose}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveInvoiceTitle}},[_vm._v(\"确定\")])],1)],1),_c('el-dialog',{staticClass:\"confirm-dialog\",attrs:{\"title\":\"《电子企业采购契约》\",\"visible\":_vm.showConfirmDialog,\"modal\":true,\"close-on-click-modal\":false,\"show-close\":true,\"width\":\"700px\"},on:{\"update:visible\":function($event){_vm.showConfirmDialog=$event},\"open\":_vm.startReadingTimer}},[_c('div',{staticClass:\"contract-content\",domProps:{\"innerHTML\":_vm._s(_vm.util.formateRichText(_vm.content))}}),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.showConfirmDialog = false}}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"disabled\":_vm.remainingSeconds > 0},on:{\"click\":_vm.submitOrder}},[_vm._v(\" \"+_vm._s(_vm.remainingSeconds > 0 ? `请阅读完所有的条款再同意${_vm.remainingSeconds}秒` : \"同意并提交\")+\" \")])],1)])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"contract-section\"},[_c('h3',[_vm._v(\"签署合同\")]),_c('p',[_vm._v(\"如需签署合同,提交订单后,请至采购中心>合同中心签署\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"商品\")]),_c('th',[_vm._v(\"规格\")]),_c('th',[_vm._v(\"单价(元)\")]),_c('th',[_vm._v(\"数量\")]),_c('th',[_vm._v(\"运费\")]),_c('th',[_vm._v(\"收货方式\")]),_c('th',[_vm._v(\"小计(元)\")])])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n ","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/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/cli-service/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=b0ee9810&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=b0ee9810&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b0ee9810\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","attrs","type","visible","on","handleClose","ref","form","rules","model","value","username","callback","$$v","$set","expression","staticClass","handleProvinceChange","province_id","_l","provinces","province","key","id","name","handleCityChange","city_id","cities","city","district_id","districts","district","detail_addr","mobile","slot","_v","saveAddress","staticRenderFns","props","Boolean","default","String","required","validator","val","includes","initialData","Object","data","validateMobile","rule","test","Error","validateRegion","region","message","trigger","max","regionData","computed","filter","item","level","pid","watch","initForm","handler","deep","mounted","getRegionData","methods","res","post","$message","error","console","$nextTick","$refs","addressForm","resetFields","echoRegionSelection","regionText","regions","split","length","find","p","c","d","validate","valid","warning","formData","$emit","component","$event","openDialog","addresses","addr","index","class","selected","selectedAddressIndex","selectAddress","_s","address","phone","stopPropagation","handleEdit","handleDelete","needInvoice","invoice_type","_e","selectedInvoiceTitle","invoiceTitles","title","invoice_head","openTitleDialog","_m","orderGroups","group","groupIndex","supplier","items","itemIndex","image","spec","price","quantity","freight","deliveryType","subtotal","remark","totalGoodsCount","totalGoodsAmount","totalFreight","totalPayAmount","selectedAddress","tel","openDialogs","dialogVisible","dialogType","dialogData","handleSaveAddress","invoiceTitleDialogVisible","handleTitleDialogClose","titleForm","titleRules","tax_number","opening_bank","bank_account","saveInvoiceTitle","showConfirmDialog","startReadingTimer","domProps","util","formateRichText","content","remainingSeconds","submitOrder","components","AddressFormDialog","selectedTradeType","pattern","timer","mapGetters","then","is_enterprise","$alert","confirmButtonText","action","$router","push","getOrderData","initOrderData","go","getAddress","getInvoiceList","beforeDestroy","clearInterval","mapMutations","code","success","offset","limit","row","log","$confirm","cancelButtonText","catch","info","from","product","supplier_name","formatItems","entries","groups","map","calculateTotal","sku","productId","headimg","sku_name","toFixed","parseFloat","getPost","freightPromises","forEach","params","consignee_id","sku_id","num","promise","Promise","all","calculateTotalFreight","total","totalCount","totalAmount","is_default","contactType","setInterval","$loading","lock","text","spinner","goods","product_id","product_num","product_list","invoice_id","JSON","stringify","close","order_id","pay_method","pay_platform","clearOrderData"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/828.deb87761.js b/dist/js/828.deb87761.js deleted file mode 100644 index cda7dab..0000000 --- a/dist/js/828.deb87761.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[828],{5457:function(t,s,i){i.d(s,{A:function(){return l}});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"product-list"},[s("div",{staticClass:"product-grid"},t._l(t.products,function(i){return s("router-link",{key:i.id,staticClass:"product-card",attrs:{to:`/Detail/${i.id}`}},[s("div",{staticClass:"product-img"},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:i.headimg,expression:"product.headimg"}],staticClass:"product-pic",attrs:{alt:i.title}})]),s("div",{staticClass:"product-info"},[s("div",{staticClass:"flex-between"},[s("div",{staticClass:"product-price"},[s("span",{staticClass:"current-price"},[t._v("¥"+t._s(i.price/100))]),i.market_price?s("span",{staticClass:"original-price"},[t._v("¥"+t._s(i.market_price/100))]):t._e()]),i.sales?s("div",{staticClass:"product-sales"},[s("span",[t._v("已售 "+t._s(i.sales_number)+" 件")])]):t._e()]),s("h3",{staticClass:"product-name"},[s("router-link",{attrs:{to:`/Detail/${i.id}`}},[t._v(" "+t._s(i.title)+" ")])],1),s("div",{staticClass:"product-actions"},[s("el-button",{staticStyle:{"background-color":"#6a8a27",border:"none"},attrs:{type:"primary",size:"small"}},[s("el-icon",{attrs:{name:"el-icon-shopping-cart"}}),t._v(" 立即购买 ")],1)],1)])])}),1),0===t.products.length?s("div",{staticClass:"no-products"},[s("el-empty",{attrs:{description:"暂无相关商品"}})],1):t._e()])},e=[],r={name:"ProductList",props:{products:{type:Array,default:()=>[]}},methods:{}},o=r,c=i(1656),n=(0,c.A)(o,a,e,!1,null,"71ee3626",null),l=n.exports},9828:function(t,s,i){i.r(s),i.d(s,{default:function(){return d}});i(4114);var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"home-page"},[s("el-carousel",{staticClass:"home-carousel",attrs:{height:"500px","indicator-position":"outside"}},t._l(4,function(t){return s("el-carousel-item",{key:t},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:`https://picsum.photos/1200/500?random=${t}`,expression:"`https://picsum.photos/1200/500?random=${item}`"}],staticClass:"carousel-img",attrs:{alt:"轮播图片"}})])}),1),s("div",{staticClass:"category-nav"},[s("h2",{staticClass:"section-title"},[t._v("商品分类")]),s("div",{staticClass:"category-list"},t._l(t.categories,function(i){return s("div",{key:i.id,staticClass:"category-item",on:{click:function(s){return t.$router.push(`/category/${i.id}`)}}},[s("el-icon",{staticClass:"category-icon",attrs:{name:i.icon}}),s("span",{staticClass:"category-name"},[t._v(t._s(i.name))])],1)}),0)]),s("div",{staticClass:"hot-products"},[t._m(0),s("ProductList",{attrs:{products:t.hotProducts}})],1),s("div",{staticClass:"new-products"},[t._m(1),s("ProductList",{attrs:{products:t.newProducts}})],1),s("div",{staticClass:"promotion-section"},[s("h2",{staticClass:"section-title"},[t._v("限时促销")]),s("div",{staticClass:"promotion-container"},[s("div",{staticClass:"promotion-item"},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:"https://picsum.photos/600/300?random=10",expression:"`https://picsum.photos/600/300?random=10`"}],staticClass:"promotion-img",attrs:{alt:"促销活动图片"}}),s("div",{staticClass:"promotion-info"},[s("h3",[t._v("夏季大促")]),s("p",[t._v("全场商品低至5折")]),s("el-button",{attrs:{type:"primary",size:"medium"}},[t._v("立即抢购")])],1)]),s("div",{staticClass:"promotion-item"},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:"https://picsum.photos/600/300?random=11",expression:"`https://picsum.photos/600/300?random=11`"}],staticClass:"promotion-img",attrs:{alt:"促销活动图片"}}),s("div",{staticClass:"promotion-info"},[s("h3",[t._v("新品首发")]),s("p",[t._v("限量发售,先到先得")]),s("el-button",{attrs:{type:"primary",size:"medium"}},[t._v("立即抢购")])],1)])])])],1)},e=[function(){var t=this,s=t._self._c;return s("div",{staticClass:"section-header"},[s("h2",{staticClass:"section-title"},[t._v("热门商品")]),s("a",{staticClass:"more-link",attrs:{href:"#"}},[t._v("查看更多 "),s("i",{staticClass:"el-icon-arrow-right"})])])},function(){var t=this,s=t._self._c;return s("div",{staticClass:"section-header"},[s("h2",{staticClass:"section-title"},[t._v("新品上市")]),s("a",{staticClass:"more-link",attrs:{href:"#"}},[t._v("查看更多 "),s("i",{staticClass:"el-icon-arrow-right"})])])}],r=i(3518),o=i(5457),c={name:"Home",components:{ProductList:o.A},data(){return{hotProducts:[{id:1,name:"超薄笔记本电脑",price:5999,originalPrice:6999,image:"https://picsum.photos/300/300?random=1",sales:1254,categoryId:1},{id:2,name:"智能手表",price:1599,originalPrice:1799,image:"https://picsum.photos/300/300?random=2",sales:856,categoryId:1},{id:3,name:"纯棉T恤",price:99,originalPrice:199,image:"https://picsum.photos/300/300?random=3",sales:2356,categoryId:2},{id:4,name:"休闲牛仔裤",price:199,originalPrice:399,image:"https://picsum.photos/300/300?random=4",sales:1890,categoryId:2},{id:5,name:"舒适沙发",price:2999,originalPrice:3999,image:"https://picsum.photos/300/300?random=5",sales:324,categoryId:3},{id:6,name:"智能扫地机器人",price:1899,originalPrice:2299,image:"https://picsum.photos/300/300?random=6",sales:754,categoryId:3}],newProducts:[{id:7,name:"高清投影仪",price:3299,originalPrice:3699,image:"https://picsum.photos/300/300?random=7",sales:156,categoryId:1},{id:8,name:"保湿面霜",price:299,originalPrice:359,image:"https://picsum.photos/300/300?random=8",sales:423,categoryId:4},{id:9,name:"有机水果礼盒",price:159,originalPrice:199,image:"https://picsum.photos/300/300?random=9",sales:287,categoryId:5},{id:10,name:"经典文学名著",price:129,originalPrice:199,image:"https://picsum.photos/300/300?random=10",sales:342,categoryId:6},{id:11,name:"无线蓝牙耳机",price:799,originalPrice:999,image:"https://picsum.photos/300/300?random=11",sales:567,categoryId:1},{id:12,name:"运动鞋",price:499,originalPrice:699,image:"https://picsum.photos/300/300?random=12",sales:432,categoryId:2}]}},computed:{...(0,r.L8)(["getCategories"]),categories(){return this.getCategories}},created(){this.fetchCategories()},methods:{...(0,r.i0)(["fetchCategories"])}},n=c,l=i(1656),p=(0,l.A)(n,a,e,!1,null,"34d6a3aa",null),d=p.exports}}]); -//# sourceMappingURL=828.deb87761.js.map \ No newline at end of file diff --git a/dist/js/828.deb87761.js.map b/dist/js/828.deb87761.js.map deleted file mode 100644 index 8ad9f1c..0000000 --- a/dist/js/828.deb87761.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/828.deb87761.js","mappings":"uJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgBJ,EAAIK,GAAIL,EAAIM,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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,MAAA,IACA4B,cAAA,IACAC,MAAA,yCACA1B,MAAA,IACA2B,WAAA,GAEA,CACAzC,GAAA,GACAG,KAAA,SACAQ,MAAA,IACA4B,cAAA,IACAC,MAAA,0CACA1B,MAAA,IACA2B,WAAA,GAEA,CACAzC,GAAA,GACAG,KAAA,SACAQ,MAAA,IACA4B,cAAA,IACAC,MAAA,0CACA1B,MAAA,IACA2B,WAAA,GAEA,CACAzC,GAAA,GACAG,KAAA,MACAQ,MAAA,IACA4B,cAAA,IACAC,MAAA,0CACA1B,MAAA,IACA2B,WAAA,IAIA,EACAC,SAAA,KACAC,EAAAA,EAAAA,IAAA,mBACAjB,UAAAA,GACA,YAAAkB,aACA,GAEAC,OAAAA,GACA,KAAAC,iBACA,EACAvB,QAAA,KACAwB,EAAAA,EAAAA,IAAA,uBCnOmP,I,UCQ/OvB,GAAY,OACd,EACAlC,EACA4B,GACA,EACA,KACA,WACA,MAIF,EAAeM,E","sources":["webpack://shiweisuzhou/./src/components/product/ProductList.vue","webpack://shiweisuzhou/src/components/product/ProductList.vue","webpack://shiweisuzhou/./src/components/product/ProductList.vue?43ae","webpack://shiweisuzhou/./src/components/product/ProductList.vue?0bfb","webpack://shiweisuzhou/./src/views/Home.vue","webpack://shiweisuzhou/src/views/Home.vue","webpack://shiweisuzhou/./src/views/Home.vue?a787","webpack://shiweisuzhou/./src/views/Home.vue?8611"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-list\"},[_c('div',{staticClass:\"product-grid\"},_vm._l((_vm.products),function(product){return _c('router-link',{key:product.id,staticClass:\"product-card\",attrs:{\"to\":`/Detail/${product.id}`}},[_c('div',{staticClass:\"product-img\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(product.headimg),expression:\"product.headimg\"}],staticClass:\"product-pic\",attrs:{\"alt\":product.title}})]),_c('div',{staticClass:\"product-info\"},[_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"product-price\"},[_c('span',{staticClass:\"current-price\"},[_vm._v(\"¥\"+_vm._s(product.price / 100))]),(product.market_price)?_c('span',{staticClass:\"original-price\"},[_vm._v(\"¥\"+_vm._s(product.market_price / 100))]):_vm._e()]),(product.sales)?_c('div',{staticClass:\"product-sales\"},[_c('span',[_vm._v(\"已售 \"+_vm._s(product.sales_number)+\" 件\")])]):_vm._e()]),_c('h3',{staticClass:\"product-name\"},[_c('router-link',{attrs:{\"to\":`/Detail/${product.id}`}},[_vm._v(\" \"+_vm._s(product.title)+\" \")])],1),_c('div',{staticClass:\"product-actions\"},[_c('el-button',{staticStyle:{\"background-color\":\"#6a8a27\",\"border\":\"none\"},attrs:{\"type\":\"primary\",\"size\":\"small\"}},[_c('el-icon',{attrs:{\"name\":\"el-icon-shopping-cart\"}}),_vm._v(\" 立即购买 \")],1)],1)])])}),1),(_vm.products.length === 0)?_c('div',{staticClass:\"no-products\"},[_c('el-empty',{attrs:{\"description\":\"暂无相关商品\"}})],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductList.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductList.vue?vue&type=template&id=71ee3626&scoped=true\"\nimport script from \"./ProductList.vue?vue&type=script&lang=js\"\nexport * from \"./ProductList.vue?vue&type=script&lang=js\"\nimport style0 from \"./ProductList.vue?vue&type=style&index=0&id=71ee3626&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"71ee3626\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"home-page\"},[_c('el-carousel',{staticClass:\"home-carousel\",attrs:{\"height\":\"500px\",\"indicator-position\":\"outside\"}},_vm._l((4),function(item){return _c('el-carousel-item',{key:item},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(`https://picsum.photos/1200/500?random=${item}`),expression:\"`https://picsum.photos/1200/500?random=${item}`\"}],staticClass:\"carousel-img\",attrs:{\"alt\":\"轮播图片\"}})])}),1),_c('div',{staticClass:\"category-nav\"},[_c('h2',{staticClass:\"section-title\"},[_vm._v(\"商品分类\")]),_c('div',{staticClass:\"category-list\"},_vm._l((_vm.categories),function(category){return _c('div',{key:category.id,staticClass:\"category-item\",on:{\"click\":function($event){return _vm.$router.push(`/category/${category.id}`)}}},[_c('el-icon',{staticClass:\"category-icon\",attrs:{\"name\":category.icon}}),_c('span',{staticClass:\"category-name\"},[_vm._v(_vm._s(category.name))])],1)}),0)]),_c('div',{staticClass:\"hot-products\"},[_vm._m(0),_c('ProductList',{attrs:{\"products\":_vm.hotProducts}})],1),_c('div',{staticClass:\"new-products\"},[_vm._m(1),_c('ProductList',{attrs:{\"products\":_vm.newProducts}})],1),_c('div',{staticClass:\"promotion-section\"},[_c('h2',{staticClass:\"section-title\"},[_vm._v(\"限时促销\")]),_c('div',{staticClass:\"promotion-container\"},[_c('div',{staticClass:\"promotion-item\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(`https://picsum.photos/600/300?random=10`),expression:\"`https://picsum.photos/600/300?random=10`\"}],staticClass:\"promotion-img\",attrs:{\"alt\":\"促销活动图片\"}}),_c('div',{staticClass:\"promotion-info\"},[_c('h3',[_vm._v(\"夏季大促\")]),_c('p',[_vm._v(\"全场商品低至5折\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"}},[_vm._v(\"立即抢购\")])],1)]),_c('div',{staticClass:\"promotion-item\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(`https://picsum.photos/600/300?random=11`),expression:\"`https://picsum.photos/600/300?random=11`\"}],staticClass:\"promotion-img\",attrs:{\"alt\":\"促销活动图片\"}}),_c('div',{staticClass:\"promotion-info\"},[_c('h3',[_vm._v(\"新品首发\")]),_c('p',[_vm._v(\"限量发售,先到先得\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"}},[_vm._v(\"立即抢购\")])],1)])])])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"section-header\"},[_c('h2',{staticClass:\"section-title\"},[_vm._v(\"热门商品\")]),_c('a',{staticClass:\"more-link\",attrs:{\"href\":\"#\"}},[_vm._v(\"查看更多 \"),_c('i',{staticClass:\"el-icon-arrow-right\"})])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"section-header\"},[_c('h2',{staticClass:\"section-title\"},[_vm._v(\"新品上市\")]),_c('a',{staticClass:\"more-link\",attrs:{\"href\":\"#\"}},[_vm._v(\"查看更多 \"),_c('i',{staticClass:\"el-icon-arrow-right\"})])])\n}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","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/838.3bd96d59.js b/dist/js/838.3bd96d59.js deleted file mode 100644 index 124bc8f..0000000 --- a/dist/js/838.3bd96d59.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[838],{7838:function(t,x,e){e.r(x),e.d(x,{default:function(){return o}});var a=function(){var t=this,x=t._self._c;return x("div",{staticClass:"notification-page"},[x("el-button",{staticClass:"mark-all-read",attrs:{type:"text"},on:{click:t.markAllAsRead}},[t._v("全部已读")]),t._l(t.currentPageNotifications,function(e,a){return x("el-card",{key:a,staticClass:"notification-card",class:{read:e.isRead}},[x("div",{staticClass:"notification-header",on:{click:function(x){return t.toggleExpand(e)}}},[e.isRead?t._e():x("span",{staticClass:"dot"},[t._v("●")]),x("span",{staticClass:"title"},[t._v(t._s(e.title))]),x("el-button",{staticClass:"expand-btn",attrs:{type:"text"}},[t._v(" "+t._s(e.isExpanded?"收起":"展开")+" "),t.isExpanded?x("i",{staticClass:"el-icon-arrow-up"}):x("i",{staticClass:"el-icon-arrow-down"})]),x("span",{staticClass:"date"},[t._v(t._s(e.date))])],1),x("div",{directives:[{name:"show",rawName:"v-show",value:e.isExpanded,expression:"item.isExpanded"}],staticClass:"notification-content"},[t._v(" "+t._s(e.content)+" ")])])}),x("el-pagination",{staticClass:"pagination",attrs:{"current-page":t.currentPage,"page-size":t.pageSize,layout:"prev, pager, next",total:t.notifications.length},on:{"current-change":t.handleCurrentChange}})],2)},i=[],n=(e(8111),e(7588),{name:"NotificationPage",data(){return{currentPage:2,pageSize:3,notifications:[{title:"您的订单(编号:0022929922992)包含的产品:xxx 已成功出票",date:"2025-08-18",content:"",isRead:!1,isExpanded:!1},{title:"重大通知:因台风天气影响,部分商家发货会延迟,请见谅!",date:"2025-08-18",content:"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",isRead:!1,isExpanded:!0},{title:"您的订单(编号:0022929922992)包含的产品:xxx 已成功出票",date:"2025-08-18",content:"",isRead:!0,isExpanded:!1},{title:"新功能上线通知:新增会员专属优惠活动",date:"2025-08-17",content:"尊敬的用户,我们新增了会员专属优惠活动,快来查看吧!",isRead:!0,isExpanded:!1},{title:"您的账户安全提示:请及时修改密码",date:"2025-08-17",content:"为保障您的账户安全,建议您定期修改密码,避免使用简单密码。",isRead:!0,isExpanded:!1}]}},computed:{currentPageNotifications(){const t=(this.currentPage-1)*this.pageSize,x=t+this.pageSize;return this.notifications.slice(t,x)}},methods:{toggleExpand(t){t.isExpanded=!t.isExpanded},markAllAsRead(){this.notifications.forEach(t=>{t.isRead=!0})},handleCurrentChange(t){this.currentPage=t}}}),s=n,c=e(1656),d=(0,c.A)(s,a,i,!1,null,"b0cdd62a",null),o=d.exports}}]); -//# sourceMappingURL=838.3bd96d59.js.map \ No newline at end of file diff --git a/dist/js/838.3bd96d59.js.map b/dist/js/838.3bd96d59.js.map deleted file mode 100644 index 890deba..0000000 --- a/dist/js/838.3bd96d59.js.map +++ /dev/null @@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CAACE,YAAY,aAAaC,MAAM,CAAC,eAAeL,EAAI6B,YAAY,YAAY7B,EAAI8B,SAAS,OAAS,oBAAoB,MAAQ9B,EAAI+B,cAAcC,QAAQ1B,GAAG,CAAC,iBAAiBN,EAAIiC,wBAAwB,EAC/xC,EACIC,EAAkB,GCkCtB,G,gBAAA,CACAV,KAAA,mBACAW,IAAAA,GACA,OACAN,YAAA,EACAC,SAAA,EACAC,cAAA,CACA,CACAX,MAAA,wCACAE,KAAA,aACAM,QAAA,GACAb,QAAA,EACAM,YAAA,GAEA,CACAD,MAAA,8BACAE,KAAA,aACAM,QAAA,yHACAb,QAAA,EACAM,YAAA,GAEA,CACAD,MAAA,wCACAE,KAAA,aACAM,QAAA,GACAb,QAAA,EACAM,YAAA,GAGA,CACAD,MAAA,qBACAE,KAAA,aACAM,QAAA,6BACAb,QAAA,EACAM,YAAA,GAEA,CACAD,MAAA,mBACAE,KAAA,aACAM,QAAA,gCACAb,QAAA,EACAM,YAAA,IAIA,EACAe,SAAA,CAEA1B,wBAAAA,GACA,MAAA2B,GAAA,KAAAR,YAAA,QAAAC,SACAQ,EAAAD,EAAA,KAAAP,SACA,YAAAC,cAAAQ,MAAAF,EAAAC,EACA,GAEAE,QAAA,CAEAvB,YAAAA,CAAAN,GACAA,EAAAU,YAAAV,EAAAU,UACA,EAEAd,aAAAA,GACA,KAAAwB,cAAAU,QAAA9B,IACAA,EAAAI,QAAA,GAEA,EAEAkB,mBAAAA,CAAAS,GACA,KAAAb,YAAAa,CACA,KCxGmQ,I,UCQ/PC,GAAY,OACd,EACA5C,EACAmC,GACA,EACA,KACA,WACA,MAIF,EAAeS,E","sources":["webpack://shiweisuzhou/./src/views/User/MessageList.vue","webpack://shiweisuzhou/src/views/User/MessageList.vue","webpack://shiweisuzhou/./src/views/User/MessageList.vue?d310","webpack://shiweisuzhou/./src/views/User/MessageList.vue?6c43"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"notification-page\"},[_c('el-button',{staticClass:\"mark-all-read\",attrs:{\"type\":\"text\"},on:{\"click\":_vm.markAllAsRead}},[_vm._v(\"全部已读\")]),_vm._l((_vm.currentPageNotifications),function(item,index){return _c('el-card',{key:index,staticClass:\"notification-card\",class:{ 'read': item.isRead }},[_c('div',{staticClass:\"notification-header\",on:{\"click\":function($event){return _vm.toggleExpand(item)}}},[(!item.isRead)?_c('span',{staticClass:\"dot\"},[_vm._v(\"●\")]):_vm._e(),_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(item.title))]),_c('el-button',{staticClass:\"expand-btn\",attrs:{\"type\":\"text\"}},[_vm._v(\" \"+_vm._s(item.isExpanded? '收起' : '展开')+\" \"),(_vm.isExpanded)?_c('i',{staticClass:\"el-icon-arrow-up\"}):_c('i',{staticClass:\"el-icon-arrow-down\"})]),_c('span',{staticClass:\"date\"},[_vm._v(_vm._s(item.date))])],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(item.isExpanded),expression:\"item.isExpanded\"}],staticClass:\"notification-content\"},[_vm._v(\" \"+_vm._s(item.content)+\" \")])])}),_c('el-pagination',{staticClass:\"pagination\",attrs:{\"current-page\":_vm.currentPage,\"page-size\":_vm.pageSize,\"layout\":\"prev, pager, next\",\"total\":_vm.notifications.length},on:{\"current-change\":_vm.handleCurrentChange}})],2)\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!./MessageList.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!./MessageList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./MessageList.vue?vue&type=template&id=b0cdd62a&scoped=true\"\nimport script from \"./MessageList.vue?vue&type=script&lang=js\"\nexport * from \"./MessageList.vue?vue&type=script&lang=js\"\nimport style0 from \"./MessageList.vue?vue&type=style&index=0&id=b0cdd62a&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 \"b0cdd62a\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","on","markAllAsRead","_v","_l","currentPageNotifications","item","index","key","class","isRead","$event","toggleExpand","_e","_s","title","isExpanded","date","directives","name","rawName","value","expression","content","currentPage","pageSize","notifications","length","handleCurrentChange","staticRenderFns","data","computed","start","end","slice","methods","forEach","val","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/87.48a2ebc1.js b/dist/js/87.48a2ebc1.js deleted file mode 100644 index 5da77c8..0000000 --- a/dist/js/87.48a2ebc1.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[87],{8087: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()},beforeDestroy(){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=this.VUE_APP_GLOBAL_TAGS.pc_all;const t=this.$route.query.id||this.VUE_APP_GLOBAL_TAGS.pc_all;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}`)}}},l=c,o=s(1656),d=(0,o.A)(l,a,r,!1,null,"770ecff0",null),n=d.exports}}]); -//# sourceMappingURL=87.48a2ebc1.js.map \ No newline at end of file diff --git a/dist/js/87.48a2ebc1.js.map b/dist/js/87.48a2ebc1.js.map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A,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,IC3Q6P,I,UCQzP+E,GAAY,OACd,EACAnG,EACAiD,GACA,EACA,KACA,WACA,MAIF,EAAekD,E","sources":["webpack://shiweisuzhou/./src/views/ProductPage/Index.vue","webpack://shiweisuzhou/src/views/ProductPage/Index.vue","webpack://shiweisuzhou/./src/views/ProductPage/Index.vue?c00e","webpack://shiweisuzhou/./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=770ecff0&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=770ecff0&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 \"770ecff0\",\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","beforeDestroy","$store","commit","methods","post","pid","then","res","VUE_APP_GLOBAL_TAGS","pc_all","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/995.b05470f0.js b/dist/js/878.ed5a6807.js similarity index 96% rename from dist/js/995.b05470f0.js rename to dist/js/878.ed5a6807.js index 3c79bb4..465553a 100644 --- a/dist/js/995.b05470f0.js +++ b/dist/js/878.ed5a6807.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[995],{6995:function(e,t,s){s.r(t),s.d(t,{default:function(){return d}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg"},[t("div",{staticClass:"common-card normal-margin-bottom"},[t("div",{staticClass:"order-step"},[t("el-steps",{staticStyle:{width:"100%"},attrs:{active:e.activeIndex,"align-center":""}},e._l(e.activities,function(s,a){return t("el-step",{key:a,class:[a==e.activeIndexFlag?"is-current":""]},[t("div",{staticClass:"process-title",attrs:{slot:"title"},slot:"title"},[e._v(e._s(s.status))]),t("div",{attrs:{slot:"icon"},slot:"icon"},[a>=e.activeIndexFlag?t("span",[e._v(e._s(a+1))]):t("i",{staticClass:"el-icon-check",staticStyle:{color:"#fff"}})])])}),1)],1)]),e.showNotice?t("div",{staticClass:"notice-bar"},[e._v("拒绝理由:"+e._s(e.user.reason))]):e._e(),t("el-card",{staticStyle:{width:"100%"}},[t("el-form",{ref:"userForm",attrs:{model:e.user,"label-width":"150px",size:"small",disabled:!e.canSubmit}},[t("div",{staticClass:"flex-between"},[t("div",{staticClass:"header-title"},[e._v("单位信息")]),e.user&&1==e.user.status?t("el-button",{attrs:{type:"primart",size:"small",disabled:!1},on:{click:e.editUser}},[e._v("编辑")]):e._e()],1),t("el-form-item",{attrs:{label:"营业执照",prop:"business_license",rules:e.selectRequired}},[t("el-upload",{staticClass:"avatar-uploader",attrs:{action:"#","auto-upload":!1,"on-change":e.handleAvatarChange,"show-file-list":!1,disabled:e.isEdit}},[e.user.business_license?t("img",{staticClass:"avatar",attrs:{src:e.user.business_license}}):t("i",{staticClass:"el-icon-plus avatar-uploader-icon"})])],1),t("div",{staticClass:"grid-container"},[t("el-form-item",{attrs:{label:"公司名称:",prop:"company_name",rules:e.inputRequired}},[t("el-input",{attrs:{placeholder:"请输入",disabled:e.isEdit},model:{value:e.user.company_name,callback:function(t){e.$set(e.user,"company_name",t)},expression:"user.company_name"}})],1),t("el-form-item",{attrs:{label:"统一信用代码:",prop:"standard_translation",rules:e.inputRequired}},[t("el-input",{attrs:{placeholder:"请输入",disabled:e.isEdit},model:{value:e.user.standard_translation,callback:function(t){e.$set(e.user,"standard_translation",t)},expression:"user.standard_translation"}})],1)],1),t("div",{staticClass:"grid-container"},[t("el-form-item",{attrs:{label:"法人代表:",prop:"legal_representative",rules:e.inputRequired}},[t("el-input",{attrs:{placeholder:"请输入",disabled:e.isEdit},model:{value:e.user.legal_representative,callback:function(t){e.$set(e.user,"legal_representative",t)},expression:"user.legal_representative"}})],1),t("div")],1),t("div",{staticClass:"header-title",staticStyle:{"margin-top":"50px"}},[e._v("联系人信息")]),t("div",{staticClass:"grid-container"},[t("el-form-item",{attrs:{label:"联系人名称:",prop:"contact_name",rules:e.inputRequired}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.user.contact_name,callback:function(t){e.$set(e.user,"contact_name",t)},expression:"user.contact_name"}})],1),t("el-form-item",{attrs:{label:"手机号码:",prop:"mobile",rules:e.inputRequired}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.user.mobile,callback:function(t){e.$set(e.user,"mobile",t)},expression:"user.mobile"}})],1)],1),t("div",{staticClass:"grid-container"},[t("el-form-item",{attrs:{label:"邮箱:",prop:"email",rules:e.inputRequired}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.user.email,callback:function(t){e.$set(e.user,"email",t)},expression:"user.email"}})],1),t("el-form-item",{attrs:{label:"固定电话:",prop:"fixed_telephone",rules:e.inputRequired}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.user.fixed_telephone,callback:function(t){e.$set(e.user,"fixed_telephone",t)},expression:"user.fixed_telephone"}})],1)],1),t("div",{staticClass:"grid-container"},[t("el-form-item",{attrs:{label:"公司地址:",prop:"address",rules:e.inputRequired}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.user.address,callback:function(t){e.$set(e.user,"address",t)},expression:"user.address"}})],1)],1),e.canSubmit?t("div",{staticStyle:{display:"flex","justify-content":"center","margin-top":"50px"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.saveUser}},[e._v("保存")])],1):e._e()],1)],1)],1)},i=[],l={name:"OrderDetail",data(){return{canSubmit:!0,isEdit:!1,showNotice:!1,activities:[{status:"待完善"},{status:"信息审核中"},{status:"审核通过"}],options:[{value:"zhinan",label:"指南",children:[{value:"shejiyuanze",label:"设计原则",children:[{value:"yizhi",label:"一致"}]}]}],activeIndex:0,activeIndexFlag:0,user:{business_license:""},inputRequired:{required:!0,message:"请输入",trigger:"blur"},selectRequired:{required:!0,message:"请选择",trigger:"change"}}},mounted(){this.getEnterprise()},methods:{handleAvatarChange(e){this.util.imgToBase64(e.raw).then(e=>{console.log(e),this.post({img_base64:e},"/api/pbservice/Other/base64Upload").then(e=>{this.user.business_license=e.data.url})})},getEnterprise(){this.post({},"/api/enterprise/index").then(e=>(console.log(e),e.data?0==e.data.status?(this.activeIndex=1,this.activeIndexFlag=1,this.user=e.data,void(this.canSubmit=!1)):1==e.data.status?(this.activeIndex=3,this.activeIndexFlag=3,this.user=e.data,void(this.canSubmit=!1)):void(2==e.data.status&&(this.activeIndex=2,this.activeIndexFlag=2,this.user=e.data,this.canSubmit=!0,this.activities=[{status:"待完善"},{status:"信息审核中"},{status:"审核拒绝,请重新提交"}],e.data.reason&&(this.showNotice=!0))):(this.activeIndex=0,this.activeIndexFlag=0,void(this.canSubmit=!0))))},saveUser(){this.$refs.userForm.validate(e=>{if(e){let e="/api/enterprise/edit";this.isEdit||(e="/api/enterprise/create",delete this.user.id,delete this.user.status,delete this.user.reason),this.post(this.user,e).then(e=>{1!=e.code&&200!=e.code||(this.$message.success(e.msg),this.getEnterprise())})}})},editUser(){this.canSubmit=!0,this.isEdit=!0}}},r=l,n=s(1656),u=(0,n.A)(r,a,i,!1,null,"08e3027d",null),d=u.exports}}]); -//# sourceMappingURL=995.b05470f0.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[878],{6878:function(e,t,s){s.r(t),s.d(t,{default:function(){return d}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg"},[t("div",{staticClass:"common-card normal-margin-bottom"},[t("div",{staticClass:"order-step"},[t("el-steps",{staticStyle:{width:"100%"},attrs:{active:e.activeIndex,"align-center":""}},e._l(e.activities,function(s,a){return t("el-step",{key:a,class:[a==e.activeIndexFlag?"is-current":""]},[t("div",{staticClass:"process-title",attrs:{slot:"title"},slot:"title"},[e._v(e._s(s.status))]),t("div",{attrs:{slot:"icon"},slot:"icon"},[a>=e.activeIndexFlag?t("span",[e._v(e._s(a+1))]):t("i",{staticClass:"el-icon-check",staticStyle:{color:"#fff"}})])])}),1)],1)]),e.showNotice?t("div",{staticClass:"notice-bar"},[e._v("拒绝理由:"+e._s(e.user.reason))]):e._e(),t("el-card",{staticStyle:{width:"100%"}},[t("el-form",{ref:"userForm",attrs:{model:e.user,"label-width":"150px",size:"small",disabled:!e.canSubmit}},[t("div",{staticClass:"flex-between"},[t("div",{staticClass:"header-title"},[e._v("单位信息")]),e.user&&1==e.user.status?t("el-button",{attrs:{type:"primart",size:"small",disabled:!1},on:{click:e.editUser}},[e._v("编辑")]):e._e()],1),t("el-form-item",{attrs:{label:"营业执照",prop:"business_license",rules:e.selectRequired}},[t("el-upload",{staticClass:"avatar-uploader",attrs:{action:"#","auto-upload":!1,"on-change":e.handleAvatarChange,"show-file-list":!1,disabled:e.isEdit}},[e.user.business_license?t("img",{staticClass:"avatar",attrs:{src:e.user.business_license}}):t("i",{staticClass:"el-icon-plus avatar-uploader-icon"})])],1),t("div",{staticClass:"grid-container"},[t("el-form-item",{attrs:{label:"公司名称:",prop:"company_name",rules:e.inputRequired}},[t("el-input",{attrs:{placeholder:"请输入",disabled:e.isEdit},model:{value:e.user.company_name,callback:function(t){e.$set(e.user,"company_name",t)},expression:"user.company_name"}})],1),t("el-form-item",{attrs:{label:"统一信用代码:",prop:"standard_translation",rules:e.inputRequired}},[t("el-input",{attrs:{placeholder:"请输入",disabled:e.isEdit},model:{value:e.user.standard_translation,callback:function(t){e.$set(e.user,"standard_translation",t)},expression:"user.standard_translation"}})],1)],1),t("div",{staticClass:"grid-container"},[t("el-form-item",{attrs:{label:"法人代表:",prop:"legal_representative",rules:e.inputRequired}},[t("el-input",{attrs:{placeholder:"请输入",disabled:e.isEdit},model:{value:e.user.legal_representative,callback:function(t){e.$set(e.user,"legal_representative",t)},expression:"user.legal_representative"}})],1),t("div")],1),t("div",{staticClass:"header-title",staticStyle:{"margin-top":"50px"}},[e._v("联系人信息")]),t("div",{staticClass:"grid-container"},[t("el-form-item",{attrs:{label:"联系人名称:",prop:"contact_name",rules:e.inputRequired}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.user.contact_name,callback:function(t){e.$set(e.user,"contact_name",t)},expression:"user.contact_name"}})],1),t("el-form-item",{attrs:{label:"手机号码:",prop:"mobile",rules:e.inputRequired}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.user.mobile,callback:function(t){e.$set(e.user,"mobile",t)},expression:"user.mobile"}})],1)],1),t("div",{staticClass:"grid-container"},[t("el-form-item",{attrs:{label:"邮箱:",prop:"email",rules:e.inputRequired}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.user.email,callback:function(t){e.$set(e.user,"email",t)},expression:"user.email"}})],1),t("el-form-item",{attrs:{label:"固定电话:",prop:"fixed_telephone",rules:e.inputRequired}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.user.fixed_telephone,callback:function(t){e.$set(e.user,"fixed_telephone",t)},expression:"user.fixed_telephone"}})],1)],1),t("div",{staticClass:"grid-container"},[t("el-form-item",{attrs:{label:"公司地址:",prop:"address",rules:e.inputRequired}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.user.address,callback:function(t){e.$set(e.user,"address",t)},expression:"user.address"}})],1)],1),e.canSubmit?t("div",{staticStyle:{display:"flex","justify-content":"center","margin-top":"50px"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.saveUser}},[e._v("保存")])],1):e._e()],1)],1)],1)},i=[],l={name:"OrderDetail",data(){return{canSubmit:!0,isEdit:!1,showNotice:!1,activities:[{status:"待完善"},{status:"信息审核中"},{status:"审核通过"}],options:[{value:"zhinan",label:"指南",children:[{value:"shejiyuanze",label:"设计原则",children:[{value:"yizhi",label:"一致"}]}]}],activeIndex:0,activeIndexFlag:0,user:{business_license:""},inputRequired:{required:!0,message:"请输入",trigger:"blur"},selectRequired:{required:!0,message:"请选择",trigger:"change"}}},mounted(){this.getEnterprise()},methods:{handleAvatarChange(e){this.util.imgToBase64(e.raw).then(e=>{console.log(e),this.post({img_base64:e},"/api/pbservice/Other/base64Upload").then(e=>{this.user.business_license=e.data.url})})},getEnterprise(){this.post({},"/api/enterprise/index").then(e=>(console.log(e),e.data?0==e.data.status?(this.activeIndex=1,this.activeIndexFlag=1,this.user=e.data,void(this.canSubmit=!1)):1==e.data.status?(this.activeIndex=3,this.activeIndexFlag=3,this.user=e.data,void(this.canSubmit=!1)):void(2==e.data.status&&(this.activeIndex=2,this.activeIndexFlag=2,this.user=e.data,this.canSubmit=!0,this.activities=[{status:"待完善"},{status:"信息审核中"},{status:"审核拒绝,请重新提交"}],e.data.reason&&(this.showNotice=!0))):(this.activeIndex=0,this.activeIndexFlag=0,void(this.canSubmit=!0))))},saveUser(){this.$refs.userForm.validate(e=>{if(e){let e="/api/enterprise/edit";this.isEdit||(e="/api/enterprise/create",delete this.user.id,delete this.user.status,delete this.user.reason),this.post(this.user,e).then(e=>{1!=e.code&&200!=e.code||(this.$message.success(e.msg),this.getEnterprise())})}})},editUser(){this.canSubmit=!0,this.isEdit=!0}}},r=l,n=s(845),u=(0,n.A)(r,a,i,!1,null,"08e3027d",null),d=u.exports}}]); +//# sourceMappingURL=878.ed5a6807.js.map \ No newline at end of file diff --git a/dist/js/995.b05470f0.js.map b/dist/js/878.ed5a6807.js.map similarity index 91% rename from dist/js/995.b05470f0.js.map rename to dist/js/878.ed5a6807.js.map index bbebd4d..62977d7 100644 --- a/dist/js/995.b05470f0.js.map +++ b/dist/js/878.ed5a6807.js.map @@ -1 +1 @@ -{"version":3,"file":"js/995.b05470f0.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACE,YAAY,oCAAoC,CAACF,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,WAAW,CAACG,YAAY,CAAC,MAAQ,QAAQC,MAAM,CAAC,OAASN,EAAIO,YAAY,eAAe,KAAKP,EAAIQ,GAAIR,EAAIS,WAAY,SAASC,EAAKC,GAAG,OAAOT,EAAG,UAAU,CAACU,IAAID,EAAEE,MAAM,CAACF,GAAKX,EAAIc,gBAAkB,aAAe,KAAK,CAACZ,EAAG,MAAM,CAACE,YAAY,gBAAgBE,MAAM,CAAC,KAAO,SAASS,KAAK,SAAS,CAACf,EAAIgB,GAAGhB,EAAIiB,GAAGP,EAAKQ,WAAWhB,EAAG,MAAM,CAACI,MAAM,CAAC,KAAO,QAAQS,KAAK,QAAQ,CAAEJ,GAAKX,EAAIc,gBAAiBZ,EAAG,OAAO,CAACF,EAAIgB,GAAGhB,EAAIiB,GAAGN,EAAI,MAAMT,EAAG,IAAI,CAACE,YAAY,gBAAgBC,YAAY,CAAC,MAAQ,aAAa,GAAG,IAAI,KAAML,EAAImB,WAAYjB,EAAG,MAAM,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B,WAAA,EACA,KAAAf,WAAA,CACA,CAAAS,OAAA,OACA,CAAAA,OAAA,SACA,CAAAA,OAAA,eAEAmD,EAAApB,KAAA5B,SACA,KAAAF,YAAA,MAlCA,KAAAZ,YAAA,EACA,KAAAO,gBAAA,OACA,KAAAU,WAAA,KAoCA,EAEAsB,QAAAA,GACA,KAAAyB,MAAAC,SAAAC,SAAAC,IACA,GAAAA,EAAA,CACA,IAAAC,EAAA,uBACA,KAAA9C,SACA8C,EAAA,gCACA,KAAAvD,KAAAwD,UACA,KAAAxD,KAAAF,cACA,KAAAE,KAAAC,QAEA,KAAA8C,KAAA,KAAA/C,KAAAuD,GAAAZ,KAAAM,IACA,GAAAA,EAAAQ,MAAA,KAAAR,EAAAQ,OACA,KAAAC,SAAAC,QAAAV,EAAAW,KACA,KAAAvB,kBAGA,GAEA,EAEA/B,QAAAA,GACA,KAAAF,WAAA,EACA,KAAAK,QAAA,CACA,IC1RoQ,I,UCQhQoD,GAAY,OACd,EACAlF,EACAgD,GACA,EACA,KACA,WACA,MAIF,EAAekC,E","sources":["webpack://shiweisuzhou/./src/views/User/PurchaserAdd.vue","webpack://shiweisuzhou/src/views/User/PurchaserAdd.vue","webpack://shiweisuzhou/./src/views/User/PurchaserAdd.vue?4111","webpack://shiweisuzhou/./src/views/User/PurchaserAdd.vue?647c"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"common-card normal-margin-bottom\"},[_c('div',{staticClass:\"order-step\"},[_c('el-steps',{staticStyle:{\"width\":\"100%\"},attrs:{\"active\":_vm.activeIndex,\"align-center\":\"\"}},_vm._l((_vm.activities),function(item,i){return _c('el-step',{key:i,class:[i == _vm.activeIndexFlag ? 'is-current' : '']},[_c('div',{staticClass:\"process-title\",attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(_vm._s(item.status))]),_c('div',{attrs:{\"slot\":\"icon\"},slot:\"icon\"},[(i >= _vm.activeIndexFlag)?_c('span',[_vm._v(_vm._s(i + 1))]):_c('i',{staticClass:\"el-icon-check\",staticStyle:{\"color\":\"#fff\"}})])])}),1)],1)]),(_vm.showNotice)?_c('div',{staticClass:\"notice-bar\"},[_vm._v(\"拒绝理由:\"+_vm._s(_vm.user.reason))]):_vm._e(),_c('el-card',{staticStyle:{\"width\":\"100%\"}},[_c('el-form',{ref:\"userForm\",attrs:{\"model\":_vm.user,\"label-width\":\"150px\",\"size\":\"small\",\"disabled\":!_vm.canSubmit}},[_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"header-title\"},[_vm._v(\"单位信息\")]),(_vm.user && _vm.user.status == 1)?_c('el-button',{attrs:{\"type\":\"primart\",\"size\":\"small\",\"disabled\":false},on:{\"click\":_vm.editUser}},[_vm._v(\"编辑\")]):_vm._e()],1),_c('el-form-item',{attrs:{\"label\":\"营业执照\",\"prop\":\"business_license\",\"rules\":_vm.selectRequired}},[_c('el-upload',{staticClass:\"avatar-uploader\",attrs:{\"action\":\"#\",\"auto-upload\":false,\"on-change\":_vm.handleAvatarChange,\"show-file-list\":false,\"disabled\":_vm.isEdit}},[(_vm.user.business_license)?_c('img',{staticClass:\"avatar\",attrs:{\"src\":_vm.user.business_license}}):_c('i',{staticClass:\"el-icon-plus avatar-uploader-icon\"})])],1),_c('div',{staticClass:\"grid-container\"},[_c('el-form-item',{attrs:{\"label\":\"公司名称:\",\"prop\":\"company_name\",\"rules\":_vm.inputRequired}},[_c('el-input',{attrs:{\"placeholder\":\"请输入\",\"disabled\":_vm.isEdit},model:{value:(_vm.user.company_name),callback:function ($$v) {_vm.$set(_vm.user, \"company_name\", $$v)},expression:\"user.company_name\"}})],1),_c('el-form-item',{attrs:{\"label\":\"统一信用代码:\",\"prop\":\"standard_translation\",\"rules\":_vm.inputRequired}},[_c('el-input',{attrs:{\"placeholder\":\"请输入\",\"disabled\":_vm.isEdit},model:{value:(_vm.user.standard_translation),callback:function ($$v) {_vm.$set(_vm.user, \"standard_translation\", $$v)},expression:\"user.standard_translation\"}})],1)],1),_c('div',{staticClass:\"grid-container\"},[_c('el-form-item',{attrs:{\"label\":\"法人代表:\",\"prop\":\"legal_representative\",\"rules\":_vm.inputRequired}},[_c('el-input',{attrs:{\"placeholder\":\"请输入\",\"disabled\":_vm.isEdit},model:{value:(_vm.user.legal_representative),callback:function ($$v) {_vm.$set(_vm.user, \"legal_representative\", $$v)},expression:\"user.legal_representative\"}})],1),_c('div')],1),_c('div',{staticClass:\"header-title\",staticStyle:{\"margin-top\":\"50px\"}},[_vm._v(\"联系人信息\")]),_c('div',{staticClass:\"grid-container\"},[_c('el-form-item',{attrs:{\"label\":\"联系人名称:\",\"prop\":\"contact_name\",\"rules\":_vm.inputRequired}},[_c('el-input',{attrs:{\"placeholder\":\"请输入\"},model:{value:(_vm.user.contact_name),callback:function ($$v) {_vm.$set(_vm.user, \"contact_name\", $$v)},expression:\"user.contact_name\"}})],1),_c('el-form-item',{attrs:{\"label\":\"手机号码:\",\"prop\":\"mobile\",\"rules\":_vm.inputRequired}},[_c('el-input',{attrs:{\"placeholder\":\"请输入\"},model:{value:(_vm.user.mobile),callback:function ($$v) {_vm.$set(_vm.user, \"mobile\", $$v)},expression:\"user.mobile\"}})],1)],1),_c('div',{staticClass:\"grid-container\"},[_c('el-form-item',{attrs:{\"label\":\"邮箱:\",\"prop\":\"email\",\"rules\":_vm.inputRequired}},[_c('el-input',{attrs:{\"placeholder\":\"请输入\"},model:{value:(_vm.user.email),callback:function ($$v) {_vm.$set(_vm.user, \"email\", $$v)},expression:\"user.email\"}})],1),_c('el-form-item',{attrs:{\"label\":\"固定电话:\",\"prop\":\"fixed_telephone\",\"rules\":_vm.inputRequired}},[_c('el-input',{attrs:{\"placeholder\":\"请输入\"},model:{value:(_vm.user.fixed_telephone),callback:function ($$v) {_vm.$set(_vm.user, \"fixed_telephone\", $$v)},expression:\"user.fixed_telephone\"}})],1)],1),_c('div',{staticClass:\"grid-container\"},[_c('el-form-item',{attrs:{\"label\":\"公司地址:\",\"prop\":\"address\",\"rules\":_vm.inputRequired}},[_c('el-input',{attrs:{\"placeholder\":\"请输入\"},model:{value:(_vm.user.address),callback:function ($$v) {_vm.$set(_vm.user, \"address\", $$v)},expression:\"user.address\"}})],1)],1),(_vm.canSubmit)?_c('div',{staticStyle:{\"display\":\"flex\",\"justify-content\":\"center\",\"margin-top\":\"50px\"}},[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.saveUser}},[_vm._v(\"保存\")])],1):_vm._e()],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!./PurchaserAdd.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!./PurchaserAdd.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PurchaserAdd.vue?vue&type=template&id=08e3027d&scoped=true\"\nimport script from \"./PurchaserAdd.vue?vue&type=script&lang=js\"\nexport * from \"./PurchaserAdd.vue?vue&type=script&lang=js\"\nimport style0 from \"./PurchaserAdd.vue?vue&type=style&index=0&id=08e3027d&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 \"08e3027d\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","attrs","activeIndex","_l","activities","item","i","key","class","activeIndexFlag","slot","_v","_s","status","showNotice","user","reason","_e","ref","canSubmit","on","editUser","selectRequired","handleAvatarChange","isEdit","business_license","inputRequired","model","value","company_name","callback","$$v","$set","expression","standard_translation","legal_representative","contact_name","mobile","email","fixed_telephone","address","saveUser","staticRenderFns","name","data","options","label","children","required","message","trigger","mounted","getEnterprise","methods","file","util","imgToBase64","raw","then","base64","console","log","post","img_base64","res","url","$refs","userForm","validate","valid","api","id","code","$message","success","msg","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/878.ed5a6807.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,MAAM,CAACE,YAAY,oCAAoC,CAACF,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,WAAW,CAACG,YAAY,CAAC,MAAQ,QAAQC,MAAM,CAAC,OAASN,EAAIO,YAAY,eAAe,KAAKP,EAAIQ,GAAIR,EAAIS,WAAY,SAASC,EAAKC,GAAG,OAAOT,EAAG,UAAU,CAACU,IAAID,EAAEE,MAAM,CAACF,GAAKX,EAAIc,gBAAkB,aAAe,KAAK,CAACZ,EAAG,MAAM,CAACE,YAAY,gBAAgBE,MAAM,CAAC,KAAO,SAASS,KAAK,SAAS,CAACf,EAAIgB,GAAGhB,EAAIiB,GAAGP,EAAKQ,WAAWhB,EAAG,MAAM,CAACI,MAAM,CAAC,KAAO,QAAQS,KAAK,QAAQ,CAAEJ,GAAKX,EAAIc,gBAAiBZ,EAAG,OAAO,CAACF,EAAIgB,GAAGhB,EAAIiB,GAAGN,EAAI,MAAMT,EAAG,IAAI,CAACE,YAAY,gBAAgBC,YAAY,CAAC,MAAQ,aAAa,GAAG,IAAI,KAAML,EAAImB,WAAYjB,EAAG,MAAM,CAACE,YAAY,cAAc,CAACJ,EAAIgB,GAAG,QAAQhB,EAAIiB,GAAGjB,EAAIoB,KAAKC,WAAWrB,EAAIsB,KAAKpB,EAAG,UAAU,CAACG,YAAY,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KAAAZ,YAAA,EACA,KAAAO,gBAAA,OACA,KAAAU,WAAA,KAoCA,EAEAsB,QAAAA,GACA,KAAAyB,MAAAC,SAAAC,SAAAC,IACA,GAAAA,EAAA,CACA,IAAAC,EAAA,uBACA,KAAA9C,SACA8C,EAAA,gCACA,KAAAvD,KAAAwD,UACA,KAAAxD,KAAAF,cACA,KAAAE,KAAAC,QAEA,KAAA8C,KAAA,KAAA/C,KAAAuD,GAAAZ,KAAAM,IACA,GAAAA,EAAAQ,MAAA,KAAAR,EAAAQ,OACA,KAAAC,SAAAC,QAAAV,EAAAW,KACA,KAAAvB,kBAGA,GAEA,EAEA/B,QAAAA,GACA,KAAAF,WAAA,EACA,KAAAK,QAAA,CACA,IC1RkS,I,SCQ9RoD,GAAY,OACd,EACAlF,EACAgD,GACA,EACA,KACA,WACA,MAIF,EAAekC,E","sources":["webpack://shiweisuzhou/./src/views/User/PurchaserAdd.vue","webpack://shiweisuzhou/src/views/User/PurchaserAdd.vue","webpack://shiweisuzhou/./src/views/User/PurchaserAdd.vue?7226","webpack://shiweisuzhou/./src/views/User/PurchaserAdd.vue?a30a"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('div',{staticClass:\"common-card normal-margin-bottom\"},[_c('div',{staticClass:\"order-step\"},[_c('el-steps',{staticStyle:{\"width\":\"100%\"},attrs:{\"active\":_vm.activeIndex,\"align-center\":\"\"}},_vm._l((_vm.activities),function(item,i){return _c('el-step',{key:i,class:[i == _vm.activeIndexFlag ? 'is-current' : '']},[_c('div',{staticClass:\"process-title\",attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(_vm._s(item.status))]),_c('div',{attrs:{\"slot\":\"icon\"},slot:\"icon\"},[(i >= _vm.activeIndexFlag)?_c('span',[_vm._v(_vm._s(i + 1))]):_c('i',{staticClass:\"el-icon-check\",staticStyle:{\"color\":\"#fff\"}})])])}),1)],1)]),(_vm.showNotice)?_c('div',{staticClass:\"notice-bar\"},[_vm._v(\"拒绝理由:\"+_vm._s(_vm.user.reason))]):_vm._e(),_c('el-card',{staticStyle:{\"width\":\"100%\"}},[_c('el-form',{ref:\"userForm\",attrs:{\"model\":_vm.user,\"label-width\":\"150px\",\"size\":\"small\",\"disabled\":!_vm.canSubmit}},[_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"header-title\"},[_vm._v(\"单位信息\")]),(_vm.user && _vm.user.status == 1)?_c('el-button',{attrs:{\"type\":\"primart\",\"size\":\"small\",\"disabled\":false},on:{\"click\":_vm.editUser}},[_vm._v(\"编辑\")]):_vm._e()],1),_c('el-form-item',{attrs:{\"label\":\"营业执照\",\"prop\":\"business_license\",\"rules\":_vm.selectRequired}},[_c('el-upload',{staticClass:\"avatar-uploader\",attrs:{\"action\":\"#\",\"auto-upload\":false,\"on-change\":_vm.handleAvatarChange,\"show-file-list\":false,\"disabled\":_vm.isEdit}},[(_vm.user.business_license)?_c('img',{staticClass:\"avatar\",attrs:{\"src\":_vm.user.business_license}}):_c('i',{staticClass:\"el-icon-plus avatar-uploader-icon\"})])],1),_c('div',{staticClass:\"grid-container\"},[_c('el-form-item',{attrs:{\"label\":\"公司名称:\",\"prop\":\"company_name\",\"rules\":_vm.inputRequired}},[_c('el-input',{attrs:{\"placeholder\":\"请输入\",\"disabled\":_vm.isEdit},model:{value:(_vm.user.company_name),callback:function ($$v) {_vm.$set(_vm.user, \"company_name\", $$v)},expression:\"user.company_name\"}})],1),_c('el-form-item',{attrs:{\"label\":\"统一信用代码:\",\"prop\":\"standard_translation\",\"rules\":_vm.inputRequired}},[_c('el-input',{attrs:{\"placeholder\":\"请输入\",\"disabled\":_vm.isEdit},model:{value:(_vm.user.standard_translation),callback:function ($$v) {_vm.$set(_vm.user, \"standard_translation\", $$v)},expression:\"user.standard_translation\"}})],1)],1),_c('div',{staticClass:\"grid-container\"},[_c('el-form-item',{attrs:{\"label\":\"法人代表:\",\"prop\":\"legal_representative\",\"rules\":_vm.inputRequired}},[_c('el-input',{attrs:{\"placeholder\":\"请输入\",\"disabled\":_vm.isEdit},model:{value:(_vm.user.legal_representative),callback:function ($$v) {_vm.$set(_vm.user, \"legal_representative\", $$v)},expression:\"user.legal_representative\"}})],1),_c('div')],1),_c('div',{staticClass:\"header-title\",staticStyle:{\"margin-top\":\"50px\"}},[_vm._v(\"联系人信息\")]),_c('div',{staticClass:\"grid-container\"},[_c('el-form-item',{attrs:{\"label\":\"联系人名称:\",\"prop\":\"contact_name\",\"rules\":_vm.inputRequired}},[_c('el-input',{attrs:{\"placeholder\":\"请输入\"},model:{value:(_vm.user.contact_name),callback:function ($$v) {_vm.$set(_vm.user, \"contact_name\", $$v)},expression:\"user.contact_name\"}})],1),_c('el-form-item',{attrs:{\"label\":\"手机号码:\",\"prop\":\"mobile\",\"rules\":_vm.inputRequired}},[_c('el-input',{attrs:{\"placeholder\":\"请输入\"},model:{value:(_vm.user.mobile),callback:function ($$v) {_vm.$set(_vm.user, \"mobile\", $$v)},expression:\"user.mobile\"}})],1)],1),_c('div',{staticClass:\"grid-container\"},[_c('el-form-item',{attrs:{\"label\":\"邮箱:\",\"prop\":\"email\",\"rules\":_vm.inputRequired}},[_c('el-input',{attrs:{\"placeholder\":\"请输入\"},model:{value:(_vm.user.email),callback:function ($$v) {_vm.$set(_vm.user, \"email\", $$v)},expression:\"user.email\"}})],1),_c('el-form-item',{attrs:{\"label\":\"固定电话:\",\"prop\":\"fixed_telephone\",\"rules\":_vm.inputRequired}},[_c('el-input',{attrs:{\"placeholder\":\"请输入\"},model:{value:(_vm.user.fixed_telephone),callback:function ($$v) {_vm.$set(_vm.user, \"fixed_telephone\", $$v)},expression:\"user.fixed_telephone\"}})],1)],1),_c('div',{staticClass:\"grid-container\"},[_c('el-form-item',{attrs:{\"label\":\"公司地址:\",\"prop\":\"address\",\"rules\":_vm.inputRequired}},[_c('el-input',{attrs:{\"placeholder\":\"请输入\"},model:{value:(_vm.user.address),callback:function ($$v) {_vm.$set(_vm.user, \"address\", $$v)},expression:\"user.address\"}})],1)],1),(_vm.canSubmit)?_c('div',{staticStyle:{\"display\":\"flex\",\"justify-content\":\"center\",\"margin-top\":\"50px\"}},[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.saveUser}},[_vm._v(\"保存\")])],1):_vm._e()],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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PurchaserAdd.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PurchaserAdd.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PurchaserAdd.vue?vue&type=template&id=08e3027d&scoped=true\"\nimport script from \"./PurchaserAdd.vue?vue&type=script&lang=js\"\nexport * from \"./PurchaserAdd.vue?vue&type=script&lang=js\"\nimport style0 from \"./PurchaserAdd.vue?vue&type=style&index=0&id=08e3027d&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"08e3027d\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","attrs","activeIndex","_l","activities","item","i","key","class","activeIndexFlag","slot","_v","_s","status","showNotice","user","reason","_e","ref","canSubmit","on","editUser","selectRequired","handleAvatarChange","isEdit","business_license","inputRequired","model","value","company_name","callback","$$v","$set","expression","standard_translation","legal_representative","contact_name","mobile","email","fixed_telephone","address","saveUser","staticRenderFns","name","data","options","label","children","required","message","trigger","mounted","getEnterprise","methods","file","util","imgToBase64","raw","then","base64","console","log","post","img_base64","res","url","$refs","userForm","validate","valid","api","id","code","$message","success","msg","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/896.87e420a5.js b/dist/js/896.87e420a5.js new file mode 100644 index 0000000..883b6c5 --- /dev/null +++ b/dist/js/896.87e420a5.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).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()},beforeDestroy(){this.searchKeyword="",this.$store.commit("setSearchText",""),this.currentPage=1,this.selectedCategory="",this.selectedSort="default"},methods:{getTagList(){this.post({pid:this.VUE_APP_GLOBAL_TAGS.side_all},"/api/product/tag_list").then(e=>{this.categories=e.data,this.categories[0].id=this.VUE_APP_GLOBAL_TAGS.pc_all;const t=this.$route.query.id||this.VUE_APP_GLOBAL_TAGS.pc_all;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}`)}}},l=c,o=s(845),d=(0,o.A)(l,a,r,!1,null,"4eb980d8",null),n=d.exports}}]); +//# sourceMappingURL=896.87e420a5.js.map \ No newline at end of file diff --git a/dist/js/896.87e420a5.js.map b/dist/js/896.87e420a5.js.map new file mode 100644 index 0000000..7770e03 --- /dev/null +++ b/dist/js/896.87e420a5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/896.87e420a5.js","mappings":"uLAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,qBAAqB,CAAEJ,EAAIK,WAAYH,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,YAAY,CAACE,YAAY,gBAAgBE,MAAM,CAAC,YAAc,QAAQC,GAAG,CAAC,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ue","webpack://shiweisuzhou/src/views/ProductPage/Index.vue","webpack://shiweisuzhou/./src/views/ProductPage/Index.vue?0236","webpack://shiweisuzhou/./src/views/ProductPage/Index.vue?5c2d"],"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/cli-service/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/cli-service/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=4eb980d8&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=4eb980d8&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4eb980d8\",\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","beforeDestroy","$store","commit","methods","post","pid","VUE_APP_GLOBAL_TAGS","side_all","then","res","pc_all","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/779.c8f94891.js b/dist/js/905.e365cd50.js similarity index 96% rename from dist/js/779.c8f94891.js rename to dist/js/905.e365cd50.js index 062ca16..4c40017 100644 --- a/dist/js/779.c8f94891.js +++ b/dist/js/905.e365cd50.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[779],{4779:function(e,t,r){r.r(t),r.d(t,{default:function(){return c}});var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"review-container"},[t("el-page-header",{staticClass:"page-header",attrs:{content:"产品评价"},on:{back:e.handleBack}}),t("el-card",{staticClass:"product-card",attrs:{shadow:"hover"}},[t("div",{staticClass:"product-info"},[t("el-image",{staticClass:"product-image",attrs:{src:e.product.product_img,alt:"产品图片",fit:"cover"}}),t("div",{staticClass:"product-details"},[t("h3",{staticClass:"product-title"},[e._v(e._s(e.product.product_title))]),t("p",{staticClass:"product-desc"},[e._v(e._s(e.productDesc))]),t("div",{staticClass:"product-price"},[e._v("¥"+e._s(e.product.product_price/100))])])],1)]),t("el-card",{staticClass:"review-form-card",attrs:{shadow:"hover"}},[t("el-form",{ref:"reviewForm",staticClass:"review-form",attrs:{model:e.reviewForm,rules:e.reviewRules,"label-width":"100px"}},[t("el-form-item",{attrs:{label:"产品评分",prop:"rate"}},[t("div",{staticClass:"rating-stars"},e._l(5,function(r){return t("i",{key:r,staticClass:"el-icon-star-off",class:{active:r<=(e.hoverRating||e.reviewForm.rate)},on:{click:function(t){return e.setRating(r)},mouseover:function(t){e.hoverRating=r},mouseleave:function(t){e.hoverRating=0}}})}),0)]),t("el-form-item",{attrs:{label:"评价商品",prop:"content"}},[t("el-input",{attrs:{type:"textarea",rows:5,placeholder:"请分享您对该产品的使用体验、优缺点等详细评价..."},on:{input:e.handleContentInput},model:{value:e.reviewForm.content,callback:function(t){e.$set(e.reviewForm,"content",t)},expression:"reviewForm.content"}}),t("div",{staticClass:"char-count"},[e._v(e._s(e.contentLength)+"/500")])],1),t("el-form-item",{attrs:{label:"晒图片"}},[t("el-upload",{staticClass:"image-upload",attrs:{action:"#","list-type":"picture-card","on-preview":e.handlePictureCardPreview,"on-remove":e.handleRemove,"before-upload":e.beforeUpload,limit:6,"on-exceed":e.handleExceed,"auto-upload":!1,"on-change":e.handleAvatarChange,"file-list":e.reviewForm.img_list,accept:"jpg/png/jpeg/webp"}},[t("i",{staticClass:"el-icon-plus"})]),t("el-dialog",{attrs:{visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("img",{attrs:{width:"100%",src:e.dialogImageUrl,alt:""}})]),t("div",{staticClass:"upload-tip"},[e._v(" 最多上传6张图片,帮助其他买家更直观了解产品 ")])],1),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm("reviewForm")}}},[e._v("提交评价")]),t("el-button",{on:{click:function(t){return e.resetForm("reviewForm")}}},[e._v("取消")])],1)],1)],1),t("el-alert",{staticClass:"review-alert",attrs:{title:"您的评价将在7个工作日内审核通过后展示,恶意评价将被删除",type:"info","show-icon":""}})],1)},s=[],o=(r(8111),r(2489),r(1701),{name:"ProductReview",data(){return{product:{},productDesc:"其他买家,需要你的建议哦!",reviewForm:{rate:0,content:"",img_list:[],is_anonymous:!1},hoverRating:0,contentLength:0,dialogImageUrl:"",dialogVisible:!1,imgList:[],reviewRules:{rate:[{required:!0,message:"请给产品评分",trigger:"change"}],content:[{required:!0,message:"请输入评价内容",trigger:"blur"},{min:10,message:"评价内容至少10个字符",trigger:"blur"},{max:500,message:"评价内容最多500个字符",trigger:"blur"}]}}},mounted(){console.log(this.$route.query);let e=JSON.parse(this.$route.query.product)||{};e?this.product=e:(this.$message.error("未获取到商品信息,请重新操作"),this.$router.go(-1)),console.log(this.product)},methods:{handleAvatarChange(e,t){const r=t.filter(e=>{const t=e.raw?.type.startsWith("image/"),r=e.raw?.size/1024/1024<2;return t?!!r||(this.$message.error("图片大小不能超过2MB"),!1):(this.$message.error("只能上传图片文件(如JPG、PNG等)"),!1)}),i=r.slice(0,6);this.imgList=i,this.reviewForm.img_list=i},handleBack(){this.$router.go(-1)},setRating(e){this.reviewForm.rate=e,this.hoverRating=e},getRatingText(e){const t=["","很差","一般","良好","很好","非常好"];return t[e]},handleContentInput(e){this.contentLength=e.length},handleRemove(e,t){console.log(e,t)},handlePictureCardPreview(e,t){this.dialogImageUrl=e.url,this.dialogVisible=!0},handleExceed(e,t){this.$message.warning(`当前限制选择 6 张图片,本次选择了 ${e.length} 张,共选择了 ${e.length+t.length} 张`)},beforeUpload(e){console.log(e);const t="image/jpeg"===e.type||"image/png"===e.type,r=e.size/1024/1024<2;return t||this.$message.error("上传图片只能是 JPG/PNG 格式!"),r||this.$message.error("上传图片大小不能超过 2MB!"),t&&r},submitForm(e){this.$refs[e].validate(e=>{if(!e)return this.$message.error("请完善评价信息"),!1;{this.$loading({lock:!0,text:"处理中...",spinner:"el-icon-loading"});const e=()=>{if(0===this.imgList.length)return Promise.resolve([]);const e=this.imgList.map(e=>this.util.imgToBase64(e.raw).then(e=>this.post({img_base64:e},"/api/pbservice/Other/base64Upload")).then(e=>e.data.url));return Promise.all(e)};e().then(e=>{const t={product_id:this.product.product_id,order_id:this.product.order_id,content:this.reviewForm.content,rate:this.reviewForm.rate,img_list:e.join(","),is_anonymous:this.reviewForm.is_anonymous?1:0,sku_id:this.product.sku_id};return this.post(t,"/api/product/product_comment")}).then(e=>{1==e.code&&(this.$loading().close(),this.$message.success("评价提交成功!"),this.handleBack())}).catch(e=>{this.$loading().close(),this.$message.error("提交失败,请重试"),console.error("提交错误:",e)})}})},resetForm(e){this.$refs[e].resetFields(),this.contentLength=0}}}),a=o,n=r(1656),l=(0,n.A)(a,i,s,!1,null,"a87ad2ea",null),c=l.exports}}]); -//# sourceMappingURL=779.c8f94891.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[905],{2905:function(e,t,r){r.r(t),r.d(t,{default:function(){return c}});var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"review-container"},[t("el-page-header",{staticClass:"page-header",attrs:{content:"产品评价"},on:{back:e.handleBack}}),t("el-card",{staticClass:"product-card",attrs:{shadow:"hover"}},[t("div",{staticClass:"product-info"},[t("el-image",{staticClass:"product-image",attrs:{src:e.product.product_img,alt:"产品图片",fit:"cover"}}),t("div",{staticClass:"product-details"},[t("h3",{staticClass:"product-title"},[e._v(e._s(e.product.product_title))]),t("p",{staticClass:"product-desc"},[e._v(e._s(e.productDesc))]),t("div",{staticClass:"product-price"},[e._v("¥"+e._s(e.product.product_price/100))])])],1)]),t("el-card",{staticClass:"review-form-card",attrs:{shadow:"hover"}},[t("el-form",{ref:"reviewForm",staticClass:"review-form",attrs:{model:e.reviewForm,rules:e.reviewRules,"label-width":"100px"}},[t("el-form-item",{attrs:{label:"产品评分",prop:"rate"}},[t("div",{staticClass:"rating-stars"},e._l(5,function(r){return t("i",{key:r,staticClass:"el-icon-star-off",class:{active:r<=(e.hoverRating||e.reviewForm.rate)},on:{click:function(t){return e.setRating(r)},mouseover:function(t){e.hoverRating=r},mouseleave:function(t){e.hoverRating=0}}})}),0)]),t("el-form-item",{attrs:{label:"评价商品",prop:"content"}},[t("el-input",{attrs:{type:"textarea",rows:5,placeholder:"请分享您对该产品的使用体验、优缺点等详细评价..."},on:{input:e.handleContentInput},model:{value:e.reviewForm.content,callback:function(t){e.$set(e.reviewForm,"content",t)},expression:"reviewForm.content"}}),t("div",{staticClass:"char-count"},[e._v(e._s(e.contentLength)+"/500")])],1),t("el-form-item",{attrs:{label:"晒图片"}},[t("el-upload",{staticClass:"image-upload",attrs:{action:"#","list-type":"picture-card","on-preview":e.handlePictureCardPreview,"on-remove":e.handleRemove,"before-upload":e.beforeUpload,limit:6,"on-exceed":e.handleExceed,"auto-upload":!1,"on-change":e.handleAvatarChange,"file-list":e.reviewForm.img_list,accept:"jpg/png/jpeg/webp"}},[t("i",{staticClass:"el-icon-plus"})]),t("el-dialog",{attrs:{visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("img",{attrs:{width:"100%",src:e.dialogImageUrl,alt:""}})]),t("div",{staticClass:"upload-tip"},[e._v(" 最多上传6张图片,帮助其他买家更直观了解产品 ")])],1),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm("reviewForm")}}},[e._v("提交评价")]),t("el-button",{on:{click:function(t){return e.resetForm("reviewForm")}}},[e._v("取消")])],1)],1)],1),t("el-alert",{staticClass:"review-alert",attrs:{title:"您的评价将在7个工作日内审核通过后展示,恶意评价将被删除",type:"info","show-icon":""}})],1)},s=[],o=(r(8111),r(2489),r(1701),{name:"ProductReview",data(){return{product:{},productDesc:"其他买家,需要你的建议哦!",reviewForm:{rate:0,content:"",img_list:[],is_anonymous:!1},hoverRating:0,contentLength:0,dialogImageUrl:"",dialogVisible:!1,imgList:[],reviewRules:{rate:[{required:!0,message:"请给产品评分",trigger:"change"}],content:[{required:!0,message:"请输入评价内容",trigger:"blur"},{min:10,message:"评价内容至少10个字符",trigger:"blur"},{max:500,message:"评价内容最多500个字符",trigger:"blur"}]}}},mounted(){console.log(this.$route.query);let e=JSON.parse(this.$route.query.product)||{};e?this.product=e:(this.$message.error("未获取到商品信息,请重新操作"),this.$router.go(-1)),console.log(this.product)},methods:{handleAvatarChange(e,t){const r=t.filter(e=>{const t=e.raw?.type.startsWith("image/"),r=e.raw?.size/1024/1024<2;return t?!!r||(this.$message.error("图片大小不能超过2MB"),!1):(this.$message.error("只能上传图片文件(如JPG、PNG等)"),!1)}),i=r.slice(0,6);this.imgList=i,this.reviewForm.img_list=i},handleBack(){this.$router.go(-1)},setRating(e){this.reviewForm.rate=e,this.hoverRating=e},getRatingText(e){const t=["","很差","一般","良好","很好","非常好"];return t[e]},handleContentInput(e){this.contentLength=e.length},handleRemove(e,t){console.log(e,t)},handlePictureCardPreview(e,t){this.dialogImageUrl=e.url,this.dialogVisible=!0},handleExceed(e,t){this.$message.warning(`当前限制选择 6 张图片,本次选择了 ${e.length} 张,共选择了 ${e.length+t.length} 张`)},beforeUpload(e){console.log(e);const t="image/jpeg"===e.type||"image/png"===e.type,r=e.size/1024/1024<2;return t||this.$message.error("上传图片只能是 JPG/PNG 格式!"),r||this.$message.error("上传图片大小不能超过 2MB!"),t&&r},submitForm(e){this.$refs[e].validate(e=>{if(!e)return this.$message.error("请完善评价信息"),!1;{this.$loading({lock:!0,text:"处理中...",spinner:"el-icon-loading"});const e=()=>{if(0===this.imgList.length)return Promise.resolve([]);const e=this.imgList.map(e=>this.util.imgToBase64(e.raw).then(e=>this.post({img_base64:e},"/api/pbservice/Other/base64Upload")).then(e=>e.data.url));return Promise.all(e)};e().then(e=>{const t={product_id:this.product.product_id,order_id:this.product.order_id,content:this.reviewForm.content,rate:this.reviewForm.rate,img_list:e.join(","),is_anonymous:this.reviewForm.is_anonymous?1:0,sku_id:this.product.sku_id};return this.post(t,"/api/product/product_comment")}).then(e=>{1==e.code&&(this.$loading().close(),this.$message.success("评价提交成功!"),this.handleBack())}).catch(e=>{this.$loading().close(),this.$message.error("提交失败,请重试"),console.error("提交错误:",e)})}})},resetForm(e){this.$refs[e].resetFields(),this.contentLength=0}}}),a=o,n=r(845),l=(0,n.A)(a,i,s,!1,null,"a87ad2ea",null),c=l.exports}}]); +//# sourceMappingURL=905.e365cd50.js.map \ No newline at end of file diff --git a/dist/js/779.c8f94891.js.map b/dist/js/905.e365cd50.js.map similarity index 89% rename from dist/js/779.c8f94891.js.map rename to dist/js/905.e365cd50.js.map index 37a8c28..2a1f785 100644 --- a/dist/js/779.c8f94891.js.map +++ b/dist/js/905.e365cd50.js.map @@ -1 +1 @@ -{"version":3,"file":"js/779.c8f94891.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,iBAAiB,CAACE,YAAY,cAAcC,MAAM,CAAC,QAAU,QAAQC,GAAG,CAAC,KAAON,EAAIO,cAAcL,EAAG,UAAU,CAACE,YAAY,eAAeC,MAAM,CAAC,OAAS,UAAU,CAACH,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,WAAW,CAACE,YA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D,SAAAuD,QAAA,WACA,KAAA/G,gBAGAgH,MAAAvD,IACA,KAAA6B,WAAAwB,QACA,KAAAtD,SAAAC,MAAA,YACAP,QAAAO,MAAA,QAAAA,IAEA,GAKA,EAGAnB,SAAAA,CAAA4C,GACA,KAAAC,MAAAD,GAAA+B,cACA,KAAArF,cAAA,CACA,KCnUqQ,I,UCQjQsF,GAAY,OACd,EACA1H,EACA+C,GACA,EACA,KACA,WACA,MAIF,EAAe2E,E","sources":["webpack://shiweisuzhou/./src/views/ProductPage/ProductReview.vue","webpack://shiweisuzhou/src/views/ProductPage/ProductReview.vue","webpack://shiweisuzhou/./src/views/ProductPage/ProductReview.vue?2aed","webpack://shiweisuzhou/./src/views/ProductPage/ProductReview.vue?076b"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"review-container\"},[_c('el-page-header',{staticClass:\"page-header\",attrs:{\"content\":\"产品评价\"},on:{\"back\":_vm.handleBack}}),_c('el-card',{staticClass:\"product-card\",attrs:{\"shadow\":\"hover\"}},[_c('div',{staticClass:\"product-info\"},[_c('el-image',{staticClass:\"product-image\",attrs:{\"src\":_vm.product.product_img,\"alt\":\"产品图片\",\"fit\":\"cover\"}}),_c('div',{staticClass:\"product-details\"},[_c('h3',{staticClass:\"product-title\"},[_vm._v(_vm._s(_vm.product.product_title))]),_c('p',{staticClass:\"product-desc\"},[_vm._v(_vm._s(_vm.productDesc))]),_c('div',{staticClass:\"product-price\"},[_vm._v(\"¥\"+_vm._s(_vm.product.product_price / 100))])])],1)]),_c('el-card',{staticClass:\"review-form-card\",attrs:{\"shadow\":\"hover\"}},[_c('el-form',{ref:\"reviewForm\",staticClass:\"review-form\",attrs:{\"model\":_vm.reviewForm,\"rules\":_vm.reviewRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"产品评分\",\"prop\":\"rate\"}},[_c('div',{staticClass:\"rating-stars\"},_vm._l((5),function(star){return _c('i',{key:star,staticClass:\"el-icon-star-off\",class:{ active: star <= (_vm.hoverRating || _vm.reviewForm.rate) },on:{\"click\":function($event){return _vm.setRating(star)},\"mouseover\":function($event){_vm.hoverRating = star},\"mouseleave\":function($event){_vm.hoverRating = 0}}})}),0)]),_c('el-form-item',{attrs:{\"label\":\"评价商品\",\"prop\":\"content\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":5,\"placeholder\":\"请分享您对该产品的使用体验、优缺点等详细评价...\"},on:{\"input\":_vm.handleContentInput},model:{value:(_vm.reviewForm.content),callback:function ($$v) {_vm.$set(_vm.reviewForm, \"content\", $$v)},expression:\"reviewForm.content\"}}),_c('div',{staticClass:\"char-count\"},[_vm._v(_vm._s(_vm.contentLength)+\"/500\")])],1),_c('el-form-item',{attrs:{\"label\":\"晒图片\"}},[_c('el-upload',{staticClass:\"image-upload\",attrs:{\"action\":\"#\",\"list-type\":\"picture-card\",\"on-preview\":_vm.handlePictureCardPreview,\"on-remove\":_vm.handleRemove,\"before-upload\":_vm.beforeUpload,\"limit\":6,\"on-exceed\":_vm.handleExceed,\"auto-upload\":false,\"on-change\":_vm.handleAvatarChange,\"file-list\":_vm.reviewForm.img_list,\"accept\":\"jpg/png/jpeg/webp\"}},[_c('i',{staticClass:\"el-icon-plus\"})]),_c('el-dialog',{attrs:{\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('img',{attrs:{\"width\":\"100%\",\"src\":_vm.dialogImageUrl,\"alt\":\"\"}})]),_c('div',{staticClass:\"upload-tip\"},[_vm._v(\" 最多上传6张图片,帮助其他买家更直观了解产品 \")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.submitForm('reviewForm')}}},[_vm._v(\"提交评价\")]),_c('el-button',{on:{\"click\":function($event){return _vm.resetForm('reviewForm')}}},[_vm._v(\"取消\")])],1)],1)],1),_c('el-alert',{staticClass:\"review-alert\",attrs:{\"title\":\"您的评价将在7个工作日内审核通过后展示,恶意评价将被删除\",\"type\":\"info\",\"show-icon\":\"\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductReview.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductReview.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductReview.vue?vue&type=template&id=a87ad2ea&scoped=true\"\nimport script from \"./ProductReview.vue?vue&type=script&lang=js\"\nexport * from \"./ProductReview.vue?vue&type=script&lang=js\"\nimport style0 from \"./ProductReview.vue?vue&type=style&index=0&id=a87ad2ea&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 \"a87ad2ea\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","on","handleBack","product","product_img","_v","_s","product_title","productDesc","product_price","ref","reviewForm","reviewRules","_l","star","key","class","active","hoverRating","rate","$event","setRating","handleContentInput","model","value","content","callback","$$v","$set","expression","contentLength","handlePictureCardPreview","handleRemove","beforeUpload","handleExceed","handleAvatarChange","img_list","dialogVisible","dialogImageUrl","submitForm","resetForm","staticRenderFns","name","data","is_anonymous","imgList","required","message","trigger","min","max","mounted","console","log","$route","query","JSON","parse","$message","error","$router","go","methods","file","fileList","validFiles","filter","item","isImage","raw","type","startsWith","isLt2M","size","finalFiles","slice","getRatingText","ratings","val","length","url","files","warning","isJPG","formName","$refs","validate","valid","$loading","lock","text","spinner","handleImageUploads","Promise","resolve","uploadPromises","map","util","imgToBase64","then","base64","post","img_base64","res","all","imgUrls","reviewData","product_id","order_id","join","sku_id","code","close","success","catch","resetFields","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/905.e365cd50.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,iBAAiB,CAACE,YAAY,cAAcC,MAAM,CAAC,QAAU,QAAQC,GAAG,CAAC,KAAON,EAAIO,cAAcL,EAAG,UAAU,CAACE,YAAY,eAAeC,MAAM,CAAC,OAAS,UAAU,CAACH,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,WAAW,CAACE,YAAY,gBAAgBC,MAAM,CAAC,IAAML,EAAIQ,QAAQC,YAAY,IAAM,OAAO,IAAM,WAAWP,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACF,EAAG,KAAK,CAACE,YAAY,iBAAiB,CAACJ,EAAIU,GAAGV,EAAIW,GAAGX,EAAIQ,QAAQI,kBAAkBV,EAAG,IAAI,CAACE,YAAY,gBAAgB,CAACJ,EAAIU,GAAGV,EAAIW,GAAGX,EAAIa,gBAAgBX,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACJ,EAAIU,GAAG,IAAIV,EAAIW,GAAGX,EAAIQ,QAAQM,cAAgB,WAAW,KAAKZ,EAAG,UAAU,CAACE,YAAY,mBAAmBC,MAAM,CAAC,OAAS,UAAU,CAACH,EAAG,UAAU,CAACa,IAAI,aAAaX,YAAY,cAAcC,MAAM,CAAC,MAAQL,EAAIgB,WAAW,MAAQhB,EAAIiB,YAAY,cAAc,UAAU,CAACf,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,OAAO,KAAO,SAAS,CAACH,EAAG,MAAM,CAACE,YAAY,gBAAgBJ,EAAIkB,GAAI,EAAG,SAASC,GAAM,OAAO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mD,IAAAjC,GACA,KAAAkC,KACAC,YAAAnC,EAAAM,KACA8B,KAAAC,GACA,KAAAC,KACA,CAAAC,WAAAF,GACA,sCAGAD,KAAAI,GAAAA,EAAA5D,KAAAqC,MAEA,OAAAa,QAAAW,IAAAT,IAIAH,IACAO,KAAAM,IAEA,MAAAC,EAAA,CACAC,WAAA,KAAAxG,QAAAwG,WACAC,SAAA,KAAAzG,QAAAyG,SACAnF,QAAA,KAAAd,WAAAc,QACAN,KAAA,KAAAR,WAAAQ,KACAiB,SAAAqE,EAAAI,KAAA,KACAjE,aAAA,KAAAjC,WAAAiC,aAAA,IACAkE,OAAA,KAAA3G,QAAA2G,QAIA,YAAAT,KAAAK,EAAA,kCAEAP,KAAAI,IACA,GAAAA,EAAAQ,OACA,KAAAvB,WAAAwB,QACA,KAAAtD,SAAAuD,QAAA,WACA,KAAA/G,gBAGAgH,MAAAvD,IACA,KAAA6B,WAAAwB,QACA,KAAAtD,SAAAC,MAAA,YACAP,QAAAO,MAAA,QAAAA,IAEA,GAKA,EAGAnB,SAAAA,CAAA4C,GACA,KAAAC,MAAAD,GAAA+B,cACA,KAAArF,cAAA,CACA,KCnUmS,I,SCQ/RsF,GAAY,OACd,EACA1H,EACA+C,GACA,EACA,KACA,WACA,MAIF,EAAe2E,E","sources":["webpack://shiweisuzhou/./src/views/ProductPage/ProductReview.vue","webpack://shiweisuzhou/src/views/ProductPage/ProductReview.vue","webpack://shiweisuzhou/./src/views/ProductPage/ProductReview.vue?7e8e","webpack://shiweisuzhou/./src/views/ProductPage/ProductReview.vue?9308"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"review-container\"},[_c('el-page-header',{staticClass:\"page-header\",attrs:{\"content\":\"产品评价\"},on:{\"back\":_vm.handleBack}}),_c('el-card',{staticClass:\"product-card\",attrs:{\"shadow\":\"hover\"}},[_c('div',{staticClass:\"product-info\"},[_c('el-image',{staticClass:\"product-image\",attrs:{\"src\":_vm.product.product_img,\"alt\":\"产品图片\",\"fit\":\"cover\"}}),_c('div',{staticClass:\"product-details\"},[_c('h3',{staticClass:\"product-title\"},[_vm._v(_vm._s(_vm.product.product_title))]),_c('p',{staticClass:\"product-desc\"},[_vm._v(_vm._s(_vm.productDesc))]),_c('div',{staticClass:\"product-price\"},[_vm._v(\"¥\"+_vm._s(_vm.product.product_price / 100))])])],1)]),_c('el-card',{staticClass:\"review-form-card\",attrs:{\"shadow\":\"hover\"}},[_c('el-form',{ref:\"reviewForm\",staticClass:\"review-form\",attrs:{\"model\":_vm.reviewForm,\"rules\":_vm.reviewRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"产品评分\",\"prop\":\"rate\"}},[_c('div',{staticClass:\"rating-stars\"},_vm._l((5),function(star){return _c('i',{key:star,staticClass:\"el-icon-star-off\",class:{ active: star <= (_vm.hoverRating || _vm.reviewForm.rate) },on:{\"click\":function($event){return _vm.setRating(star)},\"mouseover\":function($event){_vm.hoverRating = star},\"mouseleave\":function($event){_vm.hoverRating = 0}}})}),0)]),_c('el-form-item',{attrs:{\"label\":\"评价商品\",\"prop\":\"content\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":5,\"placeholder\":\"请分享您对该产品的使用体验、优缺点等详细评价...\"},on:{\"input\":_vm.handleContentInput},model:{value:(_vm.reviewForm.content),callback:function ($$v) {_vm.$set(_vm.reviewForm, \"content\", $$v)},expression:\"reviewForm.content\"}}),_c('div',{staticClass:\"char-count\"},[_vm._v(_vm._s(_vm.contentLength)+\"/500\")])],1),_c('el-form-item',{attrs:{\"label\":\"晒图片\"}},[_c('el-upload',{staticClass:\"image-upload\",attrs:{\"action\":\"#\",\"list-type\":\"picture-card\",\"on-preview\":_vm.handlePictureCardPreview,\"on-remove\":_vm.handleRemove,\"before-upload\":_vm.beforeUpload,\"limit\":6,\"on-exceed\":_vm.handleExceed,\"auto-upload\":false,\"on-change\":_vm.handleAvatarChange,\"file-list\":_vm.reviewForm.img_list,\"accept\":\"jpg/png/jpeg/webp\"}},[_c('i',{staticClass:\"el-icon-plus\"})]),_c('el-dialog',{attrs:{\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('img',{attrs:{\"width\":\"100%\",\"src\":_vm.dialogImageUrl,\"alt\":\"\"}})]),_c('div',{staticClass:\"upload-tip\"},[_vm._v(\" 最多上传6张图片,帮助其他买家更直观了解产品 \")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.submitForm('reviewForm')}}},[_vm._v(\"提交评价\")]),_c('el-button',{on:{\"click\":function($event){return _vm.resetForm('reviewForm')}}},[_vm._v(\"取消\")])],1)],1)],1),_c('el-alert',{staticClass:\"review-alert\",attrs:{\"title\":\"您的评价将在7个工作日内审核通过后展示,恶意评价将被删除\",\"type\":\"info\",\"show-icon\":\"\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductReview.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductReview.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductReview.vue?vue&type=template&id=a87ad2ea&scoped=true\"\nimport script from \"./ProductReview.vue?vue&type=script&lang=js\"\nexport * from \"./ProductReview.vue?vue&type=script&lang=js\"\nimport style0 from \"./ProductReview.vue?vue&type=style&index=0&id=a87ad2ea&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a87ad2ea\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","on","handleBack","product","product_img","_v","_s","product_title","productDesc","product_price","ref","reviewForm","reviewRules","_l","star","key","class","active","hoverRating","rate","$event","setRating","handleContentInput","model","value","content","callback","$$v","$set","expression","contentLength","handlePictureCardPreview","handleRemove","beforeUpload","handleExceed","handleAvatarChange","img_list","dialogVisible","dialogImageUrl","submitForm","resetForm","staticRenderFns","name","data","is_anonymous","imgList","required","message","trigger","min","max","mounted","console","log","$route","query","JSON","parse","$message","error","$router","go","methods","file","fileList","validFiles","filter","item","isImage","raw","type","startsWith","isLt2M","size","finalFiles","slice","getRatingText","ratings","val","length","url","files","warning","isJPG","formName","$refs","validate","valid","$loading","lock","text","spinner","handleImageUploads","Promise","resolve","uploadPromises","map","util","imgToBase64","then","base64","post","img_base64","res","all","imgUrls","reviewData","product_id","order_id","join","sku_id","code","close","success","catch","resetFields","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/933.a1573a86.js b/dist/js/933.a1573a86.js new file mode 100644 index 0000000..cab8c36 --- /dev/null +++ b/dist/js/933.a1573a86.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[933],{1933:function(t,s,e){e.r(s),e.d(s,{default:function(){return r}});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"bg"},[s("el-card",{staticStyle:{width:"100%"}},[s("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[s("span",[t._v("个人信息")]),s("el-button",{staticStyle:{float:"right",color:"#999"},attrs:{type:"text",icon:"el-icon-delete"}},[t._v("批量删除")])],1),s("el-checkbox-group",{model:{value:t.checkList,callback:function(s){t.checkList=s},expression:"checkList"}},t._l(t.historyData,function(e,a){return s("div",{key:a,staticClass:"date-container"},[s("div",{staticClass:"head-date"},[t._v(" "+t._s(e.date)+" "),s("span",{staticClass:"goods-num"},[t._v(t._s(e.goods.length)+"件商品")])]),s("div",{staticClass:"goods-container"},t._l(15,function(a,i){return s("div",{key:i,staticClass:"goods-item"},[s("img",{staticClass:"goods-img",attrs:{src:e.goods[0].image}}),s("div",{staticClass:"goods-content"},[s("div",{staticClass:"price"},[t._v(t._s(e.goods[0].price))]),s("div",{staticClass:"text-overflowRows"},[t._v(t._s(e.goods[0].name))])])])}),0)])}),0)],1)],1)},i=[],o={name:"UserInfo",data(){return{historyData:[{date:"06.10",goods:[{image:"https://picsum.photos/300/200?random=1",price:359,name:"产品标题产品标题"}]}],checkList:[]}},methods:{}},c=o,n=e(845),l=(0,n.A)(c,a,i,!1,null,"137fe55c",null),r=l.exports}}]); +//# sourceMappingURL=933.a1573a86.js.map \ No newline at end of file diff --git a/dist/js/933.a1573a86.js.map b/dist/js/933.a1573a86.js.map new file mode 100644 index 0000000..36617a8 --- /dev/null +++ b/dist/js/933.a1573a86.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/933.a1573a86.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,UAAU,CAACG,YAAY,CAAC,MAAQ,SAAS,CAACH,EAAG,MAAM,CAACE,YAAY,WAAWE,MAAM,CAAC,KAAO,UAAUC,KAAK,UAAU,CAACL,EAAG,OAAO,CAACF,EAAIQ,GAAG,UAAUN,EAAG,YAAY,CAACG,YAAY,CAAC,MAAQ,QAAQ,MAAQ,QAAQC,MAAM,CAAC,KAAO,OAAO,KAAO,mBAAmB,CAACN,EAAIQ,GAAG,WAAW,GAAGN,EAAG,oBAAoB,CAACO,MAAM,CAACC,MAAOV,EAAIW,UAAWC,SAAS,SAAUC,GAAMb,EAAIW,UAAUE,CAAG,EAAEC,WAAW,cAAcd,EAAIe,GAAIf,EAAIgB,YAAa,SAASC,EAAKC,GAAG,OAAOhB,EAAG,MAAM,CAACiB,IAAID,EAAEd,YAAY,kBAAkB,CAACF,EAAG,MAAM,CAACE,YAAY,aAAa,CAACJ,EAAIQ,GAAG,IAAIR,EAAIoB,GAAGH,EAAKI,MAAM,KAAKnB,EAAG,OAAO,CAACE,YAAY,aAAa,CAACJ,EAAIQ,GAAGR,EAAIoB,GAAGH,EAAKK,MAAMC,QAAQ,WAAWrB,EAAG,MAAM,CAACE,YAAY,mBAAmBJ,EAAIe,GAAI,GAAI,SAASO,EAAME,GAAO,OAAOtB,EAAG,MAAM,CAACiB,IAAIK,EAAMpB,YAAY,cAAc,CAACF,EAAG,MAAM,CAACE,YAAY,YAAYE,MAAM,CAAC,IAAMW,EAAKK,MAAM,GAAGG,SAASvB,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,MAAM,CAACE,YAAY,SAAS,CAACJ,EAAIQ,GAAGR,EAAIoB,GAAGH,EAAKK,MAAM,GAAGI,UAAUxB,EAAG,MAAM,CAACE,YAAY,qBAAqB,CAACJ,EAAIQ,GAAGR,EAAIoB,GAAGH,EAAKK,MAAM,GAAGK,YAAY,GAAG,IAAI,GAAG,IAAI,IAAI,EAChoC,EACIC,EAAkB,GCoCtB,GACAD,KAAA,WACAE,IAAAA,GACA,OACAb,YAAA,CACA,CACAK,KAAA,QACAC,MAAA,EAAAG,MAAA,yCAAAC,MAAA,IAAAC,KAAA,eAGAhB,UAAA,GAEA,EACAmB,QAAA,CAEA,GCrDiS,I,SCQ7RC,GAAY,OACd,EACAhC,EACA6B,GACA,EACA,KACA,WACA,MAIF,EAAeG,E","sources":["webpack://shiweisuzhou/./src/views/User/ViewHistory.vue","webpack://shiweisuzhou/src/views/User/ViewHistory.vue","webpack://shiweisuzhou/./src/views/User/ViewHistory.vue?36bb","webpack://shiweisuzhou/./src/views/User/ViewHistory.vue?4866"],"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\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\"个人信息\")]),_c('el-button',{staticStyle:{\"float\":\"right\",\"color\":\"#999\"},attrs:{\"type\":\"text\",\"icon\":\"el-icon-delete\"}},[_vm._v(\"批量删除\")])],1),_c('el-checkbox-group',{model:{value:(_vm.checkList),callback:function ($$v) {_vm.checkList=$$v},expression:\"checkList\"}},_vm._l((_vm.historyData),function(item,i){return _c('div',{key:i,staticClass:\"date-container\"},[_c('div',{staticClass:\"head-date\"},[_vm._v(\" \"+_vm._s(item.date)+\" \"),_c('span',{staticClass:\"goods-num\"},[_vm._v(_vm._s(item.goods.length)+\"件商品\")])]),_c('div',{staticClass:\"goods-container\"},_vm._l((15),function(goods,itemI){return _c('div',{key:itemI,staticClass:\"goods-item\"},[_c('img',{staticClass:\"goods-img\",attrs:{\"src\":item.goods[0].image}}),_c('div',{staticClass:\"goods-content\"},[_c('div',{staticClass:\"price\"},[_vm._v(_vm._s(item.goods[0].price))]),_c('div',{staticClass:\"text-overflowRows\"},[_vm._v(_vm._s(item.goods[0].name))])])])}),0)])}),0)],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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ViewHistory.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ViewHistory.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ViewHistory.vue?vue&type=template&id=137fe55c&scoped=true\"\nimport script from \"./ViewHistory.vue?vue&type=script&lang=js\"\nexport * from \"./ViewHistory.vue?vue&type=script&lang=js\"\nimport style0 from \"./ViewHistory.vue?vue&type=style&index=0&id=137fe55c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"137fe55c\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","attrs","slot","_v","model","value","checkList","callback","$$v","expression","_l","historyData","item","i","key","_s","date","goods","length","itemI","image","price","name","staticRenderFns","data","methods","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/934.c3cb9093.js b/dist/js/934.c3cb9093.js new file mode 100644 index 0000000..a0e1594 --- /dev/null +++ b/dist/js/934.c3cb9093.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[934],{2934:function(t,s,i){i.r(s),i.d(s,{default:function(){return h}});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"bg"},[s("HomeLayout",{attrs:{topBanner:t.topBanner,tagList:t.tagList}}),s("div",{staticClass:"product-box"},[s("h2",[t._v("今日推荐")]),s("ProductList",{attrs:{products:t.prouctList[0].list}})],1),s("div",{staticClass:"product-box"},[s("h2",[t._v("热销排行")]),s("ProductList",{attrs:{products:t.prouctList[1].list}})],1),s("div",{staticClass:"product-box"},[s("h2",[t._v("新品上市")]),s("ProductList",{attrs:{products:t.prouctList[2].list}})],1)],1)},e=[],r=(i(8111),i(1701),function(){var t=this,s=t._self._c;return s("div",{staticClass:"home-layout-container"},[s("div",{staticClass:"left-nav"},[s("ul",{staticClass:"nav-list"},t._l(t.tagList,function(i){return s("router-link",{key:i.id,staticClass:"nav-item",attrs:{to:"/productList?id="+i.id,tag:"li"}},[s("img",{attrs:{src:t.util.showImg(i.image),alt:""}}),t._v(t._s(i.name)+" ")])}),1)]),s("div",{staticClass:"main-content"},[s("el-carousel",{staticStyle:{height:"100%"}},t._l(t.topBanner,function(t){return s("el-carousel-item",{key:t.id},[s("img",{staticClass:"carousel-img",attrs:{src:t.head_img}})])}),1)],1),s("div",{staticClass:"right-info"},[t.$store.getters.isUserLogin?s("div",{staticClass:"avatar-container"},[s("img",{staticClass:"user-avatar",attrs:{src:t.$store.getters.getUserInfo.avatar,alt:"用户头像"}}),s("div",{staticClass:"welcome-text"},[t._v("Hi-欢迎您")])]):t._e(),t._e(),s("div",{staticClass:"func-icons"},[s("router-link",{staticClass:"icon-item",attrs:{to:"/User/UserCenter"}},[s("i",{staticClass:"icon el-icon-user"}),s("span",[t._v("个人中心")])]),s("router-link",{staticClass:"icon-item",attrs:{to:"/User/OrderList"}},[s("i",{staticClass:"icon el-icon-goods"}),s("span",[t._v("我的订单")])]),s("router-link",{staticClass:"icon-item",attrs:{to:"/User/CommentManage"}},[s("i",{staticClass:"icon el-icon-star-off"}),s("span",[t._v("评价管理")])]),s("router-link",{staticClass:"icon-item",attrs:{to:"/NoticeList"}},[s("i",{staticClass:"icon el-icon-pie-chart"}),s("span",[t._v("公告中心")])])],1),s("router-link",{staticClass:"announcement",attrs:{to:"/NoticeDetail?type=notice&id="+t.notice.id}},[s("el-tag",{attrs:{type:"danger",size:"mini"}},[t._v("公告")]),s("span",{staticClass:"text-overflowRows"},[t._v(t._s(t.notice.title))])],1)],1)])}),c=[],o={name:"HomeLayout",data(){return{notice:""}},props:{topBanner:{type:Array,default:()=>[]},tagList:{type:Array,default:()=>[]}},mounted(){this.post({},"/api/anncmnt/getLatest").then(t=>{this.notice=t.data})}},n=o,l=i(845),d=(0,l.A)(n,r,c,!1,null,"185af175",null),p=d.exports,u=i(8977),g={components:{HomeLayout:p,ProductList:u.A},data(){return{topBanner:[],tagList:[],prouctList:[{id:this.VUE_APP_GLOBAL_TAGS.pc_index_recommend,title:"今日推荐",list:[]},{id:this.VUE_APP_GLOBAL_TAGS.pc_index_hot,title:"热销排行",list:[]},{id:this.VUE_APP_GLOBAL_TAGS.pc_index_new,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:this.VUE_APP_GLOBAL_TAGS.side_all},"/api/product/tag_list").then(t=>{this.tagList=t.data,this.tagList[0].id=this.VUE_APP_GLOBAL_TAGS.pc_all})},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,_=(0,l.A)(m,a,e,!1,null,"6fb8cf7d",null),h=_.exports},8977: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(845),n=(0,o.A)(c,a,e,!1,null,"71ee3626",null),l=n.exports}}]); +//# sourceMappingURL=934.c3cb9093.js.map \ No newline at end of file diff --git a/dist/js/934.c3cb9093.js.map b/dist/js/934.c3cb9093.js.map new file mode 100644 index 0000000..1bb05a4 --- /dev/null +++ b/dist/js/934.c3cb9093.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/934.c3cb9093.js","mappings":"oKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,MAAM,CAACF,EAAG,aAAa,CAACG,MAAM,CAAC,UAAYL,EAAIM,UAAU,QAAUN,EAAIO,WAAWL,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,KAAK,CAACF,EAAIQ,GAAG,UAAUN,EAAG,cAAc,CAACG,MAAM,CAAC,SAAWL,EAAIS,WAAW,GAAGC,SAAS,GAAGR,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,KAAK,C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AIQ,GAAG,IAAIR,EAAImB,GAAGkD,EAAQvC,OAAO,QAAQ,GAAG5B,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACF,EAAG,YAAY,CAACmB,YAAY,CAAC,mBAAmB,UAAU,OAAS,QAAQhB,MAAM,CAAC,KAAO,UAAU,KAAO,UAAU,CAACH,EAAG,UAAU,CAACG,MAAM,CAAC,KAAO,2BAA2BL,EAAIQ,GAAG,WAAW,IAAI,MAAM,GAAG,GAA4B,IAAxBR,EAAIoE,SAASS,OAAc3E,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,WAAW,CAACG,MAAM,CAAC,YAAc,aAAa,GAAGL,EAAI4B,MACl7C,EACIjB,EAAkB,GCsDtB,GACAS,KAAA,cACAY,MAAA,CACAoC,SAAA,CACAnC,KAAAC,MACAC,QAAAA,IAAA,KAGAsB,QAAA,IChEiS,I,SCQ7RjB,GAAY,OACd,EACAzC,EACAY,GACA,EACA,KACA,WACA,MAIF,EAAe6B,E","sources":["webpack://shiweisuzhou/./src/views/Index.vue","webpack://shiweisuzhou/./src/components/layout/HomeLayout.vue","webpack://shiweisuzhou/src/components/layout/HomeLayout.vue","webpack://shiweisuzhou/./src/components/layout/HomeLayout.vue?030d","webpack://shiweisuzhou/./src/components/layout/HomeLayout.vue?d86f","webpack://shiweisuzhou/src/views/Index.vue","webpack://shiweisuzhou/./src/views/Index.vue?ac36","webpack://shiweisuzhou/./src/views/Index.vue?f8a7","webpack://shiweisuzhou/./src/components/product/ProductList.vue","webpack://shiweisuzhou/src/components/product/ProductList.vue","webpack://shiweisuzhou/./src/components/product/ProductList.vue?9721","webpack://shiweisuzhou/./src/components/product/ProductList.vue?97f4"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"bg\"},[_c('HomeLayout',{attrs:{\"topBanner\":_vm.topBanner,\"tagList\":_vm.tagList}}),_c('div',{staticClass:\"product-box\"},[_c('h2',[_vm._v(\"今日推荐\")]),_c('ProductList',{attrs:{\"products\":_vm.prouctList[0].list}})],1),_c('div',{staticClass:\"product-box\"},[_c('h2',[_vm._v(\"热销排行\")]),_c('ProductList',{attrs:{\"products\":_vm.prouctList[1].list}})],1),_c('div',{staticClass:\"product-box\"},[_c('h2',[_vm._v(\"新品上市\")]),_c('ProductList',{attrs:{\"products\":_vm.prouctList[2].list}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"home-layout-container\"},[_c('div',{staticClass:\"left-nav\"},[_c('ul',{staticClass:\"nav-list\"},_vm._l((_vm.tagList),function(item){return _c('router-link',{key:item.id,staticClass:\"nav-item\",attrs:{\"to\":'/productList?id=' + item.id,\"tag\":\"li\"}},[_c('img',{attrs:{\"src\":_vm.util.showImg(item.image),\"alt\":\"\"}}),_vm._v(_vm._s(item.name)+\" \")])}),1)]),_c('div',{staticClass:\"main-content\"},[_c('el-carousel',{staticStyle:{\"height\":\"100%\"}},_vm._l((_vm.topBanner),function(item){return _c('el-carousel-item',{key:item.id},[_c('img',{staticClass:\"carousel-img\",attrs:{\"src\":item.head_img}})])}),1)],1),_c('div',{staticClass:\"right-info\"},[(_vm.$store.getters.isUserLogin)?_c('div',{staticClass:\"avatar-container\"},[_c('img',{staticClass:\"user-avatar\",attrs:{\"src\":_vm.$store.getters.getUserInfo.avatar,\"alt\":\"用户头像\"}}),_c('div',{staticClass:\"welcome-text\"},[_vm._v(\"Hi-欢迎您\")])]):_vm._e(),(false)?_c('div',{staticClass:\"btn-group\"},[_c('el-button',{attrs:{\"type\":\"danger\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoPath('/Login')}}},[_vm._v(\"登录\")]),_c('el-button',{attrs:{\"type\":\"warning\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.gotoPath('/Register')}}},[_vm._v(\"注册\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"}},[_vm._v(\"客服\")])],1):_vm._e(),_c('div',{staticClass:\"func-icons\"},[_c('router-link',{staticClass:\"icon-item\",attrs:{\"to\":\"/User/UserCenter\"}},[_c('i',{staticClass:\"icon el-icon-user\"}),_c('span',[_vm._v(\"个人中心\")])]),_c('router-link',{staticClass:\"icon-item\",attrs:{\"to\":\"/User/OrderList\"}},[_c('i',{staticClass:\"icon el-icon-goods\"}),_c('span',[_vm._v(\"我的订单\")])]),_c('router-link',{staticClass:\"icon-item\",attrs:{\"to\":\"/User/CommentManage\"}},[_c('i',{staticClass:\"icon el-icon-star-off\"}),_c('span',[_vm._v(\"评价管理\")])]),_c('router-link',{staticClass:\"icon-item\",attrs:{\"to\":\"/NoticeList\"}},[_c('i',{staticClass:\"icon el-icon-pie-chart\"}),_c('span',[_vm._v(\"公告中心\")])])],1),_c('router-link',{staticClass:\"announcement\",attrs:{\"to\":'/NoticeDetail?type=notice&id='+_vm.notice.id}},[_c('el-tag',{attrs:{\"type\":\"danger\",\"size\":\"mini\"}},[_vm._v(\"公告\")]),_c('span',{staticClass:\"text-overflowRows\"},[_vm._v(_vm._s(_vm.notice.title))])],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/cli-service/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/cli-service/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=185af175&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=185af175&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"185af175\",\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/cli-service/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/cli-service/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=6fb8cf7d&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=6fb8cf7d&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6fb8cf7d\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"product-list\"},[_c('div',{staticClass:\"product-grid\"},_vm._l((_vm.products),function(product){return _c('router-link',{key:product.id,staticClass:\"product-card\",attrs:{\"to\":`/Detail/${product.id}`}},[_c('div',{staticClass:\"product-img\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(product.headimg),expression:\"product.headimg\"}],staticClass:\"product-pic\",attrs:{\"alt\":product.title}})]),_c('div',{staticClass:\"product-info\"},[_c('div',{staticClass:\"flex-between\"},[_c('div',{staticClass:\"product-price\"},[_c('span',{staticClass:\"current-price\"},[_vm._v(\"¥\"+_vm._s(product.price / 100))]),(product.market_price)?_c('span',{staticClass:\"original-price\"},[_vm._v(\"¥\"+_vm._s(product.market_price / 100))]):_vm._e()]),(product.sales)?_c('div',{staticClass:\"product-sales\"},[_c('span',[_vm._v(\"已售 \"+_vm._s(product.sales_number)+\" 件\")])]):_vm._e()]),_c('h3',{staticClass:\"product-name\"},[_c('router-link',{attrs:{\"to\":`/Detail/${product.id}`}},[_vm._v(\" \"+_vm._s(product.title)+\" \")])],1),_c('div',{staticClass:\"product-actions\"},[_c('el-button',{staticStyle:{\"background-color\":\"#6a8a27\",\"border\":\"none\"},attrs:{\"type\":\"primary\",\"size\":\"small\"}},[_c('el-icon',{attrs:{\"name\":\"el-icon-shopping-cart\"}}),_vm._v(\" 立即购买 \")],1)],1)])])}),1),(_vm.products.length === 0)?_c('div',{staticClass:\"no-products\"},[_c('el-empty',{attrs:{\"description\":\"暂无相关商品\"}})],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductList.vue?vue&type=template&id=71ee3626&scoped=true\"\nimport script from \"./ProductList.vue?vue&type=script&lang=js\"\nexport * from \"./ProductList.vue?vue&type=script&lang=js\"\nimport style0 from \"./ProductList.vue?vue&type=style&index=0&id=71ee3626&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"71ee3626\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","topBanner","tagList","_v","prouctList","list","staticRenderFns","_l","item","key","id","util","showImg","image","_s","name","staticStyle","head_img","$store","getters","isUserLogin","getUserInfo","avatar","_e","notice","title","data","props","type","Array","default","mounted","post","then","res","component","components","HomeLayout","ProductList","VUE_APP_GLOBAL_TAGS","pc_index_recommend","pc_index_hot","pc_index_new","newProducts","price","originalPrice","sales","categoryId","created","getTopBanner","getTags","getProductList","methods","type_id","position","pid","side_all","pc_all","map","i","tag_id","offset","limit","products","product","directives","rawName","value","headimg","expression","market_price","sales_number","length"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/700.d2d5f812.js b/dist/js/992.12386cc8.js similarity index 96% rename from dist/js/700.d2d5f812.js rename to dist/js/992.12386cc8.js index 1e9a765..a9650a8 100644 --- a/dist/js/700.d2d5f812.js +++ b/dist/js/992.12386cc8.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[700],{1700: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"}})])}],i=(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.dispatch("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")}}}),a=i,c=s(1656),l=(0,c.A)(a,o,r,!1,null,"d8d6c674",null),n=l.exports}}]); -//# sourceMappingURL=700.d2d5f812.js.map \ No newline at end of file +"use strict";(self["webpackChunkshiweisuzhou"]=self["webpackChunkshiweisuzhou"]||[]).push([[992],{3992: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"}})])}],i=(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.dispatch("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")}}}),a=i,c=s(845),l=(0,c.A)(a,o,r,!1,null,"d8d6c674",null),n=l.exports}}]); +//# sourceMappingURL=992.12386cc8.js.map \ No newline at end of file diff --git a/dist/js/700.d2d5f812.js.map b/dist/js/992.12386cc8.js.map similarity index 89% rename from dist/js/700.d2d5f812.js.map rename to dist/js/992.12386cc8.js.map index 96752be..f9b1588 100644 --- a/dist/js/700.d2d5f812.js.map +++ b/dist/js/992.12386cc8.js.map @@ -1 +1 @@ -{"version":3,"file":"js/700.d2d5f812.js","mappings":"oKAAA,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,MA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yB,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,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,SAAA,SACAC,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://shiweisuzhou/./src/views/Login.vue","webpack://shiweisuzhou/src/views/Login.vue","webpack://shiweisuzhou/./src/views/Login.vue?3cb7","webpack://shiweisuzhou/./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=d8d6c674&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=d8d6c674&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 \"d8d6c674\",\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","dispatch","userInfo","token","redirectPath","$router","push","setTimeout","goToRegister","component"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"js/992.12386cc8.js","mappings":"oKAAA,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,UAAU,CAACL,EAAG,WAAW,CAACK,MAAM,CAAC,YAAc,UAAU,UAAY,GAAG,cAAc,gBAAgB,UAAY,MAAMG,MAAM,CAACC,MAAOX,EAAIQ,KAAKI,MAAOC,SAAS,SAAUC,GAAMd,EAAIe,KAAKf,EAAIQ,KAAM,QAASM,EAAI,EAAEE,WAAW,iBAAiB,GAAGd,EAAG,eAAe,CAACK,MAAM,CAAC,KAAO,YAAY,CAACL,EAAG,WAAW,CAACe,YAAY,CAAC,MAAQ,OAAOV,MAAM,CAAC,YAAc,WAAW,UAAY,GAAG,cAAc,mBAAmBG,MAAM,CAACC,MAAOX,EAAIQ,KAAKU,QAASL,SAAS,SAAUC,GAAMd,EAAIe,KAAKf,EAAIQ,KAAM,UAAWM,EAAI,EAAEE,WAAW,kBAAkBd,EAAG,MAAM,CAACE,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MAAAC,EAAAlC,aAAAC,QAAA,gBACA,KAAAkC,QAAAC,KAAAF,GAAA,KACAlC,aAAA6B,WAAA,eACA,IAIAQ,WAAA,OAKA,QAGA,EAGAC,YAAAA,GACA,KAAAH,QAAAC,KAAA,YACA,KChSkR,I,SCQ9QG,GAAY,OACd,EACAxF,EACAmC,GACA,EACA,KACA,WACA,MAIF,EAAeqD,E","sources":["webpack://shiweisuzhou/./src/views/Login.vue","webpack://shiweisuzhou/src/views/Login.vue","webpack://shiweisuzhou/./src/views/Login.vue?d7b7","webpack://shiweisuzhou/./src/views/Login.vue?9f01"],"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/cli-service/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/cli-service/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=d8d6c674&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=d8d6c674&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d8d6c674\",\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","dispatch","userInfo","token","redirectPath","$router","push","setTimeout","goToRegister","component"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/app.4470121a.js b/dist/js/app.4470121a.js new file mode 100644 index 0000000..50f9b6f --- /dev/null +++ b/dist/js/app.4470121a.js @@ -0,0 +1,2 @@ +(function(){"use strict";var e={3153:function(e,t,n){e.exports=n.p+"img/logo.bb511aff.png"},5129:function(e,t,n){var o=n(6674),a=n(3518),r=n(5131);o["default"].use(a.Ay),t.A=new a.Ay.Store({plugins:[(0,r.A)({storage:window.localStorage,reducer(e){return{cart:e.cart,user:e.user}}})],state:{cart:{items:[],totalCount:0,totalPrice:0},user:{isLogin:!1,info:null,token:""},categories:[],loading:!1,searchText:"",orderData:null},mutations:{setOrderData(e,t){e.orderData=t},clearOrderData(e){e.orderData=null},UPDATE_CATEGORIES(e,t){e.categories=t},UPDATE_LOADING(e,t){e.loading=t},USER_LOGIN(e,{userInfo:t,token:n}){e.user.isLogin=!0,e.user.info=t,e.user.token=n,localStorage.setItem("token",n)},USER_LOGOUT(e){e.user.isLogin=!1,e.user.info=null,e.user.token="",localStorage.removeItem("token"),e.cart.totalCount=0},UPDATE_CART_TOTAL_COUNT(e,t){e.cart.totalCount=t},setSearchText(e,t){e.searchText=t}},actions:{submitOrderData({commit:e},t){e("setOrderData",t)},fetchCategories({commit:e}){return e("UPDATE_LOADING",!0),new Promise(t=>{setTimeout(()=>{const n=[{id:1,name:"电子产品",icon:"el-icon-laptop"},{id:2,name:"服装鞋帽",icon:"el-icon-shopping-bag-1"},{id:3,name:"家居用品",icon:"el-icon-home"},{id:4,name:"美妆个护",icon:"el-icon-present"},{id:5,name:"食品饮料",icon:"el-icon-dish"},{id:6,name:"图书音像",icon:"el-icon-document"}];e("UPDATE_CATEGORIES",n),e("UPDATE_LOADING",!1),t(n)},500)})},login({commit:e,dispatch:t},{userInfo:n,token:o}){e("USER_LOGIN",{userInfo:n,token:o}),t("fetchCartCount")},logout({commit:e}){e("USER_LOGOUT")},addToCart({dispatch:e},t){return o["default"].prototype.post({sku_id:t.id,num:t.quantity||1},"/api/cart/add_sku").then(t=>{if(t)return o["default"].prototype.$message.success("购物车添加成功!"),e("fetchCartCount")}).catch(e=>{throw console.error("添加到购物车请求失败",e),e})},fetchCartCount({commit:e,state:t}){return t.user.token?o["default"].prototype.post({},"/api/cart/get_count").then(t=>(console.log("购物车数量接口返回",t),1==t.code&&e("UPDATE_CART_TOTAL_COUNT",t.data),t.data)).catch(e=>{throw console.error("获取购物车数量失败",e),e}):(e("UPDATE_CART_TOTAL_COUNT",0),Promise.resolve(0))},removeFromCart({dispatch:e},t){return o["default"].prototype.post({sku_id:t},"/api/cart/remove_sku").then(()=>e("fetchCartCount")).catch(e=>{throw console.error("删除购物车商品失败",e),e})},updateCartItemQuantity({dispatch:e},{productId:t,quantity:n}){return o["default"].prototype.post({sku_id:t,num:n},"/api/cart/add_sku").then(()=>e("fetchCartCount")).catch(e=>{throw console.error("更新购物车商品数量失败",e),e})},clearCart({dispatch:e}){return o["default"].prototype.post({},"/api/cart/clear").then(()=>e("fetchCartCount")).catch(e=>{throw console.error("清空购物车失败",e),e})}},getters:{getOrderData:e=>e.orderData,getCategories:e=>e.categories,getCart:e=>e.cart,getCartTotalCount:e=>e.cart.totalCount,isUserLogin:e=>e.user.isLogin,getUserInfo:e=>e.user.info,getLoadingStatus:e=>e.loading,getSearchText:e=>e.searchText}})},6477:function(e,t,n){n(4114);var o=n(6674),a=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},["Register"!==e.$route.name?t("HeaderNav"):e._e(),"Login"!==e.$route.name?t("main",{staticClass:"main-container"},[t("router-view")],1):e._e(),"Login"==e.$route.name?t("main",{staticClass:"main-containers"},[t("router-view")],1):e._e(),"Register"!==e.$route.name?t("Sidebar"):e._e(),"Register"!==e.$route.name?t("Footer"):e._e()],1)},r=[],i=function(){var e=this,t=e._self._c;return t("header",{staticClass:"header-nav"},[t("div",{staticClass:"top-notice"},[t("div",{staticClass:"container"},[t("p",[e._v(" 欢迎来到时味苏州平台! "),e._e()],1),t("div",{staticClass:"top-links"},[e.isLogin?t("router-link",{staticClass:"user-link",attrs:{to:"/User"}},[t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.userInfo.avatar,expression:"userInfo.avatar"}],staticClass:"avatar",attrs:{alt:"用户头像"}}),e._v(" "+e._s(e.userInfo.username)+" ")]):t("router-link",{attrs:{to:"/Login"}},[e._v("登录")]),e._e(),e._e(),t("router-link",{attrs:{to:"/User"}},[e._v("采购人中心")]),t("router-link",{staticClass:"cart-link",attrs:{to:"/User/ShoppingCart"}},[e._v(" 购物车"),e.cartTotalCount>0?t("span",[e._v("("+e._s(e.cartTotalCount)+"件)")]):e._e()]),e.isLogin?t("router-link",{attrs:{to:"/User/OrderList"}},[e._v("我的订单")]):e._e(),e.isLogin?t("div",{staticClass:"logout-btn",on:{click:e.handleLogout}},[e._v(" 退出 ")]):e._e()],1)])]),t("div",{staticClass:"main-nav"},[t("div",{staticClass:"container"},[t("div",{staticClass:"logo"},[t("router-link",{attrs:{to:"/"}},[t("img",{staticClass:"logo-img",attrs:{src:"https://static.ticket.sz-trip.com/shiweisuzhou/pc/logo.png",alt:"logo"},on:{click:function(t){e.searchText=""}}})])],1),t("div",{staticClass:"search-box"},[t("el-input",{staticClass:"search-input",attrs:{placeholder:"请输入搜索内容"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleSearch.apply(null,arguments)}},model:{value:e.searchText,callback:function(t){e.searchText=t},expression:"searchText"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.handleSearch},slot:"append"})],1),e.hotList.length>0?t("div",{staticClass:"hot-tags"},[t("span",[e._v("热门搜索:")]),e._l(e.hotList,function(n,o){return t("div",{key:o,staticClass:"hot-tag",on:{click:function(t){e.searchText=n.name,e.handleSearch()}}},[e._v(" "+e._s(n.name)+" ")])})],2):e._e()],1),t("div",{staticClass:"phone-entry"},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("img",{staticStyle:{"margin-right":"5px"},attrs:{src:"https://static.ticket.sz-trip.com/shiweisuzhou/pc/login/phone.png",alt:"联系电话"}}),t("span",[e._v("0512-80822586")]),(e.cartTotalCount,e._e())])])])]),e.categories.length>0?t("div",{staticClass:"category-nav"},[t("div",{staticClass:"container"},[e._e()])]):e._e()])},s=[],c=n(3518),l={name:"HeaderNav",data(){return{searchText:"",hotList:[]}},computed:{...(0,c.L8)(["getCategories","getCartTotalCount","isUserLogin","getUserInfo"]),categories(){return this.getCategories||[]},cartTotalCount(){return this.getCartTotalCount||0},isLogin(){return this.isUserLogin},userInfo(){return this.getUserInfo||{}}},created(){this.fetchCategories(),this.post({offset:0,limit:5},"/api/search/hot").then(e=>{this.hotList=e.data})},methods:{...(0,c.i0)(["fetchCategories","logout"]),handleSearch(){this.searchText.trim()&&(this.$store.commit("setSearchText",this.searchText),"/ProductList"===this.$route.path||this.$router.push({path:"/ProductList",query:{keyword:this.searchText,type:"search"}}))},handleLogout(){this.$confirm("确定要退出登录吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.logout().then(()=>{this.$message.success("退出登录成功"),localStorage.setItem("redirectPath",this.$route.path),this.$router.push("/Login")}).catch(e=>{this.$message.error("退出失败:"+(e.message||"未知错误"))})}).catch(()=>{})}}},u=l,d=n(845),p=(0,d.A)(u,i,s,!1,null,"00f3c839",null),h=p.exports,m=function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-container"},[t("div",{staticClass:"footer-top"},[e._l(e.nonQrcodeColumns,function(n,o){return t("div",{key:n.id,staticClass:"footer-column"},[t("h3",[e._v(e._s(n.title))]),t("ul",e._l(n.list,function(n,a){return t("li",{key:a,style:{cursor:o<4?"pointer":""},on:{click:function(t){o<4&&e.gotoDetail(n)}}},[e._v(" "+e._s(n.title)+" ")])}),0)])}),t("div",{staticClass:"qrcode-group"},e._l(e.qrcodeColumn.list,function(n,o){return t("div",{key:o,staticClass:"qrcode-item"},[t("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:e.util.showImg(n.image)}}),t("p",[e._v(e._s(n.title))])])}),0)],2),e._m(0)])},f=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-bottom"},[t("p",[e._v("版权所有 苏州市特色农产品发展有限公司 | 苏ICP备2023023300号-1")]),t("p",[e._v("本网站由 江苏大运远见文化科技发展有限公司 运营维护")])])}],g=(n(8111),n(2489),n(116),n(7588),{name:"Footer",data(){return{list:[{id:1,title:"关于我们",list:[]},{id:2,title:"新手上路",list:[]},{id:5,title:"交易流程",list:[]},{id:3,title:"常见问题",list:[]},{id:6,title:"联系方式",list:[]},{id:4,title:"二维码推荐",list:[]}]}},computed:{nonQrcodeColumns(){return this.list.filter(e=>"二维码推荐"!==e.title)},qrcodeColumn(){return this.list.find(e=>"二维码推荐"===e.title)||{list:[]}}},mounted(){this.list.forEach(e=>{this.get({type_id:e.id},"/api/navigation/getNavigationByTypeList").then(t=>{e.list=t.data})})},methods:{gotoDetail(e){e.link_url?window.location.href=e.link_url:this.$router.push(`/NoticeDetail?type=footer&id=${e.id}`)}}}),v=g,b=(0,d.A)(v,m,f,!1,null,"3080ae3e",null),C=b.exports,y=function(){var e=this,t=e._self._c;return t("div",{staticClass:"sidebar-container"},[t("div",{staticClass:"sidebar-item",on:{click:e.handleCartClick}},[t("el-badge",{staticClass:"item-badge",attrs:{value:e.$store.getters.getCartTotalCount}},[t("i",{staticClass:"el-icon-shopping-cart-full"})]),t("div",{staticClass:"item-text"},[e._v("购物车")])],1),t("div",{staticClass:"sidebar-item",on:{click:e.handleServiceClick}},[t("i",{staticClass:"el-icon-headset"}),t("div",{staticClass:"item-text"},[e._v("在线客服")])]),t("div",{staticClass:"sidebar-item back-to-top",class:{active:e.isShowBackTop},on:{click:e.handleBackToTop}},[t("i",{staticClass:"el-icon-caret-top"}),t("div",{staticClass:"item-text"},[e._v("回到顶部")])])])},_=[],k=n(5129),T={name:"Sidebar",data(){return{cartCount:0,isShowBackTop:!1,scrollTimer:null}},computed:{...(0,c.L8)(["getCartTotalCount"])},mounted(){window.addEventListener("scroll",this.handleScroll),this.$store.dispatch("fetchCartCount")},beforeDestroy(){window.removeEventListener("scroll",this.handleScroll),this.scrollTimer&&clearTimeout(this.scrollTimer)},methods:{handleCartClick(){this.$router.push("/User/ShoppingCart")},handleServiceClick(){const e=k.A.state.user?.info?.token||"";window.location.href="https://api.sutenong.com/kefu?token="+e},handleBackToTop(){window.scrollTo({top:0,behavior:"smooth"})},handleScroll(){this.scrollTimer&&clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(()=>{this.isShowBackTop=window.pageYOffset>300},200)}}},w=T,A=(0,d.A)(w,y,_,!1,null,"6df28cc6",null),L=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()},O=[],S={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=S,P=(0,d.A)(U,x,O,!1,null,"7ea6dee0",null),E=P.exports,I={name:"App",components:{HeaderNav:h,Footer:C,BackToTop:E,Sidebar:L},computed:{...(0,c.L8)(["getLoadingStatus"]),loading(){return this.getLoadingStatus}}},B=I,D=(0,d.A)(B,a,r,!1,null,null,null),$=D.exports,R=n(6178);o["default"].use(R.Ay);const N=R.Ay.prototype.push;R.Ay.prototype.push=function(e){return N.call(this,e).catch(e=>{if("NavigationDuplicated"!==e.name)throw e})};const z=new R.Ay({mode:"history",base:"/",routes:[{path:"/",name:"Index",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>n.e(934).then(n.bind(n,2934))},{path:"/Login",name:"Login",meta:{title:"登录 - 精品商城",keepAlive:!1},component:()=>n.e(992).then(n.bind(n,3992))},{path:"/Register",name:"Register",meta:{title:"注册 - 精品商城",keepAlive:!1},component:()=>n.e(632).then(n.bind(n,2632))},{path:"/Home",name:"Home",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>n.e(339).then(n.bind(n,9339))},{path:"/Detail/:id",name:"Detail",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>n.e(707).then(n.bind(n,3707))},{path:"/ProductList",name:"ProductList",meta:{title:"商品列表",keepAlive:!1},component:()=>n.e(896).then(n.bind(n,3896))},{path:"/ProductReview",name:"ProductReview",meta:{title:"商品评价",keepAlive:!1},component:()=>n.e(905).then(n.bind(n,2905))},{path:"/NoticeList",name:"NoticeList",meta:{title:"公告列表",keepAlive:!1},component:()=>n.e(705).then(n.bind(n,6705))},{path:"/NoticeDetail",name:"NoticeDetail",meta:{title:"公告详情",keepAlive:!1},component:()=>n.e(133).then(n.bind(n,7133))},{path:"/User",name:"User",component:()=>n.e(809).then(n.bind(n,809)),redirect:"/User/UserCenter",children:[{path:"UserCenter",name:"UserCenter",component:()=>n.e(168).then(n.bind(n,4168))},{path:"OrderList",name:"OrderList",meta:{title:"我的订单 - 精品商城",keepAlive:!1},component:()=>n.e(140).then(n.bind(n,9759))},{path:"UserInfo",name:"UserInfo",meta:{title:"个人信息 - 精品商城",keepAlive:!1},component:()=>n.e(667).then(n.bind(n,5667))},{path:"ViewHistory",name:"ViewHistory",meta:{title:"我的足迹 - 精品商城",keepAlive:!1},component:()=>n.e(933).then(n.bind(n,1933))},{path:"UserAddress",name:"UserAddress",meta:{title:"我的收货地址 - 精品商城",keepAlive:!1},component:()=>n.e(597).then(n.bind(n,597))},{path:"UserInvoice",name:"UserInvoice",meta:{title:"发票抬头 - 精品商城",keepAlive:!1},component:()=>n.e(788).then(n.bind(n,9788))},{path:"UserInvoiceList",name:"UserInvoiceList",meta:{title:"我的发票 - 精品商城",keepAlive:!1},component:()=>n.e(576).then(n.bind(n,5576))},{path:"ShoppingCart",name:"ShoppingCart",meta:{title:"购物车 - 精品商城",keepAlive:!1},component:()=>n.e(145).then(n.bind(n,4145))},{path:"CommentManage",name:"CommentManage",meta:{title:"评价管理 - 精品商城",keepAlive:!1},component:()=>n.e(754).then(n.bind(n,3754))},{path:"ContractList",name:"ContractList",meta:{title:"合同管理 - 精品商城",keepAlive:!1},component:()=>n.e(420).then(n.bind(n,7420))},{path:"MessageList",name:"MessageList",meta:{title:"消息中心 - 精品商城",keepAlive:!1},component:()=>n.e(47).then(n.bind(n,3047))},{path:"PurchaserAdd",name:"PurchaserAdd",meta:{title:"添加采购单位信息 - 精品商城",keepAlive:!1},component:()=>n.e(878).then(n.bind(n,6878))}]},{path:"/Order",name:"Order",meta:{title:"下单",keepAlive:!1},component:()=>n.e(828).then(n.bind(n,8828))},{path:"/OrderDetail",name:"OrderDetail",meta:{title:"订单详情 - 精品商城",keepAlive:!1},component:()=>n.e(528).then(n.bind(n,2528))},{path:"/OrderPay",name:"OrderPay",meta:{title:"订单支付 - 精品商城",keepAlive:!1},component:()=>n.e(241).then(n.bind(n,4241))},{path:"/OrderPayB2B",name:"OrderPayB2B",meta:{title:"订单支付 - 精品商城",keepAlive:!1},component:()=>n.e(395).then(n.bind(n,8776))},{path:"/OrderPayCode",name:"OrderPayCode",meta:{title:"订单支付 - 精品商城",keepAlive:!1},component:()=>n.e(154).then(n.bind(n,9154))},{path:"/OrderPaySuccess",name:"OrderPaySuccess",meta:{title:"订单支付 - 精品商城",keepAlive:!1},component:()=>n.e(359).then(n.bind(n,5359))}],scrollBehavior(e,t,n){return{x:0,y:0}}});z.beforeEach((e,t,n)=>{if(e.meta.title&&(document.title=e.meta.title),e.meta.requireAuth){const t=k.A.state.user?.info?.token||"";t?n():n({path:"/Login",query:{redirect:e.fullPath}})}else n()});var j=z,q=n(9143),G=n.n(q),M=n(5847),V=n(4373);const F=V.A.create({timeout:6e3});F.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://api.sutenong.com";const n=k.A.state.user?.info?.token||"";return e.headers["token"]=n||"",e.headers["Content-Type"]="application/json;charset=UTF-8","get"===e.method?.toLowerCase()?e.params={platform_type:2,...e.params}:e.data={platform_type:2,...e.data},!1!==e.loading&&(e.loadingInstance=q.Loading.service({lock:!0,text:"加载中...",background:"rgba(0, 0, 0, 0.7)"})),e},e=>Promise.reject(e)),F.interceptors.response.use(e=>{if(e.config.loadingInstance&&e.config.loadingInstance.close(),200!==e.status&&1!==e.status){const t=`请求失败,状态码:${e.status}`;return q.MessageBox.alert(t,"错误提示",{confirmButtonText:"确定",type:"error"}),Promise.reject(new Error(t))}{const t=e.data;if(1===t.code||200===t.code)return t;{const e=t.msg||`业务处理失败,错误码:${t.code}`;q.MessageBox.alert(e,"错误提示",{confirmButtonText:"确定",type:"error"}).then(()=>{if(401===t.code){const e=j.currentRoute.fullPath;"/Login"!==e&&localStorage.setItem("redirectPath",e),j.push("/Login")}}).catch(()=>{})}}},e=>{if(e.config&&e.config.loadingInstance&&e.config.loadingInstance.close(),e.response&&e.response.status)switch(e.response.status){case 401:q.MessageBox.confirm("请登录后操作","提示",{confirmButtonText:"去登录",cancelButtonText:"取消",type:"warning"}).then(()=>{j.push("/Login")}).catch(()=>{});break;case 404:(0,q.Message)({message:"网络繁忙,请刷新再试",type:"error",duration:2e3});break;default:(0,q.Message)({message:"网络繁忙,请刷新再试",type:"error",duration:2e3});break}return Promise.reject(e)}),o["default"].prototype.get=(e,t,n=!1)=>new Promise((o,a)=>{F.get(t,{params:e,loading:n}).then(e=>{o(e)}).catch(e=>{a(e)})}),o["default"].prototype.post=(e,t,n=!1)=>new Promise((o,a)=>{F.post(t,e,{loading:n}).then(e=>{o(e)}).catch(e=>{a(e)})});var H={install(e){e.prototype.util={formateRichText(e){if(!e)return"";var t=new RegExp("'),t=new RegExp("section","g"),e=e.replace(t,"div"),t=new RegExp("↵","g"),e=e.replace(t,"
"),e=e.replace(/{t.onload=()=>{e(t.result)}})},copyId(t){const n=document.createElement("input");n.value=t,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),e.prototype.$message({message:"复制成功",type:"success"})}}}};o["default"].use(H),o["default"].config.productionTip=!1,o["default"].use(G());let Z="production";console.log(Z),o["default"].prototype.VUE_APP_GLOBAL_TAGS={pc_all:675,side_all:701,all_prod:676,pc_index_recommend:683,pc_index_hot:684,pc_index_new:685},"development"===Z&&(o["default"].prototype.VUE_APP_GLOBAL_TAGS={pc_all:662,all_prod:663,pc_index_recommend:670,pc_index_hot:671,pc_index_new:672}),o["default"].use(M.A,{preLoad:1.3,error:n(3153),loading:n(3153),attempt:3,listenEvents:["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],adapter:{loaded({bindType:e,el:t,naturalHeight:n,naturalWidth:o,$parent:a,src:r,loading:i,error:s,Init:c}){console.log("图片加载完成:",r)},error({bindType:e,el:t,error:n,$parent:o,src:a,loading:r}){console.log("图片加载失败:",a)}}}),o["default"].prototype.gotoPath=function(e,t={}){const n=this.$router.currentRoute.fullPath;if(e!==n)try{"string"===typeof e?this.$router.push({path:e,query:t.query||{}}):"object"===typeof e&&this.$router.push(e),"function"===typeof t.success&&t.success()}catch(o){console.error("路由跳转失败:",o),"function"===typeof t.fail&&t.fail(o)}},new o["default"]({el:"#app",router:j,store:k.A,components:{App:$},template:""})}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={id:o,loaded:!1,exports:{}};return e[o].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,o,a,r){if(!o){var i=1/0;for(u=0;u=r)&&Object.keys(n.O).every(function(e){return n.O[e](o[c])})?o.splice(c--,1):(s=!1,r0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[o,a,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 o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce(function(t,o){return n.f[o](e,t),t},[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{47:"91e22ff7",133:"635d95e6",140:"2a9e3041",145:"bdf9dbc6",154:"8a9d2cca",168:"791742aa",241:"17bc4b66",339:"793917b1",359:"9bec58e0",395:"bf4b57c0",420:"2ae90b4c",528:"f5163631",576:"59915dd8",597:"bc6f8420",632:"bc245760",667:"6a70b405",705:"c96616d8",707:"b7263128",754:"eb8a67d3",788:"c3e035d9",809:"6bde92a7",828:"6987a2ad",878:"ed5a6807",896:"87e420a5",905:"e365cd50",933:"a1573a86",934:"c3cb9093",992:"12386cc8"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{47:"4c0b65d7",133:"f060a013",140:"703f0337",145:"e6d20e0d",154:"edd4b6a0",168:"8b344007",241:"51eebda5",339:"9419445b",359:"a7db186a",395:"42e712d8",420:"37d35775",528:"701f8f15",576:"b751536e",597:"268eb302",632:"2661f71c",667:"3189fded",705:"91c548ed",707:"ec7235c5",754:"fb749462",809:"5ae3b03a",828:"9b5bd9e0",878:"81403639",896:"4400289a",905:"b5e6f704",933:"5507be5a",934:"80745de8",992:"5f484165"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="shiweisuzhou:";n.l=function(o,a,r,i){if(e[o])e[o].push(a);else{var s,c;if(void 0!==r)for(var l=document.getElementsByTagName("script"),u=0;u {\n setTimeout(() => {\n const categories = [\n { id: 1, name: '电子产品', icon: 'el-icon-laptop' },\n { id: 2, name: '服装鞋帽', icon: 'el-icon-shopping-bag-1' },\n { id: 3, name: '家居用品', icon: 'el-icon-home' },\n { id: 4, name: '美妆个护', icon: 'el-icon-present' },\n { id: 5, name: '食品饮料', icon: 'el-icon-dish' },\n { id: 6, name: '图书音像', icon: 'el-icon-document' }\n ]\n commit('UPDATE_CATEGORIES', categories)\n commit('UPDATE_LOADING', false)\n resolve(categories)\n }, 500)\n })\n },\n\n // 用户登录\n login({ commit, dispatch }, { userInfo, token }) {\n // 先调用 mutation 更新登录状态\n commit('USER_LOGIN', { userInfo, token })\n // 登录成功后,调用获取购物车数量的 action\n dispatch('fetchCartCount')\n },\n \n // 用户登出\n logout({ commit }) {\n commit('USER_LOGOUT')\n },\n \n // 添加商品到购物车\n addToCart({ dispatch }, product) {\n // 调用接口,参数为商品id和数量\n return Vue.prototype.post(\n {\n sku_id: product.id,\n num: product.quantity || 1\n },\n \"/api/cart/add_sku\"\n ).then((res) => {\n if (res) {\n Vue.prototype.$message.success(\"购物车添加成功!\");\n // 添加成功后重新获取购物车数量\n return dispatch('fetchCartCount')\n }\n }).catch((err) => {\n console.error('添加到购物车请求失败', err);\n throw err\n });\n },\n\n // 获取购物车数量\n fetchCartCount({ commit, state }) {\n // 检查是否存在token,不存在则直接返回0\n if (!state.user.token) {\n commit('UPDATE_CART_TOTAL_COUNT', 0)\n return Promise.resolve(0)\n }\n return Vue.prototype.post(\n {},\n \"/api/cart/get_count\"\n ).then((res) => {\n console.log('购物车数量接口返回', res)\n if (res.code == 1) {\n commit('UPDATE_CART_TOTAL_COUNT', res.data)\n }\n return res.data\n }).catch((err) => {\n console.error('获取购物车数量失败', err)\n throw err\n });\n },\n \n // 从购物车移除商品\n removeFromCart({ dispatch }, productId) {\n // 调用删除接口\n return Vue.prototype.post(\n { sku_id: productId },\n \"/api/cart/remove_sku\"\n ).then(() => {\n // 删除成功后重新获取购物车数量\n return dispatch('fetchCartCount')\n }).catch(err => {\n console.error('删除购物车商品失败', err)\n throw err\n })\n },\n \n // 更新购物车商品数量\n updateCartItemQuantity({ dispatch }, { productId, quantity }) {\n // 调用更新数量接口\n return Vue.prototype.post(\n { \n sku_id: productId,\n num: quantity\n },\n \"/api/cart/add_sku\"\n ).then(() => {\n // 更新成功后重新获取购物车数量\n return dispatch('fetchCartCount')\n }).catch(err => {\n console.error('更新购物车商品数量失败', err)\n throw err\n })\n },\n \n // 清空购物车\n clearCart({ dispatch }) {\n // 调用清空接口\n return Vue.prototype.post(\n {},\n \"/api/cart/clear\"\n ).then(() => {\n // 清空成功后重新获取购物车数量\n return dispatch('fetchCartCount')\n }).catch(err => {\n console.error('清空购物车失败', err)\n throw err\n })\n }\n },\n getters: {\n // 获取订单数据\n getOrderData: state => state.orderData,\n\n // 获取分类列表\n getCategories: state => state.categories,\n \n // 获取购物车信息\n getCart: state => state.cart,\n \n // 获取购物车商品总数\n getCartTotalCount: state => state.cart.totalCount,\n \n // 获取用户登录状态\n isUserLogin: state => state.user.isLogin,\n \n // 获取用户信息\n getUserInfo: state => state.user.info,\n \n // 获取加载状态\n getLoadingStatus: state => state.loading,\n\n // 获取搜索词\n getSearchText: state => state.searchText\n }\n})","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"app\"}},[(_vm.$route.name !== 'Register')?_c('HeaderNav'):_vm._e(),(_vm.$route.name !== 'Login')?_c('main',{staticClass:\"main-container\"},[_c('router-view')],1):_vm._e(),(_vm.$route.name == 'Login')?_c('main',{staticClass:\"main-containers\"},[_c('router-view')],1):_vm._e(),(_vm.$route.name !== 'Register')?_c('Sidebar'):_vm._e(),(_vm.$route.name !== 'Register')?_c('Footer'):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('header',{staticClass:\"header-nav\"},[_c('div',{staticClass:\"top-notice\"},[_c('div',{staticClass:\"container\"},[_c('p',[_vm._v(\" 欢迎来到时味苏州平台! \"),(false)?_c('router-link',{staticClass:\"highlight\",attrs:{\"to\":\"/Register\"}},[_vm._v(\"立即注册\")]):_vm._e()],1),_c('div',{staticClass:\"top-links\"},[(_vm.isLogin)?_c('router-link',{staticClass:\"user-link\",attrs:{\"to\":\"/User\"}},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(_vm.userInfo.avatar),expression:\"userInfo.avatar\"}],staticClass:\"avatar\",attrs:{\"alt\":\"用户头像\"}}),_vm._v(\" \"+_vm._s(_vm.userInfo.username)+\" \")]):_c('router-link',{attrs:{\"to\":\"/Login\"}},[_vm._v(\"登录\")]),(false)?_c('span',{staticClass:\"separator\"},[_vm._v(\"|\")]):_vm._e(),(false)?_c('router-link',{attrs:{\"to\":\"/Register\"}},[_vm._v(\"注册\")]):_vm._e(),_c('router-link',{attrs:{\"to\":\"/User\"}},[_vm._v(\"采购人中心\")]),_c('router-link',{staticClass:\"cart-link\",attrs:{\"to\":\"/User/ShoppingCart\"}},[_vm._v(\" 购物车\"),(_vm.cartTotalCount > 0)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.cartTotalCount)+\"件)\")]):_vm._e()]),(_vm.isLogin)?_c('router-link',{attrs:{\"to\":\"/User/OrderList\"}},[_vm._v(\"我的订单\")]):_vm._e(),(_vm.isLogin)?_c('div',{staticClass:\"logout-btn\",on:{\"click\":_vm.handleLogout}},[_vm._v(\" 退出 \")]):_vm._e()],1)])]),_c('div',{staticClass:\"main-nav\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"logo\"},[_c('router-link',{attrs:{\"to\":\"/\"}},[_c('img',{staticClass:\"logo-img\",attrs:{\"src\":\"https://static.ticket.sz-trip.com/shiweisuzhou/pc/logo.png\",\"alt\":\"logo\"},on:{\"click\":function($event){_vm.searchText = ''}}})])],1),_c('div',{staticClass:\"search-box\"},[_c('el-input',{staticClass:\"search-input\",attrs:{\"placeholder\":\"请输入搜索内容\"},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.handleSearch.apply(null, arguments)}},model:{value:(_vm.searchText),callback:function ($$v) {_vm.searchText=$$v},expression:\"searchText\"}},[_c('el-button',{attrs:{\"slot\":\"append\",\"icon\":\"el-icon-search\"},on:{\"click\":_vm.handleSearch},slot:\"append\"})],1),(_vm.hotList.length > 0)?_c('div',{staticClass:\"hot-tags\"},[_c('span',[_vm._v(\"热门搜索:\")]),_vm._l((_vm.hotList),function(item,index){return _c('div',{key:index,staticClass:\"hot-tag\",on:{\"click\":function($event){_vm.searchText = item.name;\n _vm.handleSearch();}}},[_vm._v(\" \"+_vm._s(item.name)+\" \")])})],2):_vm._e()],1),_c('div',{staticClass:\"phone-entry\"},[_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[_c('img',{staticStyle:{\"margin-right\":\"5px\"},attrs:{\"src\":\"https://static.ticket.sz-trip.com/shiweisuzhou/pc/login/phone.png\",\"alt\":\"联系电话\"}}),_c('span',[_vm._v(\"0512-80822586\")]),(_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/cli-service/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/cli-service/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=00f3c839&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=00f3c839&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"00f3c839\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-container\"},[_c('div',{staticClass:\"footer-top\"},[_vm._l((_vm.nonQrcodeColumns),function(column,index){return _c('div',{key:column.id,staticClass:\"footer-column\"},[_c('h3',[_vm._v(_vm._s(column.title))]),_c('ul',_vm._l((column.list),function(item,itemIndex){return _c('li',{key:itemIndex,style:({cursor: index < 4 ? 'pointer' : ''}),on:{\"click\":function($event){index < 4 ? _vm.gotoDetail(item): ''}}},[_vm._v(\" \"+_vm._s(item.title)+\" \")])}),0)])}),_c('div',{staticClass:\"qrcode-group\"},_vm._l((_vm.qrcodeColumn.list),function(item,index){return _c('div',{key:index,staticClass:\"qrcode-item\"},[_c('img',{staticStyle:{\"width\":\"100px\",\"height\":\"100px\"},attrs:{\"src\":_vm.util.showImg(item.image)}}),_c('p',[_vm._v(_vm._s(item.title))])])}),0)],2),_vm._m(0)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-bottom\"},[_c('p',[_vm._v(\"版权所有 苏州市特色农产品发展有限公司 | 苏ICP备2023023300号-1\")]),_c('p',[_vm._v(\"本网站由 江苏大运远见文化科技发展有限公司 运营维护\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Footer.vue?vue&type=template&id=3080ae3e&scoped=true\"\nimport script from \"./Footer.vue?vue&type=script&lang=js\"\nexport * from \"./Footer.vue?vue&type=script&lang=js\"\nimport style0 from \"./Footer.vue?vue&type=style&index=0&id=3080ae3e&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3080ae3e\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"sidebar-container\"},[_c('div',{staticClass:\"sidebar-item\",on:{\"click\":_vm.handleCartClick}},[_c('el-badge',{staticClass:\"item-badge\",attrs:{\"value\":_vm.$store.getters.getCartTotalCount}},[_c('i',{staticClass:\"el-icon-shopping-cart-full\"})]),_c('div',{staticClass:\"item-text\"},[_vm._v(\"购物车\")])],1),_c('div',{staticClass:\"sidebar-item\",on:{\"click\":_vm.handleServiceClick}},[_c('i',{staticClass:\"el-icon-headset\"}),_c('div',{staticClass:\"item-text\"},[_vm._v(\"在线客服\")])]),_c('div',{staticClass:\"sidebar-item back-to-top\",class:{ active: _vm.isShowBackTop },on:{\"click\":_vm.handleBackToTop}},[_c('i',{staticClass:\"el-icon-caret-top\"}),_c('div',{staticClass:\"item-text\"},[_vm._v(\"回到顶部\")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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/cli-service/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/cli-service/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=6df28cc6&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=6df28cc6&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6df28cc6\",\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/cli-service/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/cli-service/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/cli-service/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/cli-service/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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=2c267866\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=2c267866&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\r\nimport Router from 'vue-router'\r\nimport store from '@/store';\r\n\r\nVue.use(Router)\r\n\r\n// 解决重复导航错误\r\nconst originalPush = Router.prototype.push\r\nRouter.prototype.push = function push(location) {\r\n return originalPush.call(this, location).catch(err => {\r\n // 只捕获重复导航的错误,其他错误正常抛出\r\n if (err.name !== 'NavigationDuplicated') {\r\n throw err\r\n }\r\n })\r\n}\r\n\r\nconst router = new Router({\r\n mode: 'history',\r\n base: process.env.BASE_URL,\r\n routes: [\r\n {\r\n path: '/',\r\n name: 'Index',\r\n meta: {\r\n title: '首页 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Index.vue')\r\n },\r\n {\r\n path: '/Login',\r\n name: 'Login',\r\n meta: {\r\n title: '登录 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Login.vue')\r\n },\r\n {\r\n path: '/Register',\r\n name: 'Register',\r\n meta: {\r\n title: '注册 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Register.vue')\r\n },\r\n {\r\n path: '/Home',\r\n name: 'Home',\r\n meta: {\r\n title: '首页 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Home.vue')\r\n },\r\n {\r\n path: '/Detail/:id',\r\n name: 'Detail',\r\n meta: {\r\n title: '首页 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Detail/Index.vue')\r\n },\r\n {\r\n path: '/ProductList',\r\n name: 'ProductList',\r\n meta: {\r\n title: '商品列表',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/ProductPage/Index.vue')\r\n },\r\n {\r\n path: '/ProductReview',\r\n name: 'ProductReview',\r\n meta: {\r\n title: '商品评价',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/ProductPage/ProductReview.vue')\r\n },\r\n {\r\n path: '/NoticeList',\r\n name: 'NoticeList',\r\n meta: {\r\n title: '公告列表',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/notice/noticeList.vue')\r\n },\r\n {\r\n path: '/NoticeDetail',\r\n name: 'NoticeDetail',\r\n meta: {\r\n title: '公告详情',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/notice/noticeDetail.vue')\r\n },\r\n // {\r\n // path: '/category/:id?',\r\n // name: 'Category',\r\n // meta: {\r\n // title: '商品分类 - 精品商城',\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/Category.vue')\r\n // },\r\n // {\r\n // path: '/product/:id',\r\n // name: 'ProductDetail',\r\n // meta: {\r\n // title: '商品详情 - 精品商城',\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/ProductDetail.vue')\r\n // },\r\n // {\r\n // path: '/cart',\r\n // name: 'Cart',\r\n // meta: {\r\n // title: '购物车 - 精品商城',\r\n // requireAuth: true,\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/Cart.vue')\r\n // },\r\n // {\r\n // path: '/checkout',\r\n // name: 'Checkout',\r\n // meta: {\r\n // title: '结算 - 精品商城',\r\n // requireAuth: true,\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/Checkout.vue')\r\n // },\r\n {\r\n path: '/User',\r\n name: 'User',\r\n // meta: { title: '个人中心 - 精品商城',requireAuth: true,keepAlive: false},\r\n component: () => import('@/views/User/Index.vue'),\r\n redirect: '/User/UserCenter',\r\n children: [\r\n {\r\n path:'UserCenter', \r\n name: \"UserCenter\",\r\n // meta: {title: '个人中心 - 精品商城',keepAlive: false,},\r\n component: ()=>import('@/views/User/UserCenter.vue')\r\n },\r\n {\r\n path: 'OrderList',\r\n name: 'OrderList',\r\n meta: { title: '我的订单 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderList.vue')\r\n },\r\n {\r\n path: 'UserInfo',\r\n name: 'UserInfo',\r\n meta: { title: '个人信息 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/UserInfo.vue')\r\n },\r\n {\r\n path: 'ViewHistory',\r\n name: 'ViewHistory',\r\n meta: { title: '我的足迹 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/ViewHistory.vue')\r\n },\r\n {\r\n path: 'UserAddress',\r\n name: 'UserAddress',\r\n meta: { title: '我的收货地址 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/UserAddress.vue')\r\n },\r\n {\r\n path: 'UserInvoice',\r\n name: 'UserInvoice',\r\n meta: { title: '发票抬头 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/UserInvoice.vue')\r\n },\r\n {\r\n path: 'UserInvoiceList',\r\n name: 'UserInvoiceList',\r\n meta: { title: '我的发票 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/UserInvoiceList.vue')\r\n },\r\n {\r\n path: 'ShoppingCart',\r\n name: 'ShoppingCart',\r\n meta: { title: '购物车 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/ShoppingCart.vue')\r\n },\r\n {\r\n path: 'CommentManage',\r\n name: 'CommentManage',\r\n meta: { title: '评价管理 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/CommentManage.vue')\r\n },\r\n {\r\n path: 'ContractList',\r\n name: 'ContractList',\r\n meta: { title: '合同管理 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/ContractList.vue')\r\n },\r\n {\r\n path: 'MessageList',\r\n name: 'MessageList',\r\n meta: { title: '消息中心 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/MessageList.vue')\r\n },\r\n {\r\n path: 'PurchaserAdd',\r\n name: 'PurchaserAdd',\r\n meta: { title: '添加采购单位信息 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/PurchaserAdd.vue')\r\n },\r\n ],\r\n },\r\n {\r\n path: '/Order',\r\n name: 'Order',\r\n meta: { title: '下单', keepAlive: false },\r\n component: () => import('@/views/Order/Index.vue')\r\n },\r\n {\r\n path: '/OrderDetail',\r\n name: 'OrderDetail',\r\n meta: { title: '订单详情 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/Order/OrderDetail.vue')\r\n },\r\n \r\n {\r\n path: '/OrderPay',\r\n name: 'OrderPay',\r\n meta: { title: '订单支付 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderPay.vue')\r\n },\r\n {\r\n path: '/OrderPayB2B',\r\n name: 'OrderPayB2B',\r\n meta: { title: '订单支付 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderPayB2B.vue')\r\n },\r\n {\r\n path: '/OrderPayCode',\r\n name: 'OrderPayCode',\r\n meta: { title: '订单支付 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderPayCode.vue')\r\n },\r\n {\r\n path: '/OrderPaySuccess',\r\n name: 'OrderPaySuccess',\r\n meta: { title: '订单支付 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderPaySuccess.vue')\r\n },\r\n \r\n // {\r\n // path: '/user/orders/:id',\r\n // name: 'OrderDetail',\r\n // meta: {\r\n // title: '订单详情 - 精品商城',\r\n // requireAuth: true,\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/OrderDetail.vue')\r\n // },\r\n // {\r\n // path: '*',\r\n // name: 'NotFound',\r\n // meta: {\r\n // title: '页面不存在 - 精品商城',\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/NotFound.vue')\r\n // }\r\n ],\r\n scrollBehavior(to, from, savedPosition) {\r\n // 页面滚动到顶部\r\n return { x: 0, y: 0 }\r\n }\r\n})\r\n\r\n// 路由守卫\r\nrouter.beforeEach((to, from, next) => {\r\n // 设置页面标题\r\n if (to.meta.title) {\r\n document.title = to.meta.title\r\n }\r\n \r\n // 验证登录状态\r\n if (to.meta.requireAuth) {\r\n const token = store.state.user?.info?.token || '';\r\n if (token) {\r\n next()\r\n } else {\r\n next({\r\n path: '/Login',\r\n query: { redirect: to.fullPath }\r\n })\r\n }\r\n } else {\r\n next()\r\n }\r\n})\r\n\r\nexport default router","import Vue from 'vue'\r\nimport axios from \"axios\";\r\nimport { Message, MessageBox, Loading } from \"element-ui\"; // 引入 Element UI 组件\r\nimport store from '@/store';\r\nimport router from \"@/router\"\r\n\r\nconst http = axios.create({\r\n timeout: 6000 // 请求超时时间\r\n})\r\n\r\n// 添加请求拦截器\r\nhttp.interceptors.request.use((config) => {\r\n const { customBaseURL } = config.params || config.data || {};\r\n if (customBaseURL) {\r\n config.baseURL = customBaseURL;\r\n if (config.params) {\r\n delete config.params.customBaseURL;\r\n } else if (config.data) {\r\n delete config.data.customBaseURL;\r\n }\r\n } else {\r\n config.baseURL = process.env.VUE_APP_URL;\r\n }\r\n \r\n const token = store.state.user?.info?.token || '';\r\n config.headers['token'] = token || \"\"\r\n // config.headers['token'] = token || \"745f2b4c-49b7-4393-bf58-bc380a87149a\";\r\n config.headers['Content-Type'] = 'application/json;charset=UTF-8';\r\n\r\n // 统一添加 platform_type = 2 参数\r\n // GET 请求在 params 中添加\r\n if (config.method?.toLowerCase() === 'get') {\r\n config.params = {\r\n platform_type: 2,\r\n ...config.params\r\n };\r\n } \r\n // POST 等其他请求在 data 中添加\r\n else {\r\n config.data = {\r\n platform_type: 2,\r\n ...config.data\r\n };\r\n }\r\n \r\n // 显示加载中状态(Element UI 的 Loading)\r\n if (config.loading !== false) { // 默认显示,可通过参数关闭\r\n config.loadingInstance = Loading.service({\r\n lock: true,\r\n text: '加载中...',\r\n background: 'rgba(0, 0, 0, 0.7)'\r\n });\r\n }\r\n \r\n return config;\r\n}, (error) => {\r\n return Promise.reject(error);\r\n});\r\n\r\n// 添加响应拦截器\r\nhttp.interceptors.response.use(response => {\r\n // 关闭加载状态\r\n if (response.config.loadingInstance) {\r\n response.config.loadingInstance.close();\r\n }\r\n \r\n if (response.status === 200 || response.status === 1) {\r\n const resData = response.data;\r\n // 假设接口约定 code 为 0 或 200 时表示业务成功(可根据实际情况修改)\r\n if (resData.code === 1 || resData.code === 200) {\r\n return resData;\r\n } else {\r\n // code 不符合预期时显示错误提示,优先使用接口返回的消息\r\n const errorMsg = resData.msg || `业务处理失败,错误码:${resData.code}`;\r\n MessageBox.alert(errorMsg, '错误提示', {\r\n confirmButtonText: '确定',\r\n type: 'error'\r\n }).then(() => {\r\n if (resData.code === 401) {\r\n // 存储当前路由(排除登录页自身,避免死循环)\r\n const currentPath = router.currentRoute.fullPath;\r\n if (currentPath !== '/Login') { // 假设登录页路径是 /Login\r\n localStorage.setItem('redirectPath', currentPath); // 存到本地存储\r\n }\r\n // 登录操作\r\n router.push(\"/Login\")\r\n }\r\n }).catch(() => {\r\n \r\n });\r\n // return Promise.reject(new Error(errorMsg));\r\n }\r\n } else {\r\n // HTTP状态码非200和1时的弹框提示\r\n const errorMsg = `请求失败,状态码:${response.status}`;\r\n MessageBox.alert(errorMsg, '错误提示', {\r\n confirmButtonText: '确定',\r\n type: 'error'\r\n });\r\n return Promise.reject(new Error(errorMsg));\r\n }\r\n}, error => {\r\n // 关闭加载状态\r\n if (error.config && error.config.loadingInstance) {\r\n error.config.loadingInstance.close();\r\n }\r\n \r\n if (error.response && error.response.status) {\r\n switch (error.response.status) {\r\n case 401:\r\n MessageBox.confirm('请登录后操作', '提示', {\r\n confirmButtonText: '去登录',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n }).then(() => {\r\n // 登录操作\r\n router.push(\"/Login\")\r\n }).catch(() => {\r\n // 取消登录回调\r\n });\r\n break;\r\n case 404:\r\n Message({\r\n message: '网络繁忙,请刷新再试',\r\n type: 'error',\r\n duration: 2000\r\n });\r\n break;\r\n default:\r\n Message({\r\n message: '网络繁忙,请刷新再试',\r\n type: 'error',\r\n duration: 2000\r\n });\r\n break;\r\n }\r\n }\r\n return Promise.reject(error);\r\n});\r\n\r\n// 请求方法挂载\r\nVue.prototype.get = (params, url, loading = false) => {\r\n return new Promise((resolve, reject) => {\r\n http.get(url, { \r\n params,\r\n loading // 传递加载状态参数\r\n })\r\n .then(res => {\r\n resolve(res);\r\n })\r\n .catch(err => {\r\n reject(err);\r\n });\r\n })\r\n}\r\n\r\nVue.prototype.post = (data, url, loading = false) => {\r\n return new Promise((resolve, reject) => {\r\n http.post(url, data, {\r\n loading // 传递加载状态参数\r\n })\r\n .then(res => {\r\n resolve(res);\r\n })\r\n .catch(err => {\r\n reject(err);\r\n });\r\n })\r\n}","export default {\r\n\tinstall(Vue) {\r\n\t\tVue.prototype.util = {\r\n\t\t\t// 格式化富文本\r\n\t\t\tformateRichText(str) {\r\n\t\t\t\tif (!str) return \"\";\r\n\t\t\t\tvar reg = new RegExp(\"')\r\n\t\t\t\treg = new RegExp(\"section\", \"g\");\r\n\t\t\t\tstr = str.replace(reg, 'div');\r\n\t\t\t\treg = new RegExp(\"↵\", \"g\");\r\n\t\t\t\tstr = str.replace(reg, '
');\r\n\t\t\t\tstr = str.replace(/
{\r\n\t\t\t\t\treader.onload = () => {\r\n\t\t\t\t\t\tresolve(reader.result);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t},\r\n\r\n\t\t\tcopyId(value) {\r\n\t\t\t\tconst input = document.createElement('input');\r\n\t\t\t\tinput.value = value;\r\n\t\t\t\tdocument.body.appendChild(input);\r\n\t\t\t\tinput.select();\r\n\t\t\t\tdocument.execCommand('copy');\r\n\t\t\t\tdocument.body.removeChild(input);\r\n\t\t\t\t\r\n\t\t\t\tVue.prototype.$message({\r\n\t\t\t\t\tmessage: '复制成功',\r\n\t\t\t\t\ttype: 'success'\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n}\r\n","import Vue from 'vue'\r\nimport App from './App'\r\nimport router from './router'\r\nimport store from './store'\r\nimport ElementUI from 'element-ui'\r\nimport 'element-ui/lib/theme-chalk/index.css'\r\nimport VueLazyload from 'vue-lazyload'\r\nimport '@/assets/css/common.scss'\r\nimport '../src/libs/axios.js' // axios处理\r\n\r\nimport utils from './libs/utils.js'\r\nVue.use(utils)\r\n\r\n// 全局配置\r\nVue.config.productionTip = false\r\nVue.use(ElementUI)\r\n\r\nlet env = process.env.NODE_ENV;\r\nconsole.log(env)\r\nVue.prototype.VUE_APP_GLOBAL_TAGS = {\r\n // 正式数据\r\n pc_all: 675, // pc-分类集合\r\n side_all: 701, //侧边栏\r\n all_prod: 676, // 全部商品\r\n // mmy: 677, //米面油\r\n // twgh: 678, // 调味干货\r\n // xxls: 679, //休闲零食\r\n // qxrd: 680, // 禽畜肉蛋\r\n // xgsz: 681, //鲜果蔬菜\r\n // zhjs: 682, //组合集市\r\n pc_index_recommend: 683, //PC-首页-今日推荐\r\n pc_index_hot: 684, //pc-首页-热销排行\r\n pc_index_new: 685, // pc-首页-新品上市\r\n}\r\nif (env === 'development') {\r\n Vue.prototype.VUE_APP_GLOBAL_TAGS = {\r\n // 测试数据\r\n pc_all: 662, // pc-分类集合\r\n all_prod: 663, // 全部商品\r\n // mmy: 664, //米面油\r\n // twgh: 665, // 调味干货\r\n // xxls: 666, //休闲零食\r\n // qxrd: 667, // 禽畜肉蛋\r\n // xgsz: 668, //鲜果蔬菜\r\n // zhjs: 669, //组合集市\r\n pc_index_recommend: 670, //PC-首页-今日推荐\r\n pc_index_hot: 671, //pc-首页-热销排行\r\n pc_index_new: 672, // pc-首页-新品上市\r\n }\r\n}\r\n\r\n// 配置图片懒加载\r\nVue.use(VueLazyload, {\r\n preLoad: 1.3, // 预加载高度比例\r\n error: require('./assets/logo.png'),\r\n loading: require('./assets/logo.png'),\r\n attempt: 3, // 增加尝试次数\r\n listenEvents: ['scroll', 'wheel', 'mousewheel', 'resize', 'animationend', 'transitionend', 'touchmove'], // 确保监听事件完整\r\n adapter: {\r\n // 增加加载状态日志\r\n loaded({ bindType, el, naturalHeight, naturalWidth, $parent, src, loading, error, Init }) {\r\n console.log('图片加载完成:', src)\r\n },\r\n error({ bindType, el, error, $parent, src, loading }) {\r\n console.log('图片加载失败:', src)\r\n }\r\n }\r\n})\r\n\r\n// 全局挂载公共路由跳转方法\r\nVue.prototype.gotoPath = function(path, options = {}) {\r\n // 1. 避免重复跳转同一页面\r\n const currentPath = this.$router.currentRoute.fullPath\r\n if (path === currentPath) {\r\n return\r\n }\r\n\r\n try {\r\n // 2. 支持两种跳转方式:路径字符串或配置对象\r\n if (typeof path === 'string') {\r\n // 字符串路径,可附带query参数\r\n this.$router.push({\r\n path,\r\n query: options.query || {}\r\n })\r\n } else if (typeof path === 'object') {\r\n // 直接传入路由配置对象(如命名路由)\r\n this.$router.push(path)\r\n }\r\n \r\n // 3. 可选的跳转成功回调\r\n if (typeof options.success === 'function') {\r\n options.success()\r\n }\r\n } catch (error) {\r\n // 4. 错误处理\r\n console.error('路由跳转失败:', error)\r\n if (typeof options.fail === 'function') {\r\n options.fail(error)\r\n }\r\n }\r\n}\r\n\r\n/* eslint-disable no-new */\r\nnew Vue({\r\n el: '#app',\r\n router,\r\n store,\r\n components: { App },\r\n template: ''\r\n})\r\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 + \".\" + {\"47\":\"91e22ff7\",\"133\":\"635d95e6\",\"140\":\"2a9e3041\",\"145\":\"bdf9dbc6\",\"154\":\"8a9d2cca\",\"168\":\"791742aa\",\"241\":\"17bc4b66\",\"339\":\"793917b1\",\"359\":\"9bec58e0\",\"395\":\"bf4b57c0\",\"420\":\"2ae90b4c\",\"528\":\"f5163631\",\"576\":\"59915dd8\",\"597\":\"bc6f8420\",\"632\":\"bc245760\",\"667\":\"6a70b405\",\"705\":\"c96616d8\",\"707\":\"b7263128\",\"754\":\"eb8a67d3\",\"788\":\"c3e035d9\",\"809\":\"6bde92a7\",\"828\":\"6987a2ad\",\"878\":\"ed5a6807\",\"896\":\"87e420a5\",\"905\":\"e365cd50\",\"933\":\"a1573a86\",\"934\":\"c3cb9093\",\"992\":\"12386cc8\"}[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 + \".\" + {\"47\":\"4c0b65d7\",\"133\":\"f060a013\",\"140\":\"703f0337\",\"145\":\"e6d20e0d\",\"154\":\"edd4b6a0\",\"168\":\"8b344007\",\"241\":\"51eebda5\",\"339\":\"9419445b\",\"359\":\"a7db186a\",\"395\":\"42e712d8\",\"420\":\"37d35775\",\"528\":\"701f8f15\",\"576\":\"b751536e\",\"597\":\"268eb302\",\"632\":\"2661f71c\",\"667\":\"3189fded\",\"705\":\"91c548ed\",\"707\":\"ec7235c5\",\"754\":\"fb749462\",\"809\":\"5ae3b03a\",\"828\":\"9b5bd9e0\",\"878\":\"81403639\",\"896\":\"4400289a\",\"905\":\"b5e6f704\",\"933\":\"5507be5a\",\"934\":\"80745de8\",\"992\":\"5f484165\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"shiweisuzhou:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tif (__webpack_require__.nc) {\n\t\tlinkTag.nonce = __webpack_require__.nc;\n\t}\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t524: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"47\":1,\"133\":1,\"140\":1,\"145\":1,\"154\":1,\"168\":1,\"241\":1,\"339\":1,\"359\":1,\"395\":1,\"420\":1,\"528\":1,\"576\":1,\"597\":1,\"632\":1,\"667\":1,\"705\":1,\"707\":1,\"754\":1,\"809\":1,\"828\":1,\"878\":1,\"896\":1,\"905\":1,\"933\":1,\"934\":1,\"992\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr\n\n// no prefetching\n\n// no preloaded","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t524: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkshiweisuzhou\"] = self[\"webpackChunkshiweisuzhou\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [504], function() { return __webpack_require__(6477); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["Vue","use","Vuex","plugins","createPersistedState","storage","window","localStorage","reducer","val","cart","user","state","items","totalCount","totalPrice","isLogin","info","token","categories","loading","searchText","orderData","mutations","setOrderData","data","clearOrderData","UPDATE_CATEGORIES","UPDATE_LOADING","status","USER_LOGIN","userInfo","setItem","USER_LOGOUT","removeItem","UPDATE_CART_TOTAL_COUNT","count","setSearchText","text","actions","submitOrderData","commit","fetchCategories","Promise","resolve","setTimeout","id","name","icon","login","dispatch","logout","addToCart","product","prototype","post","sku_id","num","quantity","then","res","$message","success","catch","err","console","error","fetchCartCount","log","code","removeFromCart","productId","updateCartItemQuantity","clearCart","getters","getOrderData","getCategories","getCart","getCartTotalCount","isUserLogin","getUserInfo","getLoadingStatus","getSearchText","render","_vm","this","_c","_self","attrs","$route","_e","staticClass","staticRenderFns","_v","directives","rawName","value","avatar","expression","_s","username","cartTotalCount","on","handleLogout","$event","nativeOn","type","indexOf","_k","keyCode","key","handleSearch","apply","arguments","model","callback","$$v","slot","hotList","length","_l","item","index","staticStyle","computed","mapGetters","created","offset","limit","methods","mapActions","trim","$store","path","$router","push","query","keyword","$confirm","confirmButtonText","cancelButtonText","message","component","nonQrcodeColumns","column","title","list","itemIndex","style","cursor","gotoDetail","qrcodeColumn","util","showImg","image","_m","filter","find","mounted","forEach","get","type_id","link_url","location","href","handleCartClick","handleServiceClick","class","active","isShowBackTop","handleBackToTop","cartCount","scrollTimer","addEventListener","handleScroll","beforeDestroy","removeEventListener","clearTimeout","store","process","scrollTo","top","behavior","pageYOffset","showBackToTop","scrollToTop","setInterval","position","Math","max","clearInterval","components","HeaderNav","Footer","BackToTop","Sidebar","Router","originalPush","call","router","mode","base","routes","meta","keepAlive","redirect","children","scrollBehavior","to","from","savedPosition","x","y","beforeEach","next","document","requireAuth","fullPath","http","axios","create","timeout","interceptors","request","config","customBaseURL","params","baseURL","headers","method","toLowerCase","platform_type","loadingInstance","Loading","service","lock","background","reject","response","close","errorMsg","MessageBox","alert","Error","resData","msg","currentPath","currentRoute","confirm","Message","duration","url","install","formateRichText","str","reg","RegExp","replace","mobileValid","test","idNumberValid","passportValid","taiwanValid","gangaoValid","foreignerValid","officerValid","emailValid","getUrlPara","arrUrl","split","para","img","imgToBase64","reader","FileReader","readAsDataURL","onload","result","copyId","input","createElement","body","appendChild","select","execCommand","removeChild","utils","productionTip","ElementUI","env","VUE_APP_GLOBAL_TAGS","pc_all","side_all","all_prod","pc_index_recommend","pc_index_hot","pc_index_new","VueLazyload","preLoad","require","attempt","listenEvents","adapter","loaded","bindType","el","naturalHeight","naturalWidth","$parent","src","Init","gotoPath","options","fail","App","template","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","amdO","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","f","e","chunkId","all","reduce","promises","u","miniCssF","g","globalThis","Function","obj","prop","hasOwnProperty","inProgress","dataWebpackPrefix","l","done","script","needAttach","scripts","getElementsByTagName","s","getAttribute","charset","nc","setAttribute","onScriptComplete","prev","event","onerror","doneFns","parentNode","bind","target","head","Symbol","toStringTag","nmd","paths","p","createStylesheet","fullhref","oldTag","linkTag","rel","nonce","onLinkComplete","errorType","realHref","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","installedChunks","installedChunkData","promise","loadingEnded","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/app.a23286f8.js b/dist/js/app.a23286f8.js deleted file mode 100644 index 1f31f40..0000000 --- a/dist/js/app.a23286f8.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(){"use strict";var e={2199:function(e,t,n){n(4114);var o=n(6674),a=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},["Register"!==e.$route.name?t("HeaderNav"):e._e(),"Login"!==e.$route.name?t("main",{staticClass:"main-container"},[t("router-view")],1):e._e(),"Login"==e.$route.name?t("main",{staticClass:"main-containers"},[t("router-view")],1):e._e(),"Register"!==e.$route.name?t("Sidebar"):e._e(),"Register"!==e.$route.name?t("Footer"):e._e()],1)},r=[],i=function(){var e=this,t=e._self._c;return t("header",{staticClass:"header-nav"},[t("div",{staticClass:"top-notice"},[t("div",{staticClass:"container"},[t("p",[e._v(" 欢迎来到时味苏州平台! "),e._e()],1),t("div",{staticClass:"top-links"},[e.isLogin?t("router-link",{staticClass:"user-link",attrs:{to:"/User"}},[t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.userInfo.avatar,expression:"userInfo.avatar"}],staticClass:"avatar",attrs:{alt:"用户头像"}}),e._v(" "+e._s(e.userInfo.username)+" ")]):t("router-link",{attrs:{to:"/Login"}},[e._v("登录")]),e._e(),e._e(),t("router-link",{attrs:{to:"/User"}},[e._v("采购人中心")]),t("router-link",{staticClass:"cart-link",attrs:{to:"/User/ShoppingCart"}},[e._v(" 购物车"),e.cartTotalCount>0?t("span",[e._v("("+e._s(e.cartTotalCount)+"件)")]):e._e()]),e.isLogin?t("router-link",{attrs:{to:"/User/OrderList"}},[e._v("我的订单")]):e._e(),e.isLogin?t("div",{staticClass:"logout-btn",on:{click:e.handleLogout}},[e._v(" 退出 ")]):e._e()],1)])]),t("div",{staticClass:"main-nav"},[t("div",{staticClass:"container"},[t("div",{staticClass:"logo"},[t("router-link",{attrs:{to:"/"}},[t("img",{staticClass:"logo-img",attrs:{src:"https://static.ticket.sz-trip.com/shiweisuzhou/pc/logo.png",alt:"logo"},on:{click:function(t){e.searchText=""}}})])],1),t("div",{staticClass:"search-box"},[t("el-input",{staticClass:"search-input",attrs:{placeholder:"请输入搜索内容"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleSearch.apply(null,arguments)}},model:{value:e.searchText,callback:function(t){e.searchText=t},expression:"searchText"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.handleSearch},slot:"append"})],1),e.hotList.length>0?t("div",{staticClass:"hot-tags"},[t("span",[e._v("热门搜索:")]),e._l(e.hotList,function(n,o){return t("div",{key:o,staticClass:"hot-tag",on:{click:function(t){e.searchText=n.name,e.handleSearch()}}},[e._v(" "+e._s(n.name)+" ")])})],2):e._e()],1),t("div",{staticClass:"phone-entry"},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("img",{staticStyle:{"margin-right":"5px"},attrs:{src:"https://static.ticket.sz-trip.com/shiweisuzhou/pc/login/phone.png",alt:"联系电话"}}),t("span",[e._v("0512-80822586")]),(e.cartTotalCount,e._e())])])])]),e.categories.length>0?t("div",{staticClass:"category-nav"},[t("div",{staticClass:"container"},[e._e()])]):e._e()])},s=[],c=n(3518),l={name:"HeaderNav",data(){return{searchText:"",hotList:[]}},computed:{...(0,c.L8)(["getCategories","getCartTotalCount","isUserLogin","getUserInfo"]),categories(){return this.getCategories||[]},cartTotalCount(){return this.getCartTotalCount||0},isLogin(){return this.isUserLogin},userInfo(){return this.getUserInfo||{}}},created(){this.fetchCategories(),this.post({offset:0,limit:5},"/api/search/hot").then(e=>{this.hotList=e.data})},methods:{...(0,c.i0)(["fetchCategories","logout"]),handleSearch(){this.searchText.trim()&&(this.$store.commit("setSearchText",this.searchText),"/ProductList"===this.$route.path||this.$router.push({path:"/ProductList",query:{keyword:this.searchText,type:"search"}}))},handleLogout(){this.$confirm("确定要退出登录吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.logout().then(()=>{this.$message.success("退出登录成功"),localStorage.setItem("redirectPath",this.$route.path),this.$router.push("/Login")}).catch(e=>{this.$message.error("退出失败:"+(e.message||"未知错误"))})}).catch(()=>{})}}},u=l,d=n(1656),p=(0,d.A)(u,i,s,!1,null,"00f3c839",null),h=p.exports,m=function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-container"},[t("div",{staticClass:"footer-top"},[e._l(e.nonQrcodeColumns,function(n,o){return t("div",{key:n.id,staticClass:"footer-column"},[t("h3",[e._v(e._s(n.title))]),t("ul",e._l(n.list,function(n,a){return t("li",{key:a,style:{cursor:o<4?"pointer":""},on:{click:function(t){o<4&&e.gotoDetail(n)}}},[e._v(" "+e._s(n.title)+" ")])}),0)])}),t("div",{staticClass:"qrcode-group"},e._l(e.qrcodeColumn.list,function(n,o){return t("div",{key:o,staticClass:"qrcode-item"},[t("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:e.util.showImg(n.image)}}),t("p",[e._v(e._s(n.title))])])}),0)],2),e._m(0)])},f=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-bottom"},[t("p",[e._v("版权所有 苏州市特色农产品发展有限公司 | 苏ICP备2023023300号-1")]),t("p",[e._v("本网站由 江苏大运远见文化科技发展有限公司 运营维护")])])}],g=(n(8111),n(2489),n(116),n(7588),{name:"Footer",data(){return{list:[{id:1,title:"关于我们",list:[]},{id:2,title:"新手上路",list:[]},{id:5,title:"交易流程",list:[]},{id:3,title:"常见问题",list:[]},{id:6,title:"联系方式",list:[]},{id:4,title:"二维码推荐",list:[]}]}},computed:{nonQrcodeColumns(){return this.list.filter(e=>"二维码推荐"!==e.title)},qrcodeColumn(){return this.list.find(e=>"二维码推荐"===e.title)||{list:[]}}},mounted(){this.list.forEach(e=>{this.get({type_id:e.id},"/api/navigation/getNavigationByTypeList").then(t=>{e.list=t.data})})},methods:{gotoDetail(e){e.link_url?window.location.href=e.link_url:this.$router.push(`/NoticeDetail?type=footer&id=${e.id}`)}}}),v=g,b=(0,d.A)(v,m,f,!1,null,"3080ae3e",null),C=b.exports,y=function(){var e=this,t=e._self._c;return t("div",{staticClass:"sidebar-container"},[t("div",{staticClass:"sidebar-item",on:{click:e.handleCartClick}},[t("el-badge",{staticClass:"item-badge",attrs:{value:e.$store.getters.getCartTotalCount}},[t("i",{staticClass:"el-icon-shopping-cart-full"})]),t("div",{staticClass:"item-text"},[e._v("购物车")])],1),t("div",{staticClass:"sidebar-item",on:{click:e.handleServiceClick}},[t("i",{staticClass:"el-icon-headset"}),t("div",{staticClass:"item-text"},[e._v("在线客服")])]),t("div",{staticClass:"sidebar-item back-to-top",class:{active:e.isShowBackTop},on:{click:e.handleBackToTop}},[t("i",{staticClass:"el-icon-caret-top"}),t("div",{staticClass:"item-text"},[e._v("回到顶部")])])])},_=[],k=n(5129),T={name:"Sidebar",data(){return{cartCount:0,isShowBackTop:!1,scrollTimer:null}},computed:{...(0,c.L8)(["getCartTotalCount"])},mounted(){window.addEventListener("scroll",this.handleScroll),this.$store.dispatch("fetchCartCount")},beforeDestroy(){window.removeEventListener("scroll",this.handleScroll),this.scrollTimer&&clearTimeout(this.scrollTimer)},methods:{handleCartClick(){this.$router.push("/User/ShoppingCart")},handleServiceClick(){const e=k.A.state.user?.info?.token||"";window.location.href="https://api.sutenong.com/kefu?token="+e},handleBackToTop(){window.scrollTo({top:0,behavior:"smooth"})},handleScroll(){this.scrollTimer&&clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(()=>{this.isShowBackTop=window.pageYOffset>300},200)}}},w=T,A=(0,d.A)(w,y,_,!1,null,"6df28cc6",null),L=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()},O=[],S={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=S,P=(0,d.A)(U,x,O,!1,null,"7ea6dee0",null),E=P.exports,I={name:"App",components:{HeaderNav:h,Footer:C,BackToTop:E,Sidebar:L},computed:{...(0,c.L8)(["getLoadingStatus"]),loading(){return this.getLoadingStatus}}},B=I,D=(0,d.A)(B,a,r,!1,null,null,null),$=D.exports,R=n(6178);o["default"].use(R.Ay);const N=R.Ay.prototype.push;R.Ay.prototype.push=function(e){return N.call(this,e).catch(e=>{if("NavigationDuplicated"!==e.name)throw e})};const z=new R.Ay({mode:"history",base:"/",routes:[{path:"/",name:"Index",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>n.e(825).then(n.bind(n,3825))},{path:"/Login",name:"Login",meta:{title:"登录 - 精品商城",keepAlive:!1},component:()=>n.e(700).then(n.bind(n,1700))},{path:"/Register",name:"Register",meta:{title:"注册 - 精品商城",keepAlive:!1},component:()=>n.e(29).then(n.bind(n,3029))},{path:"/Home",name:"Home",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>n.e(828).then(n.bind(n,9828))},{path:"/Detail/:id",name:"Detail",meta:{title:"首页 - 精品商城",keepAlive:!1},component:()=>n.e(646).then(n.bind(n,5646))},{path:"/ProductList",name:"ProductList",meta:{title:"商品列表",keepAlive:!1},component:()=>n.e(87).then(n.bind(n,8087))},{path:"/ProductReview",name:"ProductReview",meta:{title:"商品评价",keepAlive:!1},component:()=>n.e(779).then(n.bind(n,4779))},{path:"/NoticeList",name:"NoticeList",meta:{title:"公告列表",keepAlive:!1},component:()=>n.e(601).then(n.bind(n,6601))},{path:"/NoticeDetail",name:"NoticeDetail",meta:{title:"公告详情",keepAlive:!1},component:()=>n.e(989).then(n.bind(n,3989))},{path:"/User",name:"User",component:()=>n.e(462).then(n.bind(n,462)),redirect:"/User/UserCenter",children:[{path:"UserCenter",name:"UserCenter",component:()=>n.e(709).then(n.bind(n,5709))},{path:"OrderList",name:"OrderList",meta:{title:"我的订单 - 精品商城",keepAlive:!1},component:()=>n.e(497).then(n.bind(n,7497))},{path:"UserInfo",name:"UserInfo",meta:{title:"个人信息 - 精品商城",keepAlive:!1},component:()=>n.e(192).then(n.bind(n,1192))},{path:"ViewHistory",name:"ViewHistory",meta:{title:"我的足迹 - 精品商城",keepAlive:!1},component:()=>n.e(33).then(n.bind(n,4033))},{path:"UserAddress",name:"UserAddress",meta:{title:"我的收货地址 - 精品商城",keepAlive:!1},component:()=>n.e(208).then(n.bind(n,5208))},{path:"UserInvoice",name:"UserInvoice",meta:{title:"发票抬头 - 精品商城",keepAlive:!1},component:()=>n.e(612).then(n.bind(n,9231))},{path:"UserInvoiceList",name:"UserInvoiceList",meta:{title:"我的发票 - 精品商城",keepAlive:!1},component:()=>n.e(688).then(n.bind(n,5688))},{path:"ShoppingCart",name:"ShoppingCart",meta:{title:"购物车 - 精品商城",keepAlive:!1},component:()=>n.e(630).then(n.bind(n,2630))},{path:"CommentManage",name:"CommentManage",meta:{title:"评价管理 - 精品商城",keepAlive:!1},component:()=>n.e(990).then(n.bind(n,4990))},{path:"ContractList",name:"ContractList",meta:{title:"合同管理 - 精品商城",keepAlive:!1},component:()=>n.e(719).then(n.bind(n,100))},{path:"MessageList",name:"MessageList",meta:{title:"消息中心 - 精品商城",keepAlive:!1},component:()=>n.e(838).then(n.bind(n,7838))},{path:"PurchaserAdd",name:"PurchaserAdd",meta:{title:"添加采购单位信息 - 精品商城",keepAlive:!1},component:()=>n.e(995).then(n.bind(n,6995))}]},{path:"/Order",name:"Order",meta:{title:"下单",keepAlive:!1},component:()=>n.e(807).then(n.bind(n,1807))},{path:"/OrderDetail",name:"OrderDetail",meta:{title:"订单详情 - 精品商城",keepAlive:!1},component:()=>n.e(711).then(n.bind(n,8711))},{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}}});z.beforeEach((e,t,n)=>{if(e.meta.title&&(document.title=e.meta.title),e.meta.requireAuth){const t=k.A.state.user?.info?.token||"";t?n():n({path:"/Login",query:{redirect:e.fullPath}})}else n()});var j=z,q=n(9143),G=n.n(q),M=n(5847),V=n(4373);const F=V.A.create({timeout:6e3});F.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://api.sutenong.com";const n=k.A.state.user?.info?.token||"";return e.headers["token"]=n||"",e.headers["Content-Type"]="application/json;charset=UTF-8","get"===e.method?.toLowerCase()?e.params={platform_type:2,...e.params}:e.data={platform_type:2,...e.data},!1!==e.loading&&(e.loadingInstance=q.Loading.service({lock:!0,text:"加载中...",background:"rgba(0, 0, 0, 0.7)"})),e},e=>Promise.reject(e)),F.interceptors.response.use(e=>{if(e.config.loadingInstance&&e.config.loadingInstance.close(),200!==e.status&&1!==e.status){const t=`请求失败,状态码:${e.status}`;return q.MessageBox.alert(t,"错误提示",{confirmButtonText:"确定",type:"error"}),Promise.reject(new Error(t))}{const t=e.data;if(1===t.code||200===t.code)return t;{const e=t.msg||`业务处理失败,错误码:${t.code}`;q.MessageBox.alert(e,"错误提示",{confirmButtonText:"确定",type:"error"}).then(()=>{if(401===t.code){const e=j.currentRoute.fullPath;"/Login"!==e&&localStorage.setItem("redirectPath",e),j.push("/Login")}}).catch(()=>{})}}},e=>{if(e.config&&e.config.loadingInstance&&e.config.loadingInstance.close(),e.response&&e.response.status)switch(e.response.status){case 401:q.MessageBox.confirm("请登录后操作","提示",{confirmButtonText:"去登录",cancelButtonText:"取消",type:"warning"}).then(()=>{j.push("/Login")}).catch(()=>{});break;case 404:(0,q.Message)({message:"网络繁忙,请刷新再试",type:"error",duration:2e3});break;default:(0,q.Message)({message:"网络繁忙,请刷新再试",type:"error",duration:2e3});break}return Promise.reject(e)}),o["default"].prototype.get=(e,t,n=!1)=>new Promise((o,a)=>{F.get(t,{params:e,loading:n}).then(e=>{o(e)}).catch(e=>{a(e)})}),o["default"].prototype.post=(e,t,n=!1)=>new Promise((o,a)=>{F.post(t,e,{loading:n}).then(e=>{o(e)}).catch(e=>{a(e)})});var H={install(e){e.prototype.util={formateRichText(e){if(!e)return"";var t=new RegExp("'),t=new RegExp("section","g"),e=e.replace(t,"div"),t=new RegExp("↵","g"),e=e.replace(t,"
"),e=e.replace(/
{t.onload=()=>{e(t.result)}})},copyId(t){const n=document.createElement("input");n.value=t,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),e.prototype.$message({message:"复制成功",type:"success"})}}}};o["default"].use(H),o["default"].config.productionTip=!1,o["default"].use(G());let Z="production";console.log(Z),o["default"].prototype.VUE_APP_GLOBAL_TAGS={pc_all:675,all_prod:676,pc_index_recommend:683,pc_index_hot:684,pc_index_new:685},"development"===Z&&(o["default"].prototype.VUE_APP_GLOBAL_TAGS={pc_all:662,all_prod:663,pc_index_recommend:670,pc_index_hot:671,pc_index_new:672}),o["default"].use(M.A,{preLoad:1.3,error:n(3153),loading:n(3153),attempt:3,listenEvents:["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],adapter:{loaded({bindType:e,el:t,naturalHeight:n,naturalWidth:o,$parent:a,src:r,loading:i,error:s,Init:c}){console.log("图片加载完成:",r)},error({bindType:e,el:t,error:n,$parent:o,src:a,loading:r}){console.log("图片加载失败:",a)}}}),o["default"].prototype.gotoPath=function(e,t={}){const n=this.$router.currentRoute.fullPath;if(e!==n)try{"string"===typeof e?this.$router.push({path:e,query:t.query||{}}):"object"===typeof e&&this.$router.push(e),"function"===typeof t.success&&t.success()}catch(o){console.error("路由跳转失败:",o),"function"===typeof t.fail&&t.fail(o)}},new o["default"]({el:"#app",router:j,store:k.A,components:{App:$},template:""})},3153:function(e,t,n){e.exports=n.p+"img/logo.bb511aff.png"},5129:function(e,t,n){var o=n(6674),a=n(3518),r=n(5131);o["default"].use(a.Ay),t.A=new a.Ay.Store({plugins:[(0,r.A)({storage:window.localStorage,reducer(e){return{cart:e.cart,user:e.user}}})],state:{cart:{items:[],totalCount:0,totalPrice:0},user:{isLogin:!1,info:null,token:""},categories:[],loading:!1,searchText:"",orderData:null},mutations:{setOrderData(e,t){e.orderData=t},clearOrderData(e){e.orderData=null},UPDATE_CATEGORIES(e,t){e.categories=t},UPDATE_LOADING(e,t){e.loading=t},USER_LOGIN(e,{userInfo:t,token:n}){e.user.isLogin=!0,e.user.info=t,e.user.token=n,localStorage.setItem("token",n)},USER_LOGOUT(e){e.user.isLogin=!1,e.user.info=null,e.user.token="",localStorage.removeItem("token"),e.cart.totalCount=0},UPDATE_CART_TOTAL_COUNT(e,t){e.cart.totalCount=t},setSearchText(e,t){e.searchText=t}},actions:{submitOrderData({commit:e},t){e("setOrderData",t)},fetchCategories({commit:e}){return e("UPDATE_LOADING",!0),new Promise(t=>{setTimeout(()=>{const n=[{id:1,name:"电子产品",icon:"el-icon-laptop"},{id:2,name:"服装鞋帽",icon:"el-icon-shopping-bag-1"},{id:3,name:"家居用品",icon:"el-icon-home"},{id:4,name:"美妆个护",icon:"el-icon-present"},{id:5,name:"食品饮料",icon:"el-icon-dish"},{id:6,name:"图书音像",icon:"el-icon-document"}];e("UPDATE_CATEGORIES",n),e("UPDATE_LOADING",!1),t(n)},500)})},login({commit:e,dispatch:t},{userInfo:n,token:o}){e("USER_LOGIN",{userInfo:n,token:o}),t("fetchCartCount")},logout({commit:e}){e("USER_LOGOUT")},addToCart({dispatch:e},t){return o["default"].prototype.post({sku_id:t.id,num:t.quantity||1},"/api/cart/add_sku").then(t=>{if(t)return o["default"].prototype.$message.success("购物车添加成功!"),e("fetchCartCount")}).catch(e=>{throw console.error("添加到购物车请求失败",e),e})},fetchCartCount({commit:e,state:t}){return t.user.token?o["default"].prototype.post({},"/api/cart/get_count").then(t=>(console.log("购物车数量接口返回",t),1==t.code&&e("UPDATE_CART_TOTAL_COUNT",t.data),t.data)).catch(e=>{throw console.error("获取购物车数量失败",e),e}):(e("UPDATE_CART_TOTAL_COUNT",0),Promise.resolve(0))},removeFromCart({dispatch:e},t){return o["default"].prototype.post({sku_id:t},"/api/cart/remove_sku").then(()=>e("fetchCartCount")).catch(e=>{throw console.error("删除购物车商品失败",e),e})},updateCartItemQuantity({dispatch:e},{productId:t,quantity:n}){return o["default"].prototype.post({sku_id:t,num:n},"/api/cart/add_sku").then(()=>e("fetchCartCount")).catch(e=>{throw console.error("更新购物车商品数量失败",e),e})},clearCart({dispatch:e}){return o["default"].prototype.post({},"/api/cart/clear").then(()=>e("fetchCartCount")).catch(e=>{throw console.error("清空购物车失败",e),e})}},getters:{getOrderData:e=>e.orderData,getCategories:e=>e.categories,getCart:e=>e.cart,getCartTotalCount:e=>e.cart.totalCount,isUserLogin:e=>e.user.isLogin,getUserInfo:e=>e.user.info,getLoadingStatus:e=>e.loading,getSearchText:e=>e.searchText}})}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={id:o,loaded:!1,exports:{}};return e[o].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,o,a,r){if(!o){var i=1/0;for(u=0;u=r)&&Object.keys(n.O).every(function(e){return n.O[e](o[c])})?o.splice(c--,1):(s=!1,r0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[o,a,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 o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce(function(t,o){return n.f[o](e,t),t},[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{29:"2ece41d9",33:"ca85dca8",87:"48a2ebc1",169:"33f72ed2",192:"a0b515d3",208:"50f78b20",244:"940fed0d",452:"0b1eacbe",462:"1343c7cb",497:"13803348",601:"1c95e2ee",612:"0689f662",630:"d2996537",646:"86f530bc",677:"bb7c2f70",688:"aa0eb580",700:"d2d5f812",709:"04a9155a",711:"baa8d180",719:"4c174724",779:"c8f94891",807:"8f1f61a0",825:"fc36db19",828:"deb87761",838:"3bd96d59",989:"ec009c2e",990:"244d285a",995:"b05470f0"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{29:"2661f71c",33:"5507be5a",87:"aa23ef52",169:"a7db186a",192:"3189fded",208:"268eb302",244:"edd4b6a0",452:"42e712d8",462:"5ae3b03a",497:"703f0337",601:"91c548ed",630:"e6d20e0d",646:"ec7235c5",677:"51eebda5",688:"b751536e",700:"5f484165",709:"8b344007",711:"701f8f15",719:"37d35775",779:"b5e6f704",807:"9b5bd9e0",825:"35818b68",828:"9419445b",838:"4c0b65d7",989:"f060a013",990:"fb749462",995:"81403639"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="shiweisuzhou:";n.l=function(o,a,r,i){if(e[o])e[o].push(a);else{var s,c;if(void 0!==r)for(var l=document.getElementsByTagName("script"),u=0;u 0)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.cartTotalCount)+\"件)\")]):_vm._e()]),(_vm.isLogin)?_c('router-link',{attrs:{\"to\":\"/User/OrderList\"}},[_vm._v(\"我的订单\")]):_vm._e(),(_vm.isLogin)?_c('div',{staticClass:\"logout-btn\",on:{\"click\":_vm.handleLogout}},[_vm._v(\" 退出 \")]):_vm._e()],1)])]),_c('div',{staticClass:\"main-nav\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"logo\"},[_c('router-link',{attrs:{\"to\":\"/\"}},[_c('img',{staticClass:\"logo-img\",attrs:{\"src\":\"https://static.ticket.sz-trip.com/shiweisuzhou/pc/logo.png\",\"alt\":\"logo\"},on:{\"click\":function($event){_vm.searchText = ''}}})])],1),_c('div',{staticClass:\"search-box\"},[_c('el-input',{staticClass:\"search-input\",attrs:{\"placeholder\":\"请输入搜索内容\"},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.handleSearch.apply(null, arguments)}},model:{value:(_vm.searchText),callback:function ($$v) {_vm.searchText=$$v},expression:\"searchText\"}},[_c('el-button',{attrs:{\"slot\":\"append\",\"icon\":\"el-icon-search\"},on:{\"click\":_vm.handleSearch},slot:\"append\"})],1),(_vm.hotList.length > 0)?_c('div',{staticClass:\"hot-tags\"},[_c('span',[_vm._v(\"热门搜索:\")]),_vm._l((_vm.hotList),function(item,index){return _c('div',{key:index,staticClass:\"hot-tag\",on:{\"click\":function($event){_vm.searchText = item.name;\n _vm.handleSearch();}}},[_vm._v(\" \"+_vm._s(item.name)+\" \")])})],2):_vm._e()],1),_c('div',{staticClass:\"phone-entry\"},[_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[_c('img',{staticStyle:{\"margin-right\":\"5px\"},attrs:{\"src\":\"https://static.ticket.sz-trip.com/shiweisuzhou/pc/login/phone.png\",\"alt\":\"联系电话\"}}),_c('span',[_vm._v(\"0512-80822586\")]),(_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=00f3c839&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=00f3c839&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 \"00f3c839\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-container\"},[_c('div',{staticClass:\"footer-top\"},[_vm._l((_vm.nonQrcodeColumns),function(column,index){return _c('div',{key:column.id,staticClass:\"footer-column\"},[_c('h3',[_vm._v(_vm._s(column.title))]),_c('ul',_vm._l((column.list),function(item,itemIndex){return _c('li',{key:itemIndex,style:({cursor: index < 4 ? 'pointer' : ''}),on:{\"click\":function($event){index < 4 ? _vm.gotoDetail(item): ''}}},[_vm._v(\" \"+_vm._s(item.title)+\" \")])}),0)])}),_c('div',{staticClass:\"qrcode-group\"},_vm._l((_vm.qrcodeColumn.list),function(item,index){return _c('div',{key:index,staticClass:\"qrcode-item\"},[_c('img',{staticStyle:{\"width\":\"100px\",\"height\":\"100px\"},attrs:{\"src\":_vm.util.showImg(item.image)}}),_c('p',[_vm._v(_vm._s(item.title))])])}),0)],2),_vm._m(0)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"footer-bottom\"},[_c('p',[_vm._v(\"版权所有 苏州市特色农产品发展有限公司 | 苏ICP备2023023300号-1\")]),_c('p',[_vm._v(\"本网站由 江苏大运远见文化科技发展有限公司 运营维护\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Footer.vue?vue&type=template&id=3080ae3e&scoped=true\"\nimport script from \"./Footer.vue?vue&type=script&lang=js\"\nexport * from \"./Footer.vue?vue&type=script&lang=js\"\nimport style0 from \"./Footer.vue?vue&type=style&index=0&id=3080ae3e&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3080ae3e\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"sidebar-container\"},[_c('div',{staticClass:\"sidebar-item\",on:{\"click\":_vm.handleCartClick}},[_c('el-badge',{staticClass:\"item-badge\",attrs:{\"value\":_vm.$store.getters.getCartTotalCount}},[_c('i',{staticClass:\"el-icon-shopping-cart-full\"})]),_c('div',{staticClass:\"item-text\"},[_vm._v(\"购物车\")])],1),_c('div',{staticClass:\"sidebar-item\",on:{\"click\":_vm.handleServiceClick}},[_c('i',{staticClass:\"el-icon-headset\"}),_c('div',{staticClass:\"item-text\"},[_vm._v(\"在线客服\")])]),_c('div',{staticClass:\"sidebar-item back-to-top\",class:{ active: _vm.isShowBackTop },on:{\"click\":_vm.handleBackToTop}},[_c('i',{staticClass:\"el-icon-caret-top\"}),_c('div',{staticClass:\"item-text\"},[_vm._v(\"回到顶部\")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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=6df28cc6&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=6df28cc6&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 \"6df28cc6\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.showBackToTop)?_c('div',{staticClass:\"back-to-top\",on:{\"click\":_vm.scrollToTop}},[_c('el-icon',{attrs:{\"name\":\"el-icon-arrow-up\"}})],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BackToTop.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BackToTop.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./BackToTop.vue?vue&type=template&id=7ea6dee0&scoped=true\"\nimport script from \"./BackToTop.vue?vue&type=script&lang=js\"\nexport * from \"./BackToTop.vue?vue&type=script&lang=js\"\nimport style0 from \"./BackToTop.vue?vue&type=style&index=0&id=7ea6dee0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7ea6dee0\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=2c267866\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=2c267866&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\r\nimport Router from 'vue-router'\r\nimport store from '@/store';\r\n\r\nVue.use(Router)\r\n\r\n// 解决重复导航错误\r\nconst originalPush = Router.prototype.push\r\nRouter.prototype.push = function push(location) {\r\n return originalPush.call(this, location).catch(err => {\r\n // 只捕获重复导航的错误,其他错误正常抛出\r\n if (err.name !== 'NavigationDuplicated') {\r\n throw err\r\n }\r\n })\r\n}\r\n\r\nconst router = new Router({\r\n mode: 'history',\r\n base: process.env.BASE_URL,\r\n routes: [\r\n {\r\n path: '/',\r\n name: 'Index',\r\n meta: {\r\n title: '首页 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Index.vue')\r\n },\r\n {\r\n path: '/Login',\r\n name: 'Login',\r\n meta: {\r\n title: '登录 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Login.vue')\r\n },\r\n {\r\n path: '/Register',\r\n name: 'Register',\r\n meta: {\r\n title: '注册 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Register.vue')\r\n },\r\n {\r\n path: '/Home',\r\n name: 'Home',\r\n meta: {\r\n title: '首页 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Home.vue')\r\n },\r\n {\r\n path: '/Detail/:id',\r\n name: 'Detail',\r\n meta: {\r\n title: '首页 - 精品商城',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/Detail/Index.vue')\r\n },\r\n {\r\n path: '/ProductList',\r\n name: 'ProductList',\r\n meta: {\r\n title: '商品列表',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/ProductPage/Index.vue')\r\n },\r\n {\r\n path: '/ProductReview',\r\n name: 'ProductReview',\r\n meta: {\r\n title: '商品评价',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/ProductPage/ProductReview.vue')\r\n },\r\n {\r\n path: '/NoticeList',\r\n name: 'NoticeList',\r\n meta: {\r\n title: '公告列表',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/notice/noticeList.vue')\r\n },\r\n {\r\n path: '/NoticeDetail',\r\n name: 'NoticeDetail',\r\n meta: {\r\n title: '公告详情',\r\n keepAlive: false\r\n },\r\n component: () => import('@/views/notice/noticeDetail.vue')\r\n },\r\n // {\r\n // path: '/category/:id?',\r\n // name: 'Category',\r\n // meta: {\r\n // title: '商品分类 - 精品商城',\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/Category.vue')\r\n // },\r\n // {\r\n // path: '/product/:id',\r\n // name: 'ProductDetail',\r\n // meta: {\r\n // title: '商品详情 - 精品商城',\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/ProductDetail.vue')\r\n // },\r\n // {\r\n // path: '/cart',\r\n // name: 'Cart',\r\n // meta: {\r\n // title: '购物车 - 精品商城',\r\n // requireAuth: true,\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/Cart.vue')\r\n // },\r\n // {\r\n // path: '/checkout',\r\n // name: 'Checkout',\r\n // meta: {\r\n // title: '结算 - 精品商城',\r\n // requireAuth: true,\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/Checkout.vue')\r\n // },\r\n {\r\n path: '/User',\r\n name: 'User',\r\n // meta: { title: '个人中心 - 精品商城',requireAuth: true,keepAlive: false},\r\n component: () => import('@/views/User/Index.vue'),\r\n redirect: '/User/UserCenter',\r\n children: [\r\n {\r\n path:'UserCenter', \r\n name: \"UserCenter\",\r\n // meta: {title: '个人中心 - 精品商城',keepAlive: false,},\r\n component: ()=>import('@/views/User/UserCenter.vue')\r\n },\r\n {\r\n path: 'OrderList',\r\n name: 'OrderList',\r\n meta: { title: '我的订单 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderList.vue')\r\n },\r\n {\r\n path: 'UserInfo',\r\n name: 'UserInfo',\r\n meta: { title: '个人信息 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/UserInfo.vue')\r\n },\r\n {\r\n path: 'ViewHistory',\r\n name: 'ViewHistory',\r\n meta: { title: '我的足迹 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/ViewHistory.vue')\r\n },\r\n {\r\n path: 'UserAddress',\r\n name: 'UserAddress',\r\n meta: { title: '我的收货地址 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/UserAddress.vue')\r\n },\r\n {\r\n path: 'UserInvoice',\r\n name: 'UserInvoice',\r\n meta: { title: '发票抬头 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/UserInvoice.vue')\r\n },\r\n {\r\n path: 'UserInvoiceList',\r\n name: 'UserInvoiceList',\r\n meta: { title: '我的发票 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/UserInvoiceList.vue')\r\n },\r\n {\r\n path: 'ShoppingCart',\r\n name: 'ShoppingCart',\r\n meta: { title: '购物车 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/ShoppingCart.vue')\r\n },\r\n {\r\n path: 'CommentManage',\r\n name: 'CommentManage',\r\n meta: { title: '评价管理 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/CommentManage.vue')\r\n },\r\n {\r\n path: 'ContractList',\r\n name: 'ContractList',\r\n meta: { title: '合同管理 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/ContractList.vue')\r\n },\r\n {\r\n path: 'MessageList',\r\n name: 'MessageList',\r\n meta: { title: '消息中心 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/MessageList.vue')\r\n },\r\n {\r\n path: 'PurchaserAdd',\r\n name: 'PurchaserAdd',\r\n meta: { title: '添加采购单位信息 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/PurchaserAdd.vue')\r\n },\r\n ],\r\n },\r\n {\r\n path: '/Order',\r\n name: 'Order',\r\n meta: { title: '下单', keepAlive: false },\r\n component: () => import('@/views/Order/Index.vue')\r\n },\r\n {\r\n path: '/OrderDetail',\r\n name: 'OrderDetail',\r\n meta: { title: '订单详情 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/Order/OrderDetail.vue')\r\n },\r\n \r\n {\r\n path: '/OrderPay',\r\n name: 'OrderPay',\r\n meta: { title: '订单支付 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderPay.vue')\r\n },\r\n {\r\n path: '/OrderPayB2B',\r\n name: 'OrderPayB2B',\r\n meta: { title: '订单支付 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderPayB2B.vue')\r\n },\r\n {\r\n path: '/OrderPayCode',\r\n name: 'OrderPayCode',\r\n meta: { title: '订单支付 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderPayCode.vue')\r\n },\r\n {\r\n path: '/OrderPaySuccess',\r\n name: 'OrderPaySuccess',\r\n meta: { title: '订单支付 - 精品商城', keepAlive: false },\r\n component: () => import('@/views/User/OrderPaySuccess.vue')\r\n },\r\n \r\n // {\r\n // path: '/user/orders/:id',\r\n // name: 'OrderDetail',\r\n // meta: {\r\n // title: '订单详情 - 精品商城',\r\n // requireAuth: true,\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/OrderDetail.vue')\r\n // },\r\n // {\r\n // path: '*',\r\n // name: 'NotFound',\r\n // meta: {\r\n // title: '页面不存在 - 精品商城',\r\n // keepAlive: false\r\n // },\r\n // component: () => import('@/views/NotFound.vue')\r\n // }\r\n ],\r\n scrollBehavior(to, from, savedPosition) {\r\n // 页面滚动到顶部\r\n return { x: 0, y: 0 }\r\n }\r\n})\r\n\r\n// 路由守卫\r\nrouter.beforeEach((to, from, next) => {\r\n // 设置页面标题\r\n if (to.meta.title) {\r\n document.title = to.meta.title\r\n }\r\n \r\n // 验证登录状态\r\n if (to.meta.requireAuth) {\r\n const token = store.state.user?.info?.token || '';\r\n if (token) {\r\n next()\r\n } else {\r\n next({\r\n path: '/Login',\r\n query: { redirect: to.fullPath }\r\n })\r\n }\r\n } else {\r\n next()\r\n }\r\n})\r\n\r\nexport default router","import Vue from 'vue'\r\nimport axios from \"axios\";\r\nimport { Message, MessageBox, Loading } from \"element-ui\"; // 引入 Element UI 组件\r\nimport store from '@/store';\r\nimport router from \"@/router\"\r\n\r\nconst http = axios.create({\r\n timeout: 6000 // 请求超时时间\r\n})\r\n\r\n// 添加请求拦截器\r\nhttp.interceptors.request.use((config) => {\r\n const { customBaseURL } = config.params || config.data || {};\r\n if (customBaseURL) {\r\n config.baseURL = customBaseURL;\r\n if (config.params) {\r\n delete config.params.customBaseURL;\r\n } else if (config.data) {\r\n delete config.data.customBaseURL;\r\n }\r\n } else {\r\n config.baseURL = process.env.VUE_APP_URL;\r\n }\r\n \r\n const token = store.state.user?.info?.token || '';\r\n config.headers['token'] = token || \"\"\r\n // config.headers['token'] = token || \"745f2b4c-49b7-4393-bf58-bc380a87149a\";\r\n config.headers['Content-Type'] = 'application/json;charset=UTF-8';\r\n\r\n // 统一添加 platform_type = 2 参数\r\n // GET 请求在 params 中添加\r\n if (config.method?.toLowerCase() === 'get') {\r\n config.params = {\r\n platform_type: 2,\r\n ...config.params\r\n };\r\n } \r\n // POST 等其他请求在 data 中添加\r\n else {\r\n config.data = {\r\n platform_type: 2,\r\n ...config.data\r\n };\r\n }\r\n \r\n // 显示加载中状态(Element UI 的 Loading)\r\n if (config.loading !== false) { // 默认显示,可通过参数关闭\r\n config.loadingInstance = Loading.service({\r\n lock: true,\r\n text: '加载中...',\r\n background: 'rgba(0, 0, 0, 0.7)'\r\n });\r\n }\r\n \r\n return config;\r\n}, (error) => {\r\n return Promise.reject(error);\r\n});\r\n\r\n// 添加响应拦截器\r\nhttp.interceptors.response.use(response => {\r\n // 关闭加载状态\r\n if (response.config.loadingInstance) {\r\n response.config.loadingInstance.close();\r\n }\r\n \r\n if (response.status === 200 || response.status === 1) {\r\n const resData = response.data;\r\n // 假设接口约定 code 为 0 或 200 时表示业务成功(可根据实际情况修改)\r\n if (resData.code === 1 || resData.code === 200) {\r\n return resData;\r\n } else {\r\n // code 不符合预期时显示错误提示,优先使用接口返回的消息\r\n const errorMsg = resData.msg || `业务处理失败,错误码:${resData.code}`;\r\n MessageBox.alert(errorMsg, '错误提示', {\r\n confirmButtonText: '确定',\r\n type: 'error'\r\n }).then(() => {\r\n if (resData.code === 401) {\r\n // 存储当前路由(排除登录页自身,避免死循环)\r\n const currentPath = router.currentRoute.fullPath;\r\n if (currentPath !== '/Login') { // 假设登录页路径是 /Login\r\n localStorage.setItem('redirectPath', currentPath); // 存到本地存储\r\n }\r\n // 登录操作\r\n router.push(\"/Login\")\r\n }\r\n }).catch(() => {\r\n \r\n });\r\n // return Promise.reject(new Error(errorMsg));\r\n }\r\n } else {\r\n // HTTP状态码非200和1时的弹框提示\r\n const errorMsg = `请求失败,状态码:${response.status}`;\r\n MessageBox.alert(errorMsg, '错误提示', {\r\n confirmButtonText: '确定',\r\n type: 'error'\r\n });\r\n return Promise.reject(new Error(errorMsg));\r\n }\r\n}, error => {\r\n // 关闭加载状态\r\n if (error.config && error.config.loadingInstance) {\r\n error.config.loadingInstance.close();\r\n }\r\n \r\n if (error.response && error.response.status) {\r\n switch (error.response.status) {\r\n case 401:\r\n MessageBox.confirm('请登录后操作', '提示', {\r\n confirmButtonText: '去登录',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n }).then(() => {\r\n // 登录操作\r\n router.push(\"/Login\")\r\n }).catch(() => {\r\n // 取消登录回调\r\n });\r\n break;\r\n case 404:\r\n Message({\r\n message: '网络繁忙,请刷新再试',\r\n type: 'error',\r\n duration: 2000\r\n });\r\n break;\r\n default:\r\n Message({\r\n message: '网络繁忙,请刷新再试',\r\n type: 'error',\r\n duration: 2000\r\n });\r\n break;\r\n }\r\n }\r\n return Promise.reject(error);\r\n});\r\n\r\n// 请求方法挂载\r\nVue.prototype.get = (params, url, loading = false) => {\r\n return new Promise((resolve, reject) => {\r\n http.get(url, { \r\n params,\r\n loading // 传递加载状态参数\r\n })\r\n .then(res => {\r\n resolve(res);\r\n })\r\n .catch(err => {\r\n reject(err);\r\n });\r\n })\r\n}\r\n\r\nVue.prototype.post = (data, url, loading = false) => {\r\n return new Promise((resolve, reject) => {\r\n http.post(url, data, {\r\n loading // 传递加载状态参数\r\n })\r\n .then(res => {\r\n resolve(res);\r\n })\r\n .catch(err => {\r\n reject(err);\r\n });\r\n })\r\n}","export default {\r\n\tinstall(Vue) {\r\n\t\tVue.prototype.util = {\r\n\t\t\t// 格式化富文本\r\n\t\t\tformateRichText(str) {\r\n\t\t\t\tif (!str) return \"\";\r\n\t\t\t\tvar reg = new RegExp(\"')\r\n\t\t\t\treg = new RegExp(\"section\", \"g\");\r\n\t\t\t\tstr = str.replace(reg, 'div');\r\n\t\t\t\treg = new RegExp(\"↵\", \"g\");\r\n\t\t\t\tstr = str.replace(reg, '
');\r\n\t\t\t\tstr = str.replace(/
{\r\n\t\t\t\t\treader.onload = () => {\r\n\t\t\t\t\t\tresolve(reader.result);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t},\r\n\r\n\t\t\tcopyId(value) {\r\n\t\t\t\tconst input = document.createElement('input');\r\n\t\t\t\tinput.value = value;\r\n\t\t\t\tdocument.body.appendChild(input);\r\n\t\t\t\tinput.select();\r\n\t\t\t\tdocument.execCommand('copy');\r\n\t\t\t\tdocument.body.removeChild(input);\r\n\t\t\t\t\r\n\t\t\t\tVue.prototype.$message({\r\n\t\t\t\t\tmessage: '复制成功',\r\n\t\t\t\t\ttype: 'success'\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n}\r\n","import Vue from 'vue'\r\nimport App from './App'\r\nimport router from './router'\r\nimport store from './store'\r\nimport ElementUI from 'element-ui'\r\nimport 'element-ui/lib/theme-chalk/index.css'\r\nimport VueLazyload from 'vue-lazyload'\r\nimport '@/assets/css/common.scss'\r\nimport '../src/libs/axios.js' // axios处理\r\n\r\nimport utils from './libs/utils.js'\r\nVue.use(utils)\r\n\r\n// 全局配置\r\nVue.config.productionTip = false\r\nVue.use(ElementUI)\r\n\r\nlet env = process.env.NODE_ENV;\r\nconsole.log(env)\r\nVue.prototype.VUE_APP_GLOBAL_TAGS = {\r\n // 正式数据\r\n pc_all: 675, // pc-分类集合\r\n all_prod: 676, // 全部商品\r\n // mmy: 677, //米面油\r\n // twgh: 678, // 调味干货\r\n // xxls: 679, //休闲零食\r\n // qxrd: 680, // 禽畜肉蛋\r\n // xgsz: 681, //鲜果蔬菜\r\n // zhjs: 682, //组合集市\r\n pc_index_recommend: 683, //PC-首页-今日推荐\r\n pc_index_hot: 684, //pc-首页-热销排行\r\n pc_index_new: 685, // pc-首页-新品上市\r\n}\r\nif (env === 'development') {\r\n Vue.prototype.VUE_APP_GLOBAL_TAGS = {\r\n // 测试数据\r\n pc_all: 662, // pc-分类集合\r\n all_prod: 663, // 全部商品\r\n // mmy: 664, //米面油\r\n // twgh: 665, // 调味干货\r\n // xxls: 666, //休闲零食\r\n // qxrd: 667, // 禽畜肉蛋\r\n // xgsz: 668, //鲜果蔬菜\r\n // zhjs: 669, //组合集市\r\n pc_index_recommend: 670, //PC-首页-今日推荐\r\n pc_index_hot: 671, //pc-首页-热销排行\r\n pc_index_new: 672, // pc-首页-新品上市\r\n }\r\n}\r\n\r\n// 配置图片懒加载\r\nVue.use(VueLazyload, {\r\n preLoad: 1.3, // 预加载高度比例\r\n error: require('./assets/logo.png'),\r\n loading: require('./assets/logo.png'),\r\n attempt: 3, // 增加尝试次数\r\n listenEvents: ['scroll', 'wheel', 'mousewheel', 'resize', 'animationend', 'transitionend', 'touchmove'], // 确保监听事件完整\r\n adapter: {\r\n // 增加加载状态日志\r\n loaded({ bindType, el, naturalHeight, naturalWidth, $parent, src, loading, error, Init }) {\r\n console.log('图片加载完成:', src)\r\n },\r\n error({ bindType, el, error, $parent, src, loading }) {\r\n console.log('图片加载失败:', src)\r\n }\r\n }\r\n})\r\n\r\n// 全局挂载公共路由跳转方法\r\nVue.prototype.gotoPath = function(path, options = {}) {\r\n // 1. 避免重复跳转同一页面\r\n const currentPath = this.$router.currentRoute.fullPath\r\n if (path === currentPath) {\r\n return\r\n }\r\n\r\n try {\r\n // 2. 支持两种跳转方式:路径字符串或配置对象\r\n if (typeof path === 'string') {\r\n // 字符串路径,可附带query参数\r\n this.$router.push({\r\n path,\r\n query: options.query || {}\r\n })\r\n } else if (typeof path === 'object') {\r\n // 直接传入路由配置对象(如命名路由)\r\n this.$router.push(path)\r\n }\r\n \r\n // 3. 可选的跳转成功回调\r\n if (typeof options.success === 'function') {\r\n options.success()\r\n }\r\n } catch (error) {\r\n // 4. 错误处理\r\n console.error('路由跳转失败:', error)\r\n if (typeof options.fail === 'function') {\r\n options.fail(error)\r\n }\r\n }\r\n}\r\n\r\n/* eslint-disable no-new */\r\nnew Vue({\r\n el: '#app',\r\n router,\r\n store,\r\n components: { App },\r\n template: ''\r\n})\r\n","// index.js\nimport Vue from 'vue'\nimport Vuex from 'vuex'\nimport createPersistedState from 'vuex-persistedstate'\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n plugins: [\n createPersistedState({\n storage: window.localStorage,\n reducer(val) {\n return {\n cart: val.cart,\n user: val.user\n }\n }\n })\n ],\n state: {\n // 购物车状态\n cart: {\n items: [], // 购物车商品列表\n totalCount: 0, // 商品总数\n totalPrice: 0 // 商品总价\n },\n // 用户状态\n user: {\n isLogin: false,\n info: null,\n token: ''\n },\n // 分类数据\n categories: [],\n // 全局加载状态\n loading: false,\n searchText: '', // 存储搜索词\n // 存储订单数据\n orderData: null\n },\n mutations: {\n // 设置订单数据\n setOrderData(state, data) {\n state.orderData = data\n },\n // 清空订单数据\n clearOrderData(state) {\n state.orderData = null\n },\n // 更新分类数据\n UPDATE_CATEGORIES(state, categories) {\n state.categories = categories\n },\n \n // 更新加载状态\n UPDATE_LOADING(state, status) {\n state.loading = status\n },\n \n // 用户登录\n USER_LOGIN(state, { userInfo, token }) {\n state.user.isLogin = true\n state.user.info = userInfo\n state.user.token = token\n localStorage.setItem('token', token)\n },\n \n // 用户登出\n USER_LOGOUT(state) {\n state.user.isLogin = false\n state.user.info = null\n state.user.token = ''\n localStorage.removeItem('token')\n state.cart.totalCount = 0\n },\n \n // 更新购物车总数\n UPDATE_CART_TOTAL_COUNT(state, count) {\n state.cart.totalCount = count\n },\n\n setSearchText(state, text) {\n state.searchText = text;\n }\n },\n actions: {\n // 提交订单数据\n submitOrderData({ commit }, data) {\n commit('setOrderData', data)\n },\n // 获取分类数据\n fetchCategories({ commit }) {\n commit('UPDATE_LOADING', true)\n // 模拟API请求\n return new Promise(resolve => {\n setTimeout(() => {\n const categories = [\n { id: 1, name: '电子产品', icon: 'el-icon-laptop' },\n { id: 2, name: '服装鞋帽', icon: 'el-icon-shopping-bag-1' },\n { id: 3, name: '家居用品', icon: 'el-icon-home' },\n { id: 4, name: '美妆个护', icon: 'el-icon-present' },\n { id: 5, name: '食品饮料', icon: 'el-icon-dish' },\n { id: 6, name: '图书音像', icon: 'el-icon-document' }\n ]\n commit('UPDATE_CATEGORIES', categories)\n commit('UPDATE_LOADING', false)\n resolve(categories)\n }, 500)\n })\n },\n\n // 用户登录\n login({ commit, dispatch }, { userInfo, token }) {\n // 先调用 mutation 更新登录状态\n commit('USER_LOGIN', { userInfo, token })\n // 登录成功后,调用获取购物车数量的 action\n dispatch('fetchCartCount')\n },\n \n // 用户登出\n logout({ commit }) {\n commit('USER_LOGOUT')\n },\n \n // 添加商品到购物车\n addToCart({ dispatch }, product) {\n // 调用接口,参数为商品id和数量\n return Vue.prototype.post(\n {\n sku_id: product.id,\n num: product.quantity || 1\n },\n \"/api/cart/add_sku\"\n ).then((res) => {\n if (res) {\n Vue.prototype.$message.success(\"购物车添加成功!\");\n // 添加成功后重新获取购物车数量\n return dispatch('fetchCartCount')\n }\n }).catch((err) => {\n console.error('添加到购物车请求失败', err);\n throw err\n });\n },\n\n // 获取购物车数量\n fetchCartCount({ commit, state }) {\n // 检查是否存在token,不存在则直接返回0\n if (!state.user.token) {\n commit('UPDATE_CART_TOTAL_COUNT', 0)\n return Promise.resolve(0)\n }\n return Vue.prototype.post(\n {},\n \"/api/cart/get_count\"\n ).then((res) => {\n console.log('购物车数量接口返回', res)\n if (res.code == 1) {\n commit('UPDATE_CART_TOTAL_COUNT', res.data)\n }\n return res.data\n }).catch((err) => {\n console.error('获取购物车数量失败', err)\n throw err\n });\n },\n \n // 从购物车移除商品\n removeFromCart({ dispatch }, productId) {\n // 调用删除接口\n return Vue.prototype.post(\n { sku_id: productId },\n \"/api/cart/remove_sku\"\n ).then(() => {\n // 删除成功后重新获取购物车数量\n return dispatch('fetchCartCount')\n }).catch(err => {\n console.error('删除购物车商品失败', err)\n throw err\n })\n },\n \n // 更新购物车商品数量\n updateCartItemQuantity({ dispatch }, { productId, quantity }) {\n // 调用更新数量接口\n return Vue.prototype.post(\n { \n sku_id: productId,\n num: quantity\n },\n \"/api/cart/add_sku\"\n ).then(() => {\n // 更新成功后重新获取购物车数量\n return dispatch('fetchCartCount')\n }).catch(err => {\n console.error('更新购物车商品数量失败', err)\n throw err\n })\n },\n \n // 清空购物车\n clearCart({ dispatch }) {\n // 调用清空接口\n return Vue.prototype.post(\n {},\n \"/api/cart/clear\"\n ).then(() => {\n // 清空成功后重新获取购物车数量\n return dispatch('fetchCartCount')\n }).catch(err => {\n console.error('清空购物车失败', err)\n throw err\n })\n }\n },\n getters: {\n // 获取订单数据\n getOrderData: state => state.orderData,\n\n // 获取分类列表\n getCategories: state => state.categories,\n \n // 获取购物车信息\n getCart: state => state.cart,\n \n // 获取购物车商品总数\n getCartTotalCount: state => state.cart.totalCount,\n \n // 获取用户登录状态\n isUserLogin: state => state.user.isLogin,\n \n // 获取用户信息\n getUserInfo: state => state.user.info,\n \n // 获取加载状态\n getLoadingStatus: state => state.loading,\n\n // 获取搜索词\n getSearchText: state => state.searchText\n }\n})","// 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\":\"2ece41d9\",\"33\":\"ca85dca8\",\"87\":\"48a2ebc1\",\"169\":\"33f72ed2\",\"192\":\"a0b515d3\",\"208\":\"50f78b20\",\"244\":\"940fed0d\",\"452\":\"0b1eacbe\",\"462\":\"1343c7cb\",\"497\":\"13803348\",\"601\":\"1c95e2ee\",\"612\":\"0689f662\",\"630\":\"d2996537\",\"646\":\"86f530bc\",\"677\":\"bb7c2f70\",\"688\":\"aa0eb580\",\"700\":\"d2d5f812\",\"709\":\"04a9155a\",\"711\":\"baa8d180\",\"719\":\"4c174724\",\"779\":\"c8f94891\",\"807\":\"8f1f61a0\",\"825\":\"fc36db19\",\"828\":\"deb87761\",\"838\":\"3bd96d59\",\"989\":\"ec009c2e\",\"990\":\"244d285a\",\"995\":\"b05470f0\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".\" + {\"29\":\"2661f71c\",\"33\":\"5507be5a\",\"87\":\"aa23ef52\",\"169\":\"a7db186a\",\"192\":\"3189fded\",\"208\":\"268eb302\",\"244\":\"edd4b6a0\",\"452\":\"42e712d8\",\"462\":\"5ae3b03a\",\"497\":\"703f0337\",\"601\":\"91c548ed\",\"630\":\"e6d20e0d\",\"646\":\"ec7235c5\",\"677\":\"51eebda5\",\"688\":\"b751536e\",\"700\":\"5f484165\",\"709\":\"8b344007\",\"711\":\"701f8f15\",\"719\":\"37d35775\",\"779\":\"b5e6f704\",\"807\":\"9b5bd9e0\",\"825\":\"35818b68\",\"828\":\"9419445b\",\"838\":\"4c0b65d7\",\"989\":\"f060a013\",\"990\":\"fb749462\",\"995\":\"81403639\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"shiweisuzhou:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tif (__webpack_require__.nc) {\n\t\tlinkTag.nonce = __webpack_require__.nc;\n\t}\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t524: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"29\":1,\"33\":1,\"87\":1,\"169\":1,\"192\":1,\"208\":1,\"244\":1,\"452\":1,\"462\":1,\"497\":1,\"601\":1,\"630\":1,\"646\":1,\"677\":1,\"688\":1,\"700\":1,\"709\":1,\"711\":1,\"719\":1,\"779\":1,\"807\":1,\"825\":1,\"828\":1,\"838\":1,\"989\":1,\"990\":1,\"995\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr\n\n// no prefetching\n\n// no preloaded","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t524: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkshiweisuzhou\"] = self[\"webpackChunkshiweisuzhou\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [504], function() { return __webpack_require__(2199); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["render","_vm","this","_c","_self","attrs","$route","name","_e","staticClass","staticRenderFns","_v","isLogin","directives","rawName","value","userInfo","avatar","expression","_s","username","cartTotalCount","on","handleLogout","$event","searchText","nativeOn","type","indexOf","_k","keyCode","key","handleSearch","apply","arguments","model","callback","$$v","slot","hotList","length","_l","item","index","staticStyle","categories","data","computed","mapGetters","getCategories","getCartTotalCount","isUserLogin","getUserInfo","created","fetchCategories","post","offset","limit","then","res","methods","mapActions","trim","$store","commit","path","$router","push","query","keyword","$confirm","confirmButtonText","cancelButtonText","logout","$message","success","localStorage","setItem","catch","err","error","message","component","nonQrcodeColumns","column","id","title","list","itemIndex","style","cursor","gotoDetail","qrcodeColumn","util","showImg","image","_m","filter","find","mounted","forEach","get","type_id","link_url","window","location","href","handleCartClick","getters","handleServiceClick","class","active","isShowBackTop","handleBackToTop","cartCount","scrollTimer","addEventListener","handleScroll","dispatch","beforeDestroy","removeEventListener","clearTimeout","token","store","state","user","info","process","scrollTo","top","behavior","setTimeout","pageYOffset","showBackToTop","scrollToTop","setInterval","position","Math","max","clearInterval","components","HeaderNav","Footer","BackToTop","Sidebar","loading","getLoadingStatus","Vue","use","Router","originalPush","prototype","call","router","mode","base","routes","meta","keepAlive","redirect","children","scrollBehavior","to","from","savedPosition","x","y","beforeEach","next","document","requireAuth","fullPath","http","axios","create","timeout","interceptors","request","config","customBaseURL","params","baseURL","headers","method","toLowerCase","platform_type","loadingInstance","Loading","service","lock","text","background","Promise","reject","response","close","status","errorMsg","MessageBox","alert","Error","resData","code","msg","currentPath","currentRoute","confirm","Message","duration","url","resolve","install","formateRichText","str","reg","RegExp","replace","mobileValid","val","test","idNumberValid","passportValid","taiwanValid","gangaoValid","foreignerValid","officerValid","emailValid","getUrlPara","arrUrl","split","para","img","imgToBase64","reader","FileReader","readAsDataURL","onload","result","copyId","input","createElement","body","appendChild","select","execCommand","removeChild","utils","productionTip","ElementUI","env","console","log","VUE_APP_GLOBAL_TAGS","pc_all","all_prod","pc_index_recommend","pc_index_hot","pc_index_new","VueLazyload","preLoad","require","attempt","listenEvents","adapter","loaded","bindType","el","naturalHeight","naturalWidth","$parent","src","Init","gotoPath","options","fail","App","template","Vuex","plugins","createPersistedState","storage","reducer","cart","items","totalCount","totalPrice","orderData","mutations","setOrderData","clearOrderData","UPDATE_CATEGORIES","UPDATE_LOADING","USER_LOGIN","USER_LOGOUT","removeItem","UPDATE_CART_TOTAL_COUNT","count","setSearchText","actions","submitOrderData","icon","login","addToCart","product","sku_id","num","quantity","fetchCartCount","removeFromCart","productId","updateCartItemQuantity","clearCart","getOrderData","getCart","getSearchText","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","amdO","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","f","e","chunkId","all","reduce","promises","u","miniCssF","g","globalThis","Function","obj","prop","hasOwnProperty","inProgress","dataWebpackPrefix","l","done","script","needAttach","scripts","getElementsByTagName","s","getAttribute","charset","nc","setAttribute","onScriptComplete","prev","event","onerror","doneFns","parentNode","bind","target","head","Symbol","toStringTag","nmd","paths","p","createStylesheet","fullhref","oldTag","linkTag","rel","nonce","onLinkComplete","errorType","realHref","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","installedChunks","installedChunkData","promise","loadingEnded","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/chunk-vendors.9c0851b6.js b/dist/js/chunk-vendors.12a86b61.js similarity index 90% rename from dist/js/chunk-vendors.9c0851b6.js rename to dist/js/chunk-vendors.12a86b61.js index 261e1a5..82e815a 100644 --- a/dist/js/chunk-vendors.9c0851b6.js +++ b/dist/js/chunk-vendors.12a86b61.js @@ -13,7 +13,7 @@ * @internal * @license Modernizr 3.0.0pre (Custom Build) | MIT */ -function o(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var a=document.createElement("div");a.setAttribute(n,"return;"),o="function"===typeof a[n]}return!o&&i&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}r.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=o},616:function(e,t,n){"use strict";var i=n(9039);e.exports=!i(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},655:function(e,t,n){"use strict";var i=n(6955),r=String;e.exports=function(e){if("Symbol"===i(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},674:function(e,t,n){e.exports={default:n(7719),__esModule:!0}},679:function(e,t,n){"use strict";var i=n(1625),r=TypeError;e.exports=function(e,t){if(i(t,e))return e;throw new r("Incorrect invocation")}},684:function(e){"use strict";e.exports=function(e,t){var n="function"==typeof Iterator&&Iterator.prototype[e];if(n)try{n.call({next:null},t).next()}catch(i){return!0}}},741:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var i=+e;return(i>0?n:t)(i)}},747:function(e,t,n){"use strict";var i=n(6699),r=n(6193),o=n(4659),a=Error.captureStackTrace;e.exports=function(e,t,n,s){o&&(a?a(e,t):i(e,"stack",r(n,s)))}},757:function(e,t,n){"use strict";var i=n(7751),r=n(4901),o=n(1625),a=n(7040),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return r(t)&&o(t.prototype,s(e))}},851:function(e,t,n){"use strict";var i=n(6955),r=n(5966),o=n(4117),a=n(6269),s=n(8227),l=s("iterator");e.exports=function(e){if(!o(e))return r(e,l)||r(e,"@@iterator")||a[i(e)]}},1056:function(e,t){"use strict";function n(e){return void 0!==e&&null!==e}function i(e){var t=/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi;return t.test(e)}t.__esModule=!0,t.isDef=n,t.isKorean=i},1072:function(e,t,n){"use strict";var i=n(1828),r=n(8727);e.exports=Object.keys||function(e){return i(e,r)}},1084:function(e,t,n){var i=n(4194);e.exports=Array.isArray||function(e){return"Array"==i(e)}},1108:function(e,t,n){"use strict";var i=n(6955);e.exports=function(e){var t=i(e);return"BigInt64Array"===t||"BigUint64Array"===t}},1120:function(e,t,n){n(8111),n(1701),e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=104)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",function(){return i})},104:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-progress",class:["el-progress--"+e.type,e.status?"is-"+e.status:"",{"el-progress--without-text":!e.showText,"el-progress--text-inside":e.textInside}],attrs:{role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"}},["line"===e.type?n("div",{staticClass:"el-progress-bar"},[n("div",{staticClass:"el-progress-bar__outer",style:{height:e.strokeWidth+"px",backgroundColor:e.defineBackColor}},[n("div",{staticClass:"el-progress-bar__inner",style:e.barStyle},[e.showText&&e.textInside?n("div",{staticClass:"el-progress-bar__innerText",style:{color:e.textColor}},[e._v(e._s(e.content))]):e._e()])])]):n("div",{staticClass:"el-progress-circle",style:{height:e.width+"px",width:e.width+"px"}},[n("svg",{attrs:{viewBox:"0 0 100 100"}},[n("path",{staticClass:"el-progress-circle__track",style:e.trailPathStyle,attrs:{d:e.trackPath,stroke:e.defineBackColor,"stroke-width":e.relativeStrokeWidth,fill:"none"}}),n("path",{staticClass:"el-progress-circle__path",style:e.circlePathStyle,attrs:{d:e.trackPath,stroke:e.stroke,fill:"none","stroke-linecap":e.strokeLinecap,"stroke-width":e.percentage?e.relativeStrokeWidth:0}})])]),e.showText&&!e.textInside?n("div",{staticClass:"el-progress__text",style:{fontSize:e.progressTextSize+"px",color:e.textColor}},[e.status?n("i",{class:e.iconClass}):[e._v(e._s(e.content))]],2):e._e()])},r=[];i._withStripped=!0;var o={name:"ElProgress",props:{type:{type:String,default:"line",validator:function(e){return["line","circle","dashboard"].indexOf(e)>-1}},percentage:{type:Number,default:0,required:!0,validator:function(e){return e>=0&&e<=100}},status:{type:String,validator:function(e){return["success","exception","warning"].indexOf(e)>-1}},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},defineBackColor:{type:[String,Array,Function],default:"#ebeef5"},textColor:{type:[String,Array,Function],default:"#606266"},format:Function},computed:{barStyle:function(){var e={};return e.width=this.percentage+"%",e.backgroundColor=this.getCurrentColor(this.percentage),e},relativeStrokeWidth:function(){return(this.strokeWidth/this.width*100).toFixed(1)},radius:function(){return"circle"===this.type||"dashboard"===this.type?parseInt(50-parseFloat(this.relativeStrokeWidth)/2,10):0},trackPath:function(){var e=this.radius,t="dashboard"===this.type;return"\n M 50 50\n m 0 "+(t?"":"-")+e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"-":"")+2*e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"":"-")+2*e+"\n "},perimeter:function(){return 2*Math.PI*this.radius},rate:function(){return"dashboard"===this.type?.75:1},strokeDashoffset:function(){var e=-1*this.perimeter*(1-this.rate)/2;return e+"px"},trailPathStyle:function(){return{strokeDasharray:this.perimeter*this.rate+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset}},circlePathStyle:function(){return{strokeDasharray:this.perimeter*this.rate*(this.percentage/100)+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"}},stroke:function(){var e=void 0;if(this.color)e=this.getCurrentColor(this.percentage);else switch(this.status){case"success":e="#13ce66";break;case"exception":e="#ff4949";break;case"warning":e="#e6a23c";break;default:e="#20a0ff"}return e},iconClass:function(){return"warning"===this.status?"el-icon-warning":"line"===this.type?"success"===this.status?"el-icon-circle-check":"el-icon-circle-close":"success"===this.status?"el-icon-check":"el-icon-close"},progressTextSize:function(){return"line"===this.type?12+.4*this.strokeWidth:.111111*this.width+2},content:function(){return"function"===typeof this.format?this.format(this.percentage)||"":this.percentage+"%"}},methods:{getCurrentColor:function(e){return"function"===typeof this.color?this.color(e):"string"===typeof this.color?this.color:this.getLevelColor(e)},getLevelColor:function(e){for(var t=this.getColorArray().sort(function(e,t){return e.percentage-t.percentage}),n=0;ne)return t[n].color;return t[t.length-1].color},getColorArray:function(){var e=this.color,t=100/e.length;return e.map(function(e,n){return"string"===typeof e?{color:e,percentage:(n+1)*t}:e})}}},a=o,s=n(0),l=Object(s["a"])(a,i,r,!1,null,null,null);l.options.__file="packages/progress/src/progress.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},1123:function(e,t,n){var i=n(1672).f,r=n(3066),o=n(5413)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},1148:function(e,t,n){"use strict";var i=n(6518),r=n(9565),o=n(2652),a=n(9306),s=n(8551),l=n(1767),u=n(9539),c=n(4549),h=c("every",TypeError);i({target:"Iterator",proto:!0,real:!0,forced:h},{every:function(e){s(this);try{a(e)}catch(i){u(this,"throw",i)}if(h)return r(h,this,e);var t=l(this),n=0;return!o(t,function(t,i){if(!e(t,n++))return i()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},1178:function(e,t,n){n(4114),e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=91)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",function(){return i})},4:function(e,t){e.exports=n(9800)},91:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-checkbox",class:[e.border&&e.checkboxSize?"el-checkbox--"+e.checkboxSize:"",{"is-disabled":e.isDisabled},{"is-bordered":e.border},{"is-checked":e.isChecked}],attrs:{id:e.id}},[n("span",{staticClass:"el-checkbox__input",class:{"is-disabled":e.isDisabled,"is-checked":e.isChecked,"is-indeterminate":e.indeterminate,"is-focus":e.focus},attrs:{tabindex:!!e.indeterminate&&0,role:!!e.indeterminate&&"checkbox","aria-checked":!!e.indeterminate&&"mixed"}},[n("span",{staticClass:"el-checkbox__inner"}),e.trueLabel||e.falseLabel?n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",name:e.name,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var n=e.model,i=t.target,r=i.checked?e.trueLabel:e.falseLabel;if(Array.isArray(n)){var o=null,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",disabled:e.isDisabled,name:e.name},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var n=e.model,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e.label,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})]),e.$slots.default||e.label?n("span",{staticClass:"el-checkbox__label"},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2):e._e()])},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s={name:"ElCheckbox",mixins:[a.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.lengththis._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):(this.$emit("input",e),this.selfModel=e)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},isGroup:function(){var e=this.$parent;while(e){if("ElCheckboxGroup"===e.$options.componentName)return this._checkboxGroup=e,!0;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},isLimitDisabled:function(){var e=this._checkboxGroup,t=e.max,n=e.min;return!(!t&&!n)&&this.model.length>=t&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this.isGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._checkboxGroup.checkboxGroupSize||e}},props:{value:{},label:{},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number],id:String,controls:String,border:Boolean,size:String},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var n=void 0;n=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,e),this.$nextTick(function(){t.isGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])})}}},created:function(){this.checked&&this.addToStore()},mounted:function(){this.indeterminate&&this.$el.setAttribute("aria-controls",this.controls)},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}}},l=s,u=n(0),c=Object(u["a"])(l,i,r,!1,null,null,null);c.options.__file="packages/checkbox/src/checkbox.vue";var h=c.exports;h.install=function(e){e.component(h.name,h)};t["default"]=h}})},1181:function(e,t,n){"use strict";var i,r,o,a=n(8622),s=n(4576),l=n(34),u=n(6699),c=n(9297),h=n(7629),d=n(6119),f=n(421),p="Object already initialized",m=s.TypeError,v=s.WeakMap,g=function(e){return o(e)?r(e):i(e,{})},y=function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}};if(a||h.state){var b=h.state||(h.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,i=function(e,t){if(b.has(e))throw new m(p);return t.facade=e,b.set(e,t),t},r=function(e){return b.get(e)||{}},o=function(e){return b.has(e)}}else{var _=d("state");f[_]=!0,i=function(e,t){if(c(e,_))throw new m(p);return t.facade=e,u(e,_,t),t},r=function(e){return c(e,_)?e[_]:{}},o=function(e){return c(e,_)}}e.exports={set:i,get:r,has:o,enforce:g,getterFor:y}},1199:function(e,t,n){"use strict";var i=n(7780),r=n(5495),o=n(1123),a={};n(4632)(a,n(5413)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(a,{next:r(1,n)}),o(e,t+" Iterator")}},1227:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=75)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",function(){return i})},11:function(e,t){e.exports=n(6984)},21:function(e,t){e.exports=n(1056)},4:function(e,t){e.exports=n(9800)},75:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"is-exceed":e.inputExceed,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword}],on:{mouseenter:function(t){e.hovering=!0},mouseleave:function(t){e.hovering=!1}}},["textarea"!==e.type?[e.$slots.prepend?n("div",{staticClass:"el-input-group__prepend"},[e._t("prepend")],2):e._e(),"textarea"!==e.type?n("input",e._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:e.tabindex,type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"input",e.$attrs,!1)):e._e(),e.$slots.prefix||e.prefixIcon?n("span",{staticClass:"el-input__prefix"},[e._t("prefix"),e.prefixIcon?n("i",{staticClass:"el-input__icon",class:e.prefixIcon}):e._e()],2):e._e(),e.getSuffixVisible()?n("span",{staticClass:"el-input__suffix"},[n("span",{staticClass:"el-input__suffix-inner"},[e.showClear&&e.showPwdVisible&&e.isWordLimitVisible?e._e():[e._t("suffix"),e.suffixIcon?n("i",{staticClass:"el-input__icon",class:e.suffixIcon}):e._e()],e.showClear?n("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(e){e.preventDefault()},click:e.clear}}):e._e(),e.showPwdVisible?n("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:e.handlePasswordVisible}}):e._e(),e.isWordLimitVisible?n("span",{staticClass:"el-input__count"},[n("span",{staticClass:"el-input__count-inner"},[e._v("\n "+e._s(e.textLength)+"/"+e._s(e.upperLimit)+"\n ")])]):e._e()],2),e.validateState?n("i",{staticClass:"el-input__icon",class:["el-input__validateIcon",e.validateIcon]}):e._e()]):e._e(),e.$slots.append?n("div",{staticClass:"el-input-group__append"},[e._t("append")],2):e._e()]:n("textarea",e._b({ref:"textarea",staticClass:"el-textarea__inner",style:e.textareaStyle,attrs:{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"textarea",e.$attrs,!1)),e.isWordLimitVisible&&"textarea"===e.type?n("span",{staticClass:"el-input__count"},[e._v(e._s(e.textLength)+"/"+e._s(e.upperLimit))]):e._e()],2)},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s=n(11),l=n.n(s),u=void 0,c="\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",h=["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"];function d(e){var t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),i=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),r=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width")),o=h.map(function(e){return e+":"+t.getPropertyValue(e)}).join(";");return{contextStyle:o,paddingSize:i,borderSize:r,boxSizing:n}}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;u||(u=document.createElement("textarea"),document.body.appendChild(u));var i=d(e),r=i.paddingSize,o=i.borderSize,a=i.boxSizing,s=i.contextStyle;u.setAttribute("style",s+";"+c),u.value=e.value||e.placeholder||"";var l=u.scrollHeight,h={};"border-box"===a?l+=o:"content-box"===a&&(l-=r),u.value="";var f=u.scrollHeight-r;if(null!==t){var p=f*t;"border-box"===a&&(p=p+r+o),l=Math.max(p,l),h.minHeight=p+"px"}if(null!==n){var m=f*n;"border-box"===a&&(m=m+r+o),l=Math.min(m,l)}return h.height=l+"px",u.parentNode&&u.parentNode.removeChild(u),u=null,h}var p=n(9),m=n.n(p),v=n(21),g={name:"ElInput",componentName:"ElInput",mixins:[a.a,l.a],inheritAttrs:!1,inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},validateEvent:{type:Boolean,default:!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return m()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||void 0===this.value?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"===typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(e){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[e])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var e=this;this.$nextTick(function(){e.setNativeInputValue(),e.resizeTextarea(),e.updateIconOffset()})}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(e){this.focused=!1,this.$emit("blur",e),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var e=this.autosize,t=this.type;if("textarea"===t)if(e){var n=e.minRows,i=e.maxRows;this.textareaCalcStyle=f(this.$refs.textarea,n,i)}else this.textareaCalcStyle={minHeight:f(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var e=this.getInput();e&&e.value!==this.nativeInputValue&&(e.value=this.nativeInputValue)},handleFocus:function(e){this.focused=!0,this.$emit("focus",e)},handleCompositionStart:function(e){this.$emit("compositionstart",e),this.isComposing=!0},handleCompositionUpdate:function(e){this.$emit("compositionupdate",e);var t=e.target.value,n=t[t.length-1]||"";this.isComposing=!Object(v["isKorean"])(n)},handleCompositionEnd:function(e){this.$emit("compositionend",e),this.isComposing&&(this.isComposing=!1,this.handleInput(e))},handleInput:function(e){this.isComposing||e.target.value!==this.nativeInputValue&&(this.$emit("input",e.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(e){this.$emit("change",e.target.value)},calcIconOffset:function(e){var t=[].slice.call(this.$el.querySelectorAll(".el-input__"+e)||[]);if(t.length){for(var n=null,i=0;i=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(e,t){var n=this.select,i=n.remote,r=n.valueKey;if(!this.created&&!i){if(r&&"object"===("undefined"===typeof e?"undefined":l(e))&&"object"===("undefined"===typeof t?"undefined":l(t))&&e[r]===t[r])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(e,t){if(this.isObject){var n=this.select.valueKey;return Object(s["getValueByPath"])(e,n)===Object(s["getValueByPath"])(t,n)}return e===t},contains:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if(this.isObject){var n=this.select.valueKey;return e&&e.some(function(e){return Object(s["getValueByPath"])(e,n)===Object(s["getValueByPath"])(t,n)})}return e&&e.indexOf(t)>-1},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){this.visible=new RegExp(Object(s["escapeRegexpString"])(e),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var e=this.select,t=e.selected,n=e.multiple,i=n?t:[t],r=this.select.cachedOptions.indexOf(this),o=i.indexOf(this);r>-1&&o<0&&this.select.cachedOptions.splice(r,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},c=u,h=n(0),d=Object(h["a"])(c,i,r,!1,null,null,null);d.options.__file="packages/select/src/option.vue";t["a"]=d.exports},4:function(e,t){e.exports=n(9800)},54:function(e,t,n){"use strict";n.r(t);var i=n(33);i["a"].install=function(e){e.component(i["a"].name,i["a"])},t["default"]=i["a"]}})},1385:function(e,t,n){"use strict";var i=n(9539);e.exports=function(e,t,n){for(var r=e.length-1;r>=0;r--)if(void 0!==e[r])try{n=i(e[r].iterator,t,n)}catch(o){t="throw",n=o}if("throw"===t)throw n;return n}},1548:function(e,t,n){"use strict";var i=n(4576),r=n(9039),o=n(9519),a=n(4215),s=i.structuredClone;e.exports=!!s&&!r(function(){if("DENO"===a&&o>92||"NODE"===a&&o>94||"BROWSER"===a&&o>97)return!1;var e=new ArrayBuffer(8),t=s(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength})},1612:function(e,t,n){n(4114),n(8111),n(1148),n(2489),n(7588),n(1701),n(8237),n(3579),e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=61)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",function(){return i})},15:function(e,t){e.exports=n(8121)},18:function(e,t){e.exports=n(1178)},21:function(e,t){e.exports=n(1056)},26:function(e,t){e.exports=n(9298)},3:function(e,t){e.exports=n(2125)},31:function(e,t){e.exports=n(9821)},41:function(e,t){e.exports=n(9496)},52:function(e,t){e.exports=n(544)},6:function(e,t){e.exports=n(5078)},61:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-cascader-panel",e.border&&"is-bordered"],on:{keydown:e.handleKeyDown}},e._l(e.menus,function(e,t){return n("cascader-menu",{key:t,ref:"menu",refInFor:!0,attrs:{index:t,nodes:e}})}),1)},r=[];i._withStripped=!0;var o,a,s=n(26),l=n.n(s),u=n(15),c=n.n(u),h=n(18),d=n.n(h),f=n(52),p=n.n(f),m=n(3),v=function(e){return e.stopPropagation()},g={inject:["panel"],components:{ElCheckbox:d.a,ElRadio:p.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some(function(t){return e.isInPath(t)})},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,n=this.node,i=this.isDisabled,r=this.config,o=r.multiple,a=r.checkStrictly;!a&&i||n.loading||(r.lazy&&!n.loaded?t.lazyLoad(n,function(){var t=e.isLeaf;if(t||e.handleExpand(),o){var i=!!t&&n.checked;e.handleMultiCheckChange(i)}}):t.handleExpand(n))},handleCheckChange:function(){var e=this.panel,t=this.value,n=this.node;e.handleCheckChange(t),e.handleExpand(n)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node,n=e[t.level-1]||{};return n.uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,n=this.isChecked,i=this.config,r=i.checkStrictly,o=i.multiple;return o?this.renderCheckbox(e):r?this.renderRadio(e):t&&n?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,n=this.isLeaf;return t.loading?this.renderLoadingIcon(e):n?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,n=this.config,i=this.isDisabled,r={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(r.nativeOn.click=v),e("el-checkbox",l()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:i}},r]))},renderRadio:function(e){var t=this.checkedValue,n=this.value,i=this.isDisabled;return Object(m["isEqual"])(n,t)&&(n=t),e("el-radio",{attrs:{value:t,label:n,disabled:i},on:{change:this.handleCheckChange},nativeOn:{click:v}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,n=this.node,i=t.renderLabelFn,r=i?i({node:n,data:n.data}):null;return e("span",{class:"el-cascader-node__label"},[r||n.label])}},render:function(e){var t=this,n=this.inActivePath,i=this.inCheckedPath,r=this.isChecked,o=this.isLeaf,a=this.isDisabled,s=this.config,u=this.nodeId,c=s.expandTrigger,h=s.checkStrictly,d=s.multiple,f=!h&&a,p={on:{}};return"click"===c?p.on.click=this.handleExpand:(p.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},p.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!o||a||h||d||(p.on.click=this.handleCheckChange),e("li",l()([{attrs:{role:"menuitem",id:u,"aria-expanded":n,tabindex:f?null:-1},class:{"el-cascader-node":!0,"is-selectable":h,"in-active-path":n,"in-checked-path":i,"is-active":r,"is-disabled":f}},p]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},y=g,b=n(0),_=Object(b["a"])(y,o,a,!1,null,null,null);_.options.__file="packages/cascader-panel/src/cascader-node.vue";var w,x,C=_.exports,k=n(6),S=n.n(k),O={name:"ElCascaderMenu",mixins:[S.a],inject:["panel"],components:{ElScrollbar:c.a,CascaderNode:C},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(m["generateId"])()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,n=this.hoverTimer,i=this.$refs.hoverZone;if(t&&i)if(t.contains(e.target)){clearTimeout(n);var r=this.$el.getBoundingClientRect(),o=r.left,a=e.clientX-o,s=this.$el,l=s.offsetWidth,u=s.offsetHeight,c=t.offsetTop,h=c+t.offsetHeight;i.innerHTML='\n \n \n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,i={on:{}};n&&(i.on.expand=this.handleExpand);var r=this.nodes.map(function(n,r){var o=n.hasChildren;return e("cascader-node",l()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+r,"aria-haspopup":o,"aria-owns":o?t:null}},i]))});return[].concat(r,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,i={nativeOn:{}};return this.panel.isHoverMenu&&(i.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",l()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},i]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},E=O,$=Object(b["a"])(E,w,x,!1,null,null,null);$.options.__file="packages/cascader-panel/src/cascader-menu.vue";var D=$.exports,T=n(21),P=function(){function e(e,t){for(var n=0;n1?t-1:0),i=1;i1?i-1:0),o=1;o0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},P(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,i=n.disabled,r=n.checkStrictly;return e[i]||!r&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,i=this.children,r=this.config,o=r.lazy,a=r.leaf;if(o){var s=Object(T["isDef"])(e[a])?e[a]:!!t&&!i.length;return this.hasChildren=!s,s}return!n}}]),e}(),A=I;function N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var L=function e(t,n){return t.reduce(function(t,i){return i.isLeaf?t.push(i):(!n&&t.push(i),t=t.concat(e(i.children,n))),t},[])},F=function(){function e(t,n){N(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(m["coerceTruthyValueToArray"])(e),this.nodes=e.map(function(e){return new A(e,t.config)}),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new A(e,this.config,t),i=t?t.children:this.nodes;i.push(n)},e.prototype.appendNodes=function(e,t){var n=this;e=Object(m["coerceTruthyValueToArray"])(e),e.forEach(function(e){return n.appendNode(e,t)})},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:L(this.nodes,e)},e.prototype.getNodeByValue=function(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter(function(t){return Object(m["valueEquals"])(t.path,e)||t.value===e});return t&&t.length?t[0]:null},e}(),R=F,B=n(9),V=n.n(B),z=n(41),H=n.n(z),W=n(31),q=n.n(W),U=Object.assign||function(e){for(var t=1;t0){var l=n.store.getNodeByValue(o);l.data[s]||n.lazyLoad(l,function(){n.handleExpand(l)}),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(i)};i.lazyLoad(e,r)},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map(function(e){return e.getValueByOption()})},scrollIntoView:function(){if(!this.$isServer){var e=this.$refs.menu||[];e.forEach(function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),i=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");q()(n,i)}})}},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue,n=this.multiple;if(n){var i=this.getFlattedNodes(e);return i.filter(function(e){return e.checked})}return this.isEmptyValue(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,i=e.emitPath;n?(this.getCheckedNodes(t).filter(function(e){return!e.isDisabled}).forEach(function(e){return e.doCheck(!1)}),this.calculateMultiCheckedValue()):this.checkedValue=i?[]:null}}},te=ee,ne=Object(b["a"])(te,i,r,!1,null,null,null);ne.options.__file="packages/cascader-panel/src/cascader-panel.vue";var ie=ne.exports;ie.install=function(e){e.component(ie.name,ie)};t["default"]=ie},9:function(e,t){e.exports=n(8809)}})},1625:function(e,t,n){"use strict";var i=n(9504);e.exports=i({}.isPrototypeOf)},1656:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,{A:function(){return i}})},1672:function(e,t,n){var i=n(2912),r=n(7294),o=n(8381),a=Object.defineProperty;t.f=n(5872)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},1698:function(e,t,n){"use strict";var i=n(6518),r=n(4204),o=n(9835),a=n(4916),s=!a("union")||!o("union");i({target:"Set",proto:!0,real:!0,forced:s},{union:r})},1701:function(e,t,n){"use strict";var i=n(6518),r=n(9565),o=n(9306),a=n(8551),s=n(1767),l=n(9462),u=n(6319),c=n(9539),h=n(684),d=n(4549),f=n(6395),p=!f&&!h("map",function(){}),m=!f&&!p&&d("map",TypeError),v=f||p||m,g=l(function(){var e=this.iterator,t=a(r(this.next,e)),n=this.done=!!t.done;if(!n)return u(e,this.mapper,[t.value,this.counter++],!0)});i({target:"Iterator",proto:!0,real:!0,forced:v},{map:function(e){a(this);try{o(e)}catch(t){c(this,"throw",t)}return m?r(m,this,e):new g(s(this),{mapper:e})}})},1767:function(e){"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},1783:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return he}});n(4114),n(8111),n(7588),n(1701);var i=n(5780),r=n(8296),o=(n(1148),/%[sdj%]/g),a=function(){};function s(){for(var e=arguments.length,t=Array(e),n=0;n=a)return e;switch(e){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(n){return"[Circular]"}default:return e}}),l=t[i];i()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},w={integer:function(e){return w.number(e)&&parseInt(e,10)===e},float:function(e){return w.number(e)&&!w.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear},number:function(e){return!isNaN(e)&&"number"===typeof e},object:function(e){return"object"===("undefined"===typeof e?"undefined":(0,r.A)(e))&&!w.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&!!e.match(_.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(_.url)},hex:function(e){return"string"===typeof e&&!!e.match(_.hex)}};function x(e,t,n,i,o){if(e.required&&void 0===t)g(e,t,n,i,o);else{var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=e.type;a.indexOf(l)>-1?w[l](t)||i.push(s(o.messages.types[l],e.fullField,e.type)):l&&("undefined"===typeof t?"undefined":(0,r.A)(t))!==e.type&&i.push(s(o.messages.types[l],e.fullField,e.type))}}var C=x;function k(e,t,n,i,r){var o="number"===typeof e.len,a="number"===typeof e.min,l="number"===typeof e.max,u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,h=null,d="number"===typeof t,f="string"===typeof t,p=Array.isArray(t);if(d?h="number":f?h="string":p&&(h="array"),!h)return!1;p&&(c=t.length),f&&(c=t.replace(u,"_").length),o?c!==e.len&&i.push(s(r.messages[h].len,e.fullField,e.len)):a&&!l&&ce.max?i.push(s(r.messages[h].max,e.fullField,e.max)):a&&l&&(ce.max)&&i.push(s(r.messages[h].range,e.fullField,e.min,e.max))}var S=k,O="enum";function E(e,t,n,i,r){e[O]=Array.isArray(e[O])?e[O]:[],-1===e[O].indexOf(t)&&i.push(s(r.messages[O],e.fullField,e[O].join(", ")))}var $=E;function D(e,t,n,i,r){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||i.push(s(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var o=new RegExp(e.pattern);o.test(t)||i.push(s(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}var T=D,P={required:g,whitespace:b,type:C,range:S,enum:$,pattern:T};function j(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t,"string")&&!e.required)return n();P.required(e,t,i,o,r,"string"),u(t,"string")||(P.type(e,t,i,o,r),P.range(e,t,i,o,r),P.pattern(e,t,i,o,r),!0===e.whitespace&&P.whitespace(e,t,i,o,r))}n(o)}var M=j;function I(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();P.required(e,t,i,o,r),void 0!==t&&P.type(e,t,i,o,r)}n(o)}var A=I;function N(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();P.required(e,t,i,o,r),void 0!==t&&(P.type(e,t,i,o,r),P.range(e,t,i,o,r))}n(o)}var L=N;function F(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();P.required(e,t,i,o,r),void 0!==t&&P.type(e,t,i,o,r)}n(o)}var R=F;function B(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();P.required(e,t,i,o,r),u(t)||P.type(e,t,i,o,r)}n(o)}var V=B;function z(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();P.required(e,t,i,o,r),void 0!==t&&(P.type(e,t,i,o,r),P.range(e,t,i,o,r))}n(o)}var H=z;function W(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();P.required(e,t,i,o,r),void 0!==t&&(P.type(e,t,i,o,r),P.range(e,t,i,o,r))}n(o)}var q=W;function U(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t,"array")&&!e.required)return n();P.required(e,t,i,o,r,"array"),u(t,"array")||(P.type(e,t,i,o,r),P.range(e,t,i,o,r))}n(o)}var K=U;function Y(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();P.required(e,t,i,o,r),void 0!==t&&P.type(e,t,i,o,r)}n(o)}var G=Y,X="enum";function J(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();P.required(e,t,i,o,r),t&&P[X](e,t,i,o,r)}n(o)}var Z=J;function Q(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t,"string")&&!e.required)return n();P.required(e,t,i,o,r),u(t,"string")||P.pattern(e,t,i,o,r)}n(o)}var ee=Q;function te(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();if(P.required(e,t,i,o,r),!u(t)){var s=void 0;s="number"===typeof t?new Date(t):t,P.type(e,s,i,o,r),s&&P.range(e,s.getTime(),i,o,r)}}n(o)}var ne=te;function ie(e,t,n,i,o){var a=[],s=Array.isArray(t)?"array":"undefined"===typeof t?"undefined":(0,r.A)(t);P.required(e,t,i,a,o,s),n(a)}var re=ie;function oe(e,t,n,i,r){var o=e.type,a=[],s=e.required||!e.required&&i.hasOwnProperty(e.field);if(s){if(u(t,o)&&!e.required)return n();P.required(e,t,i,a,r,o),u(t,o)||P.type(e,t,i,a,r)}n(a)}var ae=oe,se={string:M,method:A,number:L,boolean:R,regexp:V,integer:H,float:q,array:K,object:G,enum:Z,pattern:ee,date:ne,url:ae,hex:ae,email:ae,required:re};function le(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var ue=le();function ce(e){this.rules=null,this._messages=ue,this.define(e)}ce.prototype={messages:function(e){return e&&(this._messages=m(le(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==("undefined"===typeof e?"undefined":(0,r.A)(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,n=void 0;for(t in e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments[2],l=e,u=n,c=o;if("function"===typeof u&&(c=u,u={}),this.rules&&0!==Object.keys(this.rules).length){if(u.messages){var h=this.messages();h===ue&&(h=le()),m(h,u.messages),u.messages=h}else u.messages=this.messages();var d=void 0,v=void 0,g={},y=u.keys||Object.keys(this.rules);y.forEach(function(n){d=t.rules[n],v=l[n],d.forEach(function(r){var o=r;"function"===typeof o.transform&&(l===e&&(l=(0,i.A)({},l)),v=l[n]=o.transform(v)),o="function"===typeof o?{validator:o}:(0,i.A)({},o),o.validator=t.getValidationMethod(o),o.field=n,o.fullField=o.fullField||n,o.type=t.getType(o),o.validator&&(g[n]=g[n]||[],g[n].push({rule:o,value:v,source:l,field:n}))})});var b={};f(g,u,function(e,t){var n=e.rule,o=("object"===n.type||"array"===n.type)&&("object"===(0,r.A)(n.fields)||"object"===(0,r.A)(n.defaultField));function l(e,t){return(0,i.A)({},t,{fullField:n.fullField+"."+e})}function c(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=r;if(Array.isArray(c)||(c=[c]),c.length&&a("async-validator:",c),c.length&&n.message&&(c=[].concat(n.message)),c=c.map(p(n)),u.first&&c.length)return b[n.field]=1,t(c);if(o){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map(p(n)):u.error?[u.error(n,s(u.messages.required,n.field))]:[],t(c);var h={};if(n.defaultField)for(var d in e.value)e.value.hasOwnProperty(d)&&(h[d]=n.defaultField);for(var f in h=(0,i.A)({},h,e.rule.fields),h)if(h.hasOwnProperty(f)){var m=Array.isArray(h[f])?h[f]:[h[f]];h[f]=m.map(l.bind(null,f))}var v=new ce(h);v.messages(u.messages),e.rule.options&&(e.rule.options.messages=u.messages,e.rule.options.error=u.error),v.validate(e.value,e.rule.options||u,function(e){t(e&&e.length?c.concat(e):e)})}else t(c)}o=o&&(n.required||!n.required&&e.value),n.field=e.field;var h=n.validator(n,e.value,c,e.source,u);h&&h.then&&h.then(function(){return c()},function(e){return c(e)})},function(e){_(e)})}else c&&c();function _(e){var t=void 0,n=void 0,i=[],r={};function o(e){Array.isArray(e)?i=i.concat.apply(i,e):i.push(e)}for(t=0;tu)r(i,n=t[u++])&&(~a(c,n)||l(c,n));return c}},2071:function(e,t,n){"use strict";t.__esModule=!0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t["default"]=function(e){function t(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var p=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},m=(t.arrayFind=function(e,t){var n=p(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!o.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!o.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!o.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":i(e)))return e;var t=["transform","transition","animation"],n=["ms-","webkit-"];return t.forEach(function(t){var i=e[t];t&&i&&n.forEach(function(n){e[n+t]=i})}),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,a.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,a.isObject)(e),i=(0,a.isObject)(t);return n&&i?JSON.stringify(e)===JSON.stringify(t):!n&&!i&&String(e)===String(t)}),v=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var n=0;n",d="<",f="prototype",p="script",m=c("IE_PROTO"),v=function(){},g=function(e){return d+p+h+e+d+"/"+p+h},y=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=u("iframe"),n="java"+p+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},_=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}_="undefined"!=typeof document?document.domain&&i?y(i):b():y(i);var e=a.length;while(e--)delete _[f][a[e]];return _()};s[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(v[f]=r(e),n=new v,v[f]=null,n[m]=e):n=_(),void 0===t?n:o.f(n,t)}},2380:function(e,t,n){"use strict";n(4114),n(8111),n(7588),t.__esModule=!0;var i=n(6674),r=a(i),o=n(3157);function a(e){return e&&e.__esModule?e:{default:e}}var s=!1,l=!1,u=void 0,c=function(){if(!r.default.prototype.$isServer){var e=d.modalDom;return e?s=!0:(s=!1,e=document.createElement("div"),d.modalDom=e,e.addEventListener("touchmove",function(e){e.preventDefault(),e.stopPropagation()}),e.addEventListener("click",function(){d.doOnModalClick&&d.doOnModalClick()})),e}},h={},d={modalFade:!0,getInstance:function(e){return h[e]},register:function(e,t){e&&t&&(h[e]=t)},deregister:function(e){e&&(h[e]=null,delete h[e])},nextZIndex:function(){return d.zIndex++},modalStack:[],doOnModalClick:function(){var e=d.modalStack[d.modalStack.length-1];if(e){var t=d.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,n,i,a){if(!r.default.prototype.$isServer&&e&&void 0!==t){this.modalFade=a;for(var l=this.modalStack,u=0,h=l.length;u0){var i=t[t.length-1];if(i.id===e){if(i.modalClass){var r=i.modalClass.trim().split(/\s+/);r.forEach(function(e){return(0,o.removeClass)(n,e)})}t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(var a=t.length-1;a>=0;a--)if(t[a].id===e){t.splice(a,1);break}}0===t.length&&(this.modalFade&&(0,o.addClass)(n,"v-modal-leave"),setTimeout(function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",d.modalDom=void 0),(0,o.removeClass)(n,"v-modal-leave")},200))}};Object.defineProperty(d,"zIndex",{configurable:!0,get:function(){return l||(u=u||(r.default.prototype.$ELEMENT||{}).zIndex||2e3,l=!0),u},set:function(e){u=e}});var f=function(){if(!r.default.prototype.$isServer&&d.modalStack.length>0){var e=d.modalStack[d.modalStack.length-1];if(!e)return;var t=d.getInstance(e.id);return t}};r.default.prototype.$isServer||window.addEventListener("keydown",function(e){if(27===e.keyCode){var t=f();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}}),t["default"]=d},2381:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=87)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",function(){return i})},10:function(e,t){e.exports=n(1227)},2:function(e,t){e.exports=n(3157)},22:function(e,t){e.exports=n(3670)},3:function(e,t){e.exports=n(2125)},30:function(e,t,n){"use strict";var i=n(2),r=n(3);t["a"]={bind:function(e,t,n){var o=null,a=void 0,s=Object(r["isMac"])()?100:200,l=function(){return n.context[t.expression].apply()},u=function(){Date.now()-a=0&&e===parseInt(e,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);if(void 0!==t){if(isNaN(t))return;if(this.stepStrictly){var n=this.getPrecision(this.step),i=Math.pow(10,n);t=Math.round(t/this.step)*i*this.step/i}void 0!==this.precision&&(t=this.toPrecision(t,this.precision))}t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)this.max},numPrecision:function(){var e=this.value,t=this.step,n=this.getPrecision,i=this.precision,r=n(t);return void 0!==i?(r>i&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),i):Math.max(n(e),r)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var e=this.currentValue;if("number"===typeof e){if(this.stepStrictly){var t=this.getPrecision(this.step),n=Math.pow(10,t);e=Math.round(e/this.step)*n*this.step/n}void 0!==this.precision&&(e=e.toFixed(this.precision))}return e}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.numPrecision),parseFloat(Math.round(e*Math.pow(10,t))/Math.pow(10,t))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),n=t.indexOf("."),i=0;return-1!==n&&(i=t.length-n-1),i},_increase:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e+n*t)/n)},_decrease:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e-n*t)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;"number"===typeof e&&void 0!==this.precision&&(e=this.toPrecision(e,this.precision)),e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){if(this.$refs&&this.$refs.input){var e=this.$refs.input.$refs.input;e.setAttribute("aria-valuenow",this.currentValue)}}},h=c,d=n(0),f=Object(d["a"])(h,i,r,!1,null,null,null);f.options.__file="packages/input-number/src/input-number.vue";var p=f.exports;p.install=function(e){e.component(p.name,p)};t["default"]=p}})},2428:function(e,t,n){"use strict";n(4114),n(8111),n(7588),t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var i=n(3606),r=a(i),o=n(7534);function a(e){return e&&e.__esModule?e:{default:e}}var s="undefined"===typeof window,l=function(e){var t=e,n=Array.isArray(t),i=0;for(t=n?t:t[Symbol.iterator]();;){var r;if(n){if(i>=t.length)break;r=t[i++]}else{if(i=t.next(),i.done)break;r=i.value}var o=r,a=o.target.__resizeListeners__||[];a.length&&a.forEach(function(e){e()})}};t.addResizeListener=function(e,t){s||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new r.default((0,o.debounce)(16,l)),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},2451:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},2456:function(e){var t,n,i,r,o,a,s,l,u,c,h,d,f,p,m,v=!1;function g(){if(!v){v=!0;var e=navigator.userAgent,g=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(d=/\b(iPhone|iP[ao]d)/.exec(e),f=/\b(iP[ao]d)/.exec(e),c=/Android/i.exec(e),p=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),h=!!/Win64/.exec(e),g){t=g[1]?parseFloat(g[1]):g[5]?parseFloat(g[5]):NaN,t&&document&&document.documentMode&&(t=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(e);a=b?parseFloat(b[1])+4:t,n=g[2]?parseFloat(g[2]):NaN,i=g[3]?parseFloat(g[3]):NaN,r=g[4]?parseFloat(g[4]):NaN,r?(g=/(?:Chrome\/(\d+\.\d+))/.exec(e),o=g&&g[1]?parseFloat(g[1]):NaN):o=NaN}else t=n=i=o=r=NaN;if(y){if(y[1]){var _=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);s=!_||parseFloat(_[1].replace("_","."))}else s=!1;l=!!y[2],u=!!y[3]}else s=l=u=!1}}var y={ie:function(){return g()||t},ieCompatibilityMode:function(){return g()||a>t},ie64:function(){return y.ie()&&h},firefox:function(){return g()||n},opera:function(){return g()||i},webkit:function(){return g()||r},safari:function(){return y.webkit()},chrome:function(){return g()||o},windows:function(){return g()||l},osx:function(){return g()||s},linux:function(){return g()||u},iphone:function(){return g()||d},mobile:function(){return g()||d||f||c||m},nativeApp:function(){return g()||p},android:function(){return g()||c},ipad:function(){return g()||f}};e.exports=y},2467:function(e,t){"use strict";t.__esModule=!0,t["default"]={el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},empty:{description:"暂无数据"}}}},2469:function(e,t,n){n(2613)("asyncIterator")},2475:function(e,t,n){"use strict";var i=n(6518),r=n(8527),o=n(4916),a=!o("isSupersetOf",function(e){return!e});i({target:"Set",proto:!0,real:!0,forced:a},{isSupersetOf:r})},2489:function(e,t,n){"use strict";var i=n(6518),r=n(9565),o=n(9306),a=n(8551),s=n(1767),l=n(9462),u=n(6319),c=n(6395),h=n(9539),d=n(684),f=n(4549),p=!c&&!d("filter",function(){}),m=!c&&!p&&f("filter",TypeError),v=c||p||m,g=l(function(){var e,t,n,i=this.iterator,o=this.predicate,s=this.next;while(1){if(e=a(r(s,i)),t=this.done=!!e.done,t)return;if(n=e.value,u(i,o,[n,this.counter++],!0))return n}});i({target:"Iterator",proto:!0,real:!0,forced:v},{filter:function(e){a(this);try{o(e)}catch(t){h(this,"throw",t)}return m?r(m,this,e):new g(s(this),{predicate:e})}})},2499:function(e){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},2500:function(e,t,n){"use strict";var i=n(8849),r=n(9786),o=n(3070),a=n(4632),s=n(2833),l=n(1199),u=n(1123),c=n(6870),h=n(5413)("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",m="values",v=function(){return this};e.exports=function(e,t,n,g,y,b,_){l(n,t,g);var w,x,C,k=function(e){if(!d&&e in $)return $[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",O=y==m,E=!1,$=e.prototype,D=$[h]||$[f]||y&&$[y],T=D||k(y),P=y?O?k("entries"):T:void 0,j="Array"==t&&$.entries||D;if(j&&(C=c(j.call(new e)),C!==Object.prototype&&C.next&&(u(C,S,!0),i||"function"==typeof C[h]||a(C,h,v))),O&&D&&D.name!==m&&(E=!0,T=function(){return D.call(this)}),i&&!_||!d&&!E&&$[h]||a($,h,T),s[t]=T,s[S]=v,y)if(w={values:O?T:k(m),keys:b?T:k(p),entries:P},_)for(x in w)x in $||o($,x,w[x]);else r(r.P+r.F*(d||E),t,w);return w}},2529:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},2603:function(e,t,n){"use strict";var i=n(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:i(e)}},2613:function(e,t,n){var i=n(6903),r=n(6791),o=n(8849),a=n(1275),s=n(1672).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},2652:function(e,t,n){"use strict";var i=n(6080),r=n(9565),o=n(8551),a=n(6823),s=n(4209),l=n(6198),u=n(1625),c=n(81),h=n(851),d=n(9539),f=TypeError,p=function(e,t){this.stopped=e,this.result=t},m=p.prototype;e.exports=function(e,t,n){var v,g,y,b,_,w,x,C=n&&n.that,k=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_RECORD),O=!(!n||!n.IS_ITERATOR),E=!(!n||!n.INTERRUPTED),$=i(t,C),D=function(e){return v&&d(v,"normal"),new p(!0,e)},T=function(e){return k?(o(e),E?$(e[0],e[1],D):$(e[0],e[1])):E?$(e,D):$(e)};if(S)v=e.iterator;else if(O)v=e;else{if(g=h(e),!g)throw new f(a(e)+" is not iterable");if(s(g)){for(y=0,b=l(e);b>y;y++)if(_=T(e[y]),_&&u(m,_))return _;return new p(!1)}v=c(e,g)}w=S?e.next:v.next;while(!(x=r(w,v)).done){try{_=T(x.value)}catch(P){d(v,"throw",P)}if("object"==typeof _&&_&&u(m,_))return _}return new p(!1)}},2672:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=138)}({138:function(e,t,n){"use strict";n.r(t);var i=n(5),r=n.n(i),o=n(19),a=n.n(o),s=n(2),l=n(3),u=n(7),c=n.n(u),h={name:"ElTooltip",mixins:[r.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(l["generateId"])(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new c.a({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=a()(200,function(){return e.handleClosePopper()}))},render:function(e){var t=this;this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var i=n.data=n.data||{};return i.staticClass=this.addTooltipClass(i.staticClass),n},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(s["on"])(this.referenceElm,"mouseenter",this.show),Object(s["on"])(this.referenceElm,"mouseleave",this.hide),Object(s["on"])(this.referenceElm,"focus",function(){if(e.$slots.default&&e.$slots.default.length){var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}else e.handleFocus()}),Object(s["on"])(this.referenceElm,"blur",this.handleBlur),Object(s["on"])(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick(function(){e.value&&e.updatePopper()})},watch:{focusing:function(e){e?Object(s["addClass"])(this.referenceElm,"focusing"):Object(s["removeClass"])(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(e){return e?"el-tooltip "+e.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout(function(){e.showPopper=!0},this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout(function(){e.showPopper=!1},this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n0?this._openTimer=setTimeout(function(){t._openTimer=null,t.doOpen(n)},i):this.doOpen(n)},doOpen:function(e){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var t=this.$el,n=e.modal,i=e.zIndex;if(i&&(l.default.zIndex=i),n&&(this._closing&&(l.default.closeModal(this._popupId),this._closing=!1),l.default.openModal(this._popupId,l.default.nextZIndex(),this.modalAppendToBody?void 0:t,e.modalClass,e.modalFade),e.lockScroll)){this.withoutHiddenClass=!(0,h.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,h.getStyle)(document.body,"paddingRight"),10)),p=(0,c.default)();var r=document.documentElement.clientHeight0&&(r||"scroll"===o)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+p+"px"),(0,h.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(t).position&&(t.style.position="absolute"),t.style.zIndex=l.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout(function(){e._closeTimer=null,e.doClose()},t):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){l.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,h.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},t.PopupManager=l.default},2777:function(e,t,n){"use strict";var i=n(9565),r=n(34),o=n(757),a=n(5966),s=n(4270),l=n(8227),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!r(e)||o(e))return e;var n,l=a(e,c);if(l){if(void 0===t&&(t="default"),n=i(l,e,t),!r(n)||o(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},2787:function(e,t,n){"use strict";var i=n(9297),r=n(4901),o=n(8981),a=n(6119),s=n(2211),l=a("IE_PROTO"),u=Object,c=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=o(e);if(i(t,l))return t[l];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof u?c:null}},2796:function(e,t,n){"use strict";var i=n(9039),r=n(4901),o=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n===c||n!==u&&(r(t)?i(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},2806:function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var i=n(2467),r=h(i),o=n(6674),a=h(o),s=n(4679),l=h(s),u=n(2071),c=h(u);function h(e){return e&&e.__esModule?e:{default:e}}var d=(0,c.default)(a.default),f=r.default,p=!1,m=function(){var e=Object.getPrototypeOf(this||a.default).$t;if("function"===typeof e&&a.default.locale)return p||(p=!0,a.default.locale(a.default.config.lang,(0,l.default)(f,a.default.locale(a.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},v=t.t=function(e,t){var n=m.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var i=e.split("."),r=f,o=0,a=i.length;o-1?"center "+n:n+" center"}},appendArrow:function(e){var t=void 0;if(!this.appended){for(var n in this.appended=!0,e.attributes)if(/^_v-/.test(e.attributes[n].name)){t=e.attributes[n].name;break}var i=document.createElement("div");t&&i.setAttribute(t,""),i.setAttribute("x-arrow",""),i.className="popper__arrow",e.appendChild(i)}}},beforeDestroy:function(){this.doDestroy(!0),this.popperElm&&this.popperElm.parentNode===document.body&&(this.popperElm.removeEventListener("click",l),document.body.removeChild(this.popperElm))},deactivated:function(){this.$options.beforeDestroy[0].call(this)}}},3025:function(e,t,n){n(8957),n(4345),n(2469),n(5529),e.exports=n(6791).Symbol},3035:function(e,t,n){"use strict";var i,r;n(8111),n(2489),n(7588),n(1701);"function"===typeof Symbol&&Symbol.iterator; +function o(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var a=document.createElement("div");a.setAttribute(n,"return;"),o="function"===typeof a[n]}return!o&&i&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}r.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=o},616:function(e,t,n){"use strict";var i=n(9039);e.exports=!i(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},655:function(e,t,n){"use strict";var i=n(6955),r=String;e.exports=function(e){if("Symbol"===i(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},674:function(e,t,n){e.exports={default:n(7719),__esModule:!0}},679:function(e,t,n){"use strict";var i=n(1625),r=TypeError;e.exports=function(e,t){if(i(t,e))return e;throw new r("Incorrect invocation")}},684:function(e){"use strict";e.exports=function(e,t){var n="function"==typeof Iterator&&Iterator.prototype[e];if(n)try{n.call({next:null},t).next()}catch(i){return!0}}},741:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var i=+e;return(i>0?n:t)(i)}},747:function(e,t,n){"use strict";var i=n(6699),r=n(6193),o=n(4659),a=Error.captureStackTrace;e.exports=function(e,t,n,s){o&&(a?a(e,t):i(e,"stack",r(n,s)))}},757:function(e,t,n){"use strict";var i=n(7751),r=n(4901),o=n(1625),a=n(7040),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return r(t)&&o(t.prototype,s(e))}},845:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,{A:function(){return i}})},851:function(e,t,n){"use strict";var i=n(6955),r=n(5966),o=n(4117),a=n(6269),s=n(8227),l=s("iterator");e.exports=function(e){if(!o(e))return r(e,l)||r(e,"@@iterator")||a[i(e)]}},1056:function(e,t){"use strict";function n(e){return void 0!==e&&null!==e}function i(e){var t=/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi;return t.test(e)}t.__esModule=!0,t.isDef=n,t.isKorean=i},1072:function(e,t,n){"use strict";var i=n(1828),r=n(8727);e.exports=Object.keys||function(e){return i(e,r)}},1084:function(e,t,n){var i=n(4194);e.exports=Array.isArray||function(e){return"Array"==i(e)}},1108:function(e,t,n){"use strict";var i=n(6955);e.exports=function(e){var t=i(e);return"BigInt64Array"===t||"BigUint64Array"===t}},1120:function(e,t,n){n(8111),n(1701),e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=104)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",function(){return i})},104:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-progress",class:["el-progress--"+e.type,e.status?"is-"+e.status:"",{"el-progress--without-text":!e.showText,"el-progress--text-inside":e.textInside}],attrs:{role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"}},["line"===e.type?n("div",{staticClass:"el-progress-bar"},[n("div",{staticClass:"el-progress-bar__outer",style:{height:e.strokeWidth+"px",backgroundColor:e.defineBackColor}},[n("div",{staticClass:"el-progress-bar__inner",style:e.barStyle},[e.showText&&e.textInside?n("div",{staticClass:"el-progress-bar__innerText",style:{color:e.textColor}},[e._v(e._s(e.content))]):e._e()])])]):n("div",{staticClass:"el-progress-circle",style:{height:e.width+"px",width:e.width+"px"}},[n("svg",{attrs:{viewBox:"0 0 100 100"}},[n("path",{staticClass:"el-progress-circle__track",style:e.trailPathStyle,attrs:{d:e.trackPath,stroke:e.defineBackColor,"stroke-width":e.relativeStrokeWidth,fill:"none"}}),n("path",{staticClass:"el-progress-circle__path",style:e.circlePathStyle,attrs:{d:e.trackPath,stroke:e.stroke,fill:"none","stroke-linecap":e.strokeLinecap,"stroke-width":e.percentage?e.relativeStrokeWidth:0}})])]),e.showText&&!e.textInside?n("div",{staticClass:"el-progress__text",style:{fontSize:e.progressTextSize+"px",color:e.textColor}},[e.status?n("i",{class:e.iconClass}):[e._v(e._s(e.content))]],2):e._e()])},r=[];i._withStripped=!0;var o={name:"ElProgress",props:{type:{type:String,default:"line",validator:function(e){return["line","circle","dashboard"].indexOf(e)>-1}},percentage:{type:Number,default:0,required:!0,validator:function(e){return e>=0&&e<=100}},status:{type:String,validator:function(e){return["success","exception","warning"].indexOf(e)>-1}},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},defineBackColor:{type:[String,Array,Function],default:"#ebeef5"},textColor:{type:[String,Array,Function],default:"#606266"},format:Function},computed:{barStyle:function(){var e={};return e.width=this.percentage+"%",e.backgroundColor=this.getCurrentColor(this.percentage),e},relativeStrokeWidth:function(){return(this.strokeWidth/this.width*100).toFixed(1)},radius:function(){return"circle"===this.type||"dashboard"===this.type?parseInt(50-parseFloat(this.relativeStrokeWidth)/2,10):0},trackPath:function(){var e=this.radius,t="dashboard"===this.type;return"\n M 50 50\n m 0 "+(t?"":"-")+e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"-":"")+2*e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"":"-")+2*e+"\n "},perimeter:function(){return 2*Math.PI*this.radius},rate:function(){return"dashboard"===this.type?.75:1},strokeDashoffset:function(){var e=-1*this.perimeter*(1-this.rate)/2;return e+"px"},trailPathStyle:function(){return{strokeDasharray:this.perimeter*this.rate+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset}},circlePathStyle:function(){return{strokeDasharray:this.perimeter*this.rate*(this.percentage/100)+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"}},stroke:function(){var e=void 0;if(this.color)e=this.getCurrentColor(this.percentage);else switch(this.status){case"success":e="#13ce66";break;case"exception":e="#ff4949";break;case"warning":e="#e6a23c";break;default:e="#20a0ff"}return e},iconClass:function(){return"warning"===this.status?"el-icon-warning":"line"===this.type?"success"===this.status?"el-icon-circle-check":"el-icon-circle-close":"success"===this.status?"el-icon-check":"el-icon-close"},progressTextSize:function(){return"line"===this.type?12+.4*this.strokeWidth:.111111*this.width+2},content:function(){return"function"===typeof this.format?this.format(this.percentage)||"":this.percentage+"%"}},methods:{getCurrentColor:function(e){return"function"===typeof this.color?this.color(e):"string"===typeof this.color?this.color:this.getLevelColor(e)},getLevelColor:function(e){for(var t=this.getColorArray().sort(function(e,t){return e.percentage-t.percentage}),n=0;ne)return t[n].color;return t[t.length-1].color},getColorArray:function(){var e=this.color,t=100/e.length;return e.map(function(e,n){return"string"===typeof e?{color:e,percentage:(n+1)*t}:e})}}},a=o,s=n(0),l=Object(s["a"])(a,i,r,!1,null,null,null);l.options.__file="packages/progress/src/progress.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},1123:function(e,t,n){var i=n(1672).f,r=n(3066),o=n(5413)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},1148:function(e,t,n){"use strict";var i=n(6518),r=n(9565),o=n(2652),a=n(9306),s=n(8551),l=n(1767),u=n(9539),c=n(4549),h=c("every",TypeError);i({target:"Iterator",proto:!0,real:!0,forced:h},{every:function(e){s(this);try{a(e)}catch(i){u(this,"throw",i)}if(h)return r(h,this,e);var t=l(this),n=0;return!o(t,function(t,i){if(!e(t,n++))return i()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},1178:function(e,t,n){n(4114),e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=91)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",function(){return i})},4:function(e,t){e.exports=n(9800)},91:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-checkbox",class:[e.border&&e.checkboxSize?"el-checkbox--"+e.checkboxSize:"",{"is-disabled":e.isDisabled},{"is-bordered":e.border},{"is-checked":e.isChecked}],attrs:{id:e.id}},[n("span",{staticClass:"el-checkbox__input",class:{"is-disabled":e.isDisabled,"is-checked":e.isChecked,"is-indeterminate":e.indeterminate,"is-focus":e.focus},attrs:{tabindex:!!e.indeterminate&&0,role:!!e.indeterminate&&"checkbox","aria-checked":!!e.indeterminate&&"mixed"}},[n("span",{staticClass:"el-checkbox__inner"}),e.trueLabel||e.falseLabel?n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",name:e.name,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var n=e.model,i=t.target,r=i.checked?e.trueLabel:e.falseLabel;if(Array.isArray(n)){var o=null,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",disabled:e.isDisabled,name:e.name},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var n=e.model,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e.label,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})]),e.$slots.default||e.label?n("span",{staticClass:"el-checkbox__label"},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2):e._e()])},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s={name:"ElCheckbox",mixins:[a.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.lengththis._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):(this.$emit("input",e),this.selfModel=e)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},isGroup:function(){var e=this.$parent;while(e){if("ElCheckboxGroup"===e.$options.componentName)return this._checkboxGroup=e,!0;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},isLimitDisabled:function(){var e=this._checkboxGroup,t=e.max,n=e.min;return!(!t&&!n)&&this.model.length>=t&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this.isGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._checkboxGroup.checkboxGroupSize||e}},props:{value:{},label:{},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number],id:String,controls:String,border:Boolean,size:String},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var n=void 0;n=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,e),this.$nextTick(function(){t.isGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])})}}},created:function(){this.checked&&this.addToStore()},mounted:function(){this.indeterminate&&this.$el.setAttribute("aria-controls",this.controls)},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}}},l=s,u=n(0),c=Object(u["a"])(l,i,r,!1,null,null,null);c.options.__file="packages/checkbox/src/checkbox.vue";var h=c.exports;h.install=function(e){e.component(h.name,h)};t["default"]=h}})},1181:function(e,t,n){"use strict";var i,r,o,a=n(8622),s=n(4576),l=n(34),u=n(6699),c=n(9297),h=n(7629),d=n(6119),f=n(421),p="Object already initialized",m=s.TypeError,v=s.WeakMap,g=function(e){return o(e)?r(e):i(e,{})},y=function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}};if(a||h.state){var b=h.state||(h.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,i=function(e,t){if(b.has(e))throw new m(p);return t.facade=e,b.set(e,t),t},r=function(e){return b.get(e)||{}},o=function(e){return b.has(e)}}else{var _=d("state");f[_]=!0,i=function(e,t){if(c(e,_))throw new m(p);return t.facade=e,u(e,_,t),t},r=function(e){return c(e,_)?e[_]:{}},o=function(e){return c(e,_)}}e.exports={set:i,get:r,has:o,enforce:g,getterFor:y}},1199:function(e,t,n){"use strict";var i=n(7780),r=n(5495),o=n(1123),a={};n(4632)(a,n(5413)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(a,{next:r(1,n)}),o(e,t+" Iterator")}},1227:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=75)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",function(){return i})},11:function(e,t){e.exports=n(6984)},21:function(e,t){e.exports=n(1056)},4:function(e,t){e.exports=n(9800)},75:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"is-exceed":e.inputExceed,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword}],on:{mouseenter:function(t){e.hovering=!0},mouseleave:function(t){e.hovering=!1}}},["textarea"!==e.type?[e.$slots.prepend?n("div",{staticClass:"el-input-group__prepend"},[e._t("prepend")],2):e._e(),"textarea"!==e.type?n("input",e._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:e.tabindex,type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"input",e.$attrs,!1)):e._e(),e.$slots.prefix||e.prefixIcon?n("span",{staticClass:"el-input__prefix"},[e._t("prefix"),e.prefixIcon?n("i",{staticClass:"el-input__icon",class:e.prefixIcon}):e._e()],2):e._e(),e.getSuffixVisible()?n("span",{staticClass:"el-input__suffix"},[n("span",{staticClass:"el-input__suffix-inner"},[e.showClear&&e.showPwdVisible&&e.isWordLimitVisible?e._e():[e._t("suffix"),e.suffixIcon?n("i",{staticClass:"el-input__icon",class:e.suffixIcon}):e._e()],e.showClear?n("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(e){e.preventDefault()},click:e.clear}}):e._e(),e.showPwdVisible?n("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:e.handlePasswordVisible}}):e._e(),e.isWordLimitVisible?n("span",{staticClass:"el-input__count"},[n("span",{staticClass:"el-input__count-inner"},[e._v("\n "+e._s(e.textLength)+"/"+e._s(e.upperLimit)+"\n ")])]):e._e()],2),e.validateState?n("i",{staticClass:"el-input__icon",class:["el-input__validateIcon",e.validateIcon]}):e._e()]):e._e(),e.$slots.append?n("div",{staticClass:"el-input-group__append"},[e._t("append")],2):e._e()]:n("textarea",e._b({ref:"textarea",staticClass:"el-textarea__inner",style:e.textareaStyle,attrs:{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"textarea",e.$attrs,!1)),e.isWordLimitVisible&&"textarea"===e.type?n("span",{staticClass:"el-input__count"},[e._v(e._s(e.textLength)+"/"+e._s(e.upperLimit))]):e._e()],2)},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s=n(11),l=n.n(s),u=void 0,c="\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",h=["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"];function d(e){var t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),i=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),r=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width")),o=h.map(function(e){return e+":"+t.getPropertyValue(e)}).join(";");return{contextStyle:o,paddingSize:i,borderSize:r,boxSizing:n}}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;u||(u=document.createElement("textarea"),document.body.appendChild(u));var i=d(e),r=i.paddingSize,o=i.borderSize,a=i.boxSizing,s=i.contextStyle;u.setAttribute("style",s+";"+c),u.value=e.value||e.placeholder||"";var l=u.scrollHeight,h={};"border-box"===a?l+=o:"content-box"===a&&(l-=r),u.value="";var f=u.scrollHeight-r;if(null!==t){var p=f*t;"border-box"===a&&(p=p+r+o),l=Math.max(p,l),h.minHeight=p+"px"}if(null!==n){var m=f*n;"border-box"===a&&(m=m+r+o),l=Math.min(m,l)}return h.height=l+"px",u.parentNode&&u.parentNode.removeChild(u),u=null,h}var p=n(9),m=n.n(p),v=n(21),g={name:"ElInput",componentName:"ElInput",mixins:[a.a,l.a],inheritAttrs:!1,inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},validateEvent:{type:Boolean,default:!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return m()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||void 0===this.value?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"===typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(e){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[e])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var e=this;this.$nextTick(function(){e.setNativeInputValue(),e.resizeTextarea(),e.updateIconOffset()})}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(e){this.focused=!1,this.$emit("blur",e),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var e=this.autosize,t=this.type;if("textarea"===t)if(e){var n=e.minRows,i=e.maxRows;this.textareaCalcStyle=f(this.$refs.textarea,n,i)}else this.textareaCalcStyle={minHeight:f(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var e=this.getInput();e&&e.value!==this.nativeInputValue&&(e.value=this.nativeInputValue)},handleFocus:function(e){this.focused=!0,this.$emit("focus",e)},handleCompositionStart:function(e){this.$emit("compositionstart",e),this.isComposing=!0},handleCompositionUpdate:function(e){this.$emit("compositionupdate",e);var t=e.target.value,n=t[t.length-1]||"";this.isComposing=!Object(v["isKorean"])(n)},handleCompositionEnd:function(e){this.$emit("compositionend",e),this.isComposing&&(this.isComposing=!1,this.handleInput(e))},handleInput:function(e){this.isComposing||e.target.value!==this.nativeInputValue&&(this.$emit("input",e.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(e){this.$emit("change",e.target.value)},calcIconOffset:function(e){var t=[].slice.call(this.$el.querySelectorAll(".el-input__"+e)||[]);if(t.length){for(var n=null,i=0;i=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(e,t){var n=this.select,i=n.remote,r=n.valueKey;if(!this.created&&!i){if(r&&"object"===("undefined"===typeof e?"undefined":l(e))&&"object"===("undefined"===typeof t?"undefined":l(t))&&e[r]===t[r])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(e,t){if(this.isObject){var n=this.select.valueKey;return Object(s["getValueByPath"])(e,n)===Object(s["getValueByPath"])(t,n)}return e===t},contains:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if(this.isObject){var n=this.select.valueKey;return e&&e.some(function(e){return Object(s["getValueByPath"])(e,n)===Object(s["getValueByPath"])(t,n)})}return e&&e.indexOf(t)>-1},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){this.visible=new RegExp(Object(s["escapeRegexpString"])(e),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var e=this.select,t=e.selected,n=e.multiple,i=n?t:[t],r=this.select.cachedOptions.indexOf(this),o=i.indexOf(this);r>-1&&o<0&&this.select.cachedOptions.splice(r,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},c=u,h=n(0),d=Object(h["a"])(c,i,r,!1,null,null,null);d.options.__file="packages/select/src/option.vue";t["a"]=d.exports},4:function(e,t){e.exports=n(9800)},54:function(e,t,n){"use strict";n.r(t);var i=n(33);i["a"].install=function(e){e.component(i["a"].name,i["a"])},t["default"]=i["a"]}})},1385:function(e,t,n){"use strict";var i=n(9539);e.exports=function(e,t,n){for(var r=e.length-1;r>=0;r--)if(void 0!==e[r])try{n=i(e[r].iterator,t,n)}catch(o){t="throw",n=o}if("throw"===t)throw n;return n}},1548:function(e,t,n){"use strict";var i=n(4576),r=n(9039),o=n(9519),a=n(4215),s=i.structuredClone;e.exports=!!s&&!r(function(){if("DENO"===a&&o>92||"NODE"===a&&o>94||"BROWSER"===a&&o>97)return!1;var e=new ArrayBuffer(8),t=s(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength})},1612:function(e,t,n){n(4114),n(8111),n(1148),n(2489),n(7588),n(1701),n(8237),n(3579),e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=61)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",function(){return i})},15:function(e,t){e.exports=n(8121)},18:function(e,t){e.exports=n(1178)},21:function(e,t){e.exports=n(1056)},26:function(e,t){e.exports=n(9298)},3:function(e,t){e.exports=n(2125)},31:function(e,t){e.exports=n(9821)},41:function(e,t){e.exports=n(9496)},52:function(e,t){e.exports=n(544)},6:function(e,t){e.exports=n(5078)},61:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-cascader-panel",e.border&&"is-bordered"],on:{keydown:e.handleKeyDown}},e._l(e.menus,function(e,t){return n("cascader-menu",{key:t,ref:"menu",refInFor:!0,attrs:{index:t,nodes:e}})}),1)},r=[];i._withStripped=!0;var o,a,s=n(26),l=n.n(s),u=n(15),c=n.n(u),h=n(18),d=n.n(h),f=n(52),p=n.n(f),m=n(3),v=function(e){return e.stopPropagation()},g={inject:["panel"],components:{ElCheckbox:d.a,ElRadio:p.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some(function(t){return e.isInPath(t)})},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,n=this.node,i=this.isDisabled,r=this.config,o=r.multiple,a=r.checkStrictly;!a&&i||n.loading||(r.lazy&&!n.loaded?t.lazyLoad(n,function(){var t=e.isLeaf;if(t||e.handleExpand(),o){var i=!!t&&n.checked;e.handleMultiCheckChange(i)}}):t.handleExpand(n))},handleCheckChange:function(){var e=this.panel,t=this.value,n=this.node;e.handleCheckChange(t),e.handleExpand(n)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node,n=e[t.level-1]||{};return n.uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,n=this.isChecked,i=this.config,r=i.checkStrictly,o=i.multiple;return o?this.renderCheckbox(e):r?this.renderRadio(e):t&&n?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,n=this.isLeaf;return t.loading?this.renderLoadingIcon(e):n?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,n=this.config,i=this.isDisabled,r={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(r.nativeOn.click=v),e("el-checkbox",l()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:i}},r]))},renderRadio:function(e){var t=this.checkedValue,n=this.value,i=this.isDisabled;return Object(m["isEqual"])(n,t)&&(n=t),e("el-radio",{attrs:{value:t,label:n,disabled:i},on:{change:this.handleCheckChange},nativeOn:{click:v}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,n=this.node,i=t.renderLabelFn,r=i?i({node:n,data:n.data}):null;return e("span",{class:"el-cascader-node__label"},[r||n.label])}},render:function(e){var t=this,n=this.inActivePath,i=this.inCheckedPath,r=this.isChecked,o=this.isLeaf,a=this.isDisabled,s=this.config,u=this.nodeId,c=s.expandTrigger,h=s.checkStrictly,d=s.multiple,f=!h&&a,p={on:{}};return"click"===c?p.on.click=this.handleExpand:(p.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},p.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!o||a||h||d||(p.on.click=this.handleCheckChange),e("li",l()([{attrs:{role:"menuitem",id:u,"aria-expanded":n,tabindex:f?null:-1},class:{"el-cascader-node":!0,"is-selectable":h,"in-active-path":n,"in-checked-path":i,"is-active":r,"is-disabled":f}},p]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},y=g,b=n(0),_=Object(b["a"])(y,o,a,!1,null,null,null);_.options.__file="packages/cascader-panel/src/cascader-node.vue";var w,x,C=_.exports,k=n(6),S=n.n(k),O={name:"ElCascaderMenu",mixins:[S.a],inject:["panel"],components:{ElScrollbar:c.a,CascaderNode:C},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(m["generateId"])()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,n=this.hoverTimer,i=this.$refs.hoverZone;if(t&&i)if(t.contains(e.target)){clearTimeout(n);var r=this.$el.getBoundingClientRect(),o=r.left,a=e.clientX-o,s=this.$el,l=s.offsetWidth,u=s.offsetHeight,c=t.offsetTop,h=c+t.offsetHeight;i.innerHTML='\n \n \n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,i={on:{}};n&&(i.on.expand=this.handleExpand);var r=this.nodes.map(function(n,r){var o=n.hasChildren;return e("cascader-node",l()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+r,"aria-haspopup":o,"aria-owns":o?t:null}},i]))});return[].concat(r,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,i={nativeOn:{}};return this.panel.isHoverMenu&&(i.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",l()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},i]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},E=O,$=Object(b["a"])(E,w,x,!1,null,null,null);$.options.__file="packages/cascader-panel/src/cascader-menu.vue";var D=$.exports,T=n(21),P=function(){function e(e,t){for(var n=0;n1?t-1:0),i=1;i1?i-1:0),o=1;o0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},P(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,i=n.disabled,r=n.checkStrictly;return e[i]||!r&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,i=this.children,r=this.config,o=r.lazy,a=r.leaf;if(o){var s=Object(T["isDef"])(e[a])?e[a]:!!t&&!i.length;return this.hasChildren=!s,s}return!n}}]),e}(),A=I;function N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var L=function e(t,n){return t.reduce(function(t,i){return i.isLeaf?t.push(i):(!n&&t.push(i),t=t.concat(e(i.children,n))),t},[])},F=function(){function e(t,n){N(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(m["coerceTruthyValueToArray"])(e),this.nodes=e.map(function(e){return new A(e,t.config)}),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new A(e,this.config,t),i=t?t.children:this.nodes;i.push(n)},e.prototype.appendNodes=function(e,t){var n=this;e=Object(m["coerceTruthyValueToArray"])(e),e.forEach(function(e){return n.appendNode(e,t)})},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:L(this.nodes,e)},e.prototype.getNodeByValue=function(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter(function(t){return Object(m["valueEquals"])(t.path,e)||t.value===e});return t&&t.length?t[0]:null},e}(),R=F,B=n(9),V=n.n(B),z=n(41),H=n.n(z),W=n(31),q=n.n(W),U=Object.assign||function(e){for(var t=1;t0){var l=n.store.getNodeByValue(o);l.data[s]||n.lazyLoad(l,function(){n.handleExpand(l)}),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(i)};i.lazyLoad(e,r)},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map(function(e){return e.getValueByOption()})},scrollIntoView:function(){if(!this.$isServer){var e=this.$refs.menu||[];e.forEach(function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),i=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");q()(n,i)}})}},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue,n=this.multiple;if(n){var i=this.getFlattedNodes(e);return i.filter(function(e){return e.checked})}return this.isEmptyValue(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,i=e.emitPath;n?(this.getCheckedNodes(t).filter(function(e){return!e.isDisabled}).forEach(function(e){return e.doCheck(!1)}),this.calculateMultiCheckedValue()):this.checkedValue=i?[]:null}}},te=ee,ne=Object(b["a"])(te,i,r,!1,null,null,null);ne.options.__file="packages/cascader-panel/src/cascader-panel.vue";var ie=ne.exports;ie.install=function(e){e.component(ie.name,ie)};t["default"]=ie},9:function(e,t){e.exports=n(8809)}})},1625:function(e,t,n){"use strict";var i=n(9504);e.exports=i({}.isPrototypeOf)},1672:function(e,t,n){var i=n(2912),r=n(7294),o=n(8381),a=Object.defineProperty;t.f=n(5872)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},1698:function(e,t,n){"use strict";var i=n(6518),r=n(4204),o=n(9835),a=n(4916),s=!a("union")||!o("union");i({target:"Set",proto:!0,real:!0,forced:s},{union:r})},1701:function(e,t,n){"use strict";var i=n(6518),r=n(9565),o=n(9306),a=n(8551),s=n(1767),l=n(9462),u=n(6319),c=n(9539),h=n(684),d=n(4549),f=n(6395),p=!f&&!h("map",function(){}),m=!f&&!p&&d("map",TypeError),v=f||p||m,g=l(function(){var e=this.iterator,t=a(r(this.next,e)),n=this.done=!!t.done;if(!n)return u(e,this.mapper,[t.value,this.counter++],!0)});i({target:"Iterator",proto:!0,real:!0,forced:v},{map:function(e){a(this);try{o(e)}catch(t){c(this,"throw",t)}return m?r(m,this,e):new g(s(this),{mapper:e})}})},1767:function(e){"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},1783:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return he}});n(4114),n(8111),n(7588),n(1701);var i=n(5780),r=n(8296),o=(n(1148),/%[sdj%]/g),a=function(){};function s(){for(var e=arguments.length,t=Array(e),n=0;n=a)return e;switch(e){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(n){return"[Circular]"}default:return e}}),l=t[i];i()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},w={integer:function(e){return w.number(e)&&parseInt(e,10)===e},float:function(e){return w.number(e)&&!w.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear},number:function(e){return!isNaN(e)&&"number"===typeof e},object:function(e){return"object"===("undefined"===typeof e?"undefined":(0,r.A)(e))&&!w.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&!!e.match(_.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(_.url)},hex:function(e){return"string"===typeof e&&!!e.match(_.hex)}};function x(e,t,n,i,o){if(e.required&&void 0===t)g(e,t,n,i,o);else{var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=e.type;a.indexOf(l)>-1?w[l](t)||i.push(s(o.messages.types[l],e.fullField,e.type)):l&&("undefined"===typeof t?"undefined":(0,r.A)(t))!==e.type&&i.push(s(o.messages.types[l],e.fullField,e.type))}}var C=x;function k(e,t,n,i,r){var o="number"===typeof e.len,a="number"===typeof e.min,l="number"===typeof e.max,u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,h=null,d="number"===typeof t,f="string"===typeof t,p=Array.isArray(t);if(d?h="number":f?h="string":p&&(h="array"),!h)return!1;p&&(c=t.length),f&&(c=t.replace(u,"_").length),o?c!==e.len&&i.push(s(r.messages[h].len,e.fullField,e.len)):a&&!l&&ce.max?i.push(s(r.messages[h].max,e.fullField,e.max)):a&&l&&(ce.max)&&i.push(s(r.messages[h].range,e.fullField,e.min,e.max))}var S=k,O="enum";function E(e,t,n,i,r){e[O]=Array.isArray(e[O])?e[O]:[],-1===e[O].indexOf(t)&&i.push(s(r.messages[O],e.fullField,e[O].join(", ")))}var $=E;function D(e,t,n,i,r){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||i.push(s(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var o=new RegExp(e.pattern);o.test(t)||i.push(s(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}var T=D,P={required:g,whitespace:b,type:C,range:S,enum:$,pattern:T};function j(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t,"string")&&!e.required)return n();P.required(e,t,i,o,r,"string"),u(t,"string")||(P.type(e,t,i,o,r),P.range(e,t,i,o,r),P.pattern(e,t,i,o,r),!0===e.whitespace&&P.whitespace(e,t,i,o,r))}n(o)}var M=j;function I(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();P.required(e,t,i,o,r),void 0!==t&&P.type(e,t,i,o,r)}n(o)}var A=I;function N(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();P.required(e,t,i,o,r),void 0!==t&&(P.type(e,t,i,o,r),P.range(e,t,i,o,r))}n(o)}var L=N;function F(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();P.required(e,t,i,o,r),void 0!==t&&P.type(e,t,i,o,r)}n(o)}var R=F;function B(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();P.required(e,t,i,o,r),u(t)||P.type(e,t,i,o,r)}n(o)}var V=B;function z(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();P.required(e,t,i,o,r),void 0!==t&&(P.type(e,t,i,o,r),P.range(e,t,i,o,r))}n(o)}var H=z;function W(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();P.required(e,t,i,o,r),void 0!==t&&(P.type(e,t,i,o,r),P.range(e,t,i,o,r))}n(o)}var q=W;function U(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t,"array")&&!e.required)return n();P.required(e,t,i,o,r,"array"),u(t,"array")||(P.type(e,t,i,o,r),P.range(e,t,i,o,r))}n(o)}var K=U;function Y(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();P.required(e,t,i,o,r),void 0!==t&&P.type(e,t,i,o,r)}n(o)}var G=Y,X="enum";function J(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();P.required(e,t,i,o,r),t&&P[X](e,t,i,o,r)}n(o)}var Z=J;function Q(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t,"string")&&!e.required)return n();P.required(e,t,i,o,r),u(t,"string")||P.pattern(e,t,i,o,r)}n(o)}var ee=Q;function te(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();if(P.required(e,t,i,o,r),!u(t)){var s=void 0;s="number"===typeof t?new Date(t):t,P.type(e,s,i,o,r),s&&P.range(e,s.getTime(),i,o,r)}}n(o)}var ne=te;function ie(e,t,n,i,o){var a=[],s=Array.isArray(t)?"array":"undefined"===typeof t?"undefined":(0,r.A)(t);P.required(e,t,i,a,o,s),n(a)}var re=ie;function oe(e,t,n,i,r){var o=e.type,a=[],s=e.required||!e.required&&i.hasOwnProperty(e.field);if(s){if(u(t,o)&&!e.required)return n();P.required(e,t,i,a,r,o),u(t,o)||P.type(e,t,i,a,r)}n(a)}var ae=oe,se={string:M,method:A,number:L,boolean:R,regexp:V,integer:H,float:q,array:K,object:G,enum:Z,pattern:ee,date:ne,url:ae,hex:ae,email:ae,required:re};function le(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var ue=le();function ce(e){this.rules=null,this._messages=ue,this.define(e)}ce.prototype={messages:function(e){return e&&(this._messages=m(le(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==("undefined"===typeof e?"undefined":(0,r.A)(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,n=void 0;for(t in e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments[2],l=e,u=n,c=o;if("function"===typeof u&&(c=u,u={}),this.rules&&0!==Object.keys(this.rules).length){if(u.messages){var h=this.messages();h===ue&&(h=le()),m(h,u.messages),u.messages=h}else u.messages=this.messages();var d=void 0,v=void 0,g={},y=u.keys||Object.keys(this.rules);y.forEach(function(n){d=t.rules[n],v=l[n],d.forEach(function(r){var o=r;"function"===typeof o.transform&&(l===e&&(l=(0,i.A)({},l)),v=l[n]=o.transform(v)),o="function"===typeof o?{validator:o}:(0,i.A)({},o),o.validator=t.getValidationMethod(o),o.field=n,o.fullField=o.fullField||n,o.type=t.getType(o),o.validator&&(g[n]=g[n]||[],g[n].push({rule:o,value:v,source:l,field:n}))})});var b={};f(g,u,function(e,t){var n=e.rule,o=("object"===n.type||"array"===n.type)&&("object"===(0,r.A)(n.fields)||"object"===(0,r.A)(n.defaultField));function l(e,t){return(0,i.A)({},t,{fullField:n.fullField+"."+e})}function c(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=r;if(Array.isArray(c)||(c=[c]),c.length&&a("async-validator:",c),c.length&&n.message&&(c=[].concat(n.message)),c=c.map(p(n)),u.first&&c.length)return b[n.field]=1,t(c);if(o){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map(p(n)):u.error?[u.error(n,s(u.messages.required,n.field))]:[],t(c);var h={};if(n.defaultField)for(var d in e.value)e.value.hasOwnProperty(d)&&(h[d]=n.defaultField);for(var f in h=(0,i.A)({},h,e.rule.fields),h)if(h.hasOwnProperty(f)){var m=Array.isArray(h[f])?h[f]:[h[f]];h[f]=m.map(l.bind(null,f))}var v=new ce(h);v.messages(u.messages),e.rule.options&&(e.rule.options.messages=u.messages,e.rule.options.error=u.error),v.validate(e.value,e.rule.options||u,function(e){t(e&&e.length?c.concat(e):e)})}else t(c)}o=o&&(n.required||!n.required&&e.value),n.field=e.field;var h=n.validator(n,e.value,c,e.source,u);h&&h.then&&h.then(function(){return c()},function(e){return c(e)})},function(e){_(e)})}else c&&c();function _(e){var t=void 0,n=void 0,i=[],r={};function o(e){Array.isArray(e)?i=i.concat.apply(i,e):i.push(e)}for(t=0;tu)r(i,n=t[u++])&&(~a(c,n)||l(c,n));return c}},2071:function(e,t,n){"use strict";t.__esModule=!0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t["default"]=function(e){function t(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var p=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},m=(t.arrayFind=function(e,t){var n=p(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!o.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!o.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!o.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":i(e)))return e;var t=["transform","transition","animation"],n=["ms-","webkit-"];return t.forEach(function(t){var i=e[t];t&&i&&n.forEach(function(n){e[n+t]=i})}),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,a.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,a.isObject)(e),i=(0,a.isObject)(t);return n&&i?JSON.stringify(e)===JSON.stringify(t):!n&&!i&&String(e)===String(t)}),v=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var n=0;n",d="<",f="prototype",p="script",m=c("IE_PROTO"),v=function(){},g=function(e){return d+p+h+e+d+"/"+p+h},y=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=u("iframe"),n="java"+p+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},_=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}_="undefined"!=typeof document?document.domain&&i?y(i):b():y(i);var e=a.length;while(e--)delete _[f][a[e]];return _()};s[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(v[f]=r(e),n=new v,v[f]=null,n[m]=e):n=_(),void 0===t?n:o.f(n,t)}},2380:function(e,t,n){"use strict";n(4114),n(8111),n(7588),t.__esModule=!0;var i=n(6674),r=a(i),o=n(3157);function a(e){return e&&e.__esModule?e:{default:e}}var s=!1,l=!1,u=void 0,c=function(){if(!r.default.prototype.$isServer){var e=d.modalDom;return e?s=!0:(s=!1,e=document.createElement("div"),d.modalDom=e,e.addEventListener("touchmove",function(e){e.preventDefault(),e.stopPropagation()}),e.addEventListener("click",function(){d.doOnModalClick&&d.doOnModalClick()})),e}},h={},d={modalFade:!0,getInstance:function(e){return h[e]},register:function(e,t){e&&t&&(h[e]=t)},deregister:function(e){e&&(h[e]=null,delete h[e])},nextZIndex:function(){return d.zIndex++},modalStack:[],doOnModalClick:function(){var e=d.modalStack[d.modalStack.length-1];if(e){var t=d.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,n,i,a){if(!r.default.prototype.$isServer&&e&&void 0!==t){this.modalFade=a;for(var l=this.modalStack,u=0,h=l.length;u0){var i=t[t.length-1];if(i.id===e){if(i.modalClass){var r=i.modalClass.trim().split(/\s+/);r.forEach(function(e){return(0,o.removeClass)(n,e)})}t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(var a=t.length-1;a>=0;a--)if(t[a].id===e){t.splice(a,1);break}}0===t.length&&(this.modalFade&&(0,o.addClass)(n,"v-modal-leave"),setTimeout(function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",d.modalDom=void 0),(0,o.removeClass)(n,"v-modal-leave")},200))}};Object.defineProperty(d,"zIndex",{configurable:!0,get:function(){return l||(u=u||(r.default.prototype.$ELEMENT||{}).zIndex||2e3,l=!0),u},set:function(e){u=e}});var f=function(){if(!r.default.prototype.$isServer&&d.modalStack.length>0){var e=d.modalStack[d.modalStack.length-1];if(!e)return;var t=d.getInstance(e.id);return t}};r.default.prototype.$isServer||window.addEventListener("keydown",function(e){if(27===e.keyCode){var t=f();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}}),t["default"]=d},2381:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=87)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",function(){return i})},10:function(e,t){e.exports=n(1227)},2:function(e,t){e.exports=n(3157)},22:function(e,t){e.exports=n(3670)},3:function(e,t){e.exports=n(2125)},30:function(e,t,n){"use strict";var i=n(2),r=n(3);t["a"]={bind:function(e,t,n){var o=null,a=void 0,s=Object(r["isMac"])()?100:200,l=function(){return n.context[t.expression].apply()},u=function(){Date.now()-a=0&&e===parseInt(e,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);if(void 0!==t){if(isNaN(t))return;if(this.stepStrictly){var n=this.getPrecision(this.step),i=Math.pow(10,n);t=Math.round(t/this.step)*i*this.step/i}void 0!==this.precision&&(t=this.toPrecision(t,this.precision))}t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)this.max},numPrecision:function(){var e=this.value,t=this.step,n=this.getPrecision,i=this.precision,r=n(t);return void 0!==i?(r>i&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),i):Math.max(n(e),r)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var e=this.currentValue;if("number"===typeof e){if(this.stepStrictly){var t=this.getPrecision(this.step),n=Math.pow(10,t);e=Math.round(e/this.step)*n*this.step/n}void 0!==this.precision&&(e=e.toFixed(this.precision))}return e}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.numPrecision),parseFloat(Math.round(e*Math.pow(10,t))/Math.pow(10,t))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),n=t.indexOf("."),i=0;return-1!==n&&(i=t.length-n-1),i},_increase:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e+n*t)/n)},_decrease:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e-n*t)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;"number"===typeof e&&void 0!==this.precision&&(e=this.toPrecision(e,this.precision)),e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){if(this.$refs&&this.$refs.input){var e=this.$refs.input.$refs.input;e.setAttribute("aria-valuenow",this.currentValue)}}},h=c,d=n(0),f=Object(d["a"])(h,i,r,!1,null,null,null);f.options.__file="packages/input-number/src/input-number.vue";var p=f.exports;p.install=function(e){e.component(p.name,p)};t["default"]=p}})},2428:function(e,t,n){"use strict";n(4114),n(8111),n(7588),t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var i=n(3606),r=a(i),o=n(7534);function a(e){return e&&e.__esModule?e:{default:e}}var s="undefined"===typeof window,l=function(e){var t=e,n=Array.isArray(t),i=0;for(t=n?t:t[Symbol.iterator]();;){var r;if(n){if(i>=t.length)break;r=t[i++]}else{if(i=t.next(),i.done)break;r=i.value}var o=r,a=o.target.__resizeListeners__||[];a.length&&a.forEach(function(e){e()})}};t.addResizeListener=function(e,t){s||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new r.default((0,o.debounce)(16,l)),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},2451:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},2456:function(e){var t,n,i,r,o,a,s,l,u,c,h,d,f,p,m,v=!1;function g(){if(!v){v=!0;var e=navigator.userAgent,g=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(d=/\b(iPhone|iP[ao]d)/.exec(e),f=/\b(iP[ao]d)/.exec(e),c=/Android/i.exec(e),p=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),h=!!/Win64/.exec(e),g){t=g[1]?parseFloat(g[1]):g[5]?parseFloat(g[5]):NaN,t&&document&&document.documentMode&&(t=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(e);a=b?parseFloat(b[1])+4:t,n=g[2]?parseFloat(g[2]):NaN,i=g[3]?parseFloat(g[3]):NaN,r=g[4]?parseFloat(g[4]):NaN,r?(g=/(?:Chrome\/(\d+\.\d+))/.exec(e),o=g&&g[1]?parseFloat(g[1]):NaN):o=NaN}else t=n=i=o=r=NaN;if(y){if(y[1]){var _=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);s=!_||parseFloat(_[1].replace("_","."))}else s=!1;l=!!y[2],u=!!y[3]}else s=l=u=!1}}var y={ie:function(){return g()||t},ieCompatibilityMode:function(){return g()||a>t},ie64:function(){return y.ie()&&h},firefox:function(){return g()||n},opera:function(){return g()||i},webkit:function(){return g()||r},safari:function(){return y.webkit()},chrome:function(){return g()||o},windows:function(){return g()||l},osx:function(){return g()||s},linux:function(){return g()||u},iphone:function(){return g()||d},mobile:function(){return g()||d||f||c||m},nativeApp:function(){return g()||p},android:function(){return g()||c},ipad:function(){return g()||f}};e.exports=y},2467:function(e,t){"use strict";t.__esModule=!0,t["default"]={el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},empty:{description:"暂无数据"}}}},2469:function(e,t,n){n(2613)("asyncIterator")},2475:function(e,t,n){"use strict";var i=n(6518),r=n(8527),o=n(4916),a=!o("isSupersetOf",function(e){return!e});i({target:"Set",proto:!0,real:!0,forced:a},{isSupersetOf:r})},2489:function(e,t,n){"use strict";var i=n(6518),r=n(9565),o=n(9306),a=n(8551),s=n(1767),l=n(9462),u=n(6319),c=n(6395),h=n(9539),d=n(684),f=n(4549),p=!c&&!d("filter",function(){}),m=!c&&!p&&f("filter",TypeError),v=c||p||m,g=l(function(){var e,t,n,i=this.iterator,o=this.predicate,s=this.next;while(1){if(e=a(r(s,i)),t=this.done=!!e.done,t)return;if(n=e.value,u(i,o,[n,this.counter++],!0))return n}});i({target:"Iterator",proto:!0,real:!0,forced:v},{filter:function(e){a(this);try{o(e)}catch(t){h(this,"throw",t)}return m?r(m,this,e):new g(s(this),{predicate:e})}})},2499:function(e){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},2500:function(e,t,n){"use strict";var i=n(8849),r=n(9786),o=n(3070),a=n(4632),s=n(2833),l=n(1199),u=n(1123),c=n(6870),h=n(5413)("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",m="values",v=function(){return this};e.exports=function(e,t,n,g,y,b,_){l(n,t,g);var w,x,C,k=function(e){if(!d&&e in $)return $[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",O=y==m,E=!1,$=e.prototype,D=$[h]||$[f]||y&&$[y],T=D||k(y),P=y?O?k("entries"):T:void 0,j="Array"==t&&$.entries||D;if(j&&(C=c(j.call(new e)),C!==Object.prototype&&C.next&&(u(C,S,!0),i||"function"==typeof C[h]||a(C,h,v))),O&&D&&D.name!==m&&(E=!0,T=function(){return D.call(this)}),i&&!_||!d&&!E&&$[h]||a($,h,T),s[t]=T,s[S]=v,y)if(w={values:O?T:k(m),keys:b?T:k(p),entries:P},_)for(x in w)x in $||o($,x,w[x]);else r(r.P+r.F*(d||E),t,w);return w}},2529:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},2603:function(e,t,n){"use strict";var i=n(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:i(e)}},2613:function(e,t,n){var i=n(6903),r=n(6791),o=n(8849),a=n(1275),s=n(1672).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},2652:function(e,t,n){"use strict";var i=n(6080),r=n(9565),o=n(8551),a=n(6823),s=n(4209),l=n(6198),u=n(1625),c=n(81),h=n(851),d=n(9539),f=TypeError,p=function(e,t){this.stopped=e,this.result=t},m=p.prototype;e.exports=function(e,t,n){var v,g,y,b,_,w,x,C=n&&n.that,k=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_RECORD),O=!(!n||!n.IS_ITERATOR),E=!(!n||!n.INTERRUPTED),$=i(t,C),D=function(e){return v&&d(v,"normal"),new p(!0,e)},T=function(e){return k?(o(e),E?$(e[0],e[1],D):$(e[0],e[1])):E?$(e,D):$(e)};if(S)v=e.iterator;else if(O)v=e;else{if(g=h(e),!g)throw new f(a(e)+" is not iterable");if(s(g)){for(y=0,b=l(e);b>y;y++)if(_=T(e[y]),_&&u(m,_))return _;return new p(!1)}v=c(e,g)}w=S?e.next:v.next;while(!(x=r(w,v)).done){try{_=T(x.value)}catch(P){d(v,"throw",P)}if("object"==typeof _&&_&&u(m,_))return _}return new p(!1)}},2672:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=138)}({138:function(e,t,n){"use strict";n.r(t);var i=n(5),r=n.n(i),o=n(19),a=n.n(o),s=n(2),l=n(3),u=n(7),c=n.n(u),h={name:"ElTooltip",mixins:[r.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(l["generateId"])(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new c.a({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=a()(200,function(){return e.handleClosePopper()}))},render:function(e){var t=this;this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var i=n.data=n.data||{};return i.staticClass=this.addTooltipClass(i.staticClass),n},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(s["on"])(this.referenceElm,"mouseenter",this.show),Object(s["on"])(this.referenceElm,"mouseleave",this.hide),Object(s["on"])(this.referenceElm,"focus",function(){if(e.$slots.default&&e.$slots.default.length){var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}else e.handleFocus()}),Object(s["on"])(this.referenceElm,"blur",this.handleBlur),Object(s["on"])(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick(function(){e.value&&e.updatePopper()})},watch:{focusing:function(e){e?Object(s["addClass"])(this.referenceElm,"focusing"):Object(s["removeClass"])(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(e){return e?"el-tooltip "+e.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout(function(){e.showPopper=!0},this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout(function(){e.showPopper=!1},this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n0?this._openTimer=setTimeout(function(){t._openTimer=null,t.doOpen(n)},i):this.doOpen(n)},doOpen:function(e){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var t=this.$el,n=e.modal,i=e.zIndex;if(i&&(l.default.zIndex=i),n&&(this._closing&&(l.default.closeModal(this._popupId),this._closing=!1),l.default.openModal(this._popupId,l.default.nextZIndex(),this.modalAppendToBody?void 0:t,e.modalClass,e.modalFade),e.lockScroll)){this.withoutHiddenClass=!(0,h.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,h.getStyle)(document.body,"paddingRight"),10)),p=(0,c.default)();var r=document.documentElement.clientHeight0&&(r||"scroll"===o)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+p+"px"),(0,h.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(t).position&&(t.style.position="absolute"),t.style.zIndex=l.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout(function(){e._closeTimer=null,e.doClose()},t):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){l.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,h.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},t.PopupManager=l.default},2777:function(e,t,n){"use strict";var i=n(9565),r=n(34),o=n(757),a=n(5966),s=n(4270),l=n(8227),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!r(e)||o(e))return e;var n,l=a(e,c);if(l){if(void 0===t&&(t="default"),n=i(l,e,t),!r(n)||o(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},2787:function(e,t,n){"use strict";var i=n(9297),r=n(4901),o=n(8981),a=n(6119),s=n(2211),l=a("IE_PROTO"),u=Object,c=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=o(e);if(i(t,l))return t[l];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof u?c:null}},2796:function(e,t,n){"use strict";var i=n(9039),r=n(4901),o=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n===c||n!==u&&(r(t)?i(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},2806:function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var i=n(2467),r=h(i),o=n(6674),a=h(o),s=n(4679),l=h(s),u=n(2071),c=h(u);function h(e){return e&&e.__esModule?e:{default:e}}var d=(0,c.default)(a.default),f=r.default,p=!1,m=function(){var e=Object.getPrototypeOf(this||a.default).$t;if("function"===typeof e&&a.default.locale)return p||(p=!0,a.default.locale(a.default.config.lang,(0,l.default)(f,a.default.locale(a.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},v=t.t=function(e,t){var n=m.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var i=e.split("."),r=f,o=0,a=i.length;o-1?"center "+n:n+" center"}},appendArrow:function(e){var t=void 0;if(!this.appended){for(var n in this.appended=!0,e.attributes)if(/^_v-/.test(e.attributes[n].name)){t=e.attributes[n].name;break}var i=document.createElement("div");t&&i.setAttribute(t,""),i.setAttribute("x-arrow",""),i.className="popper__arrow",e.appendChild(i)}}},beforeDestroy:function(){this.doDestroy(!0),this.popperElm&&this.popperElm.parentNode===document.body&&(this.popperElm.removeEventListener("click",l),document.body.removeChild(this.popperElm))},deactivated:function(){this.$options.beforeDestroy[0].call(this)}}},3025:function(e,t,n){n(8957),n(4345),n(2469),n(5529),e.exports=n(6791).Symbol},3035:function(e,t,n){"use strict";var i,r;n(8111),n(2489),n(7588),n(1701);"function"===typeof Symbol&&Symbol.iterator; /** * @fileOverview Kickass library to create and place poppers near their reference elements. * @version {{version}} @@ -52,4 +52,4 @@ function i(e){var t=Number(e.version.split(".")[0]);if(t>=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