Commit bb8e6afc by xinla

优化样式

1 parent 5253e540
......@@ -67,6 +67,18 @@ li {
.fxnone {
flex: none !important;
}
.ais {
align-items: stretch !important;
}
.ait {
align-items: flex-start !important;
}
.aic {
align-items: center !important;
}
.flwrap {
flex-flow: wrap !important;
}
.fxbw {
display: flex;
align-items: flex-start;
......@@ -77,14 +89,19 @@ li {
align-items: center;
justify-content: space-between;
}
.ais {
align-items: stretch !important;
.gap10 {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.ait {
align-items: flex-start !important;
.gap5 {
gap: 5px;
}
.aic {
align-items: center !important;
.gap15 {
gap: 15px;
}
.gap20 {
gap: 20px;
}
/* align */
......@@ -97,13 +114,13 @@ li {
position: relative;
}
.al {
text-align: left;
text-align: left !important;
}
.ac {
text-align: center;
text-align: center !important;
}
.ar {
text-align: right;
text-align: right !important;
}
/* padding 5px series */
......
......@@ -49,6 +49,11 @@
.el-tag:nth-of-type(2) {
margin-left: 10px;
}
.gap10 {
.el-tag {
margin: 0;
}
}
.el-breadcrumb__inner,
.el-breadcrumb__inner a {
......
......@@ -219,14 +219,14 @@ export default {
<div
v-for="(item, index) of portrayalSum.companyTags"
:key="index"
:class="['flex ait', index && 'mt20']">
:class="['flex ait', index && 'mt20']">
<!-- 汇总的场景显示名字 -->
<template v-if="!userId">
<div class="name oe g-bg-lg">{{ item.userName }}</div>
</template>
<template v-if="item.tagNames">
<div v-if="item.tagNames" class="gap10">
<el-tag v-for="(unit, unique) in item.tagNames.split(',')" :key="unique">{{ unit }}</el-tag>
</template>
</div>
<div v-else class="g-tip-color ac">暂无标签</div>
</div>
</template>
......@@ -241,9 +241,9 @@ export default {
<template v-if="!userId">
<div class="name oe g-bg-lg">{{ item.userName }}</div>
</template>
<template v-if="item.tagNames">
<div v-if="item.tagNames" class="gap10">
<el-tag v-for="(unit, unique) in item.tagNames.split(',')" :key="unique">{{ unit }}</el-tag>
</template>
</div>
<div v-else class="g-tip-color ac">暂无标签</div>
</div>
</template>
......@@ -441,14 +441,14 @@ export default {
border-radius: var(--border-radius-small);
}
.el-card {
.el-tag {
margin-bottom: 5px;
}
.el-card {
.el-tag {
margin-bottom: 5px;
}
}
// .el-tag {
// margin-bottom: 5px;
// }
// .el-card {
// .el-tag {
// margin-bottom: 5px;
// }
// }
.track-tab-wrap {
.track-tab {
background: #ddd;
......@@ -464,11 +464,11 @@ export default {
}
}
}
.btn-sync {
position: relative;
float: right;
top: -11px;
}
// .btn-sync {
// position: relative;
// float: right;
// top: -11px;
// }
.g-tip-color {
flex: auto;
}
......
......@@ -110,7 +110,7 @@ export default {
{{ { 1: '@微信', 2: '@企业微信' }[customer.customerType] }}
</span>
</div>
<div class="mt10">
<div class="mt10 gap10">
<template v-if="customer.tagNames">
<el-tag v-for="(unit, unique) in customer.tagNames.split(',')" :key="unique">
{{ unit }}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!