Commit bb8e6afc by xinla

优化样式

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