Commit c5d9c5d3 by 胡悦 Committed by chenwq

修复样式

1 parent ac65e9ae
...@@ -302,7 +302,7 @@ export default { ...@@ -302,7 +302,7 @@ export default {
if (item.attType == 1) { if (item.attType == 1) {
const list = emoji.flat(Infinity) const list = emoji.flat(Infinity)
const cutImg = item.attContent.replaceAll('<img src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/emoji/', '') const cutImg = item.attContent.replaceAll('<img src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/emoji/', '')
const replaceImg = cutImg.replace(/(\d){3}.png">/g, function (str) { const replaceImg = cutImg.replace(/(\d){3}.png">/g, function(str) {
let s = list[parseInt(str.split('.')[0]) - 1] let s = list[parseInt(str.split('.')[0]) - 1]
return `[${s}]` return `[${s}]`
}) })
...@@ -354,7 +354,9 @@ export default { ...@@ -354,7 +354,9 @@ export default {
const date = new Date(v).getTime() const date = new Date(v).getTime()
if (date < Date.now()) { if (date < Date.now()) {
this.timeOptions = { this.timeOptions = {
selectableRange: `${dayjs().add(1, 'm').format('HH:mm')}:00 - 23:59:59` selectableRange: `${dayjs()
.add(1, 'm')
.format('HH:mm')}:00 - 23:59:59`
} }
} else { } else {
this.timeOptions = { this.timeOptions = {
...@@ -386,7 +388,8 @@ export default { ...@@ -386,7 +388,8 @@ export default {
align-items: flex-end; align-items: flex-end;
justify-content: space-between; justify-content: space-between;
.info-content { .info-content {
width: calc(100% - 360px); // width: calc(100% - 360px);
width: 50%;
// flex: 1; // flex: 1;
} }
} }
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-05-24 18:18:53 * @Date: 2022-05-24 18:18:53
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2022-06-09 17:55:40 * @LastEditTime: 2022-06-13 16:51:03
--> -->
<template> <template>
<div> <div>
<el-dialog :title="'人群筛选'" :visible.sync="crowdVisible"> <el-dialog :title="'人群筛选'" :width="'1080px'" :visible.sync="crowdVisible">
<div class="member-wrapper"> <div class="member-wrapper">
<div class="member-left"> <div class="member-left">
<div class="member-title"> <div class="member-title">
...@@ -16,17 +16,14 @@ ...@@ -16,17 +16,14 @@
<div class="member-content"> <div class="member-content">
<el-form :inline="true" class="member-form" :model="searchForm" @submit.native.prevent> <el-form :inline="true" class="member-form" :model="searchForm" @submit.native.prevent>
<el-form-item label="人群名称" style="margin-bottom: 0" size="small"> <el-form-item label="人群名称" style="margin-bottom: 0" size="small">
<el-input :size="size" v-model.trim="searchForm.keyword" @keyup.enter.native="search" clearable <el-input :size="size" v-model.trim="searchForm.keyword" @keyup.enter.native="search" clearable placeholder="请输入关键字搜索"></el-input>
placeholder="请输入关键字搜索"></el-input>
</el-form-item> </el-form-item>
<el-form-item label style="margin-bottom: 0;margin-left:10px" size="small"> <el-form-item label style="margin-bottom: 0;margin-left:10px" size="small">
<el-button type="primary" :size="size" @click="search">搜索</el-button> <el-button type="primary" :size="size" @click="search">搜索</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
<div class="table-content"> <div class="table-content">
<GLTable v-loading="loading" ref="crowdTable" :tableData="tableData" @refreshTable="search" <GLTable v-loading="loading" ref="crowdTable" :tableData="tableData" @refreshTable="search" :tableTotal="tableTotal" :layout="layout" :tableParams="crowdTableParams" :hasNum="true" :pageConf="pageConf" :noDataImg="url" @selectionTable="selectionTable" @row-click="rowClick"></GLTable>
:tableTotal="tableTotal" :layout="layout" :tableParams="crowdTableParams" :hasNum="true"
:pageConf="pageConf" :noDataImg="url" @selectionTable="selectionTable" @row-click="rowClick"></GLTable>
</div> </div>
</div> </div>
</div> </div>
...@@ -35,8 +32,7 @@ ...@@ -35,8 +32,7 @@
<div class="member-name">人群({{ innerTags.length }}项)</div> <div class="member-name">人群({{ innerTags.length }}项)</div>
<div class="input-tag-wrapper"> <div class="input-tag-wrapper">
<div class="tag-box"> <div class="tag-box">
<el-tag v-for="(tag, idx) in innerTags" :key="idx" type="info" closable :disable-transitions="false" <el-tag v-for="(tag, idx) in innerTags" :key="idx" type="info" closable :disable-transitions="false" @close="remove(tag)">
@close="remove(tag)">
{{ tag.crowdName }} {{ tag.crowdName }}
</el-tag> </el-tag>
</div> </div>
...@@ -44,8 +40,8 @@ ...@@ -44,8 +40,8 @@
</div> </div>
</div> </div>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="small" @click="crowdVisible = false">取 消</el-button> <el-button style="width: 68px;" size="small" @click="crowdVisible = false">取 消</el-button>
<el-button size="small" type="primary" @click.native="handleConfirm">确 定</el-button> <el-button style="width: 68px;" size="small" type="primary" @click.native="handleConfirm">确 定</el-button>
</span> </span>
</el-dialog> </el-dialog>
</div> </div>
...@@ -87,7 +83,9 @@ export default { ...@@ -87,7 +83,9 @@ export default {
}, },
{ {
label: '人群描述', label: '人群描述',
prop: 'crowdDesc' prop: 'crowdDesc',
width: '200',
line: 1
}, },
{ {
label: '人数', label: '人数',
...@@ -177,7 +175,7 @@ export default { ...@@ -177,7 +175,7 @@ export default {
.member-title { .member-title {
font-size: 16px; font-size: 16px;
color: #333; color: #333;
font-weight: 600; font-weight: 500;
line-height: 22px; line-height: 22px;
margin-bottom: 6px; margin-bottom: 6px;
...@@ -287,7 +285,27 @@ export default { ...@@ -287,7 +285,27 @@ export default {
background: #fafbfe !important; background: #fafbfe !important;
} }
/deep/.el-dialog__title { /deep/ {
font-weight: 600; .el-dialog__title {
font-weight: 600;
}
.el-dialog__header {
padding: 20px;
}
.el-dialog__headerbtn {
height: 30px;
.el-dialog__close {
width: 24px;
height: 24px;
}
}
.el-pagination {
padding-left: 20px;
border-top: 1px solid #e8e8ea;
padding-top: 16px;
}
.el-table:before {
display: none;
}
} }
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!