[更新]修改网站模板

This commit is contained in:
Anyon 2019-08-06 15:06:09 +08:00
parent 339af55918
commit a306015701
2 changed files with 18 additions and 19 deletions

View File

@ -2,25 +2,24 @@
{block name="content"}
<div>
<div class="layui-card layui-form">
<div class="layui-card-body think-box-shadow padding-bottom-5">
<div class="layui-form-item margin-bottom-0">
<label class="layui-form-label">Auth<br><span class="nowrap color-desc">授权方式</span></label>
<div class="layui-input-block">
{foreach ['api'=>'公众号平台API模式','thr'=>'第三方平台授权模式','test'=>'接口功能测试'] as $k=>$v}
<input type="radio" data-wechat-type="{$k}" name="wechat_type" value="{$k}" title="{$v}" lay-filter="wechat_type">
{/foreach}
<p class="help-block">请选择微信对接方式,其中第三方平台授权需要微信开放平台支持,同时需要搭建 SERVICE 服务!</p>
</div>
<div class="layui-card layui-form">
<div class="layui-card-body think-box-shadow padding-bottom-5">
<div class="layui-form-item">
<label class="layui-form-label">Auth<br><span class="nowrap color-desc">授权方式</span></label>
<div class="layui-input-block">
{foreach ['api'=>'公众号平台API模式','thr'=>'第三方平台授权模式','test'=>'接口功能测试'] as $k=>$v}
<input type="radio" data-wechat-type="{$k}" name="wechat_type" value="{$k}" title="{$v}" lay-filter="wechat_type">
{/foreach}
<p class="help-block">请选择微信对接方式,其中第三方平台授权需要微信开放平台支持,同时需要搭建 SERVICE 服务!</p>
</div>
</div>
</div>
<div class="think-box-shadow ">
<div class="layui-anim layui-anim-upbit" data-type="api">{include file='config/options_api'}</div>
<div class="layui-anim layui-anim-upbit" data-type="thr">{include file='config/options_thr'}</div>
<div class="layui-anim layui-anim-upbit" data-type="test">{include file='config/options_help'}</div>
</div>
</div>
<div class="think-box-shadow ">
<div class="layui-anim layui-anim-upbit" data-type="api">{include file='config/options_api'}</div>
<div class="layui-anim layui-anim-upbit" data-type="thr">{include file='config/options_thr'}</div>
<div class="layui-anim layui-anim-upbit" data-type="test">{include file='config/options_help'}</div>
</div>
{/block}

View File

@ -6,19 +6,19 @@
<div class="layui-card-body think-box-shadow">
<div class="padding-left-40 padding-right-30">
<label class="layui-form-item margin-top-20 block relative">
<span class="color-green margin-right-10">微信商户ID</span><span class="nowrap color-desc">MCH_ID</span>
<span class="color-green margin-right-10 font-w7">微信商户ID</span><span class="nowrap color-desc">MCH_ID</span>
<input name="wechat_mch_id" required placeholder="请输入微信商户ID必填" value="{:sysconf('wechat_mch_id')}" class="layui-input">
<p class="help-block">微信商户ID需要在微信商户平台获取MCH_ID 与 APPID 匹配</p>
</label>
<label class="layui-form-item margin-top-20 block relative">
<span class="color-green margin-right-10">微信商户KEY</span><span class="nowrap color-desc">MCH_KEY</span>
<span class="color-green margin-right-10 font-w7">微信商户KEY</span><span class="nowrap color-desc">MCH_KEY</span>
<input name="wechat_mch_key" placeholder="请输入微信商户密钥(必填)" maxlength="32" required value="{:sysconf('wechat_mch_key')}" class="layui-input">
<p class="help-block">微信商户密钥,需要在微信商户平台操作设置密码并获取密钥</p>
</label>
</div>
<div class="hr-line-dashed"></div>
<div class="padding-left-40 padding-right-30">
<span class="color-green margin-right-10">微信商户证书</span><span class="nowrap color-desc">MCH_CERT</span>
<span class="color-green margin-right-10 font-w7">微信商户证书</span><span class="nowrap color-desc">MCH_CERT</span>
<div class="">
{foreach ['p12'=>'上传 P12 证书','pem'=>'上传 PEM 证书'] as $k=>$v}
<input type="radio" data-pem-type="{$k}" name="wechat_mch_ssl_type" value="{$k}" title="{$v}" lay-filter="data-mch-type">