Commit 8dea9c0fa10096c9d253d9bbb61ce277185e113f

Authored by guzijian
1 parent efefb3e6

xxxx

Showing 1 changed file with 17 additions and 6 deletions
src/views/home/index.vue
@@ -217,10 +217,12 @@ const signStyleColor = ref( @@ -217,10 +217,12 @@ const signStyleColor = ref(
217 }, 217 },
218 { 218 {
219 backgroundColor: "#ffa500", 219 backgroundColor: "#ffa500",
  220 + color: "white",
220 label: "今日打卡迟到" 221 label: "今日打卡迟到"
221 }, 222 },
222 { 223 {
223 backgroundColor: "#ff0000", 224 backgroundColor: "#ff0000",
  225 + color: "white",
224 label: "今日酒测异常" 226 label: "今日酒测异常"
225 } 227 }
226 ] 228 ]
@@ -694,6 +696,15 @@ const handleGlobalInfo = (data, num) => { @@ -694,6 +696,15 @@ const handleGlobalInfo = (data, num) => {
694 padding-right: 0.5vw; 696 padding-right: 0.5vw;
695 /** 防止元素遮挡 */ 697 /** 防止元素遮挡 */
696 pointer-events: none; 698 pointer-events: none;
  699 + background: linear-gradient(to right, rgb(0, 0, 0), rgb(255, 255, 255));
  700 + /* 设置线性渐变背景 */
  701 + -webkit-background-clip: text;
  702 + /* Safari/Chrome 浏览器支持 */
  703 + -moz-background-clip: text;
  704 + /* Firefox 浏览器支持 */
  705 + background-clip: text;
  706 + /* 设置背景裁剪为文本 */
  707 + // mix-blend-mode: difference;
697 } 708 }
698 } 709 }
699 } 710 }
@@ -773,23 +784,23 @@ const handleGlobalInfo = (data, num) => { @@ -773,23 +784,23 @@ const handleGlobalInfo = (data, num) => {
773 </style> 784 </style>
774 <style> 785 <style>
775 .fleet-popover-style { 786 .fleet-popover-style {
776 - color: white !important; 787 + color: black !important;
777 margin: 10px 0 10px 0; 788 margin: 10px 0 10px 0;
778 min-width: 100px; 789 min-width: 100px;
779 } 790 }
780 791
781 .el-popover.fleet-popover-style { 792 .el-popover.fleet-popover-style {
782 - border-color: #146EBD;  
783 - background-color: #062a5ac5; 793 + border-color: #3d3e3f;
  794 + background-color: #12d76bc5;
784 } 795 }
785 796
786 .fleet-popover-style .el-popover__title { 797 .fleet-popover-style .el-popover__title {
787 - color: #FFFFF0; 798 + color: black;
788 font-weight: bold; 799 font-weight: bold;
789 } 800 }
790 801
791 .el-popper[data-popper-placement^=top]>.el-popper__arrow::before { 802 .el-popper[data-popper-placement^=top]>.el-popper__arrow::before {
792 - border-top-color: #062a5ac5 !important;  
793 - background-color: #062a5ac5 !important; 803 + background-color: #12d76bc5 !important;
  804 + background-color: #12d76bc5 !important;
794 } 805 }
795 </style> 806 </style>