Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jd-vx-app
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
jd-vx-app
Commits
e88bab69
Commit
e88bab69
authored
May 24, 2022
by
lijiongliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
28abc381
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
504 additions
and
409 deletions
+504
-409
index.vue
pages/binding/index.vue
+386
-356
main.vue
pages/main.vue
+103
-42
personal.vue
pages/personal.vue
+15
-11
No files found.
pages/binding/index.vue
View file @
e88bab69
...
@@ -20,8 +20,7 @@
...
@@ -20,8 +20,7 @@
</view>
-->
</view>
-->
<view
v-if=
"isCanUse2"
>
<view
v-if=
"isCanUse2"
>
<view>
<view>
<button
class=
"login__btn"
v-if=
"!checked"
hover-class=
"none"
type=
'primary'
<button
class=
"login__btn"
v-if=
"!checked"
hover-class=
"none"
type=
'primary'
@
click=
"checkLogin"
>
@
click=
"checkLogin"
>
微信一键登录
微信一键登录
</button>
</button>
...
@@ -38,14 +37,14 @@
...
@@ -38,14 +37,14 @@
<u-checkbox-group
placement=
"row"
>
<u-checkbox-group
placement=
"row"
>
<u-checkbox
:checked=
'checked'
@
change=
"changeBtn"
></u-checkbox>
<u-checkbox
:checked=
'checked'
@
change=
"changeBtn"
></u-checkbox>
</u-checkbox-group>
</u-checkbox-group>
已阅读并同意
<span
@
click=
"goArticle(1)"
>
《用户注册服务协议》
</span>
、
<span
@
click=
"goArticle(2)"
>
《京东挪车牌隐私权政策》
</span>
。若您的手机号未注册,将为您直接注册友众账号
已阅读并同意
<span
@
click=
"goArticle(1)"
>
《用户注册服务协议》
</span>
、
<span
@
click=
"goArticle(2)"
>
《京东挪车牌隐私权政策》
</span>
。若您的手机号未注册,将为您直接注册友众账号
</div>
</div>
</div>
</div>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
checked
:
true
,
checked
:
true
,
...
@@ -53,16 +52,16 @@ export default {
...
@@ -53,16 +52,16 @@ export default {
isCanUse
:
false
,
//默认为true
isCanUse
:
false
,
//默认为true
isCanUse2
:
false
,
//默认为true
isCanUse2
:
false
,
//默认为true
openid
:
''
,
openid
:
''
,
nc_protocol
:
false
,
nc_protocol
:
false
,
//扫描二维码参数
//扫描二维码参数
scene
:
""
,
scene
:
""
,
//检查绑定挪车码
//检查绑定挪车码
checkCode
:
{},
checkCode
:
{},
//上级url
//上级url
superiorUrl
:
'/pages/main'
,
superiorUrl
:
'/pages/main'
,
//上级路径参数
//上级路径参数
superiorParam
:
"index"
,
superiorParam
:
"index"
,
failure
:
null
failure
:
null
};
};
},
},
methods
:
{
methods
:
{
...
@@ -79,19 +78,24 @@ export default {
...
@@ -79,19 +78,24 @@ export default {
},
},
//检查挪车码存在、是否绑定
//检查挪车码存在、是否绑定
getCheckMoveCode
(){
getCheckMoveCode
()
{
let
opts
=
{
url
:
'/app/user/check/move/code'
,
method
:
'post'
};
let
opts
=
{
this
.
http
.
httpTokenRequest
(
opts
,
{
code
:
this
.
scene
}).
then
(
res
=>
{
url
:
'/app/user/check/move/code'
,
method
:
'post'
};
this
.
http
.
httpTokenRequest
(
opts
,
{
code
:
this
.
scene
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
checkCode
=
res
.
data
.
data
this
.
checkCode
=
res
.
data
.
data
//未绑定了的情况
//未绑定了的情况
if
(
!
this
.
checkCode
.
bindFlag
)
{
if
(
!
this
.
checkCode
.
bindFlag
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pagesB/pages/move-car/scan?moveCode='
+
this
.
checkCode
.
code
url
:
'/pagesB/pages/move-car/scan?moveCode='
+
this
.
checkCode
.
code
})
})
}
else
if
(
this
.
checkCode
.
selfFlag
)
{
}
else
if
(
this
.
checkCode
.
selfFlag
)
{
}
else
{
}
else
{
}
}
}
}
...
@@ -111,7 +115,10 @@ export default {
...
@@ -111,7 +115,10 @@ export default {
let
param
=
{
let
param
=
{
code
:
code
,
code
:
code
,
}
}
let
opts
=
{
url
:
'/xcx/code/session'
,
method
:
'post'
}
let
opts
=
{
url
:
'/xcx/code/session'
,
method
:
'post'
}
await
that
.
http
.
httpRequest
(
opts
,
param
).
then
(
res
=>
{
await
that
.
http
.
httpRequest
(
opts
,
param
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
that
.
openid
=
res
.
data
.
data
.
openid
that
.
openid
=
res
.
data
.
data
.
openid
...
@@ -123,7 +130,7 @@ export default {
...
@@ -123,7 +130,7 @@ export default {
getPhoneNumber
(
e
)
{
getPhoneNumber
(
e
)
{
uni
.
showLoading
({
uni
.
showLoading
({
title
:
'加载中'
,
title
:
'加载中'
,
mask
:
true
mask
:
true
});
});
let
that
=
this
let
that
=
this
if
(
e
.
detail
.
errMsg
==
"getPhoneNumber:ok"
)
{
if
(
e
.
detail
.
errMsg
==
"getPhoneNumber:ok"
)
{
...
@@ -142,25 +149,33 @@ export default {
...
@@ -142,25 +149,33 @@ export default {
let
param
=
{
let
param
=
{
code
:
detail
.
code
,
code
:
detail
.
code
,
openid
:
that
.
openid
openid
:
that
.
openid
}
let
opts
=
{
url
:
'/xcx/login'
,
method
:
'post'
}
}
let
opts
=
{
url
:
'/xcx/login'
,
method
:
'post'
}
await
that
.
http
.
httpRequest
(
opts
,
param
).
then
(
res
=>
{
await
that
.
http
.
httpRequest
(
opts
,
param
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'授权成功'
,
title
:
'授权成功'
,
duration
:
1500
duration
:
1500
})
})
uni
.
setStorageSync
(
'xcxIndexPath'
,
res
.
data
.
data
.
xcxIndexPath
);
uni
.
setStorageSync
(
'xcxIndexPath'
,
res
.
data
.
data
.
xcxIndexPath
);
uni
.
setStorageSync
(
"userToken"
,
res
.
data
.
data
.
token
)
uni
.
setStorageSync
(
"userToken"
,
res
.
data
.
data
.
token
)
if
(
this
.
scene
)
{
if
(
this
.
scene
)
{
let
param
=
{
code
:
this
.
scene
}
let
param
=
{
opts
=
{
url
:
'/app/user/check/move/code'
,
method
:
'post'
}
code
:
this
.
scene
}
opts
=
{
url
:
'/app/user/check/move/code'
,
method
:
'post'
}
that
.
http
.
httpTokenRequest
(
opts
,
param
).
then
(
res
=>
{
that
.
http
.
httpTokenRequest
(
opts
,
param
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
data
.
bindFlag
)
{
if
(
res
.
data
.
data
.
bindFlag
)
{
that
.
gotoMoveCar
();
that
.
gotoMoveCar
();
}
else
{
}
else
{
that
.
gotoBindMoveCar
();
that
.
gotoBindMoveCar
();
...
@@ -168,7 +183,7 @@ export default {
...
@@ -168,7 +183,7 @@ export default {
}
}
})
})
}
else
if
(
this
.
failure
==
401
)
{
}
else
if
(
this
.
failure
==
401
)
{
uni
.
navigateBack
()
uni
.
navigateBack
()
return
return
}
else
{
}
else
{
...
@@ -177,20 +192,20 @@ export default {
...
@@ -177,20 +192,20 @@ export default {
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'授权失败'
,
title
:
'授权失败'
,
icon
:
'none'
,
icon
:
'none'
,
})
})
}
}
})
})
},
},
gotoIndex
()
{
gotoIndex
()
{
let
jumpUrl
=
this
.
superiorUrl
let
jumpUrl
=
this
.
superiorUrl
if
(
this
.
superiorUrl
==
'/pages/main'
)
{
if
(
this
.
superiorUrl
==
'/pages/main'
)
{
if
(
!
this
.
superiorParam
)
{
if
(
!
this
.
superiorParam
)
{
this
.
superiorParam
=
"0"
this
.
superiorParam
=
"0"
}
}
jumpUrl
+=
"?index="
+
this
.
superiorParam
jumpUrl
+=
"?index="
+
this
.
superiorParam
}
else
{
}
else
{
jumpUrl
+=
"?id="
+
this
.
superiorParam
jumpUrl
+=
"?id="
+
this
.
superiorParam
}
}
//跳转到绑定页面
//跳转到绑定页面
...
@@ -220,17 +235,20 @@ export default {
...
@@ -220,17 +235,20 @@ export default {
});
});
},
},
// 跳转协议政策页面
// 跳转协议政策页面
goArticle
(
index
){
goArticle
(
index
)
{
let
opts
=
{
url
:
''
,
method
:
'get'
};
let
opts
=
{
if
(
index
==
1
){
url
:
''
,
method
:
'get'
};
if
(
index
==
1
)
{
opts
.
url
=
"/app/user/registerAgreement"
opts
.
url
=
"/app/user/registerAgreement"
}
else
{
}
else
{
opts
.
url
=
"/app/user/ofPrivacy"
opts
.
url
=
"/app/user/ofPrivacy"
}
}
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
let
data
=
res
.
data
.
msg
let
data
=
res
.
data
.
msg
uni
.
setStorageSync
(
"articelContent"
,
data
)
uni
.
setStorageSync
(
"articelContent"
,
data
)
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/binding/article'
url
:
'/pages/binding/article'
});
});
...
@@ -241,23 +259,23 @@ export default {
...
@@ -241,23 +259,23 @@ export default {
onLoad
(
e
)
{
//默认加载
onLoad
(
e
)
{
//默认加载
let
openid
=
uni
.
getStorageSync
(
'openid'
);
let
openid
=
uni
.
getStorageSync
(
'openid'
);
this
.
failure
=
e
.
failure
this
.
failure
=
e
.
failure
if
(
!
openid
)
{
if
(
!
openid
)
{
this
.
wechatLogin
()
this
.
wechatLogin
()
}
else
{
}
else
{
this
.
openid
=
openid
;
this
.
openid
=
openid
;
}
}
if
(
e
&&
e
.
url
)
{
if
(
e
&&
e
.
url
)
{
this
.
superiorUrl
=
e
.
url
this
.
superiorUrl
=
e
.
url
if
(
e
.
index
)
{
if
(
e
.
index
)
{
this
.
superiorParam
=
e
.
index
this
.
superiorParam
=
e
.
index
}
}
if
(
e
.
id
)
{
if
(
e
.
id
)
{
this
.
superiorParam
=
e
.
id
this
.
superiorParam
=
e
.
id
}
}
}
}
// #ifdef MP-WEIXIN
// #ifdef MP-WEIXIN
if
(
e
.
scene
)
{
if
(
e
.
scene
)
{
//获取二维码携带的参数
//获取二维码携带的参数
//扫码后得到的参数
//扫码后得到的参数
...
@@ -275,18 +293,26 @@ export default {
...
@@ -275,18 +293,26 @@ export default {
let
userToken
=
uni
.
getStorageSync
(
'userToken'
)
let
userToken
=
uni
.
getStorageSync
(
'userToken'
)
if
(
userToken
)
{
if
(
userToken
)
{
let
that
=
this
let
that
=
this
let
opts
=
{
url
:
'/app/user/info'
,
method
:
'get'
}
let
opts
=
{
url
:
'/app/user/info'
,
method
:
'get'
}
that
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
that
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
uni
.
setStorageSync
(
'xcxIndexPath'
,
res
.
data
.
data
.
xcxIndexPath
);
uni
.
setStorageSync
(
'xcxIndexPath'
,
res
.
data
.
data
.
xcxIndexPath
);
if
(
that
.
scene
)
{
if
(
that
.
scene
)
{
let
param
=
{
code
:
this
.
scene
}
let
param
=
{
opts
=
{
url
:
'/app/user/check/move/code'
,
method
:
'post'
}
code
:
this
.
scene
}
opts
=
{
url
:
'/app/user/check/move/code'
,
method
:
'post'
}
that
.
http
.
httpTokenRequest
(
opts
,
param
).
then
(
res
=>
{
that
.
http
.
httpTokenRequest
(
opts
,
param
).
then
(
res
=>
{
console
.
info
(
res
);
console
.
info
(
res
);
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
data
.
bindFlag
)
{
if
(
res
.
data
.
data
.
bindFlag
)
{
that
.
gotoMoveCar
();
that
.
gotoMoveCar
();
}
else
{
}
else
{
that
.
gotoBindMoveCar
();
that
.
gotoBindMoveCar
();
...
@@ -300,8 +326,8 @@ export default {
...
@@ -300,8 +326,8 @@ export default {
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'授权失败'
,
title
:
'授权失败'
,
icon
:
'none'
,
icon
:
'none'
,
})
})
this
.
isCanUse2
=
true
this
.
isCanUse2
=
true
}
}
...
@@ -312,25 +338,28 @@ export default {
...
@@ -312,25 +338,28 @@ export default {
// #endif
// #endif
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
button
:
:
after
{
button
:
:
after
{
border
:
none
;
border
:
none
;
}
}
.appCotent
{
.appCotent
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
}
}
.binding
{
.binding
{
position
:
relative
;
position
:
relative
;
top
:
-120rpx
;
top
:
-120rpx
;
.login__logo
{
.login__logo
{
// padding-top: 206rpx;
// padding-top: 206rpx;
text-align
:
center
;
text-align
:
center
;
image
{
image
{
width
:
174rpx
;
width
:
174rpx
;
height
:
174rpx
;
height
:
174rpx
;
...
@@ -377,9 +406,10 @@ button::after {
...
@@ -377,9 +406,10 @@ button::after {
left
:
0
;
left
:
0
;
right
:
0
;
right
:
0
;
margin
:
0
auto
;
margin
:
0
auto
;
span
{
span
{
color
:
rgb
(
0
,
81
,
255
);
color
:
rgb
(
0
,
81
,
255
);
}
}
}
}
}
}
</
style
>
</
style
>
pages/main.vue
View file @
e88bab69
...
@@ -34,7 +34,8 @@
...
@@ -34,7 +34,8 @@
data
()
{
data
()
{
return
{
return
{
tab
:
"index"
,
tab
:
"index"
,
page
:
1
page
:
1
,
scene
:
null
// 二维码携带参数
}
}
},
},
computed
:
{
computed
:
{
...
@@ -162,7 +163,10 @@
...
@@ -162,7 +163,10 @@
let
param
=
{
let
param
=
{
code
:
code
,
code
:
code
,
}
}
let
opts
=
{
url
:
'/xcx/code/session'
,
method
:
'post'
}
let
opts
=
{
url
:
'/xcx/code/session'
,
method
:
'post'
}
await
that
.
http
.
httpRequest
(
opts
,
param
).
then
(
res
=>
{
await
that
.
http
.
httpRequest
(
opts
,
param
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
that
.
openid
=
res
.
data
.
data
.
openid
that
.
openid
=
res
.
data
.
data
.
openid
...
@@ -174,7 +178,7 @@
...
@@ -174,7 +178,7 @@
onLoad
(
option
)
{
onLoad
(
option
)
{
// 静默授权获取openid
// 静默授权获取openid
let
openid
=
uni
.
getStorageSync
(
'openid'
);
let
openid
=
uni
.
getStorageSync
(
'openid'
);
if
(
!
openid
)
{
if
(
!
openid
)
{
this
.
wechatLogin
()
this
.
wechatLogin
()
}
}
...
@@ -191,8 +195,10 @@
...
@@ -191,8 +195,10 @@
});
});
}
}
console
.
log
(
option
,
uni
.
getStorageSync
(
'scene'
),
22222222222
)
let
token
=
uni
.
getStorageSync
(
'userToken'
)
let
token
=
uni
.
getStorageSync
(
'userToken'
)
if
(
!
token
)
{
if
(
!
token
)
{
let
ptKey
=
plugin
.
getPtKey
();
let
ptKey
=
plugin
.
getPtKey
();
if
(
ptKey
)
{
if
(
ptKey
)
{
uni
.
showLoading
({
uni
.
showLoading
({
...
@@ -207,12 +213,15 @@
...
@@ -207,12 +213,15 @@
}
=
res
;
}
=
res
;
if
(
!
token
)
{
if
(
!
token
)
{
uni
.
navigateTo
({
url
:
"/pages/login/index/index"
})
uni
.
hideLoading
()
uni
.
hideLoading
()
uni
.
showToast
({
//
uni.showToast({
title
:
`京东登录失败:
${
message
}
`
,
//
title: `京东登录失败:${message}`,
icon
:
'none'
,
//
icon: 'none',
duration
:
2000
//
duration: 2000
});
//
});
}
else
{
}
else
{
let
opts
=
{
let
opts
=
{
url
:
'/xcx/login'
,
url
:
'/xcx/login'
,
...
@@ -221,17 +230,40 @@
...
@@ -221,17 +230,40 @@
let
openid
=
uni
.
getStorageSync
(
'openid'
)
let
openid
=
uni
.
getStorageSync
(
'openid'
)
that
.
http
.
httpTokenRequest
(
opts
,
{
that
.
http
.
httpTokenRequest
(
opts
,
{
token
:
token
,
token
:
token
,
openid
:
openid
openid
:
openid
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
let
token
=
res
.
data
.
data
.
token
let
token
=
res
.
data
.
data
.
token
uni
.
setStorageSync
(
'userToken'
,
token
)
uni
.
setStorageSync
(
'userToken'
,
token
)
uni
.
hideLoading
()
uni
.
hideLoading
()
uni
.
showToast
({
uni
.
showToast
({
title
:
"登录成功"
,
title
:
"登录成功"
,
icon
:
'none'
,
icon
:
'none'
,
duration
:
2000
duration
:
2000
});
});
// 判断是否扫码进入
that
.
scene
=
uni
.
getStorageSync
(
'scene'
)
if
(
that
.
scene
)
{
//获取二维码携带的参数
//扫码后得到的参数
that
.
http
.
httpTokenRequest
({
url
:
'/app/user/check/move/code'
,
method
:
'post'
},
{
code
:
that
.
scene
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
data
.
bindFlag
)
{
that
.
gotoMoveCar
(
that
.
scene
);
}
else
{
that
.
gotoBindMoveCar
(
that
.
scene
);
}
uni
.
removeStorageSync
(
'scene'
)
}
})
}
}
}
})
})
}
}
...
@@ -239,6 +271,35 @@
...
@@ -239,6 +271,35 @@
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
'err'
,
err
)
console
.
log
(
'err'
,
err
)
})
})
}
else
{
// 判断是否扫码进入
if
(
option
&&
option
.
scene
)
{
uni
.
setStorageSync
(
'scene'
,
decodeURIComponent
(
option
.
scene
))
uni
.
navigateTo
({
url
:
"/pages/login/index/index"
})
}
}
}
else
{
// 判断是否扫码进入
if
(
option
&&
option
.
scene
)
{
//获取二维码携带的参数
//扫码后得到的参数
that
.
scene
=
decodeURIComponent
(
option
.
scene
)
that
.
http
.
httpTokenRequest
({
url
:
'/app/user/check/move/code'
,
method
:
'post'
},
{
code
:
that
.
scene
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
data
.
bindFlag
)
{
that
.
gotoMoveCar
(
that
.
scene
);
}
else
{
that
.
gotoBindMoveCar
(
that
.
scene
);
}
}
})
}
}
}
}
...
...
pages/personal.vue
View file @
e88bab69
...
@@ -62,6 +62,7 @@
...
@@ -62,6 +62,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
let
plugin
=
requirePlugin
(
'loginPlugin'
);
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -71,11 +72,12 @@ export default {
...
@@ -71,11 +72,12 @@ export default {
icon
:
require
(
"@/static/my/my01.png"
),
icon
:
require
(
"@/static/my/my01.png"
),
title
:
"我的订单"
,
title
:
"我的订单"
,
url
:
"/pagesD/pages/personal/myJdOrder"
url
:
"/pagesD/pages/personal/myJdOrder"
},{
icon
:
require
(
"@/static/my/my12.png"
),
title
:
"我的地址"
,
url
:
"/pagesD/pages/personal/myAddress"
},
},
// {
// icon: require("@/static/my/my12.png"),
// title: "我的地址",
// url: "/pagesD/pages/personal/myAddress"
// },
{
{
icon
:
require
(
"@/static/my/my8.png"
),
icon
:
require
(
"@/static/my/my8.png"
),
title
:
"使用帮助"
,
title
:
"使用帮助"
,
...
@@ -133,10 +135,12 @@ export default {
...
@@ -133,10 +135,12 @@ export default {
uni
.
removeStorageSync
(
'userToken'
)
uni
.
removeStorageSync
(
'userToken'
)
uni
.
removeStorageSync
(
'xcxIndexPath'
)
uni
.
removeStorageSync
(
'xcxIndexPath'
)
// uni.removeStorageSync('openid')
// uni.removeStorageSync('openid')
plugin
.
logout
().
then
((
res
)
=>
{
console
.
jdLoginLog
(
res
,
'logoutres'
);
uni
.
reLaunch
({
uni
.
reLaunch
({
url
:
'/pages/main'
url
:
'/pages/main'
});
});
});
}
}
})
})
...
@@ -488,7 +492,7 @@ export default {
...
@@ -488,7 +492,7 @@ export default {
background
:
rgba
(
0
,
0
,
0
,
.1
);
background
:
rgba
(
0
,
0
,
0
,
.1
);
}
}
.list__item
:nth-of-type
(
3
)
{
.list__item
:nth-of-type
(
2
)
{
.list__left
{
.list__left
{
image
{
image
{
width
:
29rpx
;
width
:
29rpx
;
...
@@ -498,7 +502,7 @@ export default {
...
@@ -498,7 +502,7 @@ export default {
}
}
}
}
.list__item
:nth-of-type
(
4
)
{
.list__item
:nth-of-type
(
3
)
{
.list__left
{
.list__left
{
image
{
image
{
width
:
28rpx
;
width
:
28rpx
;
...
@@ -508,7 +512,7 @@ export default {
...
@@ -508,7 +512,7 @@ export default {
}
}
}
}
.list__item
:nth-of-type
(
5
)
{
.list__item
:nth-of-type
(
4
)
{
.list__left
{
.list__left
{
image
{
image
{
width
:
28rpx
;
width
:
28rpx
;
...
...
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