Browse Source

剑鱼修改

wangchuanjin 9 năm trước cách đây
mục cha
commit
19ea3eff23

BIN
core/src/web/staticres/wxswordfish/images/guide-1.png


BIN
core/src/web/staticres/wxswordfish/images/guide-2.png


BIN
core/src/web/staticres/wxswordfish/images/guide-3.png


BIN
core/src/web/staticres/wxswordfish/images/guide-4.png


BIN
core/src/web/staticres/wxswordfish/images/guide-5.png


BIN
core/src/web/staticres/wxswordfish/images/guide-6.png


BIN
core/src/web/staticres/wxswordfish/images/guide-share.png


BIN
core/src/web/staticres/wxswordfish/images/jump.png


BIN
core/src/web/staticres/wxswordfish/images/up.png


+ 16 - 12
core/src/web/staticres/wxswordfish/style.css

@@ -137,6 +137,7 @@ img{
 	top: 0px;
 	background-color: rgba(0,0,1,.5);
 	display: none;
+	z-index: 11;
 }
 .dialog-main{
 	position: absolute;
@@ -369,7 +370,10 @@ img{
 	height: 100%;
 }
 .swiper-pagination-bullet-active{
-	background-color: #37C6DA;
+	background-color: #35c5da !important;
+}
+..swiper-pagination-bullet{
+	opacity: .1;
 }
 .guide-bottom{
 	position: absolute;
@@ -378,9 +382,9 @@ img{
 	width: 100%;
 	z-index: 99999;
 }
-.guide-bottom img{
-	width: 25px;
-	height: 15px;
+.guide-bottom .arrow-up{
+	width: 30px;
+	height: 20px;
 	position: absolute;
 	left: 50%;
 	margin-left: -12.5px;
@@ -419,7 +423,7 @@ img{
 	}
 	100% {
 		opacity:0;
-		bottom: 25px;
+		bottom: 40px;
 	}
 }
 @-moz-keyframes start {
@@ -432,7 +436,7 @@ img{
 	}
 	100% {
 		opacity:0;
-		bottom: 25px;
+		bottom: 40px;
 	}
 }
 @keyframes start {
@@ -445,22 +449,22 @@ img{
 	}
 	100% {
 		opacity:0;
-		bottom: 25px;
+		bottom: 40px;
 	}
 }
-.guide-bottom >span{
+.guide-bottom .jumpGuide ,.guide-bottom .goToShare{
 	color: #D7D7D7;
 	position: absolute;
 	bottom: 10px;
 	display: block;
+	width: 50px;
+	height: 50px;
 }
 .guide-bottom .jumpGuide{
-	left: 25%;
-	margin-left: -43.5px;
+	left: 20px;
 }
 .guide-bottom .goToShare{
-	right: 25%;
-	margin-right: -16px;
+	right: 20px;
 }
 .share-dialog{
 	z-index: 10;

+ 8 - 3
core/src/web/templates/swordfish/wxindex.html

@@ -26,13 +26,16 @@
 		<div class="swiper-slide">
 			<img src="/wxswordfish/images/guide-5.png">
 		</div>
+		<div class="swiper-slide">
+			<img src="/wxswordfish/images/guide-6.png">
+		</div>
     </div>
     <!-- 如果需要分页器 -->
    	<div class="swiper-pagination"></div>
 	<div class="guide-bottom">
-		<img src="/wxswordfish/images/up.png">
-		<span class="jumpGuide" onclick="{{if session "userid"}}window.location.href='/swordfish/page'{{else}}history.go(-1);{{end}}">跳过引导>></span>
-		<span class="goToShare" id="goToShare">分享</span>
+		<img class="arrow-up" src="/wxswordfish/images/up.png">
+		<img src="/wxswordfish/images/jump.png" class="jumpGuide" onclick="{{if session "userid"}}window.location.href='/swordfish/page'{{else}}history.go(-1);{{end}}">
+		<img class="goToShare" id="goToShare" src="/wxswordfish/images/guide-share.png">
 	</div>
 </div>
 {{include "/swordfish/wxtoolbar.html"}}
@@ -61,9 +64,11 @@ $(function(){
 			});
 		},
 		onSliderMove: function(swiper, event){
+			{{if session "userid"}}
 			if(swiper.isEnd && (swiper.touches.currentX - swiper.touches.startX) > 20) {
 				window.location.href = "/swordfish/page";
 			}
+			{{end}}
 		}
     });
 	/*