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

xujun

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