cfb9fca9 by yangwei

共享互联数据样式

1 parent df632593
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 * @Author: yangwei 2 * @Author: yangwei
3 * @Date: 2023-09-01 10:39:03 3 * @Date: 2023-09-01 10:39:03
4 * @LastEditors: yangwei 4 * @LastEditors: yangwei
5 * @LastEditTime: 2023-09-12 13:55:36 5 * @LastEditTime: 2023-09-12 15:12:09
6 * @FilePath: \bdcdj-web\src\views\sjgx\gbmhlgxsjgx\gbmhlgxsjgx.vue 6 * @FilePath: \bdcdj-web\src\views\sjgx\gbmhlgxsjgx\gbmhlgxsjgx.vue
7 * @Description: 7 * @Description:
8 * 8 *
...@@ -85,6 +85,7 @@ ...@@ -85,6 +85,7 @@
85 :style="{ 85 :style="{
86 backgroundColor: 'rgba(' + item.bgColor + ',0.12)', 86 backgroundColor: 'rgba(' + item.bgColor + ',0.12)',
87 border: '1px solid ' + 'rgba(' + item.bgColor + ',0.3)', 87 border: '1px solid ' + 'rgba(' + item.bgColor + ',0.3)',
88 '--hover-color': 'rgba(' + item.bgColor + ',1)'
88 }" 89 }"
89 > 90 >
90 <img :src="item.svg" alt="" /> 91 <img :src="item.svg" alt="" />
...@@ -269,6 +270,9 @@ export default { ...@@ -269,6 +270,9 @@ export default {
269 border-radius: 4px; 270 border-radius: 4px;
270 margin: 0 auto; 271 margin: 0 auto;
271 cursor: pointer; 272 cursor: pointer;
273 &:hover{
274 border-color: var(--hover-color)!important;
275 }
272 i { 276 i {
273 text-align: center; 277 text-align: center;
274 line-height: 60px; 278 line-height: 60px;
......