<include file="public:top"/>
<yh:load type="js" href="__STATIC__/tqkwap/js/jquery.validate.js,__STATIC__/tqkwap/js/validate-methods.js,__STATIC__/tqkwap/js/messages_zh.min.js,__STATIC__/tqkwap/js/jquery.form.min.js,__STATIC__/tqkwap/js/preview.js" />
	<body>
		<include file="public:head"/>
		<!--wrap-->
		<div class="wrap">
			<div class="container cl">
				<include file="user:nav"/>
				<div class="mianbar">
					<div class="subnav pd-15">
						<div class="shai-detail">
							<img src="http://image.uc.cn/o/wemedia/s/2017/7f5ef74002fbdaf5f1143b6f0216d320x600x600x35.jpeg;,3,jpegx;3,700x.jpg" alt="" />
							<div class="shai-detail-info">
								<h4><img src="__STATIC__/tqkpc/images/taobao.png" class="mr-5" />福特翼虎 嘉年华 福克斯定速巡航 蓝牙开关 保证4S原装 支持验货</h4>
								<div class="pri cl">
									<h5 class="c-main"><em>￥</em>360.00</h5><span class="c-999">500.00</span>
								</div>
								<p class="c-999"> 店铺：广州千彩汽车用品</p>
							</div>
						</div>
						<div class="shai-entry pb-30">
							<h3>晒单详情</h3>
							<form action="" method="post" class="form form-horizontal" id="entry">
								<div class="row cl">
									<div class="col-sm-12 col-xs-12 text-c">
										<div class="bk-gray cl">
											<textarea class="textarea" placeholder="输入晒单内容文字，且至少要上传一张照片才能获得积分奖励哦" name="content"></textarea>
											<div class="uploadpic cl">
												<span class="btn-upload f-l">
												  <a href="javascript:void();"><img src="__STATIC__/tqkpc/images/uploadpic.png" id="input-image"/></a>
												  <input type="file" multiple name="pic" class="input-file">
												</span>
											</div>
										</div>
									</div>
								</div>
								<div class="row cl">
									<div class="col-sm-12 col-xs-12 text-c">
										<input type="submit" value="晒单" class="btn btn-secondary radius"/>
									</div>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
		<script type="text/javascript">
			$(function(){
				$('input[name=pic]').uploadPreview({ Img: "input-image", Width: 70, Height: 70 });
				$("#entry").validate({
					rules:{
						title:{
							required: true,
						},
					},
					messages:{
						title:{
							required: "请填写标题！",
						},
					},
				})
			});
		</script>
		<include file="public:foot"/>
	</body>
</html>
