zhangguidong il y a 2 ans
Parent
commit
84a55d3514
100 fichiers modifiés avec 0 ajouts et 13415 suppressions
  1. 0 34
      runtime/admin/temp/0f027cdf2311c8db047ea98e3dbcd76d.php
  2. 0 522
      runtime/admin/temp/0ff4013ded02fcbd9211fbc8a25e59b9.php
  3. 0 155
      runtime/admin/temp/11c914259efd0a416824b7fc010eedba.php
  4. 0 527
      runtime/admin/temp/16feaa2c62865bbea70cb40193eb75d1.php
  5. 0 380
      runtime/admin/temp/188f13dea5ffc5ba4b220cb240d58a53.php
  6. 0 493
      runtime/admin/temp/1fdf5c2c704ef84836098d600f41310f.php
  7. 0 667
      runtime/admin/temp/267db2a9da64782fecfc83c336dc0e63.php
  8. 0 508
      runtime/admin/temp/2a03c8bf6def7dc994b58a724b237365.php
  9. 0 55
      runtime/admin/temp/2ad49c3cd8eb165753863d14ff80d719.php
  10. 0 47
      runtime/admin/temp/2e2dd8739d192b3a152ec23fe322b6da.php
  11. 0 560
      runtime/admin/temp/3ce12139d5a4db9ded760a67a51655ba.php
  12. 0 59
      runtime/admin/temp/4e8762683b1ea5c0ea2ff79beb711cf6.php
  13. 0 415
      runtime/admin/temp/5401d78903b7d46ad8667f0648b29143.php
  14. 0 346
      runtime/admin/temp/598fc8d3b0af608ae82aabfafaea1b48.php
  15. 0 477
      runtime/admin/temp/5c7639379af67fdd0a65f2b9ea6addc0.php
  16. 0 83
      runtime/admin/temp/5e4b11c4789565c1468bd922e8e10229.php
  17. 0 786
      runtime/admin/temp/600949ebbd7839848e37f7d78bbc6591.php
  18. 0 87
      runtime/admin/temp/6410505e57e8414942e5005ea643f7a9.php
  19. 0 715
      runtime/admin/temp/6631e58247dfa8f895ca88d0de1c2872.php
  20. 0 58
      runtime/admin/temp/6bc532417532ae275dfbb9ecbe4453ff.php
  21. 0 59
      runtime/admin/temp/784e6c90628f046d96188a85e5a14226.php
  22. 0 395
      runtime/admin/temp/7b23bd7c94f05a9cc5cc164e530e6435.php
  23. 0 27
      runtime/admin/temp/8336fb88a1c6f98670a72094e0d79f5a.php
  24. 0 33
      runtime/admin/temp/8f21c75bcf96e8dd7e51c9640dda29f4.php
  25. 0 32
      runtime/admin/temp/91982936fd38f0efba3af93737bf748a.php
  26. 0 345
      runtime/admin/temp/972b3373a39035338601343b47890ff7.php
  27. 0 53
      runtime/admin/temp/a0d94d6c87c5776ff33cf3e659f3f205.php
  28. 0 27
      runtime/admin/temp/ae5f4f1f082fb1a2d40d75966c4ff77e.php
  29. 0 643
      runtime/admin/temp/b4cebfafa2b8ed333d9483a81ce96825.php
  30. 0 503
      runtime/admin/temp/b779b624dfacc87a5ab23af2a0902dfa.php
  31. 0 734
      runtime/admin/temp/b84b00b6fefbf1543c42b780ea7c72bd.php
  32. 0 43
      runtime/admin/temp/b9e7e7e24c2f7a8a8a61d35c3811ca07.php
  33. 0 70
      runtime/admin/temp/c087169999ba2c0ee66815a0098b3728.php
  34. 0 354
      runtime/admin/temp/d092e181d26083b374e6cf03def4c756.php
  35. 0 527
      runtime/admin/temp/d379ba638254e70efdffacd781c13d58.php
  36. 0 35
      runtime/admin/temp/dad1b705bb6c26cf192743af7b30b2e7.php
  37. 0 343
      runtime/admin/temp/e3a78359aa9db34f093f6e7f93b5e5b9.php
  38. 0 690
      runtime/admin/temp/eb04cae0fa2b79df1d912d1925578e76.php
  39. 0 373
      runtime/admin/temp/f5a9d1f35f603e0a3352b7d315afb221.php
  40. 0 448
      runtime/admin/temp/f9f0dfe31e89f09da3b71cfcc8cba46a.php
  41. 0 51
      runtime/admin/temp/fa2487953f6a63130e88e7495fa6df2e.php
  42. 0 427
      runtime/admin/temp/fae21e902043826a1f3936ce3ed2f470.php
  43. 0 4
      runtime/cache/00/811301e565c3173c636c50c25b87e7.php
  44. 0 4
      runtime/cache/00/d46691b94755c13013db2f0e9afc6d.php
  45. 0 4
      runtime/cache/03/9c86247fc7de555972e300d98e15d0.php
  46. 0 4
      runtime/cache/04/4b1d9967f6b2616560db8b27d6bd84.php
  47. 0 4
      runtime/cache/07/b1c397454b7916c31217de2d5761f9.php
  48. 0 4
      runtime/cache/07/be20318167f7f383a2026422704add.php
  49. 0 4
      runtime/cache/07/fd12cae50f1ab4c4b02b5db185d9dc.php
  50. 0 4
      runtime/cache/09/946b0708d0a9c4f9bd0779c8f7033a.php
  51. 0 4
      runtime/cache/09/f4fa9a250bb87e1accb2ce89549b93.php
  52. 0 4
      runtime/cache/0a/162b8f890a4891cbefbde905b3482f.php
  53. 0 4
      runtime/cache/0a/1761d191047bf94184da98aa9338a6.php
  54. 0 3
      runtime/cache/0a/9102e76474a593e80b319673cc898f.php
  55. 0 4
      runtime/cache/0a/c6bec7f3c62e81305a5ff49d9b3bd8.php
  56. 0 4
      runtime/cache/0c/1e82ac8c5439e37248759ae8704657.php
  57. 0 4
      runtime/cache/0c/e0bc1cd7d6979715c927b2c0a06153.php
  58. 0 4
      runtime/cache/0d/efbb3459c075b47ae89c12e499c3df.php
  59. 0 4
      runtime/cache/10/22624cd1c452647b9cbf2bba489a53.php
  60. 0 4
      runtime/cache/11/25df3a3fc8af4fb7e7f03860ad712d.php
  61. 0 4
      runtime/cache/11/a3d9c5066e1bae996a9951ce418d7d.php
  62. 0 4
      runtime/cache/11/ca587317b7a63ca7ad744690eb3604.php
  63. 0 4
      runtime/cache/16/a18b09c48d1d337f4eead65263584b.php
  64. 0 4
      runtime/cache/17/0ded0bbf1b55f1e57ef7791a8db51e.php
  65. 0 4
      runtime/cache/18/02158ebdf761838cb5779c9617488f.php
  66. 0 3
      runtime/cache/1a/cd1607d26ebbf63f204924fd261bc3.php
  67. 0 4
      runtime/cache/1b/81cebdd43f807908f0e148e16f0d60.php
  68. 0 4
      runtime/cache/1b/a9709623e294f5e6f8a6bfaa91a9b6.php
  69. 0 4
      runtime/cache/1c/db5fd5a9569ad2b06b3a5686df631d.php
  70. 0 3
      runtime/cache/1d/a33cbf9ceddd13642592c136653291.php
  71. 0 4
      runtime/cache/1e/5a442058bff57a898f8a9655e16df7.php
  72. 0 4
      runtime/cache/1e/be289523facab1b0fd0d7b4940715a.php
  73. 0 4
      runtime/cache/21/5b1c30c3f955f521f517f9c0ce9a29.php
  74. 0 4
      runtime/cache/25/97f371fde4e91ff69b04f50cab19ec.php
  75. 0 4
      runtime/cache/26/1f2bf7f144870a0c81abc747c1e616.php
  76. 0 4
      runtime/cache/26/7b292d0ca1b1707886af50f77d55f7.php
  77. 0 4
      runtime/cache/28/3e46955da76e249a0db7fcb1a052c4.php
  78. 0 4
      runtime/cache/29/192d324e1cd7f1460d49dff352ffda.php
  79. 0 4
      runtime/cache/29/228ee279bdd3c42eb472d2364f6447.php
  80. 0 4
      runtime/cache/2b/1899d9f9714e8025267c7c87fdcd09.php
  81. 0 4
      runtime/cache/2d/f937223fa7717c09c6b51810000143.php
  82. 0 4
      runtime/cache/2f/14538b78f58b0283d56513c8163f7c.php
  83. 0 4
      runtime/cache/2f/ae349e056f57e94ff980b90a382722.php
  84. 0 4
      runtime/cache/2f/ed268dacba749503cbe04997073e48.php
  85. 0 4
      runtime/cache/30/aee1ed7e980cae10e35a919532c106.php
  86. 0 4
      runtime/cache/30/df7c9753b8321a73f727abbbdb5044.php
  87. 0 4
      runtime/cache/31/7d5cb4e909cfc6026478e8857df7e4.php
  88. 0 4
      runtime/cache/32/f4a637c7b515cda210dcbfbcfe40c8.php
  89. 0 4
      runtime/cache/33/f802352a25081905d649ff7bef11e1.php
  90. 0 4
      runtime/cache/35/13c5a5b5cd8c7bf7a3ef83b8f1a0a4.php
  91. 0 4
      runtime/cache/35/673098d120eabafc39d6d13886b94b.php
  92. 0 4
      runtime/cache/36/90e910acf9419ea305f747241d5a51.php
  93. 0 4
      runtime/cache/37/57fad8980712128e3eb5ba73451389.php
  94. 0 4
      runtime/cache/38/f482398475cc817de4791ddafea833.php
  95. 0 4
      runtime/cache/3a/c0219441aaaab203cf5861d0d8392d.php
  96. 0 4
      runtime/cache/3c/b2b110030ac44112567528624d391e.php
  97. 0 4
      runtime/cache/3c/d3e3c25a896534ffd603a0b5b1adfd.php
  98. 0 4
      runtime/cache/3d/22bd7dfb0e768a3272ccb6ff99130d.php
  99. 0 4
      runtime/cache/3d/93b6e65ce52fc5c73ffea05abb600f.php
  100. 0 4
      runtime/cache/3d/be0cd2cc85646527869920b51c3986.php

+ 0 - 34
runtime/admin/temp/0f027cdf2311c8db047ea98e3dbcd76d.php

@@ -1,34 +0,0 @@
-<?php /*a:1:{s:44:"./app/component/view/graphic_nav/design.html";i:1583994495;}*/ ?>
-<nc-component v-bind:data="data[index]" v-bind:class="['graphic-navigation']">
-
-	<!-- 预览 -->
-	<template slot="preview">
-		
-		<template v-if="nc.lazyLoad">
-			<graphic-nav></graphic-nav>
-		</template>
-
-	</template>
-	
-	<!-- 编辑 -->
-	<template slot="edit">
-	
-		<template v-if="nc.lazyLoad">
-			<graphic-nav-list></graphic-nav-list>
-		</template>
-		
-	</template>
-	
-	<!-- 资源 -->
-	<template slot="resource">
-		
-		<js>
-			var RESOURCEPATH = "<?php echo htmlentities($resource_path); ?>";
-			var STATICEXT_IMG ="http://yueshengshop.top/public/static/ext/diyview/img";
-		</js>
-		<css src="<?php echo htmlentities($resource_path); ?>/graphic_nav/css/design.css"></css>
-		<js src="<?php echo htmlentities($resource_path); ?>/graphic_nav/js/design.js"></js>
-		
-	</template>
-
-</nc-component>

+ 0 - 522
runtime/admin/temp/0ff4013ded02fcbd9211fbc8a25e59b9.php

@@ -1,522 +0,0 @@
-<?php /*a:2:{s:101:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\goodsattr\lists.html";i:1587196808;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-collapse ns-tips">
-	<div class="layui-colla-item">
-		<h2 class="layui-colla-title">操作提示</h2>
-		<ul class="layui-colla-content layui-show">
-			<li>商品类型用在添加或者编辑商品选择类型然后配置对应的商品属性。</li>
-			<li>商品配置好对应的类型和属性,前台用户可以根据分类关联的类型在搜索分类商品之后根据属性进行进一步的搜索。</li>
-			<li>商家也可添加自己店铺的类型和属性,平台端的商品类型和属性才能参与前台搜索。</li>
-		</ul>
-	</div>
-</div>
-<!-- 搜索框 -->
-<div class="ns-single-filter-box">
-	<button class="layui-btn ns-bg-color" onclick="addAttr()">添加商品类型</button>
-	<div class="layui-form">
-		<div class="layui-input-inline">
-			<input type="text" name="search_keys" placeholder="请输入商品类型名称" autocomplete="off" class="layui-input">
-			<button type="button" class="layui-btn layui-btn-primary" lay-filter="search" lay-submit>
-				<i class="layui-icon">&#xe615;</i>
-			</button>
-		</div>
-	</div>
-</div>
-
-<!-- 列表 -->
-<table id="attr_class_list" lay-filter="attr_class_list"></table>
-
-<!-- 操作 -->
-<script type="text/html" id="operation">
-	<div class="ns-table-btn">
-		<a class="layui-btn" lay-event="edit">管理</a>
-		<a class="layui-btn" lay-event="delete">删除</a>
-	</div>
-</script>
-
-<script type="text/html" id="addAttr">
-
-	<div class="layui-form">
-		<div class="layui-form-item">
-			<label class="layui-form-label sm"><span class="required">*</span>类型名称</label>
-			<div class="layui-input-block">
-				<input name="class_name" type="text" placeholder="请输入类型名称" lay-verify="required" class="layui-input ns-len-mid">
-			</div>
-		</div>
-		
-		<div class="layui-form-item">
-			<label class="layui-form-label sm">排序</label>
-			<div class="layui-input-block">
-				<input name="sort" type="number" value="0" placeholder="请输入排序" lay-verify="num" class="layui-input ns-len-short">
-			</div>
-			<p class="ns-word-aux sm">排序值必须为整数</p>
-		</div>
-		
-		<div class="ns-form-row sm">
-			<button class="layui-btn ns-bg-color" lay-submit lay-filter="save">保存</button>
-			<button class="layui-btn layui-btn-primary" onclick="closeAttrLayer()">返回</button>
-		</div>
-	</div>
-	
-</script>
-
-<script type="text/html" id="editSort">
-	<input name="sort" type="number" onchange="editSort({{d.class_id}},this)" value="{{d.sort}}" placeholder="请输入排序" class="layui-input edit-sort ns-sort-len">
-</script>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-	var laytpl, add_attr_index = -1,
-		form, table;
-	layui.use(['form', 'laytpl'], function() {
-		var repeat_flag = false; //防重复标识
-		laytpl = layui.laytpl;
-		form = layui.form;
-		form.render();
-
-		table = new Table({
-			elem: '#attr_class_list',
-			url: ns.url("admin/goodsattr/lists"),
-			cols: [
-				[ {
-					field: 'class_name',
-					title: '类型名称',
-					width: '70%',
-					unresize: 'false'
-				}, {
-					unresize: 'false',
-					title: '排序',
-					width: '10%',
-					align: 'center',
-					templet: '#editSort'
-				}, {
-					title: '操作',
-					width: '15%',
-					toolbar: '#operation',
-					unresize: 'false'
-				}]
-			]
-		});
-
-		/**
-		 * 监听工具栏操作
-		 */
-		table.tool(function(obj) {
-			var data = obj.data;
-			switch (obj.event) {
-				case 'edit':
-					location.href = ns.url("admin/goodsattr/editattr?class_id=" + data.class_id);
-					break;
-				case 'delete':
-					deleteAttr(data.class_id);
-					break;
-			}
-		});
-
-		/**
-		 * 删除
-		 */
-		function deleteAttr(class_id) {
-			layer.confirm('删除类型后将会删除对应关联关系,移除后数据会发生不可逆转的行为,请谨慎操作', function() {
-				$.ajax({
-					url: ns.url("admin/goodsattr/deleteAttr"),
-					data: {
-						class_id
-					},
-					dataType: 'JSON',
-					type: 'POST',
-					success: function(res) {
-						layer.msg(res.message);
-						if (res.code == 0) {
-							table.reload();
-						}
-					}
-				});
-			});
-		}
-
-		/**
-		 * 搜索功能
-		 */
-		form.on('submit(search)', function(data) {
-			table.reload({
-				page: {
-					curr: 1
-				},
-				where: data.field
-			});
-		});
-
-		form.on('submit(save)', function(data) {
-
-			if (repeat_flag) return false;
-			repeat_flag = true;
-
-			$.ajax({
-				url: '<?php echo addon_url("admin/goodsattr/addAttr"); ?>',
-				data: data.field,
-				dataType: 'JSON',
-				type: 'POST',
-				success: function(data) {
-					layer.msg(data.message);
-					if (data.code == 0) {
-						table.reload();
-						layer.close(add_attr_index);
-					}
-					repeat_flag = false;
-				}
-			});
-			return false;
-		});
-
-		/**
-		 * 表单验证
-		 */
-		form.verify({
-			num: function(value) {
-				if (value == '') {
-					return;
-				}
-				if (value % 1 != 0) {
-					return '排序数值必须为整数';
-				}
-				if (value < 0) {
-					return '排序数值必须为大于0';
-				}
-			}
-		});
-	});
-
-	// 监听单元格编辑
-	function editSort(id, event) {
-		var data = $(event).val();
-		if (!new RegExp("^-?[1-9]\\d*$").test(data)) {
-			layer.msg("排序号只能是整数");
-			return;
-		}
-		if(data<0){
-			layer.msg("排序号必须大于0");
-			return ;
-		}
-		$.ajax({
-			type: 'POST',
-			url: ns.url("admin/goodsattr/modifySort"),
-			data: {
-				sort: data,
-				class_id: id
-			},
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				if (res.code == 0) {
-					table.reload();
-				}
-			}
-		});
-	}
-
-	function addAttr() {
-		var add_attr = $("#addAttr").html();
-		laytpl(add_attr).render({}, function(html) {
-			add_attr_index = layer.open({
-				title: '添加商品类型',
-				skin: 'layer-tips-class',
-				type: 1,
-				area: ['450px'],
-				content: html
-			});
-		});
-
-	}
-	
-	function closeAttrLayer() {
-		layer.close(add_attr_index);
-	}
-</script>
-
-</body>
-</html>

+ 0 - 155
runtime/admin/temp/11c914259efd0a416824b7fc010eedba.php

@@ -1,155 +0,0 @@
-<?php /*a:2:{s:97:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\login\login.html";i:1587546498;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/login.css" />
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<div class="layui-container">
-	<div class="layui-form login-form">
-		<div class="ns-login-logo">
-			<img src="http://yueshengshop.top/app/admin/view/public/img/login/login_logo.png" />
-		</div>
-		<div class="layui-form-title">
-			<h1>多商户后台登录系统</h1>
-		</div>
-
-		<div class="layui-form-item">
-			<img class="ns-input-icon" src="http://yueshengshop.top/app/admin/view/public/img/login/username.png" />
-			<input type="text" name="username" lay-verify="userName" placeholder="请输入用户名" autocomplete="off" class="layui-input">
-		</div>
-		<div class="layui-form-item">
-			<img class="ns-input-icon" src="http://yueshengshop.top/app/admin/view/public/img/login/password.png" />
-			<input type="password" name="password" lay-verify="password" placeholder="请输入密码" autocomplete="off" class="layui-input">
-		</div>
-
-		<?php if($admin_login == 1): ?>
-		<div class="layui-form-item verify-code-box">
-			<input type="text" name="captcha" lay-verify="verificationCode" placeholder="请输入验证码" class="layui-input" value="">
-			<div class="verify-code-img">
-				<img id='verify_img' src="<?php echo htmlentities($captcha['img']); ?>" alt='captcha' onclick="verificationCode()"/>
-			</div>
-		</div>
-		<input type="hidden" name="captcha_id" value="<?php echo htmlentities($captcha['id']); ?>">
-		<?php endif; ?>
-
-		<div class="layui-form-item ns-login-btn">
-			<button class="layui-btn layui-btn-fluid ns-bg-color" lay-submit lay-filter="login">登 录</button>
-		</div>
-	</div>
-	
-	<div class="ns-login-bottom">
-		版权所有 © 2019-2020 山西牛酷信息科技有限公司,并保留所有权利
-	</div>
-</div>
-
-
-<script>
-	layui.use('form', function() {
-		var form = layui.form,
-			repeat_flag = false; //防重复标识
-
-		/**
-		 * 登录
-		 */
-		form.on('submit(login)', function(data) {
-
-			if (repeat_flag) return false;
-			repeat_flag = true;
-
-			$.ajax({
-				type: "POST",
-				url: "<?php echo url('admin/login/login'); ?>",
-				data: data.field,
-				dataType: "JSON",
-				success: function(res) {
-					if (res.code == 0) {
-						layer.msg('登录成功',{anim: 5,time: 500},function () {
-							window.location = "<?php echo url('admin/index/index'); ?>";
-						})
-					} else {
-						layer.msg(res.message);
-						repeat_flag = false;
-						verificationCode();
-					}
-				}
-			});
-		});
-
-		$(document).keydown(function(event) {
-			if (event.keyCode == 13) {
-				$(".ns-login-btn button").trigger("click");
-			}
-		});
-
-		/**
-		 * 表单验证
-		 */
-		form.verify({
-			userName: function(value) {
-				if (!value) {
-					return "用户名不能为空";
-				}
-			},
-			password: function(value) {
-				if (!value) {
-					return "密码不能为空";
-				}
-			},
-			verificationCode: function(value) {
-				if (!value) {
-					return "验证码不能为空";
-				}
-			}
-
-		});
-	});
-	
-	/**
-	 * 验证码
-	 */
-	function verificationCode(){
-		$.ajax({
-			type: "get",
-			url: "<?php echo url('admin/login/captcha'); ?>",
-			dataType: "JSON",
-			async: false,
-			success: function (res) {
-				var data = res.data;
-				$("#verify_img").attr("src",data.img);
-				$("input[name='captcha_id']").val(data.id);
-			}
-		});
-	}
-</script>
-
-</body>
-</html>

+ 0 - 527
runtime/admin/temp/16feaa2c62865bbea70cb40193eb75d1.php

@@ -1,527 +0,0 @@
-<?php /*a:2:{s:95:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\user\user.html";i:1587196808;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-collapse ns-tips">
-	<div class="layui-colla-item">
-		<h2 class="layui-colla-title">操作提示</h2>
-		<ul class="layui-colla-content layui-show">
-			<li>用户列表展示,admin为系统用户,不可进行编辑</li>
-			<li>可以添加用户,用于登录、管理平台端</li>
-			<li>可对用户进行编辑,修改用户状态,当用户状态为锁定时,不可进行登录</li>
-			<li>添加时选择用户组,对用户的操作权限进行限制</li>
-		</ul>
-	</div>
-</div>
-
-<!-- 搜索框 -->
-<div class="ns-single-filter-box">
-	<button class="layui-btn ns-bg-color" onclick="add()">添加用户</button>
-
-	<div class="layui-form">
-		<div class="layui-input-inline">
-			<input type="text" name="search_keys" placeholder="请输入用户名" autocomplete="off" class="layui-input">
-			<button type="button" class="layui-btn layui-btn-primary" lay-filter="search" lay-submit>
-				<i class="layui-icon">&#xe615;</i>
-			</button>
-		</div>
-	</div>
-</div>
-
-<!-- 列表 -->
-<table id="user_list" lay-filter="user_list"></table>
-
-<!-- 操作 -->
-<script type="text/html" id="operation">
-	<div class="ns-table-btn">
-		{{#  if(d.is_admin == 1){ }}
-		<span class="ns-cursor ns-text-color-dark-gray">系统用户不可编辑</span>
-		{{#  }else{ }}
-		<a class="layui-btn" lay-event="edit">编辑</a>
-		<a class="layui-btn" lay-event="delete">删除</a>
-		<a class="layui-btn" lay-event="reset_pass">重置密码</a>
-		{{#  } }}
-	</div>
-</script>
-
-<!-- 状态 -->
-<script type="text/html" id="status">
-	{{ d.status == 1 ? '正常' : '锁定'}}
-</script>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-	var table, form, laytpl, layer_pass, repeat_flag = false; //防重复标识
-	layui.use(['form', 'laytpl'], function() {
-		form = layui.form;
-		laytpl = layui.laytpl;
-		form.render();
-
-		table = new Table({
-			elem: '#user_list',
-			url: ns.url("admin/user/user"),
-			cols: [
-				[{
-					field: 'username',
-					title: '用户名',
-					width: '20%',
-					unresize: 'false'
-				}, {
-					field: 'group_name',
-					title: '用户组',
-					width: '15%',
-					unresize: 'false'
-				}, {
-					field: 'login_ip',
-					title: '最后登录IP',
-					width: '18%',
-					unresize: 'false'
-				}, {
-					field: 'login_time',
-					title: '最后登录时间',
-					width: '18%',
-					unresize: 'false',
-					templet: function(data) {
-						return ns.time_to_date(data.login_time); //创建时间转换方法
-					}
-				}, {
-					field: 'status',
-					title: '用户状态',
-					width: '12%',
-					unresize: 'false',
-					templet: '#status'
-				}, {
-					title: '操作',
-					width: '16%',
-					toolbar: '#operation',
-					unresize: 'false'
-				}]
-			],
-		});
-
-		/**
-		 * 监听工具栏操作
-		 */
-		table.tool(function(obj) {
-			var data = obj.data;
-			switch (obj.event) {
-				case 'edit': //编辑
-					location.href = ns.url("admin/user/editUser?uid=" + data.uid);
-					break;
-				case 'delete': //删除
-					deleteUser(data.uid);
-					break;
-				case 'reset_pass': //重置密码
-					resetPassword(data);
-					break;
-			}
-		});
-
-		/**
-		 * 删除
-		 */
-		function deleteUser(uid) {
-			if (repeat_flag) return false;
-			repeat_flag = true;
-
-			layer.confirm('确定要删除该用户吗?', function() {
-				$.ajax({
-					type: 'POST',
-					dataType: 'JSON',
-					url: ns.url("admin/user/deleteUser"),
-					data: {uid},
-					success: function(res) {
-						layer.msg(res.message);
-						repeat_flag = false;
-
-						if (res.code == 0) {
-							table.reload();
-						}
-					}
-				});
-			}, function () {
-				layer.close();
-				repeat_flag = false;
-			});
-		}
-		
-		/**
-		 * 重置密码
-		 */
-		function resetPassword(data) {
-			laytpl($("#pass_change").html()).render(data, function(html) {
-				layer_pass = layer.open({
-					title: '重置密码',
-					skin: 'layer-tips-class',
-					type: 1,
-					area: ['600px'],
-					content: html,
-				});
-			});
-		}
-		
-		form.on('submit(repass)', function(data) {
-			if (repeat_flag) return false;
-			repeat_flag = true;
-			
-			$.ajax({
-				type: "POST",
-				dataType: 'JSON',
-				url: ns.url("admin/user/modifyPassword"),
-				data: data.field,
-				success: function(res) {
-					layer.msg(res.message);
-					repeat_flag = false;
-		
-					if (res.code == 0) {
-						layer.closeAll('page');
-					}
-				}
-			});
-		});
-		
-		/**
-		 * 搜索功能
-		 */
-		form.on('submit(search)', function(data) {
-			table.reload({
-				page: {
-					curr: 1
-				},
-				where: data.field
-			});
-		});
-		
-		/**
-		 * 表单验证
-		 */
-		form.verify({
-			repass: function(value) {
-				if (value != $("input[name=password]").val()) {
-					return "输入错误,两次密码不一致!";
-				}
-			}
-		});
-	});
-	
-	function add() {
-		location.href = ns.url("admin/user/addUser");
-	}
-	
-	function closePass() {
-		layer.close(layer_pass);
-	}
-</script>
-
-<!-- 重置密码弹框html -->
-<script type="text/html" id="pass_change">
-	<div class="layui-form" id="reset_pass">
-	
-		<div class="layui-form-item">
-			<label class="layui-form-label mid"><span class="required">*</span>新密码:</label>
-			<div class="layui-input-block">
-				<input type="password" id="new_pass" name="password" lay-verify="required" class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-			</div>
-		</div>
-		
-		<div class="layui-form-item">
-			<label class="layui-form-label mid"><span class="required">*</span>确认新密码:</label>
-			<div class="layui-input-block">
-				<input type="password" name="password" lay-verify="required|repass" class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-			</div>
-			<div class="ns-word-aux mid">请再一次输入密码,两次输入密码须一致</div>
-		</div>
-		
-		<div class="ns-form-row mid">
-			<button class="layui-btn ns-bg-color" lay-submit lay-filter="repass">确定</button>
-			<button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-		</div>
-
-		<input class="reset-pass-id" type="hidden" name="uid" value="{{d.uid}}"/>
-	</div>
-</script>
-
-</body>
-</html>

+ 0 - 380
runtime/admin/temp/188f13dea5ffc5ba4b220cb240d58a53.php

