Browse Source

提交产品链接

wangxiaoming 7 years ago
parent
commit
fe1929b5ab
39 changed files with 62 additions and 33 deletions
  1. BIN
      tooth/images/product/d_1.jpg
  2. BIN
      tooth/images/product/d_2.jpg
  3. BIN
      tooth/images/product/d_3.jpg
  4. BIN
      tooth/images/product/d_4.jpg
  5. BIN
      tooth/images/product/d_5.jpg
  6. BIN
      tooth/images/product/d_desc_01.jpg
  7. BIN
      tooth/images/product/d_desc_02.jpg
  8. BIN
      tooth/images/product/d_desc_03.jpg
  9. BIN
      tooth/images/product/d_desc_04.jpg
  10. BIN
      tooth/images/product/d_desc_05.jpg
  11. BIN
      tooth/images/product/product_desc_img_01.jpg
  12. BIN
      tooth/images/product/product_desc_img_02.jpg
  13. BIN
      tooth/images/product/product_desc_img_03.jpg
  14. BIN
      tooth/images/product/product_desc_img_04.jpg
  15. BIN
      tooth/images/product/product_desc_img_05.jpg
  16. BIN
      tooth/images/product/product_desc_img_06.jpg
  17. BIN
      tooth/images/product/product_desc_img_07.jpg
  18. BIN
      tooth/images/product/product_desc_img_08.jpg
  19. BIN
      tooth/images/product/product_desc_img_09.jpg
  20. BIN
      tooth/images/product/product_desc_img_10.jpg
  21. BIN
      tooth/images/product/product_desc_img_11.jpg
  22. BIN
      tooth/images/product/product_desc_img_12.jpg
  23. BIN
      tooth/images/product/r_1.jpg
  24. BIN
      tooth/images/product/r_2.jpg
  25. BIN
      tooth/images/product/r_3.jpg
  26. BIN
      tooth/images/product/r_4.jpg
  27. BIN
      tooth/images/product/r_5.jpg
  28. BIN
      tooth/images/product/r_desc_01.jpg
  29. BIN
      tooth/images/product/r_desc_02.jpg
  30. BIN
      tooth/images/product/r_desc_03.jpg
  31. BIN
      tooth/images/product/r_desc_04.jpg
  32. BIN
      tooth/images/product/r_desc_05.jpg
  33. BIN
      tooth/images/product/r_desc_06.jpg
  34. 32 13
      tooth/index.html
  35. 2 2
      tooth/js/main.js
  36. 7 7
      tooth/my-center.html
  37. 4 4
      tooth/pro-details.html
  38. 12 2
      tooth/register-vip.html
  39. 5 5
      tooth/welfare-service.html

BIN
tooth/images/product/d_1.jpg


BIN
tooth/images/product/d_2.jpg


BIN
tooth/images/product/d_3.jpg


BIN
tooth/images/product/d_4.jpg


BIN
tooth/images/product/d_5.jpg


BIN
tooth/images/product/d_desc_01.jpg


BIN
tooth/images/product/d_desc_02.jpg


BIN
tooth/images/product/d_desc_03.jpg


BIN
tooth/images/product/d_desc_04.jpg


BIN
tooth/images/product/d_desc_05.jpg


BIN
tooth/images/product/product_desc_img_01.jpg


BIN
tooth/images/product/product_desc_img_02.jpg


BIN
tooth/images/product/product_desc_img_03.jpg


BIN
tooth/images/product/product_desc_img_04.jpg


BIN
tooth/images/product/product_desc_img_05.jpg


BIN
tooth/images/product/product_desc_img_06.jpg


BIN
tooth/images/product/product_desc_img_07.jpg


BIN
tooth/images/product/product_desc_img_08.jpg


BIN
tooth/images/product/product_desc_img_09.jpg


BIN
tooth/images/product/product_desc_img_10.jpg


BIN
tooth/images/product/product_desc_img_11.jpg


BIN
tooth/images/product/product_desc_img_12.jpg


BIN
tooth/images/product/r_1.jpg


BIN
tooth/images/product/r_2.jpg


BIN
tooth/images/product/r_3.jpg


BIN
tooth/images/product/r_4.jpg


BIN
tooth/images/product/r_5.jpg


BIN
tooth/images/product/r_desc_01.jpg


BIN
tooth/images/product/r_desc_02.jpg


BIN
tooth/images/product/r_desc_03.jpg


BIN
tooth/images/product/r_desc_04.jpg


BIN
tooth/images/product/r_desc_05.jpg


BIN
tooth/images/product/r_desc_06.jpg


+ 32 - 13
tooth/index.html

@@ -11,6 +11,10 @@
 		<link rel="stylesheet" type="text/css" href="css/swiper.min.css" />
 		<link rel="stylesheet" type="text/css" href="css/iconfont.css" />
 		<link rel="stylesheet" type="text/css" href="css/main.css" />
