修改模板文件

This commit is contained in:
Anyon 2021-01-05 11:35:58 +08:00
parent c7a44f86a6
commit e1ecd20a22
3 changed files with 11 additions and 21 deletions

View File

@ -2,7 +2,7 @@
{block name="button"}
<!--{if auth("options_test")}-->
<button data-modal="{:url('options_test')}" class='layui-btn layui-btn-sm layui-btn-primary'>微信授权测试</button>
<button data-modal="{:url('options_test')}" class='layui-btn layui-btn-sm layui-btn-primary' data-title="微信授权测试( 扫码 ">微信授权测试</button>
<!--{/if}-->
{/block}
@ -16,7 +16,7 @@
</div>
</div>
<div class="think-box-shadow margin-top-15">
<div class="padding-top-20" style="width:850px">
<div class="padding-top-20">
<div class="layui-anim layui-anim-fadein" data-type="api">{include file='config/options_form_api'}</div>
<div class="layui-anim layui-anim-fadein" data-type="thr">{include file='config/options_form_thr'}</div>
</div>

View File

@ -1,21 +1,11 @@
<div class='layui-card shadow-none margin-0'>
<div class="layui-card-body padding-40">
<div class="layui-bg-gray padding-20 border-radius-5">
<div class="margin-bottom-15">
<p class="font-w7 color-green">微信开放平台授权</p>
<p>JSSDK 签名测试需要在开放平台配置当前的授权域名:<a data-copy="{:request()->host()}">{:request()->host()}</a></p>
</div>
<div>
<p class="font-w7 color-green">公众号平台域名授权</p>
<p>网页授权及 JSSDK 签名都需要在公众号平台授权域名:<a data-copy="{:request()->host()}">{:request()->host()}</a></p>
</div>
</div>
<div class="text-center margin-top-20 test-qrcode-box">
<div class="inline-block padding-right-30 notselect">
<div class="text-center test-qrcode-box">
<div class="inline-block padding-right-40 notselect">
<img alt="img" class="notselect" data-tips-image src="{:url('wechat/api.test/oauthQrc')}">
<p class="text-center">OAUTH 网页授权</p>
</div>
<div class="inline-block">
<div class="inline-block padding-left-40">
<img alt="img" class="notselect" data-tips-image src="{:url('wechat/api.test/jssdkQrc')}">
<p class="text-center">JSSDK 接口签名</p>
</div>

View File

@ -16,17 +16,17 @@
</div>
</div>
<div class="text-center margin-top-20 test-qrcode-box">
<div class="inline-block padding-right-30">
<div class="inline-block padding-right-40">
<img alt="img" onerror="this.src='__ROOT__/static/theme/img/wechat/qrc_pay_error.jpg'" class="notselect" data-tips-image src="{:url('wechat/api.test/jsapiQrc')}">
<p class="text-center">JSAPI支付</p>
<p class="text-center">微信 JSAPI 支付</p>
</div>
<div class="inline-block padding-right-30">
<div class="inline-block padding-left-40 padding-right-40">
<img alt="img" onerror="this.src='__ROOT__/static/theme/img/wechat/qrc_pay_error.jpg'" class="notselect" data-tips-image src="{:url('wechat/api.test/scanOneQrc')}">
<p class="text-center">扫码支付①</p>
<p class="text-center">微信扫码支付①</p>
</div>
<div class="inline-block">
<div class="inline-block padding-left-40">
<img alt="img" onerror="this.src='__ROOT__/static/theme/img/wechat/qrc_pay_error.jpg'" class="notselect" data-tips-image src="{:url('wechat/api.test/scanTwoQrc')}">
<p class="text-center">扫码支付②</p>
<p class="text-center">微信扫码支付②</p>
</div>
</div>
</div>