You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

152 lines
5.8 KiB
HTML

<extend name="Public/base"/>
<block name="body">
<div class="cf main-place top_nav_list navtab_list">
{:W('Index/navigation',array('value'=>'Site/app'))}
<h3 class="page_title">支付配置</h3>
<p class="description_text"></p>
</div>
<div class="tab-wrap">
<div class="tab_nav stabnav17112 jstabnav">
<ul>
<li data-tab="tab1" class="current"><a href="javascript:void(0);" >微信(APP)</a></li>
<li data-tab="tab3"><a href="javascript:void(0);" >威富通</a></li>
</ul>
</div>
<div class="tab-content tabcon1711 tabcon17112">
<div id="tab1" class="tab-pane in tab1">
<form action="{:U('saveTool')}" method="post" class="form-horizontal wei_xin_apps form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">商户号</td>
<td class="r table_radio">
<input name="config[partner]" type="text" value="{$wei_xin_apps['partner']}" class="">
<span class="notice-text">微信商户号</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">APPID</td>
<td class="r table_radio">
<input name="config[email]" type="text" value="{$wei_xin_apps['email']}" class="">
<span class="notice-text">绑定支付的APPID</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">密钥key</td>
<td class="r table_radio">
<input name="config[key]" type="text" value="{$wei_xin_apps['key']}" class="">
<span class="notice-text">微信秘钥</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">启用状态</td>
<td class="r table_radio">
<span class="form_radio">
<label><input type="radio" name="status" value="0" <eq name="wei_xin_apps_data['status']" value="0">checked="checked"</eq>> 禁用</label>
<label><input type="radio" name="status" value="1" <eq name="wei_xin_apps_data['status']" value="1">checked="checked"</eq>> 启用
</label></span>
<span class="notice-text">微信开启状态</span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="wei_xin_apps">
</form>
<div class="form-item cf">
<button class="submit_btn ajax-post mlspacing" id="submit" type="submit" target-form="wei_xin_apps">
保存
</button>
<a class="submit_btn " alt="返回上一页" title="返回上一页" href="javascript:window.history.back();" >
返回
</a>
</div>
</div>
</div>
<div class="tab-content tabcon1711 tabcon17112">
<div id="tab3" class="tab-pane tab3">
<form action="{:U('saveTool')}" method="post" class="form-horizontal weixin_app form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">商户号</td>
<td class="r table_radio">
<input name="config[partner]" type="text" value="{$weixin_app['partner']}" class="">
<span class="notice-text">威富通商户号</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">密钥key</td>
<td class="r table_radio">
<input name="config[key]" type="text" value="{$weixin_app['key']}" class="">
<span class="notice-text">秘钥</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">启用状态</td>
<td class="r table_radio">
<span class="form_radio">
<label><input type="radio" name="status" value="0" <eq name="weixin_app_data['status']" value="0">checked="checked"</eq>> 禁用</label>
<label><input type="radio" name="status" value="1" <eq name="weixin_app_data['status']" value="1">checked="checked"</eq>> 启用
</label></span>
<span class="notice-text">开启状态</span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="weixin_app">
</form>
<div class="form-item cf">
<button class="submit_btn ajax-post mlspacing" id="submit" type="submit" target-form="weixin_app">
保存
</button>
<a class="submit_btn " alt="返回上一页" title="返回上一页" href="javascript:window.history.back();" >
返回
</a>
</div>
</div>
</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="Site/app">
</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">
//导航高亮
highlight_subnav('{:U('Site/app')}');
$(function(){
//支持tab
showTab();
})
</script>
</block>