Commit e5da3922 by 杨明

fixed

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