Commit 2fabb17e3977f42480ad6ee4be92a0ebb6118bb1
1 parent
d7ce239a
暂不授权的微信登陆修改完成
Showing
6 changed files
with
32 additions
and
9 deletions
pages/getphone/getphone.json
pages/togoin/togoin.js
pages/togoin/togoin.json
pages/togoin/togoin.wxml
... | ... | @@ -2,7 +2,8 @@ |
2 | 2 | <view class="content"> |
3 | 3 | <view><image class='logo' src="{{imghots+store.store_logo}}"> </image></view> |
4 | 4 | <view class="title">{{store.store_name}}</view> |
5 | - <view>{{store.store_desc}}</view> | |
5 | + <view style="padding:0 40rpx">为了更好的提供服务,小程序将申请获取您的头像,昵称信息</view> | |
6 | 6 | <button class="btn" open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo">授权登录</button> |
7 | + <text class="btn2" bindtap="cancle_bind">暂不授权</text> | |
7 | 8 | </view> |
8 | 9 | </view> |
9 | 10 | \ No newline at end of file | ... | ... |
pages/togoin/togoin.wxss
... | ... | @@ -26,6 +26,17 @@ |
26 | 26 | background: #fc661f; |
27 | 27 | color:#fff; |
28 | 28 | font-size: 32rpx; |
29 | - margin-top: 300rpx; | |
29 | + margin-top: 100rpx; | |
30 | 30 | border-radius: 5rpx; |
31 | +} | |
32 | + | |
33 | +.all_page .btn2{ | |
34 | + height: 80rpx; | |
35 | + line-height: 80rpx; | |
36 | + width: 580rpx; | |
37 | + | |
38 | + color:#999; | |
39 | + font-size: 32rpx; | |
40 | + border-radius: 5rpx; | |
41 | + margin-top: 10rpx; | |
31 | 42 | } |
32 | 43 | \ No newline at end of file | ... | ... |
pages/user/index/index.js
... | ... | @@ -40,9 +40,10 @@ Page({ |
40 | 40 | onLoad: function (options) { |
41 | 41 | //--先判断会员状态-- |
42 | 42 | var user_info = getApp().globalData.userInfo; |
43 | - if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { | |
44 | - wx.navigateTo({ url: '/pages/getphone/getphone'}) | |
45 | - return false; | |
43 | + if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { | |
44 | + getApp().globalData.use_id=0; | |
45 | + //wx.navigateTo({ url: '/pages/getphone/getphone'}) | |
46 | + //return false; | |
46 | 47 | } |
47 | 48 | }, |
48 | 49 | ... | ... |