修改问题

This commit is contained in:
nisen
2023-09-05 16:44:16 +08:00
parent d88e9dd3bb
commit f326a2548b
6 changed files with 11 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 521 KiB

After

Width:  |  Height:  |  Size: 525 KiB

View File

@@ -42,7 +42,7 @@
<el-dropdown-item command="four" divided>U选小课堂</el-dropdown-item>
<el-dropdown-item command="five" divided>社招新员工</el-dropdown-item>
<el-dropdown-item command="six" divided>贡献者专区</el-dropdown-item>
<el-dropdown-item command="seven" divided>感恩教师节</el-dropdown-item>
<el-dropdown-item command="seven" divided>教师专区</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>

View File

@@ -20,7 +20,7 @@
<div class="xcontent2-main">
<div class="modules-list" style="margin-top: 0;">
<div class="bgc">
<div class="title">教师节活动通知</div>
<div class="title">{{ name }}</div>
<!--内容列表内容-->
<div class="timeAndAuthor">
<div class="author">发布人{{ createName }}</div>
@@ -30,7 +30,7 @@
</div>
</div>
<div class="topTitle">通知内容</div>
<div class="noticeContent">{{ content }}</div>
<div class="noticeContent" style="white-space: pre;">{{ content }}</div>
</div>
</div>
</div>
@@ -46,17 +46,19 @@ export default {
return {
content: '',
createName: '',
createTime: ''
createTime: '',
name: ''
};
},
components: { timeShow },
mounted() {
noticeDataById(this.$route.query.id).then((result) => {
console.log(result);
const { content, createName, createTime } = result.data
const { content, createName, createTime, name } = result.data
this.content = content
this.createTime = createTime
this.createName = createName
this.name = name
})
},
methods: {
@@ -90,7 +92,7 @@ export default {
content: url(../../assets/images//grateful/logo.png);
position: absolute;
left: 40px;
top: 16px;
top: 20px;
}
}
@@ -143,4 +145,5 @@ export default {
.noticeContent {
padding: 0 80px;
}
}</style>
}
</style>

View File

@@ -138,7 +138,7 @@ export default {
content: url(../../assets/images//grateful/logo.png);
position: absolute;
left: 40px;
top: 16px;
top: 20px;
}
}
}