You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
59
hyhproject/mobile2/view/default/goodsconsult/list.html
Executable file
59
hyhproject/mobile2/view/default/goodsconsult/list.html
Executable file
@ -0,0 +1,59 @@
|
||||
{extend name="default/base" /}
|
||||
{block name="title"}商品咨询 - {__block__}{/block}
|
||||
{block name="css"}
|
||||
<link rel="stylesheet" href="__MOBILE__/css/consult.css?v={$v}">
|
||||
{/block}
|
||||
{block name="header"}
|
||||
<div id="info_list">
|
||||
<header style="background:#ffffff;" class="ui-header ui-header-positive ui-border-b wst-header">
|
||||
<i class="ui-icon-return" onclick="history.back()"></i><h1>商品咨询</h1>
|
||||
<div class="consult" onclick="consult()"></div>
|
||||
</header>
|
||||
{/block}
|
||||
{block name="main"}
|
||||
<input type="hidden" name="goodsId" value="{$goodsId}" id="goodsId" autocomplete="off">
|
||||
|
||||
<input type="hidden" name="" value="" id="currPage" autocomplete="off">
|
||||
<input type="hidden" name="" value="" id="totalPage" autocomplete="off">
|
||||
|
||||
<script type="text/html" id="gcList">
|
||||
{{# for(var i=0;i<d.length;i++){ }}
|
||||
<li>
|
||||
<p class="gc-item-tit">
|
||||
<span>{{(WST.blank(d[i].loginName)=='')?'游客':d[i].loginName}}</span>
|
||||
<span class="item-time">{{d[i].createTime}}</span>
|
||||
</p>
|
||||
<div class="question-box cf">
|
||||
<span class="question-pic"></span>
|
||||
<div class="question-content">
|
||||
<span>{{d[i].consultContent}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wst-clear"></div>
|
||||
{{# if(WST.blank(d[i].reply)!=''){ }}
|
||||
<div class="question-box cf">
|
||||
<span class="question-pic answer-pic"></span>
|
||||
<div class="question-content answer-content">
|
||||
<span>{{d[i].reply}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wst-clear"></div>
|
||||
{{# } }}
|
||||
</li>
|
||||
{{# } }}
|
||||
</script>
|
||||
<section class="ui-container" id="newsListBox">
|
||||
<div class="gcListBox">
|
||||
<ul class="gcList" id="_gcList">
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
{/block}
|
||||
{block name="js"}
|
||||
<script>
|
||||
$(function(){consultListInit()});
|
||||
</script>
|
||||
<script type='text/javascript' src='__MOBILE__/js/jquery.min.js'></script>
|
||||
<script type='text/javascript' src='__MOBILE__/goodsconsult/consult.js?v={$v}'></script>
|
||||
{/block}
|
Reference in New Issue
Block a user