From ec948b5496e789249ad432dcc4c17aa47048a113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E9=A6=99=E7=90=AA?= <624506849@qq.com> Date: Thu, 25 Jun 2026 16:52:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=BC=BA=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=B8=8E=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= =?UTF-8?q?=20-=20=E5=9C=A8=E5=A4=9A=E4=B8=AA=E7=BB=84=E4=BB=B6=E4=B8=AD?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E6=96=B0=E7=9A=84=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E5=92=8C=E6=96=B9=E6=B3=95=E4=BB=A5=E6=8F=90=E5=8D=87=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=80=A7=EF=BC=8C=E5=A6=82=E5=9C=A8=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=B8=AD=E5=BC=95=E5=85=A5=20=5FActiveTab=20?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E4=BB=A5=E7=AE=A1=E7=90=86=E6=B4=BB=E5=8A=A8?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E3=80=82=20-=20=E4=BC=98=E5=8C=96=E4=BA=86?= =?UTF-8?q?=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85=E5=92=8C=E5=95=86=E6=88=B7?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=9A=84=E6=94=B6=E8=97=8F=E9=80=BB=E8=BE=91?= =?UTF-8?q?=EF=BC=8C=E7=A1=AE=E4=BF=9D=E5=9C=A8=E6=9C=AA=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E4=B8=8B=E5=BC=95=E5=AF=BC=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E3=80=82=20-=20=E6=9B=B4=E6=96=B0=E4=BA=86?= =?UTF-8?q?=E8=BD=AE=E6=92=AD=E7=BB=84=E4=BB=B6=E7=9A=84=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E8=A7=A3=E6=9E=90=E9=80=BB=E8=BE=91=EF=BC=8C=E5=A2=9E=E5=BC=BA?= =?UTF-8?q?=E4=BA=86=E7=94=A8=E6=88=B7=E4=BD=93=E9=AA=8C=E3=80=82=20-=20?= =?UTF-8?q?=E6=94=B9=E8=BF=9B=E4=BA=86=E6=8A=95=E8=AF=89=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=92=8C=E6=94=B6=E8=97=8F=E5=88=97=E8=A1=A8=E7=9A=84=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=EF=BC=8C=E6=8F=90=E5=8D=87=E4=BA=86=E5=93=8D=E5=BA=94?= =?UTF-8?q?=E5=BC=8F=E5=B8=83=E5=B1=80=E5=92=8C=E5=8F=AF=E8=AF=BB=E6=80=A7?= =?UTF-8?q?=E3=80=82=20-=20=E5=9C=A8=E5=85=A8=E5=B1=80=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=B8=AD=E6=B7=BB=E5=8A=A0=E4=BA=86=E5=AF=B9=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E7=9A=84=E9=94=99=E8=AF=AF=E5=A4=84=E7=90=86?= =?UTF-8?q?=EF=BC=8C=E6=8F=90=E5=8D=87=E4=BA=86=E8=B0=83=E8=AF=95=E4=BD=93?= =?UTF-8?q?=E9=AA=8C=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/components/card/index.vue | 11 +- .../indexDecorate/modelList/Carousel.vue | 25 +++- buyer/src/pages/GoodsDetail.vue | 15 +- buyer/src/pages/Merchant.vue | 13 +- .../pages/home/memberCenter/ComplainList.vue | 50 +++++-- .../src/pages/home/memberCenter/Favorites.vue | 37 +++-- .../components/hotzone/components/Hotzone.vue | 27 +++- .../components/hotzone/components/Zone.vue | 8 +- .../components/hotzone/directives/addItem.js | 92 ++++++------ .../hotzone/directives/changeSize.js | 69 ++++----- .../components/hotzone/directives/dragItem.js | 73 +++++----- manager/src/components/hotzone/index.vue | 27 ++-- manager/src/components/lili-dialog/index.vue | 3 +- manager/src/utils/message.js | 19 ++- manager/src/utils/print.js | 35 +++++ manager/src/views/Main.vue | 20 +-- manager/src/views/custom-words/index.vue | 19 +-- .../src/views/distribution/distribution.vue | 11 +- manager/src/views/goods-unit/index.vue | 19 +-- .../src/views/goods/goods-review/index.vue | 19 +-- manager/src/views/login.vue | 36 ++++- manager/src/views/main-parts/header.vue | 24 ++-- .../src/views/main-parts/tags-page-opened.vue | 23 ++- manager/src/views/main.scss | 50 +++---- manager/src/views/member/benefit/index.vue | 8 +- manager/src/views/member/list/index.vue | 62 +++++++- .../src/views/member/list/memberDetail.scss | 11 ++ .../src/views/member/list/memberDetail.vue | 38 +++-- manager/src/views/member/point/point.vue | 32 ++++- manager/src/views/order/flow/paymentLog.vue | 8 -- manager/src/views/order/order/orderDetail.vue | 11 +- manager/src/views/order/order/orderList.vue | 6 +- .../views/page-decoration/wap/decorate.scss | 20 ++- .../views/page-decoration/wap/decorate.vue | 16 ++- .../src/views/page-decoration/wap/index.vue | 38 ++--- .../src/views/page-decoration/wap/style.scss | 25 +++- .../wap/template/tpl_banner.vue | 8 -- .../wap/template/tpl_goods.vue | 86 ++++++----- .../views/page/article-manage/articleList.vue | 20 ++- .../article-manage/template/setupHotWords.vue | 58 +++++--- .../promotions/coupon/coupon-receive.vue | 4 +- .../src/views/promotions/coupon/coupon.vue | 2 +- .../gift-card-cash-activity-add.vue | 10 +- .../gift-card-cash-activity.vue | 2 +- .../kanjia/kanjia-activity-add-goods.vue | 52 +++++-- .../points-goods-category.vue | 36 +++-- .../points-goods/points-goods-add.vue | 78 ++++++---- manager/src/views/sensitive-words/index.vue | 19 +-- manager/vue.config.js | 11 ++ seller/src/libs/util.js | 73 ++++++++-- seller/src/router/router.js | 28 +--- seller/src/styles/element.scss | 2 +- seller/src/utils/message.js | 11 ++ seller/src/views/Main.vue | 8 +- seller/src/views/home/home.scss | 32 +++-- seller/src/views/home/home.vue | 2 +- .../src/views/lili-components/affix-time.vue | 8 +- seller/src/views/login.vue | 35 ++++- .../main-components/tags-page-opened.vue | 15 ++ seller/src/views/main.scss | 16 ++- .../after-order/orderComplaintDetail.vue | 123 +++++++--------- .../views/promotion/coupon/coupon-receive.vue | 9 +- .../views/shop/hotzone/components/Hotzone.vue | 27 +++- .../views/shop/hotzone/components/Zone.vue | 8 +- .../views/shop/hotzone/directives/addItem.js | 92 ++++++------ .../shop/hotzone/directives/changeSize.js | 69 ++++----- .../views/shop/hotzone/directives/dragItem.js | 73 +++++----- seller/src/views/shop/hotzone/index.vue | 19 ++- seller/src/views/shop/modelForm.vue | 23 +-- .../shop/modelList/seckill-only-album.vue | 60 ++++---- seller/src/views/shop/modelList/seckill.vue | 60 ++++---- seller/src/views/shop/renovation.vue | 115 ++++++++++----- seller/src/views/shop/shopAddress.vue | 15 +- seller/src/views/shop/shopSetting.vue | 13 +- .../views/shop/system/clerk/clerkManage.vue | 135 ++++++++++++------ .../shop/system/role/storeRoleManage.vue | 22 ++- seller/src/views/shop/wap/decorate.scss | 17 ++- seller/src/views/shop/wap/decorate.vue | 16 ++- seller/src/views/shop/wap/index.vue | 38 ++--- seller/src/views/shop/wap/style.scss | 25 +++- .../views/shop/wap/template/tpl_banner.vue | 8 -- .../src/views/shop/wap/template/tpl_goods.vue | 86 ++++++----- seller/src/views/statistics/order.vue | 17 +-- seller/src/views/statistics/traffic.vue | 2 +- .../src/views/sys/oss-manage/ossManage.scss | 45 ++---- seller/src/views/sys/oss-manage/ossManage.vue | 58 ++++---- 86 files changed, 1741 insertions(+), 1050 deletions(-) create mode 100644 manager/src/utils/print.js diff --git a/buyer/src/components/card/index.vue b/buyer/src/components/card/index.vue index 49a0698a..4db1316e 100644 --- a/buyer/src/components/card/index.vue +++ b/buyer/src/components/card/index.vue @@ -50,12 +50,21 @@ export default { type: null, default: null, }, + _ActiveTab: { + type: Number, + default: 0, + }, }, data() { return { - isActive: 0, + isActive: this._ActiveTab, }; }, + watch: { + _ActiveTab(val) { + this.isActive = val; + }, + }, methods: { callBack() { if (this._Src) { diff --git a/buyer/src/components/indexDecorate/modelList/Carousel.vue b/buyer/src/components/indexDecorate/modelList/Carousel.vue index 90013e92..3ad5a793 100644 --- a/buyer/src/components/indexDecorate/modelList/Carousel.vue +++ b/buyer/src/components/indexDecorate/modelList/Carousel.vue @@ -173,11 +173,30 @@ export default { carouselItemKey(item, index) { return item?.img || item?.url || `slide-${index}`; }, + resolveRoute(pathStr) { + if (!pathStr) return { path: "/" }; + const [path, search] = pathStr.split("?"); + if (!search) return { path }; + return { + path, + query: Object.fromEntries(new URLSearchParams(search)), + }; + }, // 快捷跳转中心 entryControl(val) { - console.log("val",val) - let url = this.$router.resolve(val.path); - window.open(url.href, '_blank'); + const location = this.resolveRoute(val.path); + if (location.path.startsWith("/home/") && !storage.getItem("userInfo")) { + this.$router.push({ + path: "/login", + query: { + rePath: location.path, + query: JSON.stringify(location.query || {}), + }, + }); + return; + } + const url = this.$router.resolve(location); + window.open(url.href, "_blank"); }, }, mounted() { diff --git a/buyer/src/pages/GoodsDetail.vue b/buyer/src/pages/GoodsDetail.vue index 79d6d502..750404b4 100644 --- a/buyer/src/pages/GoodsDetail.vue +++ b/buyer/src/pages/GoodsDetail.vue @@ -10,7 +10,7 @@ {{ item.name }} -