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

修改文案

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