Parcourir la source

[授权][修改]:[授权的修改]

tags/福建版C.9.1.06
meo il y a 5 ans
Parent
révision
01fb7d378d
7 fichiers modifiés avec 19 ajouts et 7 suppressions
  1. +1
    -1
      ext.json
  2. +5
    -1
      pages/getphoneInfo/index.js
  3. +1
    -0
      pages/getphoneInfo/index.wxml
  4. +3
    -2
      pages/getphoneInfo/index.wxss
  5. +5
    -1
      pages/getuserinfo/index.js
  6. +1
    -0
      pages/getuserinfo/index.wxml
  7. +3
    -2
      pages/getuserinfo/index.wxss

+ 1
- 1
ext.json Voir le fichier

@@ -17,7 +17,7 @@
], ],
"configUrl": "https://c.malls.iformall.com/C/api", "configUrl": "https://c.malls.iformall.com/C/api",
"etcpAppId": "wxc07f9d67923d676d", "etcpAppId": "wxc07f9d67923d676d",
"ifStoreApp": "2",
"ifStoreApp": "0",
"etcpVersion": "release", "etcpVersion": "release",
"etcpCallbackUrl": "https://admin.malls.iformall.com/api/carCallback/etcpPaidCallback", "etcpCallbackUrl": "https://admin.malls.iformall.com/api/carCallback/etcpPaidCallback",
"ifHaveWebSocket": "0", "ifHaveWebSocket": "0",


+ 5
- 1
pages/getphoneInfo/index.js Voir le fichier

@@ -59,7 +59,11 @@ Page({
}); });
}) })
}, },

backHome: function () {
wx.switchTab({
url: '/index/index',
})
},
getPhoneNumber: function (e) { getPhoneNumber: function (e) {
var that = this; var that = this;
var iv = e.detail.iv; var iv = e.detail.iv;


+ 1
- 0
pages/getphoneInfo/index.wxml Voir le fichier

@@ -10,5 +10,6 @@
<view class="login-btn"> <view class="login-btn">
<button open-type="getPhoneNumber" hover-class='active' wx:if="{{canIUse}}" class="login-btn-login" bindgetphonenumber="getPhoneNumber">授权手机号</button> <button open-type="getPhoneNumber" hover-class='active' wx:if="{{canIUse}}" class="login-btn-login" bindgetphonenumber="getPhoneNumber">授权手机号</button>
<view wx:else>请升级微信版本</view> <view wx:else>请升级微信版本</view>
<button hover-class='active' class="login-btn-login backHome" bindtap="backHome">取消</button>
</view> </view>
</view> </view>

+ 3
- 2
pages/getphoneInfo/index.wxss Voir le fichier

@@ -8,7 +8,9 @@ page{
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }

.backHome{
margin-top: 20rpx!important;
}
.login-logo { .login-logo {
width: 320rpx; width: 320rpx;
/* height: 320rpx; */ /* height: 320rpx; */
@@ -34,7 +36,6 @@ page{
border-radius: 15rpx !important; border-radius: 15rpx !important;
height: 94rpx !important; height: 94rpx !important;
line-height: 94rpx; line-height: 94rpx;
margin: 0 !important;
padding: 0 !important; padding: 0 !important;
font-family: PingFangSC-Semibold !important; font-family: PingFangSC-Semibold !important;
font-size: 36rpx !important; font-size: 36rpx !important;


+ 5
- 1
pages/getuserinfo/index.js Voir le fichier

@@ -99,7 +99,11 @@ Page({
}); });
}) })
}, },

backHome: function () {
wx.switchTab({
url: '/index/index',
})
},
bindGetUserInfo: function (e) { bindGetUserInfo: function (e) {
let that = this; let that = this;
var iv = e.detail.iv; var iv = e.detail.iv;


+ 1
- 0
pages/getuserinfo/index.wxml Voir le fichier

@@ -10,5 +10,6 @@
<view class="login-btn"> <view class="login-btn">
<button open-type="getUserInfo" wx:if="{{canIUse}}" hover-class='active' class="login-btn-login" bindgetuserinfo="bindGetUserInfo">获取微信授权</button> <button open-type="getUserInfo" wx:if="{{canIUse}}" hover-class='active' class="login-btn-login" bindgetuserinfo="bindGetUserInfo">获取微信授权</button>
<view wx:else>微信用户登录</view> <view wx:else>微信用户登录</view>
<button hover-class='active' class="login-btn-login backHome" bindtap="backHome">取消</button>
</view> </view>
</view> </view>

+ 3
- 2
pages/getuserinfo/index.wxss Voir le fichier

@@ -8,7 +8,9 @@ page{
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }

.backHome{
margin-top: 20rpx!important;
}
.login-logo { .login-logo {
width: 320rpx; width: 320rpx;
/* height: 320rpx; */ /* height: 320rpx; */
@@ -44,7 +46,6 @@ page{
border-radius: 15rpx !important; border-radius: 15rpx !important;
height: 94rpx !important; height: 94rpx !important;
line-height: 94rpx; line-height: 94rpx;
margin: 0 !important;
padding: 0 !important; padding: 0 !important;
font-family: PingFangSC-Semibold !important; font-family: PingFangSC-Semibold !important;
font-size: 36rpx !important; font-size: 36rpx !important;


Chargement…
Annuler
Enregistrer