You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
168 lines
7.1 KiB
168 lines
7.1 KiB
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:86:"/www/wwwroot/stationery/public/../application/admin/view/wanlshop/client/mpweixin.html";i:1731323822;s:66:"/www/wwwroot/stationery/application/admin/view/layout/default.html";i:1725591948;s:63:"/www/wwwroot/stationery/application/admin/view/common/meta.html";i:1725591948;s:65:"/www/wwwroot/stationery/application/admin/view/common/script.html";i:1725591948;}*/ ?>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
|
<meta name="renderer" content="webkit">
|
|
<meta name="referrer" content="never">
|
|
<meta name="robots" content="noindex, nofollow">
|
|
|
|
<link rel="shortcut icon" href="/assets/img/favicon.ico" />
|
|
<!-- Loading Bootstrap -->
|
|
<link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
|
|
|
|
<?php if(\think\Config::get('fastadmin.adminskin')): ?>
|
|
<link href="/assets/css/skins/<?php echo \think\Config::get('fastadmin.adminskin'); ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
|
|
<?php endif; ?>
|
|
|
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
|
|
<!--[if lt IE 9]>
|
|
<script src="/assets/js/html5shiv.js"></script>
|
|
<script src="/assets/js/respond.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript">
|
|
var require = {
|
|
config: <?php echo json_encode($config ?? ''); ?>
|
|
};
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
|
|
<div id="main" role="main">
|
|
<div class="tab-content tab-addtabs">
|
|
<div id="content">
|
|
<div class="row">
|
|
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
|
|
<section class="content-header hide">
|
|
<h1>
|
|
<?php echo __('Dashboard'); ?>
|
|
<small><?php echo __('Control panel'); ?></small>
|
|
</h1>
|
|
</section>
|
|
<?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav') && \think\Config::get('fastadmin.breadcrumb')): ?>
|
|
<!-- RIBBON -->
|
|
<div id="ribbon">
|
|
<ol class="breadcrumb pull-left">
|
|
<?php if($auth->check('dashboard')): ?>
|
|
<li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
|
|
<?php endif; ?>
|
|
</ol>
|
|
<ol class="breadcrumb pull-right">
|
|
<?php foreach($breadcrumb as $vo): ?>
|
|
<li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
|
|
<?php endforeach; ?>
|
|
</ol>
|
|
</div>
|
|
<!-- END RIBBON -->
|
|
<?php endif; ?>
|
|
<div class="content">
|
|
<div class="alert alert-success-light">
|
|
<i class="fa fa-warning"></i> 温馨提示:如不搭建【微信小程序】则不用配置此页,如要搭建请完善此页,点击【更新】后系统将更新客户端配置文件,更新完请在【客户端配置】重新生成源码导入HBuilder X
|
|
</div>
|
|
<div class="panel panel-default panel-intro">
|
|
<div class="panel-heading">
|
|
<div class="panel-lead"><em>微信小程序</em>用于微信小程序参数配置和一键本地打包微信小程序</div>
|
|
</div>
|
|
<div class="panel-body">
|
|
<div id="myTabContent" class="tab-content">
|
|
<div class="tab-pane fade active in" id="ini">
|
|
<div class="widget-body no-padding">
|
|
<form id="ini-form" class="edit-form form-horizontal" role="form" data-toggle="validator" method="POST" action="<?php echo url('wanlshop.client/edit'); ?>">
|
|
<?php echo token(); ?>
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th width="15%">配置项</th>
|
|
<th width="85%">参数</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>微信小程序AppID</td>
|
|
<td>
|
|
<div class="row">
|
|
<div class="col-sm-8 col-xs-12">
|
|
<?php echo Form::text('row[mp_weixin][appid]', $wanlshop['mp_weixin']['appid'], ['data-rule'=>'required','data-tip'=>'请填写微信小程序AppID','placeholder'=>'请在微信开发者工具中申请获取AppID']); ?>
|
|
</div>
|
|
<div class="col-sm-4"></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>微信小程序AppSecret</td>
|
|
<td>
|
|
<div class="row">
|
|
<div class="col-sm-8 col-xs-12">
|
|
<?php echo Form::text('row[mp_weixin][appsecret]', $wanlshop['mp_weixin']['appsecret'], ['data-rule'=>'required','data-tip'=>'请填写微信小程序AppSecret','placeholder'=>'请在微信开发者工具中申请获取AppSecret']); ?>
|
|
</div>
|
|
<div class="col-sm-4"></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>位置接口</td>
|
|
<td>
|
|
<div class="row">
|
|
<div class="col-sm-8 col-xs-12">
|
|
<?php echo Form::text('row[mp_weixin][scope_userLocation]', $wanlshop['mp_weixin']['scope_userLocation'], ['data-rule'=>'required','data-tip'=>'微信小程序权限配置位置接口','placeholder'=>'演示定位能力']); ?>
|
|
</div>
|
|
<div class="col-sm-4"></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<td></td>
|
|
<td>
|
|
<button type="submit" class="btn btn-success btn-embossed"><?php echo __('更新'); ?></button>
|
|
<button type="reset" class="btn btn-default btn-embossed">重置</button>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<style type="text/css">
|
|
@media (max-width: 375px) {
|
|
.edit-form tr td input {
|
|
width: 100%;
|
|
}
|
|
|
|
.edit-form tr th:first-child,
|
|
.edit-form tr td:first-child {
|
|
width: 20%;
|
|
}
|
|
|
|
.edit-form tr th:nth-last-of-type(-n+2),
|
|
.edit-form tr td:nth-last-of-type(-n+2) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.edit-form table>tbody>tr td a.btn-delcfg {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.edit-form table>tbody>tr:hover td a.btn-delcfg {
|
|
visibility: visible;
|
|
}
|
|
</style>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version'] ?? ''); ?>"></script>
|
|
</body>
|
|
</html>
|
|
|