Commit e5da3922 by 杨明

fixed

1 parent d5f87b35
<template> <template>
<div class="square-main"> <div class="square-main">
<GLDialog bigTitle="选择活动" :append-to-body="true" :hasFooter="true" :visible.sync="dialogVisible" width="1088px" :before-close="handleClose" mode="big"> <GLDialog bigTitle="选择活动" :append-to-body="true" :hasFooter="true" :visible.sync="dialogVisible" width="1098px" mode="big">
<div class="model-panel" v-loading="loading"> <div class="model-panel" v-loading="loading">
<div class="model-panel-tab"> <div class="model-panel-tab">
<el-tabs v-model="activeName" @tab-click="handleClick"> <el-tabs v-model="activeName" @tab-click="handleClick">
...@@ -263,6 +263,9 @@ export default { ...@@ -263,6 +263,9 @@ export default {
.el-dialog__footer { .el-dialog__footer {
text-align: center; text-align: center;
} }
.el-dialog__body {
padding: 14px 30px 20px;
}
} }
} }
.model-panel { .model-panel {
...@@ -328,16 +331,14 @@ export default { ...@@ -328,16 +331,14 @@ export default {
align-items: stretch; align-items: stretch;
flex-direction: row; flex-direction: row;
.model-item { .model-item {
width: 240px; width: 248px;
margin-right: 24px; margin-right: 16px;
margin-bottom: 24px; margin-bottom: 16px;
padding: 12px 16px;
position: relative; position: relative;
height: 128px; height: 128px;
background: #f9f9f9; background: #f9f9f9;
border-radius: 4px; border-radius: 4px;
border: 1px solid #e6e6e6; padding: 14px 16px;
padding: 14px 24px;
box-sizing: border-box; box-sizing: border-box;
.item-icon { .item-icon {
position: absolute; position: absolute;
...@@ -378,7 +379,7 @@ export default { ...@@ -378,7 +379,7 @@ export default {
border: 1px solid #979797; border: 1px solid #979797;
} }
&-title { &-title {
font-size: 18px; font-size: 16px;
font-weight: 600; font-weight: 600;
color: #333333; color: #333333;
line-height: 25px; line-height: 25px;
......
<!-- 素材弹窗 --> <!-- 素材弹窗 -->
<template> <template>
<GLDialog bigTitle="选择素材" :append-to-body="true" :hasFooter="true" :visible.sync="isMaterialVisible" width="70%" class="relateStore" mode="big"> <GLDialog bigTitle="选择素材" :append-to-body="true" :hasFooter="true" :visible.sync="isMaterialVisible" width="1088px" class="relateStore" mode="big">
<GLCombiForm :rowNumber="1" ref="showSearch" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm> <GLCombiForm :rowNumber="1" class="material-search" ref="showSearch" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="model-panel"> <div class="model-panel">
<div class="model-item-panel" v-if="modelList.length > 0" v-loading="loading"> <div class="model-item-panel" v-if="modelList.length > 0" v-loading="loading">
<div class="model-item" :class="{ checked: selectItem.id == item.id }" v-for="(item, index) in modelList" :key="index" @click="handleSelectItem(item)"> <div class="model-item" :class="{ checked: selectItem.id == item.id }" v-for="(item, index) in modelList" :key="index" @click="handleSelectItem(item)">
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
<div class="model-content-html" v-html="item.htmlText"></div> <div class="model-content-html" v-html="item.htmlText"></div>
</div> </div>
</div> </div>
<!-- </div> -->
</div> </div>
<div class="model-item-empty" v-else v-loading="loading"> <div class="model-item-empty" v-else v-loading="loading">
<img src="../../../assets/empty.png" /> <img src="../../../assets/empty.png" />
...@@ -257,6 +258,13 @@ export default { ...@@ -257,6 +258,13 @@ export default {
} }
} }
} }
.material-search {
/deep/ {
.el-form-item--small {
width: auto !important;
}
}
}
.model-panel { .model-panel {
.model-panel-tab { .model-panel-tab {
display: flex; display: flex;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!