ios审核判断,抽奖没次数提示
This commit is contained in:
@@ -78,7 +78,8 @@
|
||||
import {
|
||||
onLoad,
|
||||
onReady,
|
||||
onReachBottom
|
||||
onReachBottom,
|
||||
onShow
|
||||
} from '@dcloudio/uni-app'
|
||||
import contentlist from './components/contentlist.vue'
|
||||
import {
|
||||
@@ -92,6 +93,10 @@
|
||||
useCommonStore
|
||||
} from '@/store/common.js'
|
||||
const $common = useCommonStore()
|
||||
onShow(()=>{
|
||||
// 判断ios是否审核
|
||||
$common.init()
|
||||
})
|
||||
let datas = reactive({
|
||||
noticeList: [], //公告列表
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
freeNumDay: 0,
|
||||
list: [],
|
||||
selectData: "",
|
||||
source:1
|
||||
source: 1
|
||||
}
|
||||
},
|
||||
onLoad(opt) {
|
||||
@@ -120,6 +120,11 @@
|
||||
})
|
||||
// 奖品的索引
|
||||
this.$refs.dialer.run(indexs)
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: '暂无抽奖次数',
|
||||
icon:'none'
|
||||
})
|
||||
}
|
||||
},
|
||||
// 抽奖次数
|
||||
|
||||
Reference in New Issue
Block a user