+		<style>
+			.color_a{color: #000000;}
+			.color_a:hover{color: #000000;}
+		</style>
 	</head>
 
 	<body>
@@ -103,20 +107,35 @@
 					<!-- Swiper begin-->
 					<div class="swiper-container">
 						<div class="swiper-wrapper">
-							<div class="swiper-slide"><img src="images/yashua-fen.png">
-								<div class="mui-text-center">樱花粉</div>
+							<div class="swiper-slide">
+								<a class="color_a" href="pro-details.html?colorId=44">
+									<img src="images/yashua-fen.png">
+									<div class="mui-text-center">樱花粉</div>
+								</a>
 							</div>
-							<div class="swiper-slide"><img src="images/yashua-huang.png">
-								<div class="mui-text-center">奶油黄</div>
+							<div class="swiper-slide">
+								<a class="color_a" href="pro-details.html?colorId=46">
+									<img src="images/yashua-huang.png">
+									<div class="mui-text-center">奶油黄</div>
+								</a>
 							</div>
-							<div class="swiper-slide"><img src="images/yashua-lan.png">
-								<div class="mui-text-center">冰川蓝</div>
+							<div class="swiper-slide">
+								<a class="color_a" href="pro-details.html?colorId=45">
+									<img src="images/yashua-lan.png">
+									<div class="mui-text-center">冰川蓝</div>
+								</a>
 							</div>
-							<div class="swiper-slide"><img src="images/yashua-hei.png">
-								<div class="mui-text-center">晶石黑</div>
+							<div class="swiper-slide">
+								<a class="color_a" href="pro-details.html?colorId=43">
+									<img src="images/yashua-hei.png">
+									<div class="mui-text-center">晶石黑</div>
+								</a>
 							</div>
-							<div class="swiper-slide"><img src="images/yashua-bai.png">
-								<div class="mui-text-center">极光白</div>
+							<div class="swiper-slide">
+								<a class="color_a" href="pro-details.html?colorId=42">
+									<img src="images/yashua-bai.png">
+									<div class="mui-text-center">极光白</div>
+								</a>
 							</div>
 						</div>
 						<!-- Add Arrows -->
@@ -136,13 +155,13 @@
 					<br />
 					<ul class="mui-table-view mui-grid-view my-grid-view-no">
 						<li class="mui-table-view-cell mui-media mui-col-xs-6">
-							<a href="#">
+							<a class="color_a" href="pro-details.html?colorId=50">
 								<img class="mui-media-object" src="images/shuatou-1.png">
 								<div class="mui-media-body">柔羽呵护刷头</div>
 							</a>
 						</li>
 						<li class="mui-table-view-cell mui-media mui-col-xs-6">
-							<a href="#">
+							<a class="color_a" href="pro-details.html?colorId=51">
 								<img class="mui-media-object" src="images/shuatou-1.png">
 								<div class="mui-media-body">杜邦超软刷头</div>
 							</a>
@@ -165,7 +184,7 @@
 					<img width="100%" src="images/index-1.jpg" />
 				</div>
 				<div class="mui-text-center mui-content-padded">
-					<span style="color: #f16071;">¥199.00</span>
+					<span style="color: #f16071;">¥399.00</span>
 				</div>
 			</div>
 			<!--选项卡item3显示区域-->

+ 2 - 2
tooth/js/main.js

@@ -1,5 +1,5 @@
-var domanUrl = "http://" + window.location.host;
-var base_path = "http://w.iamberry.com/tooth";
+var domanUrl = "https://" + window.location.host;
+var base_path = "https://w.iamberry.com/tooth";
 //var base_path = domanUrl+"/tooth";
 
 //ajax loading

+ 7 - 7
tooth/my-center.html

@@ -14,9 +14,9 @@
 		<script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
 		<script>
 			//屏蔽分享
-			document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
-				WeixinJSBridge.call('hideOptionMenu');
-			});
+//			document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
+//				WeixinJSBridge.call('hideOptionMenu');
+//			});
 		</script>
 	</head>
 
@@ -168,7 +168,7 @@
 //				mui(progressbar1).progressbar().setProgress(50); //设置进度条50(单位%)
 				$(".loading").hide().css("opacity", "0");//隐藏loadilng
 				var userIdentity;
