Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
mallapp
Commits
49483c1f
Commit
49483c1f
authored
Aug 24, 2020
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页修改
parent
2cd6a248
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
index.vue
pages/index/index.vue
+11
-2
index.vue
pages/microShop/index/index.vue
+2
-2
user-center.vue
pages/user-center/user-center.vue
+1
-1
No files found.
pages/index/index.vue
View file @
49483c1f
...
...
@@ -224,7 +224,6 @@ export default {
that
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
wx
.
getUserInfo
({
success
:
function
(
res
)
{
if
(
uni
.
getStorageSync
(
"mall_UserInfo"
))
{
let
uid
=
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserId
;
let
msg
=
{
...
...
@@ -258,7 +257,17 @@ export default {
});
}
},
});
fail
:
function
(
e
){
uni
.
showToast
({
title
:
'微信登录授权失败'
,
icon
:
'none'
});
if
(
!
that
.
u
)
{
that
.
u
=
{
nickName
:
"未登录"
,
avatarUrl
:
""
};
that
.
showAuth
=
true
;
}
}
});
...
...
pages/microShop/index/index.vue
View file @
49483c1f
...
...
@@ -375,7 +375,7 @@
this
.
shopBasics
=
res
.
data
;
if
(
this
.
AuditStatus
==
2
){
this
.
getSmallShopsCenter
()
//获取微店信息
this
.
pageTitle
=
'
商
店中心'
this
.
pageTitle
=
'
微
店中心'
}
}
...
...
@@ -425,7 +425,7 @@
that
.
init
()
if
(
this
.
shopBasics
.
IsExamine
==
1
){
this
.
getSmallShopsCenter
()
//获取微店信息
this
.
pageTitle
=
'
商
店中心'
this
.
pageTitle
=
'
微
店中心'
}
}
...
...
pages/user-center/user-center.vue
View file @
49483c1f
...
...
@@ -241,7 +241,7 @@ export default {
},
pandu
(
item
){
let
flag
=
true
;
let
IsOpen
=
this
.
shopBasics
.
model
.
IsOpen
?
this
.
shopBasics
.
model
.
IsOpen
:
1
let
IsOpen
=
this
.
shopBasics
.
model
&&
this
.
shopBasics
.
model
.
IsOpen
?
this
.
shopBasics
.
model
.
IsOpen
:
1
switch
(
item
.
link_url
)
{
case
"/pages/share/index/index"
:
...
...
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