Browse Source

返回顶部按钮位置调整

git-svn-id: svn://svn7.apicloud.com/A6007457911931/%E5%9C%88%E5%A4%9A%E5%A4%9A@682 0e1a2743-8d03-4e5a-a60c-7e26af42b145
1149931599@qq.com 4 years ago
parent
commit
9fc72f5e34
2 changed files with 20 additions and 13 deletions
  1. 19 12
      html/home/hoteldtl.html
  2. 1 1
      html/home/showgoods.html

+ 19 - 12
html/home/hoteldtl.html

@@ -86,6 +86,7 @@
       .hotel-goods{
         width:100%;
         height: 1rem;
+		/* border-top:1px solid #e8e8e8; */
         border-bottom:1px solid #e8e8e8;
         position:relative;
       }
@@ -366,8 +367,7 @@
 			/* background-color: #fff; */
 		}
 		.swiperType{
-			/* height: 3.4rem; */
-			height: 1.8rem;
+			height: 2rem;
 			box-sizing: border-box;
 			width: 100%;
 			padding-top: 0.2rem;
@@ -383,11 +383,14 @@
 			height: 1.04rem;
 			margin-bottom: 0.1rem;
 		}
+		.dian{
+			margin-top:0.2rem;
+		}
 		.dian div{
-		    width: 20px;
+		    width: 23px;
 			height: 3px;
 			border-radius: 3px;
-			margin: 0 2px;
+			/* margin: 0 2px; */
 			background-color: #C7C7C7;
 		}
 		.activeD{
@@ -459,15 +462,17 @@
 					<span>酒店信息</span>
 				</div>
 			</div>
-			<div class="weui-tab__panel">
+			<div class="weui-tab__panel" style="overflow:hidden">
 				<div id="tab1" class="weui_tab_bd_item weui_tab_bd_item_active">
-					<div class="swiperType">
-						<div class="swiper-wrapper">
-						</div>
-						<div class="dian flex-box flex-center-center">
-							<div class="activeD"></div>
+						<div class="swiperType">
+							<div class="swiper-wrapper">
+								<!-- <div class="swiper-slide flex-box flex-d-wrap" style="height:100%"><div class="flex-box-v flex-center-center spItme" gcid="796"> <img src="https://www.qzaiwang.com/uploads/home/common/category-pic-796.jpg?v=1605087693"/> <span>圈在有礼</span> </div></div> -->
+								<!-- <div class="swiper-slide flex-box flex-d-wrap" style="height:100%"><div class="flex-box-v flex-center-center spItme" gcid="796"> <img src="https://www.qzaiwang.com/uploads/home/common/category-pic-796.jpg?v=1605087693"/> <span>圈在有礼</span> </div></div> -->
+							</div>
+							<div class="dian flex-box flex-center-center">
+								<div class="activeD"></div>
+							</div>
 						</div>
-					</div>
 				</div>
 				<div id="tab2" class="weui_tab_bd_item feed-list" page="1" style="padding-top: 0.2rem; padding:0 0.32rem;"></div>
 				<div id="tab3" class="weui_tab_bd_item" style="padding: 0 0.32rem;">
@@ -741,7 +746,7 @@
 						var data = group(datas.data.category_list, 10);
 						if(datas.data.category_list.length>5){
 							height_s='4.64rem';
-							$(".swiperType").css("height",'3.4rem');
+							$(".swiperType").css("height",'3.6rem');
 							$(".weui-tab.tabh").css("height",'4.64rem');
 						}
 						data.forEach((itme,index) => {
@@ -756,6 +761,8 @@
 										</div>`
 							})
 							_html += `</div>`;
+							// console.log(_html);
+							// console.log("亲吻亲吻青蛙撒大苏打实打实的");
 							$(".swiperType .swiper-wrapper").append(_html)
 						})
 						var swiper = new Swiper('.swiperType', {

+ 1 - 1
html/home/showgoods.html

@@ -366,7 +366,7 @@
         color: #aaa;
       }
       .back-top {
-        bottom: 60px;
+        bottom: 100px;
       }
       .nav_fixed {
 		position: fixed;