=chenming 5 년 전
부모
커밋
768be60e12
1개의 변경된 파일15개의 추가작업 그리고 9개의 파일을 삭제
  1. +15
    -9
      496_dongfengqichen/pages/star/star.js

+ 15
- 9
496_dongfengqichen/pages/star/star.js 파일 보기

} }
}, },
gettime(){ gettime(){
app.wxRequest(app.globalData.urlRoot + "certificationInfo/getCertificationNum", {}, res => {
app.wxRequest(app.globalData.urlRoot + "userInfo/getCertificationCount", {}, res => {
console.log(res) console.log(res)
if (res.code == 200) { if (res.code == 200) {
this.setData({
stopNumber: res.data ? res.data.certificationNum : '0000'
})
if(this.data.stopNumber<10000){
if (res.data){
this.setData({
stopNumber: res.data.total ? res.data.total : '0000'
})
} else {
this.setData({ this.setData({
numList: [4,0,0,0]
stopNumber: '0000'
}) })
}else{
}
if (this.data.stopNumber < 10000) {
this.setData({
numList: [4, 0, 0, 0]
})
} else {
this.setData({ this.setData({
numList: [0,4,0,0,0]
numList: [0, 4, 0, 0, 0]
}) })
} }
this.getNumber=setInterval(this.vCodeDownTime,20);
this.getNumber = setInterval(this.vCodeDownTime, 20);
} }
}, this); }, this);
}, },

Loading…
취소
저장