Commit 21f1b24d authored by Damon's avatar Damon

fix: 每日一练弹窗按钮

parent abd20ca4
......@@ -49,7 +49,7 @@
type="primary"
@click="handleClickSure"
>
{{ buttonText }}
{{ sureText }}
</u-button>
</view>
</view>
......@@ -78,14 +78,11 @@ export default {
return {}
},
computed: {
isNormal() {
return this.type == 'normal'
},
cancelText() {
return this.isNormal ? '查看记录' : '回首页'
return this.type == 'normal' ? '查看记录' : '回首页'
},
sureText() {
return this.isNormal ? '继续练习' : '去绑卡'
return this.type == 'normal' ? '继续练习' : '去绑卡'
},
backgroundImage() {
return process.uniEnv.qn_base_url + 'lianxibeijing.png'
......
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