H-SEN 7 年之前
父节点
当前提交
1935b08c74
共有 3 个文件被更改,包括 23 次插入20 次删除
  1. 14 11
      aiberle/index.html
  2. 3 3
      aiberle/pro-details.html
  3. 6 6
      aiberle/pro-list.html

+ 14 - 11
aiberle/index.html

@@ -24,7 +24,7 @@
 			<!--头部搜索框-->
 			<div class="search-cotainer">
 				<div class="mui-input-row mui-search">
-					<input id="search" name="search" class="my-search-ipt" type="text" placeholder="输入产品名称">
+					<input id="search" name="search" class="my-search-ipt" type="text" placeholder='大家都在搜电动牙刷刷头""'>
 				</div>
 				<span class="iconfont icon-caidan"></span>
 				<span class="my-btn-cancel">取消</span>
@@ -262,16 +262,19 @@
 										"label": this.typeName
 									});
 									$.each(this.childTypeList, function() {
-										var li = document.createElement("li");
-										li.className = 'line';
-										li.innerHTML = '<a name="' + this.typeId + '" item="' + this.childTypeId + '"><div>' + this.childTypeName + '</div></a>';
-										caidan.appendChild(li);
-										colors.push({
-											"id": colors.length + 1,
-											"typeId": this.typeId,
-											"label": this.childTypeName,
-											"childTypeId": this.childTypeId
-										});
+										if(this.typeId!=4){
+											var li = document.createElement("li");
+											li.className = 'line';
+											li.innerHTML = '<a name="' + this.typeId + '" item="' + this.childTypeId + '"><div>' + this.childTypeName + '</div></a>';
+											caidan.appendChild(li);
+											colors.push({
+												"id": colors.length + 1,
+												"typeId": this.typeId,
+												"label": this.childTypeName,
+												"childTypeId": this.childTypeId
+											});
+										}
+										
 									});
 									//遍历产品配件
 									if(this.typeId == 4) {

+ 3 - 3
aiberle/pro-details.html

@@ -7,9 +7,9 @@
 		<meta name="apple-mobile-web-app-capable" content="yes">
 		<meta name="apple-mobile-web-app-status-bar-style" content="black">
 		<title>产品详情</title>
-		<link rel="stylesheet" type="text/css" href="//s.iamberry.com/wechat/aiberle/css/mui.min.css" />
-		<link rel="stylesheet" type="text/css" href="//s.iamberry.com/wechat/aiberle/css/iconfont.css" />
-		<link rel="stylesheet" type="text/css" href="//s.iamberry.com/wechat/aiberle/css/main.css" />
+		<link rel="stylesheet" type="text/css" href="css/mui.min.css" />
+		<link rel="stylesheet" type="text/css" href="css/iconfont.css" />
+		<link rel="stylesheet" type="text/css" href="css/main.css" />
 		<script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
 		<script>
 			//屏蔽分享

+ 6 - 6
aiberle/pro-list.html

@@ -7,9 +7,9 @@
 		<meta name="apple-mobile-web-app-capable" content="yes">
 		<meta name="apple-mobile-web-app-status-bar-style" content="black">
 		<title>产品类型</title>
-		<link rel="stylesheet" type="text/css" href="//s.iamberry.com/wechat/aiberle/css/mui.min.css" />
-		<link rel="stylesheet" type="text/css" href="//s.iamberry.com/wechat/aiberle/css/iconfont.css" />
-		<link rel="stylesheet" type="text/css" href="//s.iamberry.com/wechat/aiberle/css/main.css" />
+		<link rel="stylesheet" type="text/css" href="css/mui.min.css" />
+		<link rel="stylesheet" type="text/css" href="css/iconfont.css" />
+		<link rel="stylesheet" type="text/css" href="css/main.css" />
 		<script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
 		<script>
 			//屏蔽分享
@@ -121,9 +121,9 @@
 			<p>加载中...</p>
 		</div>
 		<!-- 加载ing END -->
-		<script src="//s.iamberry.com/wechat/aiberle/js/mui.min.js"></script>
-		<script src="//s.iamberry.com/wechat/aiberle/js/jquery-2.1.1.min.js"></script>
-		<script src="//s.iamberry.com/wechat/aiberle/js/main.js"></script>
+		<script src="js/mui.min.js"></script>
+		<script src="js/jquery-2.1.1.min.js"></script>
+		<script src="js/main.js"></script>
 		<script>
 			window.addEventListener('pageshow', function(e) {
 				// 通过persisted属性判断是否存在 BF Cache