This commit is contained in:
cclu 2025-04-02 19:12:01 +08:00
parent ce5ceed50b
commit 8f64efb870
9 changed files with 35 additions and 33 deletions

View File

@ -39,7 +39,7 @@
@click="handleBackHome" @click="handleBackHome"
/> />
<view class="pageName">{{ <view class="pageName">{{
pageType === "UnionMall" ? "工会商城" : "彩云驿商城" pageType === "UnionMall" ? "工会之家" : "彩云驿商城"
}}</view> }}</view>
<view class="backArrow"></view> <view class="backArrow"></view>
</view> </view>
@ -80,7 +80,7 @@
? '100%' ? '100%'
: shopTypeList.length * 136 + 60 + 'rpx', : shopTypeList.length * 136 + 60 + 'rpx',
}" --> }" -->
<!-- 工会商城 --> <!-- 工会之家 -->
<div <div
class="rowBox" class="rowBox"
@click="handleGoUnionMall" @click="handleGoUnionMall"
@ -325,7 +325,7 @@
</scroll-view> </scroll-view>
</div> </div>
<!-- 工会商城的时候 显示排行榜 --> <!-- 工会之家的时候 显示排行榜 -->
<div class="sortBox" v-if="pageType === 'UnionMall'"> <div class="sortBox" v-if="pageType === 'UnionMall'">
<div class="leftSortBox" @click="handleGoSortList(1)"> <div class="leftSortBox" @click="handleGoSortList(1)">
@ -793,7 +793,7 @@ export default {
], // ], //
minPrice: "", // minPrice: "", //
maxPrice: "", // maxPrice: "", //
allShopList: [], // allShopList: [], //
showShopList: [], // showShopList: [], //
pageIndex: 1, // 10 pageIndex: 1, // 10
shopMsg: { shopMsg: {
@ -960,7 +960,7 @@ export default {
// UserdefinedType_ICO: "", // UserdefinedType_ICO: "",
// }, // },
// ]; // ];
// //
this.handleGetUnionShopList(); this.handleGetUnionShopList();
} else { } else {
// //
@ -1000,14 +1000,16 @@ export default {
onShareAppMessage() { onShareAppMessage() {
let _this = this; let _this = this;
return { return {
title: _this.pageType === "UnionMall" ? "工会商城" : "精选商城", // title: _this.pageType === "UnionMall" ? "" : "",
title:"彩云驿商城",
path: `/pages/index/index?pageType=${this.pageType}`, path: `/pages/index/index?pageType=${this.pageType}`,
}; };
}, },
onShareTimeline() { onShareTimeline() {
let _this = this; let _this = this;
return { return {
title: _this.pageType === "UnionMall" ? "工会商城" : "精选商城", // title: _this.pageType === "UnionMall" ? "" : "",
title:"彩云驿商城",
path: `/pages/index/index?pageType=${this.pageType}`, path: `/pages/index/index?pageType=${this.pageType}`,
}; };
}, },
@ -1123,7 +1125,7 @@ export default {
} }
return shopList; return shopList;
}, },
// //
handleToBottom() { handleToBottom() {
this.shopMsg.pageIndex = this.shopMsg.pageIndex + 1; this.shopMsg.pageIndex = this.shopMsg.pageIndex + 1;
if (this.shopMsg.isOver) { if (this.shopMsg.isOver) {
@ -1140,7 +1142,7 @@ export default {
this.handleGetProductsList(); this.handleGetProductsList();
} }
}, },
// //
async handleGetUnionShopList() { async handleGetUnionShopList() {
uni.showLoading({ uni.showLoading({
title: "加载中...", title: "加载中...",
@ -1222,7 +1224,7 @@ export default {
pageSize: 6, pageSize: 6,
isOver: false, isOver: false,
}; };
// //
await this.handleGetUnionShopList(); await this.handleGetUnionShopList();
this.$refs.priceRangeRef.close(); this.$refs.priceRangeRef.close();
}, },
@ -1243,7 +1245,7 @@ export default {
pageSize: 6, pageSize: 6,
isOver: false, isOver: false,
}; };
// //
await this.handleGetUnionShopList(); await this.handleGetUnionShopList();
this.$refs.priceRangeRef.close(); this.$refs.priceRangeRef.close();
}, },
@ -1604,7 +1606,7 @@ export default {
}`, }`,
}); });
}, },
// //
handleGoUnionMall() { handleGoUnionMall() {
uni.navigateTo({ uni.navigateTo({
url: `/pages/shopMallPage/index/index?pageType=UnionMall`, url: `/pages/shopMallPage/index/index?pageType=UnionMall`,

View File

@ -8,7 +8,7 @@
@click="handleBackHome" @click="handleBackHome"
/> />
<view class="pageName">{{ <view class="pageName">{{
bigPageType === "UnionMall" ? "工会商城购物车" : "购物车" bigPageType === "UnionMall" ? "工会之家购物车" : "购物车"
}}</view> }}</view>
<view class="backArrow"></view> <view class="backArrow"></view>
</view> </view>
@ -311,7 +311,7 @@ export default {
pageOut: false, // pageOut: false, //
storeId: "", storeId: "",
systemInfo: {}, systemInfo: {},
bigPageType: "", // bigPageType: "", //
userInfo: {}, // userInfo: {}, //
addressList: [], // addressList: [], //
showAddressObj: {}, // showAddressObj: {}, //
@ -798,11 +798,11 @@ export default {
return; return;
} }
// //
if (this.bigPageType === "UnionMall") { if (this.bigPageType === "UnionMall") {
if (!(this.userInfo.ACCOUNT_BALANCE > 0)) { if (!(this.userInfo.ACCOUNT_BALANCE > 0)) {
uni.showToast({ uni.showToast({
title: "工会商城余额为0无法下单", title: "工会之家余额为0无法下单",
icon: "none", icon: "none",
}); });
return; return;

View File

@ -8,7 +8,7 @@
@click="handleBackHome" @click="handleBackHome"
/> />
<view class="pageName">{{ <view class="pageName">{{
pageType === "UnionMall" ? "工会商城分类" : "分类" pageType === "UnionMall" ? "工会之家分类" : "分类"
}}</view> }}</view>
<view class="backArrow"></view> <view class="backArrow"></view>
</view> </view>
@ -382,7 +382,7 @@ export default {
shopCarList: [], // shopCarList: [], //
shopCarListLength: 0, // shopCarListLength: 0, //
rightShopList: [], // rightShopList: [], //
pageType: "", // pageType: "", //
leftId: "", // leftId: "", //
good: {}, // good: {}, //
systemInfo: {}, systemInfo: {},
@ -441,7 +441,7 @@ export default {
this.shopCarList = shopCarList; this.shopCarList = shopCarList;
} }
if (this.pageType === "UnionMall") { if (this.pageType === "UnionMall") {
// //
this.handleGetUnionMallShopType(); this.handleGetUnionMallShopType();
} else { } else {
// //
@ -473,7 +473,7 @@ export default {
} }
if (this.pageType === "UnionMall") { if (this.pageType === "UnionMall") {
// //
this.handleGetUnionMallShopType(); this.handleGetUnionMallShopType();
} else { } else {
// //
@ -625,7 +625,7 @@ export default {
handleClosePop() { handleClosePop() {
this.$refs.shopPopup.close(); this.$refs.shopPopup.close();
}, },
// //
async handleGetUnionMallShopType() { async handleGetUnionMallShopType() {
const req = { const req = {
ownerUnitId: 911, ownerUnitId: 911,
@ -770,7 +770,7 @@ export default {
uni.hideLoading(); uni.hideLoading();
} else { } else {
if (this.pageType === "UnionMall") { if (this.pageType === "UnionMall") {
// //
this.handleGetUnionMallShopType(); this.handleGetUnionMallShopType();
} else { } else {
// //
@ -1344,7 +1344,7 @@ export default {
url: `/pages/shopPages/shopList/index?pageType=pointsMall`, url: `/pages/shopPages/shopList/index?pageType=pointsMall`,
}); });
}, },
// //
handleGoUnionMall() { handleGoUnionMall() {
uni.navigateTo({ uni.navigateTo({
url: `/pages/shopMallPage/index/index?pageType=UnionMall`, url: `/pages/shopMallPage/index/index?pageType=UnionMall`,

View File

@ -11,7 +11,7 @@
@click="handleBackHome" @click="handleBackHome"
/> />
<text class="pageTitle">{{ <text class="pageTitle">{{
pageType === "UnionMall" ? "工会商城我的" : "我的" pageType === "UnionMall" ? "工会之家我的" : "我的"
}}</text> }}</text>
<view class="backArrow"></view> <view class="backArrow"></view>
</view> </view>
@ -130,7 +130,7 @@ export default {
Comment_Count: 0, // Comment_Count: 0, //
Unpaid_Count: 0, // Unpaid_Count: 0, //
pageType: "", // pageType: "", //
shopCarListCount: 0, // shopCarListCount: 0, //
}; };
}, },

View File

@ -259,7 +259,7 @@ export default {
addressInfo: {}, // addressInfo: {}, //
selectAddressId: 0, selectAddressId: 0,
isFirst: true, // isFirst: true, //
pageType: "", // pageType: "", //
userInfo: {}, // userInfo: {}, //
selectTab: 1, // 1 2 selectTab: 1, // 1 2
phoneNumber: "", // phoneNumber: "", //
@ -621,8 +621,8 @@ export default {
} }
} }
// //
// //
if (this.pageType === "UnionMall") { if (this.pageType === "UnionMall") {
this.handleBalancePayment(data.Data); this.handleBalancePayment(data.Data);
} else { } else {
@ -746,7 +746,7 @@ export default {
// 16 // 16
// //
async getOrderInfo(obj, payMoney) { async getOrderInfo(obj, payMoney) {
// payMoney // payMoney
let _this = this; let _this = this;
console.log("_this.couponOrder", _this.couponOrder); console.log("_this.couponOrder", _this.couponOrder);
// //

View File

@ -617,7 +617,7 @@ export default {
showTopFixed: false, // tab showTopFixed: false, // tab
pageTab: 1, // tab pageTab: 1, // tab
scrollView: "", // scrollView: "", //
pageType: "", // UnionMall pageType: "", // UnionMall
countdown: "", // countdown: "", //
isCountdown: false, // isCountdown: false, //
timer: null, // timer: null, //

View File

@ -129,7 +129,7 @@
</view> </view>
</view> </view>
</view> </view>
<!-- 工会商城订单栏 --> <!-- 工会之家订单栏 -->
<view class="orderFun"> <view class="orderFun">
<view class="boxTitleTop" @click="handleGoOrder(0, 'UnionMall')"> <view class="boxTitleTop" @click="handleGoOrder(0, 'UnionMall')">
<text class="boxTitle">工会订单</text> <text class="boxTitle">工会订单</text>

View File

@ -2,7 +2,7 @@
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>编组_13@2x</title> <title>编组_13@2x</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="工会商城" transform="translate(-481.000000, -838.000000)"> <g id="工会之家" transform="translate(-481.000000, -838.000000)">
<g id="编组-15" transform="translate(481.000000, 838.000000)"> <g id="编组-15" transform="translate(481.000000, 838.000000)">
<rect id="矩形" x="0" y="0" width="16" height="16"></rect> <rect id="矩形" x="0" y="0" width="16" height="16"></rect>
<path d="M14,1.6 L14.4,3.46577994 L10.5397879,6.43243188 C10.1197921,6.73282815 9.87058799,7.21745353 9.87058799,7.73382006 L9.87058799,13.41846 C9.79544844,13.6276102 9.70109351,13.7820522 9.57662971,13.8659469 L6.37933456,12.6967301 L6.12941167,7.73385697 C6.12941167,7.21745748 5.88017594,6.73280537 5.46013577,6.43241445 L1.76731897,3.79150366 L1.6,2 L14,1.6 Z" id="路径" stroke="#716F69" stroke-width="1.2"></path> <path d="M14,1.6 L14.4,3.46577994 L10.5397879,6.43243188 C10.1197921,6.73282815 9.87058799,7.21745353 9.87058799,7.73382006 L9.87058799,13.41846 C9.79544844,13.6276102 9.70109351,13.7820522 9.57662971,13.8659469 L6.37933456,12.6967301 L6.12941167,7.73385697 C6.12941167,7.21745748 5.88017594,6.73280537 5.46013577,6.43241445 L1.76731897,3.79150366 L1.6,2 L14,1.6 Z" id="路径" stroke="#716F69" stroke-width="1.2"></path>

Before

Width:  |  Height:  |  Size: 1016 B

After

Width:  |  Height:  |  Size: 1016 B

View File

@ -3,7 +3,7 @@ const state = {
InviteCode: '', // 被邀请码 InviteCode: '', // 被邀请码
shopcartOrder: {}, // 购物车信息 shopcartOrder: {}, // 购物车信息
myShopCar: [], // 购物车信息 myShopCar: [], // 购物车信息
unionMyShopCar: [], // 工会商城购物车信息 unionMyShopCar: [], // 工会之家购物车信息
nowStore: {}, // 当前点餐的商家信息 nowStore: {}, // 当前点餐的商家信息
orderNumber: '', // 订单号 orderNumber: '', // 订单号
orderInternal: '', // 订单内码 orderInternal: '', // 订单内码