<view class="container">
<view class='topTabSwiper'>
<view class='tab { {currentData == 0 ? "tabBorer" : ""}}' data-current = "0" bindtap='checkCurrent'>一键授权<span class="tab_bor"></span></view>
<!-- <view class='tab { {currentData == 1 ? "tabBorer" : ""}}' data-current = "1" bindtap='checkCurrent'>手动绑定<span class="tab_bor"></span></view> -->
</view>
<swiper current="{ {currentData}}" class='swiper' style="height:500px;" duration="300" bindchange="bindchange">
<swiper-item>
<view class="quan_box">
<image src="../.pg" class="quan_img"></image>
<view class="quan_text"><text>xxx登录验证</text><text>授权绑定您的手机号</text></view>
<view class="shou_btm">
<button class="jujue" bindtap="jjueue" >拒绝</button>
<button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" class="{ {showViewphone?'show':'show'}}">允许</button>
</view>
//获取手机号
//获取手机号
getPhoneNumber(e) {
var that = this
var openid = wx.getStorageSync('openid');
if (e.detail.errMsg == 'getPhoneNumber:ok') {
wx.request({
url: 'h.../wx_xcx/jie.ashx',
data: {