提交 215a363a 编写于 作者: lyf's avatar lyf

修改文案

上级 f898419e
......@@ -989,7 +989,8 @@ export default {
.init({
cancleTxt: "取消",
confirmTxt: "确定",
title: `结束会话后,APP端问诊室将关闭.`,
title: `确定要结束会话吗?`,
content:`结束会话后,APP端问诊室将关闭`
})
.then(() => {
this.out();
......
......@@ -10,6 +10,9 @@
<p class="title">{{title}}</p>
</div>
</div>
<div class="content" v-if="content">
{{content}}
</div>
<div class="btn">
<div @click.stop="confirm" class="confirm-btn">{{confirmTxt}}</div>
<div @click.stop="cancle" class="cancle-btn" v-if="cancleTxt">{{cancleTxt}}</div>
......@@ -26,6 +29,7 @@ export default {
warningImg: require('@/assets/image/live/warning.png'),
show: false,
title: '',
content:'',
confirmTxt: '确定',
cancleTxt: '',
_promise: null
......@@ -37,10 +41,12 @@ export default {
this.title = ''
this.confirmTxt = '确定'
this.cancleTxt = ''
this.content=""
this._promise = null
},
init(obj={}) {
Object.assign(this,obj)
console.log("obj---",obj)
this.show = true
return new Promise((resolve,reject) => {
this._promise = {
......@@ -110,6 +116,13 @@ export default {
}
}
}
.content{
font-size:16px;
font-family:PingFangSC-Medium,PingFang SC;
font-weight:500;
color:rgba(255,255,255,0.85);
margin-top: 24px;
}
.btn {
margin-top: 24px;
display: flex;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册