Commit deb3e9e0 by zhangxw

手机号授权提示优化

1 parent 1bbc47fd
...@@ -58,7 +58,9 @@ Page({ ...@@ -58,7 +58,9 @@ Page({
toRegister({ toRegister({
detail detail
}) { }) {
if (!detail.code) return if (!detail.code) {
return wx.$api.showToast('请升级您的微信版本')
}
let params = { let params = {
detail, detail,
...this.data.linkParams ...this.data.linkParams
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<view class="btn grey-btn" wx:if="{{val.completeStatus == 1 && val.missonType != 2}}"> <view class="btn grey-btn" wx:if="{{val.completeStatus == 1 && val.missonType != 2}}">
<text>未达标</text> <text>未达标</text>
</view> </view>
<view class="btn grey-btn" wx:if="{{val.completeStatus == 2}}"> <view class="btn" wx:if="{{val.completeStatus == 2}}">
<text>已完成</text> <text>已完成</text>
</view> </view>
<view class="btn_title" wx:if="{{val.completeStatus == 2}}">奖励已发放</view> <view class="btn_title" wx:if="{{val.completeStatus == 2}}">奖励已发放</view>
......
...@@ -125,6 +125,7 @@ Component({ ...@@ -125,6 +125,7 @@ Component({
thisPage.setData({ thisPage.setData({
showAuth: true showAuth: true
}) })
_this.triggerEvent('myevent', {flag: false, index: ky})
}else{ }else{
_this.queue(item.detailInfo.imgUrlList, ky).then(() => { _this.queue(item.detailInfo.imgUrlList, ky).then(() => {
resolve() resolve()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!