Commit 920069ea authored by 肖健's avatar 肖健

去除按钮自带的边框

parent 4473daa3
...@@ -54,13 +54,13 @@ export default { ...@@ -54,13 +54,13 @@ export default {
isCanUse2: false, //默认为true isCanUse2: false, //默认为true
openid: '', openid: '',
nc_protocol : false, nc_protocol : false,
//扫描二维码参数 //扫描二维码参数
scene : "", scene : "",
//检查绑定挪车码 //检查绑定挪车码
checkCode: {}, checkCode: {},
}; };
}, },
methods: { methods: {
changeBtn() { changeBtn() {
this.checked = !this.checked; this.checked = !this.checked;
}, },
...@@ -73,25 +73,25 @@ export default { ...@@ -73,25 +73,25 @@ export default {
}); });
}, },
//检查挪车码存在、是否绑定 //检查挪车码存在、是否绑定
getCheckMoveCode(){ getCheckMoveCode(){
let opts = { url: '/app/index/check/move/code', method: 'post' }; let opts = { url: '/app/index/check/move/code', method: 'post' };
this.http.httpTokenRequest(opts, {code:this.scene}).then(res => { 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{
} }
} }
}) })
}, },
async wechatLogin() { async wechatLogin() {
wx.login({ wx.login({
success: (res) => { success: (res) => {
...@@ -214,6 +214,8 @@ export default { ...@@ -214,6 +214,8 @@ export default {
this.scene = scene; this.scene = scene;
} }
this.wechatLogin() this.wechatLogin()
let userToken = uni.getStorageSync('userToken') let userToken = uni.getStorageSync('userToken')
...@@ -259,6 +261,11 @@ export default { ...@@ -259,6 +261,11 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
button::after {
border: initial;
}
.binding { .binding {
.login__logo { .login__logo {
padding-top: 80rpx; padding-top: 80rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment