Commit a4aa4e99 by chenwq

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

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