Commit a4aa4e99 by chenwq

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

统一将主题色从紫色(#625AFF)更新为绿色(#08C489),包括按钮、链接、提示图标等交互元素
优化Element UI组件在绿色主题下的hover和active状态
添加重置样式文件到attributeList组件
修复部分样式缩进问题
1 parent 2af29ff3
@import '@/styles/variables.scss';
.glsx-table .emptyBg .noDataImg {
margin-top: 0px !important;
margin-top: 0px !important;
}
.live-room .container {
background: #ffffff;
padding: 20px;
background: #ffffff;
padding: 20px;
}
.live-room .container-nop {
background: #ffffff;
background: #ffffff;
}
.live-room .m-b-20 {
margin-bottom: 20px;
margin-bottom: 20px;
}
.border-title {
height: 56px;
background: #ffffff;
padding: 20px;
box-sizing: border-box;
font-weight: 600;
font-size: 16px;
color: #333333;
border-bottom: 1px solid #e5e5e5;
height: 56px;
background: #ffffff;
padding: 20px;
box-sizing: border-box;
font-weight: 600;
font-size: 16px;
color: #333333;
border-bottom: 1px solid #e5e5e5;
}
.el-tag {
color: #666 !important;
font-size: 14px !important;
height: 26px;
line-height: 26px;
color: #666 !important;
font-size: 14px !important;
height: 26px;
line-height: 26px;
}
.el-tag.el-tag--info {
background: transparent !important;
border: 1px solid #e8e8ea !important;
border-radius: 4px;
color: #666;
background: transparent !important;
border: 1px solid #e8e8ea !important;
border-radius: 4px;
color: #666;
}
.el-tag.el-tag--info.el-tag--plain {
background: transparent !important;
background: transparent !important;
}
.scrm-box-f {
background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
}
// ::-webkit-scrollbar {
// /*滚动条整体样式*/
......@@ -54,178 +54,186 @@
// background-color: rgba(144, 147, 153, 0.3);
// }
.el-message--info {
height: 40px;
background: #e6e9ff;
border: 1px solid $btnBlue;
border-radius: 4px;
font-size: 14px;
color: rgba(0, 0, 0, 0.65);
height: 40px;
background: #e6e9ff;
border: 1px solid $btnBlue;
border-radius: 4px;
font-size: 14px;
color: rgba(0, 0, 0, 0.65);
}
.is_error{
color: #f56c6c;
font-size: 12px;
.is_error {
color: #f56c6c;
font-size: 12px;
}
.el-message .el-icon-info {
color: $btnBlue;
font-size: 16px;
color: $btnBlue;
font-size: 16px;
}
.white-hide {
box-sizing: border-box;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
box-sizing: border-box;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.color-6 {
color: #666666;
color: #666666;
}
.color-3 {
color: #333333;
color: #333333;
}
.color-71 {
color: #717171;
color: #717171;
}
.color-58 {
color: #08C489;
color: #08c489;
}
.color-9 {
color: #999999;
color: #999999;
}
.flex-start {
align-items: flex-start;
display: flex;
align-items: flex-start;
display: flex;
}
.flex {
display: flex;
align-items: center;
flex-wrap: wrap;
display: flex;
align-items: center;
flex-wrap: wrap;
}
.flex-between {
display: flex;
align-items: center;
justify-content: space-between;
display: flex;
align-items: center;
justify-content: space-between;
}
.font-12 {
font-size: 12px;
font-size: 12px;
}
.font-20 {
font-size: 20px;
font-size: 20px;
}
.font-14 {
font-size: 14px;
font-size: 14px;
}
.font-16 {
font-size: 16px;
font-size: 16px;
}
.hand {
cursor: pointer;
cursor: pointer;
}
.mg2 {
margin-left: 20px;
margin-right: 20px;
margin-left: 20px;
margin-right: 20px;
}
.mgt10 {
margin-top: 10px;
margin-top: 10px;
}
.wid50 {
width: 50%;
width: 50%;
}
.circleStatusRed {
width: 6px;
height: 6px;
border-radius: 50%;
background: #eb4e4e;
display: inline-block;
vertical-align: middle;
margin-right: 8px;
width: 6px;
height: 6px;
border-radius: 50%;
background: #eb4e4e;
display: inline-block;
vertical-align: middle;
margin-right: 8px;
}
.circleStatusGray {
width: 6px;
height: 6px;
border-radius: 50%;
background: #999999;
display: inline-block;
vertical-align: middle;
margin-right: 8px;
width: 6px;
height: 6px;
border-radius: 50%;
background: #999999;
display: inline-block;
vertical-align: middle;
margin-right: 8px;
}
.circleStatusGreen {
width: 6px;
height: 6px;
border-radius: 50%;
background: #2cca74;
display: inline-block;
vertical-align: middle;
margin-right: 8px;
width: 6px;
height: 6px;
border-radius: 50%;
background: #2cca74;
display: inline-block;
vertical-align: middle;
margin-right: 8px;
}
.circleStatusYellow {
width: 6px;
height: 6px;
border-radius: 50%;
background: #fdb757;
display: inline-block;
vertical-align: middle;
margin-right: 8px;
width: 6px;
height: 6px;
border-radius: 50%;
background: #fdb757;
display: inline-block;
vertical-align: middle;
margin-right: 8px;
}
.circleStatusPurple {
width: 6px;
height: 6px;
border-radius: 50%;
background: #08C489;
display: inline-block;
vertical-align: middle;
margin-right: 8px;
width: 6px;
height: 6px;
border-radius: 50%;
background: #08c489;
display: inline-block;
vertical-align: middle;
margin-right: 8px;
}
.normalTitle {
font-size: 16px;
padding-left: 20px;
font-weight: 600;
display: block;
height: 58px;
line-height: 58px;
border-bottom: 1px solid #E5E5E5;
font-size: 16px;
padding-left: 20px;
font-weight: 600;
display: block;
height: 58px;
line-height: 58px;
border-bottom: 1px solid #e5e5e5;
}
.questionImg {
margin-left: 4px;
width: 16px;
height: 16px;
vertical-align: middle;
padding-right: 8px;
margin-left: 4px;
font-size: 16px;
color: #999999;
vertical-align: middle;
padding-right: 8px;
cursor: pointer;
&:hover {
color: #08c489;
}
}
.headPortrait {
vertical-align: middle;
}
.line-color-title{
width: 403px;
height: 36px;
line-height: 36px;
background-image: linear-gradient(90deg, #F2F2FF 0%, #f0f6fe75 54%, #f8fbff00 100%);
border-radius: 15px;
font-weight: 600;
font-size: 16px;
padding-left: 16px;
vertical-align: middle;
}
.line-color-title {
width: 403px;
height: 36px;
line-height: 36px;
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;
}
@import '@/styles/variables.scss';
.el-select {
width: 100%;
width: 100%;
}
.el-pagination {
display: flex;
margin-top: 18px;
display: flex;
margin-top: 18px;
}
.el-message-box__btns .el-button--small {
min-width: 68px;
min-width: 68px;
}
.glsx-table .el-pagination.is-background .el-pager li:not(.disabled).active {
background-color: $btnBlue;
color: #fff;
background-color: $btnBlue;
color: #fff;
}
/deep/ .el-input__inner:focus {
border-color: $btnBlue !important;
border-color: $btnBlue !important;
}
/deep/.el-range-editor.is-active,
.el-range-editor.is-active:hover {
border-color: $btnBlue;
border-color: $btnBlue;
}
.el-message-box {
width: 547px;
height: 310px;
box-sizing: border-box;
padding-bottom: 10px;
width: 547px;
height: 310px;
box-sizing: border-box;
padding-bottom: 10px;
}
.el-message-box__title {
padding-left: 0;
margin-bottom: 0;
font-size: 20px;
line-height: 1;
color: #333;
padding-left: 0;
margin-bottom: 0;
font-size: 20px;
line-height: 1;
color: #333;
}
.el-message-box__title {
display: block !important;
display: block !important;
}
.el-message-box__headerbtn {
display: block !important;
color: #666666;
display: block !important;
color: #666666;
}
.el-message-box__header {
position: relative;
padding: 15px 20px;
border-bottom: 1px solid #e6e6e6;
position: relative;
padding: 15px 20px;
border-bottom: 1px solid #e6e6e6;
}
.el-message-box__content {
text-align: center;
padding: 60px 0;
text-align: center;
padding: 60px 0;
}
.el-icon-warning {
display: block !important;
font-size: 33px !important;
color: #08C489 !important;
position: relative;
left: 50%;
transform: translateX(-50%);
margin-bottom: 12px;
display: block !important;
font-size: 33px !important;
color: #08c489 !important;
position: relative;
left: 50%;
transform: translateX(-50%);
margin-bottom: 12px;
}
// .el-message-box__status.el-icon-error {
......@@ -80,87 +80,137 @@
// margin-bottom: 12px;
// }
.el-tooltip__popper.is-dark {
background: #666666 !important;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06) !important;
font-size: 12px;
font-weight: 400;
color: #ffffff;
line-height: 18px;
background: #666666 !important;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06) !important;
font-size: 12px;
font-weight: 400;
color: #ffffff;
line-height: 18px;
}
.el-tooltip__popper[x-placement^="top"] .popper__arrow {
border-top-color: #666666 !important;
.el-tooltip__popper[x-placement^='top'] .popper__arrow {
border-top-color: #666666 !important;
}
.el-tooltip__popper[x-placement^="top"] .popper__arrow:after {
border-top-color: #666666 !important;
.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;
&:hover,
&:focus {
background-color: #3AD0A1 !important;
border-color: #3AD0A1 !important;
}
&:active {
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? */
background-color: #94e9cf !important; /* Adjusted to green tint */
border-color: #94e9cf !important;
}
background-color: #08c489 !important;
border-color: #08c489 !important;
&:hover,
&:focus {
background-color: #3ad0a1 !important;
border-color: #3ad0a1 !important;
}
&:active {
background-color: #069d6d !important;
border-color: #069d6d !important;
}
&.is-disabled,
&.is-disabled:hover,
&.is-disabled:focus,
&.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;
color: #fff;
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;
color: #fff;
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!