@@ -1,380 +0,0 @@
-<?php /*a:2:{s:99:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\message\lists.html";i:1587039196;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-<style type="text/css">
-	.layui-field-box{display: flex;flex-wrap: wrap;}
-	.block-list{padding: 16px;width: 32.3%;box-sizing: border-box;margin-right: 1%; margin-bottom: 20px;}
-	.block-list .block-title{margin-bottom: 10px;height: 20px;line-height: 20px;font-size: 14px;color: #333;}
-	.block-list .block-content{display: flex;flex-wrap: wrap;}
-	.block-list .block-content a{height: 25px;line-height: 25px;width: 33.3%;display: inline-block;vertical-align: middle;color: #454545; font-size: 12px;}
-	.block-list .block-content a i{display: inline-block; margin-right: 5px;}
-</style>
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<!-- 买家消息 -->
-<div class="layui-card ns-card-common ns-card-brief">
-	<div class="layui-card-header">
-		<span class="ns-card-title">买家消息</span>
-	</div>
-	<div class="layui-card-body layui-field-box">
-		<?php foreach($member_message_list as $member_message_k => $member_message_v): ?>
-		<div class="block-list ns-bg-color-light-gray">
-			<div class="block-title">
-			  <?php echo htmlentities($member_message_v['title']); ?>
-			</div>
-			<div class="block-content">
-				<!--<a><i class="iconfont iconseleted <?php if($member_message_v['weapp_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>微信小程序</a>-->
-				<a href="<?php echo addon_url('admin/message/editEmailMessage',['keywords' => $member_message_v['keywords']]); ?>"><i class="iconfont iconseleted <?php if($member_message_v['email_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>邮箱</a>
-				<a href="<?php echo addon_url('admin/message/editSmsMessage',['keywords' => $member_message_v['keywords']]); ?>"><i class="iconfont iconseleted <?php if($member_message_v['sms_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>短信</a>
-				<!--<a href="<?php echo addon_url('wechat://admin/message/edit',['keywords' => $member_message_v['keywords']]); ?>"><i class="iconfont iconseleted <?php if($member_message_v['wechat_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>微信公众号</a>-->
-				<!--<a><i class="iconfont iconseleted <?php if($member_message_v['aliapp_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>支付宝小程序</a>-->
-			</div>
-		</div>
-		<?php endforeach; ?>
-	</div>
-</div>
-<!-- <fieldset class="layui-elem-field layui-field-title">
-	<legend>买家消息</legend>
-	<div class="layui-field-box">
-		<?php foreach($member_message_list as $member_message_k => $member_message_v): ?>
-		<div class="block-list ns-bg-color-light-gray">
-			<div class="block-title">
-			  <?php echo htmlentities($member_message_v['title']); ?>
-			</div>
-			<div class="block-content">
-				<a><i class="iconfont iconseleted <?php if($member_message_v['weapp_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>微信小程序</a>
-				<a href="<?php echo addon_url('admin/message/editEmailMessage',['keywords' => $member_message_v['keywords']]); ?>"><i class="iconfont iconseleted <?php if($member_message_v['email_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>邮箱</a>
-				<a href="<?php echo addon_url('admin/message/editSmsMessage',['keywords' => $member_message_v['keywords']]); ?>"><i class="iconfont iconseleted <?php if($member_message_v['sms_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>短信</a>
-				<a href="<?php echo addon_url('wechat://admin/message/edit',['keywords' => $member_message_v['keywords']]); ?>"><i class="iconfont iconseleted <?php if($member_message_v['wechat_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>微信公众号</a>
-				<a><i class="iconfont iconseleted <?php if($member_message_v['aliapp_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>支付宝小程序</a>
-			</div>
-		</div>
-		<?php endforeach; ?>
-	</div>
-</fieldset> -->
-
-<!-- 卖家通知 -->
-<div class="layui-card ns-card-common ns-card-brief">
-	<div class="layui-card-header">
-		<span class="ns-card-title">卖家通知</span>
-	</div>
-	<div class="layui-card-body layui-field-box">
-		<?php foreach($shop_message_list as $shop_message_k => $shop_message_v): ?>
-		<div class="block-list ns-bg-color-light-gray">
-			<div class="block-title">
-				<?php echo htmlentities($shop_message_v['title']); ?>
-			</div>
-			<div class="block-content">
-				<a href="<?php echo addon_url('admin/message/editEmailMessage',['keywords' => $shop_message_v['keywords']]); ?>"><i class="iconfont iconseleted <?php if($shop_message_v['email_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>邮箱</a>
-				<a href="<?php echo addon_url('admin/message/editSmsMessage',['keywords' => $shop_message_v['keywords']]); ?>"><i class="iconfont iconseleted <?php if($shop_message_v['sms_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>短信</a>
-			</div>
-		</div>
-		<?php endforeach; ?>
-	</div>
-</div>
-<!-- <fieldset class="layui-elem-field layui-field-title">
-	<legend>卖家通知</legend>
-	<div class="layui-field-box">
-		<?php foreach($shop_message_list as $shop_message_k => $shop_message_v): ?>
-		<div class="block-list ns-bg-color-light-gray">
-			<div class="block-title">
-				<?php echo htmlentities($shop_message_v['title']); ?>
-			</div>
-			<div class="block-content">
-				<a><i class="iconfont iconseleted <?php if($shop_message_v['weapp_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>微信小程序</a>
-				<a href="<?php echo addon_url('admin/message/editEmailMessage',['keywords' => $member_message_v['keywords']]); ?>"><i class="iconfont iconseleted <?php if($shop_message_v['email_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>邮箱</a>
-				<a href="<?php echo addon_url('admin/message/editSmsMessage',['keywords' => $member_message_v['keywords']]); ?>"><i class="iconfont iconseleted <?php if($shop_message_v['sms_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>短信</a>
-				<a href="<?php echo addon_url('wechat://admin/message/edit',['keywords' => $member_message_v['keywords']]); ?>"><i class="iconfont iconseleted <?php if($shop_message_v['wechat_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>微信公众号</a>
-				<a><i class="iconfont iconseleted <?php if($shop_message_v['aliapp_is_open'] == 1): ?>ns-text-color-red<?php endif; ?>"></i>支付宝小程序</a>
-			</div>
-		</div>
-		<?php endforeach; ?>
-	</div>
-</fieldset> -->
-
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-
-</body>
-</html>

+ 0 - 493
runtime/admin/temp/1fdf5c2c704ef84836098d600f41310f.php

@@ -1,493 +0,0 @@
-<?php /*a:2:{s:103:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\config\web_config.html";i:1588232435;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-collapse ns-tips">
-	<div class="layui-colla-item">
-		<h2 class="layui-colla-title">操作提示</h2>
-		<ul class="layui-colla-content layui-show">
-			<li>站点设置包括网站的基本信息设置,SEO设置以及网站官方联系方式等</li>
-			<li>可根据SEO设置优化网站排名</li>
-		</ul>
-	</div>
-</div>
-
-<div class="layui-form ns-form">
-	<div class="layui-form-item">
-		<label class="layui-form-label"><span class="required">*</span>网站标题:</label>
-		<div class="layui-input-block">
-			<input type="text" name="title" lay-verify="required" value="<?php echo htmlentities($website_info['data']['title']); ?>" autocomplete="off" class="layui-input ns-len-long">
-		</div>
-		<div class="ns-word-aux">网站名称,将显示在前台顶部欢迎信息等位置</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label img-upload-lable">网站logo:</label>
-		<div class="layui-input-block img-upload">
-			<input type="hidden" name="logo" value="<?php echo htmlentities($website_info['data']['logo']); ?>" />
-			<div class="upload-img-block icon">
-				<div class="upload-img-box" id="webLogoUpload">
-					<?php if(empty($website_info['data']['logo'])): ?>
-					<div class="ns-upload-default">
-						<img src="http://yueshengshop.top/public/static/img/upload_img.png" />
-						<p>点击上传</p>
-					</div>
-					<?php else: ?>
-					<img src="<?php echo img($website_info['data']['logo']); ?>" alt="">
-					<?php endif; ?>
-				</div>
-			</div>
-		</div>
-		<div class="ns-word-aux">默认网站LOGO,通用头部显示,最佳显示尺寸为200px*60px</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">网站描述:</label>
-		<div class="layui-input-block">
-			<textarea name="desc" class="layui-textarea ns-len-long"><?php echo htmlentities($website_info['data']['desc']); ?></textarea>
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">网站关键字:</label>
-		<div class="layui-input-block">
-			<input type="text" name="keywords" value="<?php echo htmlentities($website_info['data']['keywords']); ?>" autocomplete="off" class="layui-input ns-len-long">
-		</div>
-		<div class="ns-word-aux">用于网站搜索引擎的优化,关键字之间请用英文逗号分隔</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">网站地址:</label>
-		<div class="layui-input-block">
-			<input type="text" name="web_address" value="<?php echo htmlentities($website_info['data']['web_address']); ?>" autocomplete="off" class="layui-input ns-len-long">
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label img-upload-lable">网站公众号二维码:</label>
-		<div class="layui-input-inline img-upload">
-			<div class="upload-img-block icon">
-				<input type="hidden" name="web_qrcode" value="<?php echo htmlentities($website_info['data']['web_qrcode']); ?>" />
-				<div class="upload-img-box" id="webQrcodeUpload">
-					<?php if(empty($website_info['data']['web_qrcode'])): ?>
-					<div class="ns-upload-default">
-						<img src="http://yueshengshop.top/public/static/img/upload_img.png" />
-						<p>点击上传</p>
-					</div>
-					<?php else: ?>
-					<img src="<?php echo img($website_info['data']['web_qrcode']); ?>" alt="">
-					<?php endif; ?>
-				</div>
-			</div>
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">网站邮箱:</label>
-		<div class="layui-input-block">
-			<input type="text" name="web_email" value="<?php echo htmlentities($website_info['data']['web_email']); ?>" autocomplete="off" class="layui-input ns-len-long">
-		</div>
-	</div>
-	
-	<div class="layui-form-item">
-		<label class="layui-form-label">网站联系方式:</label>
-		<div class="layui-input-block">
-			<input type="text" name="web_phone" value="<?php echo htmlentities($website_info['data']['web_phone']); ?>" autocomplete="off" class="layui-input ns-len-long">
-		</div>
-	</div>
-	
-	<div class="layui-form-item">
-		<label class="layui-form-label">网站QQ:</label>
-		<div class="layui-input-block">
-			<input type="text" name="web_qq" value="<?php echo htmlentities($website_info['data']['web_qq']); ?>" autocomplete="off" class="layui-input ns-len-long">
-		</div>
-	</div>
-	
-	<div class="layui-form-item">
-		<label class="layui-form-label">网站微信:</label>
-		<div class="layui-input-block">
-			<input type="text" name="web_weixin" value="<?php echo htmlentities($website_info['data']['web_weixin']); ?>" autocomplete="off" class="layui-input ns-len-long">
-		</div>
-	</div>
-	
-	<div class="layui-form-item">
-		<label class="layui-form-label">手机端域名:</label>
-		<div class="layui-input-block">
-			<input type="text" name="wap_domain" value="<?php echo htmlentities($website_info['data']['wap_domain']); ?>" autocomplete="off" class="layui-input ns-len-long">
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">pc端是否启用:</label>
-		<div class="layui-input-block">
-			<input type="checkbox" name="web_status" value="1" lay-skin="switch" <?php if($website_info['data']['web_status'] == 1): ?> checked <?php endif; ?> />
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">手机端是否启用:</label>
-		<div class="layui-input-block">
-			<input type="checkbox" name="wap_status" value="1" lay-skin="switch" <?php if($website_info['data']['wap_status'] == 1): ?> checked <?php endif; ?> />
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">网站关闭原因:</label>
-		<div class="layui-input-block">
-			<textarea name="close_reason" class="layui-textarea ns-len-long"><?php echo htmlentities($website_info['data']['close_reason']); ?></textarea>
-		</div>
-	</div>
-
-	<div class="ns-form-row">
-		<button class="layui-btn ns-bg-color" lay-submit lay-filter="save">保存</button>
-	</div>
-</div>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-	layui.use(['form', 'upload'], function() {
-		var form = layui.form,
-			upload = layui.upload,
-			repeat_flag = false; //防重复标识
-		form.render();
-
-		form.on('submit(save)', function(data) {
-			if (data.field.web_status == undefined) {
-				data.field.web_status = 0;
-			}
-
-			if (data.field.wap_status == undefined) {
-				data.field.wap_status = 0;
-			}
-
-			if (repeat_flag) return;
-			repeat_flag = true;
-
-			$.ajax({
-				type: 'POST',
-				dataType: 'JSON',
-				url: ns.url("admin/config/webConfig"),
-				data: data.field,
-				success: function(res) {
-					layer.msg(res.message);
-					if (res.code == 0) {
-						location.reload();
-					}else{
-						repeat_flag = false;
-					}
-				}
-			});
-		});
-
-		//上传logo
-		var uploadInst = upload.render({
-			elem: '#webLogoUpload',
-			url: ns.url("admin/upload/upload"),
-			done: function(res) {
-				if (res.code >= 0) {
-					$("input[name='logo']").val(res.data.pic_path);
-					$("#webLogoUpload").html("<img src=" + ns.img(res.data.pic_path) + " >");
-				}
-				return layer.msg(res.message);
-			}
-		});
-
-		//二维码
-		var uploadInst = upload.render({
-			elem: '#webQrcodeUpload',
-			url: ns.url("admin/upload/upload"),
-			done: function(res) {
-				if (res.code >= 0) {
-					$("input[name='web_qrcode']").val(res.data.pic_path);
-					$("#webQrcodeUpload").html("<img src=" + ns.img(res.data.pic_path) + " >");
-				}
-				return layer.msg(res.message);
-			}
-		});
-	});
-</script>
-
-</body>
-</html>

+ 0 - 667
runtime/admin/temp/267db2a9da64782fecfc83c336dc0e63.php

@@ -1,667 +0,0 @@
-<?php /*a:2:{s:97:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\index\index.html";i:1587986844;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-<link rel="stylesheet" href="http://yueshengshop.top/app/admin/view/public/css/index.css">
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; if($need_upgrade == 1): ?>
-<p class="version-upgrade ns-border-color">
-    温馨提示:浏览量、访客数、转化率统计依赖小程序最新版本,请尽快到
-    <a href="" class="ns-text-color">官网</a> 中升级模板到最新版本
-    <span>x</span>
-</p>
-<?php endif; ?>
-
-<div class="index-box">
-    <div class="index-content">
-        <div class="basic-info">
-            <blockquote class="layui-elem-quote">基础信息 <span class="ns-card-sub"></span></blockquote>
-            <div class="basic-info-box">
-                <div class="basic-list">
-                    <div class="basic-pic">
-                        <img src="http://yueshengshop.top/app/admin/view/public/img/index/order_num.png" alt="">
-                    </div>
-                    <div class="basic-item">
-                        <div class="title layui-elip">今日销售总额(元)</div>
-                        <div class="content layui-elip"><?php if(isset($stat_info['order_total'])): ?><?php echo htmlentities($stat_info['order_total']); else: ?> 0 <?php endif; ?></div>
-                    </div>
-                    <div class="basic-item">
-                        <div class="title layui-elip">今日销售订单数(笔)</div>
-                        <div class="content layui-elip"><?php if(isset($stat_info['order_pay_count'])): ?><?php echo htmlentities($stat_info['order_pay_count']); else: ?> 0 <?php endif; ?></div>
-                    </div>
-                    <div class="basic-item">
-                        <div class="title layui-elip">订单销售总额(元)</div>
-                        <div class="content layui-elip"><?php if(isset($order_money)): ?><?php echo htmlentities($order_money); else: ?> 0.00 <?php endif; ?></div>
-                    </div>
-                </div>
-                <div class="basic-list">
-                    <div class="basic-pic">
-                        <img src="http://yueshengshop.top/app/admin/view/public/img/index/good_num.png" alt="">
-                    </div>
-                    <div class="basic-item">
-                        <div class="title layui-elip">今日新增商品数</div>
-                        <div class="content layui-elip"><?php echo htmlentities($stat_info['add_goods_count']); ?></div>
-                    </div>
-                    <div class="basic-item">
-                        <div class="title layui-elip">今日商品购买数</div>
-                        <div class="content layui-elip"><?php echo htmlentities($stat_info['goods_pay_count']); ?></div>
-                    </div>
-                    <div class="basic-item">
-                        <div class="title layui-elip">商品总数</div>
-                        <div class="content layui-elip"><?php echo htmlentities($goods_count); ?></div>
-                    </div>
-                </div>
-                <div class="basic-list">
-                    <div class="basic-pic">
-                        <img src="http://yueshengshop.top/app/admin/view/public/img/index/member_num.png" alt="">
-                    </div>
-                    <div class="basic-item">
-                        <div class="title layui-elip">今日新增会员数</div>
-                        <div class="content layui-elip"><?php echo htmlentities($stat_info['member_count']); ?></div>
-                    </div>
-                    <div class="basic-item">
-                        <div class="title layui-elip">会员总数</div>
-                        <div class="content layui-elip"><?php echo htmlentities($member_count); ?></div>
-                    </div>
-                    <div class="basic-item"></div>
-                </div>
-                <div class="basic-list">
-                    <div class="basic-pic">
-                        <img src="http://yueshengshop.top/app/admin/view/public/img/index/shop_num.png" alt="">
-                    </div>
-                    <div class="basic-item">
-                        <div class="title layui-elip">今日申请店铺数</div>
-                        <div class="content layui-elip"><?php echo htmlentities($shop_apply_count); ?></div>
-                    </div>
-                    <div class="basic-item">
-                        <div class="title layui-elip">今日新增店铺数</div>
-                        <div class="content layui-elip"><?php echo htmlentities($shop_count); ?></div>
-                    </div>
-                    <div class="basic-item">
-                        <div class="title layui-elip">店铺总数</div>
-                        <div class="content layui-elip"><?php echo htmlentities($shop_total_count); ?></div>
-                    </div>
-                </div>
-            </div>
-        </div>
-        <div class="common-function">
-            <blockquote class="layui-elem-quote">常用功能</blockquote>
-            <div class="common-function-box layui-row">
-                <a class="layui-col-md2" href="<?php echo url('admin/member/memberlist'); ?>">
-                    <div class="ns-index-img-box">
-                        <img src="http://yueshengshop.top/app/admin/view/public/img/index/member_check.png">
-                    </div>
-                    <div class="ns-text-box">会员查询</div>
-                </a>
-                <a class="layui-col-md2" href="<?php echo url('admin/member/addMember'); ?>">
-                    <div class="ns-index-img-box">
-                        <img src="http://yueshengshop.top/app/admin/view/public/img/index/member_add.png">
-                    </div>
-                    <div class="ns-text-box">会员新增</div>
-                </a>
-                <a class="layui-col-md2" href="<?php echo url('admin/shop/lists'); ?>">
-                    <div class="ns-index-img-box">
-                        <img src="http://yueshengshop.top/app/admin/view/public/img/index/shop_check.png">
-                    </div>
-                    <div class="ns-text-box">店铺查询</div>
-                </a>
-                <a class="layui-col-md2" href="<?php echo url('admin/shop/addshop'); ?>">
-                    <div class="ns-index-img-box">
-                        <img src="http://yueshengshop.top/app/admin/view/public/img/index/shop_add.png">
-                    </div>
-                    <div class="ns-text-box">店铺新增</div>
-                </a>
-                <a class="layui-col-md2" href="<?php echo url('admin/shopreopen/reopen'); ?>">
-                    <div class="ns-index-img-box">
-                        <img src="http://yueshengshop.top/app/admin/view/public/img/index/shop_renewal.png">
-                    </div>
-                    <div class="ns-text-box">店铺续签</div>
-                </a>
-                <a class="layui-col-md2" href="<?php echo url('admin/goods/lists'); ?>">
-                    <div class="ns-index-img-box">
-                        <img src="http://yueshengshop.top/app/admin/view/public/img/index/goods_check.png">
-                    </div>
-                    <div class="ns-text-box">商品查询</div>
-                </a>
-                <a class="layui-col-md2" href="<?php echo url('admin/goodscategory/lists'); ?>">
-                    <div class="ns-index-img-box">
-                        <img src="http://yueshengshop.top/app/admin/view/public/img/index/goods_category.png">
-                    </div>
-                    <div class="ns-text-box">商品分类</div>
-                </a>
-                <a class="layui-col-md2" href="<?php echo url('admin/goodsbrand/lists'); ?>">
-                    <div class="ns-index-img-box">
-                        <img src="http://yueshengshop.top/app/admin/view/public/img/index/goods_brand.png">
-                    </div>
-                    <div class="ns-text-box">商品品牌</div>
-                </a>
-                <a class="layui-col-md2" href="<?php echo url('admin/order/lists'); ?>">
-                    <div class="ns-index-img-box">
-                        <img src="http://yueshengshop.top/app/admin/view/public/img/index/order_check.png">
-                    </div>
-                    <div class="ns-text-box">订单查询</div>
-                </a>
-                <a class="layui-col-md2" href="<?php echo url('admin/refund/lists'); ?>">
-                    <div class="ns-index-img-box">
-                        <img src="http://yueshengshop.top/app/admin/view/public/img/index/refund.png">
-                    </div>
-                    <div class="ns-text-box">退款维权</div>
-                </a>
-                <a class="layui-col-md2" href="<?php echo url('admin/express/expresscompany'); ?>">
-                    <div class="ns-index-img-box">
-                        <img src="http://yueshengshop.top/app/admin/view/public/img/index/express.png">
-                    </div>
-                    <div class="ns-text-box">物流公司</div>
-                </a>
-            </div>
-        </div>
-        <div class="layui-row layui-col-space10">
-            <div class="layui-col-md6">
-                <blockquote class="layui-elem-quote">版本信息</blockquote>
-                <div class="versions-info-box">
-                    <p><span>版本号:</span><?php echo htmlentities($sys_version_no); ?></p>
-                    <p><span>版本名称:</span><?php echo htmlentities($sys_version_name); ?></p>
-                    <p><span>版本类型:</span><?php echo htmlentities($sys_version); ?></p>
-                    <p><span>版本编号:</span><?php echo htmlentities($sys_release); ?></p>
-                    <p><span>官方网站:</span><a class="ns-text-color" href="https://www.niushop.com.cn/" target="_blank">官方网站</a></p>
-                    <p><span>官方论坛:</span><a class="ns-text-color" href="https://bbs.niushop.com.cn/forum.php" target="_blank">交流论坛</a></p>
-                </div>
-            </div>
-            <div class="layui-col-md6">
-                <blockquote class="layui-elem-quote">未处理事项</blockquote>
-                <div class="layui-tab untreated-box layui-tab-card">
-                    <ul class="layui-tab-title">
-                        <li class="layui-this">商品</li>
-                        <li>订单</li>
-                        <li>店铺</li>
-                    </ul>
-                    <div class="layui-tab-content" style="height: 100px;">
-                        <div class="layui-tab-item layui-show">
-                            <?php if($verify_goods_count == 0 && $inform_count == 0): ?>
-                                <div class="layui-row todo-item">
-                                    <div class="layui-col-md12">
-                                        当前没有需处理的事件
-                                    </div>
-                                </div>
-
-                            <?php else: if($verify_goods_count > 0): ?>
-                                    <div class="layui-row todo-item">
-                                        <div class="layui-col-md10">
-											<div class="todo-item-box">
-												<img src="http://yueshengshop.top/app/admin/view/public/img/index/message.png" />
-												<p>有<?php echo htmlentities($verify_goods_count); ?>件待审核的商品等待处理</p>
-											</div>
-                                        </div>
-                                        <div class="layui-col-md2">
-                                            <a href="<?php echo addon_url('admin/goods/lists'); ?>" class="ns-line-hiding ns-text-color" target="_blank">立即处理</a>
-                                        </div>
-                                    </div>
-                                <?php endif; if($inform_count > 0): ?>
-                                    <div class="layui-row todo-item">
-                                        <div class="layui-col-md10">
-											<div class="todo-item-box">
-												<img src="http://yueshengshop.top/app/admin/view/public/img/index/message.png" />
-												<p>有<?php echo htmlentities($inform_count); ?>件商品被举报,等待处理</p>
-											</div>
-                                        </div>
-                                        <div class="layui-col-md2">
-                                            <a href="<?php echo addon_url('admin/inform/lists'); ?>" class="ns-line-hiding ns-text-color" target="_blank">立即处理</a>
-                                        </div>
-                                    </div>
-
-                                <?php endif; ?>
-                            <?php endif; ?>
-                        </div>
-                        <div class="layui-tab-item">
-                            <?php if($complain_count_result == 0): ?>
-                                <div class="layui-row todo-item">
-                                    <div class="layui-col-md12">
-                                        当前没有需处理的事件
-                                    </div>
-                                </div>
-                            <?php else: ?>
-                                <div class="layui-row todo-item">
-                                    <div class="layui-col-md10">
-										<div class="todo-item-box">
-											<img src="http://yueshengshop.top/app/admin/view/public/img/index/message.png" />
-											<p>有<?php echo htmlentities($complain_count_result); ?>件平台维权等待处理</p>
-										</div>
-                                    </div>
-                                    <div class="layui-col-md2">
-                                        <a href="<?php echo addon_url('admin/complain/lists'); ?>" class="ns-line-hiding ns-text-color" target="_blank">立即处理</a>
-                                    </div>
-                                </div>
-                            <?php endif; ?>
-                        </div>
-                        <div class="layui-tab-item">
-                            <?php if($shop_apply_count == 0 && $shop_reopen_count == 0): ?>
-                            <div class="layui-row todo-item">
-                                <div class="layui-col-md12">
-                                    当前没有需处理的事件
-                                </div>
-                            </div>
-
-                            <?php else: if($shop_apply_count > 0): ?>
-                                <div class="layui-row todo-item">
-                                    <div class="layui-col-md10">
-										<div class="todo-item-box">
-											<img src="http://yueshengshop.top/app/admin/view/public/img/index/message.png" />
-											<p>有<?php echo htmlentities($shop_apply_count); ?>件待处理的开店申请</p>
-										</div>
-                                    </div>
-                                    <div class="layui-col-md2">
-                                        <a href="<?php echo addon_url('admin/shopapply/apply'); ?>" class="ns-line-hiding ns-text-color" target="_blank">立即处理</a>
-                                    </div>
-                                </div>
-                                <?php endif; if($shop_reopen_count > 0): ?>
-                                <div class="layui-row todo-item">
-                                    <div class="layui-col-md10">
-										<div class="todo-item-box">
-											<img src="http://yueshengshop.top/app/admin/view/public/img/index/message.png" />
-											<p>有<?php echo htmlentities($shop_reopen_count); ?>件待处理的店铺续签申请</p>
-										</div>
-                                    </div>
-                                    <div class="layui-col-md2">
-                                        <a href="<?php echo addon_url('admin/shopreopen/reopen'); ?>" class="ns-line-hiding ns-text-color" target="_blank">立即处理</a>
-                                    </div>
-                                </div>
-                                <?php endif; ?>
-                            <?php endif; ?>
-                        </div>
-                    </div>
-                </div>
-            </div>
-        </div>
-        <div class="system-function">
-            <blockquote class="layui-elem-quote">系统信息</blockquote>
-            <table class="layui-table">
-                <colgroup>
-                    <col width="20%">
-                    <col width="30%">
-                    <col width="20%">
-                    <col width="30%">
-                </colgroup>
-                <tbody>
-                <tr>
-                    <td class="ns-bg-color-light-gray">服务器操作系统</td>
-                    <td><?php echo htmlentities($system_config['os']); ?></td>
-                    <td class="ns-bg-color-light-gray">服务器域名</td>
-                    <td><?php echo htmlentities($system_config['dns']); ?>:<?php echo htmlentities($system_config['port']); ?></td>
-                </tr>
-                <tr>
-                    <td class="ns-bg-color-light-gray">服务器环境</td>
-                    <td><?php echo htmlentities($system_config['server_software']); ?></td>
-                    <td class="ns-bg-color-light-gray">PHP版本</td>
-                    <td><?php echo htmlentities($system_config['php_version']); ?></td>
-                </tr>
-                <tr>
-                    <td class="ns-bg-color-light-gray">文件上传限制</td>
-                    <td><?php echo htmlentities($system_config['upload_max_filesize']); ?></td>
-                    <td class="ns-bg-color-light-gray">GD版本</td>
-                    <td><?php echo htmlentities($system_config['gd_version']); ?></td>
-                </tr>
-                <tr>
-                    <td class="ns-bg-color-light-gray">sockets开启</td>
-                    <td><?php if($system_config['sockets'] == true): ?>已开启<?php else: ?><span style="color:red;">未开启,邮箱功能将无法正常使用</span><?php endif; ?></td>
-                    <td class="ns-bg-color-light-gray">curl支持</td>
-                    <td><?php if($system_config['curl'] == true): ?>支持<?php else: ?><span style="color:red;">不支持,微信和支付宝等功能将无法正常使用</span><?php endif; ?></td>
-                </tr>
-                <tr>
-                    <td class="ns-bg-color-light-gray">openssl开启</td>
-                    <td><?php if($system_config['openssl'] == true): ?>已开启<?php else: ?><span style="color:red;">未开启,不支持https</span><?php endif; ?></td>
-                    <td class="ns-bg-color-light-gray">fileinfo开启</td>
-                    <td><?php if($system_config['fileinfo'] == true): ?>已开启<?php else: ?><span style="color:red;">未开启,将无法获取上传文件类型,导致上传图片失败</span><?php endif; ?></td>
-                </tr>
-                <tr>
-                    <td class="ns-bg-color-light-gray">upload目录权限</td>
-                    <td><?php if($system_config['upload_dir_jurisdiction'] == 1): ?>可读可写<?php else: ?><span style="color:red;">不可读不可写,会造成图片无法上传和访问</span><?php endif; ?></td>
-                    <td class="ns-bg-color-light-gray">runtime目录权限</td>
-                    <td><?php if($system_config['runtime_dir_jurisdiction'] == 1): ?>可读可写<?php else: ?><span style="color:red;">不可读不可写,会造成编译文件缓存文件无法生成读取,是网站访问出错</span><?php endif; ?></td>
-                </tr>
-                </tbody>
-            </table>
-        </div>
-    </div>
-    <div class="index-info">
-        <div class="layui-card ns-card-common">
-            <div class="layui-card-header">
-                <span class="">客户服务</span>
-            </div>
-            <div class="layui-card-body">
-                <p class="ns-text-color-dark-gray">客服电话:400-886-7993</p>
-                <p class="ns-text-color-dark-gray">官网:http://www.niushop.com.cn/</p>
-                <p class="ns-text-color-dark-gray">交流群:29507902</p>
-            </div>
-        </div>
-        <div class="layui-card ns-card-common">
-            <div class="layui-card-header">
-                <span class="">最新动态</span>
-            </div>
-            <div class="layui-card-body news-list">
-                <!--<p class="ns-text-color-dark-gray"><span class="ns-bg-color">1</span>Niushop多商户V4上线啦!</p>-->
-                <!--<p class="ns-text-color-dark-gray"><span class="ns-bg-color">2</span>Niushop多商户V4上线啦!</p>-->
-                <!--<p class="ns-text-color-dark-gray"><span class="ns-bg-color">3</span>Niushop多商户V4上线啦!</p>-->
-                <!--<p class="ns-text-color-dark-gray"><span class="ns-bg-color-gray">4</span>Niushop多商户V4上线啦!</p>-->
-                <!--<p class="ns-text-color-dark-gray"><span class="ns-bg-color-gray">5</span>Niushop多商户V4上线啦!</p>-->
-                <!--<p class="ns-text-color-dark-gray"><span class="ns-bg-color-gray">6</span>Niushop多商户V4上线啦!</p>-->
-                <!--<p class="ns-text-color-dark-gray"><span class="ns-bg-color-gray">7</span>Niushop多商户V4上线啦!</p>-->
-            </div>
-        </div>
-    </div>
-
-</div>
-
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-	var time = (new Date()).getTime();
-	var date = ns.time_to_date(time / 1000);
-	$(".ns-card-sub").text("更新时间:" + date);
-
-	/* 版本更新 */
-    $("body").on("click",".version-upgrade",function () {
-        $(this).addClass("layui-hide");
-    });
-    news();
-    //官网新闻
-
-    function news(){
-        $.ajax({
-            url: "<?php echo addon_url('admin/index/news'); ?>",
-            type: "POST",
-            dataType: "JSON",
-            success: function(res) {
-
-                if(res.code < 0 || res.data.length == 0){
-                    $(".news-list").append('<p class="ns-text-color-dark-gray"><span class="ns-bg-color">1</span>暂时没有官网资讯!</p>');
-                }else{
-                    $.each(res.data, function(key, value) {
-                        var sort = key + 1;
-                        $(".news-list").append('<p class="ns-text-color-dark-gray"><span class="ns-bg-color">'+sort+'</span><a href="'+ns.url(value.url)+'" target="_blank" >'+value.title+'!</a></p>');
-                    });
-                }
-            }
-        });
-    }
-</script>
-
-</body>
-</html>

+ 0 - 508
runtime/admin/temp/2a03c8bf6def7dc994b58a724b237365.php

@@ -1,508 +0,0 @@
-<?php /*a:2:{s:105:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\goodscategory\lists.html";i:1587195846;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-<style>
-	.goods-category-list .layui-table td {
-		border-left: 0;
-		border-right: 0;
-	}
-	.goods-category-list .layui-table .switch {
-		font-size: 16px;
-		cursor: pointer;
-		width: 12px;
-		line-height: 1;
-		display: inline-block;
-		text-align: center;
-		vertical-align: middle;
-	}
-	.goods-category-list .layui-table img {width: 40px;}
-</style>
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-collapse ns-tips">
-	<div class="layui-colla-item">
-		<h2 class="layui-colla-title">操作提示</h2>
-		<ul class="layui-colla-content layui-show">
-			<li>商品分类由平台端进行维护,商家添加商品的时候需要选择对应的商品分类,用户可以根据商品分类搜索商品。</li>
-			<li>点击商品分类名前“+”符号,显示当前商品分类的下级分类。</li>
-			<li>商品分类关联类型是前台搜索分类查询商品之后可以通过商品类型的属性进行进一步搜索。</li>
-			<li>商品分类的佣金比率是商家商品销售之后,平台获取佣金,具体佣金金额按照商品分类进行计算。</li>
-		</ul>
-	</div>
-</div>
-<div class="ns-single-filter-box">
-	<button class="layui-btn ns-bg-color" onclick="addCategory()">添加商品分类</button>
-</div>
-
-<div class="goods-category-list">
-	<table class="layui-table ns-pithy-table">
-		<colgroup>
-			<col width="3%">
-			<col width="18%">
-			<col width="15%">
-			<col width="10%">
-			<col width="10%">
-			<col width="12%">
-			<col width="10%">
-			<col width="10%">
-			<col width="12%">
-		</colgroup>
-		<thead>
-			<tr>
-				<th></th>
-				<th>分类名称</th>
-				<th>简称</th>
-				<th>图片</th>
-				<th>关联类型</th>
-				<th>平台抽成比率</th>
-				<th>是否显示</th>
-				<th>排序</th>
-				<th>操作</th>
-			</tr>
-		</thead>
-		<tbody>
-			<?php if($list): if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): if( count($list)==0 ) : echo "" ;else: foreach($list as $key=>$vo): ?>
-			<tr>
-				<td>
-					<?php if(!(empty($vo['child_list']) || (($vo['child_list'] instanceof \think\Collection || $vo['child_list'] instanceof \think\Paginator ) && $vo['child_list']->isEmpty()))): ?>
-					<span class="switch ns-text-color js-switch" data-category-id="<?php echo htmlentities($vo['category_id']); ?>" data-level="<?php echo htmlentities($vo['level']); ?>" data-open="0">+</span>
-					<?php endif; ?>
-				</td>
-				<td><?php echo htmlentities($vo['category_name']); ?></td>
-				<td><?php echo htmlentities($vo['short_name']); ?></td>
-				<td>
-					<?php if(!(empty($vo['image']) || (($vo['image'] instanceof \think\Collection || $vo['image'] instanceof \think\Paginator ) && $vo['image']->isEmpty()))): ?>
-					<div class="ns-img-box">
-						<img layer-src src="<?php echo img($vo['image']); ?>"/>
-					</div>
-					<?php endif; ?>
-				</td>
-				<td><?php echo htmlentities($vo['attr_class_name']); ?></td>
-				<td><?php echo htmlentities($vo['commission_rate']); ?>%</td>
-				<td><?php if($vo['is_show'] == 1): ?>是<?php else: ?>否<?php endif; ?></td>
-				<td><input type="number" class="layui-input ns-len-short" value="<?php echo htmlentities($vo['sort']); ?>" onchange="editSort('<?php echo htmlentities($vo['category_id']); ?>')" id="category_sort<?php echo htmlentities($vo['category_id']); ?>"></td>
-				<td>
-					<div class="ns-table-btn">
-						<a class="layui-btn" href="<?php echo addon_url('admin/goodscategory/editcategory',['category_id'=>$vo['category_id']]); ?>">编辑</a>
-						<a class="layui-btn" href="javascript:deleteCategory(<?php echo htmlentities($vo['category_id']); ?>);">删除</a>
-					</div>
-				</td>
-			</tr>
-				<?php if(!(empty($vo['child_list']) || (($vo['child_list'] instanceof \think\Collection || $vo['child_list'] instanceof \think\Paginator ) && $vo['child_list']->isEmpty()))): if(is_array($vo['child_list']) || $vo['child_list'] instanceof \think\Collection || $vo['child_list'] instanceof \think\Paginator): if( count($vo['child_list'])==0 ) : echo "" ;else: foreach($vo['child_list'] as $key=>$second): ?>
-					<tr data-category-id-1="<?php echo htmlentities($second['category_id_1']); ?>" style="display:none;">
-						<td></td>
-						<td style="padding-left: 20px;">
-							<span class="switch ns-text-color js-switch" data-category-id="<?php echo htmlentities($second['category_id']); ?>" data-level="<?php echo htmlentities($second['level']); ?>" data-open="1" style="padding-right: 20px;">-</span>
-							<span><?php echo htmlentities($second['category_name']); ?></span>
-						</td>
-						<td><?php echo htmlentities($second['short_name']); ?></td>
-						<td>
-							<?php if(!(empty($second['image']) || (($second['image'] instanceof \think\Collection || $second['image'] instanceof \think\Paginator ) && $second['image']->isEmpty()))): ?>
-							<img layer-src src="<?php echo img($second['image']); ?>"/>
-							<?php endif; ?>
-						</td>
-						<td><?php echo htmlentities($second['attr_class_name']); ?></td>
-						<td><?php echo htmlentities($second['commission_rate']); ?>%</td>
-						<td><?php if($second['is_show'] == 1): ?>是<?php else: ?>否<?php endif; ?></td>
-						<td><input type="number" class="layui-input ns-len-short" value="<?php echo htmlentities($second['sort']); ?>" onchange="editSort('<?php echo htmlentities($second['category_id']); ?>')" id="category_sort<?php echo htmlentities($second['category_id']); ?>"></td>
-						<td>
-							<div class="ns-table-btn">
-							<a class="layui-btn" href="<?php echo addon_url('admin/goodscategory/editcategory',['category_id'=>$second['category_id']]); ?>">编辑</a>
-							<a class="layui-btn" href="javascript:deleteCategory(<?php echo htmlentities($second['category_id']); ?>);">删除</a>
-							</div>
-						</td>
-					</tr>
-						<?php if(!(empty($second['child_list']) || (($second['child_list'] instanceof \think\Collection || $second['child_list'] instanceof \think\Paginator ) && $second['child_list']->isEmpty()))): if(is_array($second['child_list']) || $second['child_list'] instanceof \think\Collection || $second['child_list'] instanceof \think\Paginator): if( count($second['child_list'])==0 ) : echo "" ;else: foreach($second['child_list'] as $key=>$third): ?>
-							<tr data-category-id-1="<?php echo htmlentities($third['category_id_1']); ?>" data-category-id-2="<?php echo htmlentities($third['category_id_2']); ?>" style="display:none;">
-								<td></td>
-								<td style="padding-left: 80px;">
-									<span><?php echo htmlentities($third['category_name']); ?></span>
-								</td>
-								<td><?php echo htmlentities($third['short_name']); ?></td>
-								<td>
-									<?php if(!(empty($third['image']) || (($third['image'] instanceof \think\Collection || $third['image'] instanceof \think\Paginator ) && $third['image']->isEmpty()))): ?>
-									<img layer-src src="<?php echo img($third['image']); ?>"/>
-									<?php endif; ?>
-								</td>
-								<td><?php echo htmlentities($third['attr_class_name']); ?></td>
-								<td><?php echo htmlentities($third['commission_rate']); ?>%</td>
-								<td><?php if($third['is_show'] == 1): ?>是<?php else: ?>否<?php endif; ?></td>
-								<td><input type="number" class="layui-input ns-len-short" value="<?php echo htmlentities($third['sort']); ?>" onchange="editSort('<?php echo htmlentities($third['category_id']); ?>')" id="category_sort<?php echo htmlentities($third['category_id']); ?>"></td>
-								<td>
-									<div class="ns-table-btn">
-										<a class="layui-btn" href="<?php echo addon_url('admin/goodscategory/editcategory',['category_id'=>$third['category_id']]); ?>">编辑</a>
-										<a class="layui-btn" href="javascript:deleteCategory(<?php echo htmlentities($third['category_id']); ?>);">删除</a>
-									</div>
-								</td>
-							</tr>
-							<?php endforeach; endif; else: echo "" ;endif; ?>
-						<?php endif; ?>
-					<?php endforeach; endif; else: echo "" ;endif; ?>
-				<?php endif; ?>
-			<?php endforeach; endif; else: echo "" ;endif; else: ?>
-			<tr>
-				<td colspan="9" style="text-align: center">无数据</td>
-			</tr>
-			<?php endif; ?>
-		</tbody>
-	</table>
-</div>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-$(function () {
-	loadImgMagnify();  //图片放大
-	
-	//展开收齐点击事件
-	$(".js-switch").click(function () {
-		var category_id = $(this).attr("data-category-id");
-		var level = $(this).attr("data-level");
-		var open = parseInt($(this).attr("data-open").toString());
-		
-		if(open){
-			$(".goods-category-list .layui-table tr[data-category-id-"+ level+"='" + category_id + "']").hide();
-			$(this).text("+");
-		}else{
-			$(".goods-category-list .layui-table tr[data-category-id-"+ level+"='" + category_id + "']").show();
-			$(this).text("-");
-		}
-		$(this).attr("data-open", (open ? 0 : 1));
-		
-	});
-});
-
-function deleteCategory(category_id,level) {
-	
-	layer.confirm('子级分类也会删除,请谨慎操作', function() {
-		$.ajax({
-			url: ns.url("admin/goodscategory/deleteCategory"),
-			data: {category_id : category_id},
-			dataType: 'JSON',
-			type: 'POST',
-			async: false,
-			success: function (res) {
-				layer.msg(res.message);
-				if (res.code == 0) {
-					location.reload();
-				}
-			}
-		});
-	});
-}
-function addCategory() {
-	location.href = ns.url("admin/goodscategory/addcategory");
-}
-
-// 监听单元格编辑
-function editSort(category_id) {
-    var sort = $("#category_sort"+category_id).val();
-
-    if (!new RegExp("^-?[1-9]\\d*$").test(sort)) {
-        layer.msg("排序号只能是整数");
-        return;
-    }
-    if(sort<0){
-        layer.msg("排序号必须大于0");
-        return ;
-    }
-    $.ajax({
-        type: 'POST',
-        url: ns.url("admin/goodscategory/modifySort"),
-        data: {
-            sort: sort,
-            category_id: category_id
-        },
-        dataType: 'JSON',
-        success: function(res) {
-            layer.msg(res.message);
-            if (res.code == 0) {
-                table.reload();
-            }
-        }
-    });
-}
-</script>
-
-</body>
-</html>

+ 0 - 55
runtime/admin/temp/2ad49c3cd8eb165753863d14ff80d719.php

@@ -1,55 +0,0 @@
-<?php /*a:1:{s:41:"./app/component/view/text_nav/design.html";i:1584082780;}*/ ?>
-<nc-component v-bind:data="data[index]" v-bind:style="{backgroundColor : nc.backgroundColor}" class="text-navigation">
-
-	<!-- 预览 -->
-	<template slot="preview">
-		<template v-if="nc.lazyLoad">
-			<text-nav></text-nav>
-		</template>
-	</template>
-	
-	<!-- 编辑 -->
-	<template slot="edit">
-		
-		<font-size v-bind:data="{ value : nc.fontSize }"></font-size>
-		
-		<color></color>
-		
-		<color v-bind:data="{ field : 'backgroundColor', label : '背景颜色' }"></color>
-		
-		<text-align v-show="nc.arrangement=='vertical'"></text-align>
-
-		<template v-if="nc.lazyLoad">
-			<arrangement></arrangement>
-		</template>
-
-		<div class="text-navigation-block">
-			<ul>
-				<li v-for="(item,index) in nc.list" v-bind:key="index">
-					<div class="layui-form-item">
-						<label class="layui-form-label sm">导航名称</label>
-						<div class="layui-input-block">
-							<input type="text" v-model="item.text" placeholder="请输入导航名称" class="layui-input" />
-						</div>
-					</div>
-					<nc-link v-bind:data="{ field : nc.list[index].link }"></nc-link>
-					<i class="del" v-on:click="nc.list.splice(index,1)" v-if="index>0" data-disabled="1">x</i>
-				</li>
-			</ul>
-		</div>
-		
-		<div style="text-align: center;margin:20px 0;" v-show="nc.arrangement=='horizontal'">
-			<button class="layui-btn layui-btn-sm ns-bg-color" v-on:click='nc.list.push({ text : "『文本导航』",link : {} })'>添加</button>
-		</div>
-	
-	</template>
-	
-	<!-- 资源 -->
-	<template slot="resource">
-
-		<css src="<?php echo htmlentities($resource_path); ?>/text_nav/css/design.css"></css>
-		<js src="<?php echo htmlentities($resource_path); ?>/text_nav/js/design.js"></js>
-		
-	</template>
-
-</nc-component>

