| @@ -52,8 +52,10 @@ Page({ | |||||
| encryptedData: encryptedData, | encryptedData: encryptedData, | ||||
| iv: iv | iv: iv | ||||
| } | } | ||||
| }).then( | |||||
| }) | |||||
| .then( | |||||
| function(res) { | function(res) { | ||||
| console.log(res) | |||||
| if(that.path=='index'){ | if(that.path=='index'){ | ||||
| wx.reLaunch({ | wx.reLaunch({ | ||||
| url: "/pages/game/index" | url: "/pages/game/index" | ||||
| @@ -73,6 +75,7 @@ Page({ | |||||
| } | } | ||||
| }, | }, | ||||
| function(error) { | function(error) { | ||||
| console.log(error) | |||||
| wx.showToast({ | wx.showToast({ | ||||
| title: "请授权个人信息", | title: "请授权个人信息", | ||||
| icon: "none" | icon: "none" | ||||
| @@ -81,7 +81,7 @@ text-overflow: ellipsis; | |||||
| .info .sucess { | .info .sucess { | ||||
| display: inline-block; | display: inline-block; | ||||
| width: 123rpx !important; | width: 123rpx !important; | ||||
| overflow: hidden; | |||||
| /* overflow: hidden; */ | |||||
| font-size: 26rpx; | font-size: 26rpx; | ||||
| color: #02c0ff; | color: #02c0ff; | ||||
| letter-spacing: 0; | letter-spacing: 0; | ||||
| @@ -92,7 +92,7 @@ text-overflow: ellipsis; | |||||
| .wait { | .wait { | ||||
| display: inline-block; | display: inline-block; | ||||
| width: 123rpx !important; | width: 123rpx !important; | ||||
| overflow: hidden; | |||||
| overflow: visible!important; | |||||
| font-size: 28rpx; | font-size: 28rpx; | ||||
| color: #ff4949; | color: #ff4949; | ||||
| letter-spacing: 0; | letter-spacing: 0; | ||||
| @@ -48,17 +48,18 @@ Page({ | |||||
| }, | }, | ||||
| gotoetcp:function(){ | gotoetcp:function(){ | ||||
| console.log(this.data.extraData) | console.log(this.data.extraData) | ||||
| wx.navigateToMiniProgram({ | |||||
| appId:'wx192b7d2e8dcbefd0', | |||||
| extraData: this.data.extraData, | |||||
| envVersion:'trial', | |||||
| path:"pages/main/main", | |||||
| }) | |||||
| // wx.navigateToMiniProgram({ | // wx.navigateToMiniProgram({ | ||||
| // appId:'wxc07f9d67923d676d', | |||||
| // appId:'wx192b7d2e8dcbefd0', | |||||
| // extraData: this.data.extraData, | // extraData: this.data.extraData, | ||||
| // envVersion:'release' | |||||
| // envVersion:'trial', | |||||
| // path:"pages/main/main", | |||||
| // }) | // }) | ||||
| wx.navigateToMiniProgram({ | |||||
| appId:'wxc07f9d67923d676d', | |||||
| extraData: this.data.extraData, | |||||
| envVersion:'release', | |||||
| path: "pages/main/main", | |||||
| }) | |||||
| }, | }, | ||||
| showquan: function() { | showquan: function() { | ||||
| wx.navigateTo({ | wx.navigateTo({ | ||||
| @@ -61,12 +61,12 @@ | |||||
| <view class="buy-view" wx:if="{{stopFees.orderId}}"> | <view class="buy-view" wx:if="{{stopFees.orderId}}"> | ||||
| <navigator bindfail="bindfail" path="pages/main/main" wx:if="{{canIUse}}" class='buy' target="miniProgram" open-type="navigate" app-id="wx192b7d2e8dcbefd0" extra-data='{{extraData}}' version="trial"> | |||||
| 立即支付 | |||||
| </navigator> | |||||
| <!-- <navigator wx:if="{{canIUse}}" class='buy' target="miniProgram" open-type="navigate" app-id="wxc07f9d67923d676d" extra-data='{{extraData}}' version="release"> | |||||
| <!-- <navigator bindfail="bindfail" path="pages/main/main" wx:if="{{canIUse}}" class='buy' target="miniProgram" open-type="navigate" app-id="wx192b7d2e8dcbefd0" extra-data='{{extraData}}' version="trial"> | |||||
| 立即支付 | 立即支付 | ||||
| </navigator> --> | </navigator> --> | ||||
| <navigator wx:if="{{canIUse}}" class='buy' path="pages/main/main" target="miniProgram" open-type="navigate" app-id="wxc07f9d67923d676d" extra-data='{{extraData}}' version="release"> | |||||
| 立即支付 | |||||
| </navigator> | |||||
| <view wx:if="{{!canIUse}}" class='buy' bindtap='gotoetcp'>立即支付</view> | <view wx:if="{{!canIUse}}" class='buy' bindtap='gotoetcp'>立即支付</view> | ||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| @@ -70,7 +70,7 @@ | |||||
| <view class="margin"></view> | <view class="margin"></view> | ||||
| <!-- <button bindtap="navigateTo" class="user-out-btn">退出登陆</button> --> | <!-- <button bindtap="navigateTo" class="user-out-btn">退出登陆</button> --> | ||||
| <view bindlongtap='showVersion' class='version'> | <view bindlongtap='showVersion' class='version'> | ||||
| <view wx:if="{{flag=='show'}}">版本号:2.2.9</view> | |||||
| <view wx:if="{{flag=='show'}}">版本号:2.2.7</view> | |||||
| <view wx:if="{{flag=='hidden'}}"></view> | <view wx:if="{{flag=='hidden'}}"></view> | ||||
| </view> | </view> | ||||
| </view> | </view> | ||||