<!doctype html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>
	我的晒单 - {wc:$webname}购触屏版
</title>
<meta content="app-id=518966501" name="apple-itunes-app">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=no, maximum-scale=1.0">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<link href="{G_TEMPLATES_CSS}/mobile/comm.css" rel="stylesheet" type="text/css">
<link href="{G_TEMPLATES_CSS}/mobile/member.css" rel="stylesheet" type="text/css">
<script src="{G_TEMPLATES_JS}/mobile/jquery190.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript" src="{G_TEMPLATES_JS}/jquery.cookie.js"></script>
<meta name="pinggu-site-verification" content="99cdd3d4e37ce0865dd158cab6d87cfb" />
<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_CSS}/aui/foot.css" />
<script src="{G_TEMPLATES_JS}/mobile/MpostList.js" language="javascript" type="text/javascript"></script>
<script src="{G_TEMPLATES_JS}/mobile/Bottom.js" type="text/javascript" language="javascript"></script>
<script src="{G_TEMPLATES_JS}/mobile/BottomFun.js" type="text/javascript" language="javascript"></script>
<script src="{G_TEMPLATES_JS}/mobile/MpostListFun.js" type="text/javascript" language="javascript"></script>
<script src="{G_TEMPLATES_JS}/mobile/Comm.js" type="text/javascript" language="javascript"></script>
<script src="{G_TEMPLATES_JS}/mobile/Bottom.js?v=15.7.25.18.1" type="text/javascript" language="javascript"></script>
<script src="{G_TEMPLATES_JS}/mobile/Comm.js" type="text/javascript" language="javascript"></script>
<script src="{G_TEMPLATES_JS}/mobile/BottomFun.js" type="text/javascript" language="javascript"></script>
<script src="{G_TEMPLATES_JS}/mobile/Bottom.js?v=15.7.25.18.3" type="text/javascript" language="javascript"></script>
<script src="{G_TEMPLATES_JS}/mobile/Comm.js" type="text/javascript" language="javascript"></script>
<script src="{G_TEMPLATES_JS}/mobilee/BottomFun.js" type="text/javascript" language="javascript"></script>
</head>
<body>
<div class="h5-1yyg-v1" id="loadingPicBlock">
    

<!-- 内页顶部 -->
<header class="header">
<div class="n-header-wrap">
<div class="backbtn">
<a href="javascript:;" onclick="history.go(-1)" class="h-count white">
</a>
</div>
<div class="h-top-right ">
<a href="{WEB_PATH}/mobile/home" class="h-search white"></a>
</div>
<div class="n-h-tit"><h1 class="header-logo">我的晒单</h1></div>
</div>
</header>
 <div class="g-snav m_listNav">
	    <div class="g-snav-lst"><a id="btnPost" href="{WEB_PATH}/mobile/home/singlelist" class="gray9">已晒单</a><b></b></div>
	    <div class="g-snav-lst z-sgl-crt"><a id="btnUnPost" href="{WEB_PATH}/mobile/home/" class="gray9">未晒单</a></div>
    </div>
    <section id="divUnPost" class="clearfix g-Single-lst z-minheight" style="">
	{wc:if $record==null}
	<div id="divPostLoad" class="loading"><b></b>暂无记录</div>
	{wc:else}
	{wc:loop $record $sd}
        <ul>
        <li class="">
		<a class="fl z-Limg">
		<img src="{G_UPLOAD_PATH}/{wc:fun:shoplisext($sd['shopid'],'thumb')}" alt="" border="0">
		</a>
		<div class="u-sgl-r gray9">
		<p class="z-sgl-tt">
		<a class="gray6">{wc:fun:shoplisext($sd['shopid'],'title')}</a>
		</p>
		<p>
		<a href="{WEB_PATH}/mobile/home/singleinsert/{wc:$sd['id']}" class="z-gds-btn">去晒单</a>
		</p>
		</div>
		<b class="z-arrow"></b>
		</li>
		
		
		</ul>
		{wc:loop:end}
		{wc:if:end}
    </section>
   