+ 0 - 47
runtime/admin/temp/2e2dd8739d192b3a152ec23fe322b6da.php

@@ -1,47 +0,0 @@
-<?php /*a:1:{s:43:"./app/component/view/rubik_cube/design.html";i:1585715429;}*/ ?>
-<nc-component v-bind:data="data[index]" v-bind:class="['rubik-cube']">
-
-	<template slot="preview">
-	
-		<template v-if="nc.list.length>0 && !nc.list[0].imageUrl">
-			<div class="tip">点击编辑魔方</div>
-		</template>
-
-		<template v-if="(nc.selectedTemplate != 'custom-rubik-cube')">
-		<ul>
-			<li v-for="item in nc.list" v-bind:class="nc.selectedTemplate">
-				<template v-if="item.imageUrl!=''">
-					<img v-bind:src="changeImgUrl(item.imageUrl)">
-				</template>
-			</li>
-		</ul>
-		</template>
-
-		<template v-else>
-			<template v-if="nc.lazyLoad">
-				<rubik-cube-diy-html v-bind:diy-html="nc.diyHtml"></rubik-cube-diy-html>
-			</template>
-		</template>
-		
-	</template>
-	
-	<template slot="edit">
-	
-		<template v-if="nc.lazyLoad">
-			<rubik-cube></rubik-cube>
-		</template>
-		
-	</template>
-	
-	<!-- 资源 -->
-	<template slot="resource">
-		
-		<js>
-		var RESOURCEPATH = "<?php echo htmlentities($resource_path); ?>";
-		</js>
-		<css src="<?php echo htmlentities($resource_path); ?>/rubik_cube/css/design.css"></css>
-		<js src="<?php echo htmlentities($resource_path); ?>/rubik_cube/js/design.js"></js>
-		
-	</template>
-
-</nc-component>

+ 0 - 560
runtime/admin/temp/3ce12139d5a4db9ded760a67a51655ba.php

@@ -1,560 +0,0 @@
-<?php /*a:2:{s:99:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\account\index.html";i:1588125720;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-<style>
-    .ns-card-brief:nth-child(1){
-        margin-top: 0;
-    }
-    .layui-card-body{
-        display: flex;
-        flex-wrap: wrap;
-        padding-bottom: 0 !important;
-        padding-left: 50px !important;
-        padding-right: 50px !important;
-    }
-    .layui-card-body .content{
-        width: 33.3%;
-        margin-bottom: 30px;
-        display: flex;
-        flex-wrap: wrap;
-        flex-direction: column;
-        justify-content: center;
-    }
-    .layui-card-body .money{
-        font-size: 20px;
-        color: #000;
-        font-weight: bold;
-        margin-top: 10px;
-        max-width: 250px;
-    }
-    .layui-card-body .subhead{
-        font-size: 12px;
-        margin-left: 3px;
-        cursor: pointer;
-    }
-</style>
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-card ns-card-common ns-card-brief">
-    <div class="layui-card-header">
-        <div>
-            <span class="ns-card-title">平台概况</span>
-        </div>
-    </div>
-    <div class="layui-card-body">
-        <div class="content">
-            <div class="title ns-prompt-block">
-				订单销售总金额(元)
-				<div class="ns-prompt">
-					<i class="iconfont iconwenhao1"></i>
-					<div class="ns-prompt-box">
-						<div class="ns-prompt-con">
-						本平台所有订单销售的总金额
-						</div>
-					</div>
-				</div>
-			</div>
-            <p class="money"><?php echo htmlentities($account['order_sum']); ?></p>
-        </div>
-        <div class="content">
-
-            <div class="title ns-prompt-block">
-                平台订单抽成(元)
-                <div class="ns-prompt">
-                    <i class="iconfont iconwenhao1"></i>
-                    <div class="ns-prompt-box">
-                        <div class="ns-prompt-con">
-                            订单周期结算后按约定抽成的总金额
-                        </div>
-                    </div>
-                </div>
-                <a href="<?php echo url('admin/shopsettlement/lists'); ?>" class="subhead ns-text-color">查看</a>
-            </div>
-            <p class="money"><?php echo htmlentities($account['account_info']); ?></p>
-        </div>
-    </div>
-</div>
-
-<div class="layui-card ns-card-common ns-card-brief">
-    <div class="layui-card-header">
-        <div>
-            <span class="ns-card-title">店铺概况</span>
-        </div>
-    </div>
-    <div class="layui-card-body">
-        <div class="content">
-            <p class="title">店铺结算总金额(元) <a href="<?php echo url('admin/shopsettlement/lists'); ?>" class="subhead ns-text-color">查看</a></p>
-            <p class="money"><?php echo htmlentities($account['shop_settlement_sum']); ?></p>
-        </div>
-        <div class="content">
-            <p class="title">店铺入驻总费用(元)<a href="<?php echo url('admin/shopaccount/fee'); ?>" class="subhead ns-text-color">查看</a></p>
-            <p class="money"><?php echo htmlentities($account['shop_fee']); ?></p>
-        </div>
-        <div class="content">
-            <p class="title">店铺总保证金(元)<a href="<?php echo url('admin/account/shopdeposit'); ?>" class="subhead ns-text-color">查看</a></p>
-            <p class="money"><?php echo htmlentities($account['shop_baozhrmb']); ?></p>
-        </div>
-        <div class="content">
-            <p class="title">已提现金额 | 提现中金额(元)<a href="<?php echo url('admin/shopaccount/withdrawlist'); ?>" class="subhead ns-text-color">查看</a></p>
-            <p class="money"><?php echo htmlentities($account['account_withdraw']); ?> | <?php echo htmlentities($account['account_withdraw_apply']); ?></p>
-        </div>
-        <div class="content">
-            <p class="title">店铺总可用余额(元)<a href="<?php echo url('admin/account/shopbalance'); ?>" class="subhead ns-text-color">查看</a></p>
-            <p class="money"><?php echo htmlentities($account['shop_baozhrmb']); ?></p>
-        </div>
-    </div>
-</div>
-
-<?php if($is_addon_city == 1): ?>
-<div class="layui-card ns-card-common ns-card-brief">
-    <div class="layui-card-header">
-        <div>
-            <span class="ns-card-title">分站概况</span>
-        </div>
-    </div>
-    <div class="layui-card-body">
-
-        <div class="content">
-            <div class="title ns-prompt-block">
-                分站总收入(元)
-                <div class="ns-prompt">
-                    <i class="iconfont iconwenhao1"></i>
-                    <div class="ns-prompt-box">
-                        <div class="ns-prompt-con">
-                            由订单结算抽成、店铺开店续签费用抽成组成
-                        </div>
-                    </div>
-                </div>
-            </div>
-            <p class="money"><?php echo htmlentities($total_account); ?></p>
-        </div>
-        <div class="content">
-            <div class="title ns-prompt-block">
-                分站总可用余额(元)
-                <div class="ns-prompt">
-                    <i class="iconfont iconwenhao1"></i>
-                    <div class="ns-prompt-box">
-                        <div class="ns-prompt-con">
-                            平台可转账给城市分站的剩余金额
-                        </div>
-                    </div>
-                </div>
-            </div>
-            <p class="money"><?php echo htmlentities($website_info['account']); ?></p>
-        </div>
-        <div class="content">
-            <div class="title ns-prompt-block">
-                分站总转账(元)
-                <div class="ns-prompt">
-                    <i class="iconfont iconwenhao1"></i>
-                    <div class="ns-prompt-box">
-                        <div class="ns-prompt-con">
-                            平台已实际转账给城市分站的总金额
-                        </div>
-                    </div>
-                </div>
-            </div>
-            <p class="money"><?php echo htmlentities($website_info['account_withdraw']); ?></p>
-        </div>
-        <div class="content">
-            <p class="title">分站店铺入驻总抽成(元)</p>
-            <p class="money"><?php echo htmlentities($website_info['account_shop']); ?></p>
-        </div>
-        <div class="content">
-            <p class="title">分站订单结算总抽成(元) </p>
-            <p class="money"><?php echo htmlentities($website_info['account_order']); ?></p>
-        </div>
-    </div>
-</div>
-<?php endif; if($is_addon_fenxiao == 1): ?>
-<div class="layui-card ns-card-common ns-card-brief">
-    <div class="layui-card-header">
-        <div>
-            <span class="ns-card-title">分销概况</span>
-        </div>
-    </div>
-    <div class="layui-card-body">
-
-        <div class="content">
-            <div class="title ns-prompt-block">
-                分销订单总金额(元)
-                <div class="ns-prompt">
-                    <i class="iconfont iconwenhao1"></i>
-                    <div class="ns-prompt-box">
-                        <div class="ns-prompt-con">
-                            分销商的订单总金额统计
-                        </div>
-                    </div>
-                </div>
-            </div>
-            <p class="money"><?php echo htmlentities($fenxiao_order_money['real_goods_money']); ?></p>
-        </div>
-        <div class="content">
-            <div class="title ns-prompt-block">
-                分销总佣金(元)
-                <div class="ns-prompt">
-                    <i class="iconfont iconwenhao1"></i>
-                    <div class="ns-prompt-box">
-                        <div class="ns-prompt-con">
-                            分销商累计总佣金统计
-                        </div>
-                    </div>
-                </div>
-            </div>
-            <p class="money"><?php echo htmlentities($fenxiao_account); ?></p>
-        </div>
-        <div class="content">
-            <div class="title ns-prompt-block">
-                提现中佣金(元)
-                <div class="ns-prompt">
-                    <i class="iconfont iconwenhao1"></i>
-                    <div class="ns-prompt-box">
-                        <div class="ns-prompt-con">
-                            分销商提现待审核佣金统计
-                        </div>
-                    </div>
-                </div>
-            </div>
-            <p class="money"><?php echo htmlentities($account_data['account_withdraw_apply']); ?></p>
-        </div>
-        <div class="content">
-            <div class="title ns-prompt-block">
-                已提现佣金(元)
-                <div class="ns-prompt">
-                    <i class="iconfont iconwenhao1"></i>
-                    <div class="ns-prompt-box">
-                        <div class="ns-prompt-con">
-                            分销商已提现的佣金统计
-                        </div>
-                    </div>
-                </div>
-            </div>
-            <p class="money"><?php echo htmlentities($account_data['account_withdraw']); ?></p>
-        </div>
-
-
-    </div>
-</div>
-<?php endif; ?>
-
-<div class="layui-card ns-card-common ns-card-brief">
-    <div class="layui-card-header">
-        <div>
-            <span class="ns-card-title">会员概况</span>
-        </div>
-    </div>
-    <div class="layui-card-body">
-        <?php if($is_memberwithdraw == 1): ?>
-        <div class="content">
-            <p class="title">会员可提现余额(元)</p>
-            <p class="money"><?php echo htmlentities($member_balance_sum['balance_money']); ?></p>
-        </div>
-        <div class="content">
-            <p class="title">会员已提现余额(元)</p>
-            <p class="money"><?php echo htmlentities($member_balance_sum['balance_withdraw']); ?></p>
-        </div>
-        <div class="content">
-            <p class="title">会员提现中余额(元)</p>
-            <p class="money"><?php echo htmlentities($member_balance_sum['balance_withdraw_apply']); ?></p>
-        </div>
-        <div class="content">
-            <p class="title">不可提现余额(元)</p>
-            <p class="money"><?php echo htmlentities($member_balance_sum['balance']); ?></p>
-        </div>
-
-        <?php else: ?>
-        <div class="content">
-            <p class="title">会员总余额(元)</p>
-            <p class="money"><?php echo htmlentities($member_balance); ?></p>
-        </div>
-        <?php endif; ?>
-
-    </div>
-</div>
-
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-
-</body>
-</html>

+ 0 - 59
runtime/admin/temp/4e8762683b1ea5c0ea2ff79beb711cf6.php

@@ -1,59 +0,0 @@
-<?php /*a:1:{s:43:"./app/component/view/goods_list/design.html";i:1583820989;}*/ ?>
-<nc-component v-bind:data="data[index]" class="goods-list">
-
-	<!-- 预览 -->
-	<template slot="preview">
-		
-		<div class="control-goods-list-small">
-			<ul>
-				<li>
-					<div class="control-thumbnail blue-bg">第一个商品</div>
-					<h5 class="control-goods-name">商品名称</h5>
-					<div class="control-goods-price">
-						<em>¥638.24</em>
-					</div>
-				</li>
-				<li>
-					<div class="control-thumbnail pink-bg">第二个商品</div>
-					<h5 class="control-goods-name">商品名称</h5>
-					<div class="control-goods-price">
-						<em>¥148.18</em>
-					</div>
-				</li>
-				<li>
-					<div class="control-thumbnail green-bg">第三个商品</div>
-					<h5 class="control-goods-name">商品名称</h5>
-					<div class="control-goods-price">
-						<em>¥633.05</em>
-					</div>
-				</li>
-				<li>
-					<div class="control-thumbnail orange-bg">第N个商品</div>
-					<h5 class="control-goods-name">商品名称</h5>
-					<div class="control-goods-price">
-						<em>¥264.67</em>
-					</div>
-				</li>
-			</ul>
-		</div>
-		
-	</template>
-
-	<!-- 编辑 -->
-	<template slot="edit">
-		
-		<template v-if="nc.lazyLoad">
-			<goods-list></goods-list>
-		</template>
-		
-	</template>
-	
-	<!-- 资源 -->
-	<template slot="resource">
-
-		<css src="<?php echo htmlentities($resource_path); ?>/goods_list/css/design.css"></css>
-		<js src="<?php echo htmlentities($resource_path); ?>/goods_list/js/design.js"></js>
-		
-	</template>
-	
-</nc-component>

+ 0 - 415
runtime/admin/temp/5401d78903b7d46ad8667f0648b29143.php

@@ -1,415 +0,0 @@
-<?php /*a:2:{s:102:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\config\copyright.html";i:1587196808;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-form">
-	<div class="layui-card ns-card-common ns-card-brief">
-		<div class="layui-card-header">
-			<span class="ns-card-title">版权设置</span>
-		</div>
-		<div class="layui-card-body">
-			<div class="layui-form-item">
-				<label class="layui-form-label">版权logo:</label>
-				<div class="layui-input-block">
-					<input type="hidden" name="logo" value="<?php echo htmlentities($copyright['logo']); ?>" />
-					<div class="upload-img-block icon">
-						<div class="upload-img-box" id="webLogoUpload">
-							<?php if($copyright['logo']): ?>
-							<img src="<?php echo img($copyright['logo']); ?>" />
-							<?php else: ?>
-							<div class="ns-upload-default">
-								<img src="http://yueshengshop.top/public/static/img/upload_img.png" />
-								<p>点击上传</p>
-							</div>
-							<?php endif; ?>
-						</div>
-					</div>
-				</div>
-			</div>
-			
-			<div class="layui-form-item">
-				<label class="layui-form-label">公司名称:</label>
-				<div class="layui-input-block">
-					<input type="text" name="company_name" value="<?php echo htmlentities($copyright['company_name']); ?>" autocomplete="off" class="layui-input ns-len-long">
-				</div>
-			</div>
-			
-			<div class="layui-form-item">
-				<label class="layui-form-label">版权链接:</label>
-				<div class="layui-input-block">
-					<input type="text" name="copyright_link" value="<?php echo htmlentities($copyright['copyright_link']); ?>" autocomplete="off" class="layui-input ns-len-long">
-				</div>
-			</div>
-			
-			<div class="layui-form-item">
-				<label class="layui-form-label">版权信息:</label>
-				<div class="layui-input-block">
-					<textarea name="copyright_desc" class="layui-textarea ns-len-long"><?php echo htmlentities($copyright['copyright_desc']); ?></textarea>
-				</div>
-			</div>
-		</div>
-	</div>
-	
-	<div class="layui-card ns-card-common ns-card-brief">
-		<div class="layui-card-header">
-			<span class="ns-card-title">备案设置</span>
-		</div>
-		<div class="layui-card-body">
-			<div class="layui-form-item">
-				<label class="layui-form-label">网站ICP备案号:</label>
-				<div class="layui-input-block">
-					<input type="text" name="icp"  value="<?php echo htmlentities($copyright['icp']); ?>" autocomplete="off" class="layui-input ns-len-long">
-				</div>
-			</div>
-			
-			<div class="layui-form-item">
-				<label class="layui-form-label">网站公安备案:</label>
-				<div class="layui-input-block">
-					<input type="text" name="gov_record"  value="<?php echo htmlentities($copyright['gov_record']); ?>" autocomplete="off" class="layui-input ns-len-long">
-				</div>
-			</div>
-			
-			<div class="layui-form-item">
-				<label class="layui-form-label">网站公安链接:</label>
-				<div class="layui-input-block">
-					<input type="text" name="gov_url"  value="<?php echo htmlentities($copyright['gov_url']); ?>" autocomplete="off" class="layui-input ns-len-long">
-				</div>
-			</div>
-		</div>
-	</div>
-	
-	<div class="ns-single-filter-box">
-		<div class="ns-form-row">
-			<button type="button" class="layui-btn ns-bg-color" lay-submit lay-filter="save">保存</button>
-		</div>
-	</div>
-</div>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-	layui.use(['form', 'upload'], function() {
-		var form = layui.form,
-			upload = layui.upload,
-			repeat_flag = false; //防重复
-		form.render();
-
-		//上传logo
-		var uploadInst = upload.render({
-			elem: '#webLogoUpload',
-			url: ns.url("admin/upload/upload"),
-			done: function(res) {
-				if (res.code >= 0) {
-					$("input[name='logo']").val(res.data.pic_path);
-					$("#webLogoUpload").html("<img src=" + ns.img(res.data.pic_path) + " >");
-				}
-				return layer.msg(res.message);
-			}
-		});
-		
-		//保存配置
-		form.on('submit(save)', function(data) {
-			if(repeat_flag) return;
-			repeat_flag = true;
-
-			$.ajax({
-				url: ns.url("admin/config/copyright"),
-				data: data.field,
-				dataType: 'JSON',
-				type: 'POST',
-				success: function(res) {
-					layer.msg(res.message);
-					repeat_flag = false;
-					if (res.code == 0) {
-						location.reload();
-					}
-				}
-			});
-		});
-	});
-	
-</script>
-
-</body>
-</html>

+ 0 - 346
runtime/admin/temp/598fc8d3b0af608ae82aabfafaea1b48.php

@@ -1,346 +0,0 @@
-<?php /*a:2:{s:96:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\config\pay.html";i:1587039196;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<!-- 列表 -->
-<table id="pay_list" lay-filter="pay_list"></table>
-
-<!-- 支付方式 -->
-<script type="text/html" id="payment">
-	<div class="ns-table-tuwen-box">
-		<div class="ns-img-box">
-			<img layer-src  src="{{ns.img(d.logo.split(',')[0])}}"/>
-		</div>
-		<div class="ns-font-box">
-			{{d.pay_type_name}}
-		</div>
-		</div>
-</script>
-
-<!-- 操作 -->
-<script type="text/html" id="operation">
-	<div class="ns-table-btn">
-		<a class="layui-btn" lay-event="edit" href="{{ns.url(d.edit_url)}}">配置</a>
-	</div>
-</script>
-
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-	var table = new Table({
-		elem: '#pay_list',
-		url: ns.url("admin/config/pay"),
-		page: false,
-		parseData: function(data) { //res 即为原始返回的数据
-			return {
-				"code": data.code,
-				"msg": data.message,
-				"data": data.data,
-			};
-		},
-		cols: [
-			[{
-				field: 'pay_type_name',
-				title: '支付方式名称',
-				width: '30%',
-				unresize: 'false',
-				templet: '#payment'
-			}, {
-				field: 'desc',
-				title: '支付方式描述',
-				width: '60%',
-				unresize: 'false'
-			}, {
-				title: '操作',
-				width: '10%',
-				toolbar: '#operation',
-				unresize: 'false'
-			}]
-		],
-	});
-</script>
-
-</body>
-</html>

+ 0 - 477
runtime/admin/temp/5c7639379af67fdd0a65f2b9ea6addc0.php

@@ -1,477 +0,0 @@
-<?php /*a:2:{s:95:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\diy\lists.html";i:1586852548;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-<style>
-	.layui-table-view td:last-child>div{overflow: inherit;}
-	.operation-wrap{position: relative;}
-	.layui-table-box{overflow: inherit;}
-	.layui-table-body{overflow: inherit;}
-	.popup-qrcode-wrap{text-align: center;background: #fff;border-radius: 2px;box-shadow: 0 2px 8px 0 rgba(200,201,204,.5);padding: 10px;position: absolute;z-index: 1;top: -73px;left: -180px;display: none;width: 170px;height: 230px;}
-	.popup-qrcode-wrap:before, .popup-qrcode-wrap:after {left: 100%;top: 50%;border: solid transparent;content: " ";height: 0;width: 0;position: absolute;pointer-events: none;}
-	.popup-qrcode-wrap:before {border-color: transparent;border-left-color: #e5e5e5;border-width: 8px;margin-top: -29px;}
-	.popup-qrcode-wrap:after {border-color: transparent;border-left-color: #ffffff;border-width: 7px;margin-top: -31px;}
-	.popup-qrcode-wrap img{width: 150px;height: 150px;max-width: initial;}
-	.popup-qrcode-wrap p{font-size: 12px;margin: 5px 0;line-height: 1.8!important;}
-	.popup-qrcode-wrap a{font-size: 12px;}
-	.popup-qrcode-wrap input{opacity: 0;position: absolute;}
-	.popup-qrcode-wrap .popup-qrcode-loadimg {width: 16px!important; height: 16px!important; margin-top: 107px;}
-</style>
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-collapse ns-tips">
-	<div class="layui-colla-item">
-		<h2 class="layui-colla-title">操作提示</h2>
-		<ul class="layui-colla-content layui-show">
-			<li>微页面是用户打开的具体内容页面,您可以完全实现自定义页面,不同模块组合及样式的自由编辑。</li>
-			<li>好的页面可以吸引客户浏览的兴趣,快速找到自己想要买的商品,给客户带来良好的购物体验,最终实现高的转化率。</li>
-			<li>创建不同活动页面,实现线上推广转化,提升网店的传播量。</li>
-			<li>满足不同商家各种场景下页面的样式及推广诉求。</li>
-		</ul>
-	</div>
-</div>
-
-<div class="ns-single-filter-box">
-	<button class="layui-btn ns-bg-color" onclick="location.href = ns.url('admin/diy/edit')">新建页面</button>
-</div>
-
-<div class="nc-table-box">
-	<table id="diy_list" lay-filter="diy_list"></table>
-</div>
-
-<script type="text/html" id="operation">
-	<div class="operation-wrap" data-id="{{d.id}}">
-		<div class="ns-table-btn">
-			<div class="popup-qrcode-wrap"><img class="popup-qrcode-loadimg" src="http://yueshengshop.top/public/static/loading/loading.gif" /></div>
-			<a class="layui-btn" lay-event="promote">推广</a>
-			<a class="layui-btn" lay-event="edit">编辑</a>
-			<a class="layui-btn" lay-event="delete">删除</a>
-		</div>
-	</div>
-</script>
-
-<script type="text/html" id="batchOperation">
-	<button class="layui-btn layui-btn-primary" lay-event="delete">批量删除</button>
-</script>
-
-<!-- 推广 -->
-<script type="text/html" id="promote">
-	{{# if(d.path.h5.status == 1){ }}
-	<img src="{{ ns.img(d.path.h5.img) }}" alt="推广二维码">
-	<p class="qrcode-item-description">扫码后直接访问页面</p>
-	<a class="ns-text-color" href="javascript:ns.copy('h5_url_{{ d.id }}');">复制链接</a>
-	<a class="ns-text-color" href="{{ ns.img(d.path.h5.img) }}" download>下载二维码</a>
-	<input class="layui-input nc-len-mid" type="text" value="{{ d.path.h5.url }}" id="h5_url_{{ d.id }}" readonly>
-	{{# } }}
-</script>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-	var laytpl;
-	layui.use([ 'laytpl'], function () {
-		laytpl = layui.laytpl;
-	});
-	var table = new Table({
-		elem: '#diy_list',
-		filter: "diy_list",
-		url: ns.url("admin/diy/lists"),
-		cols: [[{
-			width: '3%',
-			type: 'checkbox',
-			unresize: 'true'
-		}, {
-			field: 'title',
-			width: '32%',
-			title: '名称',
-			unresize: 'true'
-		}, {
-			field: 'name',
-			width: '30%',
-			title: '标识',
-			unresize: 'true'
-		}, {
-			width: '20%',
-			title: '创建时间',
-			unresize: 'true',
-			templet: function (d) {
-				return ns.time_to_date(d.create_time);
-			}
-		}, {
-			title: '操作',
-			toolbar: '#operation',
-			unresize: 'true',
-			width: '15%',
-		}]],
-		bottomToolbar: "#batchOperation"
-	});
-	
-	//监听工具条
-	table.tool(function(obj) {
-		var data = obj.data;
-		if (obj.event === 'promote') {
-			promote(data.id);
-		} else if (obj.event === 'edit') {
-			location.href = ns.url("admin/diy/edit", {
-				id: data.id,
-				name: data.name
-			});
-		} else if (obj.event == "delete") {
-			layer.confirm('确定要删除该微页面吗', function (index) {
-				$.ajax({
-					type: "post",
-					url: ns.url("admin/diy/deleteSiteDiyView"),
-					data: {'id': data.id},
-					dataType: "JSON",
-					success: function (res) {
-						layer.msg(res.message);
-						if (res.code == 0) {
-							table.reload();
-						}
-					}
-				});
-				layer.close(index);
-			});
-		}
-	});
-	
-	//批量操作
-	table.bottomToolbar(function(obj) {
-		
-		if(obj.data.length < 1){
-			layer.msg('请选择要操作的数据');
-			return;
-		}
-		
-		switch (obj.event) {
-			case "delete":
-				layer.confirm('确定要删除微页面吗', function (index) {
-					var id_array = new Array();
-					for (i in obj.data) id_array.push(obj.data[i].id);
-					$.ajax({
-						url: ns.url("admin/diy/deleteSiteDiyView"),
-						data: {'id': id_array.toString()},
-						dataType: "JSON",
-						success: function (res) {
-							layer.msg(res.message);
-							if (res.code == 0) {
-								table.reload();
-							}
-						}
-					});
-					layer.close(index);
-				});
-				break;
-		}
-	});
-	
-	function promote(id) {
-		$(".operation-wrap[data-id='" + id + "'] .popup-qrcode-wrap").show();
-		$.ajax({
-			type: "POST",
-			url: ns.url("admin/diy/promote"),
-			data: {
-				'id': id,
-			},
-			dataType: 'JSON',
-			success: function (res) {
-				if(res.data.path.h5.status == 1) {
-					res.data.id = id;
-					laytpl($("#promote").html()).render(res.data, function (html) {
-						$(".operation-wrap[data-id='" + id + "'] .popup-qrcode-wrap").html(html).show();
-						
-						$("body").click(function (e) {
-							if (!$(e.target).closest(".popup-qrcode-wrap").length) {
-								$(".operation-wrap[data-id='" + id + "'] .popup-qrcode-wrap").hide();
-							}
-						});
-					});
-				}else{
-					layer.msg(res.data.path.h5.message);
-				}
-			}
-		});
-	}
-</script>
-
-</body>
-</html>

+ 0 - 83
runtime/admin/temp/5e4b11c4789565c1468bd922e8e10229.php

@@ -1,83 +0,0 @@
-<?php /*a:1:{s:42:"./app/component/view/image_ads/design.html";i:1585903951;}*/ ?>
-<nc-component v-bind:data="data[index]" class="image-ads">
-	
-	<!-- 预览 -->
-	<template slot="preview">
-		
-		<template v-if="nc.selectedTemplate!='carousel-posters'">
-			<div v-for="(item,index) in nc.list" class="image-ads-item"
-			     v-bind:style="{ marginBottom : ( nc.selectedTemplate=='vertically' ? (nc.imageClearance+'px') : '' ),marginRight : ( nc.selectedTemplate=='horizontal-sliding' ? (nc.imageClearance+'px') : '' ),padding : ( nc.selectedTemplate=='vertically' ? ('0 '+ nc.padding+'px') : '' ) }"
-			     v-bind:class="[nc.selectedTemplate]">
-				
-				<p v-show="item.imageUrl==''">
-					<span>点击编辑图片广告</span>
-				</p>
-				<div v-show="item.imageUrl">
-					<img v-bind:src="changeImgUrl(item.imageUrl)" draggable="false"/>
-				</div>
-				
-				<span v-show="item.title">{{item.title}}</span>
-			
-			</div>
-		</template>
-		
-		<template v-if="nc.lazyLoad && nc.selectedTemplate=='carousel-posters'">
-			<image-ads-carouse v-bind:index="index"></image-ads-carouse>
-		</template>
-	
-	</template>
-	
-	<!-- 编辑 -->
-	<template slot="edit">
-		
-		<div class="layui-form-item">
-			<label class="layui-form-label sm">选择模板</label>
-			<div class="layui-input-block">
-				<div class="selected-template-list">
-					<ul>
-						<li v-bind:class="[nc.selectedTemplate == 'carousel-posters' ? 'ns-border-color ns-text-color' : '']"
-						    v-on:click="nc.selectedTemplate = 'carousel-posters'">
-							<img src="<?php echo htmlentities($resource_path); ?>/image_ads/img/carousel_posters.png">
-							<div>轮播海报</div>
-						</li>
-						<li v-bind:class="[nc.selectedTemplate == 'vertically' ? 'ns-border-color ns-text-color' : '']"
-						    v-on:click="nc.selectedTemplate = 'vertically'">
-							<img src="<?php echo htmlentities($resource_path); ?>/image_ads/img/ads_vertically.png">
-							<div>垂直排列</div>
-						</li>
-						<li v-bind:class="[nc.selectedTemplate == 'horizontal-sliding' ? 'ns-border-color ns-text-color' : '']"
-						    v-on:click="nc.selectedTemplate = 'horizontal-sliding'">
-							<img src="<?php echo htmlentities($resource_path); ?>/image_ads/img/horizontal_sliding.png">
-							<div>横向滑动</div>
-						</li>
-					</ul>
-				</div>
-			</div>
-		</div>
-		
-		<div class="layui-form-item" v-show="nc.selectedTemplate == 'carousel-posters'">
-			<label class="layui-form-label sm">图片高度</label>
-			<div class="layui-input-block">
-				<input type="text" v-model="nc.height" placeholder="请输入图片高度" class="layui-input">
-			</div>
-		</div>
-		
-		<slide v-show="nc.selectedTemplate != 'carousel-posters'" v-bind:data="{ field : 'padding', label : '左右边距' }"></slide>
-		
-		<slide v-show="nc.selectedTemplate != 'carousel-posters'" v-bind:data="{ field : 'imageClearance', label : '图片间隙' }"></slide>
-		
-		<template v-if="nc.lazyLoad">
-			<image-ads-list></image-ads-list>
-		</template>
-	
-	</template>
-	
-	<!-- 资源 -->
-	<template slot="resource">
-		
-		<css src="<?php echo htmlentities($resource_path); ?>/image_ads/css/design.css"></css>
-		<js src="<?php echo htmlentities($resource_path); ?>/image_ads/js/design.js"></js>
-	
-	</template>
-
-</nc-component>

+ 0 - 786
runtime/admin/temp/600949ebbd7839848e37f7d78bbc6591.php

