34 lines
1.3 KiB
HTML
Executable File
34 lines
1.3 KiB
HTML
Executable File
{extend name="default/base" /}
|
|
{block name="title"}品牌街 - {__block__}{/block}
|
|
{block name="css"}
|
|
<link rel="stylesheet" href="__WECHAT__/css/shops_list.css?v={$v}">
|
|
{/block}
|
|
{block name="header"}
|
|
{php}$Title = "品牌街"{/php}
|
|
{include file="default/header" /}
|
|
{/block}
|
|
{block name="main"}
|
|
<input type="hidden" name="" value="" id="currPage" autocomplete="off">
|
|
<input type="hidden" name="" value="" id="totalPage" autocomplete="off">
|
|
<section class="ui-container">
|
|
<ul class="" id="info-list"></ul>
|
|
<div class="wst-clear"></div>
|
|
</section>
|
|
<script id="list" type="text/html">
|
|
{{# for(var i=0; i<d.length; i++){ }}
|
|
<li class="wst-brands {{# if((i)%2==0){ }}left{{# }else{ }}right{{# } }}">
|
|
<div class="wst-brands_img">
|
|
<a href="javascript:void(0);" onclick="javascript:getGoodsList({{ d[i].brandId }});">
|
|
<img src="__ROOT__/{:WSTConf('CONF.goodsLogo')}" data-echo="__ROOT__/{{ d[i].brandImg }}" title="{{ d[i].brandName }}">
|
|
</a>
|
|
<a href="javascript:void(0);" onclick="javascript:getGoodsList({{ d[i].brandId }});">
|
|
<span class="ui-nowrap-flex">{{ d[i].brandName }}</span>
|
|
</a>
|
|
</div>
|
|
</li>
|
|
{{# } }}
|
|
</script>
|
|
{/block}
|
|
{block name="js"}
|
|
<script type='text/javascript' src='__WECHAT__/js/brands.js?v={$v}'></script>
|
|
{/block} |