Commit e0eac431 by 王志慧

样式调整

1 parent f6221def
...@@ -18,9 +18,9 @@ export const fetchConfig = function (isEnv = true) { ...@@ -18,9 +18,9 @@ export const fetchConfig = function (isEnv = true) {
return Promise.resolve(cfg) return Promise.resolve(cfg)
} }
// return new Http({request:{timeout:3000}}).get('https://oss-config.test.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config2') return new Http({request:{timeout:3000}}).get('https://oss-config.test.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config2')
//开发环境mock //开发环境mock
return new Http({ request: { timeout: 3000 } }).get('http://192.168.3.171:7300/mock/616d3b131072f92988f05a01/custom/config2') //return new Http({ request: { timeout: 3000 } }).get('http://192.168.3.171:7300/mock/616d3b131072f92988f05a01/custom/config2')
} }
export const config = { export const config = {
install(vue, cfg) { install(vue, cfg) {
......
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
<div class="public-text"> <div class="public-text">
<div class="public-text-info font-16 flex"> <div class="public-text-info font-16 flex">
设备信息 设备信息
<span class="font-14 color-58">{{ deviceTableData.length || 0 }}辆</span> <span class="font-14 color-58">{{ deviceTableData.length || 0 }}个</span>
</div> </div>
<div class="expande-button" v-if="deviceExpande" @click="expandeClick(false, 'deviceExpande')"> <div class="expande-button" v-if="deviceExpande" @click="expandeClick(false, 'deviceExpande')">
<span class="font-14 color-58">收起</span> <span class="font-14 color-58">收起</span>
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
<div class="public-text"> <div class="public-text">
<div class="public-text-info font-16 flex"> <div class="public-text-info font-16 flex">
保单信息 保单信息
<span class="font-14 color-58">{{ guaranteeTableData.length || 0 }}辆</span> <span class="font-14 color-58">{{ guaranteeTableData.length || 0 }}个</span>
</div> </div>
<div class="expande-button" v-if="guaranteeExpande" @click="expandeClick(false, 'guaranteeExpande')"> <div class="expande-button" v-if="guaranteeExpande" @click="expandeClick(false, 'guaranteeExpande')">
<span class="font-14 color-58">收起</span> <span class="font-14 color-58">收起</span>
......
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
<div class="footer-panel"> <div class="footer-panel">
<div> <div>
<el-button type="primary" @click="handleSubmit">确定</el-button> <el-button type="primary" @click="handleSubmit">确定</el-button>
<el-button @click="handleCancel">取消</el-button> <el-button class="cancel-button" @click="handleCancel">取消</el-button>
</div> </div>
</div> </div>
<el-dialog title="人群规则说明" class="crowd-dialog" width="720px" :before-close="handleClose" :visible.sync="dialogRuleVisible" :show-close="isShowCloseBtn"> <el-dialog title="人群规则说明" class="crowd-dialog" width="720px" :before-close="handleClose" :visible.sync="dialogRuleVisible" :show-close="isShowCloseBtn">
...@@ -887,12 +887,15 @@ export default { ...@@ -887,12 +887,15 @@ export default {
background: #ffffff; background: #ffffff;
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
div { div {
width: 150px; width: 170px;
position: relative; position: relative;
transform: translateY(-50%); transform: translateY(-50%);
left: 50%; left: 50%;
top: 50%; top: 50%;
margin-left: -220px; margin-left: -220px;
.cancel-button{
margin-left:20px;
}
} }
} }
.label-text { .label-text {
......
...@@ -44,6 +44,11 @@ ...@@ -44,6 +44,11 @@
</div> </div>
</div> </div>
</div> </div>
<div class="footer-panel">
<div>
<el-button class="cancel-button" @click="$router.go(-1)">返回</el-button>
</div>
</div>
<el-dialog title="人群规则说明" class="crowd-dialog" width="720px" :before-close="handleClose" :visible.sync="dialogRuleVisible" :show-close="isShowCloseBtn"> <el-dialog title="人群规则说明" class="crowd-dialog" width="720px" :before-close="handleClose" :visible.sync="dialogRuleVisible" :show-close="isShowCloseBtn">
<div class="crowd-dialog-wrap color-3"> <div class="crowd-dialog-wrap color-3">
<div class="condition font-14"> <div class="condition font-14">
...@@ -115,19 +120,19 @@ export default { ...@@ -115,19 +120,19 @@ export default {
{ {
label: '标签组', label: '标签组',
prop: 'groupName', prop: 'groupName',
width: 180, width: 180
//align: 'left' //align: 'left'
}, },
{ {
label: '标签组类型', label: '标签组类型',
prop: 'groupType', prop: 'groupType',
width: 180, width: 180
//align: 'left' //align: 'left'
}, },
{ {
label: '标签', label: '标签',
prop: 'labelUnitList', prop: 'labelUnitList',
addHtml: 'labelUnitList', addHtml: 'labelUnitList'
//align: 'left' //align: 'left'
} }
] ]
...@@ -190,7 +195,7 @@ export default { ...@@ -190,7 +195,7 @@ export default {
.container { .container {
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
height: calc(100vh - 80px); height: calc(100vh - 150px);
overflow-y: auto; overflow-y: auto;
// padding: 20px; // padding: 20px;
...@@ -255,9 +260,27 @@ export default { ...@@ -255,9 +260,27 @@ export default {
} }
} }
} }
} }
} }
.footer-panel {
position: fixed;
bottom: 0px;
height: 64px;
left: 220px;
width: 100%;
background: #ffffff;
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
div {
width: 80px;
position: relative;
transform: translateY(-50%);
left: 50%;
top: 50%;
margin-left: -220px;
}
}
.crowd-dialog { .crowd-dialog {
/deep/.el-dialog__header { /deep/.el-dialog__header {
padding: 15px 20px; padding: 15px 20px;
......
...@@ -3,7 +3,10 @@ ...@@ -3,7 +3,10 @@
<el-tabs v-model="activeName" @tab-click="handleClick()"> <el-tabs v-model="activeName" @tab-click="handleClick()">
<el-tab-pane label="推荐人群" name="first"></el-tab-pane> <el-tab-pane label="推荐人群" name="first"></el-tab-pane>
<el-tab-pane label="自定义人群" name="second"> <el-tab-pane label="自定义人群" name="second">
<GLButton class="addBtn" fn="新建人群" v-if="!admin" @click="addClick"><i class="el-icon-plus"></i> 新建人群</GLButton> <GLButton class="addBtn" fn="新建人群" v-if="admin" @click="addClick">
<i class="el-icon-plus"></i>
新建人群
</GLButton>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
<div class="pageContent"> <div class="pageContent">
...@@ -18,7 +21,7 @@ ...@@ -18,7 +21,7 @@
<!-- <span @click="btnClick('detail', scope.scope)" class="blue-text">查看详情</span> --> <!-- <span @click="btnClick('detail', scope.scope)" class="blue-text">查看详情</span> -->
<GLButton type="text" @click="btnClick('detail', scope.scope)" class="blue-text" fn="查看详情">查看详情</GLButton> <GLButton type="text" @click="btnClick('detail', scope.scope)" class="blue-text" fn="查看详情">查看详情</GLButton>
<!-- <span style="margin-left: 20px" @click="btnClick('view', scope.scope)" class="blue-text">查看客户</span> --> <!-- <span style="margin-left: 20px" @click="btnClick('view', scope.scope)" class="blue-text">查看客户</span> -->
<GLButton class="blue-text leftDistance" type="text" fn="客户列表" v-if="userType !== 2" @click="btnClick('view',scope.scope)">查看客户</GLButton> <GLButton class="blue-text leftDistance" type="text" fn="客户列表" v-if="userType !== 2" @click="btnClick('view', scope.scope)">查看客户</GLButton>
</template> </template>
</GLTable> </GLTable>
</div> </div>
...@@ -55,19 +58,19 @@ export default { ...@@ -55,19 +58,19 @@ export default {
tableColumns: [ tableColumns: [
{ {
label: '人群名称', label: '人群名称',
prop: 'crowdName', prop: 'crowdName'
// addHtml: 'crowdName', // addHtml: 'crowdName',
//align: 'left' //align: 'left'
}, },
{ {
label: '人群描述', label: '人群描述',
prop: 'crowdDesc', prop: 'crowdDesc'
//align: 'left' //align: 'left'
// width: 180 // width: 180
}, },
{ {
label: '人数', label: '人数',
prop: 'total', prop: 'total'
// addHtml: 'total', // addHtml: 'total',
//align: 'left' //align: 'left'
}, },
...@@ -125,6 +128,7 @@ export default { ...@@ -125,6 +128,7 @@ export default {
this.$refs.clientGroupDetail.setTableHeightFun() this.$refs.clientGroupDetail.setTableHeightFun()
}, },
handleClick() { handleClick() {
this.searchForm = { 'req.keyword': '' }
this.searchTable() this.searchTable()
// setTimeout(() =>{ // setTimeout(() =>{
// if(this.$refs.crowdManage.data.length == 0){ // if(this.$refs.crowdManage.data.length == 0){
...@@ -164,10 +168,15 @@ export default { ...@@ -164,10 +168,15 @@ export default {
padding: 5px 16px; padding: 5px 16px;
color: #fff; color: #fff;
font-size: 16px; font-size: 16px;
margin-bottom:10px;
&:hover { &:hover {
background-color: $lightBtnBlue; background-color: $lightBtnBlue;
} }
} }
/deep/ .el-tabs__header{
margin: 0 0 20px
;
}
/deep/ .el-tabs__nav-wrap::after { /deep/ .el-tabs__nav-wrap::after {
content: none; content: none;
} }
...@@ -188,7 +197,6 @@ export default { ...@@ -188,7 +197,6 @@ export default {
.pageContent { .pageContent {
padding: 6px 20px 30px; padding: 6px 20px 30px;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
margin-top: 20px;
background-color: #fff; background-color: #fff;
.el-button + .el-button { .el-button + .el-button {
margin-left: 10px; margin-left: 10px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!