From 0b0516bd0a9cd7ab424d22992ba9be62b014dedf Mon Sep 17 00:00:00 2001
From: youmengting <2080639302@qq.com>
Date: Thu, 27 Jul 2023 17:51:15 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=AE=9E=E7=89=A9=E8=B7=AF?=
=?UTF-8?q?=E5=BE=84=EF=BC=8C=E5=88=86=E4=BA=AB=EF=BC=8C=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
common/share.js | 40 ++++++++++----
components/goods-list/goods-list.vue | 10 +++-
components/no-more/no-more.vue | 37 -------------
components/shopcart.vue | 34 +++++++-----
pages.json | 55 +++++++++++++------
pages/goods/HM-search/HM-search.vue | 22 +++++---
pages/goods/goods-list/goods-list.vue | 11 +---
pages/goods/goods.vue | 4 +-
pages/order/confirmation.vue | 33 +++++------
pages/tabBar/home/home.vue | 48 +++++++++++++---
pages/user/generatePoster/generatePoster.vue | 12 ++--
pages/user/mineCoupons/mineCoupons.vue | 51 +++++++++--------
pages/user/news/news.vue | 4 +-
physical-merchants/address/address.vue | 10 +++-
physical-merchants/classify/cart/cart.vue | 9 ++-
.../classify/classify.css | 0
.../classify/classify.vue | 0
.../classify/goodsDetail/goodsDetail.vue | 13 +++--
qianzhu-KFC/kfc-menu-list/kfc-menu-list.vue | 3 +-
qianzhu-KFC/menu-list/menu-list.vue | 4 +-
.../coupon-comfirmation.vue | 2 +-
subPages/coupon-package/coupon-package.vue | 21 +++----
uni.scss | 10 ++++
23 files changed, 254 insertions(+), 179 deletions(-)
delete mode 100644 components/no-more/no-more.vue
rename {pages/tabBar => physical-merchants}/classify/classify.css (100%)
rename {pages/tabBar => physical-merchants}/classify/classify.vue (100%)
diff --git a/common/share.js b/common/share.js
index 5a2f569..194202f 100644
--- a/common/share.js
+++ b/common/share.js
@@ -18,6 +18,25 @@ export default {
imgUrl: 'https://hsg.dctpay.com/filesystem/wxApplets/logo.png', // 分享图标
},
resVerifyWx:null,
+
+ shareArr:[
+ '/qianzhu-Starbucks/home/home',
+ '/qianzhu-KFC/home/home',
+ '/pages/goods/goods-list/goods-list',
+ '/subPages/coupon-package/coupon-package',
+ '/subPages/coupon-packge-details/coupon-packge-details',
+ '/pages/goods/goods',
+ '/physical-merchants/classify/classify',
+ '/physical-merchants/classify/goodsDetail/goodsDetail',
+ '/physical-merchants/classify/goods-search/goods-search',
+ '/pages/goods/refuel/refuel',//在线加油列表
+ '/pages/goods/refuel-details/refuel-details',//在线加油详情
+ '/pages/goods/store-list/store-details',//门店详情
+ '/pages/goods/HM-search/HM-search',//门店列表
+ '/pages/tabBar/home/home',
+ '/pages/tabBar/category/category',
+ ],
+
}
},
methods: {
@@ -96,23 +115,23 @@ export default {
isGoHome(path){
/* 黑名单:不允许分享,分享的跳转至首页 */
- let arr =[
- "/physical-merchants/settleAccounts/settleAccounts",//订单确认
- "/physical-merchants/classify/order/pay",//收银台页
- "/physical-merchants/classify/order/paymentResult",//支付结果
- "/physical-merchants/address/addNewAddress/addNewAddress",//添加地址
- "/physical-merchants/classify/poster/poster",//生成海报
- ];
+ // let arr =[
+ // "/physical-merchants/settleAccounts/settleAccounts",//订单确认
+ // "/physical-merchants/classify/order/pay",//收银台页
+ // "/physical-merchants/classify/order/paymentResult",//支付结果
+ // "/physical-merchants/address/addNewAddress/addNewAddress",//添加地址
+ // "/physical-merchants/classify/poster/poster",//生成海报
+ // ];
// #ifdef H5
let str = this.localPath.split('#')[1];
str = str.split("?")[0];
- return arr.includes(str)
+ return !this.shareArr.includes(str)
// #endif
// #ifdef MP-WEIXIN
- return arr.includes(path)
+ return !this.shareArr.includes(path)
// #endif
@@ -192,7 +211,8 @@ export default {
this.share.path = this.getCurrentRouteYm();
if(this.isGoHome(this.share.path.split('?')[0])){
- this.share.path = "/pages/tabBar/home/home"
+ this.share.path = "/pages/tabBar/home/home";
+ this.share.imageUrl = 'https://hsg.dctpay.com/filesystem/wxApplets/logo.png';
}
// console.log(this.share.path, "this.share.path", res);
diff --git a/components/goods-list/goods-list.vue b/components/goods-list/goods-list.vue
index ae98295..4e25412 100644
--- a/components/goods-list/goods-list.vue
+++ b/components/goods-list/goods-list.vue
@@ -105,7 +105,11 @@
-
+
+
+ ———— 我是有底线的 ————
+
+
@@ -140,7 +144,7 @@
-
-
\ No newline at end of file
diff --git a/components/shopcart.vue b/components/shopcart.vue
index f8403ef..00761f9 100644
--- a/components/shopcart.vue
+++ b/components/shopcart.vue
@@ -7,9 +7,9 @@
{{getAllCount}}
{{getAllCount}}
-
+
-
+
@@ -216,7 +216,7 @@
}
-