team_error.html 3.41 KB
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
		<title>支付失败-{$tpshop_config['shop_info_store_title']}</title>
		<meta http-equiv="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
		<meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />
		<link rel="stylesheet" type="text/css" href="__STATIC__/css/public.css" />
		<link rel="stylesheet" type="text/css" href="__STATIC__/css/index.css" />
		<script type="text/javascript" src="__STATIC__/js/jquery.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/global.js"></script>
		<style>
			.comment_box{text-align: left;margin-left: 5px; position: relative;color: gainsboro;}
			.comment_box .btn_s{background: red; padding: 3px 5px; color: white; position:absolute; bottom: 0; right: 5px; border-radius: 6px}
		</style>
	</head>

	<body>
		<include file="public/navBall" />
		<div class="pay_success">
			<img src="__STATIC__/images/warn.png" style="width: 50px;height: 50px;" />
			<p class="txt">支付失败</p>
			<p>{$err}</p>
			<div class="btn btnRed" onclick="repay(this)"  alt="{$Think.request.orderno}">重新购买</div>
			<div class="btn btnPink" onclick="goOrderList()">查看订单</div>
		</div>
		<div class="showpage">
			<div class="floor_body2">
				<h2>————&nbsp;大家都在团 ————</h2>
				<div id="J_ItemList">
					<ul class="product single_item info">
						<foreach name="tuan_goods" item="v" key="k">
							<li>
								<a href="{:U('Mobile/Goods/goodsInfo',array('id'=>$v[goods_id],'stoid'=>I('stoid')))}" title="{$v.goods_name}">
									<div class="index_pro">
										<div class="products_kuang">
											<img src="{:getimg($v['original_img'],NOIMG,0,1)}">
											<span class="dis_vm"></span>
										</div>
										<div class="goods_name">{$v.goods_name}</div>
										<div class="price_box" style="text-align: left;margin-left: 5px;height:25px;line-height:25px;">
											<span class="new_price" style="color: #C4182E;"><font style="font-size: 12px">{$v.ct_num}人团</font> {:getActualPrice2($v)}</span>

										</div>
										<div class="comment_box">
										<del style="font-size: 10px;margin-left: 5px;color: grey;">¥{:getUnderlinePrice($v)}</del>&nbsp;
											<font style="color: grey">已售{$v.buy_num}</font>  <a class="btn_s">去开团</a></div>
									</div>
								</a>
							</li>
						</foreach>

					</ul>

				</div>
			</div>
			<script type="text/javascript">
				var stoid="<?php echo I('stoid');?>";
			</script>
		</div>
	    <input type="hidden" value="{$Think.request.payfail}" id="payfail"/>
	</body>
   <script type="text/javascript">
	  //获取首页
      function goIndex() {
        window.location.href='/index.php/Mobile/index/index/stoid/'+stoid;
      }
      //获取订单列表
      function goOrderList(){
        window.location.href='/index.php/Mobile/User/order_list/stoid/'+stoid;
      }

      function repay(ob) {
          var sn=$(ob).attr('alt');
          //是否是支付尾款
          var tt=$("#payfail").val();
          if(tt=="1"){
              window.location.href="/Mobile/Payment/getCode_pt.html?orderno=" + sn+ '&stoid=' + stoid;
		  }else{
              window.location.href="/Mobile/Payment/getCode.html?orderno=" + sn+ '&stoid=' + stoid;
		  }
      }



   </script>
</html>