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
080c37a3
Commit
080c37a3
authored
Feb 25, 2022
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试底部logo
parent
9123a05e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
src/components/bottomCont.vue
+11
-3
No files found.
src/components/bottomCont.vue
View file @
080c37a3
...
@@ -38,6 +38,7 @@ export default {
...
@@ -38,6 +38,7 @@ export default {
},
},
showVConsole
:
0
,
showVConsole
:
0
,
showHideWrap
:
false
,
showHideWrap
:
false
,
attemptNum
:
0
,
//获取logo次数
};
};
},
},
computed
:{
computed
:{
...
@@ -71,15 +72,22 @@ export default {
...
@@ -71,15 +72,22 @@ export default {
},
},
onLoad
()
{
onLoad
()
{
console
.
log
(
'bottomCont-------onLoad'
);
console
.
log
(
'bottomCont-------onLoad'
);
if
(
!
this
.
shopInfo
.
logoUrl
)
{
this
.
setLogoUrl
();
this
.
shopInfo
.
logoUrl
=
wx
.
getStorageSync
(
"logoUrl"
);
}
console
.
log
(
this
.
shopInfo
.
logoUrl
,
'bottomCont-onLoad-logoUrl'
)
console
.
log
(
this
.
shopInfo
.
logoUrl
,
'bottomCont-onLoad-logoUrl'
)
log
.
info
(
this
.
shopInfo
.
logoUrl
,
'bottomCont-onLoad-logoUrl'
)
log
.
info
(
this
.
shopInfo
.
logoUrl
,
'bottomCont-onLoad-logoUrl'
)
},
},
onShow
(){
onShow
(){
},
},
methods
:{
methods
:{
setLogoUrl
(){
if
(
!
this
.
shopInfo
.
logoUrl
&&
this
.
attemptNum
<
5
)
{
this
.
attemptNum
++
;
setTimeout
(()
=>
{
this
.
shopInfo
.
logoUrl
=
wx
.
getStorageSync
(
"logoUrl"
);
this
.
setLogoUrl
();
},
500
);
}
},
showVConsoles
(){
showVConsoles
(){
this
.
showVConsole
++
;
this
.
showVConsole
++
;
...
...
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