@@ -1,786 +0,0 @@
-<?php /*a:2:{s:96:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\shop\lists.html";i:1587986844;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-collapse ns-tips">
-	<div class="layui-colla-item">
-		<h2 class="layui-colla-title">操作提示</h2>
-		<ul class="layui-colla-content layui-show">
-			<li>当前页面对店铺的信息进行管理,可以添加店铺,查看店铺账户信息,认证信息等。</li>
-		</ul>
-	</div>
-</div>
-
-<div class="ns-single-filter-box">
-   <button class="layui-btn ns-bg-color" onclick="clickAdd()">添加店铺</button>
-</div>
-
-<div class="ns-screen layui-collapse">
-	<div class="layui-colla-item">
-		<h2 class="layui-colla-title">筛选</h2>
-
-		<?php if($is_addon_city == 1): ?>
-		<form class="layui-colla-content layui-form layui-show">
-			<div class="layui-form-item">
-				<div class="layui-inline">
-					<label class="layui-form-label">店铺名称:</label>
-					<div class="layui-input-inline">
-						<input type="text" id="search_text" name="search_text" placeholder="请输入店铺名称" class="layui-input">
-					</div>
-				</div>
-
-				<div class="layui-inline">
-					<label class="layui-form-label">主营行业:</label>
-					<div class="layui-input-inline">
-						<select name="category_id" lay-filter="category_id">
-							<option value="">全部</option>
-							<?php if(is_array($shop_category_list) || $shop_category_list instanceof \think\Collection || $shop_category_list instanceof \think\Paginator): $i = 0; $__LIST__ = $shop_category_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$category): $mod = ($i % 2 );++$i;?>
-							<option value="<?php echo htmlentities($category['category_id']); ?>"><?php echo htmlentities($category['category_name']); ?></option>
-							<?php endforeach; endif; else: echo "" ;endif; ?>
-						</select>
-					</div>
-				</div>
-
-				<div class="layui-inline">
-					<label class="layui-form-label">开店套餐:</label>
-					<div class="layui-input-inline">
-						<select name="group_id" lay-filter="group_id">
-							<option value="">全部</option>
-							<?php if(is_array($shop_group_list) || $shop_group_list instanceof \think\Collection || $shop_group_list instanceof \think\Paginator): $i = 0; $__LIST__ = $shop_group_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$group): $mod = ($i % 2 );++$i;?>
-							<option value="<?php echo htmlentities($group['group_id']); ?>"><?php echo htmlentities($group['group_name']); ?></option>
-							<?php endforeach; endif; else: echo "" ;endif; ?>
-						</select>
-					</div>
-				</div>
-			</div>
-			<div class="layui-form-item">
-
-				<div class="layui-inline">
-					<label class="layui-form-label">店铺状态:</label>
-					<div class="layui-input-inline">
-						<select name="shop_status" lay-filter="status">
-							<option value="">全部</option>
-							<option value="1">正常</option>
-							<option value="0">已关闭</option>
-						</select>
-					</div>
-				</div>
-
-				<div class="layui-inline">
-					<label class="layui-form-label">是否认证:</label>
-					<div class="layui-input-inline">
-						<select name="cert_id" lay-filter="">
-							<option value="">全部</option>
-							<option value="2">是</option>
-							<option value="1">否</option>
-						</select>
-					</div>
-				</div>
-
-				<div class="layui-inline">
-					<label class="layui-form-label">是否自营:</label>
-					<div class="layui-input-inline">
-						<select name="is_own" lay-filter="status">
-							<option value="">全部</option>
-							<option value="1">是</option>
-							<option value="0">否</option>
-						</select>
-					</div>
-				</div>
-			</div>
-
-			<div class="layui-form-item">
-				<div class="layui-inline">
-					<label class="layui-form-label">到期时间:</label>
-					<!-- <div class="layui-input-inline">
-						<input type="text" class="layui-input" name="expire_time" id="expire_time" autocomplete="off" >
-					</div> -->
-					<div class="layui-input-inline">
-					    <input type="text" class="layui-input" name="start_time"  id="start_time" autocomplete="off" placeholder="开始时间" readonly>
-						<i class="ns-calendar"></i>
-					</div>
-					<div class="layui-form-mid">-</div>
-					<div class="layui-input-inline">
-					    <input type="text" class="layui-input" name="end_time" id="end_time" autocomplete="off" placeholder="结束时间" readonly>
-						<i class="ns-calendar"></i>
-					</div>
-				</div>
-
-				<div class="layui-inline">
-					<label class="layui-form-label">城市分站:</label>
-					<div class="layui-input-inline">
-						<select name="website_id" lay-filter="" lay-search="">
-							<option value="">请选择城市分站</option>
-							<?php foreach($website_list as $website_k => $website_v): if($website_v['site_id'] == 0): ?>
-							<option value="-1">无</option>
-							<?php else: ?>
-							<option value="<?php echo htmlentities($website_v['site_id']); ?>"><?php echo htmlentities($website_v['site_area_name']); ?></option>
-							<?php endif; ?>
-							<?php endforeach; ?>
-						</select>
-					</div>
-				</div>
-			</div>
-
-			<div class="ns-form-row">
-				<button class="layui-btn ns-bg-color" lay-submit lay-filter="search_website">筛选</button>
-				<button class="layui-btn ns-bg-color" lay-submit lay-filter="export">导出</button>
-				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
-			</div>
-		</form>
-		<?php else: ?>
-		<form class="layui-colla-content layui-form layui-show">
-			<div class="layui-form-item">
-				<div class="layui-inline">
-					<label class="layui-form-label">店铺名称:</label>
-					<div class="layui-input-inline">
-						<input type="text" id="search_text" name="search_text" placeholder="请输入店铺名称" class="layui-input">
-					</div>
-				</div>
-				<div class="layui-inline">
-					<label class="layui-form-label">开店套餐:</label>
-					<div class="layui-input-inline">
-						<select name="group_id" lay-filter="group_id">
-							<option value="">全部</option>
-							<?php if(is_array($shop_group_list) || $shop_group_list instanceof \think\Collection || $shop_group_list instanceof \think\Paginator): $i = 0; $__LIST__ = $shop_group_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$group): $mod = ($i % 2 );++$i;?>
-							<option value="<?php echo htmlentities($group['group_id']); ?>"><?php echo htmlentities($group['group_name']); ?></option>
-							<?php endforeach; endif; else: echo "" ;endif; ?>
-						</select>
-					</div>
-				</div>
-				<div class="layui-inline">
-					<label class="layui-form-label">店铺状态:</label>
-					<div class="layui-input-inline">
-						<select name="shop_status" lay-filter="status">
-							<option value="">全部</option>
-							<option value="1">正常</option>
-							<option value="0">已关闭</option>
-						</select>
-					</div>
-				</div>
-			</div>
-			<div class="layui-form-item">
-				<div class="layui-inline">
-					<label class="layui-form-label">主营行业:</label>
-					<div class="layui-input-inline">
-						<select name="category_id" lay-filter="category_id">
-							<option value="">全部</option>
-							<?php if(is_array($shop_category_list) || $shop_category_list instanceof \think\Collection || $shop_category_list instanceof \think\Paginator): $i = 0; $__LIST__ = $shop_category_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$category): $mod = ($i % 2 );++$i;?>
-							<option value="<?php echo htmlentities($category['category_id']); ?>"><?php echo htmlentities($category['category_name']); ?></option>
-							<?php endforeach; endif; else: echo "" ;endif; ?>
-						</select>
-					</div>
-				</div>
-
-				<div class="layui-inline">
-					<label class="layui-form-label">是否认证:</label>
-					<div class="layui-input-inline">
-						<select name="cert_id" lay-filter="">
-							<option value="">全部</option>
-							<option value="2">是</option>
-							<option value="1">否</option>
-						</select>
-					</div>
-				</div>
-				<div class="layui-inline">
-					<label class="layui-form-label">是否自营:</label>
-					<div class="layui-input-inline">
-						<select name="is_own" lay-filter="status">
-							<option value="">全部</option>
-							<option value="1">是</option>
-							<option value="0">否</option>
-						</select>
-					</div>
-				</div>
-			</div>
-
-			<div class="layui-form-item">
-				<div class="layui-inline">
-					<label class="layui-form-label">到期时间:</label>
-					<!-- <div class="layui-input-inline">
-						<input type="text" class="layui-input" name="expire_time" id="expire_time" autocomplete="off" >
-					</div> -->
-					<div class="layui-input-inline">
-					    <input type="text" class="layui-input" name="start_time"  id="start_time" autocomplete="off" placeholder="开始时间" readonly>
-						<i class="ns-calendar"></i>
-					</div>
-					<div class="layui-form-mid">-</div>
-					<div class="layui-input-inline">
-					    <input type="text" class="layui-input" name="end_time" id="end_time" autocomplete="off" placeholder="结束时间" readonly>
-						<i class="ns-calendar"></i>
-					</div>
-				</div>
-			</div>
-
-			<div class="ns-form-row">
-				<button class="layui-btn ns-bg-color" lay-submit lay-filter="search">筛选</button>
-				<button class="layui-btn ns-bg-color" lay-submit lay-filter="export">导出</button>
-				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
-			</div>
-		</form>
-		<?php endif; ?>
-	</div>
-</div>
-
-<!-- 列表 -->
-<?php if($is_addon_city == 1): ?>
-<table id="shop_website_list" lay-filter="shop_website_list"></table>
-<?php else: ?>
-<table id="shop_list" lay-filter="shop_list"></table>
-<?php endif; ?>
-
-<!-- 是否自营 -->
-<script type="text/html" id="is_own">
-	{{ d.is_own == 1 ? '是' : '否' }}
-</script>
-
-<!-- 状态 -->
-<script type="text/html" id="status">
-	{{ d.shop_status == 1 ? '正常' : '关闭' }}
-</script>
-
-<!-- 工具栏操作 -->
-<script type="text/html" id="operation">
-	<div class="ns-table-btn">
-		<a class="layui-btn" lay-event="basic">店铺管理</a>
-		<!-- <a class="layui-btn" lay-event="basic">基本信息</a> -->
-		<a class="layui-btn" lay-event="identify">认证信息</a>
-		<!-- <a class="layui-btn" lay-event="settlement">银行账户</a> -->
-		<!-- <a class="layui-btn" lay-event="account">账户信息</a> -->
-	</div>
-</script>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-	layui.use(['form', 'laydate'], function() {
-		var table, table_website,
-			form = layui.form,
-			laydate = layui.laydate;
-		form.render();
-
-		//渲染时间
-		laydate.render({
-			elem: '#start_time',
-			type: 'datetime'
-		});
-		
-		laydate.render({
-			elem: '#end_time',
-			type: 'datetime'
-		});
-		
-		/**
-		 * 渲染表格
-		 */
-		table = new Table({
-			elem: '#shop_list',
-			url: ns.url("admin/shop/lists"),
-			cols: [
-				[{
-					field: 'site_name',
-					title: '店铺名称',
-					width: '12%',
-					unresize: 'false',
-					// templet: '<div><div class="layui-elip">店铺名称:{{d.site_name}}<div class="layui-elip">卖家账号:{{d.username}}</div>'
-				}, {
-					field: 'username',
-					title: '商家账号',
-					width: '8%',
-					unresize: 'false'
-				}, {
-					field: 'group_name',
-					title: '开店套餐',
-					width: '10%',
-					unresize: 'false'
-				}, {
-					field: 'category_name',
-					title: '主营行业',
-					width: '8%',
-					unresize: 'false'
-				}, {
-					field: 'is_own',
-					title: '是否自营',
-					width: '8%',
-					unresize: 'false',
-					templet: '#is_own'
-				}, {
-					field: 'cert_id',
-					title: '店铺认证',
-					width: '8%',
-					unresize: 'false',
-					templet: function(data) {
-						return data.cert_id == 0 ? '<span style="color: red">未认证</span>' : '<span style="color: green">已认证</span>';
-					}
-				}, {
-					field: 'shop_status',
-					title: '店铺状态',
-					width: '8%',
-					templet: '#status',
-					unresize: 'false'
-				}, {
-					field: 'create_time',
-					title: '入驻时间',
-					width: '12%',
-					unresize: 'false',
-					templet: function(data) {
-						return ns.time_to_date(data.create_time);
-					}
-				}, {
-					field: 'expire_time',
-					title: '到期时间',
-					width: '12%',
-					unresize: 'false',
-					templet: function(data) {
-						return ns.time_to_date(data.expire_time);
-					}
-				}, {
-					title: '操作',
-					width: '12%',
-					toolbar: '#operation',
-					unresize: 'false'
-				}]
-			]
-		});
-		
-		// 有城市分站
-		table_website = new Table({
-			elem: '#shop_website_list',
-			url: ns.url("city://admin/shop/lists"),
-			cols: [
-				[{
-					field: 'site_name',
-					title: '店铺名称',
-					width: '12%',
-					unresize: 'false',
-				}, {
-					field: 'username',
-					title: '商家账号',
-					width: '8%',
-					unresize: 'false'
-				}, {
-					field: 'group_name',
-					title: '开店套餐',
-					width: '10%',
-					unresize: 'false'
-				}, {
-					field: 'category_name',
-					title: '主营行业',
-					width: '8%',
-					unresize: 'false'
-				}, {
-					field: 'is_own',
-					title: '是否自营',
-					width: '8%',
-					unresize: 'false',
-					templet: '#is_own'
-				}, {
-					field: 'site_area_name',
-					title: '城市分站',
-					width: '8%',
-					unresize: 'false',
-					templet: function(data) {
-						return data.site_area_name == '全国' ? '--' : data.site_area_name;
-					}
-				}, {
-					field: 'cert_id',
-					title: '店铺认证',
-					width: '7%',
-					unresize: 'false',
-					templet: function(data) {
-						return data.cert_id == 0 ? '<span style="color: red">未认证</span>' : '<span style="color: green">已认证</span>';
-					}
-				}, {
-					field: 'shop_status',
-					title: '店铺状态',
-					width: '7%',
-					templet: '#status',
-					unresize: 'false'
-				}, {
-					field: 'create_time',
-					title: '入驻时间',
-					width: '10%',
-					unresize: 'false',
-					templet: function(data) {
-						return ns.time_to_date(data.create_time);
-					}
-				}, {
-					field: 'expire_time',
-					title: '到期时间',
-					width: '10%',
-					unresize: 'false',
-					templet: function(data) {
-						return ns.time_to_date(data.expire_time);
-					}
-				}, {
-					title: '操作',
-					width: '10%',
-					toolbar: '#operation',
-					unresize: 'false'
-				}]
-			]
-		});
-		
-		
-		/**
-		 * 搜索功能
-		 */
-		form.on('submit(search)', function(data) {
-			table.reload({
-				page: {
-					curr: 1
-				},
-				where: data.field
-			});
-			return false;
-		});
-		
-		// 城市分站
-		form.on('submit(search_website)', function(data) {
-			table_website.reload({
-				page: {
-					curr: 1
-				},
-				where: data.field
-			});
-			return false;
-		});
-
-
-        //批量导出
-        form.on('submit(export)', function(data){
-            data.field.order_type = 1;
-            location.href = ns.url("admin/shop/exportShop",data.field);
-            return false;
-        });
-
-		/**
-		 * 监听工具栏操作
-		 */
-		table.tool(function(obj) {
-			var data = obj.data,
-					event = obj.event;
-			switch (event) {
-				case 'basic': //基本信息
-					location.href = ns.url("admin/shop/basicInfo" + "?site_id=" + data.site_id);
-					break;
-				case 'identify': //认证信息
-					location.href = ns.url("admin/shop/certInfo" + "?site_id=" + data.site_id)
-					break;
-				// case 'settlement': //结算信息
-				// 	location.href = ns.url("admin/shop/settlementInfo" + "?site_id=" + data.site_id)
-				// 	break;
-				// case 'account': //账户信息
-				// 	location.href = ns.url("admin/shop/accountInfo" + "?site_id=" + data.site_id)
-				// 	break;
-			}
-		});
-		
-		table_website.tool(function(obj) {
-			var data = obj.data,
-					event = obj.event;
-			switch (event) {
-				case 'basic': //基本信息
-					location.href = ns.url("admin/shop/basicInfo" + "?site_id=" + data.site_id);
-					break;
-				case 'identify': //认证信息
-					location.href = ns.url("admin/shop/certInfo" + "?site_id=" + data.site_id)
-					break;
-				// case 'settlement': //结算信息
-				// 	location.href = ns.url("admin/shop/settlementInfo" + "?site_id=" + data.site_id)
-				// 	break;
-				// case 'account': //账户信息
-				// 	location.href = ns.url("admin/shop/accountInfo" + "?site_id=" + data.site_id)
-				// 	break;
-			}
-		});
-	});
-
-	function clickAdd() {
-		location.href = ns.url("admin/shop/addShop");
-	}
-</script>
-
-</body>
-</html>

+ 0 - 87
runtime/admin/temp/6410505e57e8414942e5005ea643f7a9.php

@@ -1,87 +0,0 @@
-<?php /*a:1:{s:47:"./app/component/view/goods_category/design.html";i:1588151781;}*/ ?>
-<nc-component v-bind:data="data[index]" class="goods-category">
-	
-	<!-- 预览 -->
-	<template slot="preview">
-
-		<div class="real-image-box">
-			<img v-bind:src="'<?php echo htmlentities($resource_path); ?>/goods_category/img/category_real_' +  nc.level + '_' + nc.template + '.png'">
-		</div>
-	</template>
-	
-	<!-- 编辑 -->
-	<template slot="edit">
-
-		<template v-if="nc.lazyLoad">
-			<goods-category></goods-category>
-		</template>
-
-		<div class="goods-category-popup-wrap">
-			<div class="goods-classification-style layui-form">
-
-				<ul class="style-title">
-					<li v-bind:class="{'selected ns-bg-color': nc.level == 1}">一级分类样式</li>
-					<li v-bind:class="{'selected ns-bg-color': nc.level == 2}">二级分类样式</li>
-					<li v-bind:class="{'selected ns-bg-color': nc.level == 3}" v-if="nc.module!='shop'">三级分类样式</li>
-				</ul>
-				<ul class="style-content">
-					<li v-bind:class="{'layui-hide': nc.level != 1}">
-						<div  v-bind:class="{'style-img-box':true,'selected ns-border-color ns-bg-color-after': nc.template == 1}">
-							<img src="<?php echo htmlentities($resource_path); ?>/goods_category/img/category_real_1_1.png" alt="">
-						</div>
-						<div  v-bind:class="{'style-img-box':true,'selected ns-border-color ns-bg-color-after': nc.template == 2}">
-							<img src="<?php echo htmlentities($resource_path); ?>/goods_category/img/category_real_1_2.png" alt="">
-						</div>
-						<div v-bind:class="{'style-img-box':true,'selected ns-border-color ns-bg-color-after': nc.template == 3}">
-							<img src="<?php echo htmlentities($resource_path); ?>/goods_category/img/category_real_1_3.png" alt="">
-						</div>
-					</li>
-					<li v-bind:class="{'layui-hide': nc.level != 2}">
-						<div v-bind:class="{'style-img-box':true,'selected ns-bg-color-after ns-border-color': nc.template == 1}">
-							<img src="<?php echo htmlentities($resource_path); ?>/goods_category/img/category_real_2_1.png" alt="">
-						</div>
-						<div v-bind:class="{'style-img-box':true,'selected ns-bg-color-after ns-border-color': nc.template == 2}">
-							<img src="<?php echo htmlentities($resource_path); ?>/goods_category/img/category_real_2_2.png" alt="">
-						</div>
-						<div v-bind:class="{'style-img-box':true,'selected ns-bg-color-after ns-border-color': nc.template == 3}">
-							<img src="<?php echo htmlentities($resource_path); ?>/goods_category/img/category_real_2_3.png" alt="">
-						</div>
-					</li>
-					<li v-bind:class="{'layui-hide': nc.level != 3}">
-						<div v-bind:class="{'style-img-box':true,'selected ns-border-color ns-bg-color-after': nc.template == 1}">
-							<img src="<?php echo htmlentities($resource_path); ?>/goods_category/img/category_real_3_1.png" alt="">
-						</div>
-						<div v-bind:class="{'style-img-box':true,'selected ns-border-color ns-bg-color-after': nc.template == 2}">
-							<img src="<?php echo htmlentities($resource_path); ?>/goods_category/img/category_real_3_2.png" alt="">
-						</div>
-						<div v-bind:class="{'style-img-box':true,'selected ns-border-color ns-bg-color-after': nc.template == 3}">
-							<img src="<?php echo htmlentities($resource_path); ?>/goods_category/img/category_real_3_3.png" alt="">
-						</div>
-					</li>
-				</ul>
-				<input type="hidden" class="layui-input" name="level">
-				<input type="hidden" class="layui-input" name="template">
-
-				<div class="btn-box">
-					<button class="layui-btn ns-bg-color" lay-submit lay-filter="confirm">确定</button>
-					<button class="layui-btn layui-btn-primary back">返回</button>
-				</div>
-
-			</div>
-		</div>
-
-	</template>
-	
-	<!-- 资源 -->
-	<template slot="resource">
-
-		<js>
-			var RESOURCEPATH = "<?php echo htmlentities($resource_path); ?>";
-		</js>
-		<css src="<?php echo htmlentities($resource_path); ?>/goods_category/css/design.css"></css>
-		<js src="<?php echo htmlentities($resource_path); ?>/goods_category/js/design.js"></js>
-
-	</template>
-
-</nc-component>
-

+ 0 - 715
runtime/admin/temp/6631e58247dfa8f895ca88d0de1c2872.php

@@ -1,715 +0,0 @@
-<?php /*a:2:{s:97:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\order\lists.html";i:1587196808;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-<link rel="stylesheet" href="http://yueshengshop.top/app/admin/view/public/css/order_list.css"/>
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="ns-screen layui-collapse">
-    <div class="layui-colla-item">
-        <h2 class="layui-colla-title">筛选</h2>
-        <form class="layui-colla-content layui-form layui-show"  lay-filter="order_list">
-            <div class="layui-form-item">
-                <div class="layui-inline">
-                    <label class="layui-form-label">搜索方式:</label>
-                    <div class="layui-input-inline">
-                        <select name="order_label" >
-                            <?php foreach($order_label_list as $k => $label_val): ?>
-                            <option value="<?php echo htmlentities($k); ?>"><?php echo htmlentities($label_val); ?></option>
-                            <?php endforeach; ?>
-                        </select>
-                    </div>
-                    <div class="layui-input-inline">
-                        <input type="text" name="search" autocomplete="off" class="layui-input" />
-                    </div>
-                </div>
-            </div>
-            <div class="layui-form-item">
-                <div class="layui-inline">
-                    <label class="layui-form-label">下单时间:</label>
-                    <div class="layui-input-inline">
-                        <input type="text" class="layui-input" name="start_time" placeholder="开始时间" id="start_time" readonly>
-                        <i class="ns-calendar"></i>
-                    </div>
-                    <div class="layui-form-mid">-</div>
-                    <div class="layui-input-inline">
-                        <input type="text" class="layui-input" name="end_time" placeholder="结束时间" id="end_time" readonly>
-                        <i class="ns-calendar"></i>
-                    </div>
-                    <button class="layui-btn layui-btn-primary date-picker-btn" onclick="datePick(7, this);return false;">近7天</button>
-                    <button class="layui-btn layui-btn-primary date-picker-btn" onclick="datePick(30, this);return false;">近30天</button>
-                </div>
-            </div>
-            <div class="layui-form-item">
-                <div class="layui-inline">
-                    <label class="layui-form-label">订单类型:</label>
-                    <div class="layui-input-inline">
-                        <select name="order_type" lay-filter="order_type">
-                            <?php foreach($order_type_list as $order_type_k => $order_type_val): ?>
-                            <option value="<?php echo htmlentities($order_type_val['type']); ?>"><?php echo htmlentities($order_type_val['name']); ?></option>
-                            <?php endforeach; ?>
-                        </select>
-                    </div>
-                </div>
-                <div class="layui-inline">
-                    <label class="layui-form-label">订单状态:</label>
-                    <div class="layui-input-inline">
-                        <select name="order_status" lay-filter="order_status">
-                            <option value="">全部</option>
-                            <?php foreach($order_status_list as $k => $status_val): ?>
-                            <option value="<?php echo htmlentities($status_val['status']); ?>"><?php echo htmlentities($status_val['name']); ?></option>
-                            <?php endforeach; ?>
-                        </select>
-                    </div>
-                </div>
-                <div class="layui-inline">
-                    <label class="layui-form-label">营销类型:</label>
-                    <div class="layui-input-inline">
-                        <select name="promotion_type" lay-filter="promotion_type">
-                            <option value="">全部</option>
-                            <?php foreach($promotion_type as $promotion_type_k => $promotion_type_val): ?>
-                            <option value="<?php echo htmlentities($promotion_type_val['type']); ?>"><?php echo htmlentities($promotion_type_val['name']); ?></option>
-                            <?php endforeach; ?>
-                        </select>
-                    </div>
-                </div>
-            </div>
-            <div class="layui-form-item">
-                <div class="layui-inline">
-                    <label class="layui-form-label">付款方式:</label>
-                    <div class="layui-input-inline">
-                        <select name="pay_type" >
-                            <option value="">全部</option>
-                            <?php foreach($pay_type_list as $pay_type_k => $pay_type_v): ?>
-                            <option value="<?php echo htmlentities($pay_type_k); ?>"><?php echo htmlentities($pay_type_v); ?></option>
-                            <?php endforeach; ?>
-                        </select>
-                    </div>
-                </div>
-                <div class="layui-inline">
-                    <label class="layui-form-label">订单来源:</label>
-                    <div class="layui-input-inline">
-                        <select name="order_from">
-                            <option value="">全部</option>
-                            <?php if(is_array($order_from_list) || $order_from_list instanceof \think\Collection || $order_from_list instanceof \think\Paginator): $order_from_key = 0; $__LIST__ = $order_from_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$order_from): $mod = ($order_from_key % 2 );++$order_from_key;?>
-                            <option value="<?php echo htmlentities($order_from_key); ?>"><?php echo htmlentities($order_from['name']); ?></option>
-                            <?php endforeach; endif; else: echo "" ;endif; ?>
-                        </select>
-                    </div>
-                </div>
-            </div>
-            <div class="ns-form-row">
-                <button class="layui-btn ns-bg-color" lay-submit id="btn_search"lay-filter="btn_search">筛选</button>
-                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
-                <button class="layui-btn layui-btn-primary" lay-submit lay-filter="batch_export" >批量导出</button>
-                <!--<button class="layui-btn layui-btn-primary">查看已生成报表</button>-->
-            </div>
-            <input type="hidden" name="status" val=""/>
-            <input type="hidden" name="page" val=""/>
-        </form>
-    </div>
-</div>
-
-<div class="layui-tab ns-table-tab" lay-filter="order_tab">
-    <ul class="layui-tab-title">
-        <li class="layui-this" lay-id="">全部订单</li>
-    </ul>
-    <div class="layui-tab-content">
-        <!-- 列表 -->
-        <div id="order_list"></div>
-    </div>
-</div>
-
-
-<div id="order_page"></div>
-<div id="order_operation"></div>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script src="http://yueshengshop.top/app/admin/view/public/js/order_list.js"></script>
-<script>
-    var laypage,element, form, hash_url;
-    var is_refresh = false;
-    var order_type_status_json = <?php echo json_encode($order_type_list); ?>;
-    /**
-     *通过hash获取页数
-     */
-    function getHashPage(){
-        var page = 1;
-        var hash = location.hash;
-
-        var hash_arr = hash.split("&");
-        $.each(hash_arr,function(index, itemobj){
-            var item_arr = itemobj.split("=");
-            if(item_arr.length == 2){
-                if(item_arr[0].indexOf("page") != "-1"){
-                    page = item_arr[1];
-                }
-            }
-        })
-        return page;
-    }
-
-    //从hash中获取数据
-    function getHashData(){
-        var hash = ns.urlReplace(location.hash);
-        var data= [];
-
-        var hash_arr = hash.split("&");
-
-        var form_json = {
-            "end_time" : "",
-            "order_from" : "",
-            "order_label" : $("select[name=order_label]").val(),
-            "order_name" : "",
-            "order_status" : "",
-            "promotion_type" : "",
-            "pay_type" : "",
-            "search" : "",
-            "start_time" : "",
-            "order_type" : 'all',
-            "page" : ""
-        };
-        if(hash_arr.length > 0){
-            // page = hash_arr[0].replace('#!page=', '');
-            $.each(hash_arr,function(index, itemobj){
-                var item_arr = itemobj.split("=");
-                if(item_arr.length == 2){
-                    $.each(form_json,function(key, form_val){
-                        if(item_arr[0].indexOf(key) != "-1"){
-                            form_json[key] = item_arr[1];
-                        }
-                    })
-                }
-            })
-        }
-        resetOrderStatus(form_json.order_type, 2);
-        form.val("order_list", form_json);
-        setOrderStatusTab(form_json.order_status);
-        return form_json;
-    }
-
-
-
-    /**
-     * 获取哈希值order_type
-     */
-    function getHashOrderType(){
-        var hash = ns.urlReplace(location.hash);
-        var hash_arr = hash.split("&");
-        var order_type = "all";
-        if(hash_arr.length > 0){
-            // page = hash_arr[0].replace('#!page=', '');
-            $.each(hash_arr,function(index, itemobj){
-                var item_arr = itemobj.split("=");
-                if(item_arr.length == 2){
-                    if(item_arr[0].indexOf("order_type") != "-1") {
-                        order_type = item_arr[1];
-                    }
-                }
-            })
-        }
-        return order_type;
-    }
-    layui.use(['laypage','laydate','form', 'element'], function(){
-        form = layui.form;
-        laypage = layui.laypage;
-        element = layui.element;
-        var laydate = layui.laydate;
-        form.render();
-
-        //渲染时间
-        laydate.render({
-            elem: '#start_time'
-            ,type: 'datetime'
-            ,change: function(value, date, endDate){
-                $(".date-picker-btn").removeClass("selected");
-            }
-        });
-        laydate.render({
-            elem: '#end_time'
-            ,type: 'datetime'
-            ,change: function(value, date, endDate){
-                $(".date-picker-btn").removeClass("selected");
-            }
-        });
-
-        //监听筛选事件
-        form.on('submit(btn_search)', function(data){
-            is_refresh = true;
-            data.field.page = 1;
-            resetOrderStatus(data.field.order_type, 2);
-            setHashOrderList(data.field);
-            setOrderStatusTab(data.field.order_status);
-            return false;
-        });
-
-        //批量导出
-        form.on('submit(batch_export)', function(data){
-            data.field.order_type = 1;
-            location.href = ns.url("admin/order/exportOrderGoods",data.field);
-            return false;
-        });
-
-
-        //订单类型
-        form.on('select(order_type)', function(data){
-
-            resetOrderStatus(data.value, 1);
-            return false;
-        });
-
-        //监听Tab切换,以改变地址hash值
-        element.on('tab(order_tab)', function(){
-            var status = this.getAttribute('lay-id');
-            form.val("order_list", {"order_status":status});
-
-            var hash_data = getHashList();
-            hash_data.order_status = status;
-            hash_data.page = 1;
-            setHashOrderList(hash_data);
-        });
-        getHashData();
-        getOrderList();//筛选
-
-    });
-
-
-    function setOrderStatusTab(order_status){
-        $(".layui-tab-title li").removeClass("layui-this");
-        $(".layui-tab-title li").each(function(){
-            var status = $(this).attr("lay-id");
-            if(status == order_status){
-                $(this).addClass("layui-this")
-            }
-        });
-    }
-    //重置状态tab 选项卡
-    function resetOrderStatus(order_type, is_tab){
-        var hash_order_type = getHashOrderType();
-        if(hash_order_type != order_type || is_refresh == false){
-            if(is_tab != 1 || is_refresh == false) {
-                $(".layui-tab-title li").not(':first').remove();
-                $(".layui-tab-title li").find(":first").addClass("layui-this");
-            }
-            if(is_tab != 2 || is_refresh == false){
-                $("select[name=order_status] option").not(':first').remove();
-            }
-
-            var status_item = order_type_status_json[order_type]["status"];
-            $.each(status_item,function(index, itemobj){
-                if(is_tab != 1 || is_refresh == false) {
-                    $(".layui-tab-title").append('<li lay-id="' + index + '">' + itemobj + '</li>');
-                }
-                if(is_tab != 2 || is_refresh == false) {
-                    $("select[name=order_status]").append('<option value="' + index + '">' + itemobj + '</option>');
-                }
-            })
-            form.render('select');
-        }
-    }
-    //哈希值 订单数据
-    function setHashOrderList(data){
-        var hash = "";
-        $.each(data,function(index, itemobj){
-            if(itemobj != "" && itemobj != "all"){
-                if(hash == ""){
-                    hash += "#!"+index +"="+itemobj;
-                }else{
-                    hash += "&"+index +"="+itemobj;
-                }
-            }
-        })
-        // window.location.href = hash;
-        hash_url = hash;
-        location.hash = hash;
-        getOrderList();
-    }
-
-    function getHashList(){
-        var hash = ns.urlReplace(location.hash);
-        var data= [];
-        var hash_arr = hash.split("&");
-
-        var form_json = {
-            "end_time" : "",
-            "order_from" : "",
-            "order_label" : $("select[name=order_label]").val(),
-            "order_name" : "",
-            "order_status" : "",
-            "promotion_type" : "",
-            "pay_type" : "",
-            "search" : "",
-            "start_time" : "",
-            "order_type" : 'all',
-            "page" : ""
-        };
-        if(hash_arr.length > 0){
-            // page = hash_arr[0].replace('#!page=', '');
-            $.each(hash_arr,function(index, itemobj){
-                var item_arr = itemobj.split("=");
-                if(item_arr.length == 2){
-                    $.each(form_json,function(key, form_val){
-                        if(item_arr[0].indexOf(key) != "-1"){
-                            form_json[key] = item_arr[1];
-                        }
-                    })
-                }
-            })
-        }
-
-        return form_json;
-    }
-
-
-    var order = new Order();
-    function getOrderList(){
-        var url = ns.url("admin/order/lists", ns.urlReplace(location.hash.replace('#!', '')));
-
-        $.ajax({
-            type : 'get',
-            dataType: 'json',
-            url :url,
-            success : function(res){
-                if(res.code == 0){
-                    order.setData(res.data);
-                    $("#order_list").html(order.fetch());
-                    //执行一个laypage实例
-                    laypage.render({
-                        elem: 'order_page',
-                        count: res.data.count,
-                        curr: getHashPage(),
-                        layout: ['count', 'prev', 'page', 'next'],
-                        // hash: 'page',
-                        jump: function(obj, first){
-                            //首次不执行
-                            if(!first){
-                                var hash_data = getHashData();
-                                hash_data.page = obj.curr;
-                                setHashOrderList(hash_data);
-                                // $("#btn_search").click();//筛选
-                            }
-                        }
-                    });
-                }else{
-                    layer.msg(res.message);
-                }
-            }
-        });
-    }
-
-    /**
-     * 七天时间
-     */
-    function datePick(date_num,event_obj){
-        $(".date-picker-btn").removeClass("selected");
-        $(event_obj).addClass('selected');
-        // alert(new Date().format("yyyy-MM-dd hh:mm"));
-        var now_date = new Date();
-
-        Date.prototype.Format = function (fmt,date_num) { //author: meizz
-            this.setDate(this.getDate()-date_num);
-            var o = {
-                "M+": this.getMonth() + 1, //月份
-                "d+": this.getDate(), //日
-                "H+": this.getHours(), //小时
-                "m+": this.getMinutes(), //分
-                "s+": this.getSeconds(), //秒
-                "q+": Math.floor((this.getMonth() + 3) / 3), //季度
-                "S": this.getMilliseconds() //毫秒
-            };
-            if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
-            for (var k in o)
-                if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
-            return fmt;
-        }
-        // var now_time =  new Date().Format("yyyy-MM-dd HH:mm:ss",0);//当前日期
-        var now_time =  new Date().Format("yyyy-MM-dd 23:59:59",0);//当前日期
-        var before_time =  new Date().Format("yyyy-MM-dd 00:00:00",date_num-1);//前几天日期
-        $("input[name=start_time]").val(before_time,0);
-        $("input[name=end_time]").val(now_time,date_num-1);
-
-    }
-</script>
-
-</body>
-</html>

+ 0 - 58
runtime/admin/temp/6bc532417532ae275dfbb9ecbe4453ff.php

@@ -1,58 +0,0 @@
-<?php /*a:1:{s:50:"./addon/pintuan/component/view/pintuan/design.html";i:1584515322;}*/ ?>
-<nc-component v-bind:data="data[index]" class="component-pintuan">
-
-	<!-- 预览 -->
-	<template slot="preview">
-		
-		<div class="pintuan-head">
-			<div class="title-wrap">
-				<span class="name">拼团专区</span>
-			</div>
-			<div class="more ns-text-color">更多</div>
-		</div>
-		<div class="list-wrap">
-			<div class="item">
-				<div class="img-wrap">
-					<img src="http://yueshengshop.top/public/static/ext/diyview/img/crack_figure.png" />
-				</div>
-				<span class="new-price ns-text-color">¥998.00</span>
-				<span class="old-price">¥1200.00</span>
-			</div>
-			<div class="item">
-				<div class="img-wrap">
-					<img src="http://yueshengshop.top/public/static/ext/diyview/img/crack_figure.png" />
-				</div>
-				<span class="new-price ns-text-color">¥998.00</span>
-				<span class="old-price">¥1200.00</span>
-			</div>
-			<div class="item">
-				<div class="img-wrap">
-					<img src="http://yueshengshop.top/public/static/ext/diyview/img/crack_figure.png" />
-				</div>
-				<span class="new-price ns-text-color">¥998.00</span>
-				<span class="old-price">¥1200.00</span>
-			</div>
-			<div class="item">
-				<div class="img-wrap">
-					<img src="http://yueshengshop.top/public/static/ext/diyview/img/crack_figure.png" />
-				</div>
-				<span class="new-price ns-text-color">¥998.00</span>
-				<span class="old-price">¥1200.00</span>
-			</div>
-		</div>
-		
-	</template>
-
-	<!-- 编辑 -->
-	<template slot="edit">
-	
-	</template>
-	
-	<!-- 资源 -->
-	<template slot="resource">
-
-		<css src="<?php echo htmlentities($resource_path); ?>/pintuan/css/design.css"></css>
-		
-	</template>
-	
-</nc-component>

+ 0 - 59
runtime/admin/temp/784e6c90628f046d96188a85e5a14226.php

@@ -1,59 +0,0 @@
-<?php /*a:1:{s:50:"./addon/seckill/component/view/seckill/design.html";i:1583994494;}*/ ?>
-<nc-component v-bind:data="data[index]" class="component-seckill">
-
-	<!-- 预览 -->
-	<template slot="preview">
-		
-		<div class="seckill-head">
-			<div class="title-wrap">
-				<span class="name">秒杀专区</span>
-				<span class="time">21点秒杀 21:00:00~22:00:00</span>
-			</div>
-			<div class="more ns-text-color">更多秒杀</div>
-		</div>
-		<div class="list-wrap">
-			<div class="item">
-				<div class="img-wrap">
-					<img src="http://yueshengshop.top/public/static/ext/diyview/img/crack_figure.png" />
-				</div>
-				<span class="new-price ns-text-color">¥998.00</span>
-				<span class="old-price">¥1200.00</span>
-			</div>
-			<div class="item">
-				<div class="img-wrap">
-					<img src="http://yueshengshop.top/public/static/ext/diyview/img/crack_figure.png" />
-				</div>
-				<span class="new-price ns-text-color">¥998.00</span>
-				<span class="old-price">¥1200.00</span>
-			</div>
-			<div class="item">
-				<div class="img-wrap">
-					<img src="http://yueshengshop.top/public/static/ext/diyview/img/crack_figure.png" />
-				</div>
-				<span class="new-price ns-text-color">¥998.00</span>
-				<span class="old-price">¥1200.00</span>
-			</div>
-			<div class="item">
-				<div class="img-wrap">
-					<img src="http://yueshengshop.top/public/static/ext/diyview/img/crack_figure.png" />
-				</div>
-				<span class="new-price ns-text-color">¥998.00</span>
-				<span class="old-price">¥1200.00</span>
-			</div>
-		</div>
-		
-	</template>
-
-	<!-- 编辑 -->
-	<template slot="edit">
-	
-	</template>
-	
-	<!-- 资源 -->
-	<template slot="resource">
-
-		<css src="<?php echo htmlentities($resource_path); ?>/seckill/css/design.css"></css>
-		
-	</template>
-	
-</nc-component>

+ 0 - 395
runtime/admin/temp/7b23bd7c94f05a9cc5cc164e530e6435.php

