Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
miniprogram-gh-carlife
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 83a9b7f4
authored
Feb 17, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 屏蔽汇划算
1 parent
6be04735
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
17 deletions
pages/tab/equity/equity.wxml
pages/tab/index/index.js
pages/tab/mall/mall.js
pages/tab/equity/equity.wxml
View file @
83a9b7f
...
@@ -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>
<!-- 会员商城/附近优惠 -->
<!-- 会员商城/附近优惠 -->
...
...
pages/tab/index/index.js
View file @
83a9b7f
...
@@ -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
()
})
})
...
...
pages/tab/mall/mall.js
View file @
83a9b7f
...
@@ -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
)
}
//
}
},
},
/**
/**
* 生命周期函数--监听页面隐藏
* 生命周期函数--监听页面隐藏
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment