<extend name="Public/base" /> <block name="css"> <link rel="stylesheet" type="text/css" href="__CSS__/admin_table.css" media="all"> <link rel="stylesheet" type="text/css" href="__STATIC__/webuploader/webuploader.css" media="all"> </block> <block name="body"> <script src="__STATIC__/layer/layer.js" type="text/javascript"></script> <script src="__STATIC__/layer/extend/layer.ext.js" type="text/javascript"></script> <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script> <script src="__STATIC__/md5.js" type="text/javascript" charset="utf-8"></script> <script type="text/javascript" src="__STATIC__/webuploader/webuploader.js"></script> <style> .tabcon1711 input[type=text].borderclear {border-color:transparent;width:500px;} .tabcon1711 input[type=text].bgcolor,.tabcon1711 textarea.bgcolor {background:#eaeaea;} .table_pic_list {width:500px;display:inline-block;} .table_pic_list .upload-pre-item {float:left;width:20%;border:none;} .table_pic_list .upload-pre-item img {width:88%;height:80px;text-align:left;} </style> <!-- 标签页导航 --> <div class="tab-wrap"> <div class="cf main-place top_nav_list navtab_list"> <ul class="tabnav1711 fr jstabnav"> <li data-tab="tab1" class="current"><a href="javascript:void(0);">商品信息</a></li> <li data-tab="tab2" ><a href="javascript:void(0);">用户信息</a></li> </ul> <h3 class="page_title">{$meta_title}</h3> <p class="description_text"></p> </div> <div class="tab-content tabcon1711"> <!-- 表单 --> <form id="form" action="{:U('edit')}" method="post" class="form-horizontal"> <!-- 基础 --> <div id="tab1" class="tab-pane in tab1"> <table border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td class="l">游戏信息:</td> <td class="r" > <input type="text" class="txt borderclear" value="{$data['game_name']}/{$data.server_name}/{$data.small_account}" readonly disabled> </td> </tr> <tr> <td class="l">售价:</td> <td class="r" > <input type="text" class="txt borderclear" value="{$data.price}" readonly disabled> </td> </tr> <tr> <td class="l">发布时间:</td> <td class="r" > <input type="text" class="txt borderclear" value="{$data.create_time|date='Y-m-d H:i:s',###}" readonly disabled> </td> </tr> <tr> <td class="l">商品标题:</td> <td class="r" > <input type="text" class="txt bgcolor" value="{$data.title}" readonly disabled> </td> </tr> <tr> <td class="l">商品描述:</td> <td class="r" > <textarea class="bgcolor" readonly disabled>{$data.content}</textarea> </td> </tr> <tr> <td class="l">二级密码:</td> <td class="r" > <input type="text" class="txt bgcolor" value="{$data.second_password}" readonly disabled> </td> </tr> <tr class="picbox"> <td class="l noticeinfo" >游戏截图</td> <td class="r"> <span class="table_pic_list"> <div class="upload-img-box"> <notempty name="data['screenshot']"> <volist name=":explode(',',$data['screenshot'])" id="vo"> <div class="upload-pre-item"> <span class="placeholder-graphic placeholder-graphic_screenshot"><img src="{$vo|get_cover='path'}"/></span> </div> </volist> </notempty> </div> </span> </td> </tr> </tbody> </table> </div> <div id="tab2" class="tab-pane tab2 "> <table border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td class="l">用户名:</td> <td class="r" > <input type="text" class="txt borderclear" value="{$user.account}" readonly disabled="disabled"> </td> </tr> <tr> <td class="l">绑定支付宝:</td> <td class="r" > <input type="text" class="txt " value="{$user.alipay}" readonly disabled="disabled"> </td> </tr> <tr> <td class="l">真实姓名:</td> <td class="r" > <input type="text" class="txt " value="{$user.real_name}" readonly disabled="disabled"> </td> </tr> </tbody> </table> </div> <div class="form-item cf"> <input type="hidden" name="id" value="{$data['id']}" /> <!-- <button class="submit_btn ajax-post " id="submit1" type="submit" target-form="form-horizontal"> 确定 </button> --> <a class="submit_btn " alt="返回上一页" title="返回上一页" href="{:U('lists',array('type'=>I('type',1)))}" > 返回 </a> </div> </form> </div> </div> <div class="common_settings"> <span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span> <form class="addShortcutIcon"> <input type="hidden" name="title" value="{$m_title}"> <input type="hidden" name="url" value="Merchandise/lists"> </form> <a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a> </div> </block> <block name="script"> <script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script> <script type="text/javascript"> //导航高亮 highlight_subnav('{:U('Merchandise/lists')}'); Think.setValue("game_type_id", {$data.game_type_id|default = 0}); Think.setValue("category", {$data.category|default = 0}); $('#submit').click(function(){ $('#form').submit(); }); $(function(){ showTab(); }); </script> </block>