@@ -1,395 +0,0 @@
-<?php /*a:2:{s:99:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\message\email.html";i:1587196808;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-form ns-form">
-	<div class="layui-form-item">
-		<label class="layui-form-label">SMTP服务器:</label>
-		<div class="layui-input-block">
-			<input type="text" name="host"  value="<?php echo isset($config_info['host']) ? htmlentities($config_info['host']) : ''; ?>" autocomplete="off" class="layui-input ns-len-long">
-		</div>
-	</div>
-	
-	<div class="layui-form-item">
-		<label class="layui-form-label">SMTP端口:</label>
-		<div class="layui-input-block">
-			<input type="text" name="port"  value="<?php echo isset($config_info['port']) ? htmlentities($config_info['port']) : ''; ?>" autocomplete="off" class="layui-input ns-len-long">
-		</div>
-	</div>
-	
-	<div class="layui-form-item">
-		<label class="layui-form-label">发信人邮件地址:</label>
-		<div class="layui-input-block">
-			<input type="text" name="from"  value="<?php echo isset($config_info['from']) ? htmlentities($config_info['from']) : ''; ?>" autocomplete="off" class="layui-input ns-len-long">
-		</div>
-	</div>
-	
-	<div class="layui-form-item">
-		<label class="layui-form-label">身份验证用户名:</label>
-		<div class="layui-input-block">
-			<input type="text" name="username"  value="<?php echo isset($config_info['username']) ? htmlentities($config_info['username']) : ''; ?>" autocomplete="off" class="layui-input ns-len-long">
-		</div>
-		<div class="ns-word-aux">SMTP身份验证用户名</div>
-	</div>
-	
-	<div class="layui-form-item">
-		<label class="layui-form-label">身份验证码:</label>
-		<div class="layui-input-block">
-			<input type="text" name="password"  value="<?php echo isset($config_info['password']) ? htmlentities($config_info['password']) : ''; ?>" autocomplete="off" class="layui-input ns-len-long">
-		</div>
-		<div class="ns-word-aux">SMTP身份验证码</div>
-	</div>
-	
-	<div class="layui-form-item">
-		<label class="layui-form-label">是否开启:</label>
-		<div class="layui-input-block">
-			<input type="checkbox" name="is_use" lay-filter="isOpen" value="1" lay-skin="switch" <?php if($is_use == 1): ?> checked <?php endif; ?> />
-		</div>
-	</div>
-	<div class="layui-form-item">
-		<label class="layui-form-label">邮件地址:</label>
-		<div class="layui-input-inline">
-			<input type="text" name="test_address"  value="" autocomplete="off" class="layui-input ns-len-long">
-		</div>
-		<button class="layui-btn layui-btn-primary" lay-submit lay-filter="testsend">发送测试邮件</button>
-	</div>
-	<div class="ns-form-row">
-		<button type="button" class="layui-btn ns-bg-color" lay-submit lay-filter="save">保存</button>
-	</div>
-</div>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-	layui.use('form', function() {
-		var form = layui.form,
-			repeat_flag = false; //防重复
-		form.render();
-
-		//保存配置
-		form.on('submit(save)', function(data) {
-			if(repeat_flag) return;
-			repeat_flag = true;
-
-			$.ajax({
-				url: ns.url("admin/message/email"),
-				data: data.field,
-				dataType: 'JSON',
-				type: 'POST',
-				success: function(res) {
-					layer.msg(res.message);
-					repeat_flag = false;
-					if (res.code == 0) {
-						location.reload();
-					}
-				}
-			});
-		});
-		//发送测试邮件
-        form.on('submit(testsend)', function(data) {
-            if(repeat_flag) return;
-            repeat_flag = true;
-
-            $.ajax({
-                url: ns.url("admin/message/testSendEmail"),
-                data: data.field,
-                dataType: 'JSON',
-                type: 'POST',
-                success: function(res) {
-                    repeat_flag = false;
-					
-					if (res.code == 0) {
-						layer.msg("发送成功");
-					} else {
-						layer.msg(res.message);
-					}
-                }
-            });
-        });
-	});
-	
-</script>
-
-</body>
-</html>

+ 0 - 27
runtime/admin/temp/8336fb88a1c6f98670a72094e0d79f5a.php

@@ -1,27 +0,0 @@
-<?php /*a:1:{s:43:"./app/component/view/horz_blank/design.html";i:1583474735;}*/ ?>
-<nc-component v-bind:data="data[index]" v-bind:class="['auxiliary-blank']" v-bind:style="{ backgroundColor : nc.backgroundColor }">
-
-	<!-- 预览 -->
-	<template slot="preview">
-	
-		<div v-bind:style="{ height : nc.height+'px'}"></div>
-	
-	</template>
-	
-	<!-- 编辑 -->
-	<template slot="edit">
-	
-		<color v-bind:data="{ field : 'backgroundColor', label : '空白颜色' }"></color>
-
-		<slide v-bind:data="{ field : 'height', label : '空白高度' }"></slide>
-	
-	</template>
-
-	<!-- 资源 -->
-	<template slot="resource">
-		
-		<css src="<?php echo htmlentities($resource_path); ?>/horz_blank/css/design.css"></css>
-		
-	</template>
-	
-</nc-component>

+ 0 - 33
runtime/admin/temp/8f21c75bcf96e8dd7e51c9640dda29f4.php

@@ -1,33 +0,0 @@
-<?php /*a:1:{s:39:"./app/component/view/notice/design.html";i:1583549032;}*/ ?>
-<nc-component v-bind:data="data[index]" v-bind:style="{ backgroundColor : nc.backgroundColor }" class="notice">
-
-	<!-- 预览 -->
-	<template slot="preview">
-		
-		<template v-if="nc.lazyLoad">
-			<notice></notice>
-		</template>
-		
-	</template>
-
-	<!-- 编辑 -->
-	<template slot="edit">
-		
-		<template v-if="nc.lazyLoad">
-			<notice-edit></notice-edit>
-		</template>
-	
-	</template>
-	
-	<!-- 资源 -->
-	<template slot="resource">
-		
-		<js>
-			var RESOURCEPATH = "<?php echo htmlentities($resource_path); ?>";
-		</js>
-		<css src="<?php echo htmlentities($resource_path); ?>/notice/css/design.css"></css>
-		<js src="<?php echo htmlentities($resource_path); ?>/notice/js/design.js"></js>
-		
-	</template>
-
-</nc-component>

+ 0 - 32
runtime/admin/temp/91982936fd38f0efba3af93737bf748a.php

@@ -1,32 +0,0 @@
-<?php /*a:1:{s:43:"./app/component/view/pop_window/design.html";i:1583995692;}*/ ?>
-<nc-component v-bind:data="data[index]" class="pop-window">
-
-	<!-- 预览 -->
-	<template slot="preview">
-
-		<div class="pop-window-box">
-
-			<img v-bind:src="nc.image_url? changeImgUrl(nc.image_url) : 'http://yueshengshop.top/public/static/ext/diyview/img/crack_figure.png'" class="pop-window-image"/>
-		
-		</div>
-		
-	</template>
-	
-	<!-- 编辑 -->
-	<template slot="edit">
-	
-		<template v-if="nc.lazyLoad">
-			<pop-window></pop-window>
-		</template>
-		
-	</template>
-	
-	<!-- 资源 -->
-	<template slot="resource">
-
-		<css src="<?php echo htmlentities($resource_path); ?>/pop_window/css/design.css"></css>
-		<js src="<?php echo htmlentities($resource_path); ?>/pop_window/js/design.js"></js>
-		
-	</template>
-	
-</nc-component>

+ 0 - 345
runtime/admin/temp/972b3373a39035338601343b47890ff7.php

@@ -1,345 +0,0 @@
-<?php /*a:2:{s:100:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\promotion\tool.html";i:1587039196;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-<style>
-	.ns-item-block-parent .ns-item-poa-pic {
-		background-image: linear-gradient(to right, #fb8700, #fb6400);
-		text-align: center;
-		color: #FFFFFF;
-		width: 70px;
-		height: 30px;
-		line-height: 30px;
-		border-bottom-left-radius: 3px;
-	}
-</style>
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-card ns-card-common ns-card-brief">
-	<div class="layui-card-header">
-		<span class="ns-card-title">应用工具</span>
-	</div>
-	<div class="layui-card-body">
-		<div class="site_list ns-item-block-parent ns-item-five">
-			<?php foreach($promotion as $list_k => $list_v): if($list_v['show_type'] == 'tool'): if(empty($list_v['is_developing']) || (($list_v['is_developing'] instanceof \think\Collection || $list_v['is_developing'] instanceof \think\Paginator ) && $list_v['is_developing']->isEmpty())): ?>
-					<a class="ns-item-block ns-item-block-hover-a" href="<?php echo addon_url($list_v['url']); ?>">
-						<div class="ns-item-block-wrap">
-							<div class="ns-item-pic">
-								<img src="<?php echo img($list_v['icon']); ?>" />
-							</div>
-							<div class="ns-item-con">
-								<div class="ns-item-content-title"><?php echo htmlentities($list_v['title']); ?></div>
-								<p class="ns-item-content-desc"><?php echo htmlentities($list_v['description']); ?></p>
-							</div>
-						</div>
-		
-					</a>
-					<?php else: ?>
-					<a class="ns-item-block ns-item-block-hover-a" href="#">
-						<div class="ns-item-block-wrap">
-							<div class="ns-item-pic">
-								<img src="<?php echo img($list_v['icon']); ?>" />
-							</div>
-							<div class="ns-item-con">
-								<div class="ns-item-content-title"><?php echo htmlentities($list_v['title']); ?></div>
-								<p class="ns-item-content-desc"><?php echo htmlentities($list_v['description']); ?></p>
-							</div>
-							<div class="ns-item-poa-pic">
-								敬请期待
-							</div>
-						</div>
-		
-					</a>
-					<?php endif; ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</div>
-	</div>
-</div>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-</script>
-
-</body>
-</html>

+ 0 - 53
runtime/admin/temp/a0d94d6c87c5776ff33cf3e659f3f205.php

@@ -1,53 +0,0 @@
-<?php /*a:1:{s:42:"./app/component/view/horz_line/design.html";i:1583474751;}*/ ?>
-<nc-component v-bind:data="data[index]" v-bind:class="['auxiliary-line',nc.padding]">
-
-	<!-- 预览 -->
-	<template slot="preview">
-	
-		<hr v-bind:style="{ borderColor : nc.color,borderStyle : nc.borderStyle }" />
-		
-	</template>
-	
-	<!-- 编辑 -->
-	<template slot="edit">
-	
-		<color v-bind:data="{ field : 'color', label : '颜色' }"></color>
-		
-		<div class="layui-form-item">
-			<label class="layui-form-label sm">边距</label>
-			<div class="layui-input-block">
-				<div class="layui-unselect layui-form-radio" v-bind:class="{ 'layui-form-radioed' : (nc.padding=='no-padding') }" v-on:click="nc.padding='no-padding'">
-					<i class="layui-anim layui-icon">&#xe643;</i>
-					<div>无边距</div>
-				</div>
-				<div class="layui-unselect layui-form-radio" v-bind:class="{ 'layui-form-radioed' : (nc.padding=='have-padding') }" v-on:click="nc.padding='have-padding'">
-					<i class="layui-anim layui-icon">&#xe643;</i>
-					<div>左右留边</div>
-				</div>
-			</div>
-		</div>
-		
-		<div class="layui-form-item">
-			<label class="layui-form-label sm">样式</label>
-			<div class="layui-input-block">
-				<div class="layui-unselect layui-form-radio" v-bind:class="{ 'layui-form-radioed' : (nc.borderStyle=='solid') }" v-on:click="nc.borderStyle='solid'">
-					<i class="layui-anim layui-icon">&#xe643;</i>
-					<div>实线</div>
-				</div>
-				<div class="layui-unselect layui-form-radio" v-bind:class="{ 'layui-form-radioed' : (nc.borderStyle=='dashed') }" v-on:click="nc.borderStyle='dashed'">
-					<i class="layui-anim layui-icon">&#xe643;</i>
-					<div>虚线</div>
-				</div>
-			</div>
-		</div>
-	
-	</template>
-	
-	<!-- 资源 -->
-	<template slot="resource">
-		
-		<css src="<?php echo htmlentities($resource_path); ?>/horz_line/css/design.css"></css>
-		
-	</template>
-	
-</nc-component>

+ 0 - 27
runtime/admin/temp/ae5f4f1f082fb1a2d40d75966c4ff77e.php

@@ -1,27 +0,0 @@
-<?php /*a:1:{s:42:"./app/component/view/rich_text/design.html";i:1583550241;}*/ ?>
-<nc-component v-bind:data="data[index]" class="rich-text">
-
-	<!-- 预览 -->
-	<template slot="preview">
-
-		<div v-html="nc.html"></div>
-
-	</template>
-
-	<!-- 编辑 -->
-	<template slot="edit">
-		<template v-if="nc.lazyLoad">
-			<rich-text></rich-text>
-		</template>
-
-	</template>
-	
-	<!-- 资源 -->
-	<template slot="resource">
-
-		<css src="<?php echo htmlentities($resource_path); ?>/rich_text/css/design.css"></css>
-		<js src="<?php echo htmlentities($resource_path); ?>/rich_text/js/design.js"></js>
-
-	</template>
-	
-</nc-component>

+ 0 - 643
runtime/admin/temp/b4cebfafa2b8ed333d9483a81ce96825.php

@@ -1,643 +0,0 @@
-<?php /*a:3:{s:97:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\goods\lists.html";i:1588232435;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;s:107:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\goods\category_select.html";i:1587623298;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-<link rel="stylesheet" href="http://yueshengshop.top/app/admin/view/public/css/goods_lists.css">
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-collapse ns-tips">
-    <div class="layui-colla-item">
-        <h2 class="layui-colla-title">操作提示</h2>
-        <ul class="layui-colla-content layui-show">
-            <li>当前显示的是商家发布过的所有商品,当商品处于上架状态时前台显示</li>
-            <li>虚拟商品用户购买之后可以通过订单核销进行商品核销处理。</li>
-            <li>如果商家的商品操作违规,平台可以操作违规下架,违规下架的商品需要商家编辑审核之后才能重新上架</li>
-        </ul>
-    </div>
-</div>
-
-<div class="ns-screen layui-collapse">
-    <div class="layui-colla-item">
-        <h2 class="layui-colla-title">筛选</h2>
-        <form class="layui-colla-content layui-form layui-show">
-            <div class="layui-form-item">
-                <div class="layui-inline">
-                    <label class="layui-form-label">搜索方式:</label>
-                    <div class="layui-input-inline">
-                        <select name="search_text_type">
-                            <option value="goods_name">商品名称</option>
-                            <option value="site_name">店铺名称</option>
-                        </select>
-                    </div>
-                    <div class="layui-input-inline">
-                        <input type="text" name="search_text" autocomplete="off" class="layui-input" placeholder="输入商品名称/店铺名称" />
-                    </div>
-                </div>
-            </div>
-
-            <div class="layui-form-item">
-                
-                <div class="layui-inline">
-                    <label class="layui-form-label">商品类型:</label>
-                    <div class="layui-input-inline">
-                        <select name="goods_class" lay-filter="goods_class">
-                            <option value="">全部</option>
-                            <option value="1">实物商品</option>
-                            <option value="2">虚拟商品</option>
-                        </select>
-                    </div>
-                </div>
-
-                <div class="layui-inline">
-                    <label class="layui-form-label">商品分类:</label>
-                    <div class="layui-input-inline">
-                        <style>
-    .goods-category-container {display: inline-block;position: relative;z-index: 10}
-    .goodsCategory{width: 185px;height: 300px;border: 1px solid #CCCCCC;position: absolute;z-index: 100;background: #fff;right: 0;overflow-y: auto;top: 34px;box-sizing: border-box}
-    .goodsCategory::-webkit-scrollbar{width: 3px;}
-    .goodsCategory::-webkit-scrollbar-track{-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);border-radius: 10px;background-color: #fff;}
-    .goodsCategory::-webkit-scrollbar-thumb{height: 20px;border-radius: 10px;-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);background-color: #ccc;}
-    .goodsCategory ul{height: 280px;margin-top: -2px;margin-left: 0;}
-    .goodsCategory ul li{text-align: left;padding:0 10px;line-height: 30px;}
-    .goodsCategory ul li i{float: right;line-height: 30px;}
-    .goodsCategory ul li:hover{cursor: pointer;}
-    .goodsCategory ul li:hover,.goodsCategory ul li.selected{background: #4685FD;color: #fff;}
-    .goodsCategory ul li span{width: 110px;display: inline-block;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;vertical-align: middle;font-size:12px;}
-    .one{left: 0;}
-    .two{left: 185px;border-left:0;}
-    .three{left: 370px;width: 185px;border-left:0;}
-    .selectGoodsCategory{width: 185px;height: 45px;border:1px solid #CCCCCC;position: absolute;z-index: 100;left: 0;margin-top: 296px;box-sizing: border-box;border-collapse: collapse;background: #fff;}
-    .selectGoodsCategory a{height: 30px;text-align: center;color: #fff;line-height: 30px; margin: 6px;padding: 0 5px;text-decoration:none;}
-    .goodsCategory ul li i {float: right;line-height: 30px;}
-    .hide {display: none;}
-    .goods-category-mask {width: 100%;height: 100%;position: fixed;left: 0;top: 0;z-index: 9;}
-	.confirm-select {border: 1px solid #4685FD;}
-</style>
-<div class="goods-category-container">
-    <input type="text" autocomplete="off" show="false" class="layui-input select-category" placeholder="全部" readonly />
-    <input type="hidden"  id="select_category_id">
-    <input type="hidden"  name="category_id">
-    <div class="category-wrap hide">
-        <div class="goodsCategory one goodsCategory_1">
-            <ul></ul>
-        </div>
-        <div class="goodsCategory goodsCategory_2 two hide" style="border-left:0;">
-            <ul></ul>
-        </div>
-        <div class="goodsCategory goodsCategory_3 three hide">
-            <ul></ul>
-        </div>
-        <div class="selectGoodsCategory">
-            <a href="javascript:;" style="float:right;"  class="ns-bg-color confirm-select">确认选择</a>
-            <a href="javascript:;" style="float:right;"  class="layui-btn-primary ns-text-color cancel-select">清空</a>
-        </div>
-    </div>
-</div>
-<div class="goods-category-mask hide"></div>
-
-<script>
-$(function() {
-    getCategoryTree(1, 0);
-});
-
-//初始化分类
-function getCategoryTree(level, pid) {
-    $.ajax({
-        url : ns.url("admin/goodscategory/getCategoryByParent"),
-        dataType: 'JSON',
-        type: 'POST',
-        data: {'level':level, 'pid':pid},
-        async: false,
-        success: function(data) {
-            var category_html = '';
-            if(data['data']) {
-                $.each(data.data, function(category_key, category_val) {
-                    //一级分类
-                    category_html += '<li data-value="'+category_val.category_id+'" data-level="'+level+'" pid="'+pid+'" child="'+(category_val.child_count >0)+'">';
-                    category_html += '<span>'+category_val.category_name+'</span>';
-                    if(category_val.child_count > 0) {
-                        category_html += '<i class="layui-icon-right layui-icon"></i>';
-                    }
-                    category_html += '</li>';
-                })
-            }
-            $('.goodsCategory_'+level+' ul').html(category_html);
-        }
-    })
-}
-
-$("body").on('click', '.goodsCategory ul li', function(){
-    var level = $(this).attr('data-level');
-    var value = $(this).attr('data-value');
-    $('.goodsCategory_2,.goodsCategory_3').addClass('hide');
-    if($(this).attr('child') == 'true') {
-        getCategoryTree(parseInt(level)+1, value);
-        $('.goodsCategory_'+(parseInt(level)+1)+' ul li').addClass('hide');
-        $('.goodsCategory_'+(parseInt(level)+1)+' ul li[pid="'+value+'"]').removeClass('hide');
-        $('.goodsCategory_'+level).removeClass('hide');
-        $('.goodsCategory_'+(parseInt(level)+1)).removeClass('hide');
-    }else {
-        $('.category-wrap,.goods-category-mask').addClass('hide');
-    }
-    $('.goodsCategory_'+level+' ul li').removeClass('selected');
-    $('.goodsCategory_'+(parseInt(level)+1) + ' ul li').removeClass('selected');
-    $('.goodsCategory_'+(parseInt(level)+2) + ' ul li').removeClass('selected');
-    $(this).addClass('selected');
-    categoryBottom();
-    setSelectCaregory();
-});
-
-//设置选中分类
-function setSelectCaregory() {
-    var text = '';
-    var level_text_1 = '';
-    var level_text_2 = '';
-    var level_text_3 = '';
-    var select_id = '';
-    $('.goodsCategory ul li.selected').each(function(i, e) {
-        var level = $(e).attr('data-level');
-        if(level == 1) {
-            level_text_1 = $(e).find('span').text() + '>';
-            select_id += $(e).attr('data-value') +',';
-        }
-        if(level == 2) {
-            level_text_2 = $(e).find('span').text() + '>';
-            select_id += $(e).attr('data-value') +',';
-        }
-        if(level == 3) {
-            level_text_3 = $(e).find('span').text();
-            select_id += $(e).attr('data-value') +',';
-        }
-    });
-    $('.select-category').val(level_text_1+level_text_2+level_text_3);
-    select_id = select_id.substring(0,select_id.length-1);
-    $('#select_category_id').val(select_id);
-    var category_arr = select_id.split(',');
-    $('input[name="category_id"]').val(category_arr.pop());
-}
-
-$("body").on('focus', '.select-category', function() {
-    $('.category-wrap, .goods-category-mask').removeClass('hide');
-    var select_id =  $('#select_category_id').val();
-    var category_arr = select_id.split(',');
-
-    $.each(category_arr, function(i, e) {
-        var level = parseInt(i)+1;
-        $('.goodsCategory_'+level).removeClass('hide');
-        $('.goodsCategory_'+level+' ul li[data-value="'+e+'"]').addClass('selected');
-    });
-    categoryBottom();
-});
-
-$("body").on('keyup', '.select-category', function() {
-	if($(this).val().length==0) {
-		$('#select_category_id').val("");
-		$('input[name="category_id"]').val("");
-	}
-});
-
-function categoryBottom() {
-    var num = $('.goodsCategory.hide').length;
-    $('.selectGoodsCategory').css('width', 185*(3-num)+'px');
-}
-
-$('body').on('click', '.confirm-select', function () {
-    setSelectCaregory();
-    $('.category-wrap,.goods-category-mask').addClass('hide');
-});
-$('body').on('click', '.goods-category-mask', function () {
-    $('.category-wrap,.goods-category-mask').addClass('hide');
-});
-$('body').on('click', '.cancel-select', function () {
-    $('.category-wrap, .goods-category-mask').addClass('hide');
-	$(".select-category").val("");
-});
-</script>
-                    </div>
-                </div>
-            </div>
-
-            <div class="layui-form-item">
-                <div class="layui-inline">
-                    <label class="layui-form-label">商品品牌:</label>
-                    <div class="layui-input-inline">
-                        <select name="goods_brand" lay-search=""></select>
-                    </div>
-                </div>
-
-                <!--<div class="layui-inline">-->
-                    <!--<label class="layui-form-label">商品类型:</label>-->
-                    <!--<div class="layui-input-inline">-->
-                        <!--<select name="goods_attr_class" lay-search=""></select>-->
-                    <!--</div>-->
-                <!--</div>-->
-            </div>
-            
-            <input type="hidden" name="goods_state" />
-            <input type="hidden" name="verify_state" />
-
-            <div class="ns-form-row">
-                <button class="layui-btn ns-bg-color" lay-submit id="" lay-filter="search">筛选</button>
-                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
-            </div>
-        </form>
-    </div>
-</div>
-
-<div class="layui-tab ns-table-tab" lay-filter="goods_list_tab">
-	<ul class="layui-tab-title">
-		<li class="layui-this" lay-id="">全部</li>
-		<li lay-id="1" data-type="goods_state">销售中</li>
-		<li lay-id="0" data-type="goods_state">仓库中</li>
-        <?php if(is_array($verify_state) || $verify_state instanceof \think\Collection || $verify_state instanceof \think\Paginator): if( count($verify_state)==0 ) : echo "" ;else: foreach($verify_state as $k=>$vo): ?>
-        <li lay-id="<?php echo htmlentities($vo['state']); ?>" data-type="verify_state">
-            <div><?php echo htmlentities($vo['value']); if($vo['count']>0): ?><span>(</span><span class="count"><?php echo htmlentities($vo['count']); ?></span><span>)</span><?php endif; ?></div>
-        </li>
-        <?php endforeach; endif; else: echo "" ;endif; ?>
-	</ul>
-	<div class="layui-tab-content">
-		<!-- 列表 -->
-		<table id="goods_list" lay-filter="goods_list"></table>
-	</div>
-</div>
-
-<!-- 商品信息 -->
-<script type="text/html" id="goods_info">
-    <div class="ns-table-tuwen-box">
-        <div class="contraction" data-goods-id="{{d.goods_id}}" data-open="0">
-            <span>+</span>
-        </div>
-        <div class="ns-img-box" id="goods_img_{{d.goods_id}}">
-            <img layer-src src="{{ns.img(d.goods_image.split(',')[0], 'small')}}"/>
-        </div>
-        <div class="ns-font-box">
-            <a href="javascript:;" class="ns-multi-line-hiding ns-text-color" title="{{d.goods_name}}" lay-event="preview">{{d.goods_name}}</a>
-        </div>
-    </div>
-</script>
-
-<!-- 操作 -->
-<script type="text/html" id="operation">
-    <div class="operation-wrap" data-goods-id="{{d.goods_id}}">
-        <div class="popup-qrcode-wrap"><img class="popup-qrcode-loadimg" src="http://yueshengshop.top/public/static/loading/loading.gif" /></div>
-        <div class="ns-table-btn">
-            {{# if(d.verify_state == 1 && d.goods_state == 1){ }}
-            <a class="layui-btn" lay-event="select">推广</a>
-            <!-- <a class="layui-btn" lay-event="preview">预览</a> -->
-            <a class="layui-btn" lay-event="lockup">违规下架</a>
-            {{# } }}
-            {{# if(d.verify_state == 1 && d.goods_state == 0){ }}
-            <a class="layui-btn" lay-event="lockup">违规下架</a>
-            {{# } }}
-            {{# if(d.verify_state == 0){ }}
-            <a class="layui-btn" lay-event="verify_on">通过</a>
-            <a class="layui-btn" lay-event="verify_off">拒绝</a>
-            {{# } }}
-            {{# if(d.verify_state == -2){ }}
-            <a class="layui-btn" lay-event="select_verify_remark">违规原因</a>
-            {{# } }}
-            {{# if(d.verify_state == 10){ }}
-            <a class="layui-btn" lay-event="select_violations_remark">违规原因</a>
-            {{# } }}
-        </div>
-    </div>
-</script>
-
-<!-- 批量操作 -->
-<script type="text/html" id="batchOperation"></script>
-
-<!-- SKU商品列表 -->
-<script type="text/html" id="skuList">
-    <tr class="js-sku-list-{{d.index}}" id="sku_img_{{d.index}}">
-        <td></td>
-        <td colspan="6">
-            <ul class="sku-list">
-                {{# for(var i=0;i<d.list.length;i++){ }}
-                <li>
-                    <div class="img-wrap">
-                        <img layer-src src="{{ns.img(d.list[i].sku_image,'small')}}">
-                    </div>
-                    <div class="info-wrap">
-                        <span class="sku-name">{{d.list[i].sku_name}}</span>
-                        <span class="price">价格:¥{{d.list[i].price}}</span>
-                        <span class="stock">库存:{{d.list[i].stock}}</span>
-                        <span class="sale_num">销量:{{d.list[i].sale_num}}</span>
-                    </div>
-                </li>
-                {{# } }}
-            </ul>
-        </td>
-    </tr>
-</script>
-
-<!-- 商品推广 -->
-<script type="text/html" id="goods_url">
-	{{# if(d.path.h5.status == 1){ }}
-	<img src="{{ ns.img(d.path.h5.img) }}" alt="推广二维码">
-	<p class="qrcode-item-description">扫码后直接访问商品</p>
-	<a class="ns-text-color" href="javascript:ns.copy('h5_url_{{ d.goods_id }}');">复制链接</a>
-    <a class="ns-text-color" href="{{ ns.img(d.path.h5.img) }}" download>下载二维码</a>
-    <input class="layui-input nc-len-mid" type="text" value="{{ d.path.h5.url }}" id="h5_url_{{ d.goods_id }}" readonly>
-	{{# } }}
-</script>
-
-<!-- 商品预览 -->
-<script type="text/html" id="goods_preview">
-    <div class="goods-preview">
-        <div class="qrcode-wrap">
-            <img src="{{ ns.img(d.path.h5.img) }}" alt="推广二维码">
-            <p class="tips ns-text-color">手机扫码购买</p>
-        </div>
-        <div class="phone-wrap">
-            <div class="iframe-wrap">
-                <iframe src="{{ d.path.h5.url }}&preview=1" frameborder="0"></iframe>
-            </div>
-        </div>
-    </div>
-</script>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script src="http://yueshengshop.top/app/admin/view/public/js/goods_list.js"></script>
-
-</body>
-</html>

+ 0 - 503
runtime/admin/temp/b779b624dfacc87a5ab23af2a0902dfa.php

@@ -1,503 +0,0 @@
-<?php /*a:2:{s:94:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app/admin/view/diy/edit.html";i:1588151594;s:24:"app/admin/view/base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-<link rel="stylesheet" href="http://yueshengshop.top/public/static/ext/color_picker/css/colorpicker.css" />
-<link rel="stylesheet" href="http://yueshengshop.top/public/static/ext/diyview/css/diyview.css" />
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-collapse ns-tips">
-	<div class="layui-colla-item">
-		<h2 class="layui-colla-title">操作提示</h2>
-		<ul class="layui-colla-content layui-show">
-			<li>装修漂亮的店铺能够提高顾客的驻留时间和购买欲。</li>
-			<li>好的页面可以吸引客户浏览的兴趣,快速找到自己想要买的商品,给客户带来良好的购物体验,最终实现高的转化率。</li>
-			<li>创建不同活动页面,实现线上推广转化,提升网店的传播量。</li>
-			<li>满足不同商家各种场景下页面的样式及推广诉求。</li>
-		</ul>
-	</div>
-</div>
-<div class="diy-view-wrap">
-	<div id="diyView" class='layui-form' v-bind:style="{ backgroundColor : global.bgColor,backgroundImage : 'url('+changeImgUrl(global.bgUrl)+')' }">
-		
-		<div class="preview-head" v-on:click="changeCurrentIndex(-99)">
-			<span>{{global.title}}</span>
-			<div v-bind:class="{selected : currentIndex==-99}" v-bind:data-sort="-99" style="display:none;" v-show="data.length==0 || currentIndex==-99">
-				
-				<div class="edit-attribute">
-					<div class="layui-form-item">
-						<label class="layui-form-label sm">模板名称</label>
-						<div class="layui-input-block">
-							<input type="text" v-model="global.title" placeholder="请输入模板名称" class="layui-input">
-						</div>
-					</div>
-					
-					<div class="layui-form-item">
-						<label class="layui-form-label sm">底部导航</label>
-						<div class="layui-input-block">
-							<div class="layui-unselect layui-form-switch" v-on:click="global.openBottomNav=!global.openBottomNav" v-bind:class="{ 'layui-form-onswitch' : global.openBottomNav }" lay-skin="_switch">
-								<em v-if="global.openBottomNav"></em>
-								<em v-else></em>
-								<i></i>
-							</div>
-						</div>
-					</div>
-					
-					<color v-bind:data="{ field : 'bgColor', label : '背景颜色', value : '#ffffff' }"></color>
-					
-					<div class="layui-form-item">
-						<label class="layui-form-label sm">背景图片</label>
-						<div class="layui-input-block">
-							<img-upload v-bind:data="{ data : global, field : 'bgUrl' }"></img-upload>
-						</div>
-					</div>
-				
-				</div>
-			
-			</div>
-		
-		</div>
-		
-		<div class="preview-block">
-			
-			<template v-for="(nc,index) in data" v-bind:k="index">
-				
-				<div v-bind:data-index="index" v-on:click="changeCurrentIndex(nc.index)" v-bind:class="{ 'draggable-element nc-border-color-selected' : true,selected : currentIndex == nc.index }" v-bind:data-sort="index">
-					<?php if(is_array($diy_view_utils) || $diy_view_utils instanceof \think\Collection || $diy_view_utils instanceof \think\Paginator): if( count($diy_view_utils)==0 ) : echo "" ;else: foreach($diy_view_utils as $key=>$vo): if(is_array($vo['list']) || $vo['list'] instanceof \think\Collection || $vo['list'] instanceof \think\Paginator): if( count($vo['list'])==0 ) : echo "" ;else: foreach($vo['list'] as $key=>$li): ?>
-					<template v-if="nc.type == '<?php echo htmlentities($li['name']); ?>'">
-						<?php echo event('DiyViewUtils',['controller'=>$li['controller'],'addon_name'=>$li['addon_name']],true); ?>
-					</template>
-					<?php endforeach; endif; else: echo "" ;endif; ?>
-					<?php endforeach; endif; else: echo "" ;endif; ?>
-				</div>
-			
-			</template>
-		
-		</div>
-		
-		<!-- 组件列表 -->
-		<nav class="component-list">
-			<?php if(is_array($diy_view_utils) || $diy_view_utils instanceof \think\Collection || $diy_view_utils instanceof \think\Paginator): if( count($diy_view_utils)==0 ) : echo "" ;else: foreach($diy_view_utils as $k=>$vo): ?>
-			<h3><?php echo htmlentities($vo['type_name']); ?></h3>
-			<ul>
-				<?php if(is_array($vo['list']) || $vo['list'] instanceof \think\Collection || $vo['list'] instanceof \think\Paginator): if( count($vo['list'])==0 ) : echo "" ;else: foreach($vo['list'] as $li_k=>$li): ?>
-				<li title="<?php echo htmlentities($li['title']); ?>"
-				    <?php if($li['value']): ?>v-on:click='addComponent(<?php echo htmlentities($li['value']); ?>,{ name : "<?php echo htmlentities($li['name']); ?>", title : "<?php echo htmlentities($li['title']); ?>", max_count : <?php echo htmlentities($li['max_count']); ?>, addon_name : "<?php echo htmlentities($li['addon_name']); ?>", controller : "<?php echo htmlentities($li['controller']); ?>" })'
-				    v-bind:class="{ 'disabled' : !checkComponentIsAdd('<?php echo htmlentities($li['name']); ?>',<?php echo htmlentities($li['max_count']); ?>) }"
-				    <?php if($li['support_diy_view']): ?>
-				    class="hot"
-				    <?php endif; else: ?>class="disabled"<?php endif; ?>
-				><?php echo htmlentities($li['title']); ?></li>
-				<?php endforeach; endif; else: echo "" ;endif; ?>
-			</ul>
-			<?php endforeach; endif; else: echo "" ;endif; ?>
-		</nav>
-		
-		<div class="custom-save">
-			<button class="layui-btn ns-bg-color save" lay-submit="" lay-filter="save">保存</button>
-		</div>
-	
-	</div>
-	
-	<?php if(!(empty($qrcode_info) || (($qrcode_info instanceof \think\Collection || $qrcode_info instanceof \think\Paginator ) && $qrcode_info->isEmpty()))): ?>
-	<div class="popup-qrcode-wrap">
-		
-		<img src="<?php echo img($qrcode_info['path']['h5']['img']); ?>" alt="推广二维码">
-		<p class="qrcode-item-description">扫码后直接访问页面</p>
-		<a class="ns-text-color" href="javascript:ns.copy('h5_url');">复制链接</a>
-		<a class="ns-text-color" href="<?php echo img($qrcode_info['path']['h5']['img']); ?>" download>下载二维码</a>
-		<input class="layui-input nc-len-mid" type="text" value="<?php echo htmlentities($qrcode_info['path']['h5']['url']); ?>" id="h5_url" readonly>
-	</div>
-	<?php endif; ?>
-</div>
-
-<?php if(!empty($diy_view_info) && !empty($diy_view_info['value'])): ?>
-<input type="hidden" id="info" value='<?php echo htmlentities($diy_view_info['value']); ?>' />
-<?php endif; if(!empty($diy_view_info) && !empty($diy_view_info['name'])): ?>
-<input type="hidden" id="name" value="<?php echo htmlentities($diy_view_info['name']); ?>" />
-<?php elseif(!empty($name)): ?>
-<input type="hidden" id="name" value="<?php echo htmlentities($name); ?>" />
-<?php else: ?>
-<input type="hidden" id="name" value="DIY_VIEW_RANDOM_<?php echo htmlentities($time); ?>" />
-<?php endif; ?>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-	var STATICIMG = 'http://yueshengshop.top/public/static/img';
-	var link_url = '<?php echo htmlentities($app_module); ?>/diy/link';
-	var module = '<?php echo htmlentities($app_module); ?>';
-</script>
-<script src="http://yueshengshop.top/public/static/js/vue.js"></script>
-<script src="http://yueshengshop.top/public/static/ext/color_picker/js/colorpicker.js"></script>
-<script src="http://yueshengshop.top/public/static/ext/diyview/js/async_load_css.js"></script>
-<script src="http://yueshengshop.top/public/static/ext/diyview/js/ddsort.js"></script>
-<script src="http://yueshengshop.top/public/static/ext/ueditor/ueditor.config.js"></script>
-<script src="http://yueshengshop.top/public/static/ext/ueditor/ueditor.all.js"> </script>
-<script src="http://yueshengshop.top/public/static/ext/ueditor/lang/zh-cn/zh-cn.js"></script>
-<script src="http://yueshengshop.top/public/static/ext/diyview/js/components.js"></script>
-<script src="http://yueshengshop.top/public/static/ext/diyview/js/custom_template.js"></script>
-<script>
-	
-	<?php if(!empty($diy_view_info) && (!empty($diy_view_info['value']) || !empty($diy_view_info['id']) )): ?>
-		var id = "<?php echo htmlentities($diy_view_info['id']); ?>";
-		var info = JSON.parse($("#info").val().toString());
-		
-		if(!$.isEmptyObject(info) && info.value){
-			for(var i=0;i<info.value.length;i++) vue.addComponent(info.value[i]);
-			vue.setGlobal(info.global);
-		}else{
-			vue.setGlobal({ title : "<?php echo htmlentities($diy_view_info['title']); ?>" });
-		}
-		vue.title = "<?php echo htmlentities($diy_view_info['title']); ?>";
-	<?php else: ?>
-		var id = 0;
-	<?php endif; ?>
-
-	var repeat_flag = false;//防重复标识
-	$("button.save").click(function(){
-		
-		if(vue.verify()){
-			
-			//全局属性
-			var global = JSON.stringify(vue.global);
-			global = eval("("+global+")");
-			
-			//组件属性
-			var value = JSON.stringify(vue.data);
-			value = eval(value);
-			
-			//重新排序
-			value.sort(function(a,b){
-				return a.sort-b.sort;
-			});
-			
-			for(var item in value){
-				delete value[item].verify;
-				delete value[item].lazyLoad;
-				delete value[item].lazyLoadCss;
-				delete value[item].index;
-				delete value[item].sort;
-				delete value[item].outerCountJs;
-			}
-			
-			if(repeat_flag) return;
-			repeat_flag = true;
-			
-			// console.log(JSON.stringify(value));
-			// console.log(JSON.stringify(global));
-			var v = {
-				global : global,
-				value : value
-			};
-			// console.log(v);
-			// console.log(JSON.stringify(v));
-			// return;
-			
-			$.ajax({
-				type : "post",
-				url : "<?php echo addon_url($request_url); ?>",
-				data : { id : id, name : $("#name").val(), title : vue.global.title, value : JSON.stringify(v) },
-				dataType : "JSON",
-				success : function(res) {
-					layer.msg(res.message);
-					if (res.code == 0) {
-						
-						if (id > 0 || $("#name").val() != "DIY_VIEW_RANDOM_<?php echo htmlentities($time); ?>") {
-							location.reload();
-						} else {
-							location.href = ns.url("<?php echo htmlentities($app_module); ?>/diy/lists");
-						}
-						
-					} else {
-						repeat_flag = false;
-					}
-					// console.log(JSON.stringify(vue.data));
-					// console.log(res);
-				}
-			});
-		}
-	});
-</script>
-
-</body>
-</html>

+ 0 - 734
runtime/admin/temp/b84b00b6fefbf1543c42b780ea7c72bd.php

@@ -1,734 +0,0 @@
-<?php /*a:2:{s:101:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\shop\basic_info.html";i:1588234301;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-<style>
-	.required { margin-right: 3px; }
-	/* 关联会员 */
-	.ns-check-member { position: relative; }
-	.ns-check-member .layui-btn { position: absolute; top: 0; right: 1px; border-color: #e5e5e5; padding: 0 10px; border-right: 0; }
-	.ns-search-result { border: 1px solid; padding: 15px 30px 15px 15px; display: flex; align-items: center; position: relative; }
-	.ns-search-res-img { width: 50px; height: 50px; margin-right: 5px; text-align: center; line-height: 50px; }
-	.ns-search-res-img img { max-width: 100%; max-height: 100%; }
-	.ns-search-res-intro p { line-height: 24px; }
-	.ns-search-res-close { position: absolute; top: 5px; right: 5px; }
-</style>
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-form ns-form">
-	<div class="layui-form-item">
-		<label class="layui-form-label"><span class="required">*</span>店铺名称:</label>
-		<div class="layui-input-block">
-			<input name="site_name" type="text" value="<?php echo htmlentities($shop_info['site_name']); ?>" disabled lay-verify="required" class="layui-input ns-len-long" autocomplete="off">
-		</div>
-		<p class="ns-word-aux">店铺名称不可编辑</p>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">到期时间:</label>
-		<div class="layui-input-block">
-			<input name="expire_time" type="text" id="laydate" value="<?php if($shop_info['expire_time']): ?><?php echo date('Y-m-d', $shop_info['expire_time']); ?><?php endif; ?>"
-			 class="layui-input ns-len-mid" autocomplete="off">
-		</div>
-		<div class="ns-word-aux">
-			<p>店铺关闭时间,与入驻时长相关联</p>
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">卖家账号:</label>
-		<div class="layui-input-block ns-input-text">
-			<?php echo htmlentities($shop_info['username']); ?>
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">是否自营:</label>
-		<div class="layui-input-block">
-			<input type="checkbox" name="is_own" value="1" lay-filter="whether_autotrophy" lay-skin="switch" <?php if($shop_info['is_own'] == 1): ?> checked <?php endif; ?> />
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label"><span class="required">*</span>主营行业:</label>
-		<div class="layui-input-block ns-len-mid">
-			<select class="ns-category" name="category_id" lay-verify="required" lay-filter="shop_category">
-				<option value="">请选择</option>
-				<?php if(is_array($shop_category_list) || $shop_category_list instanceof \think\Collection || $shop_category_list instanceof \think\Paginator): $i = 0; $__LIST__ = $shop_category_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$category): $mod = ($i % 2 );++$i;?>
-				<option value="<?php echo htmlentities($category['category_id']); ?>" <?php echo $shop_info['category_id']==$category['category_id'] ? 'selected'  :  ''; ?>><?php echo htmlentities($category['category_name']); ?></option>
-				<?php endforeach; endif; else: echo "" ;endif; ?>
-			</select>
-		</div>
-	</div>
-
-	<!-- 非自营 -->
-	<div class="layui-form-item <?php if($shop_info['is_own'] == 1): ?>layui-hide<?php endif; ?>">
-		<label class="layui-form-label"><span class="required">*</span>开店套餐:</label>
-		<div class="layui-input-block ns-len-mid">
-			<select class="ns-group" name="group_id" lay-verify="required" lay-filter="shop_group">
-				<option value="">请选择</option>
-				<?php if(is_array($shop_group_list) || $shop_group_list instanceof \think\Collection || $shop_group_list instanceof \think\Paginator): $i = 0; $__LIST__ = $shop_group_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$group): $mod = ($i % 2 );++$i;?>
-				<option value="<?php echo htmlentities($group['group_id']); ?>" <?php echo $shop_info['group_id']==$group['group_id'] ? 'selected'  :  ''; ?>><?php echo htmlentities($group['group_name']); ?></option>
-				<?php endforeach; endif; else: echo "" ;endif; ?>
-			</select>
-		</div>
-	</div>
-
-	<!-- 自营 -->
-	<div class='layui-form-item <?php if($shop_info['is_own'] != 1): ?>layui-hide<?php endif; ?> '>
-		<label class="layui-form-label"><span class="required">*</span>开店套餐:</label>
-		<div class="layui-input-block ns-len-mid">
-			<select class="ns-group" name="own_group_id" lay-verify="required" lay-filter="shop_group">
-				<option value="">请选择</option>
-				<?php if(is_array($shop_own_group_list) || $shop_own_group_list instanceof \think\Collection || $shop_own_group_list instanceof \think\Paginator): $i = 0; $__LIST__ = $shop_own_group_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$group): $mod = ($i % 2 );++$i;?>
-				<option value="<?php echo htmlentities($group['group_id']); ?>" <?php echo $shop_info['group_id']==$group['group_id'] ? 'selected'  :  ''; ?>><?php echo htmlentities($group['group_name']); ?></option>
-				<?php endforeach; endif; else: echo "" ;endif; ?>
-			</select>
-		</div>
-	</div>
-
-	<!--<div class="layui-form-item ns-check-member-box">-->
-		<!--<label class="layui-form-label">关联前台会员:</label>-->
-		<!--<div class="layui-input-inline ns-check-member">-->
-			<!--<input type="text" id="search_text" name="search_text" value="" placeholder="请输入会员名或手机" class="layui-input ns-len-mid ns-member-name" autocomplete="off">-->
-			<!--<button type="button" class="layui-btn layui-btn-primary" onclick="checkMember()">-->
-				<!--<i class="layui-icon">&#xe615;</i>-->
-			<!--</button>-->
-			<!--<input class="ns-member-id" type="text" name="member_id" hidden value="" />-->
-		<!--</div>-->
-		<!---->
-		<!--<?php if(!empty($shop_info['member_id']) && !empty($member_info)): ?>-->
-			<!--<div class="ns-search-result layui-input-inline ns-border-color-gray">-->
-				<!--<div class="ns-search-res-img">-->
-					<!--<?php if($member_info['headimg']): ?>-->
-					<!--<img src="<?php echo img($member_info['headimg']); ?>" />-->
-					<!--<?php endif; ?>-->
-				<!--</div>-->
-				<!--<div class="ns-search-res-intro">-->
-					<!--<p>用户名:<?php echo htmlentities($member_info['username']); ?></p>-->
-					<!--<p>电话:<?php echo htmlentities($member_info['mobile']); ?></p>-->
-				<!--</div>-->
-				<!--<div class="ns-search-res-close" onclick="closeMember()">-->
-					<!--<i class="iconfont iconclose_light"></i>-->
-				<!--</div>-->
-			<!--</div>-->
-		<!--<?php endif; ?>-->
-	<!--</div>-->
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">店铺状态:</label>
-		<div class="layui-input-block">
-			<input type="radio" name="shop_status" lay-filter="shop_status" value="1" title="正常" <?php if($shop_info['shop_status'] == 1): ?> checked <?php endif; ?>>
-			<input type="radio" name="shop_status" lay-filter="shop_status" value="0" title="关闭" <?php if($shop_info['shop_status'] != 1): ?> checked <?php endif; ?>>
-		</div>
-		<div class="ns-word-aux">
-			<p>店铺关闭后,所有商品将被下架</p>
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">排序号:</label>
-		<div class="layui-input-block">
-			<input name="sort" type="number" class="layui-input ns-len-short" lay-verify="int" value="<?php echo htmlentities($shop_info['sort']); ?>">
-		</div>
-		<div class="ns-word-aux">
-			<p>排序值必须是整数</p>
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label img-upload-lable">店铺logo:</label>
-		<div class="layui-input-block">
-			<div class="upload-img-block">
-				<div class="upload-img-box" id="logoImg">
-					<?php if($shop_info['logo']): ?>
-						<img src="<?php echo img($shop_info['logo']); ?>" />
-					<?php else: ?>
-						<div class="ns-upload-default">
-							<img src="http://yueshengshop.top/public/static/img/upload_img.png" />
-							<p>点击上传</p>
-						</div>
-					<?php endif; ?>
-				</div>
-			</div>
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label img-upload-lable">店铺头像(大图):</label>
-		<div class="layui-input-block">
-			<div class="upload-img-block">
-				<div class="upload-img-box" id="avatarImg">
-					<?php if($shop_info['avatar']): ?>
-						<img src="<?php echo img($shop_info['avatar']); ?>" />
-					<?php else: ?>
-						<div class="ns-upload-default">
-							<img src="http://yueshengshop.top/public/static/img/upload_img.png" />
-							<p>点击上传</p>
-						</div>
-					<?php endif; ?>
-				</div>
-			</div>
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label img-upload-lable">店铺条幅:</label>
-		<div class="layui-input-block">
-			<div class="upload-img-block">
-				<div class="upload-img-box" id="bannerImg">
-					<?php if($shop_info['banner']): ?>
-						<img src="<?php echo img($shop_info['banner']); ?>" />
-					<?php else: ?>
-						<div class="ns-upload-default">
-							<img src="http://yueshengshop.top/public/static/img/upload_img.png" />
-							<p>点击上传</p>
-						</div>
-					<?php endif; ?>
-				</div>
-			</div>
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">店铺关键字:</label>
-		<div class="layui-input-block">
-			<input name="seo_keywords" type="text" value="<?php echo htmlentities($shop_info['seo_keywords']); ?>" class="layui-input ns-len-long" autocomplete="off">
-		</div>
-		<div class="ns-word-aux">
-			<p>关键字之间请用英文逗号分隔</p>
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">店铺简介:</label>
-		<div class="layui-input-inline ns-len-long">
-			<textarea name="seo_description" class="layui-textarea"><?php echo htmlentities($shop_info['seo_description']); ?></textarea>
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">联系电话:</label>
-		<div class="layui-input-block">
-			<input name="telephone" type="text" value="<?php echo htmlentities($shop_info['telephone']); ?>" lay-verify="mobile" class="layui-input ns-len-mid" autocomplete="off">
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">是否推荐:</label>
-		<div class="layui-input-block">
-			<input type="radio" name="is_recommend" lay-filter="is_recommend" value="1" title="开启" <?php if($shop_info['is_recommend'] == 1): ?> checked <?php endif; ?>>
-			<input type="radio" name="is_recommend" lay-filter="is_recommend" value="0" title="关闭" <?php if($shop_info['is_recommend'] == 0): ?> checked <?php endif; ?>>
-		</div>
-		<p class="ns-word-aux">开启后,会在客户端店铺列表优先展示</p>
-	</div>
-	
-	<div class="layui-form-item">
-		<label class="layui-form-label">服务保障:</label>
-		<div class="layui-input-block">
-			<input type="checkbox" name="shop_qtian" title="7天退换" lay-skin="primary" value="1" lay-filter="service" <?php if($shop_info['shop_qtian'] == 1): ?> checked <?php endif; ?>>
-			<input type="checkbox" name="shop_zhping" title="正品保障" lay-skin="primary" value="1" lay-filter="service" <?php if($shop_info['shop_zhping'] == 1): ?> checked <?php endif; ?>>
-			<input type="checkbox" name="shop_erxiaoshi" title="两小时发货" lay-skin="primary" value="1" lay-filter="service" <?php if($shop_info['shop_erxiaoshi'] == 1): ?> checked <?php endif; ?>>
-			<input type="checkbox" name="shop_tuihuo" title="退货承诺" lay-skin="primary" value="1" lay-filter="service" <?php if($shop_info['shop_tuihuo'] == 1): ?> checked <?php endif; ?>>
-			<input type="checkbox" name="shop_shiyong" title="试用中心" lay-skin="primary" value="1" lay-filter="service" <?php if($shop_info['shop_shiyong'] == 1): ?> checked <?php endif; ?>>
-			<input type="checkbox" name="shop_shiti" title="实体验证" lay-skin="primary" value="1" lay-filter="service" <?php if($shop_info['shop_shiti'] == 1): ?> checked <?php endif; ?>>
-			<input type="checkbox" name="shop_xiaoxie" title="消协保证" lay-skin="primary" value="1" lay-filter="service" <?php if($shop_info['shop_xiaoxie'] == 1): ?> checked <?php endif; ?>>
-		</div>
-	</div>
-
-	<div class="ns-form-row">
-		<button class="layui-btn ns-bg-color" lay-submit lay-filter="save">保存</button>
-		<button class="layui-btn layui-btn-primary" onclick="back()">返回</button>
-	</div>
-	
-	<!-- 隐藏域 -->
-	<input type="hidden" value="<?php echo htmlentities($shop_info['site_id']); ?>" name="site_id" />
-	<input type="hidden" value="<?php echo htmlentities($shop_info['logo']); ?>" name="logo" />
-	<input type="hidden" value="<?php echo htmlentities($shop_info['avatar']); ?>" name="avatar" />
-	<input type="hidden" value="<?php echo htmlentities($shop_info['banner']); ?>" name="banner" />
-</div>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-	layui.use(['form', 'laydate', 'upload'], function() {
-		var form = layui.form,
-			laydate = layui.laydate,
-			upload = layui.upload,
-			autotrphyChecked = parseInt("<?php echo htmlentities($shop_info['is_own']); ?>"),
-			repeat_flag = false; //防重复标识
-		form.render();
-
-		laydate.render({
-			elem: '#laydate'
-		});
-
-		form.render();
-		
-		//图片上传
-		var uploadLogo = upload.render({
-			elem: '#logoImg',
-			url: ns.url("admin/upload/upload"),
-			done: function(res) {
-				if (res.code >= 0) {
-					$("input[name='logo']").val(res.data.pic_path);
-					$("#logoImg").html("<img src=" + ns.img(res.data.pic_path) + " >");
-				}
-				return layer.msg(res.message);
-			}
-		});
-
-		var uploadAvatar = upload.render({
-			elem: '#avatarImg',
-			url: ns.url("admin/upload/upload"),
-			done: function(res) {
-				if (res.code >= 0) {
-					$("input[name='avatar']").val(res.data.pic_path);
-					$("#avatarImg").html("<img src=" + ns.img(res.data.pic_path) + " >");
-				}
-				return layer.msg(res.message);
-			}
-		});
-
-		var uploadBanner = upload.render({
-			elem: '#bannerImg',
-			url: ns.url("admin/upload/upload"),
-			done: function(res) {
-				if (res.code >= 0) {
-					$("input[name='banner']").val(res.data.pic_path);
-					$("#bannerImg").html("<img src=" + ns.img(res.data.pic_path) + " >");
-				}
-				return layer.msg(res.message);
-			}
-		});
-		
-		/**
-		 * 表单验证
-		 */
-		form.verify({
-			int: function(value) {
-				if (value == "") {
-					return false;
-				}
-				if (value < 0 || value > 100 || !(value % 1 === 0)) {
-					return '请输入0-100之间的整数'
-				}
-			},
-			mobile: function(value) {
-				var reg = /^1([38][0-9]|4[579]|5[0-3,5-9]|6[6]|7[0135678]|9[89])\d{8}$/;
-				if (value == '') {
-					return;
-				}
-				if (!reg.test(value)) {
-					return '请输入正确的手机号码!';
-				}
-			}
-		});
-
-
-		// 是否自营
-		form.on('switch(whether_autotrophy)', function(data){
-			autotrphyChecked = data.elem.checked ? 1 : 0;
-			autotrophy();
-		});
-
-		autotrophy();
-		function autotrophy(){
-			if(autotrphyChecked == 1){
-				$('select[name="own_group_id"]').attr("lay-verify",'required').parents('.layui-form-item').removeClass("layui-hide");
-				$('select[name="group_id"]').attr("lay-verify",'').parents('.layui-form-item').addClass("layui-hide");
-			}else{
-				$('select[name="group_id"]').attr("lay-verify",'required').parents('.layui-form-item').removeClass("layui-hide");
-				$('select[name="own_group_id"]').attr("lay-verify",'').parents('.layui-form-item').addClass("layui-hide");
-			}
-		}
-		
-		/**
-		 * 监听保存
-		 */
-		form.on('submit(save)', function(data) {
-			if(autotrphyChecked == 1){
-				data.field.group_id = data.field.own_group_id;
-			}
-			
-			var group_id = data.field.group_id,
-				group_name = $(".ns-group").find("option[value=" + group_id + "]").text(),
-				category_id = data.field.category_id,
-				category_name = $(".ns-category").find("option[value=" + category_id + "]").text();
-			
-			data.field.group_name = group_name;
-			data.field.category_name = category_name;
-			
-			if (repeat_flag) return false;
-			repeat_flag = true;
-			
-			$.ajax({
-				url: ns.url("admin/shop/basicInfo"),
-				data: data.field,
-				type: "POST",
-				dataType: "JSON",
-				success: function(res) {
-					repeat_flag = false;
-					if (res.code == 0) {
-						layer.confirm('编辑成功', {
-							title:'操作提示',
-							btn: ['返回列表', '继续操作'],
-							yes: function(){
-								location.href = ns.url("admin/shop/lists")
-							},
-							btn2: function() {
-								location.reload();
-							}
-						});
-					} else {
-						layer.msg(res.message);
-					}
-				}
-			});
-		});
-	});
-	
-	/**
-	 * 点击搜索
-	 */
-	var repeat_flag = false;
-	var html, val;
-	function checkMember() {
-		var parent = $(".ns-check-member");
-		var con = parent.find(".ns-member-name").val();
-		$(".layui-word-aux").remove();
-		$(".ns-search-result").remove();
-		
-		if(repeat_flag) return false;
-		repeat_flag = true;
-		
-		if (con == "" || con == null || con.trim() == "") {
-			repeat_flag = false;
-		} else {
-			$.ajax({
-				type: 'POST',
-				url: ns.url("admin/member/searchMember"),
-				data: {
-					'search_text': con
-				},
-				dataType: 'JSON',
-				success: function (res) {
-					layer.msg(res.message);
-					repeat_flag = false;
-					
-					if (res.data == null) {
-						html = '<span class="layui-word-aux">未找到该用户</span>';
-						val = res.data;
-					} else {
-						html = '<div class="ns-search-result layui-input-inline ns-border-color-gray">' +
-									'<div class="ns-search-res-img">' +
-										'<img src="' + ns.img(res.data.headimg) + '" />' +
-									'</div>' +
-									'<div class="ns-search-res-intro">' +
-										'<p>用户名:'+ res.data.username +'</p>' +
-										'<p>电话:'+ res.data.mobile +'</p>' +
-									'</div>' +
-									'<div class="ns-search-res-close" onclick="closeMember()">' +
-										'<i class="iconfont iconclose_light"></i>' +
-									'</div>' +
-								'</div>';
-						val = res.data.member_id;
-					}
-					
-					$(".ns-member-id").attr("value", val);
-					$(".ns-check-member-box").append(html);
-				}
-			});
-		}
-	}
-	
-	function closeMember() {
-		$(".ns-search-result").hide();
-	}
-	
-	function back() {
-		location.href = ns.url("admin/shop/lists");
-	}
-</script>
-
-</body>
-</html>

