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"
/>
<view class="pageName">{{
pageType === "UnionMall" ? "工会商城" : "彩云驿商城"
pageType === "UnionMall" ? "工会之家" : "彩云驿商城"
}}</view>
<view class="backArrow"></view>
</view>
@ -80,7 +80,7 @@
? '100%'
: shopTypeList.length * 136 + 60 + 'rpx',
}" -->
<!-- 工会商城 -->
<!-- 工会之家 -->
<div
class="rowBox"
@click="handleGoUnionMall"
@ -325,7 +325,7 @@
</scroll-view>
</div>
<!-- 工会商城的时候 显示排行榜 -->
<!-- 工会之家的时候 显示排行榜 -->
<div class="sortBox" v-if="pageType === 'UnionMall'">
<div class="leftSortBox" @click="handleGoSortList(1)">
@ -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`,

View File

@ -8,7 +8,7 @@
@click="handleBackHome"
/>
<view class="pageName">{{
bigPageType === "UnionMall" ? "工会商城购物车" : "购物车"
bigPageType === "UnionMall" ? "工会之家购物车" : "购物车"
}}</view>
<view class="backArrow"></view>
</view>
@ -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;

View File

@ -8,7 +8,7 @@
@click="handleBackHome"
/>
<view class="pageName">{{
pageType === "UnionMall" ? "工会商城分类" : "分类"
pageType === "UnionMall" ? "工会之家分类" : "分类"
}}</view>
<view class="backArrow"></view>
</view>
@ -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`,

View File

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

View File

@ -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);
//

View File

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

View File

@ -129,7 +129,7 @@
</view>
</view>
</view>
<!-- 工会商城订单栏 -->
<!-- 工会之家订单栏 -->
<view class="orderFun">
<view class="boxTitleTop" @click="handleGoOrder(0, 'UnionMall')">
<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">
<title>编组_13@2x</title>
<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)">
<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>

Before

Width:  |  Height:  |  Size: 1016 B

After

Width:  |  Height:  |  Size: 1016 B

View File

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