diff --git a/pages/getphone/getphone.json b/pages/getphone/getphone.json index 9e26dfe..41fff8a 100644 --- a/pages/getphone/getphone.json +++ b/pages/getphone/getphone.json @@ -1 +1,3 @@ -{} \ No newline at end of file +{ + "navigationBarTitleText": "绑定手机" +} diff --git a/pages/togoin/togoin.js b/pages/togoin/togoin.js index 894ef23..d9fd608 100644 --- a/pages/togoin/togoin.js +++ b/pages/togoin/togoin.js @@ -29,6 +29,12 @@ Page({ delta: 1 }) }) - - } + + }, + + cancle_bind:function(){ + getApp().goto('/pages/user/index/index'); + } + + }); diff --git a/pages/togoin/togoin.json b/pages/togoin/togoin.json index 9e26dfe..97e7bd6 100644 --- a/pages/togoin/togoin.json +++ b/pages/togoin/togoin.json @@ -1 +1,3 @@ -{} \ No newline at end of file +{ + "navigationBarTitleText": "授权登录" +} \ No newline at end of file diff --git a/pages/togoin/togoin.wxml b/pages/togoin/togoin.wxml index ff4c435..467f327 100644 --- a/pages/togoin/togoin.wxml +++ b/pages/togoin/togoin.wxml @@ -2,7 +2,8 @@ {{store.store_name}} - {{store.store_desc}} + 为了更好的提供服务,小程序将申请获取您的头像,昵称信息 + 暂不授权 \ No newline at end of file diff --git a/pages/togoin/togoin.wxss b/pages/togoin/togoin.wxss index 87f8b45..35d5957 100644 --- a/pages/togoin/togoin.wxss +++ b/pages/togoin/togoin.wxss @@ -26,6 +26,17 @@ background: #fc661f; color:#fff; font-size: 32rpx; - margin-top: 300rpx; + margin-top: 100rpx; border-radius: 5rpx; +} + +.all_page .btn2{ + height: 80rpx; + line-height: 80rpx; + width: 580rpx; + + color:#999; + font-size: 32rpx; + border-radius: 5rpx; + margin-top: 10rpx; } \ No newline at end of file diff --git a/pages/user/index/index.js b/pages/user/index/index.js index 943b795..af607f1 100644 --- a/pages/user/index/index.js +++ b/pages/user/index/index.js @@ -40,9 +40,10 @@ Page({ onLoad: function (options) { //--先判断会员状态-- var user_info = getApp().globalData.userInfo; - if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { - wx.navigateTo({ url: '/pages/getphone/getphone'}) - return false; + if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { + getApp().globalData.use_id=0; + //wx.navigateTo({ url: '/pages/getphone/getphone'}) + //return false; } },