+ 0 - 43
runtime/admin/temp/b9e7e7e24c2f7a8a8a61d35c3811ca07.php

@@ -1,43 +0,0 @@
-<?php /*a:1:{s:52:"./addon/groupbuy/component/view/groupbuy/design.html";i:1584762512;}*/ ?>
-<nc-component v-bind:data="data[index]" class="component-groupbuy">
-
-	<!-- 预览 -->
-	<template slot="preview">
-		
-		<div class="groupbuy-head">
-			<div class="title-wrap">
-				<span class="name">团购专区</span>
-			</div>
-			<div class="more ns-text-color">查看更多</div>
-		</div>
-		<div class="list-wrap">
-			<div class="item">
-				<div class="img-wrap">
-					<img src="http://yueshengshop.top/public/static/ext/diyview/img/crack_figure.png" />
-				</div>
-				<div class="info-wrap">
-					<h4>商品名称</h4>
-					<div class="price-wrap">
-						<span class="old-price">原价:¥1200.00</span>
-						<span class="new-price ns-text-color">团购价:¥998.00</span>
-					</div>
-				</div>
-				<button class="layui-btn layui-btn-sm ns-bg-color">查看详情</button>
-			</div>
-		</div>
-		
-	</template>
-
-	<!-- 编辑 -->
-	<template slot="edit">
-	
-	</template>
-	
-	<!-- 资源 -->
-	<template slot="resource">
-
-		<css src="<?php echo htmlentities($resource_path); ?>/groupbuy/css/design.css"></css>
-		
-	</template>
-	
-</nc-component>

+ 0 - 70
runtime/admin/temp/c087169999ba2c0ee66815a0098b3728.php

@@ -1,70 +0,0 @@
-<?php /*a:1:{s:38:"./app/component/view/title/design.html";i:1583827470;}*/ ?>
-<nc-component v-bind:data="data[index]" class="top-title" v-bind:style="{ backgroundColor : nc.backgroundColor }">
-
-	<!-- 预览 -->
-	<template slot="preview">
-
-		<header v-bind:style="{ color : nc.textColor, backgroundColor : nc.backgroundColor }">
-			<a href="javascript:;" class="go-back">
-				<svg t="1535096586623" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1036" xmlns:xlink="http://www.w3.org/1999/xlink">
-					<path d="M352 512l384-384c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L288 486.4C281.6 492.8 275.2 505.6 275.2 512c0 6.4 0 19.2 6.4 25.6l409.6 409.6c12.8 12.8 32 12.8 44.8 0s12.8-32 0-44.8L352 512z" p-id="1037"></path>
-				</svg>
-			</a>
-			<h4 v-bind:style="{ fontSize : nc.fontSize + 'px' }">{{nc.title}}</h4>
-			<a v-bind:style="{ fontSize : (nc.fontSize-2 + 'px') }" v-show="nc.isOpenOperation" href="javascript:;" class="operation">{{nc.operation_name}}</a>
-		</header>
-		
-	</template>
-	
-	<!-- 编辑 -->
-	<template slot="edit">
-		
-		<div class="layui-form-item">
-			<label class="layui-form-label sm">顶部标题名</label>
-			<div class="layui-input-block">
-				<input type="text" v-model="nc.title" v-bind:id="'title_'+index" placeholder="请输入顶部标题" class="layui-input">
-			</div>
-		</div>
-		
-		<nc-link v-bind:data="{ field : nc.leftLink, label : '左侧链接地址' }"></nc-link>
-		
-		<font-size v-bind:data="{ value : nc.fontSize }"></font-size>
-		
-		<color v-bind:data="{ field : 'backgroundColor', label : '背景颜色' }"></color>
-		
-		<color></color>
-
-		<div class="layui-form-item">
-			<label class="layui-form-label sm">开启右侧功能</label>
-			<div class="layui-input-block">
-				<div v-bind:class="{ 'layui-unselect layui-form-switch' : true, 'layui-form-onswitch' : nc.isOpenOperation }" v-on:click="nc.isOpenOperation=!nc.isOpenOperation">
-					<em></em>
-					<i></i>
-				</div>
-			</div>
-		</div>
-
-		<nc-link v-show="nc.isOpenOperation" v-bind:data="{ field : nc.rightLink }"></nc-link>
-
-		<div class="layui-form-item" v-show="nc.isOpenOperation">
-			<label class="layui-form-label sm">功能名称</label>
-			<div class="layui-input-block">
-				<input type="text" v-model="nc.operation_name" v-bind:id="'top_operation_'+index" placeholder="请输入右侧功能名称" class="layui-input">
-			</div>
-		</div>
-		
-		<template v-if="nc.lazyLoad">
-			<title-empty></title-empty>
-		</template>
-
-	</template>
-	
-	<!-- 资源 -->
-	<template slot="resource">
-
-		<css src="<?php echo htmlentities($resource_path); ?>/title/css/design.css"></css>
-		<js src="<?php echo htmlentities($resource_path); ?>/title/js/design.js"></js>
-		
-	</template>
-	
-</nc-component>

+ 0 - 354
runtime/admin/temp/d092e181d26083b374e6cf03def4c756.php

@@ -1,354 +0,0 @@
-<?php /*a:2:{s:97:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\message\sms.html";i:1586597985;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-
-<!-- 列表 -->
-<table id="sms_list" lay-filter="sms_list"></table>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<!-- 操作 -->
-<script type="text/html" id="operation">
-    <div class="ns-table-btn">
-        <a class="layui-btn" href="{{ns.url(d.edit_url)}}">配置</a>
-    </div>
-</script>
-
-<script type="text/html" id="desc">
-    <div class="ns-over-hide-second" title="{{d.desc}}">{{d.desc}}</div>
-</script>
-
-<script type="text/html" id="status">
-    {{# if(d.status == 1){ }}
-    开启
-    {{# }else{ }}
-    关闭
-    {{# } }}
-</script>
-
-<script>
-    var table = new Table({
-        elem: '#sms_list',
-        url: ns.url("admin/message/sms"),
-        page: false,
-        parseData: function(data) {
-            return {
-                "code": data.code,
-                "msg": data.message,
-                "data": data.data
-            };
-        },
-        cols: [
-            [
-            {
-                field: 'sms_type_name',
-                title: '短信名称',
-                width: '20%',
-                unresize: 'false'
-            }, {
-                field: 'desc',
-                title: '描述',
-                width: '50%',
-                templet: "#desc",
-                unresize: 'false'
-            }, {
-                field: 'status',
-                title: '状态',
-                width: '10%',
-                templet: "#status",
-                unresize: 'false'
-            }, {
-                title: '操作',
-                width: '20%',
-                toolbar: '#operation',
-                unresize: 'false'
-            }
-            ]
-        ],
-    });
-</script>
-
-</body>
-</html>

+ 0 - 527
runtime/admin/temp/d379ba638254e70efdffacd781c13d58.php

@@ -1,527 +0,0 @@
-<?php /*a:2:{s:102:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\goodsbrand\lists.html";i:1586585223;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-collapse ns-tips">
-	<div class="layui-colla-item">
-		<h2 class="layui-colla-title">操作提示</h2>
-		<ul class="layui-colla-content layui-show">
-			<li>平台端维护系统的平台,同时商家可以添加自己店铺的品牌。</li>
-			<li>商家添加商品时可以选择对应的品牌,品牌可以是平台的品牌也可以是商家品牌。</li>
-			<li>商品类型可以关联平台的品牌用在前台搜索商品。</li>
-		</ul>
-	</div>
-</div>
-<!-- 搜索框 -->
-<div class="ns-single-filter-box">
-	<button class="layui-btn ns-bg-color" onclick="addBrand()">添加品牌</button>
-	<div class="layui-form">
-		<div class="layui-input-inline">
-			<input type="text" name="search_keys" placeholder="请输入品牌名称" autocomplete="off" class="layui-input">
-			<button type="button" class="layui-btn layui-btn-primary" lay-filter="search" lay-submit>
-				<i class="layui-icon">&#xe615;</i>
-			</button>
-		</div>
-	</div>
-</div>
-
-<!-- 列表 -->
-<table id="brand_list" lay-filter="brand_list"></table>
-
-<script type="text/html" id="image_url">
-	{{# if(d.image_url){ }}
-	<div class="ns-img-box">
-		<img layer-src src={{ns.img(d.image_url)}} >
-	</div>
-	{{# } }}
-</script>
-
-<!-- 操作 -->
-<script type="text/html" id="operation">
-	<div class="ns-table-btn">
-		{{# if(d.site_id==0){ }}
-		<a class="layui-btn" lay-event="edit">编辑</a>
-		<a class="layui-btn" lay-event="delete">删除</a>
-		{{# }else{ }}
-		<a class="layui-btn" lay-event="change">转入平台</a>
-		{{# } }}
-	</div>
-</script>
-
-<!-- 状态 -->
-<script type="text/html" id="is_recommend">
-	{{ d.is_recommend == 0 ? '否' : '是' }}
-</script>
-
-<!-- 批量操作 -->
-<script type="text/html" id="batchOperation">
-	<button class="layui-btn layui-btn-primary" lay-event="delete">批量删除</button>
-	<!--<button class="layui-btn layui-btn-primary" lay-event="change">转到平台</button>-->
-</script>
-
-<!-- 编辑排序 -->
-<script type="text/html" id="editSort">
-	<input name="sort" type="number" onchange="editSort({{d.brand_id}}, this)" value="{{d.sort}}" class="layui-input edit-sort">
-</script>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-	var form, table;
-	layui.use(['table', 'form'], function() {
-		form = layui.form;
-		
-		table = new Table({
-			elem: '#brand_list',
-			url: ns.url("admin/goodsbrand/lists"),
-			cols: [
-				[{
-					width: "3%",
-					type: 'checkbox',
-					unresize: 'false'
-				}, {
-					field: 'brand_name',
-					title: '品牌名称',
-					width: '16%',
-					unresize: 'false'
-				}, {
-					field: 'group_name',
-					title: '品牌LOGO',
-					width: '12%',
-					unresize: 'false',
-					templet: "#image_url"
-				}, {
-					field: 'brand_initial',
-					title: '首字母',
-					width: '10%',
-					unresize: 'false'
-				}, {
-					field: 'site_name',
-					title: '商家',
-					width: '15%',
-					unresize: 'false'
-				}, {
-					title: '是否推荐',
-					unresize: 'false',
-					width: '12%',
-					templet: '#is_recommend'
-				}, {
-					unresize: 'false',
-					title: '排序',
-					width: '12%',
-					templet: '#editSort'
-				}, {
-					title: '操作',
-					width: '18%',
-					toolbar: '#operation',
-					unresize: 'false'
-				}]
-			],
-			bottomToolbar: "#batchOperation"
-		});
-		
-		/**
-		 * 监听工具栏操作
-		 */
-		table.tool(function(obj) {
-			var data = obj.data;
-			switch (obj.event) {
-				case 'edit':
-					location.href = ns.url("admin/goodsbrand/editbrand?brand_id=" + data.brand_id);
-					break;
-				case 'delete':
-					deleteBrand(data.brand_id);
-					break;
-				case 'change':
-					changeBrand(data.brand_id);
-					break;
-			}
-		});
-		
-		/**
-		 * 批量操作
-		 */
-		table.bottomToolbar(function (obj) {
-			
-			if (obj.data.length < 1) {
-				layer.msg('请选择要操作的数据');
-				return;
-			}
-			var id_array = new Array();
-			for (i in obj.data) id_array.push(obj.data[i].brand_id);
-			switch (obj.event) {
-				case 'delete':
-					deleteBrand(id_array.toString());
-					break;
-				case 'change':
-					changeBrand(id_array.toString());
-					break;
-			}
-		});
-		
-		function changeBrand(brand_ids) {
-			layer.confirm('确定要将该品牌转移到平台吗?', function () {
-				$.ajax({
-					url: ns.url("admin/goodsbrand/modifySite"),
-					data: {brand_ids: brand_ids},
-					dataType: 'JSON',
-					type: 'POST',
-					success: function (res) {
-						layer.msg(res.message);
-						if (res.code == 0) {
-							table.reload();
-						}
-					}
-				});
-			});
-		}
-		
-		/**
-		 * 删除
-		 */
-		function deleteBrand(brand_ids) {
-			layer.confirm('确定要删除该品牌吗?', function() {
-				$.ajax({
-					url: ns.url("admin/goodsbrand/deleteBrand"),
-					data: {brand_ids: brand_ids},
-					dataType: 'JSON',
-					type: 'POST',
-					success: function (res) {
-						layer.msg(res.message);
-						if (res.code == 0) {
-							table.reload();
-						}
-					}
-				});
-			});
-		}
-		/**
-		 * 搜索功能
-		 */
-		form.on('submit(search)', function(data){
-			table.reload({
-				page: {
-					curr: 1
-				},
-				where: data.field
-			});
-		});
-	});
-	
-	// 监听单元格编辑
-	function editSort(id, event){
-		var data = $(event).val();
-		
-		if(!new RegExp("^-?[0-9]\\d*$").test(data)){
-			layer.msg("排序号只能是整数");
-			return ;
-		}
-		if(data<0){
-			layer.msg("排序号必须大于0");
-			return ;
-		}
-		$.ajax({
-			type: 'POST',
-			url: ns.url("admin/goodsbrand/modifySort"),
-			data: {
-				sort: data,
-				brand_id: id
-			},
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				if(res.code==0){
-					table.reload();
-				}
-			}
-		});
-	}
-	
-	function addBrand() {
-		location.href = ns.url("admin/goodsbrand/addBrand");
-	}
-</script>
-
-</body>
-</html>

+ 0 - 35
runtime/admin/temp/dad1b705bb6c26cf192743af7b30b2e7.php

@@ -1,35 +0,0 @@
-<?php /*a:1:{s:39:"./app/component/view/search/design.html";i:1583739441;}*/ ?>
-<nc-component v-bind:data="data[index]" class="top-search">
-
-	<!-- 预览 -->
-	<template slot="preview">
-
-		<!--<div class="left-img"><img v-bind:src="nc.left_img_url ? changeImgUrl(nc.left_img_url) : '<?php echo htmlentities($resource_path); ?>/search/img/category.png'" class="self-adaption"/></div>-->
-		<div class="top-search-form">
-			<div class="top-search-box">
-				<input type="text" placeholder="搜索"/>
-				<span class="top-search-icon"><img src="<?php echo htmlentities($resource_path); ?>/search/img/icon_search.png" class="self-adaption"/></span>
-			</div>
-		</div>
-		<!--<div class="right-img"><img v-bind:src="nc.right_img_url ? changeImgUrl(nc.right_img_url) : '<?php echo htmlentities($resource_path); ?>/search/img/user.png'" class="self-adaption"/></div>-->
-
-	</template>
-
-	<!-- 编辑 -->
-	<template slot="edit">
-		
-		<!--<template v-if="nc.lazyLoad">-->
-			<!--<top-search></top-search>-->
-		<!--</template>-->
-	
-	</template>
-	
-	<!-- 资源 -->
-	<template slot="resource">
-
-		<css src="<?php echo htmlentities($resource_path); ?>/search/css/design.css"></css>
-		<js src="<?php echo htmlentities($resource_path); ?>/search/js/design.js"></js>
-		
-	</template>
-
-</nc-component>

