mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-23 17:55:39 +08:00
fix:修改项目公告格式
This commit is contained in:
@@ -14,24 +14,38 @@
|
||||
<p>当前公告内容:</p>
|
||||
<!-- 预览 -->
|
||||
<template v-if="!editOn">
|
||||
<div class="txt-content">
|
||||
<!-- <div class="txt-content">
|
||||
{{ noticeContent1 ? noticeContent1 : "暂无公告" }}
|
||||
</div>
|
||||
</div> -->
|
||||
<a-textarea
|
||||
disabled="true"
|
||||
v-model:value="noticeContent1"
|
||||
:maxlength="150"
|
||||
placeholder="公告信息最多输入150个字"
|
||||
style="margin-top: -10px; height: 160px; resize: none;background-color: #fff;color:#666;"
|
||||
/>
|
||||
<div class="btn-content">
|
||||
<a-button type="primary" @click="handleEdit">编辑</a-button>
|
||||
</div>
|
||||
</template>
|
||||
<!-- 编辑 -->
|
||||
<template v-if="editOn">
|
||||
<div class="txt-content">
|
||||
<!-- <div class="txt-content">
|
||||
{{ noticeContent1 ? noticeContent1 : "暂无公告" }}
|
||||
</div>
|
||||
</div> -->
|
||||
<a-textarea
|
||||
disabled="true"
|
||||
v-model:value="noticeContent1"
|
||||
:maxlength="150"
|
||||
placeholder="公告信息最多输入150个字"
|
||||
style="margin-top: -10px; height:160px; resize: none;background-color: #fff;color:#666;"
|
||||
/>
|
||||
<p>编辑新公告:</p>
|
||||
<a-textarea
|
||||
v-model:value="noticeContent"
|
||||
:maxlength="150"
|
||||
placeholder="公告信息最多输入150个字"
|
||||
style="margin-top: -10px; height: 120px"
|
||||
style="margin-top: -10px; height: 160px"
|
||||
/>
|
||||
<div class="btn-content">
|
||||
<a-button class="cancel" @click="handleCancel">取消</a-button>
|
||||
@@ -62,7 +76,7 @@ export default {
|
||||
const state = reactive({
|
||||
noticeChecked: false,
|
||||
projectInfo: {},
|
||||
noticeContent1: "",
|
||||
noticeContent1: "暂无公告",
|
||||
noticeContent: "",
|
||||
editOn: false,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user