Commit e13daa17 by 王志慧

commit

1 parent b0a736bb
...@@ -56,6 +56,9 @@ background: transparent !important; ...@@ -56,6 +56,9 @@ background: transparent !important;
.color-58{ .color-58{
color: #5850ff; color: #5850ff;
} }
.color-9{
color: #999999;
}
.flex-start{ .flex-start{
align-items: flex-start; align-items: flex-start;
display: flex; display: flex;
...@@ -70,10 +73,19 @@ background: transparent !important; ...@@ -70,10 +73,19 @@ background: transparent !important;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.flex-satrt{
display: flex;
align-items: flex-start;
}
.font-20{ .font-20{
font-size: 20px; font-size: 20px;
} }
.font-14{ .font-14{
font-size: 14px; font-size: 14px;
} }
\ No newline at end of file \ No newline at end of file
.font-16{
font-size: 16px;
}
.hand{
cursor: pointer;
}
\ No newline at end of file \ No newline at end of file
...@@ -14,3 +14,4 @@ Vue.component('glsx-button', _button) ...@@ -14,3 +14,4 @@ Vue.component('glsx-button', _button)
Vue.component('search-form', () => import('./search-form/index.vue')) Vue.component('search-form', () => import('./search-form/index.vue'))
Vue.component('basic-dialog', () => import('./basic-dialog/index.vue')) Vue.component('basic-dialog', () => import('./basic-dialog/index.vue'))
Vue.component('rule-form', () => import('./rule-form/index.vue')) Vue.component('rule-form', () => import('./rule-form/index.vue'))
Vue.component('layout-row', () => import('./layout-row/index.vue'))
\ No newline at end of file \ No newline at end of file
<template>
<div>
<template v-for="(list, id) in tableData">
<div class="layout-wrap" :key="id">
<el-row :gutter="30">
<template v-for="(params, index) in layoutParams">
<el-col :span="12" :key="index">
<div class="label-wrap">
<label>{{ params.label }}</label>
<span>{{ list[params.prop]? list[params.prop]: '--'}}</span>
</div>
</el-col>
</template>
</el-row>
</div>
</template>
</div>
</template>
<script>
export default {
name: 'layout-row',
props: {
//获取的数据
layoutData: {
type: Array,
default: () => []
},
layoutParams: {
type: Array,
default: () => []
},
isHidden: {
type: Boolean,
default: false
}
},
computed: {
tableData() {
return this.isHidden ? this.layoutData : this.layoutData.slice(0, 1)
}
},
created() {}
}
</script>
<style scoped lang="scss">
.layout-wrap {
padding: 20px 0;
box-sizing: border-box;
background: #f5f5f5;
margin-bottom:10px;
.el-row {
&:last-child {
margin-bottom: -20px;
}
.el-col {
margin-bottom: 16px;
}
.label-wrap {
display: flex;
align-items: center;
margin: 0 10%;
min-width: 80%;
label {
font-size: 14px;
font-weight: 400;
color: #666666;
line-height: 20px;
text-align: right;
min-width: 30%;
display: inline-block;
}
span {
font-size: 14px;
font-weight: 400;
color: #333333;
line-height: 20px;
text-align: left;
max-width: 228px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
}
}
}
}
</style>
\ No newline at end of file \ No newline at end of file
...@@ -107,7 +107,25 @@ const staticRoutes = Object.freeze([ ...@@ -107,7 +107,25 @@ const staticRoutes = Object.freeze([
path: "/guestGroup/detail/:id", path: "/guestGroup/detail/:id",
component: resolve => require([`@/views/guestGroup/detail.vue`], resolve), component: resolve => require([`@/views/guestGroup/detail.vue`], resolve),
meta: {} meta: {}
} },
{
name: 'crowdManage',
path: "/crowdManage/index",
component: resolve => require([`@/views/crowdManage/index.vue`], resolve),
meta: {}
},
{
name: 'crowdAdd',
path: "/crowdManage/crowdAdd",
component: resolve => require([`@/views/crowdManage/crowdAdd.vue`], resolve),
meta: {}
},
{
name: 'crowdDetail',
path: "/crowdManage/crowdDetail:id",
component: resolve => require([`@/views/crowdManage/crowdDetail.vue`], resolve),
meta: {}
},
]) ])
export default staticRoutes export default staticRoutes
// { // {
......
...@@ -34,7 +34,8 @@ button { ...@@ -34,7 +34,8 @@ button {
// 子系统不设外边距 // 子系统不设外边距
.scrm-sub-client-container { .scrm-sub-client-container {
padding: 0 20px 20px 40px; padding: 0 20px 20px 20px;
box-sizing: border-box;
} }
.el-table .cell { .el-table .cell {
......
<template> <template>
<div class="scrm-sub-client-container"> <div class="scrm-sub-client-container">
<div class="head-container"> <div class="head-container">
<div class="head-container-title color-3 font-20"> {{describeData[id-1].name}}</div> <div class="head-container-title color-3 font-20">人群名称</div>
<div class="head-container-content color-6 font-14">{{ describeData[id-1].info }}</div> <div class="head-container-content color-6 font-14">{{ describe }}</div>
<!-- <div class="reminder font-14 color-3">企业标签 | 自动更新</div> --> <!-- <div class="reminder font-14 color-3">企业标签 | 自动更新</div> -->
<div class="back color-58 font-14" @click="goBack">返回人群管理</div> <div class="back color-58 font-14" @click="goBack">返回人群管理</div>
</div> </div>
......
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
</span> </span>
<span>在潜在意向客户中,未加企微的客户</span> <span>在潜在意向客户中,未加企微的客户</span>
<!-- &nbsp;&nbsp;&gt;&gt;--> <!-- &nbsp;&nbsp;&gt;&gt;-->
<button class="btn" @click="toGuideCompanyWechat" v-if="accountLevel == 4"> <button class="btn" @click.stop="toGuideCompanyWechat" v-if="accountLevel == 4">
引流企微 引流企微
<i class="el-icon-d-arrow-right"></i> <i class="el-icon-d-arrow-right"></i>
</button> </button>
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
<span class="person-text">人</span> <span class="person-text">人</span>
</span> </span>
<span>在基盘客户中,未加企微的客户</span> <span>在基盘客户中,未加企微的客户</span>
<button class="btn" @click="toGuideCompanyWechat" v-if="accountLevel == 4"> <button class="btn" @click.stop="toGuideCompanyWechat" v-if="accountLevel == 4">
引流企微 引流企微
<i class="el-icon-d-arrow-right"></i> <i class="el-icon-d-arrow-right"></i>
</button> </button>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<!-- <span class="pure-blue-text">{{ scope.scope.type == 1 ? '@微信' : scope.scope.type == 2 ? '@企微' : '' }}</span> --> <!-- <span class="pure-blue-text">{{ scope.scope.type == 1 ? '@微信' : scope.scope.type == 2 ? '@企微' : '' }}</span> -->
<span class="pure-blue-text">{{ scope.scope.type == 1 ? '@微信' : scope.scope.type == 2 ? '@企微' : scope.scope.type == null ? '' :''}}</span> <span class="pure-blue-text">{{ scope.scope.type == 1 ? '@微信' : scope.scope.type == 2 ? '@企微' : scope.scope.type == null ? '' : '' }}</span>
</span> </span>
<span slot="customerSex" slot-scope="scope"> <span slot="customerSex" slot-scope="scope">
<span>{{ scope.scope.customerSex == 0 ? '未知' : scope.scope.customerSex == 1 ? '男' : scope.scope.customerSex == 2 ? '女' : '' }}</span> <span>{{ scope.scope.customerSex == 0 ? '未知' : scope.scope.customerSex == 1 ? '男' : scope.scope.customerSex == 2 ? '女' : '' }}</span>
...@@ -486,5 +486,6 @@ export default { ...@@ -486,5 +486,6 @@ export default {
background-color: #fff !important; background-color: #fff !important;
} }
} }
} }
</style> </style>
<template>
<div>
</div>
</template>
<script >
export default {
data() {
return {
}
}
}
</script>
<style scoped lang="scss">
</style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!