Commit f0272010 by xuyl

Merge branch 'v2.0.0' of http://192.168.3.233:8090/saas/scrm-micro-custom into xuyl_dev_v2.0.0

2 parents 9fd42a0b 00d46e82
...@@ -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
...@@ -28,7 +28,6 @@ const staticRoutes = Object.freeze([{ ...@@ -28,7 +28,6 @@ const staticRoutes = Object.freeze([{
component: resolve => require([`@/views/clientManage/index.vue`], resolve), component: resolve => require([`@/views/clientManage/index.vue`], resolve),
meta: {} meta: {}
}, },
{ {
name: 'clientDetail', name: 'clientDetail',
path: "/clientManage/clientDetail", path: "/clientManage/clientDetail",
...@@ -66,12 +65,6 @@ const staticRoutes = Object.freeze([{ ...@@ -66,12 +65,6 @@ const staticRoutes = Object.freeze([{
meta: {}, meta: {},
}, },
{ {
name: 'crowdManage',
path: "/crowdManage/index",
component: resolve => require([`@/views/crowdManage/index.vue`], resolve),
meta: {}
},
{
name: 'expand', name: 'expand',
path: "/expand/index", path: "/expand/index",
component: resolve => require([`@/views/expand/index.vue`], resolve), component: resolve => require([`@/views/expand/index.vue`], resolve),
...@@ -112,7 +105,25 @@ const staticRoutes = Object.freeze([{ ...@@ -112,7 +105,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
// { // {
...@@ -139,7 +150,6 @@ export default staticRoutes ...@@ -139,7 +150,6 @@ export default staticRoutes
// keepAlive: false, // keepAlive: false,
// component: () => import("../views/clientMassTexting/detailMassTexting.vue"), // component: () => import("../views/clientMassTexting/detailMassTexting.vue"),
// }, // },
// { // {
// path: "/clientPartGroup", // path: "/clientPartGroup",
// name: "clientPartGroup", // name: "clientPartGroup",
......
...@@ -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 {
......
...@@ -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" style="font-size:12px">{{ 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>
...@@ -548,5 +548,6 @@ export default { ...@@ -548,5 +548,6 @@ export default {
background-color: #fff !important; background-color: #fff !important;
} }
} }
} }
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!