Commit a4aa4e99 by chenwq

style(UI): 更新主题颜色为绿色并优化样式一致性

统一将主题色从紫色(#625AFF)更新为绿色(#08C489),包括按钮、链接、提示图标等交互元素
优化Element UI组件在绿色主题下的hover和active状态
添加重置样式文件到attributeList组件
修复部分样式缩进问题
1 parent 2af29ff3
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
font-size: 14px; font-size: 14px;
color: rgba(0, 0, 0, 0.65); color: rgba(0, 0, 0, 0.65);
} }
.is_error{ .is_error {
color: #f56c6c; color: #f56c6c;
font-size: 12px; font-size: 12px;
} }
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
} }
.color-58 { .color-58 {
color: #08C489; color: #08c489;
} }
.color-9 { .color-9 {
...@@ -191,7 +191,7 @@ ...@@ -191,7 +191,7 @@
width: 6px; width: 6px;
height: 6px; height: 6px;
border-radius: 50%; border-radius: 50%;
background: #08C489; background: #08c489;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
margin-right: 8px; margin-right: 8px;
...@@ -204,28 +204,36 @@ ...@@ -204,28 +204,36 @@
display: block; display: block;
height: 58px; height: 58px;
line-height: 58px; line-height: 58px;
border-bottom: 1px solid #E5E5E5; border-bottom: 1px solid #e5e5e5;
} }
.questionImg { .questionImg {
margin-left: 4px; margin-left: 4px;
width: 16px; font-size: 16px;
height: 16px; color: #999999;
vertical-align: middle; vertical-align: middle;
padding-right: 8px; padding-right: 8px;
cursor: pointer;
&:hover {
color: #08c489;
}
} }
.headPortrait { .headPortrait {
vertical-align: middle; vertical-align: middle;
} }
.line-color-title{ .line-color-title {
width: 403px; width: 403px;
height: 36px; height: 36px;
line-height: 36px; line-height: 36px;
background-image: linear-gradient(90deg, #F2F2FF 0%, #f0f6fe75 54%, #f8fbff00 100%); background-image: linear-gradient(90deg, #f2f2ff 0%, #f0f6fe75 54%, #f8fbff00 100%);
border-radius: 15px; border-radius: 15px;
font-weight: 600; font-weight: 600;
font-size: 16px; font-size: 16px;
padding-left: 16px; padding-left: 16px;
} }
.scrm-sub-client-container .topmsg .itembox .buy .buy-total .buyTitle .client:hover {
color: #08c489;
}
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
.el-icon-warning { .el-icon-warning {
display: block !important; display: block !important;
font-size: 33px !important; font-size: 33px !important;
color: #08C489 !important; color: #08c489 !important;
position: relative; position: relative;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
...@@ -88,79 +88,129 @@ ...@@ -88,79 +88,129 @@
line-height: 18px; line-height: 18px;
} }
.el-tooltip__popper[x-placement^="top"] .popper__arrow { .el-tooltip__popper[x-placement^='top'] .popper__arrow {
border-top-color: #666666 !important; border-top-color: #666666 !important;
} }
.el-tooltip__popper[x-placement^="top"] .popper__arrow:after { .el-tooltip__popper[x-placement^='top'] .popper__arrow:after {
border-top-color: #666666 !important; border-top-color: #666666 !important;
} }
.el-button--default {
&:hover,
&:focus {
color: #08C489 !important; /* Element UI default disabled blue, maybe should be green tint? */
background-color: #E6F9F3 !important; /* Adjusted to green tint */
border-color: #B5EDDC !important;
}
&:active {
color: #08C489 !important; /* Element UI default disabled blue, maybe should be green tint? */
background-color: #E6F9F3 !important; /* Adjusted to green tint */
border-color: #B5EDDC !important;
}
}
.el-button--primary { .el-button--primary {
background-color: #08C489 !important; background-color: #08c489 !important;
border-color: #08C489 !important; border-color: #08c489 !important;
&:hover, &:hover,
&:focus { &:focus {
background-color: #3AD0A1 !important; background-color: #3ad0a1 !important;
border-color: #3AD0A1 !important; border-color: #3ad0a1 !important;
} }
&:active { &:active {
background-color: #069D6D !important; background-color: #069d6d !important;
border-color: #069D6D !important; border-color: #069d6d !important;
} }
&.is-disabled, &.is-disabled,
&.is-disabled:hover, &.is-disabled:hover,
&.is-disabled:focus, &.is-disabled:focus,
&.is-disabled:active { &.is-disabled:active .el-button:focus,
background-color: #a0cfff !important; /* Element UI default disabled blue, maybe should be green tint? */ .el-button:hover {
background-color: #94e9cf !important; /* Adjusted to green tint */ background-color: #94e9cf !important; /* Adjusted to green tint */
border-color: #94e9cf !important; border-color: #94e9cf !important;
} }
} }
.el-button--text {
color: #08C489 !important;
&:hover,
&:focus {
color: #3AD0A1 !important;
}
&:active {
color: #069D6D !important;
}
}
.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner { .el-checkbox__input.is-indeterminate .el-checkbox__inner {
background-color: #08C489 !important; background-color: #08c489 !important;
border-color: #08C489 !important; border-color: #08c489 !important;
} }
.el-checkbox__inner:hover { .el-checkbox__inner:hover {
border-color: #08C489 !important; border-color: #08c489 !important;
} }
.el-checkbox__input.is-focus .el-checkbox__inner { .el-checkbox__input.is-focus .el-checkbox__inner {
border-color: #08C489 !important; border-color: #08c489 !important;
} }
.el-checkbox__input.is-checked + .el-checkbox__label { .el-checkbox__input.is-checked + .el-checkbox__label {
color: #08C489 !important; color: #08c489 !important;
} }
.el-select-dropdown__item.selected { .el-select-dropdown__item.selected {
color: #08C489 !important; color: #08c489 !important;
} }
.el-date-table td.current:not(.disabled) span { .el-date-table td.current:not(.disabled) span {
background-color: #08C489 !important; background-color: #08c489 !important;
} }
.el-date-table td.today span { .el-date-table td.today span {
color: #08C489; color: #08c489 !important;
font-weight: bold;
}
.el-date-table td.available:hover span {
color: #08c489 !important;
background-color: #E6F9F3 !important;
}
.el-date-table td.start-date span,
.el-date-table td.end-date span {
background-color: #08c489 !important;
} }
.el-date-table td.available:hover { .el-date-table td.in-range div,
color: #08C489; .el-date-table td.in-range div:hover {
background-color: #E6F9F3 !important;
} }
.el-month-table td.current:not(.disabled) .cell { .el-month-table td.current:not(.disabled) .cell {
color: #fff; color: #fff;
background-color: #08C489 !important; background-color: #08c489 !important;
}
.el-month-table td .cell:hover {
color: #08c489 !important;
background-color: #E6F9F3 !important;
} }
.el-year-table td.current:not(.disabled) .cell { .el-year-table td.current:not(.disabled) .cell {
color: #fff; color: #fff;
background-color: #08C489 !important; background-color: #08c489 !important;
}
.el-year-table td .cell:hover {
color: #08c489 !important;
background-color: #E6F9F3 !important;
} }
...@@ -93,6 +93,7 @@ export default { ...@@ -93,6 +93,7 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import '@/styles/resetelement.scss';
.scrm-sub-client-container { .scrm-sub-client-container {
.pageTitle { .pageTitle {
margin-bottom: 20px; margin-bottom: 20px;
......
...@@ -24,11 +24,11 @@ ...@@ -24,11 +24,11 @@
<span class="title">客户总数</span> <span class="title">客户总数</span>
<el-popover placement="top" width="400" trigger="hover" content="门店的所有客户数,包括企微客户、导入和外部系统接入客户,并根据手机号码识别同一客户后合并去重"> <el-popover placement="top" width="400" trigger="hover" content="门店的所有客户数,包括企微客户、导入和外部系统接入客户,并根据手机号码识别同一客户后合并去重">
<span class="dataOverPopover">门店的所有客户数,包括企微客户、导入和外部系统接入客户,并根据手机号码识别同一客户后合并去重</span> <span class="dataOverPopover">门店的所有客户数,包括企微客户、导入和外部系统接入客户,并根据手机号码识别同一客户后合并去重</span>
<img class="questionImg" v-if="accountLevel == 4" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" /> <i class="el-icon-question questionImg" v-if="accountLevel == 4" slot="reference"></i>
</el-popover> </el-popover>
<el-popover placement="top" width="400" trigger="hover" content="门店的所有客户数,包括企微客户、导入和外部系统接入客户,并根据手机号码识别同一客户后合并去重"> <el-popover placement="top" width="400" trigger="hover" content="门店的所有客户数,包括企微客户、导入和外部系统接入客户,并根据手机号码识别同一客户后合并去重">
<span class="dataOverPopover">门店的所有客户数,包括企微客户、导入和外部系统接入客户,并根据手机号码识别同一客户后合并去重</span> <span class="dataOverPopover">门店的所有客户数,包括企微客户、导入和外部系统接入客户,并根据手机号码识别同一客户后合并去重</span>
<img class="questionImg" v-if="accountLevel !== 4" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" /> <i class="el-icon-question questionImg" v-if="accountLevel !== 4" slot="reference"></i>
</el-popover> </el-popover>
</div> </div>
<p class="clientTotal"> <p class="clientTotal">
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<br /> <br />
占比:基盘客户 / 门店客户总数 * 100% 占比:基盘客户 / 门店客户总数 * 100%
</span> </span>
<img class="questionImg" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" /> <i class="el-icon-question questionImg" slot="reference"></i>
</el-popover> </el-popover>
<el-popover v-if="!isAddScrm" placement="top" trigger="hover" content="有购车或其他交易行为的所有客户(数据来源于ERP,起始时间2019年)"> <el-popover v-if="!isAddScrm" placement="top" trigger="hover" content="有购车或其他交易行为的所有客户(数据来源于ERP,起始时间2019年)">
<span class="dataOverPopover"> <span class="dataOverPopover">
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
<br /> <br />
占比:基盘客户 / 门店客户总数 * 100% 占比:基盘客户 / 门店客户总数 * 100%
</span> </span>
<img class="questionImg" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" /> <i class="el-icon-question questionImg" slot="reference"></i>
</el-popover> </el-popover>
</div> </div>
<div class="proportion"> <div class="proportion">
...@@ -719,7 +719,7 @@ export default { ...@@ -719,7 +719,7 @@ export default {
goto(id) { goto(id) {
if (this.userType == 2) return if (this.userType == 2) return
// this.$router.push('/clientDataOverview/group/' + id ) // this.$router.push('/clientDataOverview/group/' + id )
this.$router.push(`/clientDataOverview/group/${id}/${this.crowdType}`) // this.$router.push(`/clientDataOverview/group/${id}/${this.crowdType}`)
} }
} }
} }
...@@ -733,6 +733,9 @@ export default { ...@@ -733,6 +733,9 @@ export default {
line-height: 18px; line-height: 18px;
color: #666666; color: #666666;
} }
.dataOverPopover:hover {
color: #08c489 !important;
}
// .pieCopy { // .pieCopy {
// //设置两个pie重合 // //设置两个pie重合
// top: -300px; // top: -300px;
...@@ -1032,7 +1035,7 @@ export default { ...@@ -1032,7 +1035,7 @@ export default {
color: #333333; color: #333333;
font-weight: 600; font-weight: 600;
&:hover { &:hover {
color: #625aff; color: #08C489;
} }
} }
} }
...@@ -1095,9 +1098,9 @@ export default { ...@@ -1095,9 +1098,9 @@ export default {
.marketingBtn { .marketingBtn {
margin: 16px 0 10px 16px; margin: 16px 0 10px 16px;
font-size: 14px; font-size: 14px;
color: #625aff; color: #08C489;
/deep/ .el-dropdown-link { /deep/ .el-dropdown-link {
color: #625aff; color: #08C489;
} }
} }
} }
...@@ -1121,7 +1124,7 @@ export default { ...@@ -1121,7 +1124,7 @@ export default {
white-space: nowrap; white-space: nowrap;
.nameHover { .nameHover {
&:hover { &:hover {
color: #625aff; color: #08C489;
} }
} }
......
...@@ -547,8 +547,8 @@ export default { ...@@ -547,8 +547,8 @@ export default {
padding: 9px 20px; padding: 9px 20px;
} }
.isDisableSOP { .isDisableSOP {
color: #c0bcff; color: #A9EAD6;
border: 1px solid #c0bcff; border: 1px solid #A9EAD6;
} }
} }
} }
...@@ -647,8 +647,8 @@ export default { ...@@ -647,8 +647,8 @@ export default {
padding: 9px 20px; padding: 9px 20px;
} }
.isDisableSOP { .isDisableSOP {
color: #c0bcff; color: #A9EAD6;
border: 1px solid #c0bcff; border: 1px solid #A9EAD6;
} }
} }
} }
...@@ -713,8 +713,8 @@ export default { ...@@ -713,8 +713,8 @@ export default {
padding: 9px 20px; padding: 9px 20px;
} }
.isDisableSOP { .isDisableSOP {
color: #c0bcff; color: #A9EAD6;
border: 1px solid #c0bcff; border: 1px solid #A9EAD6;
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!