Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Cadastrar
Acessar
weapp
/
C
Observar
8
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
66
Wiki
Atividade
Ver código fonte
[授权][修改]:[授权的修改]
tags/C.10.02
meo
5 anos atrás
pai
e6c1b71651
commit
7332dd401e
7 arquivos alterados
com
19 adições
e
7 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-1
ext.json
+5
-1
pages/getphoneInfo/index.js
+1
-0
pages/getphoneInfo/index.wxml
+3
-2
pages/getphoneInfo/index.wxss
+5
-1
pages/getuserinfo/index.js
+1
-0
pages/getuserinfo/index.wxml
+3
-2
pages/getuserinfo/index.wxss
+ 1
- 1
ext.json
Ver arquivo
@@ -21,7 +21,7 @@
"etcpVersion": "release",
"etcpCallbackUrl": "https://ciformall.youlane.cn/api/carCallback/etcpPaidCallback",
"ifHaveWebSocket": "0",
"ifStoreApp": "
2
",
"ifStoreApp": "
0
",
"ifHaveCarModular": "1"
},
"name": "富茂客官开发",
+ 5
- 1
pages/getphoneInfo/index.js
Ver arquivo
@@ -59,7 +59,11 @@ Page({
});
})
},
backHome: function () {
wx.switchTab({
url: '/index/index',
})
},
getPhoneNumber: function (e) {
var that = this;
var iv = e.detail.iv;
+ 1
- 0
pages/getphoneInfo/index.wxml
Ver arquivo
@@ -10,5 +10,6 @@
<view class="login-btn">
<button open-type="getPhoneNumber" hover-class='active' wx:if="{{canIUse}}" class="login-btn-login" bindgetphonenumber="getPhoneNumber">授权手机号</button>
<view wx:else>请升级微信版本</view>
<button hover-class='active' class="login-btn-login backHome" bindtap="backHome">取消</button>
</view>
</view>
+ 3
- 2
pages/getphoneInfo/index.wxss
Ver arquivo
@@ -8,7 +8,9 @@ page{
align-items: center;
justify-content: center;
}
.backHome{
margin-top: 20rpx!important;
}
.login-logo {
width: 320rpx;
/* height: 320rpx; */
@@ -34,7 +36,6 @@ page{
border-radius: 15rpx !important;
height: 94rpx !important;
line-height: 94rpx;
margin: 0 !important;
padding: 0 !important;
font-family: PingFangSC-Semibold !important;
font-size: 36rpx !important;
+ 5
- 1
pages/getuserinfo/index.js
Ver arquivo
@@ -99,7 +99,11 @@ Page({
});
})
},
backHome: function () {
wx.switchTab({
url: '/index/index',
})
},
bindGetUserInfo: function (e) {
let that = this;
var iv = e.detail.iv;
+ 1
- 0
pages/getuserinfo/index.wxml
Ver arquivo
@@ -10,5 +10,6 @@
<view class="login-btn">
<button open-type="getUserInfo" wx:if="{{canIUse}}" hover-class='active' class="login-btn-login" bindgetuserinfo="bindGetUserInfo">获取微信授权</button>
<view wx:else>微信用户登录</view>
<button hover-class='active' class="login-btn-login backHome" bindtap="backHome">取消</button>
</view>
</view>
+ 3
- 2
pages/getuserinfo/index.wxss
Ver arquivo
@@ -8,7 +8,9 @@ page{
align-items: center;
justify-content: center;
}
.backHome{
margin-top: 20rpx!important;
}
.login-logo {
width: 320rpx;
/* height: 320rpx; */
@@ -44,7 +46,6 @@ page{
border-radius: 15rpx !important;
height: 94rpx !important;
line-height: 94rpx;
margin: 0 !important;
padding: 0 !important;
font-family: PingFangSC-Semibold !important;
font-size: 36rpx !important;
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar