|
|
@@ -10,8 +10,10 @@
|
|
|
:close-on-click-modal="false"
|
|
|
:close-on-press-escape="false">
|
|
|
<div v-html="htmlData"></div>
|
|
|
- <span slot="footer" class="dialog-footer" style="display: flex;justify-content: center">
|
|
|
- <el-button style="width:50%;font-size: 24px;" type="danger" @click="getUnlock">确认激活</el-button>
|
|
|
+ <span slot="footer" class="dialog-footer" style="display: flex;justify-content: center;align-items: center;">
|
|
|
+ <el-checkbox v-model="checked" style="margin-right: 5px;font-size: 18px;"></el-checkbox>
|
|
|
+ <div style="margin-right: 10px;">已阅读并同意相关内容</div>
|
|
|
+ <el-button style="width:50%;font-size: 24px;" type="danger" :disabled="checked?false:true" @click="getUnlock">确认激活</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
@@ -27,6 +29,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ checked:false,
|
|
|
htmlData:'',
|
|
|
dialogVisible: false,
|
|
|
};
|
|
|
@@ -46,7 +49,7 @@ export default {
|
|
|
},
|
|
|
getUnlock(){
|
|
|
unlock().then(response=>{
|
|
|
- this.dialogVisible = false;
|
|
|
+ this.dialogVisible = false;
|
|
|
})
|
|
|
}
|
|
|
}
|