mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 10:12:54 +08:00
style:公告样式
This commit is contained in:
@@ -9,15 +9,15 @@
|
||||
<div class="noticeContent">
|
||||
<div v-for="item in notice" :key="item.id" class="item">
|
||||
<!-- <div class="itemcontent">{{ item.content }}</div> -->
|
||||
<!-- <a-textarea
|
||||
<a-textarea
|
||||
class="itemcontent"
|
||||
disabled="true"
|
||||
v-model:value="item.content"
|
||||
:maxlength="150"
|
||||
placeholder="公告信息最多输入150个字"
|
||||
style="margin-top: -10px; height: 120px;background-color: #fff;"
|
||||
/> -->
|
||||
<pre style="text-align: left;padding-left: 20px">{{item.content}}</pre>
|
||||
style="margin-top: -10px; height: 220px;background-color: #fff;border:1px solid #fff;"
|
||||
/>
|
||||
<!-- <pre style="text-align: left;padding-left: 20px">{{item.content}}</pre> -->
|
||||
<div class="itemtime">{{ item.pubtime }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
<!-- <div class="txt-content">
|
||||
{{ noticeContent1 ? noticeContent1 : "暂无公告" }}
|
||||
</div> -->
|
||||
<!-- <a-textarea
|
||||
<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;"
|
||||
/> -->
|
||||
<pre>{{noticeContent1}}</pre>
|
||||
style="margin-top: -10px; height: 220px;border:1px solid #fff; resize: none;background-color: #fff;color:#666;"
|
||||
/>
|
||||
<!-- <pre>{{noticeContent1}}</pre> -->
|
||||
<div class="btn-content">
|
||||
<a-button type="primary" @click="handleEdit">编辑</a-button>
|
||||
</div>
|
||||
@@ -34,13 +34,20 @@
|
||||
<!-- <div class="txt-content">
|
||||
{{ noticeContent1 ? noticeContent1 : "暂无公告" }}
|
||||
</div> -->
|
||||
<pre>{{noticeContent1}}</pre>
|
||||
<!-- <pre>{{noticeContent1}}</pre> -->
|
||||
<a-textarea
|
||||
disabled="true"
|
||||
v-model:value="noticeContent1"
|
||||
:maxlength="150"
|
||||
placeholder="公告信息最多输入150个字"
|
||||
style="margin-top: -10px; height: 220px;border:1px solid #fff; resize: none;background-color: #fff;color:#666;"
|
||||
/>
|
||||
<p>编辑新公告:</p>
|
||||
<a-textarea
|
||||
v-model:value="noticeContent"
|
||||
:maxlength="150"
|
||||
placeholder="公告信息最多输入150个字"
|
||||
style="margin-top: -10px; height: 160px; width:340px;"
|
||||
style="margin-top: -10px; height: 160px;"
|
||||
/>
|
||||
<div class="btn-content">
|
||||
<a-button class="cancel" @click="handleCancel">取消</a-button>
|
||||
|
||||
Reference in New Issue
Block a user