Commit 2b1339f3 authored by 陈明豪's avatar 陈明豪

bug修改

parent cb4f3f37
...@@ -39,9 +39,9 @@ ...@@ -39,9 +39,9 @@
disabled disabled
/> />
</el-form-item> </el-form-item>
<el-form-item label="文章封面" prop="articleCover" style="height: 150px"> <el-form-item label="文章封面" prop="articleCover" style="height: 9.375rem">
<!-- 0-- 文章信息的页面--文章封面 --> <!-- 0-- 文章信息的页面--文章封面 -->
<ImagePreview :height="150" :src="baseURL+form.articleCover" :width="150" style="box-shadow: none" /> <ImagePreview :height="'9.375rem'" :src="baseURL+form.articleCover" :width="'9.375rem'" style="box-shadow: none" />
</el-form-item> </el-form-item>
<el-form-item label="状态" prop="articleStatus"> <el-form-item label="状态" prop="articleStatus">
<div style="display: flex; "> <div style="display: flex; ">
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
<el-input v-model.trim="form.title" class="form-input" maxlength="20" show-word-limit clearable disabled /> <el-input v-model.trim="form.title" class="form-input" maxlength="20" show-word-limit clearable disabled />
</el-form-item> </el-form-item>
<el-form-item label="轮播图" prop="img"> <el-form-item label="轮播图" prop="img">
<ImagePreview v-if="form.img" :src="baseUrl + form.img" :width="150" :height="150" style="box-shadow: none" /> <ImagePreview v-if="form.img" :src="baseUrl + form.img" :width="'9.375rem'" :height="'9.375rem'" style="box-shadow: none" />
<ImagePreview v-else :src="'123'" :width="150" :height="150" style="box-shadow: none" /> <ImagePreview v-else :src="'123'" :width="'9.375rem'" :height="'9.375rem'" style="box-shadow: none" />
</el-form-item> </el-form-item>
<el-form-item label="跳转地址" prop="url"> <el-form-item label="跳转地址" prop="url">
<el-input v-model="form.url" class="form-input" maxlength="30" show-word-limit clearable disabled /> <el-input v-model="form.url" class="form-input" maxlength="30" show-word-limit clearable disabled />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment