index.php 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta name="renderer" content="webkit">
  7. <meta http-equiv="Cache-Control" content="no-siteapp" />
  8. <title>微乐购管理系统</title>
  9. <!--[if lt IE 9]>
  10. <meta http-equiv="refresh" content="0;ie.html" />
  11. <![endif]-->
  12. <link rel="shortcut icon" href="/favicon.ico">
  13. <link href="{__FRAME_PATH}css/bootstrap.min.css" rel="stylesheet">
  14. <link href="{__FRAME_PATH}css/font-awesome.min.css" rel="stylesheet">
  15. <link href="{__FRAME_PATH}css/animate.min.css" rel="stylesheet">
  16. <link href="{__FRAME_PATH}css/style.min.css" rel="stylesheet">
  17. <style>
  18. .swal2-container{z-index: 100000000000!important;}
  19. </style>
  20. </head>
  21. <body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
  22. <div id="wrapper">
  23. <!--左侧导航开始-->
  24. <nav class="navbar-default navbar-static-side" role="navigation">
  25. <div class="nav-close"><i class="fa fa-times-circle"></i>
  26. </div>
  27. <div class="sidebar-collapse">
  28. <ul class="nav" id="side-menu">
  29. <li class="nav-header">
  30. <div class="dropdown profile-element admin_open">
  31. <!-- <span>-->
  32. <!-- <img alt="image" class="imgbox" src="{$site_logo}" onerror="javascript:this.src='{__ADMIN_PATH}images/admin_logo.png';"/>-->
  33. <!-- </span>-->
  34. <a data-toggle="dropdown" class="dropdown-toggle" href="#">
  35. <span class="clear" style="margin-top: 20px;">
  36. <span class="block m-t-xs"><strong class="font-bold">{$_admin['real_name']}</strong></span>
  37. <span class="text-muted text-xs block">{$role_name.role_name ? $role_name.role_name : '管理员'}<b class="caret"></b></span>
  38. </span>
  39. </a>
  40. <ul class="dropdown-menu animated fadeInRight m-t-xs">
  41. <li><a class="J_menuItem admin_close" href="{:Url('setting.systemAdmin/admin_info')}">个人资料</a>
  42. </li>
  43. <li><a class="admin_close" target="_blank" href="http://www.crmeb.com/">联系我们</a>
  44. </li>
  45. <li class="divider"></li>
  46. <li><a href="{:Url('login/logout')}">安全退出</a>
  47. </li>
  48. </ul>
  49. </div>
  50. <div class="logo-element">CB
  51. </div>
  52. </li>
  53. <!-- 菜单 -->
  54. {volist name="menuList" id="menu"}
  55. <?php if(isset($menu['child']) && count($menu['child']) > 0){ ?>
  56. <li>
  57. <a href="#"><i class="fa fa-{$menu.icon}"></i> <span class="nav-label">{$menu.menu_name}</span><span class="fa arrow"></span></a>
  58. <ul class="nav nav-second-level">
  59. {volist name="menu.child" id="child"}
  60. <li>
  61. <?php if(isset($child['child']) && count($child['child']) > 0){ ?>
  62. <a href="#"><i class="fa fa-{$child.icon}"></i>{$child.menu_name}<span class="fa arrow"></span></a>
  63. <ul class="nav nav-third-level">
  64. {volist name="child.child" id="song"}
  65. <li><a class="J_menuItem" href="{$song.url}"><i class="fa fa-{$song.icon}"></i> {$song.menu_name}</a></li>
  66. {/volist}
  67. </ul>
  68. <?php }else{ ?>
  69. <a class="J_menuItem" href="{$child.url}"><i class="fa fa-{$child.icon}"></i>{$child.menu_name}</a>
  70. <?php } ?>
  71. </li>
  72. {/volist}
  73. </ul>
  74. </li>
  75. <?php } ?>
  76. {/volist}
  77. </ul>
  78. </div>
  79. </nav>
  80. <!--左侧导航结束-->
  81. <!--右侧部分开始-->
  82. <div id="page-wrapper" class="gray-bg dashbard-1">
  83. <div class="row content-tabs" @touchmove.prevent >
  84. <button class="roll-nav roll-left navbar-minimalize" style="padding: 0;margin: 0;"><i class="fa fa-bars"></i></button>
  85. <nav class="page-tabs J_menuTabs">
  86. <div class="page-tabs-content">
  87. <a href="javascript:;" class="active J_menuTab" data-id="{:Url('Index/main')}">首页</a>
  88. </div>
  89. </nav>
  90. <button class="roll-nav roll-right J_tabLeft"><i class="fa fa-backward"></i></button>
  91. <button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i></button>
  92. <a href="javascript:void(0);" class="roll-nav roll-right J_tabReply" title="返回"><i class="fa fa-reply"></i> </a>
  93. <a href="javascript:void(0);" class="roll-nav roll-right J_tabRefresh" title="刷新"><i class="fa fa-refresh"></i> </a>
  94. <a href="javascript:void(0);" class="roll-nav roll-right J_tabFullScreen" title="全屏"><i class="fa fa-arrows"></i> </a>
  95. <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> <span class="badge badge-danger" id="msgcount">0</span></a>
  96. <ul class="dropdown-menu dropdown-alerts dropdown-menu-right" >
  97. <li>
  98. <a class="J_menuItem" href="{:Url('order.store_order/index')}">
  99. <div>
  100. <i class="fa fa-building-o"></i> 待发货
  101. <span class="pull-right text-muted small" id="ordernum">0个</span>
  102. </div>
  103. </a>
  104. </li>
  105. <li class="divider"></li>
  106. <li>
  107. <a class="J_menuItem" href="{:Url('store.store_product/index',array('type'=>5))}">
  108. <div>
  109. <i class="fa fa-pagelines"></i> 库存预警 <span class="pull-right text-muted small" id="inventory">0个</span>
  110. </div>
  111. </a>
  112. </li>
  113. <li class="divider"></li>
  114. <li>
  115. <a class="J_menuItem" href="{:Url('store.store_product_reply/index')}">
  116. <div>
  117. <i class="fa fa-comments-o"></i> 新评论 <span class="pull-right text-muted small" id="commentnum">0个</span>
  118. </div>
  119. </a>
  120. </li>
  121. <li class="divider"></li>
  122. <li>
  123. <a class="J_menuItem" href="{:Url('finance.user_extract/index')}">
  124. <div>
  125. <i class="fa fa-cny"></i> 申请提现 <span class="pull-right text-muted small" id="reflectnum">0个</span>
  126. </div>
  127. </a>
  128. </li>
  129. </ul>
  130. <a href="javascript:void(0);" class="roll-nav roll-right J_tabSetting right-sidebar-toggle" title="更多"><i class="fa fa-tasks"></i></a>
  131. <div class="btn-group roll-nav roll-right">
  132. <button class="dropdown J_tabClose" data-toggle="dropdown">关闭<span class="caret"></span>
  133. </button>
  134. <ul role="menu" class="dropdown-menu dropdown-menu-right">
  135. <li class="J_tabShowActive"><a>定位当前选项卡</a>
  136. </li>
  137. <li class="divider"></li>
  138. <li class="J_tabCloseAll"><a>关闭全部选项卡</a>
  139. </li>
  140. <li class="J_tabCloseOther"><a>关闭其他选项卡</a>
  141. </li>
  142. </ul>
  143. </div>
  144. </div>
  145. <!--内容展示模块-->
  146. {if ($roles == 1)}
  147. <div class="row J_mainContent" id="content-main">
  148. <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>
  149. </div>
  150. {else}
  151. <div class="row J_mainContent" id="content-main">
  152. <iframe class="J_iframe" name="iframe_crmeb_main" width="100%" height="100%" src="" frameborder="0" data-id="{:Url('Index/main')}" seamless></iframe>
  153. </div>
  154. {/if}
  155. <!--底部版权-->
  156. <!-- <div class="footer" @touchmove.prevent>-->
  157. <!-- <div class="pull-right">© 2017-2020 <a href="http://www.crmeb.com/" target="_blank">CRMEB</a>-->
  158. <!-- </div>-->
  159. <!-- </div>-->
  160. </div>
  161. <!--右侧部分结束-->
  162. <!--右侧边栏开始-->
  163. <div id="right-sidebar">
  164. <div class="sidebar-container">
  165. <ul class="nav nav-tabs navs-3">
  166. <!-- <li class="active">-->
  167. <!-- <a data-toggle="tab" href="#tab-1">-->
  168. <!-- <i class="fa fa-bell"></i>通知-->
  169. <!-- </a>-->
  170. <!-- </li>-->
  171. <li class="active">
  172. <a data-toggle="tab" href="#tab-1">
  173. <i class="fa fa-gear"></i> 设置
  174. </a>
  175. </li>
  176. </ul>
  177. <div class="tab-content">
  178. <!-- <div id="tab-1" class="tab-pane active">-->
  179. <!-- <div class="sidebar-title">-->
  180. <!-- <h3><i class="fa fa-comments-o"></i> 最新通知</h3>-->
  181. <!-- <small><i class="fa fa-tim"></i> 您当前有0条未读信息</small>-->
  182. <!-- </div>-->
  183. <!-- <div>-->
  184. <!-- </div>-->
  185. <!-- </div>-->
  186. <div id="tab-1" class="tab-pane active">
  187. <div class="sidebar-title">
  188. <h3><i class="fa fa-comments-o"></i> 提示</h3>
  189. <small><i class="fa fa-tim"></i> 你可以从这里选择和预览主题的布局和样式,这些设置会被保存在本地,下次打开的时候会直接应用这些设置。</small>
  190. </div>
  191. <div class="skin-setttings">
  192. <div class="title">设置</div>
  193. <div class="setings-item">
  194. <span>收起左侧菜单</span>
  195. <div class="switch">
  196. <div class="onoffswitch">
  197. <input type="checkbox" name="collapsemenu" class="onoffswitch-checkbox" id="collapsemenu">
  198. <label class="onoffswitch-label" for="collapsemenu">
  199. <span class="onoffswitch-inner"></span> <span class="onoffswitch-switch"></span>
  200. </label>
  201. </div>
  202. </div>
  203. </div>
  204. <div class="setings-item">
  205. <span>固定宽度</span>
  206. <div class="switch">
  207. <div class="onoffswitch">
  208. <input type="checkbox" name="boxedlayout" class="onoffswitch-checkbox" id="boxedlayout">
  209. <label class="onoffswitch-label" for="boxedlayout">
  210. <span class="onoffswitch-inner"></span> <span class="onoffswitch-switch"></span>
  211. </label>
  212. </div>
  213. </div>
  214. </div>
  215. <div class="setings-item">
  216. <span>菜单点击刷新</span>
  217. <div class="switch">
  218. <div class="onoffswitch">
  219. <input type="checkbox" name="refresh" class="onoffswitch-checkbox" id="refresh">
  220. <label class="onoffswitch-label" for="refresh">
  221. <span class="onoffswitch-inner"></span> <span class="onoffswitch-switch"></span>
  222. </label>
  223. </div>
  224. </div>
  225. </div>
  226. <div class="title">皮肤选择</div>
  227. <div class="setings-item default-skin nb">
  228. <span class="skin-name ">
  229. <a href="#" class="s-skin-0">
  230. 默认皮肤
  231. </a>
  232. </span>
  233. </div>
  234. <div class="setings-item blue-skin nb">
  235. <span class="skin-name ">
  236. <a href="#" class="s-skin-1">
  237. 蓝色主题
  238. </a>
  239. </span>
  240. </div>
  241. <div class="setings-item yellow-skin nb">
  242. <span class="skin-name ">
  243. <a href="#" class="s-skin-3">
  244. 黄色/紫色主题
  245. </a>
  246. </span>
  247. </div>
  248. </div>
  249. </div>
  250. </div>
  251. </div>
  252. </div>
  253. <!--右侧边栏结束-->
  254. </div>
  255. <!--vue调用不能删除-->
  256. <div id="vm"></div>
  257. <script src="{__FRAME_PATH}js/jquery.min.js"></script>
  258. <script src="{__FRAME_PATH}js/bootstrap.min.js"></script>
  259. <script src="{__STATIC_PATH}plug/helper.js"></script>
  260. <script src="{__FRAME_PATH}js/plugins/metisMenu/jquery.metisMenu.js"></script>
  261. <script src="{__FRAME_PATH}js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
  262. <script src="{__FRAME_PATH}js/plugins/layer/layer.min.js"></script>
  263. <script src="{__FRAME_PATH}js/hplus.min.js"></script>
  264. <script src="{__FRAME_PATH}js/contabs.min.js"></script>
  265. <script src="{__FRAME_PATH}js/plugins/pace/pace.min.js"></script>
  266. {include file="public/style"}
  267. <script>
  268. window.newOrderAudioLink= '{$new_order_audio_link}';
  269. window.workermanPort = '{$workermanPort}';
  270. </script>
  271. <script src="{__FRAME_PATH}js/index.js"></script>
  272. </body>
  273. </html>