mobliehtmpingdsingle.html 2.58 KB
<style>
	.goods_img{position: relative;}
	.goods_img .round_show{ width: 0.5rem; height:0.5rem; color: #fff; font-size: 0.18rem; line-height: 0.48rem; background:#E9030D; border-radius: 100%;position: absolute; top: 2px; right:3px;}
</style>
<div class="floor_body">
	<h2>
		<a href="/index.php/mobile/team/team_list/stoid/{$Think.request.stoid}.html">
	        <em></em>拼单
	        <div class="geng"></div>
	        <p class="clear"></p>
        </a>
    </h2>
<div id="pind{{no}}" class="scroll">
	<div class="bd">
		<ul class="seckill_ul">
			<assign name="fl" value="1" />
			<pind no="{{no}}"  idlist='{{idlist}}'  item="v"  limit='9'>
				<li>
					<a href="/index.php/Mobile/team/team_info/stoid/{$Think.request.stoid}/id/{$v.goods_id}.html">
					<div class="goods_img">
						<switch name="v.kttype" >
							<case value="1"><em class="round_show">商家</em></case>
							<case value="2"><em class="round_show">会员</em></case>
							<case value="3"><em class="round_show">阶梯</em></case>
						</switch>
					    <?php if($v[goods_num]> $v[buy_num]): ?>	
							<?php if($v[isyure]== 0): ?>
							   <span class="mengbanRed">火热进行</span>
							<?php else:?>
							   <span class="mengbanRed" style="background-color: #FDCB08;">正在预热</span>
							<?php endif; ?>
						<?php else:?>
                            <span class="mengbanRed" style="background-color: #FDCB08;">已拼完</span>
                        <?php endif; ?>						
						<img src="{:getimg($v.original_img,NOIMG,0,1)}" style="max-width: 100%;max-height: 100%;"/>
						<span class="dis_vm"></span>

					</div>
					<div class="goods_info">
						<p class="goods_name" style="color: #999;">{$v.title}</p>
						<p class="goods_price">
							<span class="price"><span>{$v.price}</span></span>
						</p>
						<p class="pd_price2"><span>{$v.ct_num}人团</span>
						  <switch name="v.kttype" >
							<case value="1"><span class="pd_gobtn">去参团</span></case>
							<case value="2"><span class="pd_gobtn">去开团</span></case>
							<case value="3"><span class="pd_gobtn">去开团</span></case>
						 </switch>
						</p>
					</div>
					</a>
				</li>
				<if condition="($fl++%3 eq 0) && ($fl elt count($pind_list{{no}}))">
		</ul>
		<ul class="seckill_ul">
			</if>
			</pind>
		</ul>
	</div>
	<div class="hd">
		<ul style="width: auto;"></ul>
	</div>
</div>
</div>
<script type="text/javascript">
	TouchSlide({
		slideCell: "#pind{{no}}",
		titCell: ".hd ul", //开启自动分页 autoPage:true ,此时设置 titCell 为导航元素包裹层
		effect: "leftLoop",
		autoPage: true //自动分页
	});
</script>