Commit 0fa5d99a authored by 徐俊's avatar 徐俊

xujun

parent bbc48ccc
......@@ -162,6 +162,7 @@
</div>
</div>
<div style="height:40px;width:100%;text-align:center;padding:4px 0px;background: #fafafa;border:1px solid #e8e8e8; ">
<a-checkbox @change="onReadChange">我已阅读</a-checkbox>&nbsp;
<a-button type="primary" @click="loadExpertInfo" :disabled="check.disabled">{{check.title}}</a-button>
</div>
</div>
......@@ -318,18 +319,13 @@ export default {
},
countStart () {
this.check.disabled = true
this.check.title = '阅读中...(' + this.check.count + 's)'
let time = setInterval(() => {
if (this.check.count == 1) {
clearInterval(time)
this.check.title = '我已阅读'
this.check.count = this.check.time
this.check.title = '下一步'
},
onReadChange (e) {
if (e.target.checked)
this.check.disabled = false
} else {
this.check.count--
this.check.title = '阅读中...(' + this.check.count + 's)'
}
}, 1000)
else
this.check,disabled = true
},
loadExpertInfo () {
this.isShow = true
......
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