Explorar o código

00

git-svn-id: svn://svn7.apicloud.com/A6007457911931/%E5%9C%88%E5%A4%9A%E5%A4%9A@647 0e1a2743-8d03-4e5a-a60c-7e26af42b145
1149931599@qq.com %!s(int64=4) %!d(string=hai) anos
pai
achega
ee24ba3088
Modificáronse 2 ficheiros con 8 adicións e 6 borrados
  1. 6 4
      html/frame0.html
  2. 2 2
      html/frame1.html

+ 6 - 4
html/frame0.html

@@ -12,7 +12,7 @@
 		<link rel="stylesheet" type="text/css" href="../css/style.css" />
 		<link rel="stylesheet" type="text/css" href="../css/swiper.min.css" />
 		<style>
-			.swiper-container {
+		.swiper-container {
           width: 100%;
           height: 100%;
         }
@@ -171,7 +171,7 @@
 	<body>
 		<div class="topbar"></div>
 		<section>
-			<div style="position: fixed;width: 6.9rem;margin-left: -1px;z-index: 2;background: #fff;">
+			<div style="position: fixed;width: 6.9rem;margin-left: -1px;z-index: 2;background: #fff;top:0.7rem">
 				<div class="home-top" style="padding: 0.1rem 0;">
 					<div class="home-top-left"><img id="set-local" class="home-top-local" src="../image/home_local.png" /> <span class="local-name">&nbsp;正在搜索您附近的酒店</span></div>
 					<div class="home-top-right" style="margin-top: -0.05rem;">
@@ -257,7 +257,10 @@
 			}
 			//滑动到底部
 			api.addEventListener({
-				name: 'scrolltobottom'
+				name: 'scrolltobottom',
+				extra: {
+				    threshold: 200
+				}
 			}, function(ret, err) {
 				getAddress();
 			});
@@ -584,7 +587,6 @@
 			if (_isload) {
 				return false;
 			}
-			console.log(_page,_minid);
 			$.ajax({
 				url: siteurl + 'v2/entry/storeList',
 				data: {

+ 2 - 2
html/frame1.html

@@ -67,9 +67,9 @@
         </div>
         <div style="padding-top: 0.2rem;">
             <div class="swiper-container" style="padding-bottom: 0.1em;">
-                <div class="swiper-wrapper">
-                </div>
+                <div class="swiper-wrapper"></div>
             </div>
+		</div>
     </section>
     <section class="new-list" page="1" style="padding-top: 1.6rem"></section>
     <div class="back-top mask-hidden" id="fix1"></div>