+ 0 - 343
runtime/admin/temp/e3a78359aa9db34f093f6e7f93b5e5b9.php

@@ -1,343 +0,0 @@
-<?php /*a:2:{s:100:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\config\captcha.html";i:1587196808;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-<style>
-	.ns-form {margin-top: 0;}
-</style>
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-form ns-form">
-	<div class="layui-form-item">
-		<label class="layui-form-label">是否启用平台登录:</label>
-		<div class="layui-input-block">
-			<input type="checkbox" name="admin_login" value="1" lay-skin="switch" <?php if($config_info['admin_login'] == 1): ?> checked <?php endif; ?> />
-		</div>
-		<div class="ns-word-aux">设置平台端登录验证码是否开启</div>
-	</div>
-	
-	<div class="layui-form-item">
-		<label class="layui-form-label">是否启用商家登录:</label>
-		<div class="layui-input-block">
-			<input type="checkbox" name="shop_login" value="1" lay-skin="switch" <?php if($config_info['shop_login'] == 1): ?>checked <?php endif; ?> />
-		</div>
-		<div class="ns-word-aux">设置商户端登录验证码是否开启</div>
-	</div>
-	
-	<div class="ns-form-row">
-		<button class="layui-btn ns-bg-color" lay-submit lay-filter="save">保存</button>
-	</div>
-</div>
-
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-	layui.use('form', function() {
-		var form = layui.form,
-			repeat_flag = false; //防重复标识
-		form.render();
-
-		form.on('submit(save)', function(data) {
-			
-			if (repeat_flag) return false;
-			repeat_flag = true;
-			
-			$.ajax({
-				type: 'POST',
-				dataType: 'JSON',
-				url: ns.url("admin/config/captcha"),
-				data: data.field,
-				success: function(res) {
-					layer.msg(res.message);
-					repeat_flag = false;
-					if (res.code == 0) {
-						location.reload();
-					}
-				}
-			});
-		});
-	});
-</script>
-
-</body>
-</html>

+ 0 - 690
runtime/admin/temp/eb04cae0fa2b79df1d912d1925578e76.php

@@ -1,690 +0,0 @@
-<?php /*a:2:{s:99:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\upload\config.html";i:1587196808;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-<style>
-	.ns-watermark-img, .ns-watermark-font { display: none; }
-</style>
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-
-<div class="layui-form">
-	
-	<!-- 基础上传 -->
-	<div class="layui-card ns-card-common ns-card-brief">
-		<div class="layui-card-header">
-			<span class="ns-card-title">基础上传</span>
-		</div>
-		<div class="layui-card-body">
-			<div class="layui-form-item">
-				<label class="layui-form-label">上传大小:</label>
-				<div class="layui-input-block">
-					<div class="layui-input-inline">
-						<input name="max_filesize" type="number" lay-verify="num" value="<?php echo htmlentities($config['value']['upload']['max_filesize']); ?>" class="layui-input ns-len-short">
-					</div>
-					<div class="layui-form-mid">kb</div>
-				</div>
-				<div class="ns-word-aux">允许上传的文件大小,0为不限制</div>
-			</div>
-
-			<div class="layui-form-item">
-				<label class="layui-form-label">图片扩展名:</label>
-				<div class="layui-input-block">
-					<input name="image_allow_ext" type="text" value="<?php echo htmlentities($config['value']['upload']['image_allow_ext']); ?>" class="layui-input ns-len-long">
-				</div>
-				<div class="ns-word-aux">设置允许上传的文件扩展名,多个扩展名之间用“,”隔开,如不填则为不限制</div>
-			</div>
-
-			<div class="layui-form-item">
-				<label class="layui-form-label">图片Mime类型:</label>
-				<div class="layui-input-block">
-					<input name="image_allow_mime" type="text" value="<?php echo htmlentities($config['value']['upload']['image_allow_mime']); ?>" class="layui-input ns-len-long">
-				</div>
-				<div class="ns-word-aux">设置允许上传的文件mime类型,多个类型之间用“,”隔开,如不填则为不限制</div>
-			</div>
-		</div>
-	</div>
-
-	<!-- 缩略图上传 -->
-	<div class="layui-card ns-card-common ns-card-brief">
-		<div class="layui-card-header">
-			<span class="ns-card-title">缩略图</span>
-		</div>
-		<div class="layui-card-body">
-			<div class="layui-form-item">
-				<label class="layui-form-label">自定义裁剪位置:</label>
-				<div class="layui-input-block">
-					<?php foreach($position as $thumb_position_k => $thumb_position_v): ?>
-						<input type="radio" name="thumb_position" value="<?php echo htmlentities($thumb_position_k); ?>" lay-filter="thumbPosition" title="<?php echo htmlentities($thumb_position_v); ?>" <?php echo $config['value']['thumb']['thumb_position']==$thumb_position_k ? 'checked'  :  ''; ?> />
-					<?php endforeach; ?>
-				</div>
-			</div>
-
-			<div class="layui-form-item">
-				<label class="layui-form-label">缩略大图(单位:px):</label>
-				<div class="layui-input-block">
-					<div class="layui-form-mid">宽</div>
-					<div class="layui-input-inline">
-						<input name="thumb_big_width" type="number" value="<?php echo htmlentities($config['value']['thumb']['thumb_big_width']); ?>" lay-verify="int" class="layui-input ns-len-short">
-					</div>
-					<div class="layui-form-mid">高</div>
-					<div class="layui-input-inline">
-						<input name="thumb_big_height" type="number" value="<?php echo htmlentities($config['value']['thumb']['thumb_big_height']); ?>" lay-verify="int" class="layui-input ns-len-short">
-					</div>
-				</div>
-			</div>
-
-			<div class="layui-form-item">
-				<label class="layui-form-label">缩略中图(单位:px):</label>
-				<div class="layui-input-block">
-					<div class="layui-form-mid">宽</div>
-					<div class="layui-input-inline">
-						<input name="thumb_mid_width" type="number" value="<?php echo htmlentities($config['value']['thumb']['thumb_mid_width']); ?>" lay-verify="int" class="layui-input ns-len-short">
-					</div>
-					<div class="layui-form-mid">高</div>
-					<div class="layui-input-inline">
-						<input name="thumb_mid_height" type="number" value="<?php echo htmlentities($config['value']['thumb']['thumb_mid_height']); ?>" lay-verify="int" class="layui-input ns-len-short">
-					</div>
-				</div>
-			</div>
-
-			<div class="layui-form-item">
-				<label class="layui-form-label">缩略小图(单位:px):</label>
-				<div class="layui-input-block">
-					<div class="layui-form-mid">宽</div>
-					<div class="layui-input-inline">
-						<input name="thumb_small_width" type="number" value="<?php echo htmlentities($config['value']['thumb']['thumb_small_width']); ?>" lay-verify="int" class="layui-input ns-len-short">
-					</div>
-					<div class="layui-form-mid">高</div>
-					<div class="layui-input-inline">
-						<input name="thumb_small_height" type="number" value="<?php echo htmlentities($config['value']['thumb']['thumb_small_height']); ?>" lay-verify="int" class="layui-input ns-len-short">
-					</div>
-				</div>
-			</div>
-		</div>
-	</div>
-
-	<!-- 水印设置 -->
-	<div class="layui-card ns-card-common ns-card-brief">
-		<div class="layui-card-header">
-			<span class="ns-card-title">水印设置</span>
-		</div>
-		<div class="layui-card-body">
-			<div class="layui-form-item">
-				<label class="layui-form-label">是否开启水印:</label>
-				<div class="layui-input-block">
-					<input type="checkbox" name="is_watermark" value="1" lay-skin="switch" lay-filter="isOpen" <?php if($config['value']['water']['is_watermark'] == 1): ?> checked <?php endif; ?> />
-				</div>
-				<div class="ns-word-aux">开启水印设置之后所有上传图片都会有水印标志</div>
-			</div>
-			
-			<!-- 水印开启 -->
-			<div class="layui-form-item">
-				<label class="layui-form-label">水印类型:</label>
-				<div class="layui-input-block" id="watermark_type">
-					<input type="radio" name="watermark_type" lay-filter="watermark" value="1" title="图片" <?php echo $config['value']['water']['watermark_type']==1 ? 'checked'  :  ''; ?> >
-					<input type="radio" name="watermark_type" lay-filter="watermark" value="2" title="文字" <?php echo $config['value']['water']['watermark_type']==2 ? 'checked'  :  ''; ?> >
-				</div>
-				<div class="ns-word-aux">水印可为图片或文字形式</div>
-			</div>
-
-			<!-- 图片水印 -->
-			<div class="ns-watermark-img">
-				<div class="layui-form-item">
-					<label class="layui-form-label img-upload-lable">水印图片来源:</label>
-					<div class="layui-input-block">
-						<div class="upload-img-block">
-							<!-- 用于存储图片路径 -->
-							<input type="hidden" name="watermark_source" value="<?php echo htmlentities($config['value']['water']['watermark_source']); ?>" class="layui-input"/>
-							<div class="upload-img-box" id="watermark_source">
-								<?php if(empty($config['value']['water']['watermark_source'])): ?>
-								<div class="ns-upload-default">
-									<img src="http://yueshengshop.top/public/static/img/upload_img.png" />
-									<p>点击上传</p>
-								</div>
-								<?php else: ?>
-								<img src="<?php echo img($config['value']['water']['watermark_source']); ?>" alt="">
-								<?php endif; ?>
-							</div>
-						</div>
-					</div>
-					<div class="ns-word-aux">水印为图片时,上传水印图片</div>
-				</div>
-
-				<div class="layui-form-item">
-					<label class="layui-form-label">水印图片位置:</label>
-					<div class="layui-input-block">
-						<?php foreach($position as $watermark_position_k => $watermark_position_v): ?>
-							<input type="radio" name="watermark_position" value="<?php echo htmlentities($watermark_position_k); ?>" title="<?php echo htmlentities($watermark_position_v); ?>" <?php echo $config['value']['water']['watermark_position']==$watermark_position_k ? 'checked'  :  ''; ?> />
-						<?php endforeach; ?>
-					</div>
-					<div class="ns-word-aux">水印图片在图片上的位置</div>
-				</div>
-
-				<div class="layui-form-item">
-					<label class="layui-form-label">水印图片透明度:</label>
-						<div class="layui-input-block">
-							<div class="layui-input-inline">
-								<input name="watermark_opacity" type="number" value="<?php echo htmlentities($config['value']['water']['watermark_opacity']); ?>" lay-verify="intrange" class="layui-input ns-len-short">
-							</div>
-							<div class="layui-form-mid">%</div>
-						</div>
-						<div class="ns-word-aux">水印图片透明度,用百分数表示,可为0-100%,0为不透明</div>
-					</div>
-				<div class="layui-form-item">
-					<label class="layui-form-label">水印图片倾斜度:</label>
-					<div class="layui-input-block">
-						<div class="layui-input-inline">
-							<input name="watermark_rotate" type="number" value="<?php echo htmlentities($config['value']['water']['watermark_rotate']); ?>" lay-verify="angle" class="layui-input ns-len-short">
-						</div>
-						<div class="layui-form-mid">度</div>
-					</div>
-					<div class="ns-word-aux">水印图片倾斜的角度</div>
-				</div>
-			</div>
-			
-			<!-- 文字水印 -->
-			<div class="ns-watermark-font">
-				<div class="layui-form-item">
-					<label class="layui-form-label">水印文字:</label>
-					<div class="layui-input-inline">
-						<input name="watermark_text" type="text" value="<?php echo htmlentities($config['value']['water']['watermark_text']); ?>" class="layui-input ns-len-long">
-					</div>
-				</div>
-				
-				<div class="layui-form-item">
-					<label class="layui-form-label">字体大小:</label>
-					<div class="layui-input-block">
-						<div class="layui-input-inline">
-							<input name="watermark_text_size" type="number" value="<?php echo htmlentities($config['value']['water']['watermark_text_size']); ?>" lay-verify="int" class="layui-input ns-len-short">
-						</div>
-						<div class="layui-form-mid">px</div>
-					</div>
-					<div class="ns-word-aux">水印文字的字体大小</div>
-				</div>
-				
-				<div class="layui-form-item">
-					<label class="layui-form-label">字体颜色:</label>
-					<div class="layui-input-inline">
-						<input name="watermark_text_color" type="text" value="<?php echo htmlentities($config['value']['water']['watermark_text_color']); ?>" class="layui-input ns-len-short" id="watermark_color_input">
-					</div>
-					<div class="layui-input-block">
-						<div id="watermark_color">
-							
-						</div>
-					</div>
-					<div class="ns-word-aux">水印文字颜色</div>
-				</div>
-				
-				<div class="layui-form-item">
-					<label class="layui-form-label">水印文字水平对齐方式:</label>
-					<div class="layui-input-block">
-						<input type="radio" name="watermark_text_align" value="left" title="居左对齐" <?php echo $config['value']['water']['watermark_text_align']=='left' ? 'checked'  :  ''; ?> >
-						<input type="radio" name="watermark_text_align" value="center" title="居中对齐" <?php echo $config['value']['water']['watermark_text_align']=='center' ? 'checked'  :  ''; ?> >
-						<input type="radio" name="watermark_text_align" value="right" title="居右对齐" <?php echo $config['value']['water']['watermark_text_align']=='right' ? 'checked'  :  ''; ?> >
-					</div>
-				</div>
-				
-				<div class="layui-form-item">
-					<label class="layui-form-label">水印文字垂直对齐方式:</label>
-					<div class="layui-input-block">
-						<input type="radio" name="watermark_text_valign" value="top" title="居上对齐" <?php echo $config['value']['water']['watermark_text_valign']=='top' ? 'checked'  :  ''; ?> >
-						<input type="radio" name="watermark_text_valign" value="center" title="居中对齐" <?php echo $config['value']['water']['watermark_text_valign']=='center' ? 'checked'  :  ''; ?> >
-						<input type="radio" name="watermark_text_valign" value="bottom" title="居下对齐" <?php echo $config['value']['water']['watermark_text_valign']=='bottom' ? 'checked'  :  ''; ?> >
-					</div>
-				</div>
-			
-				<div class="layui-form-item">
-					<label class="layui-form-label">文本旋转角度:</label>
-					<div class="layui-input-block">
-						<div class="layui-input-inline">
-							<input name="watermark_text_angle" type="number" value="<?php echo htmlentities($config['value']['water']['watermark_text_angle']); ?>" lay-verify="angle" class="layui-input ns-len-short">
-						</div>
-						<div class="layui-form-mid">度</div>
-					</div>
-					<div class="ns-word-aux">水印文字相对于图片旋转的角度</div>
-				</div>
-			</div>
-			
-			<div class="layui-form-item">
-				<label class="layui-form-label">水印横坐标偏移量:</label>
-				<div class="layui-input-block">
-					<div class="layui-input-inline">
-						<input name="watermark_x" type="number" value="<?php echo htmlentities($config['value']['water']['watermark_x']); ?>" lay-verify="int" class="layui-input ns-len-short">
-					</div>
-					<div class="layui-form-mid">px</div>
-				</div>
-				<div class="ns-word-aux">水印相对于横坐标偏移的距离,用像素单位表示</div>
-			</div>
-			
-			<div class="layui-form-item">
-				<label class="layui-form-label">水印纵坐标偏移量:</label>
-				<div class="layui-input-block">
-					<div class="layui-input-inline">
-						<input name="watermark_y" type="number" value="<?php echo htmlentities($config['value']['water']['watermark_y']); ?>" lay-verify="int" class="layui-input ns-len-short">
-					</div>
-					<div class="layui-form-mid">px</div>
-				</div>
-				<div class="ns-word-aux">水印相对于纵坐标偏移的距离,用像素单位表示</div>
-			</div>
-		</div>
-	</div>
-
-	<!-- 提交 -->
-	<div class="ns-single-filter-box">
-		<div class="ns-form-row">
-			<button class="layui-btn ns-bg-color" lay-submit lay-filter="save">保存</button>
-		</div>
-	</div>
-	
-	<!-- 隐藏域 -->
-	<input class="watermark-type" type="hidden" value="<?php echo htmlentities($config['value']['water']['watermark_type']); ?>"  /><!-- 水印类型 -->
-</div>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-	layui.use(['form', 'upload', 'colorpicker'], function() {
-		var form = layui.form,
-			upload = layui.upload,
-			colorpicker = layui.colorpicker,
-			repeat_flag = false; //防重复标识
-		form.render();
-
-		/**
-		 * 监听保存
-		 */
-		form.on('submit(save)', function(data) {
-			if(repeat_flag) return;
-			repeat_flag = true;
-			
-			$.ajax({
-				type: 'POST',
-				url: ns.url("admin/upload/config"),
-				dataType: 'JSON',
-				data: data.field,
-				success: function(res) {
-					layer.msg(res.message);
-					repeat_flag = false;
-					if (res.code == 0) {
-						location.reload();
-					}
-				}
-			});
-		});
-		
-		/**
-		 * 水印类型
-		 */
-		var type = $(".watermark-type").val();
-		if (type == 1) {
-			$(".ns-watermark-img").show();
-		} else {
-			$(".ns-watermark-font").show();
-		}
-		form.on('radio(watermark)', function(data) {
-			if (data.value == 1) {
-				$(".ns-watermark-img").show();
-				$(".ns-watermark-font").hide();
-			} else{
-				$(".ns-watermark-img").hide();
-				$(".ns-watermark-font").show();
-			}
-		});
-
-		/**
-		 * 图片上传
-		 */
-		var uploadLogo = upload.render({
-			elem: '#watermark_source',
-			url: ns.url("admin/upload/upload"),
-			done: function(res) {
-				if (res.code >= 0) {
-					$("input[name='watermark_source']").val(res.data.pic_path);
-					$('.upload-img-box').html("<img src=" + ns.img(res.data.pic_path) + " >"); //图片链接(base64)
-				}
-				return layer.msg(res.message);
-			}
-		});
-		
-		/**
-		 * 水印文字颜色
-		 */
-		colorpicker.render({
-		    elem: '#watermark_color',  //绑定元素
-            color: "<?php echo htmlentities($config['value']['water']['watermark_text_color']); ?>",
-			done: function(color) {
-				$("#watermark_color_input").attr("value", color);
-			}
-		});
-		
-		/**
-		 * 表单验证
-		 */
-		form.verify({
-			num: function(value) {
-
-				var arrMen = value.split("."),
-					val = 0;
-
-				if (arrMen.length == 2) {
-					val = arrMen[1];
-				}
-
-				if (value == "") {
-					return false;
-				}
-				
-				if (value < 0 || val.length > 2) {
-					return '请输入大于0的数,保留小数点后两位'
-				}
-			},
-			int: function(value) {
-				if (value == "") {
-					return false;
-				}
-				if (value < 0 || !(value % 1 === 0)) {
-					return '请输入大于0的整数'
-				}
-			},
-			intrange: function(value) {
-				if (value == "") {
-					return false;
-				}
-				if (value < 0 || value > 100 || !(value % 1 === 0)) {
-					return '请输入0-100之间的整数'
-				}
-			},
-			angle: function(value) {
-				if (value == "") {
-					return false;
-				}
-				if (!(value % 1 === 0)) {
-					return '请输入整数'
-				}
-			}
-		});
-	});
-</script>
-
-</body>
-</html>

+ 0 - 373
runtime/admin/temp/f5a9d1f35f603e0a3352b7d315afb221.php

@@ -1,373 +0,0 @@
-<?php /*a:2:{s:96:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\config\api.html";i:1587196808;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-<style>
-	.ns-form {margin-top: 0;}
-</style>
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-form ns-form">
-	<div class="layui-form-item">
-		<label class="layui-form-label">是否启用:</label>
-		<div class="layui-input-block">
-			<input type="checkbox" name="is_use" value="1" lay-skin="switch" <?php if($config['is_use'] == 1): ?> checked <?php endif; ?> />
-		</div>
-		<div class="ns-word-aux">api安全功能开启之后调用前端api需要传输签名串</div>
-	</div>
-	
-	<div class="layui-form-item">
-		<label class="layui-form-label">应用公钥:</label>
-		<div class="layui-input-block">
-			<?php if($config['value']): ?>
-			<textarea name="public_key" class="layui-textarea ns-len-long" placeholder="请输入应用公钥"><?php echo htmlentities($config['value']['public_key']); ?></textarea>
-			<?php else: ?>
-			<textarea name="public_key" class="layui-textarea ns-len-long" placeholder="请输入应用公钥"></textarea>
-			<?php endif; ?>
-		</div>
-	</div>
-	
-	<div class="layui-form-item">
-		<label class="layui-form-label">应用私钥:</label>
-		<div class="layui-input-block">
-			<?php if($config['value']): ?>
-			<textarea name="private_key" class="layui-textarea ns-len-long" placeholder="请输入应用私钥"><?php echo htmlentities($config['value']['private_key']); ?></textarea>
-			<?php else: ?>
-			<textarea name="private_key" class="layui-textarea ns-len-long" placeholder="请输入应用私钥"></textarea>
-			<?php endif; ?>
-		</div>
-		<div class="ns-word-aux">私钥设置关系系统中api调用传输签名串的编码规则,以及会员token解析,请慎重设置,注意设置之后对应会员要求重新登录获取token</div>
-	</div>
-	
-	<div class="ns-form-row">
-		<button class="layui-btn ns-bg-color" lay-submit lay-filter="generate">生成秘钥</button>
-		<button class="layui-btn ns-bg-color" lay-submit lay-filter="save">保存</button>
-	</div>
-</div>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-	layui.use('form', function() {
-		var form = layui.form;
-			repeat_flag = false; //防重复标识
-		form.render();
-
-		/**
-		 * 监听提交
-		 */
-		form.on('submit(save)', function(data) {
-			if (repeat_flag) return false;
-			repeat_flag = true;
-			
-			$.ajax({
-				url: ns.url("admin/config/api"),
-				data: data.field,
-				dataType: 'JSON',
-				type: 'POST',
-				success: function(data){
-				    layer.msg(data.message);
-					repeat_flag = false;
-				}
-			});
-		});
-		form.on('submit(generate)', function(data) {
-			if (repeat_flag) return false;
-			repeat_flag = true;
-			
-			$.ajax({
-				url: ns.url("admin/config/generateRSA"),
-				dataType: 'JSON',
-				type: 'POST',
-				success: function(res){
-					$("textarea[name='public_key']").val(res.data.public_key);
-					$("textarea[name='private_key']").val(res.data.private_key);
-					repeat_flag = false;
-				}
-			});
-		});
-		
-	});
-</script>
-
-</body>
-</html>

+ 0 - 448
runtime/admin/temp/f9f0dfe31e89f09da3b71cfcc8cba46a.php

@@ -1,448 +0,0 @@
-<?php /*a:2:{s:114:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\shop_account\withdraw_config.html";i:1588237533;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-form">
-    <!-- 基础上传 -->
-    <div class="layui-card ns-card-common ns-card-brief">
-        <div class="layui-card-header">
-            <span class="ns-card-title">结算周期设置</span>
-        </div>
-        <div class="layui-card-body">
-            <div class="layui-form-item">
-                <label class="layui-form-label">结算周期类型:</label>
-                <div class="layui-input-block">
-                    <div class="layui-input-inline">
-                        <input type="radio" name="period_type" value="1" lay-filter="period_type" title="按天" <?php echo $config_info['value']['period_type']==1 ? 'checked'  :  ''; ?> />
-                        <input type="radio" name="period_type" value="2" lay-filter="period_type" title="按周" <?php echo $config_info['value']['period_type']==2 ? 'checked'  :  ''; ?> />
-                        <input type="radio" name="period_type" value="3" lay-filter="period_type" title="按月" <?php echo $config_info['value']['period_type']==3 ? 'checked'  :  ''; ?> />
-                    </div>
-                </div>
-                <div class="ns-word-aux">按天是指每天0点开始,按周是指每周一0点开始,按月是指每月一号0点开始</div>
-            </div>
-        </div>
-    </div>
-
-    <div class="layui-card ns-card-common ns-card-brief">
-        <div class="layui-card-header">
-            <span class="ns-card-title">提现设置</span>
-        </div>
-        <div class="layui-card-body">
-            <div class="layui-form-item">
-                <label class="layui-form-label">最低提现金额:</label>
-                <div class="layui-input-block">
-                    <div class="layui-input-inline">
-                        <input type="number" name="min_withdraw" lay-verify="required|flo" value="<?php echo htmlentities($config_info['value']['min_withdraw']); ?>" autocomplete="off" class="layui-input ns-len-small">
-                    </div>
-                    <div class="layui-form-mid">元</div>
-                </div>
-                <div class="ns-word-aux">最低提现金额,对手动申请提现有效</div>
-            </div>
-
-            <div class="layui-form-item">
-                <label class="layui-form-label">最高提现金额:</label>
-                <div class="layui-input-block">
-                    <div class="layui-input-inline">
-                        <input type="number" name="max_withdraw" lay-verify="required|flo|check_num" value="<?php echo htmlentities($config_info['value']['max_withdraw']); ?>" autocomplete="off" class="layui-input ns-len-small">
-                    </div>
-                    <div class="layui-form-mid">元</div>
-                </div>
-                <div class="ns-word-aux">最高提现金额,对手动申请提现有效</div>
-            </div>
-        </div>
-    </div>
-
-    <div class="layui-card ns-card-common ns-card-brief">
-        <div class="layui-card-header">
-            <span class="ns-card-title">体验入驻设置</span>
-        </div>
-        <div class="layui-card-body">
-
-            <div class="layui-form-item">
-                <label class="layui-form-label">快速入驻:</label>
-                <div class="layui-input-block">
-                    <input type="checkbox" name="id_experience" value="1" lay-skin="switch" <?php if($config_info['value']['id_experience'] == 1): ?>checked<?php endif; ?> >
-                </div>
-                <div class="ns-word-aux">开启后,入驻界面显示<span style="color: #4685fd;">快速开店</span>选项</div>
-            </div>
-
-            <div class="layui-form-item">
-                <label class="layui-form-label">体验入驻时长:</label>
-                <div class="layui-input-block">
-                    <div class="layui-input-inline">
-                        <input type="number" name="expire_time"  value="<?php echo htmlentities($config_info['value']['expire_time']); ?>" min="0" autocomplete="off" class="layui-input ns-len-small">
-                    </div>
-                    <div class="layui-form-mid">天</div>
-                </div>
-            </div>
-
-            <div class="layui-form-item">
-                <label class="layui-form-label">体验开店套餐:</label>
-                <div class="layui-input-block">
-                    <div class="layui-input-inline">
-                        <select name="group_id">
-                            <option value="">请选择权限组</option>
-                            <?php foreach($group_list as $group_list_k => $group_list_v): ?>
-                            <option value="<?php echo htmlentities($group_list_v['group_id']); ?>" <?php if($group_list_v['group_id']==$config_info['value']['group_id']): ?>selected<?php endif; ?>><?php echo htmlentities($group_list_v['group_name']); ?> </option>
-                            <?php endforeach; ?>
-                        </select>
-                    </div>
-                </div>
-            </div>
-        </div>
-    </div>
-
-	<div class="ns-single-filter-box">
-		<div class="ns-form-row">
-			<button class="layui-btn ns-bg-color" lay-submit lay-filter="save">保存</button>
-		</div>
-	</div>
-</div>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-    layui.use(['form'], function() {
-        var form = layui.form,
-            repeat_flag = false; //防重复标识
-
-
-        form.render();
-
-        form.verify({
-            rate: function(value){
-                if(value > 100 || value < 0 || value%1 != 0){
-                    return '请填写0-100的整数';
-                }
-            },
-			flo: function (value) {
-				console.log(1);
-				if (value == '') {
-					return;
-				}
-				var reg = /^(0|[1-9]\d*)(\s|$|\.\d{1,2}\b)/;
-				if (!reg.test(value)) {
-					return '价格不能小于0,可保留两位小数!'
-				}
-			},
-            check_num:function(value){
-                if($("input[name='min_withdraw']").val() > value){
-                    return '最小提现金额不能大于最大提现金额!';
-                }
-            }
-        });
-
-        form.on('submit(save)', function(data) {
-            if (repeat_flag) return;
-            repeat_flag = true;
-
-            field = data.field;
-            if(field.expire_time != ''){
-                if(field.group_id == 0){
-                    layer.msg('请选择体验开店套餐');
-                    repeat_flag = false;
-                    return;
-                }
-            }
-            $.ajax({
-                type: 'POST',
-                dataType: 'JSON',
-                url: ns.url("admin/shopaccount/withdrawconfig"),
-                data: {
-					'config_json': JSON.stringify(data.field)
-				},
-                success: function(res) {
-                    layer.msg(res.message);
-					repeat_flag = false;
-                    if (res.code == 0) {
-                        location.reload();
-                    }
-                }
-            });
-        });
-    });
-</script>
-
-</body>
-</html>

+ 0 - 51
runtime/admin/temp/fa2487953f6a63130e88e7495fa6df2e.php

@@ -1,51 +0,0 @@
-<?php /*a:1:{s:37:"./app/component/view/text/design.html";i:1583551606;}*/ ?>
-<nc-component v-bind:data="data[index]" class="component-title" v-bind:style="{ backgroundColor : nc.backgroundColor }">
-
-	<!-- 预览 -->
-	<template slot="preview">
-		
-		<h2 v-show="nc.title" v-bind:style="{ textAlign :nc.textAlign, fontSize : nc.fontSize + 'px' }">{{ nc.title }}</h2>
-		<p  v-show="nc.subTitle" v-bind:style="{ textAlign :nc.textAlign, fontSize : nc.fontSize-4 + 'px' }">{{ nc.subTitle }}</p>
-		
-	</template>
-
-	<!-- 编辑 -->
-	<template slot="edit">
-		
-		<div class="layui-form-item">
-			<label class="layui-form-label sm">文本名</label>
-			<div class="layui-input-block">
-				<input type="text" v-model="nc.title" v-bind:id="'title_'+index" placeholder="请输入文本" class="layui-input">
-			</div>
-		</div>
-			
-		<div class="layui-form-item">
-			<label class="layui-form-label sm">副文本</label>
-			<div class="layui-input-block">
-				<input type="text" v-model="nc.subTitle" v-bind:id="'subTitle_'+index" placeholder="请输入副文本" class="layui-input">
-			</div>
-		</div>
-
-		<font-size v-bind:data="{ value : nc.fontSize }"></font-size>
-
-		<text-align></text-align>
-
-		<color v-bind:data="{ field : 'backgroundColor', 'label' : '背景颜色' }"></color>
-		
-		<nc-link v-bind:data="{ field : nc.link }"></nc-link>
-		
-		<template v-if="nc.lazyLoad">
-			<text-empty></text-empty>
-		</template>
-		
-	</template>
-	
-	<!-- 资源 -->
-	<template slot="resource">
-
-		<css src="<?php echo htmlentities($resource_path); ?>/text/css/design.css"></css>
-		<js src="<?php echo htmlentities($resource_path); ?>/text/js/design.js"></js>
-		
-	</template>
-	
-</nc-component>

+ 0 - 427
runtime/admin/temp/fae21e902043826a1f3936ce3ed2f470.php

