Commit a604b977 by 李伟康

commit 提交动画

1 parent 4177e030
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<template v-for="(i,index) in topList"> <template v-for="(i,index) in topList">
<div <div
:key="index" :key="index"
class="card-item" :class="['card-item',{'hover-item':index < 2}]"
@click="index < 2 ?showDialog(index) : null" @click="index < 2 ?showDialog(index) : null"
> >
<img <img
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
<template v-for="(i,index) in bottomList"> <template v-for="(i,index) in bottomList">
<div <div
:key="index" :key="index"
class="card-item" :class="['card-item',{'hover-item':index < 2}]"
@click="index < 2 ?showDialog(index + 2) : null" @click="index < 2 ?showDialog(index + 2) : null"
> >
<img <img
...@@ -120,7 +120,7 @@ export default { ...@@ -120,7 +120,7 @@ export default {
require('@/assets/images/factor/center-dialog-3.png'), require('@/assets/images/factor/center-dialog-3.png'),
require('@/assets/images/factor/center-dialog-4.png'), require('@/assets/images/factor/center-dialog-4.png'),
], ],
titleList:['UBI保险评分','精准营销画像','碰撞送修识别','汽车金融风控'], titleList: ['UBI保险评分', '精准营销画像', '碰撞送修识别', '汽车金融风控'],
currentIndex: 0, currentIndex: 0,
isShowDialog: false isShowDialog: false
} }
...@@ -172,6 +172,12 @@ export default { ...@@ -172,6 +172,12 @@ export default {
left: 0; left: 0;
} }
} }
.hover-item{
cursor: pointer;
&:hover{
transform: scale(1.1);
}
}
} }
.center-box { .center-box {
position: relative; position: relative;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!