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
d3783440
Commit
d3783440
authored
Jan 20, 2022
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改背景图片
parent
dc065061
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
4 deletions
+20
-4
src/components/tabbarPage.vue
+16
-2
src/pages/wo/improveInformation/index.vue
+3
-1
src/pages/wo/showPassCheck/index.vue
+1
-1
No files found.
src/components/tabbarPage.vue
View file @
d3783440
...
...
@@ -2,7 +2,7 @@
tabbar
-->
<
template
>
<div>
<div
v-if=
"showPage"
>
<web-view
:src=
"pageUrl"
@
error=
"handleError"
></web-view>
<div
style=
"width: 100%;height: 90vh;display: flex;justify-content: center;align-items: center;"
>
...
...
@@ -33,7 +33,8 @@ export default {
params
:
"?mixid="
+
this
.
$store
.
state
.
mixid
,
ss
:
""
,
timestamp
:
""
,
isMiniPage
:
false
isMiniPage
:
false
,
showPage
:
true
,
};
},
computed
:
{
...
...
@@ -51,6 +52,7 @@ export default {
},
},
onLoad
(
options
)
{
console
.
log
(
'--onLoad'
)
let
tabIndex
=
this
.
index
>=
this
.
mpApp
.
globalData
.
footerVal
.
componentData
.
list
.
length
?
this
.
mpApp
.
globalData
.
footerVal
.
componentData
.
list
.
length
-
1
:
this
.
index
;
this
.
params
=
this
.
$options
.
data
.
call
(
this
).
params
let
ss
=
wx
.
getStorageSync
(
"sessionid"
);
...
...
@@ -85,6 +87,18 @@ export default {
}
}
},
onShow
(){
console
.
log
(
'--onShow--'
)
// 重载页面
let
reloadTabbarPage
=
wx
.
getStorageSync
(
"reloadTabbarPage"
)
||
0
;
if
(
reloadTabbarPage
==
1
){
this
.
showPage
=
false
;
setTimeout
(()
=>
{
this
.
showPage
=
true
;
},
0
);
wx
.
removeStorageSync
(
"reloadTabbarPage"
);
}
},
methods
:
{
handleError
(
data
)
{
wx
.
showLoading
({
...
...
src/pages/wo/improveInformation/index.vue
View file @
d3783440
...
...
@@ -115,6 +115,7 @@ export default {
},
onLoad
(
options
)
{
console
.
log
(
"---onLoad"
);
this
.
init
();
},
onShow
()
{
console
.
log
(
"---onShow"
);
...
...
@@ -201,9 +202,10 @@ export default {
if
(
this
.
editImg
==
true
)
{
console
.
log
(
'----需要修改证件照'
)
this
.
update_info
();
wx
.
setStorageSync
(
"reloadTabbarPage"
,
1
);
}
if
(
getCurrentPages
().
length
>
1
){
wx
.
navigateBack
();
wx
.
navigateBack
(
{
delta
:
1
}
);
}
else
{
wx
.
reLaunch
({
url
:
'/pages/home/main'
// 指定页面的url
...
...
src/pages/wo/showPassCheck/index.vue
View file @
d3783440
...
...
@@ -38,7 +38,7 @@
<image
v-else
mode=
"aspectFill"
src=
"http://
mayi-newshop.oss-cn-shanghai.aliyuncs.com/public/jpeg/9e733736-3e9d-48d1-82a8-96d21ee014df.jpe
g"
src=
"http://
cdn.mayi888.com/public/png/4660508a-ee25-4872-a3a8-da10a0fbaab1.pn
g"
alt=
""
></image>
</div>
...
...
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