mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改支付通道配置
This commit is contained in:
parent
7651a0686f
commit
9576519c82
@ -3,23 +3,25 @@
|
||||
{block name='content'}
|
||||
<form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
|
||||
<div class="layui-card-body padding-40">
|
||||
|
||||
<label class="layui-form-item relative block">
|
||||
<span class="color-green font-w7">支付名称</span>
|
||||
<span class="color-desc margin-left-5">Payment Name</span>
|
||||
<input class="layui-input" required placeholder="请输入支付名称" name="name" value="{$vo.name|default=''}"/>
|
||||
<span class="help-block"><b>必填,</b>请填写分类名称(如:微信小程序支付),建议字符不要太长,一般4-6个汉字</span>
|
||||
</label>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<span class="color-green font-w7 label-required-prev">支付通道</span>
|
||||
<span class="color-desc margin-left-5">Payment Channel</span>
|
||||
<div class="layui-input">
|
||||
{empty name='vo.type'}{php}$vo['type'] = 'wechat_xcx';{/php}{/empty}
|
||||
{empty name='vo.type'}{php}$vo['type'] = 'wechat_jsapi';{/php}{/empty}
|
||||
{foreach $types as $k => $v}
|
||||
<label class="think-radio notselect">
|
||||
{if $vo.type eq $k}
|
||||
<input data-payment-type checked type="radio" name="type" value="{$k}" lay-ignore> {$v.name}
|
||||
<input data-payment-type checked type="radio" name="type" value="{$k}"> {$v.name}
|
||||
{else}
|
||||
<input data-payment-type type="radio" name="type" value="{$k}" lay-ignore> {$v.name}
|
||||
<input data-payment-type type="radio" name="type" value="{$k}"> {$v.name}
|
||||
{/if}
|
||||
</label>
|
||||
{/foreach}
|
||||
|
Loading…
x
Reference in New Issue
Block a user