This commit is contained in:
parent
0da3738089
commit
467e2ed95d
|
|
@ -12,10 +12,14 @@
|
|||
</div>
|
||||
</template>
|
||||
</el-page-header>
|
||||
<section v-if="info.mess_id" class="intro">
|
||||
<el-text>发布人:{{ info.nickname }}</el-text>
|
||||
<el-text v-time="info.create_time"></el-text>
|
||||
</section>
|
||||
<section v-if="info.mess_id" v-html="info.content"/>
|
||||
<section v-if="!info.mess_id" class="empty">
|
||||
<img src="@/assets/images/404.png">
|
||||
</section>
|
||||
<section v-else v-html="info.content"/>
|
||||
</el-main>
|
||||
</template>
|
||||
|
||||
|
|
@ -60,7 +64,8 @@ async function del() {
|
|||
<style lang="scss" scoped>
|
||||
.pi-page {
|
||||
background: var(--el-bg-color);
|
||||
margin-top: 20px;
|
||||
margin: 20px auto;
|
||||
padding: 25px;
|
||||
}
|
||||
|
||||
.header {
|
||||
|
|
@ -70,6 +75,12 @@ async function del() {
|
|||
.empty {
|
||||
text-align: center;
|
||||
padding: 80px 0;
|
||||
}
|
||||
|
||||
.intro {
|
||||
margin-bottom: 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<el-button type="primary" icon="el-icon-search" @click="upsearch"></el-button>
|
||||
</template>
|
||||
<el-table-column type="selection" width="50"></el-table-column>
|
||||
<el-table-column label="ID" prop="message_id"></el-table-column>
|
||||
<el-table-column label="ID" width="80" prop="message_id"></el-table-column>
|
||||
<el-table-column label="标题" prop="title"></el-table-column>
|
||||
<el-table-column label="是否撤回" prop="recalled_flag">
|
||||
<template #default="scope">
|
||||
|
|
|
|||
Loading…
Reference in New Issue