| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383 | 
							- <!DOCTYPE html>
 
- <html>
 
- <head>
 
- 	<meta charset="UTF-8">
 
- 	<title>拼单详情</title>
 
- 	<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
 
- 	<meta name="apple-mobile-web-app-capable" content="yes">
 
- 	<meta name="apple-mobile-web-app-status-bar-style" content="black">
 
- 	<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/style.css" />
 
- 	<style>
 
- 		.index-title {text-align: center;}
 
- 		.share-dalog{background: rgba(0,0,0,.7);position: fixed;left: 0;top: 0;right: 0;bottom: 0;width: 100%;height: 100%;z-index: 99;display: none;}
 
- 		.share-dalog img{width: 100%;}
 
- 		.ping-h1{text-align: center;font-size: 18px;padding: 10px 0 15px 0;}
 
- 		.ping-h1 .red{color: #ff5673;}
 
- 		.mui-content .my-btn-ping{border-radius: 50px;display: block;width: 70%;margin: 15px auto;font-size: 16px;background: #ff5673;color: #fff;border: 0;padding: 12px 12px;}
 
- 		.mui-content .my-btn-ping:active{background: #fc4e67 !important;}
 
- 		.btn-details{border-radius: 50px;display: block;width: 70%;margin: 15px auto;font-size: 16px;padding: 12px 12px;border: 1px solid #ff5673;color: #ff5673;}
 
- 		.btn-details:active{background: #f0f0f0;background: transparent !important;color: #ff5673 !important;}
 
- 		.userHeader{border-radius: 50%;}
 
- 		.myicon-pin{background: #eba85e;color: #fff;border-radius: 25px;font-size: 12px;position: absolute;left: 0;top: 2px;line-height: 1.2;display: block;padding: 2px 5px;}
 
- 		.no-after:after,
 
- 			.no-after:before,
 
- 			.no-after .mui-table-view-cell:after {
 
- 				display: none;
 
- 			}
 
- 			
 
- 			.no-after .mui-table-view-cell.mui-active {
 
- 				background: #fff;
 
- 			}
 
- 			
 
- 			.pro-list .mui-media-body {
 
- 				font-size: 14px;
 
- 			}
 
- 			
 
- 			.my-table-order tr td:last-child {
 
- 				padding-right: 0;
 
- 			}
 
- 			
 
- 			.my-table-order {
 
- 				font-size: 12px;
 
- 			}
 
- 			
 
- 			.cl-red {
 
- 				color: #ec6276;
 
- 			}
 
- 			
 
- 			.wh-120 {
 
- 				width: 130px !important;
 
- 				max-width: 130px !important;
 
- 				height: 130px !important;
 
- 				line-height: 130px;
 
- 				margin-top: 0;
 
- 				overflow: hidden;
 
- 				margin-right: 10px;
 
- 			}
 
- 			
 
- 			.wh-120 img {
 
- 				width: 100%;
 
- 			}
 
- 			
 
- 			.my-table-order .btn-ping {
 
- 				background: #ec6276;
 
- 				border: 0;
 
- 				border-radius: 50px;
 
- 				color: #fff;
 
- 				min-width: 70px;
 
- 				text-align: center;
 
- 			}
 
- 			
 
- 			.my-table-order .btn-qiang {
 
- 				background: #ec6276;
 
- 				border: 0;
 
- 				border-radius: 50px;
 
- 				color: #fff;
 
- 				min-width: 70px;
 
- 				text-align: center;
 
- 			}
 
- 			
 
- 			.my-table-order h4 {
 
- 				margin: 0;
 
- 				font-size: 16px;
 
- 				font-weight: 500;
 
- 			}
 
- 			
 
- 			.my-table-order h6 {
 
- 				margin: 0;
 
- 				color: #999;
 
- 			}
 
- 			
 
- 			.my-table-order .yf {
 
- 				padding-bottom: 15px;
 
- 			}
 
- 			
 
- 			.time-out {
 
- 				color: #ec6276;
 
- 				margin-left: 10px;
 
- 			}
 
- 			
 
- 			.qixi {
 
- 				border: 1px solid #5ecddf;
 
- 				border-radius: 30px;
 
- 				color: #5ecddf;
 
- 				background: transparent;
 
- 				display: block;
 
- 				width: 70px;
 
- 				padding: 0;
 
- 				line-height: 1.5;
 
- 				text-align: center;
 
- 			}
 
- 			
 
- 			.mui-col-xs-4 img {
 
- 				width: 100%;
 
- 				padding: 0 3%;
 
- 			}
 
- 			
 
- 			.mui-col-xs-4:first-child img {
 
- 				padding-right: 6%;
 
- 				padding-left: 0;
 
- 			}
 
- 			
 
- 			.mui-col-xs-4:last-child img {
 
- 				padding-left: 6%;
 
- 				padding-right: 0;
 
- 			}
 
- 			
 
- 			.mui-col-xs-4 a s {
 
- 				color: #999;
 
- 				margin-left: 10px;
 
- 			}
 
- 			
 
- 			.mui-col-xs-4 .content {
 
- 				padding-right: 5%;
 
- 			}
 
- 			
 
- 			.mui-table-view>.mui-table-view-cell {
 
- 				padding: 11px 13px;
 
- 			}
 
- 			.mui-table-view>.mui-table-view-cell>a.mui-active{background: #fff;}
 
- 			.mui-table-view-striped>.mui-table-view-cell {
 
- 				padding: 5px 12px;
 
- 			}
 
- 	</style>
 
- 	<script>
 
-         // 屏蔽分享
 
-         window.hiddenAllWechatMenu = true;
 
- 	</script>
 
- </head>
 
- <body style="background: #fff;">
 
- <div class="loading-bg">
 
- 	<div class="mui-loading">
 
- 		<div class="mui-spinner">
 
- 		</div>
 
- 		  加载中...
 
- 	</div>
 
- </div>
 
- <!--<nav class="mui-bar mui-bar-tab" id="footer-bar">
 
- 	<a class="mui-tab-item" >
 
- 		<div class="iconfont icon-shouye"></div>
 
- 		<span class="mui-tab-label">首页</span>
 
- 	</a>
 
- 	<a class="mui-tab-item">
 
- 		<div class="iconfont icon-gouwuche"><span class="mui-badge">0</span></div>
 
- 		<span class="mui-tab-label">购物车</span>
 
- 	</a>
 
- 	<a class="mui-tab-item">
 
- 		<div class="iconfont icon-dingdan"></div>
 
- 		<span class="mui-tab-label">订单</span>
 
- 	</a>
 
- 	<a class="mui-tab-item">
 
- 		<div class="iconfont icon-wode"></div>
 
- 		<span class="mui-tab-label">我的</span>
 
- 	</a>
 
- </nav>-->
 
- <!--<header class="mui-bar mui-bar-nav header">
 
- 	<div class="go-index go_index">
 
- 		<img src="images/logo.png" />
 
- 	</div>
 
- </header>-->
 
- <div class="mui-content" style="background: #fff;">
 
- 	<div style="padding: 30px 0 10px 0;">
 
- 		<div class="mui-table">
 
- 		<div class="mui-table-cell mui-col-xs-3 table-middle">
 
- 		</div>
 
- 		<div class="mui-table-cell mui-col-xs-3 mui-text-left">
 
- 			<img class="userHeader" width="80%" src="images/2019072918.jpg" />
 
- 			<span class="myicon-pin">拼主</span>
 
- 		</div>
 
- 		<div class="mui-table-cell mui-col-xs-3 mui-text-right">
 
- 			<img width="80%" src="images/2019072918.jpg" />
 
- 		</div>
 
- 		<div class="mui-table-cell mui-col-xs-3 table-middle">
 
- 		</div>	
 
- 	</div>
 
- 	</div>
 
- 	<div class="ping-h1">还差<span class="red" id="count">0</span>人,<span id="dsc">快来和我一起拼单吧</span></div>
 
- 	<div>
 
- 		<button type="button" class="mui-btn my-btn-ping">参与好友拼单</button>
 
- 	</div>
 
- 	<div>
 
- 		<button type="button" class="mui-btn btn-details">查看产品详情</button>
 
- 	</div>
 
- 	<div class="index-title">
 
- 		<strong>更多产品</strong>
 
- 	</div>
 
- 	<ul class="mui-table-view no-after list-1" style="padding-bottom: 50px;">
 
- 				<li class="mui-table-view-cell">
 
- 					<a proid="66" colorid="49" class="go_chanpin_details">
 
- 						<table class="my-table-order">
 
- 							<tr>
 
- 								<td rowspan="5">
 
- 									<div class="wh-120"><img src="images/2019072902.png"></div>
 
- 								</td>
 
- 								<td><span class="qixi">七夕专享</span></td>
 
- 							</tr>
 
- 							<tr>
 
- 								<td colspan="2">
 
- 									<h4>WaterO桌面净水机(制氢)</h4></td>
 
- 							</tr>
 
- 							<tr>
 
- 								<td colspan="2" class="yf">
 
- 									<h6>健康饮水·升级二合一</h6></td>
 
- 							</tr>
 
- 							<tr>
 
- 								<td>
 
- 									<h6><s>原价:¥3599</s></h6></td>
 
- 								<td rowspan="2" class="mui-text-right">
 
- 									<a class="mui-btn btn-ping">拼单</a>
 
- 								</td>
 
- 							</tr>
 
- 							<tr>
 
- 								<td colspan="2" class="cl-red">拼单价:¥2799</td>
 
- 							</tr>
 
- 						</table>
 
- 					</a>
 
- 				</li>
 
- 				<li class="mui-table-view-cell">
 
- 					<a proid="71" colorid="55" class="go_chanpin_details">
 
- 						<table class="my-table-order">
 
- 							<tr>
 
- 								<td rowspan="5">
 
- 									<div class="wh-120"><img src="images/2019072903.png"></div>
 
- 								</td>
 
- 								<td><span class="qixi">七夕专享</span></td>
 
- 							</tr>
 
- 							<tr>
 
- 								<td colspan="2">
 
- 									<h4>Aiberle桌面净水机(WB-2)</h4></td>
 
- 							</tr>
 
- 							<tr>
 
- 								<td colspan="2" class="yf">
 
- 									<h6>RO反渗透、红点奖团队设计</h6></td>
 
- 							</tr>
 
- 							<tr>
 
- 								<td>
 
- 									<h6><s>原价:¥1999</s></h6></td>
 
- 								<td rowspan="2" class="mui-text-right">
 
- 									<a class="mui-btn btn-ping">拼单</a>
 
- 								</td>
 
- 							</tr>
 
- 							<tr>
 
- 								<td colspan="2" class="cl-red">拼单价:¥1799</td>
 
- 							</tr>
 
- 						</table>
 
- 					</a>
 
- 				</li>
 
- 				<li class="mui-table-view-cell">
 
- 					<a proid="71" colorid="55" class="go_chanpin_details">
 
- 						<table class="my-table-order">
 
- 							<tr>
 
- 								<td rowspan="5">
 
- 									<div class="wh-120"><img src="images/2019072904.png"></div>
 
- 								</td>
 
- 								<td><span class="qixi">七夕专享</span></td>
 
- 							</tr>
 
- 							<tr>
 
- 								<td colspan="2">
 
- 									<h4>Aiberle净水花洒</h4></td>
 
- 							</tr>
 
- 							<tr>
 
- 								<td colspan="2" class="yf">
 
- 									<h6>内置活性炭棒+能量石滤盒</h6></td>
 
- 							</tr>
 
- 							<tr>
 
- 								<td>
 
- 									<h6><s>原价:¥399</s></h6></td>
 
- 								<td rowspan="2" class="mui-text-right">
 
- 									<a class="mui-btn btn-ping">拼单</a>
 
- 								</td>
 
- 							</tr>
 
- 							<tr>
 
- 								<td colspan="2" class="cl-red">拼单价:¥269</td>
 
- 							</tr>
 
- 						</table>
 
- 					</a>
 
- 				</li>
 
- 			</ul>
 
- </div>
 
- <div class="share-dalog">
 
- 	<img src="images/share.png" />
 
- </div>
 
- <script src="js/mui.min.js"></script>
 
- <script src="js/jquery-2.1.1.min.js"></script>
 
- <script src="js/main.js"></script>
 
- <script src="js/page/wechat-utils-1.0.js"></script>
 
- </body>
 
- <script>
 
- var isSpell=getParam('isSpell'),openid=getParam('openid'),orderId=getParam('orderId'),productId=getParam('productId'),colorId=getParam('colorId');
 
- var str=location.href; //取得整个地址栏
 
-         var num=str.indexOf("?")
 
-         str=str.substr(num+1); //取得所有参数
 
-     $(document).ready(function(){
 
-     	$.ajax(base_path + '/user/member?dates=' + new Date().getTime(), {
 
-     	data:{
 
-     		openId:openid
 
-     	},
 
- 		dataType: 'json',
 
- 		type: 'post',
 
- 		timeout: 15000,
 
- 		xhrFields: {
 
- 			withCredentials: true
 
- 		},
 
- 		crossDomain: true,
 
- 		success: function(dt) {
 
- 			if(dt.isRedirect) {
 
- 				location.href = dt.redirectURL;
 
- 			} else {
 
- 				var data = dt.data;
 
- 				if(dt.status) {
 
- 					if(typeof(data.userHead) != "undefined"){
 
- 					if(data.userHead != null && data.userHead != '') {
 
- 						$(".userHeader").attr('src',data.userHead)
 
- 					}
 
- 					}
 
- 					document.querySelector('.loading-bg').style.display = 'none'
 
- 				} else {
 
- 					
 
- 				}
 
- 			}
 
- 		},
 
- 		error: function(xhr, type, errorThrown) {
 
- 			console.log(xhr)
 
- 		}
 
- 	});
 
- 	$.ajax(path + '/watero/callback/getOrderByOrderId', {
 
- 		data: {
 
- 			orderId:orderId
 
- 		},
 
- 		dataType: 'json',
 
- 		type: 'get',
 
- 		timeout: 15000,
 
- 		xhrFields: {
 
- 			withCredentials: true
 
- 		},
 
- 		crossDomain: true,
 
- 		success: function(dt) {
 
- 			console.log(dt)
 
- 					if(dt!=1){
 
- 						$("#count").text('0');
 
- 						$('.my-btn-ping').text('我要发起拼单');
 
- 						$('#dsc').text('好友已完成拼单');
 
- 						$(document).on('tap', '.my-btn-ping,.btn-details', function() {
 
- 						 	location.href='chanpin_details.html?productId='+productId+'&colorId='+colorId;
 
- 						 });
 
- 					}else{
 
- 						$("#count").text('1');
 
- 						 $(document).on('tap', '.my-btn-ping,.btn-details', function() {
 
- 						 	location.href='chanpin_details.html?'+str
 
- 						 });
 
- 					}
 
- 		},
 
- 		error: function(xhr, type, errorThrown) {
 
- 			console.log(xhr)
 
- 		}
 
- 	});
 
-        document.querySelector('.loading-bg').style.display = 'none'
 
-    });
 
-    
 
- </script>
 
- </html>
 
 
  |