57 lines
2.1 KiB
HTML
Executable File
57 lines
2.1 KiB
HTML
Executable File
{extend name="base" /}
|
|
{block name="js"}
|
|
<script src="__ADMIN__/goodsconsult/goodsconsult.js?v={$v}" type="text/javascript"></script>
|
|
{/block}
|
|
{block name="main"}
|
|
<form id="goodsconsultForm" autocomplete="off">
|
|
<table class='wst-form wst-box-top'>
|
|
<tr>
|
|
<th width='150'>商品:</th>
|
|
<td>
|
|
<img src='__IMGURL__/{$data["goodsImg"]}' width='50' style="float:left;" />
|
|
<p style="float:left;height:50px;line-height:25px;width:245px;overflow:hidden;margin-left:5px;">{$data['goodsName']}</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>用户:</th>
|
|
<td>
|
|
{if($data['loginName']!='')}
|
|
{$data['loginName']}
|
|
{else /}
|
|
游客
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>状态:</th>
|
|
<td>
|
|
<label><input type="radio" class="ipt" id="isShow" name="isShow" value="1" <?=$data['isShow']==1?'checked':'';?> />显示</label>
|
|
<label><input type="radio" class="ipt" id="isShow" name="isShow" value="0" <?=$data['isShow']==0?'checked':'';?> />隐藏</label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>咨询内容:</th>
|
|
<td>
|
|
<textarea style="width:300px;height:100px" id="consultContent" name="consultContent" class="ipt">{$data['consultContent']}</textarea>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>回复内容:</th>
|
|
<td>
|
|
<textarea style="width:300px;height:100px" id="reply" name="reply" class="ipt">{$data['reply']}</textarea>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan='2' align='center' class='wst-bottombar'>
|
|
<input type="hidden" name="id" id="id" class="ipt" value="{$data['id']+0}" />
|
|
<button type="submit" class='btn btn-primary btn-mright'><i class="fa fa-check"></i>提交</button>
|
|
<button type="button" onclick="javascript:history.go(-1)" class='btn'><i class="fa fa-angle-double-left"></i>返回</button>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<script>
|
|
$(function(){editInit();})
|
|
</script>
|
|
{/block} |