<script>
$(function(){
	$(".subMenu a").click(function(){
		var id=$(".subMenu a").index(this);
		$(".subMenu a").removeClass().eq(id).addClass("current");
		$(".R-content .topic").hide().eq(id).show();
	});
})
function shaidan(id){
	if(confirm("您确认要删除该条信息吗？")){
		window.location.href="{WEB_PATH}/member/home/shaidandel/"+id;
	}
	//FixedConfirm('你确定要删除？',240);
}
/*$("#btnShow6").click(function(){
		FixedConfirm('你确定要删除？',240);
});*/
function FixedConfirm(content,minwidth){
	var div=FixedStar();
		div+='<div id="foucs_close"></div>';
		div+='<div id="foucs_main">';
		div+='<div class="title" style="display:black">提示</div>';
		div+='<div class="content"><div class="PopMsgC"  style="display:black"><s></s>'+content+'</div>';
		div+='<div class="PopMsgbtn" style="display:black">';
		div+='<a class="orangebut" id="btnMsgOK" href="javascript:;">确认</a>&nbsp;&nbsp;';
		div+='<a class="cancelBtn" id="btnMsgCancel" href="javascript:;">取消</a>';
		div+='</div></div></div>';
		div+='</div>';
	$("body").append(div);
	Fixed(minwidth);
	FixedClose();
}
$(function(){
	$(window).resize(function(){
		Fixed();
	})
})
//关闭弹窗
function FixedClose(){
	$("#foucs_close,#page_close,#btnMsgCancel").click(function(){
		$("#foucs_big,#foucs_min,#w3foucs").fadeOut(200,function(){
			$("#foucs_big,#foucs_min,#w3foucs").remove();
		});
	})
};
function FixedStar(){
	var div='<div id="foucs_big"></div>';
		div+='<div id="foucs_min"></div>';
		div+='<div id="w3foucs">';
	return div;
}
function Fixed(w,h){
	var bigheight=document.body.clientHeight,
	    bigwidth=document.body.clientWidth;
	var big=$("#foucs_big"),
	    min=$("#foucs_min");
	var w3foucs=$("#w3foucs");
	if(w==null){
		if(w3foucs.text()!=null){
			w = w3foucs.width();
		}else{
			w = 200;
		}
	}
	if(h==null){
		var h = w3foucs.height();
	}
	big.height(bigheight);
    big.width(bigwidth);
    big.fadeTo(500,0.5);
	min.width(w+14);
    min.height(h+14);
    min.fadeTo(500,0.5);

	w3foucs.css("height",h);
	w3foucs.width(w);
    var t = ($(window).height()/2) - (h/2);
    if(t < 0) t = 0;
    $("#w3foucs,#foucs_min").css({display:"block",position:"fixed"});
	$("#foucs_close").css({display:"block"});
    var l = ($(window).width()/2) - (w/2);
    if(l < 0) l = 0;
    $("#foucs_min").css({left: l-5+'px', top: t-5+'px'});
    w3foucs.css({left: l+'px', top: t+'px'});
}
</script>
    
﻿{wc:templates "mobile/index","footer"}

<script language="javascript" type="text/javascript">
  var Path = new Object();
  Path.Skin="{G_TEMPLATES_STYLE}";  
  Path.Webpath = "{WEB_PATH}";
  Path.imgpath = "{G_WEB_PATH}/statics";
var Base={head:document.getElementsByTagName("head")[0]||document.documentElement,Myload:function(B,A){this.done=false;B.onload=B.onreadystatechange=function(){if(!this.done&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){this.done=true;A();B.onload=B.onreadystatechange=null;if(this.head&&B.parentNode){this.head.removeChild(B)}}}},getScript:function(A,C){var B=function(){};if(C!=undefined){B=C}var D=document.createElement("script");D.setAttribute("language","javascript");D.setAttribute("type","text/javascript");D.setAttribute("src",A);this.head.appendChild(D);this.Myload(D,B)},getStyle:function(A,B){var B=function(){};if(callBack!=undefined){B=callBack}var C=document.createElement("link");C.setAttribute("type","text/css");C.setAttribute("rel","stylesheet");C.setAttribute("href",A);this.head.appendChild(C);this.Myload(C,B)}}
function GetVerNum(){var D=new Date();return D.getFullYear().toString().substring(2,4)+'.'+(D.getMonth()+1)+'.'+D.getDate()+'.'+D.getHours()+'.'+(D.getMinutes()<10?'0':D.getMinutes().toString().substring(0,1))}
Base.getScript('{G_TEMPLATES_JS}/mobile/Bottom.js?v='+GetVerNum());
</script>
 
</div>
</body>
</html>