|
@@ -6,7 +6,7 @@
|
|
|
<el-button type="danger" @click="goToIndex">首页</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <el-form :model="form" ref="postForm" :rules="rules" label-width="120px" :show-message="false">
|
|
|
+ <el-form :model="form" ref="postForm" :rules="rules" label-width="100px" :show-message="false">
|
|
|
<el-form-item label="选择图文:" prop="mediaId">
|
|
|
<div class="content-wrapper">
|
|
|
<div class="main-content">
|
|
@@ -15,7 +15,7 @@
|
|
|
<div v-for="(article, index) in paginatedArticles" :key="article.id" class="article-item">
|
|
|
<div class="article-content">
|
|
|
<el-radio :label="String(article.id)">
|
|
|
- 剑鱼标讯公众号图文信息这个是标题{{ article.title }} - {{ article.date }}
|
|
|
+ {{ article.title }} - {{ article.date }}
|
|
|
</el-radio>
|
|
|
<el-button type="text" size="small" @click="previewArticle(article.url)">预览</el-button>
|
|
|
</div>
|
|
@@ -68,7 +68,7 @@
|
|
|
|
|
|
<el-form-item>
|
|
|
<div class="button-container">
|
|
|
- <el-button @click="goBack">取消</el-button>
|
|
|
+ <el-button type="info" @click="goBack">取消</el-button>
|
|
|
<el-button type="success" @click="savePost(true)">发送</el-button>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
@@ -399,10 +399,11 @@ export default {
|
|
|
}
|
|
|
.button-container {
|
|
|
display: flex;
|
|
|
- justify-content: flex-end;
|
|
|
+ justify-content: center; /* 居中显示 */
|
|
|
+ gap: 20px; /* 按钮间距 */
|
|
|
}
|
|
|
.error-message {
|
|
|
- width: 200px;
|
|
|
+ width: 130px;
|
|
|
color: #f56c6c;
|
|
|
padding: 10px;
|
|
|
text-align: left;
|