Commit 83a9b7f4 by 李伟康

commit 屏蔽汇划算

1 parent 6be04735
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<preSale></preSale> <preSale></preSale>
</block> </block>
<!-- 轮播图 --> <!-- 轮播图 -->
<swiperWeb></swiperWeb> <!-- <swiperWeb></swiperWeb> 2025.2.14屏蔽汇划算-->
<!-- 门店套餐 --> <!-- 门店套餐 -->
<storeService></storeService> <storeService></storeService>
<!-- 会员商城/附近优惠 --> <!-- 会员商城/附近优惠 -->
......
...@@ -4,12 +4,13 @@ import { ...@@ -4,12 +4,13 @@ import {
carlifeApi carlifeApi
} from '../../../api/api' } from '../../../api/api'
const navStyle = 'background-color: transparent;' const navStyle = 'background-color: transparent;'
const _utilList_ = [{ const _utilList_ = [
name: '汇划算商城', // {
h5: '111', // name: '汇划算商城',
icon: 'shopmall', // h5: '111',
notIntercept: true // icon: 'shopmall',
}, // notIntercept: true
// },
{ {
name: '门店卡券', name: '门店卡券',
url: 'packageIndex.storeCoupons', url: 'packageIndex.storeCoupons',
...@@ -279,7 +280,7 @@ Page({ ...@@ -279,7 +280,7 @@ Page({
'skeletonData.homeConfig': true, 'skeletonData.homeConfig': true,
}) })
wx.$util.setNavigationBarTitleText(data.merchantName) wx.$util.setNavigationBarTitleText(data.merchantName)
this.getBizjiaUrl() // this.getBizjiaUrl() 2025.2.14屏蔽汇划算
this.filterKfList(data) this.filterKfList(data)
wx.hideLoading() wx.hideLoading()
}) })
......
...@@ -5,10 +5,12 @@ import { ...@@ -5,10 +5,12 @@ import {
carlifeApi, carlifeApi,
commonApi commonApi
} from '../../../api/api' } from '../../../api/api'
const tab = [{ const tab = [
zoneName: '汇划算商城', // {
isCustomer: true // zoneName: '汇划算商城',
}, { // isCustomer: true
// }, 2025.2.14屏蔽汇划算
{
zoneName: '门店自营', zoneName: '门店自营',
id: '' id: ''
}] }]
...@@ -86,8 +88,9 @@ Page({ ...@@ -86,8 +88,9 @@ Page({
IMGURL, IMGURL,
tabList tabList
} = this.data } = this.data
tab[0].zoneImg = `${IMGURL}mall/shop-banner.png?v=${img_version}` // tab[0].zoneImg = `${IMGURL}mall/shop-banner.png?v=${img_version}`
tab[1].zoneImg = `${IMGURL}mall/default-banner.png?v=${img_version}` // tab[1].zoneImg = `${IMGURL}mall/default-banner.png?v=${img_version}`
tab[0].zoneImg = `${IMGURL}mall/default-banner.png?v=${img_version}`
tabList.push(...tab) tabList.push(...tab)
data.map(e => tabList.push(e)) data.map(e => tabList.push(e))
this.setData({ this.setData({
...@@ -96,7 +99,8 @@ Page({ ...@@ -96,7 +99,8 @@ Page({
tabList, tabList,
sapCode sapCode
}) })
this.getBizjiaUrl() this.getGoodsList()
// this.getBizjiaUrl() 2025.2.14屏蔽汇划算
}) })
}, },
getGoodsList(zoneId) { getGoodsList(zoneId) {
...@@ -142,13 +146,14 @@ Page({ ...@@ -142,13 +146,14 @@ Page({
this.getZoneInfo(storeCode) this.getZoneInfo(storeCode)
return return
} }
if (tagIndex != 0) { console.log(123)
// if (tagIndex != 0) {
this.setData({ this.setData({
goodsList: [], goodsList: [],
goodsFlag: false goodsFlag: false
}) })
this.getGoodsList(tabList[tagIndex].id) this.getGoodsList(tabList[tagIndex].id)
} // }
}, },
/** /**
* 生命周期函数--监听页面隐藏 * 生命周期函数--监听页面隐藏
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!