ソースを参照

1,对弹出时间改为两小时;2,处理圣诞弹窗点击立即入住后,跳转至免费入驻界面,鼠标悬浮在附图内红框标注的位置时,图层会出现高频自动抖动的异常交互

wangcz 8 年 前
コミット
c95ee8a627
2 ファイル変更5 行追加13 行削除
  1. 3 11
      assets/scss/activity.css
  2. 2 2
      layouts/main.vue

+ 3 - 11
assets/scss/activity.css

@@ -87,29 +87,21 @@ ul,li{
   display: inline-block;
   height: 235px;
 }
-.business .advantage .advantage-list ul  li{
+.business .advantage .advantage-list ul  li {
   float: left;
   width: 174px;
   height: 206px;
   border-radius: 10px;
   background: #fff;
-  margin: 0 6px;
+  margin: 0 10px;
   overflow: hidden;
   position: relative;
-  /*opacity:0;
-  transform:scale(0);
-  transition:.5s 0.1s;*/
 }
-/*.business .advantage.active .advantage-list ul  li{
-    opacity:1 !important; transform:none !important;
-}*/
 .business .advantage .advantage-list ul  li:hover{
   cursor: pointer;
-  width: 200px;
-  height: 233px;
-  margin: 0 10px;
   top: -16px;
   transition: top 1s ease-out;
+  transform:scale(1.2);
 }
 .business .advantage .advantage-list ul  li:hover p.title{
   background: #61d2f3;

+ 2 - 2
layouts/main.vue

@@ -49,12 +49,12 @@
           if (!user) {
             setInterval(function () {
               count++
-              if (count >= 30) {
+              if (count >= 60 * 60 * 2) {
                 count = 1
                 self.isOpen = true
               }
             }, 1000)
-          } else if (nowDate.getTime() - endTime >= 1000 * 60 * 2) {
+          } else if (nowDate.getTime() - endTime >= 1000 * 60 * 60 * 2) {
             this.isOpen = true
             window.localStorage.setItem('endTime', nowDate.getTime())
           } else {