Commit 5053f905 authored by sujie@126.com's avatar sujie@126.com

dd

parent 56fd4aaf
...@@ -2738,11 +2738,20 @@ Page({ ...@@ -2738,11 +2738,20 @@ Page({
return return
} }
if ((!data||data.my_unlock_count == 0) && data.sort!=1) { if ((!data||data.my_unlock_count == 0) && data.sort!=1) {
wx.showToast({ console.log(this.data.themeSelect,'this.data.themeSelect')
title: '该关卡还未解锁,解锁机会已用完,明天再来吧', if(this.data.themeSelect.my_clock_count == 0){
icon: 'none', wx.showToast({
duration: 2000 title: '请先打卡当前关卡才能解锁下一个关卡哦',
}) icon: 'none',
duration: 2000
})
}else{
wx.showToast({
title: '该关卡还未解锁,解锁机会已用完,明天再来吧',
icon: 'none',
duration: 2000
})
}
return; return;
} }
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment