调整剧本描述,及样式

This commit is contained in:
zyy 2020-11-06 14:50:13 +08:00
parent c01b35aff7
commit a7519ae06e
4 changed files with 10 additions and 10 deletions

View File

@ -135,12 +135,11 @@ export default {
title: res.data.name,
dangerouslyUseHTMLString: true,
message: `
<p><span style="color: #000;font-weight: bold;">场景描述</span>${row.description}</p>
<p><span style="color: #000;font-weight: bold;">处置流程</span>${row.disposalProcesses}</p>`,
<p><span style="color: #000;font-weight: bold;">场景描述</span>${row.description}</p>`,
customClass: 'notify_box',
position: 'top-left',
// position: 'top-left',
showClose: false,
offset: 120,
offset: 75,
duration: 0
});
this.$store.commit('training/setNotifySelected', notifyData);
@ -253,8 +252,8 @@ export default {
.notify_box{
width: 300px;
white-space: inherit;
&.el-notification.left{
left: 5px;
&.el-notification.right{
right: 5px;
padding: 6px 0;
}
}

View File

@ -136,8 +136,8 @@ export default {
.menuTrainListOut{
position: absolute;
right: 0;
top: 15%;
height: 70%;
top: 20%;
height: 60%;
transform: translateX(400px);
transition: all 0.4s;
&.active{

View File

@ -99,6 +99,7 @@ export default {
this.$notify({
title: this.$t('global.tips'),
duration: 3000,
offset: 100,
message: h('i', { style: 'color:' + opt.color }, opt.message)
});
}

View File

@ -125,8 +125,8 @@ export default {
.menuTrainListOut{
position: absolute;
right: 0;
top: 15%;
height: 70%;
top: 20%;
height: 60%;
transform: translateX(400px);
transition: all 0.4s;
&.active{