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.
248 lines
8.5 KiB
248 lines
8.5 KiB
2 weeks ago
|
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:84:"/www/wwwroot/stationery/public/../application/admin/view/wanlshop/page/template.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-info-light">
|
||
|
<i class="fa fa-warning"></i> 使用技巧:除在模板管理中 新建模板,还可以在 页面管理 中将其他页面 发布为模板
|
||
|
</div>
|
||
|
<div class="panel panel-default panel-intro">
|
||
|
<div class="panel-heading">
|
||
|
<?php echo build_heading(null,FALSE); ?>
|
||
|
<ul class="nav nav-tabs" data-field="type">
|
||
|
<li class="active"><a href="#t-all" data-value="" data-toggle="tab"><?php echo __('All'); ?></a></li>
|
||
|
<?php if(is_array($typeList) || $typeList instanceof \think\Collection || $typeList instanceof \think\Paginator): if( count($typeList)==0 ) : echo "" ;else: foreach($typeList as $key=>$vo): ?>
|
||
|
<li><a href="#t-<?php echo $key; ?>" data-value="<?php echo $key; ?>" data-toggle="tab"><?php echo $vo; ?></a></li>
|
||
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
<div class="panel-body">
|
||
|
<div id="myTabContent" class="tab-content">
|
||
|
<div class="tab-pane fade active in" id="one">
|
||
|
<div class="widget-body no-padding">
|
||
|
<div id="toolbar" class="toolbar">
|
||
|
<a href="javascript:;" class="btn btn-primary btn-refresh" title="<?php echo __('Refresh'); ?>" ><i class="fa fa-refresh"></i> </a>
|
||
|
<a href="javascript:;"
|
||
|
data-area=["500px","400px"]
|
||
|
class="btn btn-success btn-add <?php echo $auth->check('wanlshop/page/add')?'':'hide'; ?>"
|
||
|
title="<?php echo __('新建模板'); ?>" ><i class="fa fa-plus"></i> <?php echo __('新建模板'); ?></a>
|
||
|
</div>
|
||
|
<table id="table" class="table table-striped table-hover" width="100%"> </table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<script id="itemtpl" type="text/html">
|
||
|
<div>
|
||
|
<div class="wanlshop_com">
|
||
|
<div class="main">
|
||
|
<div class="bg">
|
||
|
<% if(item.cover){ %>
|
||
|
<img src="<%=cdnurl(item.cover)%>">
|
||
|
<% }else{ %>
|
||
|
<img src="/api/wanlshop/common/thumbnail?text=<%=item.name%>">
|
||
|
<% } %>
|
||
|
</div>
|
||
|
<div class="mask"></div>
|
||
|
<div class="qrcode">
|
||
|
<img src="qrcode?size=150&url=<%=item.url%>">
|
||
|
</div>
|
||
|
<div class="operate">
|
||
|
<div class="text-center">
|
||
|
<div class="title">
|
||
|
<%=item.name%>
|
||
|
</div>
|
||
|
<div class="">
|
||
|
<a href="#" class="btn btn-xs1 btn-info btn-publish" data-id="<%=item.id%>"><i class="fa fa-telegram"></i> 使用</a>
|
||
|
<a href="#" class="btn btn-xs1 btn-primary btn-edit" data-id="<%=item.id%>"><i class="fa fa-pencil"></i> 编辑</a>
|
||
|
<a href="#" class="btn btn-xs1 btn-danger btn-del" data-id="<%=item.id%>"><i class="fa fa-times"></i> 删除</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="info">
|
||
|
<small class="label bg-blue">首页</small>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</script>
|
||
|
|
||
|
<style type="text/css">
|
||
|
.table .row{
|
||
|
margin: 0;
|
||
|
}
|
||
|
.wanlshop_com {
|
||
|
position: relative;
|
||
|
width: 260px;
|
||
|
margin-top: 10px;
|
||
|
margin-right: 15px;
|
||
|
margin-bottom: 5px;
|
||
|
border-radius: 18px;
|
||
|
padding: 10px;
|
||
|
padding-top: 25px;
|
||
|
background-color: #f2f2f2;
|
||
|
transition: transform .2s ease-out
|
||
|
}
|
||
|
.wanlshop_com::after{
|
||
|
position: absolute;
|
||
|
content: '';
|
||
|
top: 10px;
|
||
|
left: 50%;
|
||
|
margin-left: -25px;
|
||
|
width: 50px;
|
||
|
height: 6px;
|
||
|
background-color: #e0e0e0;
|
||
|
border-radius: 10px;
|
||
|
}
|
||
|
.wanlshop_com:hover{
|
||
|
transform: translate(0,-10px)
|
||
|
}
|
||
|
.wanlshop_com .main {
|
||
|
position: relative;
|
||
|
overflow: hidden;
|
||
|
border-radius: 10px;
|
||
|
background-color: #ffffff;
|
||
|
}
|
||
|
.wanlshop_com .main .bg{
|
||
|
width: 100%;
|
||
|
}
|
||
|
.wanlshop_com .main .bg img{
|
||
|
width: 100%;
|
||
|
min-height: 400px;
|
||
|
}
|
||
|
.wanlshop_com .main .mask{
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
z-index: 2;
|
||
|
}
|
||
|
|
||
|
.wanlshop_com .main:hover .mask
|
||
|
{
|
||
|
background-color: rgba(0,0,0,.6);
|
||
|
}
|
||
|
|
||
|
.wanlshop_com .main:hover .qrcode {
|
||
|
top: 56px
|
||
|
}
|
||
|
.wanlshop_com .main .qrcode {
|
||
|
position: absolute;
|
||
|
left: 50%;
|
||
|
margin-left: -70px;
|
||
|
width: 140px;
|
||
|
height: 140px;
|
||
|
border-radius: 3px;
|
||
|
background: #fff;
|
||
|
top: -140px;
|
||
|
z-index: 5;
|
||
|
overflow: hidden;
|
||
|
transform-origin: center center;
|
||
|
transform: scale(0.9109);
|
||
|
transition: top .3s
|
||
|
}
|
||
|
.wanlshop_com .main .qrcode img {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
.wanlshop_com .main:hover .operate{
|
||
|
display: flex;
|
||
|
}
|
||
|
.wanlshop_com .main .operate{
|
||
|
position: absolute;
|
||
|
top: 200px;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
display: none;
|
||
|
justify-content: center;
|
||
|
z-index: 3;
|
||
|
}
|
||
|
.wanlshop_com .main .operate .btn + .btn{
|
||
|
margin-left: 5px;
|
||
|
}
|
||
|
.wanlshop_com .main .operate .title{
|
||
|
margin-bottom: 12px;
|
||
|
font-size: 14px;
|
||
|
color: #ffffff;
|
||
|
}
|
||
|
|
||
|
|
||
|
.wanlshop_com .main .info{
|
||
|
position: absolute;
|
||
|
top: 10px;
|
||
|
left: 10px;
|
||
|
}
|
||
|
.wanlshop_com .main:hover .info{
|
||
|
display: none;
|
||
|
}
|
||
|
</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>
|