提交 7b7451d1 作者: 毛细亚

更新样式

上级 02d963eb
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label=""> <el-form-item label="选择渠道">
<el-select <el-select
v-model="wxGameForm.wx_game_channel" v-model="wxGameForm.wx_game_channel"
placeholder="请选择渠道" placeholder="请选择渠道"
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
> >
<el-option <el-option
v-for="(item,index) in wxGameChannelList" v-for="(item,index) in wxGameChannelList"
:key="index" :key="item.key"
:label="item.name" :label="item.name"
:value="item.key" :value="item.key"
> >
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<div class="background-options"> <div class="background-options">
<el-radio <el-radio
v-for="(item, index) in backgroundImgsList" v-for="(item, index) in backgroundImgsList"
:key="index" :key="item.background_img"
:label="index" :label="index"
class="background-radio-item" class="background-radio-item"
> >
...@@ -822,12 +822,12 @@ ...@@ -822,12 +822,12 @@
background: #fff; background: #fff;
border: 1.5px solid #e5e7eb; border: 1.5px solid #e5e7eb;
border-radius: 8px; border-radius: 8px;
padding: 10px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
overflow: hidden; overflow: hidden;
transition: all 0.3s; transition: all 0.3s;
padding: 10px 30px;
} }
.background-radio-item.is-checked .background-card { .background-radio-item.is-checked .background-card {
...@@ -836,8 +836,6 @@ ...@@ -836,8 +836,6 @@
.background-preview-wrapper { .background-preview-wrapper {
position: relative; position: relative;
width: 100%;
height: auto;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
...@@ -845,8 +843,7 @@ ...@@ -845,8 +843,7 @@
.background-preview { .background-preview {
width: 100%; width: 100%;
height: 100%; object-fit:100% 100%;
object-fit: contain;
pointer-events: none; pointer-events: none;
border-radius: 5px; border-radius: 5px;
} }
...@@ -918,21 +915,20 @@ ...@@ -918,21 +915,20 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
min-height: 400px; min-height: 400px;
padding: 0 20px; padding: 20px;
padding-top: 0;
} }
.preview-wrapper { .preview-wrapper {
position: relative; position: relative;
display: inline-block;
width: 100%; width: 100%;
display: flex;
} }
.preview-background { .preview-background {
width: 100%;
max-height: 70vh;
object-fit: contain;
display: block; display: block;
border-radius: 10px; border-radius: 10px;
max-width: 100%;
} }
.preview-qrcode { .preview-qrcode {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论