From 8f64efb87038d406c496177b418dbc353e5ade63 Mon Sep 17 00:00:00 2001 From: cclu <1106109051@qq.com> Date: Wed, 2 Apr 2025 19:12:01 +0800 Subject: [PATCH] update --- pages/shopMallPage/index/index.vue | 26 ++++++++++++++------------ pages/shopMallPage/shopCar/index.vue | 8 ++++---- pages/shopMallPage/shopType/index.vue | 14 +++++++------- pages/shopMallPage/user/index.vue | 4 ++-- pages/shopPages/settlement/index.vue | 8 ++++---- pages/shopPages/shopDetail/index.vue | 2 +- pages/user/index.vue | 2 +- static/images/home/filterIcon.svg | 2 +- store/state.js | 2 +- 9 files changed, 35 insertions(+), 33 deletions(-) diff --git a/pages/shopMallPage/index/index.vue b/pages/shopMallPage/index/index.vue index e6851b3e..37385d35 100644 --- a/pages/shopMallPage/index/index.vue +++ b/pages/shopMallPage/index/index.vue @@ -39,7 +39,7 @@ @click="handleBackHome" /> {{ - pageType === "UnionMall" ? "工会商城" : "彩云驿商城" + pageType === "UnionMall" ? "工会之家" : "彩云驿商城" }} @@ -80,7 +80,7 @@ ? '100%' : shopTypeList.length * 136 + 60 + 'rpx', }" --> - +
- +
@@ -793,7 +793,7 @@ export default { ], // 热门品牌类型 minPrice: "", // 最低价 maxPrice: "", // 最高价 - allShopList: [], // 工会商城时拿到的全部商品 + allShopList: [], // 工会之家时拿到的全部商品 showShopList: [], // 当前显示的全部商品 pageIndex: 1, // 当前显示几个 10个商品 shopMsg: { @@ -960,7 +960,7 @@ export default { // UserdefinedType_ICO: "", // }, // ]; - // 拿到工会商城的商品列表 + // 拿到工会之家的商品列表 this.handleGetUnionShopList(); } else { // 拿到顶部商品大类的方法 @@ -1000,14 +1000,16 @@ export default { onShareAppMessage() { let _this = this; return { - title: _this.pageType === "UnionMall" ? "工会商城" : "精选商城", + // title: _this.pageType === "UnionMall" ? "工会之家" : "精选商城", + title:"彩云驿商城", path: `/pages/index/index?pageType=${this.pageType}`, }; }, onShareTimeline() { let _this = this; return { - title: _this.pageType === "UnionMall" ? "工会商城" : "精选商城", + // title: _this.pageType === "UnionMall" ? "工会之家" : "精选商城", + title:"彩云驿商城", path: `/pages/index/index?pageType=${this.pageType}`, }; }, @@ -1123,7 +1125,7 @@ export default { } return shopList; }, - // 工会商城滚动到底部 + // 工会之家滚动到底部 handleToBottom() { this.shopMsg.pageIndex = this.shopMsg.pageIndex + 1; if (this.shopMsg.isOver) { @@ -1140,7 +1142,7 @@ export default { this.handleGetProductsList(); } }, - // 拿到工会商城的商品列表 + // 拿到工会之家的商品列表 async handleGetUnionShopList() { uni.showLoading({ title: "加载中...", @@ -1222,7 +1224,7 @@ export default { pageSize: 6, isOver: false, }; - // 拿到工会商城的商品列表 + // 拿到工会之家的商品列表 await this.handleGetUnionShopList(); this.$refs.priceRangeRef.close(); }, @@ -1243,7 +1245,7 @@ export default { pageSize: 6, isOver: false, }; - // 拿到工会商城的商品列表 + // 拿到工会之家的商品列表 await this.handleGetUnionShopList(); this.$refs.priceRangeRef.close(); }, @@ -1604,7 +1606,7 @@ export default { }`, }); }, - // 跳转工会商城 + // 跳转工会之家 handleGoUnionMall() { uni.navigateTo({ url: `/pages/shopMallPage/index/index?pageType=UnionMall`, diff --git a/pages/shopMallPage/shopCar/index.vue b/pages/shopMallPage/shopCar/index.vue index 1b0a1018..54fbc312 100644 --- a/pages/shopMallPage/shopCar/index.vue +++ b/pages/shopMallPage/shopCar/index.vue @@ -8,7 +8,7 @@ @click="handleBackHome" /> {{ - bigPageType === "UnionMall" ? "工会商城购物车" : "购物车" + bigPageType === "UnionMall" ? "工会之家购物车" : "购物车" }} @@ -311,7 +311,7 @@ export default { pageOut: false, // 是不是从立即下单离开页面的 storeId: "", systemInfo: {}, - bigPageType: "", // 页面类型 是不是进来查工会商城的 + bigPageType: "", // 页面类型 是不是进来查工会之家的 userInfo: {}, // 最新的用户数据 addressList: [], // 地址列表 showAddressObj: {}, // 当前选中的地址 @@ -798,11 +798,11 @@ export default { return; } - // 判断是不是在工会商城下单 下单的话 就要查询用户余额 余额有的 才能下单 + // 判断是不是在工会之家下单 下单的话 就要查询用户余额 余额有的 才能下单 if (this.bigPageType === "UnionMall") { if (!(this.userInfo.ACCOUNT_BALANCE > 0)) { uni.showToast({ - title: "工会商城余额为0,无法下单!", + title: "工会之家余额为0,无法下单!", icon: "none", }); return; diff --git a/pages/shopMallPage/shopType/index.vue b/pages/shopMallPage/shopType/index.vue index 9f9a1fb5..93834eb4 100644 --- a/pages/shopMallPage/shopType/index.vue +++ b/pages/shopMallPage/shopType/index.vue @@ -8,7 +8,7 @@ @click="handleBackHome" /> {{ - pageType === "UnionMall" ? "工会商城分类" : "分类" + pageType === "UnionMall" ? "工会之家分类" : "分类" }} @@ -382,7 +382,7 @@ export default { shopCarList: [], // 购物车数组 shopCarListLength: 0, // 购物车长度 rightShopList: [], // 右侧商品列表 - pageType: "", // 页面类型 是不是进来查工会商城的 + pageType: "", // 页面类型 是不是进来查工会之家的 leftId: "", //传入的左侧小类的默认位置 good: {}, // 悬浮框里面 选择规格的商品详情 systemInfo: {}, @@ -441,7 +441,7 @@ export default { this.shopCarList = shopCarList; } if (this.pageType === "UnionMall") { - // 工会商城拿到的商品类型 + // 工会之家拿到的商品类型 this.handleGetUnionMallShopType(); } else { // 拿到全部商品类型 @@ -473,7 +473,7 @@ export default { } if (this.pageType === "UnionMall") { - // 工会商城拿到的商品类型 + // 工会之家拿到的商品类型 this.handleGetUnionMallShopType(); } else { // 拿到全部商品类型 @@ -625,7 +625,7 @@ export default { handleClosePop() { this.$refs.shopPopup.close(); }, - // 工会商城拿到的商品类型 + // 工会之家拿到的商品类型 async handleGetUnionMallShopType() { const req = { ownerUnitId: 911, @@ -770,7 +770,7 @@ export default { uni.hideLoading(); } else { if (this.pageType === "UnionMall") { - // 工会商城拿到的商品类型 + // 工会之家拿到的商品类型 this.handleGetUnionMallShopType(); } else { // 拿到全部商品类型 @@ -1344,7 +1344,7 @@ export default { url: `/pages/shopPages/shopList/index?pageType=pointsMall`, }); }, - // 跳转工会商城 + // 跳转工会之家 handleGoUnionMall() { uni.navigateTo({ url: `/pages/shopMallPage/index/index?pageType=UnionMall`, diff --git a/pages/shopMallPage/user/index.vue b/pages/shopMallPage/user/index.vue index 5f510185..0af0b376 100644 --- a/pages/shopMallPage/user/index.vue +++ b/pages/shopMallPage/user/index.vue @@ -11,7 +11,7 @@ @click="handleBackHome" /> {{ - pageType === "UnionMall" ? "工会商城我的" : "我的" + pageType === "UnionMall" ? "工会之家我的" : "我的" }} @@ -130,7 +130,7 @@ export default { Comment_Count: 0, // 待评价 Unpaid_Count: 0, // 待付款 - pageType: "", // 页面类型 是不是进来查工会商城的 + pageType: "", // 页面类型 是不是进来查工会之家的 shopCarListCount: 0, // 购物车商品数量 }; }, diff --git a/pages/shopPages/settlement/index.vue b/pages/shopPages/settlement/index.vue index 3c38352d..ea9e9a77 100644 --- a/pages/shopPages/settlement/index.vue +++ b/pages/shopPages/settlement/index.vue @@ -259,7 +259,7 @@ export default { addressInfo: {}, // 选择的地址信息 selectAddressId: 0, isFirst: true, // 判断是不是第一次进入到页面 - pageType: "", // 判断是工会商城 还是 精选商城 + pageType: "", // 判断是工会之家 还是 精选商城 userInfo: {}, // 最新的用户信息 selectTab: 1, // 1 是 配送 2 到店自取 phoneNumber: "", // 当前用户的默认手机号 @@ -621,8 +621,8 @@ export default { } } - // 判断是工会商城下单 还是精选商城下单 - // 精选商城 调用微信支付 工会商城是调用余额支付 + // 判断是工会之家下单 还是精选商城下单 + // 精选商城 调用微信支付 工会之家是调用余额支付 if (this.pageType === "UnionMall") { this.handleBalancePayment(data.Data); } else { @@ -746,7 +746,7 @@ export default { // 生成一个符合要求的商户订单号(长度为16的示例) // 获取后台信息调取微信支付 async getOrderInfo(obj, payMoney) { - // payMoney 工会商城订单 组合支付时可能会出现的值 + // payMoney 工会之家订单 组合支付时可能会出现的值 let _this = this; console.log("_this.couponOrder", _this.couponOrder); // 拿到签名 diff --git a/pages/shopPages/shopDetail/index.vue b/pages/shopPages/shopDetail/index.vue index 8f8f3dfc..3dfb383f 100644 --- a/pages/shopPages/shopDetail/index.vue +++ b/pages/shopPages/shopDetail/index.vue @@ -617,7 +617,7 @@ export default { showTopFixed: false, // 顶部显示的锚点tab pageTab: 1, // 锚点tab的选中 scrollView: "", // 滚动的锚点 - pageType: "", // 页面类型 UnionMall 为工会商城 + pageType: "", // 页面类型 UnionMall 为工会之家 countdown: "", // 存储倒计时的显示内容 isCountdown: false, // 判断是否进入到倒计时 timer: null, // 定时器 diff --git a/pages/user/index.vue b/pages/user/index.vue index 30ec0cff..cc56aa77 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -129,7 +129,7 @@ - + 工会订单 diff --git a/static/images/home/filterIcon.svg b/static/images/home/filterIcon.svg index 90281dfb..1e3c4261 100644 --- a/static/images/home/filterIcon.svg +++ b/static/images/home/filterIcon.svg @@ -2,7 +2,7 @@ 编组_13@2x - + diff --git a/store/state.js b/store/state.js index bdc7fde1..b71233a5 100644 --- a/store/state.js +++ b/store/state.js @@ -3,7 +3,7 @@ const state = { InviteCode: '', // 被邀请码 shopcartOrder: {}, // 购物车信息 myShopCar: [], // 购物车信息 - unionMyShopCar: [], // 工会商城购物车信息 + unionMyShopCar: [], // 工会之家购物车信息 nowStore: {}, // 当前点餐的商家信息 orderNumber: '', // 订单号 orderInternal: '', // 订单内码