汪总电商平台
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.
wangzong/runtime/temp/6e2541527b0bb4bccdf60f23f93...

501 lines
16 KiB

2 weeks ago
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:81:"/www/wwwroot/stationery/public/../application/admin/view/wanlshop/page/style.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">
<style type="text/css">
.panel-body .item {
background-color: #f1f4f6;
border: 1px solid #e7e7eb;
padding: 15px;
}
.panel-body .item .item-head {
position: relative;
padding: 0;
border-bottom: 1px solid #e7e7eb;
}
.panel-body .item .item-head .item-delete {
position: absolute;
top: 0;
right: 0;
}
.panel-body .item .item-body {
margin-top: 30px;
}
.panel-body .item .item-body dl {
position: relative;
margin: 10px 0;
}
.panel-body .item .item-body dl dt {
width: 90px;
height: 30px;
line-height: 30px;
text-align: right;
position: absolute;
vertical-align: middle;
top: 0;
left: 0;
bottom: 0;
display: block;
}
.panel-body .item .item-body dl dd {
position: relative;
display: block;
margin-left: 90px;
line-height: 30px;
}
.panel-body .item .item-body .input-box {
display: inline-block;
position: relative;
height: 30px;
line-height: 30px;
vertical-align: middle;
width: 278px;
font-size: 14px;
padding: 0 10px;
border: 1px solid #e7e7eb;
box-shadow: none;
border-radius: 0;
background-color: #fff;
}
.panel-body .item .item-body .input-box select {
width: 100%;
background-color: transparent;
border: 0;
outline: 0;
height: 30px;
}
.color {
-webkit-appearance: square-button;
width: 29px;
height: 31px;
background-color: #fff;
cursor: default;
border-width: 1px;
border-style: solid;
border-color: #d2d6de;
border-image: initial;
padding: 0;
}
.category{
display: flex;
margin-top: 10px;
}
.category .category_content{
flex: 1;
}
.category .phone {
position: relative;
width: 100%;
margin-right: 20px;
border-radius: 18px;
padding: 10px;
padding-top: 25px;
background-color: #d8e0e6;
}
.category .phone::after{
position: absolute;
content: '';
top: 10px;
left: 50%;
margin-left: -25px;
width: 50px;
height: 6px;
background-color: #f1f4f6;
border-radius: 10px;
}
.category .phone .main {
position: relative;
overflow: hidden;
border-radius: 10px;
background-color: #ffffff;
}
.category .phone .main .bg{
width: 100%;
}
.category .phone .main .bg img{
width: 100%;
}
[v-cloak] { display: none; }
</style>
<div class="panel panel-default panel-intro">
<div class="panel-heading">
<div class="panel-lead"><em>全局样式</em>客户端初始风格,也可以在节日、活动时修改</div>
<ul class="nav nav-tabs">
<li class="active"><a href="#category" data-toggle="tab">类目页样式</a></li>
<li><a href="#groups" data-toggle="tab">拼团栏目页样式</a></li>
<li><a href="#find" data-toggle="tab">发现页样式</a></li>
<li><a href="#cart" data-toggle="tab">购物车样式</a></li>
<li><a href="#user" data-toggle="tab">用户中心样式</a></li>
</ul>
</div>
<div class="panel-body">
<div id="myTabContent" class="tab-content">
<div class="tab-pane fade active in" id="category">
<div class="category" id="app" v-cloak>
<div class="col-sm-4">
<div class="phone">
<div class="main">
<div class="bg">
<img :src="'/assets/addons/wanlshop/img/page/category_style_'+couponSelected+'.jpg'">
</div>
</div>
</div>
</div>
<div class="col-sm-8">
<div class="category_content">
<form id="form-item" class="form-item" role="form" data-toggle="validator" method="POST" action="<?php echo url('wanlshop.client/edit'); ?>">
<div class="item">
<div class="item-head">
<h4 id="current-item-name">类目样式</h4>
</div>
<div class="item-body">
<dl>
<dt id="current-item-option">选择模板:</dt>
<dd>
<div class="input-box">
<select name="row[style][category_style]" v-model="couponSelected" @change="getCouponSelected">
<option :value="coupon.id" v-for="coupon in couponList">{{coupon.name}}</option>
</select>
</div>
</dd>
</dl>
</div>
</div>
<div style="margin-top: 18px;">
<button type="submit" class="btn btn-success btn-embossed"><?php echo __('保存样式'); ?></button>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="tab-pane fade" id="groups">
<div class="widget-body no-padding">
<form id="form-item" class="form-item" role="form" data-toggle="validator" method="POST" action="<?php echo url('wanlshop.client/edit'); ?>">
<table class="table table-striped">
<thead>
<tr>
<th width="15%">配置项</th>
<th width="85%"></th>
</tr>
</thead>
<tbody>
<tr>
<td>导航栏背景图</td>
<td>
<div class="row">
<div class="col-sm-8 col-xs-12">
<?php echo Form::image('row[style][groups_nav_image]', $row['groups_nav_image']); ?>
</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">
<input name="row[style][groups_nav_color]" type="color" value="<?php echo htmlentities($row['groups_nav_color'] ?? ''); ?>" class="color">
</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::select('row[style][groups_font_color]', ['dark'=>'深色(即文字颜色黑色)', 'light'=>'浅色(即文字颜色白色)'], $row['groups_font_color']); ?>
</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>
</tr>
</tfoot>
</table>
</form>
</div>
</div>
<div class="tab-pane fade" id="find">
<div class="widget-body no-padding">
<form id="form-item" class="form-item" role="form" data-toggle="validator" method="POST" action="<?php echo url('wanlshop.client/edit'); ?>">
<table class="table table-striped">
<thead>
<tr>
<th width="15%">配置项</th>
<th width="85%"></th>
</tr>
</thead>
<tbody>
<tr>
<td>导航条背景色</td>
<td>
<div class="row">
<div class="col-sm-8 col-xs-12">
<input name="row[style][find_nav_color]" type="color" value="<?php echo htmlentities($row['find_nav_color'] ?? ''); ?>" class="color">
</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::select('row[style][find_font_color]', ['dark'=>'深色(即文字颜色黑色)', 'light'=>'浅色(即文字颜色白色)'], $row['find_font_color']); ?>
</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>
</tr>
</tfoot>
</table>
</form>
</div>
</div>
<div class="tab-pane fade" id="cart">
<div class="widget-body no-padding">
<form id="form-item" class="form-item" role="form" data-toggle="validator" method="POST" action="<?php echo url('wanlshop.client/edit'); ?>">
<table class="table table-striped">
<thead>
<tr>
<th width="15%">配置项</th>
<th width="85%"></th>
</tr>
</thead>
<tbody>
<tr>
<td>导航栏背景图</td>
<td>
<div class="row">
<div class="col-sm-8 col-xs-12">
<?php echo Form::image('row[style][cart_nav_image]', $row['cart_nav_image']); ?>
</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">
<input name="row[style][cart_nav_color]" type="color" value="<?php echo htmlentities($row['cart_nav_color'] ?? ''); ?>" class="color">
</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::select('row[style][cart_font_color]', ['dark'=>'深色(即文字颜色黑色)', 'light'=>'浅色(即文字颜色白色)'], $row['cart_font_color']); ?>
</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>
</tr>
</tfoot>
</table>
</form>
</div>
</div>
<div class="tab-pane fade" id="user">
<div class="widget-body no-padding">
<form id="form-item" class="form-item" role="form" data-toggle="validator" method="POST" action="<?php echo url('wanlshop.client/edit'); ?>">
<table class="table table-striped">
<thead>
<tr>
<th width="15%">配置项</th>
<th width="85%"></th>
</tr>
</thead>
<tbody>
<tr>
<td>导航栏背景图</td>
<td>
<div class="row">
<div class="col-sm-8 col-xs-12">
<?php echo Form::image('row[style][user_nav_image]', $row['user_nav_image']); ?>
</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">
<input name="row[style][user_nav_color]" type="color" value="<?php echo htmlentities($row['user_nav_color'] ?? ''); ?>" class="color">
</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::image('row[style][user_bg_image]', $row['user_bg_image']); ?>
</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">
<input name="row[style][user_bg_color]" type="color" value="<?php echo htmlentities($row['user_bg_color'] ?? ''); ?>" class="color">
</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::select('row[style][user_font_color]', ['dark'=>'深色(即文字颜色黑色)', 'light'=>'浅色(即文字颜色白色)'], $row['user_font_color']); ?>
</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>
</tr>
</tfoot>
</table>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</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>