Browse Source

调整图像样式异常

master
453530270@qq.com 3 years ago
parent
commit
e6e5860b71
  1. 25
      src/views/WhView.vue

25
src/views/WhView.vue

@ -146,13 +146,19 @@
} }
.jgbox .jgcon .jgitem .jgimg { .jgbox .jgcon .jgitem .jgimg {
margin-left: auto; height: 5rem;
margin-right: auto;
text-align: center; text-align: center;
float: left;
overflow: hidden;
/* 动画效果 */ /* 动画效果 */
-webkit-animation: ani_sc 8s infinite forwards; -webkit-animation: ani_sc 8s infinite forwards;
animation: ani_sc 8s infinite forwards; animation: ani_sc 8s infinite forwards;
} }
.jgbox .jgcon .jgitem .jgimg img{
width: 100%;
height: 100%;
}
/** 呼吸效果 */ /** 呼吸效果 */
@keyframes ani_sc { @keyframes ani_sc {
0%{ 0%{
@ -170,19 +176,24 @@
.jgbox .jgcon .jgitem span { .jgbox .jgcon .jgitem span {
display: block; display: block;
text-align: center; text-align: center;
height: 1.8rem; height: 1.6rem;
line-height: 1.8rem; line-height: 1.6rem;
} }
.jgbox .jgcon .jgitem .jgival { .jgbox .jgcon .jgitem .jgival {
font-size: 1.06rem; font-size: 1.06rem;
font-weight: bold; font-weight: bold;
/* 动画效果 */ /* 动画效果 */
-webkit-animation: ani_sc 5s infinite forwards; -webkit-animation: ani_sc 6s infinite;
animation: ani_sc 5s infinite forwards; animation: ani_sc 6s infinite;
}
.jgbox .jgcon .jgitem .jgival::after{
content: "";
} }
.jgbox .jgcon .jgitem .jgdesc { .jgbox .jgcon .jgitem .jgdesc {
margin-top: 75%;
color: #666; color: #666;
font-size: 0.8rem; font-size: 0.8rem;
} }
@ -685,11 +696,13 @@ export default {
value: 323, value: 323,
}, },
]; ];
//
let valueColor = [ let valueColor = [
{ color1: '#15224C', color2: '#FF0042', unit: ' 人 '}, { color1: '#15224C', color2: '#FF0042', unit: ' 人 '},
{ color1: '#15224C', color2: '#FED700', unit: ' 册 '}, { color1: '#15224C', color2: '#FED700', unit: ' 册 '},
{ color1: '#15224C', color2: '#00FEC5', unit: ' 册 '} { color1: '#15224C', color2: '#00FEC5', unit: ' 册 '}
] ]
//
var libraryIcons = { var libraryIcons = {
'Lend': '/img/wh_right1.png', 'Lend': '/img/wh_right1.png',
'Still': '/img/wh_right2.png', 'Still': '/img/wh_right2.png',

Loading…
Cancel
Save