@@ -1,427 +0,0 @@
-<?php /*a:2:{s:108:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\config\default_picture.html";i:1587196808;s:90:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\app\admin\view\base.html";i:1587517806;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-	<meta name="renderer" content="webkit" />
-	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
-	<title><?php echo htmlentities((isset($menu_info['title']) && ($menu_info['title'] !== '')?$menu_info['title']:"")); ?> - <?php echo htmlentities((isset($website['title']) && ($website['title'] !== '')?$website['title']:"Niushop开源商城")); ?></title>
-	<meta name="keywords" content="<?php echo htmlentities((isset($website['keywords']) && ($website['keywords'] !== '')?$website['keywords']:'Niushop开源商城')); ?>">
-	<meta name="description" content="<?php echo htmlentities((isset($website['desc']) && ($website['desc'] !== '')?$website['desc']:'描述')); ?>}">
-	<link rel="icon" type="image/x-icon" href="http://yueshengshop.top/public/static/img/bitbug_favicon.ico" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/css/iconfont.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/ext/layui/css/layui.css" />
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/public/static/loading/msgbox.css"/>
-	<link rel="stylesheet" type="text/css" href="http://yueshengshop.top/app/admin/view/public/css/common.css" />
-	<script src="http://yueshengshop.top/public/static/js/jquery-3.1.1.js"></script>
-	<script src="http://yueshengshop.top/public/static/ext/layui/layui.js"></script>
-	<script>
-		layui.use(['layer', 'upload', 'element'], function() {});
-		window.ns_url = {
-			baseUrl: "http://yueshengshop.top/",
-			route: ['<?php echo request()->module(); ?>', '<?php echo request()->controller(); ?>', '<?php echo request()->action(); ?>'],
-		};
-	</script>
-	<script src="http://yueshengshop.top/public/static/js/common.js"></script>
-	<style>
-		.ns-calendar{background: url("http://yueshengshop.top/public/static/img/ns_calendar.png") no-repeat center / 16px 16px;}
-	</style>
-	
-<style>
-	.layui-input-inline.js-pid a{
-		margin-left: 20px;
-	}
-	.ns-form {margin-top: 0;}
-</style>
-
-	<script type="text/javascript">
-	</script>
-</head>
-<body>
-
-<!-- logo -->
-<div class="ns-logo">
-	<div class="logo-box">
-		<img src="http://yueshengshop.top/app/admin/view/public/img/logo.png">
-	</div>
-	<span>B2B2C多商户平台端</span>
-	<span>
-		服务电话:400-886-7993
-	</span>
-</div>
-
-<div class="layui-layout layui-layout-admin">
-	
-	<div class="layui-header">
-		<!-- 一级菜单 -->
-		<ul class="layui-nav layui-layout-left">
-			<?php $serond_menu = []; foreach($menu as $menu_k => $menu_v): ?>
-			<li class="layui-nav-item <?php if($menu_v['selected']): ?> layui-this<?php endif; ?>">
-				<a href="<?php echo htmlentities($menu_v['url']); ?>"><?php echo htmlentities($menu_v['title']); ?></a>
-			</li>
-			<?php if($menu_v['selected']): 
-				$serond_menu = $menu_v['child_list'];
-				 ?>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</ul>
-		<ul class="layui-nav layui-layout-right">
-			<li class="layui-nav-item">
-				<a href="javascript:;">
-					<div class="ns-img-box">
-						<img src="http://yueshengshop.top/app/admin/view/public/img/default_headimg.png" alt="">
-					</div>
-					<?php echo htmlentities($user_info['username']); ?>
-				</a>
-				<dl class="layui-nav-child">
-					<dd class="ns-reset-pass" onclick="resetPassword();">
-						<a href="javascript:;">修改密码</a>
-					</dd>
-					<dd>
-						<a onclick="clearCache()" href="javascript:;">清除缓存</a>
-					</dd>
-					<dd>
-						<a href="<?php echo addon_url('admin/login/logout'); ?>" class="login-out">退出登录</a>
-					</dd>
-				</dl>
-			</li>
-		</ul>
-	</div>
-	
-
-	<?php if(!(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty()))): ?>
-	<div class="layui-side">
-		<div class="layui-side-scroll">
-			<span class="ns-side-title"><?php echo htmlentities($crumbs[0]['title']); ?></span>
-			<!-- 二三级菜单-->
-			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
-				<?php foreach($serond_menu as $menu_second_k => $menu_second_v): ?>
-				<li class="layui-nav-item <?php if($menu_second_v['selected']): ?> layui-nav-itemed <?php endif; if(!$menu_second_v['child_list'] && $menu_second_v['selected']): ?> layui-this<?php endif; ?>">
-					<a class="layui-menu-tips" href="<?php if(!$menu_second_v['child_list']): ?> <?php echo htmlentities($menu_second_v['url']); else: ?>javascript:;<?php endif; ?>"><?php echo htmlentities($menu_second_v['title']); ?></a>
-					<?php if(!(empty($menu_second_v['child_list']) || (($menu_second_v['child_list'] instanceof \think\Collection || $menu_second_v['child_list'] instanceof \think\Paginator ) && $menu_second_v['child_list']->isEmpty()))): ?>
-					<dl class="layui-nav-child">
-						<?php foreach($menu_second_v["child_list"] as $menu_third_k => $menu_third_v): ?>
-						<dd class="<?php if($menu_third_v['selected']): ?> layui-this<?php endif; ?>">
-							<a href="<?php echo htmlentities($menu_third_v['url']); ?>"><?php echo htmlentities($menu_third_v['title']); ?></a>
-						</dd>
-						<?php endforeach; ?>
-					</dl>
-					<?php endif; ?>
-				</li>
-				<?php endforeach; ?>
-			</ul>
-		</div>
-	</div>
-	<?php endif; ?>
-
-	<div class="layui-body<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<!-- 面包屑 -->
-		
-		<?php if(count($serond_menu) > 0): ?>
-		<div class="ns-crumbs<?php if(empty($serond_menu) || (($serond_menu instanceof \think\Collection || $serond_menu instanceof \think\Paginator ) && $serond_menu->isEmpty())): ?> child_no_exit<?php endif; ?>">
-		<span class="layui-breadcrumb" lay-separator="-">
-			<?php foreach($crumbs as $crumbs_k => $crumbs_v): if(count($crumbs) == ($crumbs_k + 1)): ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><cite><?php echo htmlentities($crumbs_v['title']); ?></cite></a>
-			<?php else: ?>
-			<a href="<?php echo htmlentities($crumbs_v['url']); ?>"><?php echo htmlentities($crumbs_v['title']); ?></a>
-			<?php endif; ?>
-			<?php endforeach; ?>
-		</span>
-		</div>
-		<?php endif; ?>
-		
-		<div class="ns-body-content <?php if(count($serond_menu) < 1): ?> crumbs_no_exit<?php endif; ?>">
-			<div class="ns-body">
-				<!-- 四级导航 -->
-				<?php if(isset($forth_menu) && !empty($forth_menu)): ?>
-				<div class="fourstage-nav layui-tab layui-tab-brief" lay-filter="edit_user_tab">
-					<ul class="layui-tab-title">
-						<?php if(is_array($forth_menu) || $forth_menu instanceof \think\Collection || $forth_menu instanceof \think\Paginator): $i = 0; $__LIST__ = $forth_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?>
-						<li class="<?php echo $menu['selected']==1 ? 'layui-this'  :  ''; ?>" lay-id="basic_info"><a href="<?php echo htmlentities($menu['parse_url']); ?>"><?php echo htmlentities($menu['title']); ?></a></li>
-						<?php endforeach; endif; else: echo "" ;endif; ?>
-					</ul>
-				</div>
-				<?php endif; ?>
-				
-				
-<div class="layui-form ns-form">
-	<div class="layui-form-item">
-		<label class="layui-form-label">默认店铺图片:</label>
-		<input type="hidden" name="default_shop_img" <?php if($default_img): ?> value="<?php echo htmlentities($default_img['default_shop_img']); ?>" <?php endif; ?>>
-		<div class="layui-input-inline">
-			<div class="upload-img-block">
-				<div class="upload-img-box" id="imgUploadShop">
-					<?php if(empty($default_img['default_shop_img'])): ?>
-					<div class="ns-upload-default">
-						<img src="http://yueshengshop.top/public/static/img/upload_img.png" />
-						<p>点击上传</p>
-					</div>
-					<?php else: ?>
-					<img src="<?php echo img($default_img['default_shop_img']); ?>" alt="">
-					<?php endif; ?>
-				</div>
-			</div>
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">默认商品图片:</label>
-		<input type="hidden" name="default_goods_img" <?php if($default_img): ?> value="<?php echo htmlentities($default_img['default_goods_img']); ?>" <?php endif; ?>>
-		<div class="layui-input-inline">
-			<div class="upload-img-block">
-				<div class="upload-img-box" id="imgUploadGoods">
-					<?php if(empty($default_img['default_goods_img'])): ?>
-					<div class="ns-upload-default">
-						<img src="http://yueshengshop.top/public/static/img/upload_img.png" />
-						<p>点击上传</p>
-					</div>
-					<?php else: ?>
-					<img src="<?php echo img($default_img['default_goods_img']); ?>" alt="">
-					<?php endif; ?>
-				</div>
-			</div>
-		</div>
-	</div>
-
-	<div class="layui-form-item">
-		<label class="layui-form-label">默认会员头像:</label>
-		<input type="hidden" name="default_headimg" <?php if($default_img): ?> value="<?php echo htmlentities($default_img['default_headimg']); ?>"<?php endif; ?>>
-		<div class="layui-input-inline">
-			<div class="upload-img-block">
-				<div class="upload-img-box" id="imgUploadMember">
-					<?php if(empty($default_img['default_headimg'])): ?>
-					<div class="ns-upload-default">
-						<img src="http://yueshengshop.top/public/static/img/upload_img.png" />
-						<p>点击上传</p>
-					</div>
-					<?php else: ?>
-					<img src="<?php echo img($default_img['default_headimg']); ?>" alt="">
-					<?php endif; ?>
-				</div>
-			</div>
-		</div>
-	</div>
-	<div class="ns-form-row">
-		<button class="layui-btn ns-bg-color" lay-submit lay-filter="save">保存</button>
-	</div>
-</div>
-
-			</div>
-			
-			<!-- 版权信息 -->
-			<div class="ns-footer">
-				<div class="ns-footer-img">
-					<a href="#"><img style="-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;" src="<?php if(!empty($copyright['logo'])): ?> <?php echo img($copyright['logo']); else: ?>http://yueshengshop.top/public/static/img/copyright_logo.png<?php endif; ?>" /></a>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-
-<!-- 重置密码弹框html -->
-<div class="layui-form" id="reset_pass" style="display: none;">
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>原密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="old_pass" name="old_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="new_pass" name="new_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="layui-form-item">
-        <label class="layui-form-label"><span class="required">*</span>确认新密码</label>
-        <div class="layui-input-block">
-            <input type="password" id="repeat_pass" name="repeat_pass" required class="layui-input ns-len-mid" maxlength="18" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" onblur="this.setAttribute('readonly',true);">
-            <span class="required"></span>
-        </div>
-    </div>
-
-    <div class="ns-form-row">
-        <button class="layui-btn ns-bg-color" onclick="repass()">确定</button>
-        <button class="layui-btn layui-btn-primary" onclick="closePass()">返回</button>
-    </div>
-</div>
-<script type="text/javascript">
-	layui.use('element',function () {
-		var element = layui.element;
-		element.render('breadcrumb');
-	});
-	function clearCache () {
-		$.ajax({
-			type: 'post',
-			url: ns.url("admin/Login/clearCache"),
-			dataType: 'JSON',
-			success: function(res) {
-				layer.msg(res.message);
-				location.reload();
-			}
-		})
-	}
-
-    /**
-     * 重置密码
-     */
-	var index;
-    function resetPassword() {
-        index = layer.open({
-            type:1,
-            content:$('#reset_pass'),
-            offset: 'auto',
-            area: ['650px']
-        });
-
-		setTimeout(function() {
-			$(".ns-reset-pass").removeClass('layui-this');
-		}, 1000);
-    }
-
-	// $(".ns-reset-pass").on('click', function() {
-	// 	$(this).removeClass('layui-this');
-	// })
-
-    var repeat_flag = false;
-    function repass(){
-        var old_pass = $("#old_pass").val();
-        var new_pass = $("#new_pass").val();
-        var repeat_pass = $("#repeat_pass").val();
-
-        if (old_pass == '') {
-            $("#old_pass").focus();
-            layer.msg("原密码不能为空");
-            return;
-        }
-
-        if (new_pass == '') {
-            $("#new_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#new_pass").val().length < 6) {
-            $("#new_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (repeat_pass == '') {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能为空");
-            return;
-        } else if ($("#repeat_pass").val().length < 6) {
-            $("#repeat_pass").focus();
-            layer.msg("密码不能少于6位数");
-            return;
-        }
-        if (new_pass != repeat_pass) {
-            $("#repeat_pass").focus();
-            layer.msg("两次密码输入不一样,请重新输入");
-            return;
-        }
-
-        if(repeat_flag)return;
-        repeat_flag = true;
-
-        $.ajax({
-            type: "POST",
-            dataType: 'JSON',
-            url: ns.url("admin/login/modifypassword"),
-            data: {"old_pass": old_pass,"new_pass": new_pass},
-            success: function(res) {
-                layer.msg(res.message);
-                repeat_flag = false;
-
-                if (res.code == 0) {
-                    layer.close(index);
-                    location.reload();
-                }
-            }
-        });
-    }
-
-    function closePass() {
-        layer.close(index);
-    }
-	
-	layui.use('element', function() {
-		var element = layui.element;
-		element.init();
-	});
-</script>
-
-
-<script>
-	layui.use(['form', 'upload'], function() {
-		var form = layui.form,
-			upload = layui.upload,
-			repeat_flag = false;//防重复标识
-		form.render();
-
-        form.on('submit(save)', function(data) {
-            if (repeat_flag) return false;
-            repeat_flag = true;
-
-            $.ajax({
-                type: "POST",
-                url: ns.url("admin/config/defaultpicture"),
-                data: data.field,
-                dataType: 'JSON',
-                success: function(res) {
-                    repeat_flag = false;
-                    if (res.code == 0) {
-                        layer.msg(res.message);
-                        location.reload();
-                    }else{
-                        layer.msg(res.message);
-                    }
-                }
-            });
-        });
-
-		//普通图片上传
-		var uploadInst = upload.render({
-			elem: '#imgUploadShop'
-			, url: ns.url("admin/upload/upload")
-			, done: function (res) {
-				if (res.code >= 0) {
-					$("#imgUploadShop").html("<img src=" + ns.img(res.data.pic_path) + " >");
-					$("input[name='default_shop_img']").val(res.data.pic_path);
-				}
-				return layer.msg(res.message);
-			}
-		});
-
-		//普通图片上传
-		var uploadInst = upload.render({
-			elem: '#imgUploadGoods'
-			, url: ns.url("admin/upload/upload")
-			, done: function (res) {
-				if (res.code >= 0) {
-					$("#imgUploadGoods").html("<img src=" + ns.img(res.data.pic_path) + " >");
-					$("input[name='default_goods_img']").val(res.data.pic_path);
-				}
-				return layer.msg(res.message);
-			}
-		});
-
-		//普通图片上传
-		var uploadInst = upload.render({
-			elem: '#imgUploadMember'
-			, url: ns.url("admin/upload/upload")
-			, done: function (res) {
-				if (res.code >= 0) {
-					$("#imgUploadMember").html("<img src=" + ns.img(res.data.pic_path) + " >");
-					$("input[name='default_headimg']").val(res.data.pic_path);
-				}
-				return layer.msg(res.message);
-			}
-		});
-
-	});
-</script>
-
-</body>
-</html>

+ 0 - 4
runtime/cache/00/811301e565c3173c636c50c25b87e7.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:177;s:10:"app_module";s:5:"admin";s:4:"name";s:10:"CONFIG_WEB";s:5:"title";s:12:"站点设置";s:6:"parent";s:11:"CONFIG_BASE";s:5:"level";i:3;s:3:"url";s:22:"admin/config/webconfig";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/00/d46691b94755c13013db2f0e9afc6d.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:189;s:10:"app_module";s:5:"admin";s:4:"name";s:10:"CONFIG_PAY";s:5:"title";s:12:"支付设置";s:6:"parent";s:11:"CONFIG_BASE";s:5:"level";i:3;s:3:"url";s:16:"admin/config/pay";s:7:"is_show";i:1;s:4:"sort";i:3;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/03/9c86247fc7de555972e300d98e15d0.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:47;s:10:"app_module";s:5:"admin";s:4:"name";s:17:"WEBSITE_DIY_LISTS";s:5:"title";s:9:"微页面";s:6:"parent";s:14:"WEBSITE_CONFIG";s:5:"level";i:3;s:3:"url";s:15:"admin/diy/lists";s:7:"is_show";i:1;s:4:"sort";i:3;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/04/4b1d9967f6b2616560db8b27d6bd84.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:334;s:10:"app_module";s:4:"shop";s:4:"name";s:13:"SYSTEM_CONFIG";s:5:"title";s:12:"系统设置";s:6:"parent";s:11:"SYSTEM_ROOT";s:5:"level";i:2;s:3:"url";s:21:"shop/delivery/express";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:44:"app/shop/view/public/img/icon/sys_config.png";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/07/b1c397454b7916c31217de2d5761f9.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:352;s:10:"app_module";s:4:"shop";s:4:"name";s:9:"USER_LIST";s:5:"title";s:12:"用户管理";s:6:"parent";s:9:"USER_AUTH";s:5:"level";i:3;s:3:"url";s:14:"shop/user/user";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/07/be20318167f7f383a2026422704add.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:8:{s:7:"site_id";i:0;s:10:"app_module";s:5:"admin";s:10:"config_key";s:12:"WEAPP_CONFIG";s:5:"value";a:0:{}s:11:"config_desc";s:0:"";s:6:"is_use";i:0;s:11:"create_time";i:0;s:11:"modify_time";i:0;}

+ 0 - 4
runtime/cache/07/fd12cae50f1ab4c4b02b5db185d9dc.php

@@ -1,4 +0,0 @@
-<?php
-//000000086400
- exit();?>
-a:3:{s:4:"code";i:0;s:4:"data";a:7:{i:0;a:3:{s:5:"title";s:66:"Niushop | 电商中国 ● 浙江杭州,我们在这里等你!";s:2:"id";i:484;s:3:"url";s:44:"https://www.niushop.com.cn/articleDetail_484";}i:1;a:3:{s:5:"title";s:56:"Niushop | 单商户V3版商城系统更新到3.3.4啦!";s:2:"id";i:478;s:3:"url";s:44:"https://www.niushop.com.cn/articleDetail_478";}i:2;a:3:{s:5:"title";s:52:"Niushop多商户V4.0.5版本更新内容出炉啦!";s:2:"id";i:477;s:3:"url";s:44:"https://www.niushop.com.cn/articleDetail_477";}i:3;a:3:{s:5:"title";s:79:"1000套NiushopV4版商城系统已售空!更多优惠活动尽在插件市场";s:2:"id";i:476;s:3:"url";s:44:"https://www.niushop.com.cn/articleDetail_476";}i:4;a:3:{s:5:"title";s:45:"Niushop | 单商户V4商城系统更新啦!";s:2:"id";i:475;s:3:"url";s:44:"https://www.niushop.com.cn/articleDetail_475";}i:5;a:3:{s:5:"title";s:54:"Niushop单商户V4版强大的系统功能震撼来袭";s:2:"id";i:472;s:3:"url";s:44:"https://www.niushop.com.cn/articleDetail_472";}i:6;a:3:{s:5:"title";s:49:"重磅!0元领取Niushop单商户V4商业授权";s:2:"id";i:471;s:3:"url";s:44:"https://www.niushop.com.cn/articleDetail_471";}}s:7:"message";s:12:"操作成功";}

+ 0 - 4
runtime/cache/09/946b0708d0a9c4f9bd0779c8f7033a.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:1:{s:6:"parent";s:13:"CONFIG_UPLOAD";}

+ 0 - 4
runtime/cache/09/f4fa9a250bb87e1accb2ce89549b93.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:179;s:10:"app_module";s:5:"admin";s:4:"name";s:17:"CONFIG_USER_INDEX";s:5:"title";s:12:"用户列表";s:6:"parent";s:11:"CONFIG_USER";s:5:"level";i:4;s:3:"url";s:15:"admin/user/user";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/0a/162b8f890a4891cbefbde905b3482f.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:302;s:10:"app_module";s:4:"shop";s:4:"name";s:12:"MEMBER_INDEX";s:5:"title";s:12:"会员概况";s:6:"parent";s:11:"MEMBER_ROOT";s:5:"level";i:2;s:3:"url";s:17:"shop/member/index";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:40:"app/shop/view/public/img/icon/member.png";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/0a/1761d191047bf94184da98aa9338a6.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:1:{s:11:"addon_array";s:71:"bundling,coupon,discount,fenxiao,groupbuy,manjian,pintuan,seckill,topic";}

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 3
runtime/cache/0a/9102e76474a593e80b319673cc898f.php


+ 0 - 4
runtime/cache/0a/c6bec7f3c62e81305a5ff49d9b3bd8.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:1:{i:0;s:117:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\runtime\cache\26\7b292d0ca1b1707886af50f77d55f7.php";}

+ 0 - 4
runtime/cache/0c/1e82ac8c5439e37248759ae8704657.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:77;s:10:"app_module";s:5:"admin";s:4:"name";s:15:"SHOP_BISIC_INFO";s:5:"title";s:12:"基本信息";s:6:"parent";s:9:"SHOP_LIST";s:5:"level";i:4;s:3:"url";s:20:"admin/shop/basicinfo";s:7:"is_show";i:1;s:4:"sort";i:100;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/0c/e0bc1cd7d6979715c927b2c0a06153.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:45;s:10:"app_module";s:5:"admin";s:4:"name";s:13:"WEBSITE_INDEX";s:5:"title";s:12:"网站主页";s:6:"parent";s:14:"WEBSITE_CONFIG";s:5:"level";i:3;s:3:"url";s:15:"admin/diy/index";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/0d/efbb3459c075b47ae89c12e499c3df.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:31:{s:7:"site_id";i:0;s:5:"title";s:4:"1111";s:4:"logo";s:0:"";s:4:"desc";s:0:"";s:8:"keywords";s:0:"";s:11:"web_address";s:0:"";s:10:"web_qrcode";s:0:"";s:9:"web_email";s:0:"";s:9:"web_phone";s:12:"400-886-7993";s:6:"web_qq";s:0:"";s:10:"web_weixin";s:0:"";s:10:"web_status";i:1;s:12:"close_reason";s:0:"";s:10:"wap_status";i:1;s:7:"account";s:4:"0.00";s:16:"account_withdraw";s:4:"0.00";s:12:"account_shop";s:4:"0.00";s:13:"account_order";s:4:"0.00";s:11:"create_time";i:1589638473;s:11:"modify_time";i:0;s:10:"wap_domain";s:0:"";s:12:"site_area_id";i:0;s:14:"site_area_name";s:6:"全国";s:8:"username";s:5:"admin";s:9:"shop_rate";s:4:"0.00";s:10:"order_rate";s:4:"0.00";s:28:"settlement_bank_account_name";s:0:"";s:30:"settlement_bank_account_number";s:0:"";s:20:"settlement_bank_name";s:0:"";s:23:"settlement_bank_address";s:0:"";s:6:"status";i:1;}

+ 0 - 4
runtime/cache/10/22624cd1c452647b9cbf2bba489a53.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:352;s:10:"app_module";s:4:"shop";s:4:"name";s:9:"USER_LIST";s:5:"title";s:12:"用户管理";s:6:"parent";s:9:"USER_AUTH";s:5:"level";i:3;s:3:"url";s:14:"shop/user/user";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/11/25df3a3fc8af4fb7e7f03860ad712d.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:3;s:10:"app_module";s:5:"admin";s:4:"name";s:12:"GOODS_MANAGE";s:5:"title";s:12:"商品列表";s:6:"parent";s:10:"GOODS_ROOT";s:5:"level";i:2;s:3:"url";s:17:"admin/goods/lists";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:56:"app/admin/view/public/img/menu_icon/commodity_manage.png";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/11/a3d9c5066e1bae996a9951ce418d7d.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:437;s:10:"app_module";s:4:"shop";s:4:"name";s:23:"PROMOTION_FENXIAO_INDEX";s:5:"title";s:12:"分销概况";s:6:"parent";s:17:"PROMOTION_FENXIAO";s:5:"level";i:3;s:3:"url";s:28:"fenxiao://shop/fenxiao/index";s:7:"is_show";i:1;s:4:"sort";i:100;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/11/ca587317b7a63ca7ad744690eb3604.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:74;s:10:"app_module";s:5:"admin";s:4:"name";s:9:"SHOP_LIST";s:5:"title";s:12:"店铺列表";s:6:"parent";s:10:"SHOP_INDEX";s:5:"level";i:3;s:3:"url";s:16:"admin/shop/lists";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/16/a18b09c48d1d337f4eead65263584b.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:336;s:10:"app_module";s:4:"shop";s:4:"name";s:15:"EXPRESS_COMPANY";s:5:"title";s:12:"物流公司";s:6:"parent";s:14:"EXPRESS_CONFIG";s:5:"level";i:4;s:3:"url";s:27:"shop/express/expresscompany";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/17/0ded0bbf1b55f1e57ef7791a8db51e.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:204;s:10:"app_module";s:5:"admin";s:4:"name";s:11:"CONFIG_MALL";s:5:"title";s:12:"商城设置";s:6:"parent";s:11:"CONFIG_ROOT";s:5:"level";i:2;s:3:"url";s:23:"admin/config/receivable";s:7:"is_show";i:1;s:4:"sort";i:2;s:4:"desc";s:0:"";s:7:"picture";s:49:"app/admin/view/public/img/menu_icon/order_set.png";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/18/02158ebdf761838cb5779c9617488f.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:351;s:10:"app_module";s:4:"shop";s:4:"name";s:9:"USER_AUTH";s:5:"title";s:12:"账户权限";s:6:"parent";s:11:"SYSTEM_ROOT";s:5:"level";i:2;s:3:"url";s:14:"shop/user/user";s:7:"is_show";i:1;s:4:"sort";i:7;s:4:"desc";s:0:"";s:7:"picture";s:41:"app/shop/view/public/img/icon/account.png";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:0;}

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 3
runtime/cache/1a/cd1607d26ebbf63f204924fd261bc3.php


+ 0 - 4
runtime/cache/1b/81cebdd43f807908f0e148e16f0d60.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:6;s:10:"app_module";s:5:"admin";s:4:"name";s:14:"GOODS_CATEGORY";s:5:"title";s:12:"商品分类";s:6:"parent";s:10:"GOODS_ROOT";s:5:"level";i:2;s:3:"url";s:25:"admin/goodscategory/lists";s:7:"is_show";i:1;s:4:"sort";i:2;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/1b/a9709623e294f5e6f8a6bfaa91a9b6.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:306;s:10:"app_module";s:4:"shop";s:4:"name";s:16:"PROMOTION_CENTER";s:5:"title";s:12:"营销中心";s:6:"parent";s:14:"PROMOTION_ROOT";s:5:"level";i:2;s:3:"url";s:20:"shop/promotion/index";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:43:"app/shop/view/public/img/icon/promotion.png";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/1c/db5fd5a9569ad2b06b3a5686df631d.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:155;s:10:"app_module";s:5:"admin";s:4:"name";s:12:"ACCOUNT_ROOT";s:5:"title";s:12:"财务管理";s:6:"parent";s:0:"";s:5:"level";i:1;s:3:"url";s:19:"admin/account/index";s:7:"is_show";i:1;s:4:"sort";i:8;s:4:"desc";s:0:"";s:7:"picture";s:49:"app/admin/view/public/img/menu_icon/data_info.png";s:7:"is_icon";i:0;s:14:"picture_select";s:58:"app/admin/view/public/img/menu_icon/data_info_selected.png";s:10:"is_control";i:1;}

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 3
runtime/cache/1d/a33cbf9ceddd13642592c136653291.php


+ 0 - 4
runtime/cache/1e/5a442058bff57a898f8a9655e16df7.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:201;s:10:"app_module";s:5:"admin";s:4:"name";s:12:"EMAIL_MANAGE";s:5:"title";s:12:"邮件管理";s:6:"parent";s:11:"CONFIG_BASE";s:5:"level";i:3;s:3:"url";s:19:"admin/message/email";s:7:"is_show";i:1;s:4:"sort";i:10;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/1e/be289523facab1b0fd0d7b4940715a.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:1:{s:6:"parent";s:10:"SMS_MANAGE";}

+ 0 - 4
runtime/cache/21/5b1c30c3f955f521f517f9c0ce9a29.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:1;s:10:"app_module";s:5:"admin";s:4:"name";s:10:"INDEX_ROOT";s:5:"title";s:6:"概况";s:6:"parent";s:0:"";s:5:"level";i:1;s:3:"url";s:17:"admin/index/index";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:46:"app/admin/view/public/img/menu_icon/survey.png";s:7:"is_icon";i:0;s:14:"picture_select";s:55:"app/admin/view/public/img/menu_icon/survey_selected.png";s:10:"is_control";i:0;}

+ 0 - 4
runtime/cache/25/97f371fde4e91ff69b04f50cab19ec.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:312;s:10:"app_module";s:4:"shop";s:4:"name";s:10:"STORE_LIST";s:5:"title";s:12:"门店列表";s:6:"parent";s:10:"STORE_ROOT";s:5:"level";i:2;s:3:"url";s:16:"shop/store/lists";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:39:"app/shop/view/public/img/icon/store.png";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/26/1f2bf7f144870a0c81abc747c1e616.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:189;s:10:"app_module";s:5:"admin";s:4:"name";s:10:"CONFIG_PAY";s:5:"title";s:12:"支付设置";s:6:"parent";s:11:"CONFIG_BASE";s:5:"level";i:3;s:3:"url";s:16:"admin/config/pay";s:7:"is_show";i:1;s:4:"sort";i:3;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/26/7b292d0ca1b1707886af50f77d55f7.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:2:{i:0;a:12:{s:2:"id";i:1;s:7:"site_id";i:1;s:10:"company_id";i:1;s:12:"content_json";N;s:16:"background_image";s:0:"";s:9:"font_size";s:0:"";s:5:"width";s:0:"";s:6:"height";s:0:"";s:11:"create_time";i:1660641525;s:11:"modify_time";i:1660641525;s:5:"scale";s:4:"1.00";s:12:"company_name";s:12:"顺丰速运";}i:1;a:12:{s:2:"id";i:2;s:7:"site_id";i:1;s:10:"company_id";i:1;s:12:"content_json";N;s:16:"background_image";s:0:"";s:9:"font_size";s:0:"";s:5:"width";s:0:"";s:6:"height";s:0:"";s:11:"create_time";i:1660641526;s:11:"modify_time";i:1660641526;s:5:"scale";s:4:"1.00";s:12:"company_name";s:12:"顺丰速运";}}

+ 0 - 4
runtime/cache/28/3e46955da76e249a0db7fcb1a052c4.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:1:{i:0;a:2:{s:11:"category_id";i:1;s:13:"category_name";s:15:"官方直营店";}}

+ 0 - 4
runtime/cache/29/192d324e1cd7f1460d49dff352ffda.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:301;s:10:"app_module";s:4:"shop";s:4:"name";s:11:"MEMBER_ROOT";s:5:"title";s:6:"会员";s:6:"parent";s:0:"";s:5:"level";i:1;s:3:"url";s:17:"shop/member/index";s:7:"is_show";i:1;s:4:"sort";i:5;s:4:"desc";s:0:"";s:7:"picture";s:50:"app/shop/view/public/img/menu_icon/menu_member.png";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:0;}

+ 0 - 4
runtime/cache/29/228ee279bdd3c42eb472d2364f6447.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:1:{i:0;s:117:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\runtime\cache\84\c3a3cae1496dc6811fd6666d5ad058.php";}

+ 0 - 4
runtime/cache/2b/1899d9f9714e8025267c7c87fdcd09.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:7:{i:0;s:117:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\runtime\cache\3d\93b6e65ce52fc5c73ffea05abb600f.php";i:1;s:117:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\runtime\cache\43\e29d26a75459a895bb403d884f3ff4.php";i:2;s:117:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\runtime\cache\0d\efbb3459c075b47ae89c12e499c3df.php";i:3;s:117:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\runtime\cache\f3\aa01a6ae950d750f5b3a757f4e5870.php";i:4;s:117:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\runtime\cache\4e\87d16546dc8ba21e2554905eb8fb78.php";i:5;s:117:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\runtime\cache\83\08e02a81a09861244a42193533bdb7.php";i:6;s:117:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\runtime\cache\8a\c6e32c231df748143da18429f1d632.php";}

+ 0 - 4
runtime/cache/2d/f937223fa7717c09c6b51810000143.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:193;s:10:"app_module";s:5:"admin";s:4:"name";s:14:"CONFIG_CAPTCHA";s:5:"title";s:15:"验证码设置";s:6:"parent";s:11:"CONFIG_BASE";s:5:"level";i:3;s:3:"url";s:20:"admin/config/captcha";s:7:"is_show";i:1;s:4:"sort";i:5;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/2f/14538b78f58b0283d56513c8163f7c.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:44;s:10:"app_module";s:5:"admin";s:4:"name";s:14:"WEBSITE_CONFIG";s:5:"title";s:12:"网站设置";s:6:"parent";s:11:"APPLET_ROOT";s:5:"level";i:2;s:3:"url";s:15:"admin/diy/index";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:51:"app/admin/view/public/img/menu_icon/website_set.png";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/2f/ae349e056f57e94ff980b90a382722.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:179;s:10:"app_module";s:5:"admin";s:4:"name";s:17:"CONFIG_USER_INDEX";s:5:"title";s:12:"用户列表";s:6:"parent";s:11:"CONFIG_USER";s:5:"level";i:4;s:3:"url";s:15:"admin/user/user";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/2f/ed268dacba749503cbe04997073e48.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:436;s:10:"app_module";s:4:"shop";s:4:"name";s:17:"PROMOTION_FENXIAO";s:5:"title";s:12:"分销管理";s:6:"parent";s:9:"TOOL_ROOT";s:5:"level";i:2;s:3:"url";s:28:"fenxiao://shop/fenxiao/index";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:51:"addon/fenxiao/shop/view/public/img/distribution.png";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/30/aee1ed7e980cae10e35a919532c106.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:3:{s:10:"page_count";d:0;s:5:"count";i:0;s:4:"list";a:0:{}}

+ 0 - 4
runtime/cache/30/df7c9753b8321a73f727abbbdb5044.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:10:{s:8:"group_id";i:1;s:7:"site_id";i:0;s:10:"app_module";s:5:"admin";s:10:"group_name";s:15:"系统管理员";s:12:"group_status";i:1;s:9:"is_system";i:1;s:10:"menu_array";s:0:"";s:4:"desc";s:0:"";s:11:"create_time";i:0;s:11:"modify_time";i:0;}

+ 0 - 4
runtime/cache/31/7d5cb4e909cfc6026478e8857df7e4.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:1:{i:0;s:117:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\runtime\cache\c0\90ae62de6bddcea396895bb7ead3a9.php";}

+ 0 - 4
runtime/cache/32/f4a637c7b515cda210dcbfbcfe40c8.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:3:{i:0;s:117:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\runtime\cache\30\aee1ed7e980cae10e35a919532c106.php";i:1;s:117:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\runtime\cache\7e\7ecffd41d326655a3e064b803fd638.php";i:2;s:117:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\runtime\cache\d7\25b15a953423223fa71b403ea86e39.php";}

+ 0 - 4
runtime/cache/33/f802352a25081905d649ff7bef11e1.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:309;s:10:"app_module";s:4:"shop";s:4:"name";s:9:"TOOL_ROOT";s:5:"title";s:6:"应用";s:6:"parent";s:0:"";s:5:"level";i:1;s:3:"url";s:19:"shop/promotion/tool";s:7:"is_show";i:1;s:4:"sort";i:6;s:4:"desc";s:0:"";s:7:"picture";s:53:"app/shop/view/public/img/menu_icon/menu_marketing.png";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:0;}

+ 0 - 4
runtime/cache/35/13c5a5b5cd8c7bf7a3ef83b8f1a0a4.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:235;s:10:"app_module";s:4:"shop";s:4:"name";s:11:"SHOP_MANAGE";s:5:"title";s:12:"店铺信息";s:6:"parent";s:9:"SHOP_ROOT";s:5:"level";i:2;s:3:"url";s:16:"shop/shop/config";s:7:"is_show";i:1;s:4:"sort";i:1;s:4:"desc";s:0:"";s:7:"picture";s:38:"app/shop/view/public/img/icon/shop.png";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/35/673098d120eabafc39d6d13886b94b.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:1:{s:6:"parent";s:11:"CONFIG_USER";}

+ 0 - 4
runtime/cache/36/90e910acf9419ea305f747241d5a51.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:0:{}

+ 0 - 4
runtime/cache/37/57fad8980712128e3eb5ba73451389.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:1:{i:0;s:117:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\runtime\cache\6e\5d106222b7e11599f447520d813906.php";}

+ 0 - 4
runtime/cache/38/f482398475cc817de4791ddafea833.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:438;s:10:"app_module";s:4:"shop";s:4:"name";s:22:"PROMOTION_FENXIAO_LIST";s:5:"title";s:12:"分销商品";s:6:"parent";s:17:"PROMOTION_FENXIAO";s:5:"level";i:3;s:3:"url";s:28:"fenxiao://shop/fenxiao/lists";s:7:"is_show";i:1;s:4:"sort";i:100;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/3a/c0219441aaaab203cf5861d0d8392d.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:7:{s:7:"site_id";i:0;s:10:"app_module";s:5:"admin";s:12:"document_key";s:17:"SHOP_JOIN_GUIDE_3";s:5:"title";s:12:"入驻须知";s:7:"content";s:1400:"<p style="text-align: justify; line-height: 2em;"><span style="font-family: 微软雅黑; font-size: 14px;">1、Niushop商城有权根据(包括但不仅限于)品牌需求、公司经营状况、服务水平等其他因素退回客户申请;</span></p><p style="text-align: justify; line-height: 2em;"><span style="font-family: 微软雅黑; font-size: 14px;">2、Niushop商城有权在申请入驻及后续经营阶段要求客户提供其他资质;Niushop商城将结合各行业发展动态、国家相关规定及消费者购买需求,不定期更新招商标准;</span></p><p style="text-align: justify; line-height: 2em;"><span style="font-family: 微软雅黑; font-size: 14px;">3、申请企业须确保其申请入驻及后续经营阶段提供的相关资质的真实性(若企业提供的相关资质如商标注册证、授权书等由第三方提供,请务必先行核实文件的真实有效性),一旦发现虚假资质,申请企业将被Niushop商城列入非诚信客户名单,并不再进行合作;</span></p><p style="text-align: justify; line-height: 2em;"><span style="font-family: 微软雅黑; font-size: 14px;">4、Niushop商城暂不接受未取得国家商标总局颁发的商标注册证或商标受理通知书的品牌开店申请(部分类目的进口商品除外),亦不接受纯图形类商标的入驻申请。</span></p><p><br/></p>";s:11:"create_time";i:1589638474;s:11:"modify_time";i:0;}

+ 0 - 4
runtime/cache/3c/b2b110030ac44112567528624d391e.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:2:{i:0;s:117:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\runtime\cache\91\990061af5f4e7aa6a50ede040496c4.php";i:1;s:117:"E:\phpstudy_pro_8.1.0.1_64bit_Green\phpstudy_pro\WWW\yueshengshop\runtime\cache\87\d0e18634b85d213731c0397b9d0995.php";}

+ 0 - 4
runtime/cache/3c/d3e3c25a896534ffd603a0b5b1adfd.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:209;s:10:"app_module";s:5:"admin";s:4:"name";s:28:"SHOP_ACCOUNT_WITHDRAW_CONFIG";s:5:"title";s:12:"店铺设置";s:6:"parent";s:11:"CONFIG_MALL";s:5:"level";i:3;s:3:"url";s:32:"admin/shopaccount/withdrawconfig";s:7:"is_show";i:1;s:4:"sort";i:5;s:4:"desc";s:0:"";s:7:"picture";s:0:"";s:7:"is_icon";i:0;s:14:"picture_select";s:0:"";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/3d/22bd7dfb0e768a3272ccb6ff99130d.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:14:{s:2:"id";i:43;s:10:"app_module";s:5:"admin";s:4:"name";s:11:"APPLET_ROOT";s:5:"title";s:12:"网站设置";s:6:"parent";s:0:"";s:5:"level";i:1;s:3:"url";s:15:"admin/diy/index";s:7:"is_show";i:1;s:4:"sort";i:254;s:4:"desc";s:0:"";s:7:"picture";s:52:"app/admin/view/public/img/menu_icon/website_info.png";s:7:"is_icon";i:0;s:14:"picture_select";s:61:"app/admin/view/public/img/menu_icon/website_info_selected.png";s:10:"is_control";i:1;}

+ 0 - 4
runtime/cache/3d/93b6e65ce52fc5c73ffea05abb600f.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:6:{s:9:"web_phone";s:12:"400-886-7993";s:9:"web_email";s:0:"";s:10:"web_qrcode";s:0:"";s:6:"web_qq";s:0:"";s:10:"web_weixin";s:0:"";s:4:"logo";s:0:"";}

+ 0 - 4
runtime/cache/3d/be0cd2cc85646527869920b51c3986.php

@@ -1,4 +0,0 @@
-<?php
-//000000000000
- exit();?>
-a:8:{s:7:"site_id";i:0;s:10:"app_module";s:5:"admin";s:10:"config_key";s:12:"EMAIL_CONFIG";s:5:"value";a:0:{}s:11:"config_desc";s:0:"";s:6:"is_use";i:0;s:11:"create_time";i:0;s:11:"modify_time";i:0;}

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff