Parcourir la source

增加备选下载

jace il y a 6 ans
Parent
commit
458cd871b9

+ 19 - 1
normand/frontend/frontend/views/download/download.php

@@ -120,7 +120,7 @@ use yii\helpers\Url;
                             <?php }?>
                             <?php }?>
 
 
                         </a>
                         </a>
-						<img id="download_ewm_android" src="<?= STATIC_URL ?>/static/fxm/images/download.jpg" style="display: none;">
+						
                     </li>
                     </li>
                     <li>
                     <li>
                         <a href="javascript:void(0)" class="ico iphone" style="margin:auto;">
                         <a href="javascript:void(0)" class="ico iphone" style="margin:auto;">
@@ -140,6 +140,12 @@ use yii\helpers\Url;
                     </li>
                     </li>
                 </ul>
                 </ul>
             </div>
             </div>
+            <div>
+			    <img id="download_ewm_android" src="<?= STATIC_URL ?>/static/fxm/images/download.jpg"  style="display: none;width:210px;height:210px;margin-top:35px;">
+		        <img id="download_ewm_android1" src="<?= STATIC_URL ?>/static/fxm/images/download1.jpg" style="display: none;width:210px;height:210px;margin-top:35px;">
+		        <img id="download_ewm_android2" src="<?= STATIC_URL ?>/static/fxm/images/download2.jpg" style="display: none;width:210px;height:210px;margin-top:35px;">
+		        <img id="download_ewm_android3" src="<?= STATIC_URL ?>/static/fxm/images/download3.jpg" style="display: none;width:210px;height:210px;margin-top:35px;">
+			</div>
             <div>
             <div>
 			    <img id="download_ewm_iosend" src="<?= STATIC_URL ?>/static/fxm/images/appledownload.jpg" style="display: none;margin-right: 100px;
 			    <img id="download_ewm_iosend" src="<?= STATIC_URL ?>/static/fxm/images/appledownload.jpg" style="display: none;margin-right: 100px;
     margin-top: 40px;">
     margin-top: 40px;">
@@ -187,9 +193,15 @@ use yii\helpers\Url;
     })
     })
 	$("#download_ewm_and").mouseover(function () {
 	$("#download_ewm_and").mouseover(function () {
 		$("#download_ewm_android").fadeIn(1000);
 		$("#download_ewm_android").fadeIn(1000);
+		$("#download_ewm_android1").fadeIn(1000);
+		$("#download_ewm_android2").fadeIn(1000);
+		$("#download_ewm_android3").fadeIn(1000);
 	})
 	})
 	$("#download_ewm_and").mouseout(function () {
 	$("#download_ewm_and").mouseout(function () {
 		$("#download_ewm_android").fadeOut(1000);
 		$("#download_ewm_android").fadeOut(1000);
+		$("#download_ewm_android1").fadeOut(1000);
+		$("#download_ewm_android2").fadeOut(1000);
+		$("#download_ewm_android3").fadeOut(1000);
 	})
 	})
 	$("#download_ewm_ios").mouseover(function () {
 	$("#download_ewm_ios").mouseover(function () {
 		$("#download_ewm_iosend").fadeIn(1000);
 		$("#download_ewm_iosend").fadeIn(1000);
@@ -200,9 +212,15 @@ use yii\helpers\Url;
 		$("#download_ewm_iosend1").fadeOut(1000);
 		$("#download_ewm_iosend1").fadeOut(1000);
     })
     })
     var imgurl = $("#download_ewm_android").attr('src');
     var imgurl = $("#download_ewm_android").attr('src');
+    var an_imgurl1 = $("#download_ewm_android1").attr('src');
+    var an_imgurl2 = $("#download_ewm_android2").attr('src');
+    var an_imgurl3 = $("#download_ewm_android3").attr('src');
     var ios_imgurl1 = $("#download_ewm_iosend").attr('src');
     var ios_imgurl1 = $("#download_ewm_iosend").attr('src');
     var ios_imgurl2 = $("#download_ewm_iosend1").attr('src');
     var ios_imgurl2 = $("#download_ewm_iosend1").attr('src');
     $("#download_ewm_android").attr('src',imgurl+'?' + Math.random());
     $("#download_ewm_android").attr('src',imgurl+'?' + Math.random());
+    $("#download_ewm_android1").attr('src',an_imgurl1+'?' + Math.random());
+    $("#download_ewm_android2").attr('src',an_imgurl2+'?' + Math.random());
+    $("#download_ewm_android3").attr('src',an_imgurl3+'?' + Math.random());
     $("#download_ewm_iosend").attr('src',ios_imgurl1+'?' + Math.random());
     $("#download_ewm_iosend").attr('src',ios_imgurl1+'?' + Math.random());
     $("#download_ewm_iosend1").attr('src',ios_imgurl2+'?' + Math.random());
     $("#download_ewm_iosend1").attr('src',ios_imgurl2+'?' + Math.random());
     
     

BIN
normand/frontend/frontend/web/static/fxm/images/download1.jpg


BIN
normand/frontend/frontend/web/static/fxm/images/download2.jpg


BIN
normand/frontend/frontend/web/static/fxm/images/download3.jpg