提交 65763e61 作者: 毛细亚

更新样式

上级 46edc9c9
<svg t="1765950660083" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5445" width="200" height="200"><path d="M512 938.666667C276.362667 938.666667 85.333333 747.637333 85.333333 512S276.362667 85.333333 512 85.333333s426.666667 191.029333 426.666667 426.666667-191.029333 426.666667-426.666667 426.666667z m0-64c200.298667 0 362.666667-162.368 362.666667-362.666667S712.298667 149.333333 512 149.333333 149.333333 311.701333 149.333333 512s162.368 362.666667 362.666667 362.666667z" p-id="5446"></path></svg>
\ No newline at end of file
...@@ -3,10 +3,11 @@ ...@@ -3,10 +3,11 @@
<el-drawer <el-drawer
title="选择游戏" title="选择游戏"
:visible="show" :visible="show"
size="400px" size="420px"
append-to-body append-to-body
@close="close" @close="close"
> >
<div class="sendTransWxGame">
<el-form ref="wxGameForm" :model="wxGameForm" :rules="wxGameRules" label-position="top" class="game-select-container"> <el-form ref="wxGameForm" :model="wxGameForm" :rules="wxGameRules" label-position="top" class="game-select-container">
<!-- 微信小游戏 --> <!-- 微信小游戏 -->
<el-form-item label=""> <el-form-item label="">
...@@ -46,7 +47,7 @@ ...@@ -46,7 +47,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- 选择背景图 新增背景图的选项 --> <!-- 选择背景图 新增背景图的选项 -->
<el-form-item v-if="backgroundImgsList.length > 0" label=""> <el-form-item v-if="backgroundImgsList.length > 0" label="" style="margin-bottom: 100px;">
<template slot="label"> <template slot="label">
<p class="formLabel"> <p class="formLabel">
<span class="required-mark">*</span> <span class="required-mark">*</span>
...@@ -79,9 +80,10 @@ ...@@ -79,9 +80,10 @@
alt="二维码" alt="二维码"
> >
</div> </div>
<!-- 左上角小眼睛图标 --> <!-- 右上角选中/未选中图标 -->
<div class="eye-icon" @click.stop="showPreview(item, index)"> <div class="status-icon">
<i class="el-icon-view"></i> <i v-if="wxGameForm.selectedBackgroundIndex === index" class="el-icon-circle-check status-icon-checked"></i>
<svg-icon v-else icon-class="uncheck" class="status-icon-unchecked"></svg-icon>
</div> </div>
</div> </div>
</el-radio> </el-radio>
...@@ -152,6 +154,7 @@ ...@@ -152,6 +154,7 @@
<el-button @click="previewVisible = false">关闭</el-button> <el-button @click="previewVisible = false">关闭</el-button>
</span> </span>
</el-drawer> </el-drawer>
</div>
</el-drawer> </el-drawer>
</template> </template>
...@@ -711,6 +714,12 @@ ...@@ -711,6 +714,12 @@
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
} }
.sendTransWxGame{
width: 100%;
height: 100%;
overflow: auto;
padding-bottom: 50px;
}
.dialog-footer{ .dialog-footer{
width: calc(100%); width: calc(100%);
height: auto; height: auto;
...@@ -865,42 +874,52 @@ ...@@ -865,42 +874,52 @@
top: 6.5px; top: 6.5px;
width: 16px; width: 16px;
height: 16px; height: 16px;
display: flex;
align-items: center;
justify-content: center;
z-index: 10; z-index: 10;
.status-icon-checked { .status-icon-checked {
font-size: 14px; font-size: 14px;
color: #00bf8a; color: #00bf8a;
width: 14px;
height: 14px;
display: flex;
align-items: center;
justify-content: center;
} }
.status-icon-unchecked { .status-icon-unchecked {
font-size: 14px; font-size: 14px;
color: #909399; color: #b1b2b4;
width: 14px;
height: 14px;
display: flex;
align-items: center;
justify-content: center;
} }
} }
.preview-dialog { .preview-dialog {
right: 400px; right: 420px;
height: auto;
background: none;
} }
.preview-content { .preview-content {
width: 100%; width: 100%;
height: 100%;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
min-height: 400px; min-height: 400px;
padding: 0 20px;
} }
.preview-wrapper { .preview-wrapper {
position: relative; position: relative;
display: inline-block; display: inline-block;
max-width: 100%; width: 100%;
} }
.preview-background { .preview-background {
max-width: 100%; width: 100%;
max-height: 70vh; max-height: 70vh;
object-fit: contain; object-fit: contain;
display: block; display: block;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论