1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <form id="form" action="{:url('store.group/edit')}">
- <input type="hidden" name="id" value="{$info.id}"/>
- <input type="hidden" name="face" value="{$info.face}" id="picture" />
- <table class="formtable">
- <th>商圈圏主:</th>
- <td>
- <input readonly="readonly" id="manage_uid" class="readonly input w100" type="text" name="uid" value="{$info.uid}"/>
- <button url="{:url('store.index/selectStore',['input' =>'manage_uid','select_uid' => 1])}" type="button" class="selectPopup button"><i class="iconfont icon-my_icon"></i>选择好店</button>
- </td>
- <tr><th>商圏名称:</th><td><input class="input" datatype="*" type="text" name="title" value="{$info.title}" /></td></tr>
- <tr><th></th>
- <td>
- <div class="img-review select_img" url="{:url("system/passport.common/upload")}">{if $info.face}<img src="{$info.face}">{/if}</div>
- </td>
- </tr>
- <tr><th>商圏简介:</th><td><textarea class="textarea w300 h80" datatype="*" type="text" name="content"/>{$info.content}</textarea></td></tr>
- <tr>
- <th></th>
- <td>
- <input type="submit" value="确定" class="button button-blue submit" />
- <input type="reset" value="重置" class="button"/>
- </td>
- </tr>
- </table>
- </div>
- </form>
- <script type="text/javascript">
- Do('base','layer','form',function(){
- $('#form').isForm();
- $(".selectPopup").win();
- $(".select_img").win();
- })
- function setState(store){
- $("#manage_uid").val(store.id);
- }
- //添加图片
- function setImg(show_src){
- $("#picture").val(show_src);
- $(".img-review").html('<img src="'+show_src+'" style="max-width:400px">');
- }
- </script>
|