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
8d46dd9c
Commit
8d46dd9c
authored
May 08, 2024
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat: 进店规则优化
parent
c5ffa3af
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/components/common/StoreAddr.vue
+1
-1
src/pages/home/index.vue
+6
-1
No files found.
src/components/common/StoreAddr.vue
View file @
8d46dd9c
...
...
@@ -71,7 +71,7 @@ export default {
if
(
imgRgb
!=
'undefined'
&&
imgRgb
!=
'null'
&&
imgRgb
!=
''
&&
imgRgb
!=
null
&&
imgRgb
!=
undefined
)
{
this
.
imgRgb
=
imgRgb
;
}
else
{
this
.
imgRgb
=
'#
fff
'
;
this
.
imgRgb
=
'#
333
'
;
}
},
reloadName
()
{
...
...
src/pages/home/index.vue
View file @
8d46dd9c
...
...
@@ -592,6 +592,7 @@ export default {
}
}
})
await
this
.
getEnterShopIdV1
();
},
setPageLoading
()
{
setTimeout
(()
=>
{
...
...
@@ -619,7 +620,6 @@ export default {
},
async
enterStoreRule
()
{
let
_this
=
this
;
await
this
.
getEnterShopIdV1
();
try
{
console
.
log
(
wx
.
getStorageSync
(
"locationObj"
),
'--locationObj'
)
let
locationObj
=
wx
.
getStorageSync
(
"locationObj"
)
?
JSON
.
parse
(
wx
.
getStorageSync
(
"locationObj"
))
:
{};
...
...
@@ -665,6 +665,10 @@ export default {
// this.setPageLoading();
},
async
getEnterShopIdV1
()
{
// 如果url有参数就return
if
(
this
.
h5Params
&&
this
.
h5Params
.
offlineShopCode
)
{
return
;
}
this
.
preEntryStoreId
=
""
;
try
{
let
res
=
await
shop
.
getEnterShopIdV1
({
...
...
@@ -1251,6 +1255,7 @@ export default {
}
// 新店调试
this
.
debugShopFun
();
this
.
setPageLoading
();
wx
.
stopPullDownRefresh
();
},
ShopCodeDistributionOrg
()
{
...
...
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