-				mask.show(); //显示遮罩层蒙板
+				//mask.show(); //显示遮罩层蒙板
 			});
 			
 			$.ajax(base_path + '/wechat/userIntegral/getRankRule?dates=' + new Date().getTime(), {
@@ -345,12 +345,12 @@
 			
 			//进度条弹窗
 			$(document).on('tap', '#demo1', function() {
-				mask.show(); //显示遮罩层蒙板
+				//mask.show(); //显示遮罩层蒙板
 				if($(".progressbar-dalog").length == 0) {
 					$("body").append('<div class="dalog-vip-center progressbar-dalog"><div><img width="100%" src="images/to-press.png" /></div><button id="bt-member" type="button">我知道了</button><span class="iconfont icon-guanbi"></span></div>');
-					$(".progressbar-dalog").show();
+					//$(".progressbar-dalog").show();
 				} else {
-					$(".progressbar-dalog").show();
+					//$(".progressbar-dalog").show();
 				}
 			});
 			$(document).on('tap', '#bt-member', function() {

+ 4 - 4
tooth/pro-details.html

@@ -430,13 +430,13 @@
 			//分享			
 			function fenxiang(){
 				var src = location.href;
-								src = "http://s.iamberry.com/soodo/wechat/pro-details.html?colorId="+colorId;
+								src = "https://s.iamberry.com/soodo/wechat/pro-details.html?colorId="+colorId;
 								window.wxFriend = {
 										"appId": "",
-										"imgUrl": 'http://s.iamberry.com/soodo/wechat/images/indexShare.jpg',
+										"imgUrl": 'https://s.iamberry.com/soodo/wechat/images/product_fenxiang.jpg',
 										"link": src,
-										"desc": '让你的“笑容停留在18岁”',
-										"title": '【soodo上朵】'+productName+"("+colorName+")",
+										"desc": '让你的齿龄停留在18岁',
+										"title": 'soodo上朵 | '+productName+"("+colorName+")",
 										"netError": "您的网络异常,请刷新重试!如多次刷新无效,请向我们反应 ~",
 										"shareTimeSuccess": "分享成功",
 										"shareTimeCancel": "已取消分享",

+ 12 - 2
tooth/register-vip.html

@@ -154,10 +154,14 @@
 			});
 			
 			mui('body').on('tap', '#buyDate', function(event) {
+				var date = new Date();
+				var y = date.getFullYear();
+				var m = date.getMonth();//获取当前月份的日期
+				var d = date.getDate();
 				var picker = new mui.DtPicker({
 					type: "date", //设置日历初始视图模式 
-					beginDate: new Date(2017, 04, 25), //设置开始日期 
-					endDate: new Date(2050, 04, 25) //设置结束日期 
+					beginDate: new Date(2018, 00, 08), //设置开始日期 
+					endDate: new Date(y, m, d) //设置结束日期 
 				});
 				picker.show(function(rs) {
 					
@@ -257,6 +261,12 @@
 				var userAgeStage = $('input[name="radio1"]:checked ').val();
 				var apparatusStore = $('input[name="radio2"]:checked ').val();
 				var buyDate = $("#buyDate").val();
+				var selectDate = new Date(Date.parse(buyDate));
+				var nowDate = new Date(Date.parse(new Date().toLocaleDateString()));
+				//if(selectDate>nowDate){
+					//mui.alert("购买日期不能大于当前日期");
+					//return false;
+				//}
 				if(validate_flag){
 					//验证通过
 					$.ajax(base_path + '/wechat/apparatus/add_apparatus?dates=' + new Date().getTime(), {

+ 5 - 5
tooth/welfare-service.html

@@ -21,10 +21,10 @@
 			
 			function fenxiang(){
 				var src = location.href;
-								src = "http://s.iamberry.com/soodo/wechat/pro-details.html?colorId="+colorId;
+								src = "https://s.iamberry.com/soodo/wechat/pro-details.html?colorId="+colorId;
 								window.wxFriend = {
 										"appId": "",
-										"imgUrl": 'http://s.iamberry.com/soodo/wechat/images/indexShare.jpg',
+										"imgUrl": 'https://s.iamberry.com/soodo/wechat/images/indexShare.jpg',
 										"link": src,
 										"desc": '让你的“笑容停留在18岁”',
 										"title": "【soodo上朵】柔性声波电动牙刷,赠送您60元现金券",
@@ -44,7 +44,7 @@
 					<div style="padding: 40px 0;text-align: center;">
 						<button type="button" class="my-btn-receive">立即领取</button>
 					<div class="mui-content-padded">
-						<h6>右上角点击“...”分享给好友哟!</h6>
+						<h6>你的笑容,我来守护右上角点击,分享给好友,守护他/她的笑容</h6>
 					</div>
 					</div>
 					
@@ -75,10 +75,10 @@
 		$(".loading").hide().css("opacity", "0");//隐藏(正在加载...)
 		
 		var src = location.href;
-			src = "http://s.iamberry.com/soodo/wechat/welfare-service.html";
+			src = "https://s.iamberry.com/soodo/wechat/welfare-service.html";
 			window.wxFriend = {
 					"appId": "",
-					"imgUrl": 'http://s.iamberry.com/soodo/wechat/images/indexShare.jpg',
+					"imgUrl": 'https://s.iamberry.com/soodo/wechat/images/indexShare.jpg',
 					"link": src,
 					"desc": '让你的“笑容停留在18岁”',
 					"title": "【soodo上朵】柔性声波电动牙刷,赠送您60元现金券",