Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
0fc933cf
Commit
0fc933cf
authored
Oct 25, 2023
by
侯体倬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新店调试功能
parent
a7ac706f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
+15
-1
src/pages/home/index.vue
+15
-1
No files found.
src/pages/home/index.vue
View file @
0fc933cf
...
@@ -500,7 +500,8 @@ export default {
...
@@ -500,7 +500,8 @@ export default {
}
}
// 新人有礼弹窗
// 新人有礼弹窗
this
.
newUserFun
();
this
.
newUserFun
();
// 新店调试
this
.
debugShopFun
();
//清除商品列表组件懒加载缓存
//清除商品列表组件懒加载缓存
// 需清除的缓存keyList
// 需清除的缓存keyList
...
@@ -1038,6 +1039,19 @@ export default {
...
@@ -1038,6 +1039,19 @@ export default {
}
}
})
})
},
},
debugShopFun
()
{
shop
.
get_shop_configuration
().
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
data
.
newStoreCommissioningStatus
==
1
)
{
wx
.
showModal
({
title
:
'重要提醒!'
,
showCancel
:
false
,
content
:
`当前店铺处于筹备调试中,顾客们请勿下单。给您带来的不便,敬请谅解~`
})
}
}
})
},
getUserreceiveGift
()
{
getUserreceiveGift
()
{
this
.
timer
=
setInterval
(()
=>
{
this
.
timer
=
setInterval
(()
=>
{
// 查询我领取的新客礼品
// 查询我领取的新客礼品
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment