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
920069ea
Commit
920069ea
authored
Apr 25, 2022
by
肖健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除按钮自带的边框
parent
4473daa3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
23 deletions
+30
-23
index.vue
pages/binding/index.vue
+30
-23
No files found.
pages/binding/index.vue
View file @
920069ea
...
...
@@ -54,13 +54,13 @@ export default {
isCanUse2
:
false
,
//默认为true
openid
:
''
,
nc_protocol
:
false
,
//扫描二维码参数
//扫描二维码参数
scene
:
""
,
//检查绑定挪车码
checkCode
:
{},
//检查绑定挪车码
checkCode
:
{},
};
},
methods
:
{
methods
:
{
changeBtn
()
{
this
.
checked
=
!
this
.
checked
;
},
...
...
@@ -73,25 +73,25 @@ export default {
});
},
//检查挪车码存在、是否绑定
getCheckMoveCode
(){
let
opts
=
{
url
:
'/app/index/check/move/code'
,
method
:
'post'
};
this
.
http
.
httpTokenRequest
(
opts
,
{
code
:
this
.
scene
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
checkCode
=
res
.
data
.
data
//未绑定了的情况
if
(
!
this
.
checkCode
.
bindFlag
){
uni
.
navigateTo
({
url
:
'/pagesB/pages/move-car/scan?moveCode='
+
this
.
checkCode
.
code
})
}
else
if
(
this
.
checkCode
.
selfFlag
){
}
else
{
}
}
})
},
//检查挪车码存在、是否绑定
getCheckMoveCode
(){
let
opts
=
{
url
:
'/app/index/check/move/code'
,
method
:
'post'
};
this
.
http
.
httpTokenRequest
(
opts
,
{
code
:
this
.
scene
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
checkCode
=
res
.
data
.
data
//未绑定了的情况
if
(
!
this
.
checkCode
.
bindFlag
){
uni
.
navigateTo
({
url
:
'/pagesB/pages/move-car/scan?moveCode='
+
this
.
checkCode
.
code
})
}
else
if
(
this
.
checkCode
.
selfFlag
){
}
else
{
}
}
})
},
async
wechatLogin
()
{
wx
.
login
({
success
:
(
res
)
=>
{
...
...
@@ -214,6 +214,8 @@ export default {
this
.
scene
=
scene
;
}
this
.
wechatLogin
()
let
userToken
=
uni
.
getStorageSync
(
'userToken'
)
...
...
@@ -259,6 +261,11 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
button
:
:
after
{
border
:
initial
;
}
.binding
{
.login__logo
{
padding-top
:
80rpx
;
...
...
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