Commit 21f1b24d authored by Damon's avatar Damon

fix: 每日一练弹窗按钮

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