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
1aebc7ab
Commit
1aebc7ab
authored
Jan 30, 2023
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
购物车刷新
parent
550108f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
src/components/tabbarPage.vue
+7
-3
No files found.
src/components/tabbarPage.vue
View file @
1aebc7ab
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
tabbar
tabbar
-->
-->
<
template
>
<
template
>
<div
v-if=
"showPage"
>
<div>
<web-view
:src=
"pageUrl"
@
error=
"handleError"
@
message=
"getMessage"
></web-view>
<web-view
:src=
"pageUrl
1
"
@
error=
"handleError"
@
message=
"getMessage"
></web-view>
<div
style=
"width: 100%;height: 90vh;display: flex;justify-content: center;align-items: center;"
<div
style=
"width: 100%;height: 90vh;display: flex;justify-content: center;align-items: center;"
>
>
<van-loading
size=
"40px"
type=
"spinner"
></van-loading>
<van-loading
size=
"40px"
type=
"spinner"
></van-loading>
...
@@ -37,6 +37,7 @@ export default {
...
@@ -37,6 +37,7 @@ export default {
timestamp
:
""
,
timestamp
:
""
,
isMiniPage
:
false
,
isMiniPage
:
false
,
showPage
:
true
,
showPage
:
true
,
pageUrl1
:
""
,
};
};
},
},
computed
:
{
computed
:
{
...
@@ -51,7 +52,7 @@ export default {
...
@@ -51,7 +52,7 @@ export default {
)}
`
+
)}
`
+
this
.
ss
+
this
.
timestamp
this
.
ss
+
this
.
timestamp
);
);
}
,
}
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
console
.
log
(
'--onLoad'
)
console
.
log
(
'--onLoad'
)
...
@@ -101,6 +102,7 @@ export default {
...
@@ -101,6 +102,7 @@ export default {
});
});
}
}
}
}
this
.
pageUrl1
=
this
.
pageUrl
;
},
},
onShow
(){
onShow
(){
console
.
log
(
'--onShow--'
)
console
.
log
(
'--onShow--'
)
...
@@ -119,7 +121,9 @@ export default {
...
@@ -119,7 +121,9 @@ export default {
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
showPage
=
true
;
this
.
showPage
=
true
;
},
0
);
},
0
);
this
.
pageUrl1
=
this
.
pageUrl
+
`&tim=
${
new
Date
().
getTime
()}
`
wx
.
removeStorageSync
(
"reloadTabbarPage"
);
wx
.
removeStorageSync
(
"reloadTabbarPage"
);
console
.
log
(
this
.
pageUrl1
,
'--this.pageUrl1'
)
}
}
},
},
handleError
(
data
)
{
handleError
(
data
)
{
...
...
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