381 lines
23 KiB
PHP
381 lines
23 KiB
PHP
<?php /*a:2:{s:74:"/www/wwwroot/app.cxhxy.dev.1nww.com/app/store/view/food/setting/other.html";i:1700553054;s:67:"/www/wwwroot/app.cxhxy.dev.1nww.com/app/store/view/layout/food.html";i:1700553054;}*/ ?>
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8"/>
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
|
|
|
<title><?php echo htmlentities($app_name); ?>管理后台</title>
|
|
|
|
<meta name="author" content="<?php echo htmlentities($web['name']); ?>">
|
|
|
|
<meta name="keywords" content="<?php echo htmlentities($web['keywords']); ?>">
|
|
|
|
<meta name="description" content="<?php echo htmlentities($web['description']); ?>">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
|
|
<meta name="referrer" content="no-referrer-when-downgrade">
|
|
|
|
<meta http-equiv="Cache-Control" content="no-siteapp"/>
|
|
|
|
<link rel="icon" href="/favicon.png" type="image/x-icon">
|
|
|
|
<link rel="stylesheet" href="/assets/plugins/amazeui/amazeui.css?v=<?php echo htmlentities($version); ?>"/>
|
|
|
|
<link rel="stylesheet" href="/assets/css/hema.app.css?v=<?php echo htmlentities($version); ?>"/>
|
|
|
|
<link rel="stylesheet" href="/addons/upload/css/file.library.css?v=<?php echo htmlentities($version); ?>"/>
|
|
|
|
<script src="/assets/plugins/jquery/jquery.min.js?v=<?php echo htmlentities($version); ?>"></script>
|
|
|
|
<link rel="stylesheet" href="/assets/plugins/iconfont/iconfont.css?v=<?php echo htmlentities($version); ?>">
|
|
|
|
<script src="/assets/plugins/iconfont/iconfont.js?v=<?php echo htmlentities($version); ?>"></script>
|
|
|
|
<script>
|
|
|
|
BASE_URL = "<?php echo isset($base_url) ? $base_url : ''; ?>";
|
|
|
|
STORE_URL = "<?php echo isset($store_url) ? $store_url : ''; ?>";
|
|
|
|
APPLET_ID = "<?php echo isset($applet_id) ? $applet_id : 0; ?>";
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body data-type="">
|
|
|
|
<div class="am-g tpl-g">
|
|
|
|
<!-- 头部 -->
|
|
|
|
<header class="tpl-header">
|
|
|
|
<!-- 右侧内容 -->
|
|
|
|
<div class="tpl-header-fluid">
|
|
|
|
<!-- 侧边切换 -->
|
|
|
|
<div class="am-fl tpl-header-button switch-button">
|
|
|
|
<i class="iconfont iconzhedie"></i>
|
|
|
|
</div>
|
|
|
|
<!-- 刷新页面 -->
|
|
|
|
<div class="am-fl tpl-header-button refresh-button">
|
|
|
|
<i class="iconfont iconshuaxin"></i>
|
|
|
|
</div>
|
|
|
|
<!-- 超链接-->
|
|
|
|
<div class="am-fl tpl-header-navbar">
|
|
|
|
<ul>
|
|
|
|
<!-- 网站首页 -->
|
|
|
|
<li class="am-text-sm">
|
|
|
|
<a href="/">
|
|
|
|
<i class="iconfont iconshouye"></i> 网站首页
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<!-- 其它功能-->
|
|
|
|
<div class="am-fr tpl-header-navbar">
|
|
|
|
<ul>
|
|
|
|
<li class="am-text-sm">
|
|
|
|
<div class="am-dropdown" data-am-dropdown="{boundary: '.am-topbar'}">
|
|
|
|
<div class="am-topbar-btn am-dropdown-toggle" data-am-dropdown-toggle>
|
|
|
|
<img src="<?php echo htmlentities($user['user']['avatar']); ?>" />
|
|
|
|
<?php echo htmlentities($user['user']['user_name']); ?>
|
|
|
|
<span class="am-icon-caret-down"></span>
|
|
|
|
</div>
|
|
|
|
<ul class="am-dropdown-content">
|
|
|
|
<li><a href="/user">用户中心</a></li>
|
|
|
|
<li><a href="/store/<?php echo htmlentities($app_type); ?>.setting/renew">修改密码</a></li>
|
|
|
|
<li><a href="/store/passport/<?php echo htmlentities($logout); ?>?app_type=<?php echo htmlentities($app_type); ?>">安全退出</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<!-- 侧边导航栏 -->
|
|
|
|
<div class="left-sidebar dis-flex">
|
|
|
|
<!-- 一级菜单 -->
|
|
|
|
<ul class="sidebar-nav">
|
|
|
|
<li class="sidebar-nav-heading"><?php echo htmlentities($app_name); ?> <small>V<?php echo htmlentities((isset($version) && ($version !== '')?$version:'1.0.0')); ?></small></li>
|
|
|
|
<?php foreach($menus as $key => $item): ?>
|
|
|
|
<li class="sidebar-nav-link">
|
|
|
|
<a href="<?php echo isset($item['index'])?url($item['index']):'javascript:void(0);'; ?>"
|
|
|
|
class="<?php echo !empty($item['active']) ? 'active' : ''; ?>">
|
|
|
|
<?php if(isset($item['is_svg']) && $item['is_svg'] === true): ?>
|
|
|
|
<svg class="icon sidebar-nav-link-logo" aria-hidden="true">
|
|
|
|
<use xlink:href="#<?php echo htmlentities($item['icon']); ?>"></use>
|
|
|
|
</svg>
|
|
|
|
<?php else: ?>
|
|
|
|
<i class="iconfont sidebar-nav-link-logo <?= $item['icon'] ?>"
|
|
|
|
style="color:<?php echo isset($item['color'])?$item['color']:''; ?>;"></i>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php echo htmlentities($item['name']); ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</ul>
|
|
|
|
<!-- 子级菜单-->
|
|
|
|
<?php $second = isset($menus[$group]['submenu']) ? $menus[$group]['submenu'] : []; if(!empty($second)): ?>
|
|
|
|
<ul class="left-sidebar-second">
|
|
|
|
<li class="sidebar-second-title"><?php echo htmlentities($menus[$group]['name']); ?></li>
|
|
|
|
<li class="sidebar-second-item">
|
|
|
|
<?php foreach($second as $item): if(!isset($item['submenu'])): ?>
|
|
|
|
<!-- 二级菜单-->
|
|
|
|
<a href="<?= url($item['index']) ?>" class="<?= $item['active'] ? 'active' : '' ?>">
|
|
|
|
<?= $item['name']; ?>
|
|
|
|
</a>
|
|
|
|
<?php else: ?>
|
|
|
|
<!-- 三级菜单-->
|
|
|
|
<div class="sidebar-third-item">
|
|
|
|
<a href="javascript:void(0);"
|
|
|
|
class="sidebar-nav-sub-title <?php echo !empty($item['active']) ? 'active' : ''; ?>">
|
|
|
|
<i class="iconfont icongengduo"></i>
|
|
|
|
<?php echo htmlentities($item['name']); ?>
|
|
|
|
</a>
|
|
|
|
<ul class="sidebar-third-nav-sub">
|
|
|
|
<?php foreach($item['submenu'] as $third): ?>
|
|
|
|
<li>
|
|
|
|
<a class="<?php echo !empty($third['active']) ? 'active' : ''; ?>"
|
|
|
|
href="<?php echo url($third['index']); ?>">
|
|
|
|
<?php echo htmlentities($third['name']); ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|
|
|
|
<!-- 内容区域 start -->
|
|
|
|
<div class="tpl-content-wrapper <?php echo empty($second) ? 'no-sidebar-second' : ''; ?>">
|
|
|
|
|
|
<div class="row-content am-cf">
|
|
<div class="row">
|
|
<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
|
|
<div class="widget am-cf">
|
|
<form id="my-form" class="am-form tpl-form-line-form" method="post">
|
|
<fieldset>
|
|
<div class="widget-head am-cf">
|
|
<div class="widget-title am-fl">后付费设置</div>
|
|
</div>
|
|
<div class="widget-body">
|
|
<div class="am-form-group">
|
|
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">堂食点单 </label>
|
|
<div class="am-u-sm-9 am-u-end">
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[postpaid][10]" value="0" data-am-ucheck
|
|
<?php echo $model['postpaid']['10']==0 ? 'checked' : ''; ?> >
|
|
关闭
|
|
</label>
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[postpaid][10]" value="1" data-am-ucheck
|
|
<?php echo $model['postpaid']['10']==1 ? 'checked' : ''; ?> >
|
|
开启
|
|
</label>
|
|
<div class="help-block">
|
|
<small>是否可以餐后付款</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="am-form-group">
|
|
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">外卖点单 </label>
|
|
<div class="am-u-sm-9 am-u-end">
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[postpaid][20]" value="0" data-am-ucheck
|
|
<?php echo $model['postpaid']['20']==0 ? 'checked' : ''; ?> >
|
|
关闭
|
|
</label>
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[postpaid][20]" value="1" data-am-ucheck
|
|
<?php echo $model['postpaid']['20']==1 ? 'checked' : ''; ?> >
|
|
开启
|
|
</label>
|
|
<div class="help-block">
|
|
<small>是否可以骑手代收款</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="am-form-group">
|
|
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">自取点单 </label>
|
|
<div class="am-u-sm-9 am-u-end">
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[postpaid][30]" value="0" data-am-ucheck
|
|
<?php echo $model['postpaid']['30']==0 ? 'checked' : ''; ?> >
|
|
关闭
|
|
</label>
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[postpaid][30]" value="1" data-am-ucheck
|
|
<?php echo $model['postpaid']['30']==1 ? 'checked' : ''; ?> >
|
|
开启
|
|
</label>
|
|
<div class="help-block">
|
|
<small>是否可以取餐时付款</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="widget-head am-cf">
|
|
<div class="widget-title am-fl">商品设置</div>
|
|
</div>
|
|
<div class="widget-body">
|
|
<div class="am-form-group">
|
|
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">商品库存</label>
|
|
<div class="am-u-sm-9 am-u-end">
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[is_stock]" value="0" data-am-ucheck
|
|
<?php echo $model['is_stock']=='0' ? 'checked' : ''; ?> >
|
|
关闭
|
|
</label>
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[is_stock]" value="1" data-am-ucheck
|
|
<?php echo $model['is_stock']=='1' ? 'checked' : ''; ?> >
|
|
开启
|
|
</label>
|
|
<div class="help-block">
|
|
<small>开启后对库存数量进行检测,库存为零时无法销售</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="am-form-group">
|
|
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">售罄显示 </label>
|
|
<div class="am-u-sm-9 am-u-end">
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[goods][sell_out]" value="0" data-am-ucheck
|
|
<?php echo $model['goods']['sell_out']==0 ? 'checked' : ''; ?> >
|
|
关闭
|
|
</label>
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[goods][sell_out]" value="1" data-am-ucheck
|
|
<?php echo $model['goods']['sell_out']==1 ? 'checked' : ''; ?> >
|
|
开启
|
|
</label>
|
|
<div class="help-block">
|
|
<small>用户下单是否显示售罄商品。(库存开启有效)</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="am-form-group">
|
|
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">下架显示 </label>
|
|
<div class="am-u-sm-9 am-u-end">
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[goods][delisting]" value="0" data-am-ucheck
|
|
<?php echo $model['goods']['delisting']==0 ? 'checked' : ''; ?> >
|
|
关闭
|
|
</label>
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[goods][delisting]" value="1" data-am-ucheck
|
|
<?php echo $model['goods']['delisting']==1 ? 'checked' : ''; ?> >
|
|
开启
|
|
</label>
|
|
<div class="help-block">
|
|
<small>用户下单是否显示下架商品。</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="widget-head am-cf">
|
|
<div class="widget-title am-fl">其它设置</div>
|
|
</div>
|
|
<div class="widget-body">
|
|
<div class="am-form-group">
|
|
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">弹出门店列表</label>
|
|
<div class="am-u-sm-9 am-u-end">
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[open_shop]" value="0" data-am-ucheck
|
|
<?php echo $model['open_shop']=='0' ? 'checked' : ''; ?> >
|
|
关闭
|
|
</label>
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[open_shop]" value="1" data-am-ucheck
|
|
<?php echo $model['open_shop']=='1' ? 'checked' : ''; ?> >
|
|
开启
|
|
</label>
|
|
<div class="help-block">
|
|
<small>首次打开小程序点单页,是否弹出门店选择列表,关闭后默认选择最近的门店</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="am-form-group">
|
|
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">叫号服务</label>
|
|
<div class="am-u-sm-9 am-u-end">
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[is_calling]" value="0" data-am-ucheck
|
|
<?php echo $model['is_calling']=='0' ? 'checked' : ''; ?> >
|
|
关闭
|
|
</label>
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[is_calling]" value="1" data-am-ucheck
|
|
<?php echo $model['is_calling']=='1' ? 'checked' : ''; ?> >
|
|
开启
|
|
</label>
|
|
<div class="help-block">
|
|
<small>是否开启叫号服务,需对接叫号器,堂食扫码有效</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="am-form-group">
|
|
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">绑定手机号</label>
|
|
<div class="am-u-sm-9 am-u-end">
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[bind_phone]" value="0" data-am-ucheck
|
|
<?php echo $model['bind_phone']=='0' ? 'checked' : ''; ?> >
|
|
关闭
|
|
</label>
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[bind_phone]" value="1" data-am-ucheck
|
|
<?php echo $model['bind_phone']=='1' ? 'checked' : ''; ?> >
|
|
开启
|
|
</label>
|
|
<div class="help-block">
|
|
<small>用户在小程序进行登录操作时是否强制绑定手机号</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="am-form-group">
|
|
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">余额买单</label>
|
|
<div class="am-u-sm-9 am-u-end">
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[balance_pay]" value="0" data-am-ucheck
|
|
<?php echo $model['balance_pay']=='0' ? 'checked' : ''; ?> >
|
|
关闭
|
|
</label>
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[balance_pay]" value="1" data-am-ucheck
|
|
<?php echo $model['balance_pay']=='1' ? 'checked' : ''; ?> >
|
|
开启
|
|
</label>
|
|
<div class="help-block">
|
|
<small>扫买单码是否支持余额付款</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="am-form-group">
|
|
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">订单导出样式</label>
|
|
<div class="am-u-sm-9 am-u-end">
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[order_export]" value="col" data-am-ucheck
|
|
<?php echo $model['order_export']=='col' ? 'checked' : ''; ?> >
|
|
竖排显示
|
|
</label>
|
|
<label class="am-radio-inline">
|
|
<input type="radio" name="data[order_export]" value="row" data-am-ucheck
|
|
<?php echo $model['order_export']=='row' ? 'checked' : ''; ?> >
|
|
横排显示
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="am-form-group">
|
|
<div class="am-u-sm-9 am-u-sm-push-2 am-margin-top-lg">
|
|
<button type="submit" class="j-submit am-btn am-btn-secondary">提交
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
$(function () {
|
|
$('#my-form').formPost();
|
|
});
|
|
</script>
|
|
|
|
</div>
|
|
|
|
<!-- 内容区域 end -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<script src="/assets/plugins/layer/layer.js?v=<?php echo htmlentities($version); ?>"></script>
|
|
|
|
<script src="/assets/plugins/jquery/jquery.form.min.js?v=<?php echo htmlentities($version); ?>"></script>
|
|
|
|
<script src="/assets/plugins/amazeui/amazeui.min.js?v=<?php echo htmlentities($version); ?>"></script>
|
|
|
|
<script src="/assets/js/hema.app.js?v=<?php echo htmlentities($version); ?>"></script>
|
|
|
|
<script src="/assets/js/webuploader.html5only.js?v=<?php echo htmlentities($version); ?>"></script>
|
|
|
|
<script src="/assets/js/art-template.js?v=<?php echo htmlentities($version); ?>"></script>
|
|
|
|
<script src="/addons/upload/js/file.library.js?v=<?php echo htmlentities($version); ?>"></script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|
|
|