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.
zhishifufei_php/application/merchant/view/index/index.php

271 lines
14 KiB

10 months ago
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<title>{$Auth_site_name}讲师管理系统</title>
<!--[if lt IE 9]>
<meta http-equiv="refresh" content="0;ie.html" />
<![endif]-->
<link rel="shortcut icon" href="/favicon.ico">
<link href="{__FRAME_PATH}css/bootstrap.min.css" rel="stylesheet">
<link href="{__FRAME_PATH}css/font-awesome.min.css" rel="stylesheet">
<link href="{__FRAME_PATH}css/animate.min.css" rel="stylesheet">
<link href="{__FRAME_PATH}css/style.min.css" rel="stylesheet">
<style>
.swal2-container {
z-index: 999999999 !important;
}
.footer a {
text-decoration: none;
color: #333333;
}
</style>
</head>
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
<div id="wrapper">
<!--左侧导航开始-->
<nav class="navbar-default navbar-static-side" role="navigation">
<div class="nav-close"><i class="fa fa-times-circle"></i>
</div>
<div class="sidebar-collapse">
<ul class="nav" id="side-menu">
<li class="nav-header">
<div class="dropdown profile-element admin_open">
<span>
<img alt="image" class="imgbox" src="{$site_logo}" onerror="javascript:this.src='{__ADMIN_PATH}images/admin_logo.png';" />
</span>
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<span class="clear" style="margin-top: 20px;">
<span class="block m-t-xs"><strong class="font-bold">{$_admin['real_name']}</strong></span>
<span class="text-muted text-xs block">{$role_name.role_name ? $role_name.role_name : '管理员'}<b class="caret"></b></span>
</span>
</a>
<ul class="dropdown-menu animated fadeInRight m-t-xs">
<li><a class="J_menuItem admin_close" href="{:Url('merchant.merchantAdmin/admin_info')}">个人资料</a>
</li>
<li class="divider"></li>
<li><a href="{:Url('Login/logout')}">安全退出</a>
</li>
</ul>
</div>
</li>
<li>
<a href="{:Url('Index/index')}"><i class="fa fa-bank"></i> <span class="nav-label">概况总览</span></a>
</li>
<!-- 菜单 -->
{volist name="menuList" id="menu"}
<?php if(isset($menu['child']) && count($menu['child']) > 0){ ?>
<li>
<a href="#"><i class="fa fa-{$menu.icon}"></i> <span class="nav-label">{$menu.menu_name}</span><span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
{volist name="menu.child" id="child"}
<li>
<?php if(isset($child['child']) && count($child['child']) > 0){ ?>
<a href="#"><i class="fa fa-{$child.icon}"></i>{$child.menu_name}<span class="fa arrow"></span></a>
<ul class="nav nav-third-level">
{volist name="child.child" id="song"}
<li>
<?php if(isset($song['child']) && count($song['child']) > 0){ ?>
<a href="#"><i class="fa fa-{$song.icon}"></i>{$song.menu_name}<span class="fa arrow"></span></a>
<ul class="nav nav-four-level">
{volist name="song.child" id="sun"}
<li><a class="J_menuItem" href="{$sun.url}"><i class="fa fa-{$sun.icon}"></i>{$sun.menu_name}</a></li>
{/volist}
</ul>
<?php }else{ ?>
<a class="J_menuItem" href="{$song.url}"><i class="fa fa-{$song.icon}"></i>{$song.menu_name}</a>
<?php } ?>
</li>
{/volist}
</ul>
<?php }else{ ?>
<a class="J_menuItem" href="{$child.url}"><i class="fa fa-{$child.icon}"></i>{$child.menu_name}</a>
<?php } ?>
</li>
{/volist}
</ul>
</li>
<?php } ?>
{/volist}
</ul>
</div>
</nav>
<!--左侧导航结束-->
<!--右侧部分开始-->
<div id="page-wrapper" class="gray-bg dashbard-1">
<div class="row content-tabs" @touchmove.prevent>
<button class="roll-nav roll-left navbar-minimalize" style="padding: 0;margin: 0;"><i class="fa fa-bars"></i></button>
<nav class="page-tabs J_menuTabs">
<div class="page-tabs-content">
<a href="javascript:;" class="active J_menuTab" data-id="{:Url('Index/main')}">首页</a>
</div>
</nav>
<button class="roll-nav roll-right J_tabLeft"><i class="fa fa-backward"></i></button>
<button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i></button>
<a href="javascript:void(0);" class="roll-nav roll-right J_tabReply" title="返回"><i class="fa fa-reply"></i> </a>
<a href="javascript:void(0);" class="roll-nav roll-right J_tabRefresh" title="刷新"><i class="fa fa-refresh"></i> </a>
<a href="javascript:void(0);" class="roll-nav roll-right J_tabFullScreen" title="全屏"><i class="fa fa-arrows"></i> </a>
<a href="javascript:void(0);" class="roll-nav roll-right J_notice" data-toggle="dropdown" aria-expanded="true" title="消息"><i class="fa fa-bell"></i></a>
<a href="javascript:void(0);" class="roll-nav roll-right J_tabSetting right-sidebar-toggle" title="更多"><i class="fa fa-tasks"></i></a>
<div class="btn-group roll-nav roll-right">
<button class="dropdown J_tabClose" data-toggle="dropdown">关闭<span class="caret"></span></button>
<ul role="menu" class="dropdown-menu dropdown-menu-right">
<li class="J_tabShowActive"><a>定位当前选项卡</a></li>
<li class="divider"></li>
<li class="J_tabCloseAll"><a>关闭全部选项卡</a></li>
<li class="J_tabCloseOther"><a>关闭其他选项卡</a></li>
</ul>
</div>
</div>
<!--内容展示模块-->
<div class="row J_mainContent" id="content-main">
<iframe class="J_iframe" name="iframe_crmeb_main" width="100%" height="100%" src="{:Url('Index/main')}" frameborder="0" data-id="{:Url('Index/main')}"
seamless></iframe>
</div>
<!--底部版权-->
<div class="footer" @touchmove.prevent>
<div class="pull-right">Copyright © 2022 <span id="copyright"></span> 版本:<a href="https://kn.tczxkj.com/" target="_blank">知识付费v3.2.0</a>
</div>
</div>
</div>
<!--右侧部分结束-->
<!--右侧边栏开始-->
<div id="right-sidebar">
<div class="sidebar-container">
<ul class="nav nav-tabs navs-3">
<li class="active">
<a data-toggle="tab" href="#tab-1">
<i class="fa fa-bell"></i>通知
</a>
</li>
<li class="">
<a data-toggle="tab" href="#tab-2">
<i class="fa fa-gear"></i> 设置
</a>
</li>
</ul>
<div class="tab-content">
<div id="tab-1" class="tab-pane active">
<div class="sidebar-title">
<h3><i class="fa fa-comments-o"></i> 最新通知</h3>
<small><i class="fa fa-tim"></i> 您当前有0条未读信息</small>
</div>
<div>
</div>
</div>
<div id="tab-2" class="tab-pane ">
<div class="sidebar-title">
<h3><i class="fa fa-comments-o"></i> 提示</h3>
<small><i class="fa fa-tim"></i> 你可以从这里选择和预览主题的布局和样式,这些设置会被保存在本地,下次打开的时候会直接应用这些设置。</small>
</div>
<div class="skin-setttings">
<div class="title">设置</div>
<div class="setings-item">
<span>收起左侧菜单</span>
<div class="switch">
<div class="onoffswitch">
<input type="checkbox" name="collapsemenu" class="onoffswitch-checkbox" id="collapsemenu">
<label class="onoffswitch-label" for="collapsemenu">
<span class="onoffswitch-inner"></span> <span class="onoffswitch-switch"></span>
</label>
</div>
</div>
</div>
<div class="setings-item">
<span>固定宽度</span>
<div class="switch">
<div class="onoffswitch">
<input type="checkbox" name="boxedlayout" class="onoffswitch-checkbox" id="boxedlayout">
<label class="onoffswitch-label" for="boxedlayout">
<span class="onoffswitch-inner"></span> <span class="onoffswitch-switch"></span>
</label>
</div>
</div>
</div>
<div class="setings-item">
<span>菜单点击刷新</span>
<div class="switch">
<div class="onoffswitch">
<input type="checkbox" name="refresh" class="onoffswitch-checkbox" id="refresh">
<label class="onoffswitch-label" for="refresh">
<span class="onoffswitch-inner"></span> <span class="onoffswitch-switch"></span>
</label>
</div>
</div>
</div>
<div class="title">皮肤选择</div>
<div class="setings-item default-skin nb">
<span class="skin-name ">
<a href="#" class="s-skin-0">
默认皮肤
</a>
</span>
</div>
<div class="setings-item blue-skin nb">
<span class="skin-name ">
<a href="#" class="s-skin-1">
蓝色主题
</a>
</span>
</div>
<div class="setings-item yellow-skin nb">
<span class="skin-name ">
<a href="#" class="s-skin-3">
黄色/紫色主题
</a>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<!--右侧边栏结束-->
</div>
<!--vue调用不能删除-->
<div id="vm"></div>
<script src="{__FRAME_PATH}js/jquery.min.js"></script>
<script src="{__FRAME_PATH}js/bootstrap.min.js"></script>
<script src="{__FRAME_PATH}js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="{__FRAME_PATH}js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="{__FRAME_PATH}js/plugins/layer/layer.min.js"></script>
<script src="{__FRAME_PATH}js/hplus.min.js"></script>
<script src="{__FRAME_PATH}js/contabs.min.js"></script>
<script src="{__FRAME_PATH}js/plugins/pace/pace.min.js"></script>
{include file="public/style"}
<script src="{__ADMIN_PATH}js/index.js"></script>
<script>
// 版权信息
$.ajax({
url: "{:url('admin/login/get_copyright')}",
type: 'GET',
dataType: 'json',
success: function (res) {
if (res.code === 200) {
$('#copyright').text(function () {
return res.data || 'CRMEB';
});
} else {
$('#copyright').text('CRMEB');
}
},
error: function () {
$('#copyright').text('CRMEB');
}
});
</script>
</body>
</html>