92 changed files with 2104 additions and 265 deletions
@ -0,0 +1,119 @@ |
|||
<?php |
|||
|
|||
|
|||
namespace app\admin\controller\community; |
|||
|
|||
|
|||
use app\admin\logic\community\OrganTeamLogic; |
|||
use app\admin\logic\content\HelpCategoryLogic; |
|||
use app\admin\logic\content\HelpLogic; |
|||
use app\admin\logic\content\ResourceCategoryLogic; |
|||
use app\admin\logic\content\ResourceLogic; |
|||
use app\admin\validate\content\HelpValidate; |
|||
use app\common\basics\AdminBase; |
|||
use app\common\server\JsonServer; |
|||
|
|||
class Organ extends AdminBase |
|||
{ |
|||
/** |
|||
* @NOTES: 帮助分类列表 |
|||
* @author: 张无忌 |
|||
*/ |
|||
public function lists() |
|||
{ |
|||
if ($this->request->isAjax()) { |
|||
$get = $this->request->get(); |
|||
$lists = OrganTeamLogic::lists($get,0); |
|||
return JsonServer::success("获取成功", $lists); |
|||
} |
|||
|
|||
return view(''); |
|||
} |
|||
|
|||
/** |
|||
* @NOTES: 添加帮助类 |
|||
* @author: 张无忌 |
|||
*/ |
|||
public function add() |
|||
{ |
|||
if ($this->request->isAjax()) { |
|||
// (new HelpValidate())->goCheck('add'); |
|||
$post = $this->request->post(); |
|||
$post['type'] = 0; |
|||
$res = OrganTeamLogic::add($post); |
|||
|
|||
if ($res === false) { |
|||
$error = OrganTeamLogic::getError() ?: '新增失败'; |
|||
return JsonServer::error($error); |
|||
} |
|||
return JsonServer::success('新增成功'); |
|||
} |
|||
|
|||
|
|||
return view(''); |
|||
} |
|||
|
|||
/** |
|||
* @NOTES: 编辑帮助分类 |
|||
* @author: 张无忌 |
|||
*/ |
|||
public function edit() |
|||
{ |
|||
if ($this->request->isAjax()) { |
|||
// (new HelpValidate())->goCheck('edit'); |
|||
$post = $this->request->post(); |
|||
$post['type'] = 0; |
|||
$res = OrganTeamLogic::edit($post); |
|||
if ($res === false) { |
|||
$error = OrganTeamLogic::getError() ?: '编辑失败'; |
|||
return JsonServer::error($error); |
|||
} |
|||
return JsonServer::success('编辑成功'); |
|||
} |
|||
|
|||
$id = $this->request->get('id'); |
|||
return view('', [ |
|||
'detail' => OrganTeamLogic::detail($id) |
|||
]); |
|||
} |
|||
|
|||
/** |
|||
* @NOTES: 删除帮助分类 |
|||
* @author: 张无忌 |
|||
*/ |
|||
public function del() |
|||
{ |
|||
if ($this->request->isAjax()) { |
|||
// (new HelpValidate())->goCheck('id'); |
|||
$id = $this->request->post('id'); |
|||
$res = OrganTeamLogic::del($id); |
|||
if ($res === false) { |
|||
$error = OrganTeamLogic::getError() ?: '删除失败'; |
|||
return JsonServer::error($error); |
|||
} |
|||
return JsonServer::success('删除成功'); |
|||
} |
|||
|
|||
return JsonServer::error('异常'); |
|||
} |
|||
|
|||
/** |
|||
* @Notes: 隐藏帮助分类 |
|||
* @Author: 张无忌 |
|||
*/ |
|||
public function hide() |
|||
{ |
|||
if ($this->request->isAjax()) { |
|||
// (new HelpValidate())->goCheck('id'); |
|||
$id = $this->request->post('id'); |
|||
$res = OrganTeamLogic::hide($id); |
|||
if ($res === false) { |
|||
$error = OrganTeamLogic::getError() ?: '操作失败'; |
|||
return JsonServer::error($error); |
|||
} |
|||
return JsonServer::success('操作成功'); |
|||
} |
|||
|
|||
return JsonServer::success('异常'); |
|||
} |
|||
} |
|||
@ -0,0 +1,119 @@ |
|||
<?php |
|||
|
|||
|
|||
namespace app\admin\controller\community; |
|||
|
|||
|
|||
use app\admin\logic\community\OrganTeamLogic; |
|||
use app\admin\logic\content\HelpCategoryLogic; |
|||
use app\admin\logic\content\HelpLogic; |
|||
use app\admin\logic\content\ResourceCategoryLogic; |
|||
use app\admin\logic\content\ResourceLogic; |
|||
use app\admin\validate\content\HelpValidate; |
|||
use app\common\basics\AdminBase; |
|||
use app\common\server\JsonServer; |
|||
|
|||
class Team extends AdminBase |
|||
{ |
|||
/** |
|||
* @NOTES: 帮助分类列表 |
|||
* @author: 张无忌 |
|||
*/ |
|||
public function lists() |
|||
{ |
|||
if ($this->request->isAjax()) { |
|||
$get = $this->request->get(); |
|||
$lists = OrganTeamLogic::lists($get,1); |
|||
return JsonServer::success("获取成功", $lists); |
|||
} |
|||
|
|||
return view(''); |
|||
} |
|||
|
|||
/** |
|||
* @NOTES: 添加帮助类 |
|||
* @author: 张无忌 |
|||
*/ |
|||
public function add() |
|||
{ |
|||
if ($this->request->isAjax()) { |
|||
// (new HelpValidate())->goCheck('add'); |
|||
$post = $this->request->post(); |
|||
$post['type'] = 1; |
|||
$res = OrganTeamLogic::add($post); |
|||
|
|||
if ($res === false) { |
|||
$error = OrganTeamLogic::getError() ?: '新增失败'; |
|||
return JsonServer::error($error); |
|||
} |
|||
return JsonServer::success('新增成功'); |
|||
} |
|||
|
|||
|
|||
return view(''); |
|||
} |
|||
|
|||
/** |
|||
* @NOTES: 编辑帮助分类 |
|||
* @author: 张无忌 |
|||
*/ |
|||
public function edit() |
|||
{ |
|||
if ($this->request->isAjax()) { |
|||
// (new HelpValidate())->goCheck('edit'); |
|||
$post = $this->request->post(); |
|||
$post['type'] = 1; |
|||
$res = OrganTeamLogic::edit($post); |
|||
if ($res === false) { |
|||
$error = OrganTeamLogic::getError() ?: '编辑失败'; |
|||
return JsonServer::error($error); |
|||
} |
|||
return JsonServer::success('编辑成功'); |
|||
} |
|||
|
|||
$id = $this->request->get('id'); |
|||
return view('', [ |
|||
'detail' => OrganTeamLogic::detail($id) |
|||
]); |
|||
} |
|||
|
|||
/** |
|||
* @NOTES: 删除帮助分类 |
|||
* @author: 张无忌 |
|||
*/ |
|||
public function del() |
|||
{ |
|||
if ($this->request->isAjax()) { |
|||
// (new HelpValidate())->goCheck('id'); |
|||
$id = $this->request->post('id'); |
|||
$res = OrganTeamLogic::del($id); |
|||
if ($res === false) { |
|||
$error = OrganTeamLogic::getError() ?: '删除失败'; |
|||
return JsonServer::error($error); |
|||
} |
|||
return JsonServer::success('删除成功'); |
|||
} |
|||
|
|||
return JsonServer::error('异常'); |
|||
} |
|||
|
|||
/** |
|||
* @Notes: 隐藏帮助分类 |
|||
* @Author: 张无忌 |
|||
*/ |
|||
public function hide() |
|||
{ |
|||
if ($this->request->isAjax()) { |
|||
// (new HelpValidate())->goCheck('id'); |
|||
$id = $this->request->post('id'); |
|||
$res = OrganTeamLogic::hide($id); |
|||
if ($res === false) { |
|||
$error = OrganTeamLogic::getError() ?: '操作失败'; |
|||
return JsonServer::error($error); |
|||
} |
|||
return JsonServer::success('操作成功'); |
|||
} |
|||
|
|||
return JsonServer::success('异常'); |
|||
} |
|||
} |
|||
@ -0,0 +1,184 @@ |
|||
<?php |
|||
|
|||
|
|||
namespace app\admin\logic\community; |
|||
|
|||
|
|||
use app\common\basics\Logic; |
|||
use app\common\model\community\OrganTeam; |
|||
use app\common\model\content\Help; |
|||
use app\common\model\content\Resource; |
|||
use app\common\server\AreaServer; |
|||
use app\common\server\UrlServer; |
|||
use Exception; |
|||
|
|||
class OrganTeamLogic extends Logic |
|||
{ |
|||
/** |
|||
* 获取分类 |
|||
* @param $get |
|||
* @return array |
|||
*/ |
|||
public static function lists($get,$type=0) |
|||
{ |
|||
try { |
|||
$where = [ |
|||
['del', '=', 0] |
|||
]; |
|||
$where[] = ['type', '=', $type]; |
|||
|
|||
if (!empty($get['name']) and $get['name']) |
|||
$where[] = ['name', 'like', '%'.$get['name'].'%']; |
|||
|
|||
$model = new OrganTeam(); |
|||
$lists = $model->field(true) |
|||
->where($where) |
|||
->order('sort', 'asc') |
|||
->paginate([ |
|||
'page' => $get['page'], |
|||
'list_rows' => $get['limit'], |
|||
'var_page' => 'page' |
|||
]) |
|||
->toArray(); |
|||
|
|||
foreach ($lists['data'] as &$item) { |
|||
$item['is_show'] = $item['is_show'] ? '显示' : '隐藏'; |
|||
$item['address'] = $item['province_id']?AreaServer::getAddress([ |
|||
$item['province_id'], |
|||
$item['city_id'], |
|||
]):''; |
|||
} |
|||
|
|||
return ['count'=>$lists['total'], 'lists'=>$lists['data']]; |
|||
} catch (Exception $e) { |
|||
return ['error'=>$e->getMessage()]; |
|||
} |
|||
} |
|||
|
|||
public static function getAddr(){ |
|||
|
|||
} |
|||
/** |
|||
* @Notes: 资料详细 |
|||
* @Author: |
|||
* @param $id |
|||
* @return array |
|||
*/ |
|||
public static function detail($id) |
|||
{ |
|||
$model = new OrganTeam(); |
|||
$detail = $model->field(true)->findOrEmpty($id)->toArray(); |
|||
// $detail['path'] = UrlServer::getFileUrl($detail['path']); |
|||
return $detail; |
|||
} |
|||
|
|||
/** |
|||
* @Notes: 添加帮助 |
|||
* @Author: |
|||
* @param $post |
|||
* @return bool |
|||
*/ |
|||
public static function add($post) |
|||
{ |
|||
try { |
|||
OrganTeam::create([ |
|||
|
|||
'name' => $post['name'], |
|||
'image' => $post['image'] ?? '', |
|||
'intro' => $post['intro'] ?? '', |
|||
'content' => $post['content'] ?? '', |
|||
'type' => $post['type'] ?? 0, |
|||
'province_id' => $post['province_id'] ?? 0, |
|||
'city_id' => $post['city_id'] ?? 0, |
|||
'district_id' => $post['district_id'] ?? 0, |
|||
'visit' => 0, |
|||
'contact' => $post['contact'] ?? '', |
|||
'sort' => $post['sort'] ?? 0, |
|||
'is_show' => $post['is_show'], |
|||
'company' => $post['company'] ?? '', |
|||
]); |
|||
|
|||
return true; |
|||
} catch (\Exception $e) { |
|||
static::$error = $e->getMessage(); |
|||
return false; |
|||
} |
|||
} |
|||
|
|||
/** |
|||
* @Notes: 编辑帮助 |
|||
* @Author: 张无忌 |
|||
* @param $post |
|||
* @return bool |
|||
*/ |
|||
public static function edit($post) |
|||
{ |
|||
try { |
|||
OrganTeam::update([ |
|||
'name' => $post['name'], |
|||
'image' => $post['image'] ?? '', |
|||
'intro' => $post['intro'] ?? '', |
|||
'content' => $post['content'] ?? '', |
|||
'company' => $post['company'] ?? '', |
|||
'type' => $post['type'] ?? 0, |
|||
'province_id' => $post['province_id'] ?? 0, |
|||
'city_id' => $post['city_id'] ?? 0, |
|||
'district_id' => $post['district_id'] ?? 0, |
|||
'visit' => 0, |
|||
'contact' => $post['contact'] ?? '', |
|||
'sort' => $post['sort'] ?? 0, |
|||
'is_show' => $post['is_show'] |
|||
], ['id'=>$post['id']]); |
|||
|
|||
return true; |
|||
} catch (\Exception $e) { |
|||
static::$error = $e->getMessage(); |
|||
return false; |
|||
} |
|||
} |
|||
|
|||
/** |
|||
* @Notes: 删除 |
|||
* @Author: |
|||
* @param $id |
|||
* @return bool |
|||
*/ |
|||
public static function del($id) |
|||
{ |
|||
try { |
|||
OrganTeam::update([ |
|||
'del' => 1, |
|||
'update_time' => time() |
|||
], ['id'=>$id]); |
|||
|
|||
return true; |
|||
} catch (\Exception $e) { |
|||
static::$error = $e->getMessage(); |
|||
return false; |
|||
} |
|||
} |
|||
|
|||
/** |
|||
* @Notes: 隐藏 |
|||
* @Author: 张无忌 |
|||
* @param $id |
|||
* @return bool |
|||
*/ |
|||
public static function hide($id) |
|||
{ |
|||
try { |
|||
$model = new OrganTeam(); |
|||
$article = $model->findOrEmpty($id)->toArray(); |
|||
|
|||
OrganTeam::update([ |
|||
'is_show' => !$article['is_show'], |
|||
'update_time' => time() |
|||
], ['id'=>$id]); |
|||
|
|||
return true; |
|||
} catch (\Exception $e) { |
|||
static::$error = $e->getMessage(); |
|||
return false; |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,215 @@ |
|||
{layout name="layout2" /} |
|||
<style> |
|||
.layui-form-item .layui-input-inline { width: 340px; } |
|||
.pay-li { |
|||
float: left; |
|||
opacity: 1; |
|||
position: relative; |
|||
} |
|||
.pay-img { |
|||
width: 80px; |
|||
height: 80px; |
|||
padding: 4px; |
|||
} |
|||
.pay-img-del-x { |
|||
position: absolute; |
|||
z-index: 100; |
|||
top: -4px; |
|||
right: -2px; |
|||
width: 20px; |
|||
height: 20px; |
|||
font-size: 16px; |
|||
line-height: 16px; |
|||
color: #fff; |
|||
text-align: center; |
|||
cursor: pointer; |
|||
background: hsla(0, 0%, 60%, .6); |
|||
border-radius: 10px; |
|||
} |
|||
.upload-cert-a{ |
|||
cursor: pointer; |
|||
position: absolute; |
|||
z-index: 100; |
|||
top: 58px; |
|||
right: -10%; |
|||
width: 100px; |
|||
height: 20px; |
|||
font-size: 8px; |
|||
line-height: 16px; |
|||
text-align: center; |
|||
border-radius: 10px; |
|||
color: #4e8bff; |
|||
} |
|||
.upload-cert-a:hover { |
|||
color: #0641cb; |
|||
} |
|||
.pay-cert{ |
|||
height:80px;line-height:80px |
|||
} |
|||
.cert-add,.key-add{ |
|||
height: 80px; |
|||
width: 80px; |
|||
float: left; |
|||
opacity: 1; |
|||
position: relative; |
|||
border:1px dashed #a0a0a0; |
|||
background-image:url('/static/common/image/default/add_file.png'); |
|||
background-repeat: no-repeat; |
|||
background-position: 50% 35%; |
|||
background-size:40px 40px; |
|||
margin: 4px; |
|||
text-align: center; |
|||
} |
|||
</style> |
|||
|
|||
<div class="layui-card layui-form" style="box-shadow:none;"> |
|||
<div class="layui-card-body"> |
|||
<div class="layui-form-item"> |
|||
<label for="name" class="layui-form-label"><span style="color:red;">*</span>名称:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="name" id="name" lay-verType="tips" lay-verify="required" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="intro" class="layui-form-label">简介:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="intro" id="intro" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="company" class="layui-form-label">企业名称:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="company" id="company" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="sort" class="layui-form-label">排序:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="sort" id="sort" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label class="layui-form-label">封面图:</label> |
|||
<div class="layui-input-block"> |
|||
<div class="like-upload-image" switch-tab="0" lay-verType="tips"> |
|||
<div class="upload-image-elem"><a class="add-upload-image"> + 添加图片</a></div> |
|||
</div> |
|||
<div class="layui-form-mid layui-word-aux">建议尺寸:500*500像</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="contact" class="layui-form-label">联系方式:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="contact" id="contact" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label class="layui-form-label">区域:</label> |
|||
<div class="layui-input-block"> |
|||
<div class="layui-input-inline" style="width:120px;"> |
|||
<select name="province_id" id="province" lay-filter="province"></select> |
|||
</div> |
|||
<div class="layui-input-inline" style="width:120px;"> |
|||
<select name="city_id" id="city" lay-filter="city"></select> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label class="layui-form-label">状态:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="radio" name="is_show" value="1" title="显示"> |
|||
<input type="radio" name="is_show" value="0" title="隐藏" checked> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="content" class="layui-form-label">内容:</label> |
|||
<div class="layui-input-block"> |
|||
<textarea name="content" id="content" lay-verify="content"></textarea> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
<div class="layui-form-item layui-hide"> |
|||
<input type="button" lay-submit lay-filter="addSubmit" id="addSubmit" value="确认"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<script src="__PUBLIC__/static/common/js/area.js"></script> |
|||
<script> |
|||
layui.config({ |
|||
base: "/static/lib/" |
|||
|
|||
}).extend({ |
|||
likeedit: "likeedit/likeedit", |
|||
likeArea: "likeArea/likeArea", |
|||
}).use(["likeedit","likeArea", "form"], function(){ |
|||
var form = layui.form; |
|||
var likeedit = layui.likeedit; |
|||
var likeArea = layui.likeArea; |
|||
var content = likeedit.build("content", { |
|||
uploadImage: { |
|||
url: '{:url("file/lists")}?type=10' |
|||
} |
|||
}); |
|||
|
|||
form.verify({ |
|||
content: function() { |
|||
likeedit.sync(content) |
|||
} |
|||
}); |
|||
|
|||
like.delUpload(); |
|||
$(document).on("click", ".add-upload-image", function () { |
|||
like.imageUpload({ |
|||
limit: 1, |
|||
field: "image", |
|||
that: $(this) |
|||
}); |
|||
}); |
|||
|
|||
//删除图片/证书 |
|||
$(document).on('click', '.pay-img-del-x', function () { |
|||
$(this).parent().siblings('input').val(''); |
|||
$(this).parent().siblings().css('display','block'); |
|||
$(this).parent().remove(); |
|||
}); |
|||
|
|||
//==========================================上传证书start========================================================= |
|||
|
|||
like.certUpload('.cert-add', '{:url("file/other")}?local=1&sub_dir=resource', '{$storageUrl}'); |
|||
//==========================================上传证书end=========================================================== |
|||
// 删除按钮的显示与隐藏 |
|||
$(document).on('mouseover', '.pay-img', function () { |
|||
$(this).next().show(); |
|||
}); |
|||
$(document).on('mouseout', '.pay-img', function () { |
|||
$(this).next().hide(); |
|||
}); |
|||
$(document).on('mouseover', '.pay-img-del-x', function () { |
|||
$(this).show(); |
|||
}); |
|||
$(document).on('mouseout', '.pay-img-del-x', function () { |
|||
$(this).hide(); |
|||
}); |
|||
|
|||
|
|||
likeArea.init( |
|||
"province", "city", "district", "province_id", "city_id", "district_id", |
|||
"", "", "" |
|||
); |
|||
likeArea.init( |
|||
"refund_province", "refund_city", "refund_district", "refund_province_id", "refund_city_id", "refund_district_id", |
|||
"", "", "" |
|||
); |
|||
|
|||
}) |
|||
</script> |
|||
@ -0,0 +1,225 @@ |
|||
{layout name="layout2" /} |
|||
<style> |
|||
.layui-form-item .layui-input-inline { width: 340px; } |
|||
.pay-li { |
|||
float: left; |
|||
opacity: 1; |
|||
position: relative; |
|||
} |
|||
.pay-img { |
|||
width: 80px; |
|||
height: 80px; |
|||
padding: 4px; |
|||
} |
|||
.pay-img-del-x { |
|||
position: absolute; |
|||
z-index: 100; |
|||
top: -4px; |
|||
right: -2px; |
|||
width: 20px; |
|||
height: 20px; |
|||
font-size: 16px; |
|||
line-height: 16px; |
|||
color: #fff; |
|||
text-align: center; |
|||
cursor: pointer; |
|||
background: hsla(0, 0%, 60%, .6); |
|||
border-radius: 10px; |
|||
} |
|||
.upload-cert-a{ |
|||
cursor: pointer; |
|||
position: absolute; |
|||
z-index: 100; |
|||
top: 58px; |
|||
right: -10%; |
|||
width: 100px; |
|||
height: 20px; |
|||
font-size: 8px; |
|||
line-height: 16px; |
|||
text-align: center; |
|||
border-radius: 10px; |
|||
color: #4e8bff; |
|||
} |
|||
.upload-cert-a:hover { |
|||
color: #0641cb; |
|||
} |
|||
.pay-cert{ |
|||
height:80px;line-height:80px |
|||
} |
|||
.cert-add,.key-add{ |
|||
height: 80px; |
|||
width: 80px; |
|||
float: left; |
|||
opacity: 1; |
|||
position: relative; |
|||
border:1px dashed #a0a0a0; |
|||
background-image:url('/static/common/image/default/add_file.png'); |
|||
background-repeat: no-repeat; |
|||
background-position: 50% 35%; |
|||
background-size:40px 40px; |
|||
margin: 4px; |
|||
text-align: center; |
|||
} |
|||
</style> |
|||
|
|||
<div class="layui-card layui-form" style="box-shadow:none;"> |
|||
<div class="layui-card-body"> |
|||
<div class="layui-form-item"> |
|||
<label for="name" class="layui-form-label"><span style="color:red;">*</span>名称:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="name" id="name" value="{$detail.name}" lay-verType="tips" lay-verify="required" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="intro" class="layui-form-label">简介:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="intro" id="intro" value="{$detail.intro ?? ''}" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="company" class="layui-form-label">企业名称:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="company" id="company" value="{$detail.company ?? ''}" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="contact" class="layui-form-label">联系方式:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="contact" id="contact" value="{$detail.contact ?? ''}" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="sort" class="layui-form-label">排序:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="sort" id="sort" value="{$detail.sort}" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
<div class="layui-form-item"> |
|||
<label class="layui-form-label">封面图:</label> |
|||
<div class="layui-input-block"> |
|||
<div class="like-upload-image"> |
|||
{if $detail.image} |
|||
<div class="upload-image-div"> |
|||
<img src="{$detail.image}" alt="img"> |
|||
<input type="hidden" name="image" value="{$detail.image}"> |
|||
<div class="del-upload-btn">x</div> |
|||
</div> |
|||
<div class="upload-image-elem" style="display:none;"><a class="add-upload-image"> + 添加图片</a></div> |
|||
{else} |
|||
<div class="upload-image-elem"><a class="add-upload-image"> + 添加图片</a></div> |
|||
{/if} |
|||
</div> |
|||
<div class="layui-form-mid layui-word-aux">建议尺寸:500*500像</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
<div class="layui-form-item"> |
|||
<label class="layui-form-label">区域:</label> |
|||
<div class="layui-input-block"> |
|||
<div class="layui-input-inline" style="width:120px;"> |
|||
<select name="province_id" id="province" lay-filter="province"></select> |
|||
</div> |
|||
<div class="layui-input-inline" style="width:120px;"> |
|||
<select name="city_id" id="city" lay-filter="city"></select> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label class="layui-form-label">状态:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="radio" name="is_show" value="1" title="显示" {if $detail.is_show==1}checked{/if}> |
|||
<input type="radio" name="is_show" value="0" title="隐藏" {if $detail.is_show==0}checked{/if}> |
|||
</div> |
|||
</div> |
|||
<div class="layui-form-item"> |
|||
<label for="content" class="layui-form-label">内容:</label> |
|||
<div class="layui-input-block"> |
|||
<textarea name="content" id="content" lay-verify="content">{$detail.content|raw}</textarea> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item layui-hide"> |
|||
<input type="button" lay-submit lay-filter="addSubmit" id="addSubmit" value="确认"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<script src="__PUBLIC__/static/common/js/area.js"></script> |
|||
<script> |
|||
layui.config({ |
|||
base: "/static/lib/" |
|||
}).extend({ |
|||
likeedit: "likeedit/likeedit", |
|||
likeArea: "likeArea/likeArea", |
|||
}).use(["likeedit", "likeArea", "form"], function(){ |
|||
var form = layui.form; |
|||
var likeedit = layui.likeedit; |
|||
var likeArea = layui.likeArea; |
|||
var content = likeedit.build("content", { |
|||
uploadImage: { |
|||
url: '{:url("file/lists")}?type=10' |
|||
} |
|||
}); |
|||
|
|||
form.verify({ |
|||
content: function() { |
|||
likeedit.sync(content) |
|||
} |
|||
}); |
|||
|
|||
like.delUpload(); |
|||
$(document).on("click", ".add-upload-image", function () { |
|||
like.imageUpload({ |
|||
limit: 1, |
|||
field: "image", |
|||
that: $(this) |
|||
}); |
|||
}); |
|||
|
|||
|
|||
//删除图片/证书 |
|||
$(document).on('click', '.pay-img-del-x', function () { |
|||
$(this).parent().siblings('input').val(''); |
|||
$(this).parent().siblings().css('display','block'); |
|||
$(this).parent().remove(); |
|||
}); |
|||
|
|||
//==========================================上传证书start========================================================= |
|||
|
|||
like.certUpload('.cert-add', '{:url("file/other")}?local=1&sub_dir=resource', '{$storageUrl}'); |
|||
//==========================================上传证书end=========================================================== |
|||
// 删除按钮的显示与隐藏 |
|||
$(document).on('mouseover', '.pay-img', function () { |
|||
$(this).next().show(); |
|||
}); |
|||
$(document).on('mouseout', '.pay-img', function () { |
|||
$(this).next().hide(); |
|||
}); |
|||
$(document).on('mouseover', '.pay-img-del-x', function () { |
|||
$(this).show(); |
|||
}); |
|||
$(document).on('mouseout', '.pay-img-del-x', function () { |
|||
$(this).hide(); |
|||
}); |
|||
|
|||
|
|||
|
|||
likeArea.init( |
|||
"province", "city", "district", "province_id", "city_id", "district_id", |
|||
"{$detail.province_id}", "{$detail.city_id}", "{$detail.district_id}" |
|||
); |
|||
likeArea.init( |
|||
"refund_province", "refund_city", "refund_district", "refund_province_id", "refund_city_id", "refund_district_id", |
|||
"{$detail.refund_address.province_id ?? ''}", "{$detail.refund_address.city_id ?? ''}", "{$detail.refund_address.district_id ?? ''}" |
|||
); |
|||
|
|||
}) |
|||
</script> |
|||
@ -0,0 +1,226 @@ |
|||
{layout name="layout1" /} |
|||
|
|||
<div class="wrapper"> |
|||
<div class="layui-card"> |
|||
<!-- 操作提示 --> |
|||
<div class="layui-card-body"> |
|||
<div class="layui-collapse" style="border:1px dashed #c4c4c4"> |
|||
<div class="layui-colla-item"> |
|||
<h2 class="layui-colla-title like-layui-colla-title">操作提示</h2> |
|||
<div class="layui-colla-content layui-show"> |
|||
<p>*平台监测机构管理。</p> |
|||
<p>*排序值越小越前,排序值相同时新增在前。</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<!-- 搜索区域 --> |
|||
<div class="layui-card-body layui-form"> |
|||
<div class="layui-form-item"> |
|||
<div class="layui-inline"> |
|||
<label for="name" class="layui-form-label">机构名称:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" id="name" name="name" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
<input type="hidden" id="type" name="type" value="0"> |
|||
<div class="layui-inline"> |
|||
<a class="layui-btn layui-btn-sm layui-btn-normal" lay-submit lay-filter="search">搜索</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<!-- 主体区域 --> |
|||
<div class="layui-card-body"> |
|||
<button type="button" class="layui-btn layui-btn-normal layui-btn-sm layEvent" lay-event="add">新增机构</button> |
|||
|
|||
<table id="like-table-lists" lay-filter="like-table-lists"></table> |
|||
<script type="text/html" id="table-image"> |
|||
{{# if(d.image){ }} |
|||
<img src="{{d.image}}" alt="图" style="width:28px;height:28px;"> |
|||
{{# } }} |
|||
</script> |
|||
<script type="text/html" id="table-file"> |
|||
{{# if(d.path){ }} |
|||
<a href="{{d.path}}" download="{{d.path_name}}">点击下载</a> |
|||
{{# }else { }} |
|||
-- |
|||
{{# } }} |
|||
</script> |
|||
<script type="text/html" id="table-type"> |
|||
{{# if(d.type == 0){ }} |
|||
免费 |
|||
{{# } }} |
|||
{{# if(d.type == 1){ }} |
|||
VIP用户免费 |
|||
{{# } }} |
|||
{{# if(d.type == 2){ }} |
|||
付费{{d.price}}元下载 |
|||
{{# } }} |
|||
</script> |
|||
<script type="text/html" id="table-operation"> |
|||
<a class="layui-btn layui-btn-normal layui-btn-sm" lay-event="edit">编辑</a> |
|||
{{# if(d.is_show == '显示'){ }}<a class="layui-btn layui-btn-normal layui-btn-sm layui-btn-warm" lay-event="hide">隐藏</a>{{# } }} |
|||
{{# if(d.is_show == '隐藏'){ }}<a class="layui-btn layui-btn-normal layui-btn-sm" lay-event="hide">显示</a>{{# } }} |
|||
<a class="layui-btn layui-btn-danger layui-btn-sm" lay-event="del">删除</a> |
|||
</script> |
|||
</div> |
|||
|
|||
</div> |
|||
</div> |
|||
|
|||
<script> |
|||
layui.use(["table", "form"], function(){ |
|||
var table = layui.table; |
|||
var form = layui.form; |
|||
|
|||
|
|||
like.tableLists("#like-table-lists", "{:url()}?type=0", [ |
|||
{field:"id", width:60, title:"ID"} |
|||
,{field:"name", width:200, align:"center", title:"名称"} |
|||
,{field:"image", width:100, align:"center", title:"封面图", templet:"#table-image"} |
|||
,{field:"company", width:180, align:"center", title:"企业名称"} |
|||
,{field:"address", width:180, align:"center", title:"区域"} |
|||
,{field:"contact", width:150, align:"center", title:"联系方式"} |
|||
,{field:"intro", width:100, align:"center", title:"简介"} |
|||
,{field:"visit", width:100, align:"center", title:"浏览量"} |
|||
,{field:"sort", width:100, align:"center", title:"排序"} |
|||
,{field:"create_time", width:180, align:"center", title:"创建时间"} |
|||
,{title:"操作", width:200, align:"center", fixed:"right", toolbar:"#table-operation"} |
|||
]); |
|||
|
|||
|
|||
var active = { |
|||
add: function() { |
|||
layer.open({ |
|||
type: 2 |
|||
,title: "新增机构" |
|||
,content: "{:url('community.Organ/add')}" |
|||
,area: ["90%", "90%"] |
|||
,btn: ["确定", "取消"] |
|||
,yes: function(index, layero){ |
|||
var iframeWindow = window["layui-layer-iframe" + index]; |
|||
var submit = layero.find("iframe").contents().find("#addSubmit"); |
|||
iframeWindow.layui.form.on("submit(addSubmit)", function(data){ |
|||
like.ajax({ |
|||
url: "{:url('community.Organ/add')}", |
|||
data: data.field, |
|||
type: "POST", |
|||
success:function(res) { |
|||
if(res.code === 1) { |
|||
layui.layer.msg(res.msg); |
|||
layer.close(index); |
|||
table.reload("like-table-lists", { |
|||
where: {}, |
|||
page: { cur: 1 } |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
}); |
|||
submit.trigger("click"); |
|||
} |
|||
}); |
|||
}, |
|||
edit: function(obj) { |
|||
layer.open({ |
|||
type: 2 |
|||
,title: "编辑机构" |
|||
,content: "{:url('community.Organ/edit')}?id=" + obj.data.id |
|||
,area: ["90%", "90%"] |
|||
,btn: ["确定", "取消"] |
|||
,yes: function(index, layero){ |
|||
var iframeWindow = window["layui-layer-iframe" + index]; |
|||
var submit = layero.find("iframe").contents().find("#addSubmit"); |
|||
iframeWindow.layui.form.on("submit(addSubmit)", function(data){ |
|||
data.field['id'] = obj.data.id; |
|||
like.ajax({ |
|||
url: "{:url('community.Organ/edit')}", |
|||
data: data.field, |
|||
type: "POST", |
|||
success:function(res) { |
|||
if(res.code === 1) { |
|||
layui.layer.msg(res.msg); |
|||
layer.close(index); |
|||
table.reload("like-table-lists", { |
|||
where: {}, |
|||
page: { cur: 1 } |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
}); |
|||
submit.trigger("click"); |
|||
} |
|||
}); |
|||
}, |
|||
del: function(obj) { |
|||
layer.confirm("确定删除机构:"+obj.data.name, function(index) { |
|||
like.ajax({ |
|||
url: "{:url('community.Organ/del')}", |
|||
data: {id: obj.data.id}, |
|||
type: "POST", |
|||
success: function (res) { |
|||
if (res.code === 1) { |
|||
layui.layer.msg(res.msg); |
|||
layer.close(index); |
|||
obj.del(); |
|||
} |
|||
} |
|||
}); |
|||
layer.close(index); |
|||
table.reload("like-table-lists", { |
|||
where: {}, |
|||
page: { cur: 1 } |
|||
}); |
|||
}) |
|||
}, |
|||
hide: function(obj) { |
|||
var text = obj.data.is_show === '显示' ? '确定隐藏:' : '确定显示:'; |
|||
layer.confirm(text+obj.data.name, function(index) { |
|||
like.ajax({ |
|||
url: "{:url('community.Organ/hide')}", |
|||
data: {id: obj.data.id}, |
|||
type: "POST", |
|||
success: function (res) { |
|||
if (res.code === 1) { |
|||
layui.layer.msg(res.msg); |
|||
layer.close(index); |
|||
table.reload("like-table-lists", { |
|||
where: {}, |
|||
page: { cur: 1 } |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
layer.close(index); |
|||
|
|||
}) |
|||
} |
|||
}; |
|||
like.eventClick(active); |
|||
|
|||
form.on("submit(search)", function(data){ |
|||
table.reload("like-table-lists", { |
|||
where: data.field, |
|||
page: { |
|||
curr: 1 |
|||
} |
|||
}); |
|||
}); |
|||
|
|||
form.on("submit(clear-search)", function(){ |
|||
$("#title").val(""); |
|||
form.render("select"); |
|||
table.reload("like-table-lists", { |
|||
where: {}, |
|||
page: { |
|||
curr: 1 |
|||
} |
|||
}); |
|||
}); |
|||
|
|||
|
|||
}) |
|||
</script> |
|||
@ -0,0 +1,215 @@ |
|||
{layout name="layout2" /} |
|||
<style> |
|||
.layui-form-item .layui-input-inline { width: 340px; } |
|||
.pay-li { |
|||
float: left; |
|||
opacity: 1; |
|||
position: relative; |
|||
} |
|||
.pay-img { |
|||
width: 80px; |
|||
height: 80px; |
|||
padding: 4px; |
|||
} |
|||
.pay-img-del-x { |
|||
position: absolute; |
|||
z-index: 100; |
|||
top: -4px; |
|||
right: -2px; |
|||
width: 20px; |
|||
height: 20px; |
|||
font-size: 16px; |
|||
line-height: 16px; |
|||
color: #fff; |
|||
text-align: center; |
|||
cursor: pointer; |
|||
background: hsla(0, 0%, 60%, .6); |
|||
border-radius: 10px; |
|||
} |
|||
.upload-cert-a{ |
|||
cursor: pointer; |
|||
position: absolute; |
|||
z-index: 100; |
|||
top: 58px; |
|||
right: -10%; |
|||
width: 100px; |
|||
height: 20px; |
|||
font-size: 8px; |
|||
line-height: 16px; |
|||
text-align: center; |
|||
border-radius: 10px; |
|||
color: #4e8bff; |
|||
} |
|||
.upload-cert-a:hover { |
|||
color: #0641cb; |
|||
} |
|||
.pay-cert{ |
|||
height:80px;line-height:80px |
|||
} |
|||
.cert-add,.key-add{ |
|||
height: 80px; |
|||
width: 80px; |
|||
float: left; |
|||
opacity: 1; |
|||
position: relative; |
|||
border:1px dashed #a0a0a0; |
|||
background-image:url('/static/common/image/default/add_file.png'); |
|||
background-repeat: no-repeat; |
|||
background-position: 50% 35%; |
|||
background-size:40px 40px; |
|||
margin: 4px; |
|||
text-align: center; |
|||
} |
|||
</style> |
|||
|
|||
<div class="layui-card layui-form" style="box-shadow:none;"> |
|||
<div class="layui-card-body"> |
|||
<div class="layui-form-item"> |
|||
<label for="name" class="layui-form-label"><span style="color:red;">*</span>名称:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="name" id="name" lay-verType="tips" lay-verify="required" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="intro" class="layui-form-label">简介:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="intro" id="intro" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="company" class="layui-form-label">所属企业:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="company" id="company" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="sort" class="layui-form-label">排序:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="sort" id="sort" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label class="layui-form-label">封面图:</label> |
|||
<div class="layui-input-block"> |
|||
<div class="like-upload-image" switch-tab="0" lay-verType="tips"> |
|||
<div class="upload-image-elem"><a class="add-upload-image"> + 添加图片</a></div> |
|||
</div> |
|||
<div class="layui-form-mid layui-word-aux">建议尺寸:500*500像</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="contact" class="layui-form-label">联系方式:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="contact" id="contact" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label class="layui-form-label">区域:</label> |
|||
<div class="layui-input-block"> |
|||
<div class="layui-input-inline" style="width:120px;"> |
|||
<select name="province_id" id="province" lay-filter="province"></select> |
|||
</div> |
|||
<div class="layui-input-inline" style="width:120px;"> |
|||
<select name="city_id" id="city" lay-filter="city"></select> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label class="layui-form-label">状态:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="radio" name="is_show" value="1" title="显示"> |
|||
<input type="radio" name="is_show" value="0" title="隐藏" checked> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="content" class="layui-form-label">内容:</label> |
|||
<div class="layui-input-block"> |
|||
<textarea name="content" id="content" lay-verify="content"></textarea> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
<div class="layui-form-item layui-hide"> |
|||
<input type="button" lay-submit lay-filter="addSubmit" id="addSubmit" value="确认"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<script src="__PUBLIC__/static/common/js/area.js"></script> |
|||
<script> |
|||
layui.config({ |
|||
base: "/static/lib/" |
|||
|
|||
}).extend({ |
|||
likeedit: "likeedit/likeedit", |
|||
likeArea: "likeArea/likeArea", |
|||
}).use(["likeedit","likeArea", "form"], function(){ |
|||
var form = layui.form; |
|||
var likeedit = layui.likeedit; |
|||
var likeArea = layui.likeArea; |
|||
var content = likeedit.build("content", { |
|||
uploadImage: { |
|||
url: '{:url("file/lists")}?type=10' |
|||
} |
|||
}); |
|||
|
|||
form.verify({ |
|||
content: function() { |
|||
likeedit.sync(content) |
|||
} |
|||
}); |
|||
|
|||
like.delUpload(); |
|||
$(document).on("click", ".add-upload-image", function () { |
|||
like.imageUpload({ |
|||
limit: 1, |
|||
field: "image", |
|||
that: $(this) |
|||
}); |
|||
}); |
|||
|
|||
//删除图片/证书 |
|||
$(document).on('click', '.pay-img-del-x', function () { |
|||
$(this).parent().siblings('input').val(''); |
|||
$(this).parent().siblings().css('display','block'); |
|||
$(this).parent().remove(); |
|||
}); |
|||
|
|||
//==========================================上传证书start========================================================= |
|||
|
|||
like.certUpload('.cert-add', '{:url("file/other")}?local=1&sub_dir=resource', '{$storageUrl}'); |
|||
//==========================================上传证书end=========================================================== |
|||
// 删除按钮的显示与隐藏 |
|||
$(document).on('mouseover', '.pay-img', function () { |
|||
$(this).next().show(); |
|||
}); |
|||
$(document).on('mouseout', '.pay-img', function () { |
|||
$(this).next().hide(); |
|||
}); |
|||
$(document).on('mouseover', '.pay-img-del-x', function () { |
|||
$(this).show(); |
|||
}); |
|||
$(document).on('mouseout', '.pay-img-del-x', function () { |
|||
$(this).hide(); |
|||
}); |
|||
|
|||
|
|||
likeArea.init( |
|||
"province", "city", "district", "province_id", "city_id", "district_id", |
|||
"", "", "" |
|||
); |
|||
likeArea.init( |
|||
"refund_province", "refund_city", "refund_district", "refund_province_id", "refund_city_id", "refund_district_id", |
|||
"", "", "" |
|||
); |
|||
|
|||
}) |
|||
</script> |
|||
@ -0,0 +1,226 @@ |
|||
{layout name="layout2" /} |
|||
<style> |
|||
.layui-form-item .layui-input-inline { width: 340px; } |
|||
.pay-li { |
|||
float: left; |
|||
opacity: 1; |
|||
position: relative; |
|||
} |
|||
.pay-img { |
|||
width: 80px; |
|||
height: 80px; |
|||
padding: 4px; |
|||
} |
|||
.pay-img-del-x { |
|||
position: absolute; |
|||
z-index: 100; |
|||
top: -4px; |
|||
right: -2px; |
|||
width: 20px; |
|||
height: 20px; |
|||
font-size: 16px; |
|||
line-height: 16px; |
|||
color: #fff; |
|||
text-align: center; |
|||
cursor: pointer; |
|||
background: hsla(0, 0%, 60%, .6); |
|||
border-radius: 10px; |
|||
} |
|||
.upload-cert-a{ |
|||
cursor: pointer; |
|||
position: absolute; |
|||
z-index: 100; |
|||
top: 58px; |
|||
right: -10%; |
|||
width: 100px; |
|||
height: 20px; |
|||
font-size: 8px; |
|||
line-height: 16px; |
|||
text-align: center; |
|||
border-radius: 10px; |
|||
color: #4e8bff; |
|||
} |
|||
.upload-cert-a:hover { |
|||
color: #0641cb; |
|||
} |
|||
.pay-cert{ |
|||
height:80px;line-height:80px |
|||
} |
|||
.cert-add,.key-add{ |
|||
height: 80px; |
|||
width: 80px; |
|||
float: left; |
|||
opacity: 1; |
|||
position: relative; |
|||
border:1px dashed #a0a0a0; |
|||
background-image:url('/static/common/image/default/add_file.png'); |
|||
background-repeat: no-repeat; |
|||
background-position: 50% 35%; |
|||
background-size:40px 40px; |
|||
margin: 4px; |
|||
text-align: center; |
|||
} |
|||
</style> |
|||
|
|||
<div class="layui-card layui-form" style="box-shadow:none;"> |
|||
<div class="layui-card-body"> |
|||
<div class="layui-form-item"> |
|||
<label for="name" class="layui-form-label"><span style="color:red;">*</span>名称:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="name" id="name" value="{$detail.name}" lay-verType="tips" lay-verify="required" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="intro" class="layui-form-label">简介:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="intro" id="intro" value="{$detail.intro ?? ''}" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="company" class="layui-form-label">所属企业:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="company" id="company" value="{$detail.company ?? ''}" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="contact" class="layui-form-label">联系方式:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="contact" id="contact" value="{$detail.contact ?? ''}" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
<div class="layui-form-item"> |
|||
<label for="sort" class="layui-form-label">排序:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" name="sort" id="sort" value="{$detail.sort}" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
<div class="layui-form-item"> |
|||
<label class="layui-form-label">封面图:</label> |
|||
<div class="layui-input-block"> |
|||
<div class="like-upload-image"> |
|||
{if $detail.image} |
|||
<div class="upload-image-div"> |
|||
<img src="{$detail.image}" alt="img"> |
|||
<input type="hidden" name="image" value="{$detail.image}"> |
|||
<div class="del-upload-btn">x</div> |
|||
</div> |
|||
<div class="upload-image-elem" style="display:none;"><a class="add-upload-image"> + 添加图片</a></div> |
|||
{else} |
|||
<div class="upload-image-elem"><a class="add-upload-image"> + 添加图片</a></div> |
|||
{/if} |
|||
</div> |
|||
<div class="layui-form-mid layui-word-aux">建议尺寸:500*500像</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
<div class="layui-form-item"> |
|||
<label class="layui-form-label">区域:</label> |
|||
<div class="layui-input-block"> |
|||
<div class="layui-input-inline" style="width:120px;"> |
|||
<select name="province_id" id="province" lay-filter="province"></select> |
|||
</div> |
|||
<div class="layui-input-inline" style="width:120px;"> |
|||
<select name="city_id" id="city" lay-filter="city"></select> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<label class="layui-form-label">状态:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="radio" name="is_show" value="1" title="显示" {if $detail.is_show==1}checked{/if}> |
|||
<input type="radio" name="is_show" value="0" title="隐藏" {if $detail.is_show==0}checked{/if}> |
|||
</div> |
|||
</div> |
|||
<div class="layui-form-item"> |
|||
<label for="content" class="layui-form-label">内容:</label> |
|||
<div class="layui-input-block"> |
|||
<textarea name="content" id="content" lay-verify="content">{$detail.content|raw}</textarea> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item layui-hide"> |
|||
<input type="button" lay-submit lay-filter="addSubmit" id="addSubmit" value="确认"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<script src="__PUBLIC__/static/common/js/area.js"></script> |
|||
<script> |
|||
layui.config({ |
|||
base: "/static/lib/" |
|||
}).extend({ |
|||
likeedit: "likeedit/likeedit", |
|||
likeArea: "likeArea/likeArea", |
|||
}).use(["likeedit", "likeArea", "form"], function(){ |
|||
var form = layui.form; |
|||
var likeedit = layui.likeedit; |
|||
var likeArea = layui.likeArea; |
|||
var content = likeedit.build("content", { |
|||
uploadImage: { |
|||
url: '{:url("file/lists")}?type=10' |
|||
} |
|||
}); |
|||
|
|||
form.verify({ |
|||
content: function() { |
|||
likeedit.sync(content) |
|||
} |
|||
}); |
|||
|
|||
like.delUpload(); |
|||
$(document).on("click", ".add-upload-image", function () { |
|||
like.imageUpload({ |
|||
limit: 1, |
|||
field: "image", |
|||
that: $(this) |
|||
}); |
|||
}); |
|||
|
|||
|
|||
//删除图片/证书 |
|||
$(document).on('click', '.pay-img-del-x', function () { |
|||
$(this).parent().siblings('input').val(''); |
|||
$(this).parent().siblings().css('display','block'); |
|||
$(this).parent().remove(); |
|||
}); |
|||
|
|||
//==========================================上传证书start========================================================= |
|||
|
|||
like.certUpload('.cert-add', '{:url("file/other")}?local=1&sub_dir=resource', '{$storageUrl}'); |
|||
//==========================================上传证书end=========================================================== |
|||
// 删除按钮的显示与隐藏 |
|||
$(document).on('mouseover', '.pay-img', function () { |
|||
$(this).next().show(); |
|||
}); |
|||
$(document).on('mouseout', '.pay-img', function () { |
|||
$(this).next().hide(); |
|||
}); |
|||
$(document).on('mouseover', '.pay-img-del-x', function () { |
|||
$(this).show(); |
|||
}); |
|||
$(document).on('mouseout', '.pay-img-del-x', function () { |
|||
$(this).hide(); |
|||
}); |
|||
|
|||
|
|||
|
|||
likeArea.init( |
|||
"province", "city", "district", "province_id", "city_id", "district_id", |
|||
"{$detail.province_id}", "{$detail.city_id}", "{$detail.district_id}" |
|||
); |
|||
likeArea.init( |
|||
"refund_province", "refund_city", "refund_district", "refund_province_id", "refund_city_id", "refund_district_id", |
|||
"{$detail.refund_address.province_id ?? ''}", "{$detail.refund_address.city_id ?? ''}", "{$detail.refund_address.district_id ?? ''}" |
|||
); |
|||
|
|||
}) |
|||
</script> |
|||
@ -0,0 +1,226 @@ |
|||
{layout name="layout1" /} |
|||
|
|||
<div class="wrapper"> |
|||
<div class="layui-card"> |
|||
<!-- 操作提示 --> |
|||
<div class="layui-card-body"> |
|||
<div class="layui-collapse" style="border:1px dashed #c4c4c4"> |
|||
<div class="layui-colla-item"> |
|||
<h2 class="layui-colla-title like-layui-colla-title">操作提示</h2> |
|||
<div class="layui-colla-content layui-show"> |
|||
<p>*平台专家信息管理。</p> |
|||
<p>*排序值越小越前,排序值相同时新增在前。</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<!-- 搜索区域 --> |
|||
<div class="layui-card-body layui-form"> |
|||
<div class="layui-form-item"> |
|||
<div class="layui-inline"> |
|||
<label for="name" class="layui-form-label">专家名称:</label> |
|||
<div class="layui-input-inline"> |
|||
<input type="text" id="name" name="name" autocomplete="off" class="layui-input"> |
|||
</div> |
|||
</div> |
|||
<input type="hidden" id="type" name="type" value="1"> |
|||
<div class="layui-inline"> |
|||
<a class="layui-btn layui-btn-sm layui-btn-normal" lay-submit lay-filter="search">搜索</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<!-- 主体区域 --> |
|||
<div class="layui-card-body"> |
|||
<button type="button" class="layui-btn layui-btn-normal layui-btn-sm layEvent" lay-event="add">新增专家信息</button> |
|||
|
|||
<table id="like-table-lists" lay-filter="like-table-lists"></table> |
|||
<script type="text/html" id="table-image"> |
|||
{{# if(d.image){ }} |
|||
<img src="{{d.image}}" alt="图" style="width:28px;height:28px;"> |
|||
{{# } }} |
|||
</script> |
|||
<script type="text/html" id="table-file"> |
|||
{{# if(d.path){ }} |
|||
<a href="{{d.path}}" download="{{d.path_name}}">点击下载</a> |
|||
{{# }else { }} |
|||
-- |
|||
{{# } }} |
|||
</script> |
|||
<script type="text/html" id="table-type"> |
|||
{{# if(d.type == 0){ }} |
|||
免费 |
|||
{{# } }} |
|||
{{# if(d.type == 1){ }} |
|||
VIP用户免费 |
|||
{{# } }} |
|||
{{# if(d.type == 2){ }} |
|||
付费{{d.price}}元下载 |
|||
{{# } }} |
|||
</script> |
|||
<script type="text/html" id="table-operation"> |
|||
<a class="layui-btn layui-btn-normal layui-btn-sm" lay-event="edit">编辑</a> |
|||
{{# if(d.is_show == '显示'){ }}<a class="layui-btn layui-btn-normal layui-btn-sm layui-btn-warm" lay-event="hide">隐藏</a>{{# } }} |
|||
{{# if(d.is_show == '隐藏'){ }}<a class="layui-btn layui-btn-normal layui-btn-sm" lay-event="hide">显示</a>{{# } }} |
|||
<a class="layui-btn layui-btn-danger layui-btn-sm" lay-event="del">删除</a> |
|||
</script> |
|||
</div> |
|||
|
|||
</div> |
|||
</div> |
|||
|
|||
<script> |
|||
layui.use(["table", "form"], function(){ |
|||
var table = layui.table; |
|||
var form = layui.form; |
|||
|
|||
|
|||
like.tableLists("#like-table-lists", "{:url()}?type=0", [ |
|||
{field:"id", width:60, title:"ID"} |
|||
,{field:"name", width:200, align:"center", title:"名称"} |
|||
,{field:"image", width:100, align:"center", title:"图片", templet:"#table-image"} |
|||
,{field:"company", width:180, align:"center", title:"所属企业"} |
|||
,{field:"address", width:180, align:"center", title:"区域"} |
|||
,{field:"contact", width:150, align:"center", title:"联系方式"} |
|||
,{field:"intro", width:100, align:"center", title:"简介"} |
|||
,{field:"visit", width:100, align:"center", title:"浏览量"} |
|||
,{field:"sort", width:100, align:"center", title:"排序"} |
|||
,{field:"create_time", width:180, align:"center", title:"创建时间"} |
|||
,{title:"操作", width:200, align:"center", fixed:"right", toolbar:"#table-operation"} |
|||
]); |
|||
|
|||
|
|||
var active = { |
|||
add: function() { |
|||
layer.open({ |
|||
type: 2 |
|||
,title: "新增专家信息" |
|||
,content: "{:url('community.Team/add')}" |
|||
,area: ["90%", "90%"] |
|||
,btn: ["确定", "取消"] |
|||
,yes: function(index, layero){ |
|||
var iframeWindow = window["layui-layer-iframe" + index]; |
|||
var submit = layero.find("iframe").contents().find("#addSubmit"); |
|||
iframeWindow.layui.form.on("submit(addSubmit)", function(data){ |
|||
like.ajax({ |
|||
url: "{:url('community.Team/add')}", |
|||
data: data.field, |
|||
type: "POST", |
|||
success:function(res) { |
|||
if(res.code === 1) { |
|||
layui.layer.msg(res.msg); |
|||
layer.close(index); |
|||
table.reload("like-table-lists", { |
|||
where: {}, |
|||
page: { cur: 1 } |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
}); |
|||
submit.trigger("click"); |
|||
} |
|||
}); |
|||
}, |
|||
edit: function(obj) { |
|||
layer.open({ |
|||
type: 2 |
|||
,title: "编辑专家信息" |
|||
,content: "{:url('community.Team/edit')}?id=" + obj.data.id |
|||
,area: ["90%", "90%"] |
|||
,btn: ["确定", "取消"] |
|||
,yes: function(index, layero){ |
|||
var iframeWindow = window["layui-layer-iframe" + index]; |
|||
var submit = layero.find("iframe").contents().find("#addSubmit"); |
|||
iframeWindow.layui.form.on("submit(addSubmit)", function(data){ |
|||
data.field['id'] = obj.data.id; |
|||
like.ajax({ |
|||
url: "{:url('community.Team/edit')}", |
|||
data: data.field, |
|||
type: "POST", |
|||
success:function(res) { |
|||
if(res.code === 1) { |
|||
layui.layer.msg(res.msg); |
|||
layer.close(index); |
|||
table.reload("like-table-lists", { |
|||
where: {}, |
|||
page: { cur: 1 } |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
}); |
|||
submit.trigger("click"); |
|||
} |
|||
}); |
|||
}, |
|||
del: function(obj) { |
|||
layer.confirm("确定删除专家:"+obj.data.name, function(index) { |
|||
like.ajax({ |
|||
url: "{:url('community.Team/del')}", |
|||
data: {id: obj.data.id}, |
|||
type: "POST", |
|||
success: function (res) { |
|||
if (res.code === 1) { |
|||
layui.layer.msg(res.msg); |
|||
layer.close(index); |
|||
obj.del(); |
|||
} |
|||
} |
|||
}); |
|||
layer.close(index); |
|||
table.reload("like-table-lists", { |
|||
where: {}, |
|||
page: { cur: 1 } |
|||
}); |
|||
}) |
|||
}, |
|||
hide: function(obj) { |
|||
var text = obj.data.is_show === '显示' ? '确定隐藏:' : '确定显示:'; |
|||
layer.confirm(text+obj.data.name, function(index) { |
|||
like.ajax({ |
|||
url: "{:url('community.Team/hide')}", |
|||
data: {id: obj.data.id}, |
|||
type: "POST", |
|||
success: function (res) { |
|||
if (res.code === 1) { |
|||
layui.layer.msg(res.msg); |
|||
layer.close(index); |
|||
table.reload("like-table-lists", { |
|||
where: {}, |
|||
page: { cur: 1 } |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
layer.close(index); |
|||
|
|||
}) |
|||
} |
|||
}; |
|||
like.eventClick(active); |
|||
|
|||
form.on("submit(search)", function(data){ |
|||
table.reload("like-table-lists", { |
|||
where: data.field, |
|||
page: { |
|||
curr: 1 |
|||
} |
|||
}); |
|||
}); |
|||
|
|||
form.on("submit(clear-search)", function(){ |
|||
$("#title").val(""); |
|||
form.render("select"); |
|||
table.reload("like-table-lists", { |
|||
where: {}, |
|||
page: { |
|||
curr: 1 |
|||
} |
|||
}); |
|||
}); |
|||
|
|||
|
|||
}) |
|||
</script> |
|||
@ -0,0 +1,87 @@ |
|||
{layout name="layout1" /} |
|||
|
|||
|
|||
<div class="wrapper"> |
|||
<div class="layui-card"> |
|||
<div class="layui-card-body"> |
|||
<div class="layui-collapse like-layui-collapse" lay-accordion="" style="border:1px dashed #c4c4c4"> |
|||
<div class="layui-colla-item"> |
|||
<h2 class="layui-colla-title like-layui-colla-title" style="background-color: #fff">操作提示</h2> |
|||
<div class="layui-colla-content layui-show"> |
|||
<p>*用户提交服务或需求时会审核敏感词,将敏感词替换为**。</p> |
|||
<p>*多个敏感词之间用 | 隔开。</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="layui-form" lay-filter=""> |
|||
<div class="layui-tab layui-tab-card"> |
|||
<ul class="layui-tab-title"> |
|||
<li class="layui-this">敏感词库</li> |
|||
</ul> |
|||
<div class="layui-tab-content"> |
|||
<div class="layui-tab-item layui-show"> |
|||
<label class="layui-form-label" style="white-space: nowrap;">内容:</label> |
|||
<div class="layui-input-block"> |
|||
<textarea name="words" id="words" lay-verify="content" class="field-content">{$config.words}</textarea> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="layui-form-item"> |
|||
<div class="layui-input-block"> |
|||
<button class="layui-btn {$view_theme_color}" lay-submit lay-filter="addSubmit">确认</button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<script> |
|||
layui.config({ |
|||
base: "/static/lib/" |
|||
}).extend({ |
|||
likeedit: "likeedit/likeedit" |
|||
}).use(["form", "likeedit"], function () { |
|||
var $ = layui.$ |
|||
, form = layui.form |
|||
, likeedit = layui.likeedit; |
|||
|
|||
//富文本上传图片 |
|||
likeedit.set({ |
|||
uploadImage: { |
|||
url: "{:url('file/lists')}", |
|||
type: 'post' |
|||
} |
|||
}) |
|||
var likeedit_words = likeedit.build('words'); |
|||
form.verify({ |
|||
content: function () { |
|||
likeedit.sync(likeedit_words); |
|||
} |
|||
}); |
|||
|
|||
form.on("submit(addSubmit)", function(data){ |
|||
data.field['words'] = likeedit.getContent(likeedit_words); |
|||
like.ajax({ |
|||
url: "{:url('setting.basic/setSensitiveWords')}", |
|||
data: data.field, |
|||
type: "POST", |
|||
success:function(res) { |
|||
if(res.code === 1) { |
|||
layer.msg(res.msg, { |
|||
offset: '15px' |
|||
, icon: 1 |
|||
, time: 1500 |
|||
},function () { |
|||
location.href = location.href; |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
}); |
|||
}); |
|||
</script> |
|||
@ -0,0 +1,12 @@ |
|||
<?php |
|||
|
|||
|
|||
namespace app\common\model\community; |
|||
|
|||
|
|||
use app\common\basics\Models; |
|||
|
|||
class OrganTeam extends Models |
|||
{ |
|||
|
|||
} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000600 |
|||
exit();?> |
|||
a:45:{s:2:"id";i:1;s:2:"sn";s:8:"71828424";s:4:"root";i:0;s:8:"nickname";s:14:"用户71828424";s:6:"avatar";s:37:"/static/common/image/default/user.png";s:6:"mobile";s:11:"18256952487";s:9:"real_name";N;s:5:"level";i:0;s:8:"group_id";N;s:3:"sex";i:0;s:8:"birthday";N;s:10:"user_money";s:8:"10000.00";s:13:"user_integral";i:0;s:18:"total_order_amount";s:4:"0.00";s:21:"total_recharge_amount";s:4:"0.00";s:7:"account";s:0:"";s:8:"password";s:32:"5b728ba254f58d115ff28ed18f82f2c3";s:12:"pay_password";N;s:4:"salt";s:4:"90a5";s:12:"first_leader";i:0;s:13:"second_leader";i:0;s:12:"third_leader";i:0;s:17:"ancestor_relation";N;s:15:"is_distribution";i:0;s:24:"distribution_add_remarks";s:0:"";s:19:"freeze_distribution";i:0;s:23:"distribution_h5_qr_code";s:0:"";s:24:"distribution_mnp_qr_code";s:0:"";s:24:"distribution_app_qr_code";s:0:"";s:17:"distribution_code";s:6:"T4T6CG";s:11:"create_time";i:1681693999;s:11:"update_time";i:1681713167;s:10:"login_time";i:1681694028;s:8:"login_ip";s:9:"127.0.0.1";s:7:"disable";i:0;s:3:"del";i:0;s:11:"user_growth";i:0;s:8:"earnings";s:4:"0.00";s:6:"client";i:6;s:7:"tag_ids";s:0:"";s:6:"remark";s:0:"";s:11:"is_new_user";i:0;s:7:"ship_id";N;s:8:"exp_time";i:0;s:5:"token";s:32:"fa189f5600beda8bcf3e52077c9929aa";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:8:"LikeMall";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:16:{s:2:"id";i:2;s:4:"root";i:1;s:7:"shop_id";i:2;s:4:"name";s:15:"超级管理员";s:7:"account";s:6:"777777";s:4:"salt";s:4:"613f";s:7:"role_id";i:0;s:11:"create_time";s:19:"2021-06-23 15:57:04";s:11:"update_time";s:19:"2023-04-12 11:03:03";s:10:"login_time";s:19:"2023-04-12 11:03:42";s:8:"login_ip";s:9:"127.0.0.1";s:7:"disable";i:0;s:3:"del";i:0;s:5:"token";s:32:"e860f3c9177894fcc4b3dedcb8515ffc";s:6:"client";i:5;s:9:"shop_name";s:16:"大G数码集团";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:1;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:0;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:1;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";N;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000001800 |
|||
exit();?> |
|||
1 |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";N;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";N;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";N;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:1;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000086400 |
|||
exit();?> |
|||
a:46:{s:2:"id";i:1;s:2:"sn";s:8:"71828424";s:4:"root";i:0;s:8:"nickname";s:14:"用户71828424";s:6:"avatar";s:37:"/static/common/image/default/user.png";s:6:"mobile";s:11:"18256952487";s:9:"real_name";N;s:5:"level";i:0;s:8:"group_id";N;s:3:"sex";s:6:"未知";s:8:"birthday";N;s:10:"user_money";s:8:"10000.00";s:13:"user_integral";i:0;s:18:"total_order_amount";s:4:"0.00";s:21:"total_recharge_amount";s:4:"0.00";s:7:"account";s:0:"";s:8:"password";s:32:"5b728ba254f58d115ff28ed18f82f2c3";s:12:"pay_password";N;s:4:"salt";s:4:"90a5";s:12:"first_leader";i:0;s:13:"second_leader";i:0;s:12:"third_leader";i:0;s:17:"ancestor_relation";N;s:15:"is_distribution";i:0;s:24:"distribution_add_remarks";s:0:"";s:19:"freeze_distribution";i:0;s:23:"distribution_h5_qr_code";s:0:"";s:24:"distribution_mnp_qr_code";s:0:"";s:24:"distribution_app_qr_code";s:0:"";s:17:"distribution_code";s:6:"T4T6CG";s:11:"create_time";s:19:"2023-04-17 09:13:19";s:11:"update_time";s:19:"2023-04-17 14:32:47";s:10:"login_time";s:19:"2023-04-21 15:46:38";s:8:"login_ip";s:9:"127.0.0.1";s:7:"disable";i:0;s:3:"del";i:0;s:11:"user_growth";i:0;s:8:"earnings";s:4:"0.00";s:6:"client";i:6;s:7:"tag_ids";s:0:"";s:6:"remark";s:0:"";s:11:"is_new_user";i:0;s:7:"ship_id";N;s:8:"exp_time";i:0;s:9:"ship_free";i:0;s:5:"token";s:32:"9daf08d1fb68e12c55efd79de8b8e100";} |
|||
@ -1,4 +1,4 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";N;} |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";N;} |
|||
@ -1,4 +1,4 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:0;} |
|||
a:1:{s:13:"config_server";i:1;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:0;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:0;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:0;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";N;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:0;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";a:0:{}} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";a:1:{i:0;s:0:"";}} |
|||
@ -1,4 +1,4 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:6:{i:0;s:75:"D:\waibao\ahbcqz\server\runtime\cache\1e\9273b3315671b45227b5827559a179.php";i:1;s:75:"D:\waibao\ahbcqz\server\runtime\cache\a1\55016152d5af019afbbfd20daf7335.php";i:2;s:75:"D:\waibao\ahbcqz\server\runtime\cache\c0\cf484f10720659d936916d74e6362a.php";i:3;s:75:"E:\waibao\ahbcqz\server\runtime\cache\35\4c90d26061baaa2f7a972849339da3.php";i:4;s:75:"E:\waibao\ahbcqz\server\runtime\cache\64\80bd487ac5e230fd1fb2d74457b697.php";i:5;s:75:"E:\waibao\ahbcqz\server\runtime\cache\11\e63c5fed23ed0b72e5c3d85dccdf6a.php";} |
|||
a:2:{i:0;s:75:"E:\waibao\ahbcqz\server\runtime\cache\ad\710db81cabed7a4fc183cdbe36b098.php";i:1;s:75:"E:\waibao\ahbcqz\server\runtime\cache\b0\2f627ee37a64f2b7a2192d33ffb6ce.php";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";a:1:{i:0;i:1;}} |
|||
@ -1,4 +1,4 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:53:"Copyright © 2019-2021 广州好象科技有限公司";} |
|||
a:1:{s:13:"config_server";s:71:"Copyright © 2019-2023 安徽博创起重设备安装工程有限公司";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:0;} |
|||
@ -1,4 +1,4 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:20:"likeshop管理后台";} |
|||
a:1:{s:13:"config_server";s:24:"博创设计管理后台";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:1;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:1;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{i:0;s:75:"D:\waibao\ahbcqz\server\runtime\cache\2e\00473f3b37a60f00d26da6bcff1f42.php";} |
|||
@ -1,4 +1,4 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";N;} |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";N;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";N;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:0:"";} |
|||
@ -1,4 +1,4 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:8:"likeshop";} |
|||
a:1:{s:13:"config_server";s:12:"博创设计";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";N;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:0;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:8:"LikeMall";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";s:31:"/images/share/share_user_bg.png";} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:0;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:1;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:0;} |
|||
@ -1,4 +0,0 @@ |
|||
<?php |
|||
//000000000000 |
|||
exit();?> |
|||
a:1:{s:13:"config_server";i:0;} |
|||
Loading…
Reference in new issue