mirror of https://github.com/1099438829/apeblog
完善一些数据
This commit is contained in:
parent
0f977f3ecc
commit
c1f6f1a5d9
|
|
@ -53,7 +53,7 @@ class AdminAuth extends AuthController
|
||||||
$form = array();
|
$form = array();
|
||||||
$form[] = Elm::select('pid','上级权限',(int)$pid)->options(aModel::returnOptions())->col(10);
|
$form[] = Elm::select('pid','上级权限',(int)$pid)->options(aModel::returnOptions())->col(10);
|
||||||
$form[] = Elm::input('name','权限名称')->col(10);
|
$form[] = Elm::input('name','权限名称')->col(10);
|
||||||
$form[] = Elm::frameInput('icon','图标',Url::buildUrl('admin/widget.icon/index',array('fodder'=>'icon')))->icon("ios-ionic")->width('96%')->height('390px')->col(10);
|
$form[] = Elm::frameInput('icon','图标',Url::buildUrl('admin/icon/index',array('fodder'=>'icon')))->icon("ios-ionic")->width('96%')->height('390px')->col(10);
|
||||||
$form[] = Elm::input('module','模块名')->col(10);
|
$form[] = Elm::input('module','模块名')->col(10);
|
||||||
$form[] = Elm::input('controller','控制器名')->col(10);
|
$form[] = Elm::input('controller','控制器名')->col(10);
|
||||||
$form[] = Elm::input('action','方法名')->col(10);
|
$form[] = Elm::input('action','方法名')->col(10);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,149 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\admin\controller;
|
||||||
|
|
||||||
|
use app\admin\service\FormBuilderService as Form;
|
||||||
|
use app\common\model\Advert as aModel;
|
||||||
|
use app\Request;
|
||||||
|
use app\admin\service\UtilService as Util;
|
||||||
|
use FormBuilder\Factory\Elm;
|
||||||
|
use think\facade\Route as Url;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class Advert
|
||||||
|
* @package app\admin\controller
|
||||||
|
* @author 李玉坤
|
||||||
|
* @date 2021-07-26 17:53
|
||||||
|
*/
|
||||||
|
class Advert extends AuthController
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 构造方法 初始化一些参数
|
||||||
|
*/
|
||||||
|
public function initialize()
|
||||||
|
{
|
||||||
|
parent::initialize(); // TODO: Change the autogenerated stub
|
||||||
|
//修正因为修改model名称和原来不能对应导致的model功能异常
|
||||||
|
$this->model = new aModel();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 广告管理
|
||||||
|
* @return string
|
||||||
|
* @throws \Exception
|
||||||
|
* @author 李玉坤
|
||||||
|
* @date 2021-02-19 11:53
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
return $this->fetch();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文章列表
|
||||||
|
* @param Request $request
|
||||||
|
* @return mixed
|
||||||
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
|
* @throws \think\db\exception\DbException
|
||||||
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
|
* @author 李玉坤
|
||||||
|
* @date 2021-02-15 23:26
|
||||||
|
*/
|
||||||
|
public function lst(Request $request)
|
||||||
|
{
|
||||||
|
$where = Util::postMore([
|
||||||
|
['title',''],
|
||||||
|
['start_time',''],
|
||||||
|
['end_time',''],
|
||||||
|
['status',''],
|
||||||
|
['page',1],
|
||||||
|
['limit',20],
|
||||||
|
]);
|
||||||
|
return app("json")->layui(aModel::systemPage($where));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加广告
|
||||||
|
* @param Request $request
|
||||||
|
* @return string
|
||||||
|
* @throws \FormBuilder\Exception\FormBuilderException
|
||||||
|
*/
|
||||||
|
public function add(Request $request)
|
||||||
|
{
|
||||||
|
$form = array();
|
||||||
|
$form[] = Elm::input('title','广告名称')->col(10);
|
||||||
|
$form[] = Elm::input('url','链接地址')->col(10);
|
||||||
|
$form[] = Elm::frameImage('image','广告图片',Url::buildUrl('admin/images/index',array('fodder'=>'image','limit'=>1)))->icon("ios-image")->width('96%')->height('440px')->col(10);
|
||||||
|
$form[] = Elm::input('sort','排序')->col(10);
|
||||||
|
$form[] = Elm::select('position', '位置')->options(function(){
|
||||||
|
$options = [];
|
||||||
|
foreach(['首页', '首页右侧','文章页面'] as $k=>$v){
|
||||||
|
$options[] = Elm::option($k, $v);
|
||||||
|
}
|
||||||
|
return $options;
|
||||||
|
})->col(10);
|
||||||
|
$form[] = Elm::radio('status','状态',1)->options([['label'=>'启用','value'=>1],['label'=>'冻结','value'=>0]])->col(10);
|
||||||
|
$form = Form::make_post_form($form, url('save')->build());
|
||||||
|
$this->assign(compact('form'));
|
||||||
|
return $this->fetch("public/form-builder");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改banner
|
||||||
|
* @return string
|
||||||
|
* @throws \FormBuilder\Exception\FormBuilderException
|
||||||
|
*/
|
||||||
|
public function edit($id="")
|
||||||
|
{
|
||||||
|
if (!$id) return app("json")->fail("数据id不能为空");
|
||||||
|
$ainfo = aModel::get($id);
|
||||||
|
if (!$ainfo) return app("json")->fail("没有该数据");
|
||||||
|
$form = array();
|
||||||
|
$form[] = Elm::input('title','广告名称',$ainfo['title'])->col(10);
|
||||||
|
$form[] = Elm::input('url','链接地址',$ainfo['url'])->col(10);
|
||||||
|
$form[] = Elm::frameImage('image','广告图片',Url::buildUrl('admin/images/index',array('fodder'=>'image','limit'=>1)),$ainfo['image'])->icon("ios-image")->width('96%')->height('440px')->col(10);
|
||||||
|
$form[] = Elm::input('sort','排序',$ainfo['sort'])->col(10);
|
||||||
|
$form[] = Elm::select('position', '位置',$ainfo['position'])->options(function(){
|
||||||
|
$options = [];
|
||||||
|
foreach(['首页', '首页右侧','文章页面'] as $k=>$v){
|
||||||
|
$options[] = Elm::option($k, $v);
|
||||||
|
}
|
||||||
|
return $options;
|
||||||
|
})->col(10);
|
||||||
|
$form[] = Elm::radio('status','状态',$ainfo['status'])->options([['label'=>'启用','value'=>1],['label'=>'冻结','value'=>0]])->col(10);
|
||||||
|
$form = Form::make_post_form($form, url('save',['id'=>$id])->build());
|
||||||
|
$this->assign(compact('form'));
|
||||||
|
return $this->fetch("public/form-builder");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 保存修改
|
||||||
|
* @param string $id
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function save($id="")
|
||||||
|
{
|
||||||
|
$data = Util::postMore([
|
||||||
|
['id',''],
|
||||||
|
['title',''],
|
||||||
|
['url',''],
|
||||||
|
['image',''],
|
||||||
|
['sort',''],
|
||||||
|
['status',1],
|
||||||
|
]);
|
||||||
|
if ($data['title'] == "") return app("json")->fail("广告名称不能为空");
|
||||||
|
if ($data['url'] == "") return app("json")->fail("链接地址不能为空");
|
||||||
|
if (is_array($data['image'])) $data['image'] = $data['avatar'][0];
|
||||||
|
if ($id=="") {
|
||||||
|
//判断下用户是否存在
|
||||||
|
$info = aModel::where('url',$data['url'])->find();
|
||||||
|
if ($info){
|
||||||
|
return app("json")->fail("链接已存在");
|
||||||
|
}
|
||||||
|
$res = aModel::create($data);
|
||||||
|
}else {
|
||||||
|
$res = aModel::update($data,['id'=>$id]);
|
||||||
|
}
|
||||||
|
return $res ? app("json")->success("操作成功",'code') : app("json")->fail("操作失败");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -24,7 +24,7 @@ class Invitation extends AuthController
|
||||||
$this->model = new aModel();
|
$this->model = new aModel();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* 活动列表
|
* 邀请码列表
|
||||||
* @return string
|
* @return string
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
* @author 李玉坤
|
* @author 李玉坤
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
namespace app\admin\controller;
|
namespace app\admin\controller;
|
||||||
|
|
||||||
use app\admin\model\MessageForm as aModel;
|
use app\common\model\MessageForm as aModel;
|
||||||
use app\Request;
|
use app\Request;
|
||||||
use app\admin\service\UtilService as Util;
|
use app\admin\service\UtilService as Util;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ class Slides extends AuthController
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 添加账号
|
* 添加banner
|
||||||
* @param Request $request
|
* @param Request $request
|
||||||
* @return string
|
* @return string
|
||||||
* @throws \FormBuilder\Exception\FormBuilderException
|
* @throws \FormBuilder\Exception\FormBuilderException
|
||||||
|
|
@ -72,7 +72,7 @@ class Slides extends AuthController
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改账号
|
* 修改banner
|
||||||
* @return string
|
* @return string
|
||||||
* @throws \FormBuilder\Exception\FormBuilderException
|
* @throws \FormBuilder\Exception\FormBuilderException
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,218 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh">
|
||||||
|
<head>
|
||||||
|
<title>广告管理 - {:system_config("title")}后台管理系统</title>
|
||||||
|
{include file="public/header" /}
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="container-fluid p-t-15">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-12">
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header"><h4>搜索</h4></div>
|
||||||
|
<div class="card-body">
|
||||||
|
<form class="form-inline searchForm" onsubmit="return false;">
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="title">广告名称</label>
|
||||||
|
<div class="input-group">
|
||||||
|
<div class="input-group">
|
||||||
|
<input type="text" class="form-control" id="title" name="title" placeholder="请输入广告名称">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="start_time">操作时间</label>
|
||||||
|
<div class="input-group">
|
||||||
|
<input class="form-control js-datetimepicker" type="text" id="start_time" name="start_time" autocomplete="off" data-side-by-side="true" data-locale="zh-cn" data-format="YYYY-MM-DD" placeholder="开始时间">
|
||||||
|
<span class="input-group-addon">~</span>
|
||||||
|
<input class="form-control js-datetimepicker" type="text" id="end_time" name="end_time" autocomplete="off" data-side-by-side="true" data-locale="zh-cn" data-format="YYYY-MM-DD" placeholder="结束时间">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<button type="submit" class="btn btn-success" style="margin: -10px 0 0 10px;" id="search">搜索</button>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-12">
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-toolbar clearfix">
|
||||||
|
<div id="toolbar" class="toolbar-btn-action">
|
||||||
|
<button id="btn_add" type="button" class="btn btn-primary m-r-5" onclick="iframe.createIframe('添加广告','/admin/advert/add')">
|
||||||
|
<span class="mdi mdi-plus" aria-hidden="true"></span>新增
|
||||||
|
</button>
|
||||||
|
<a class="btn btn-warning" href="#!" onclick="delSelect()"><i class="mdi mdi-window-close"></i> 删除</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<table id="tb_departments"></table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{include file="public/footer"/}
|
||||||
|
<script type="text/javascript">
|
||||||
|
$('#tb_departments').bootstrapTable({
|
||||||
|
classes: 'table table-bordered table-hover table-striped',
|
||||||
|
url: '/admin/advert/Lst',
|
||||||
|
method: 'post',
|
||||||
|
dataType : 'json', // 因为本示例中是跨域的调用,所以涉及到ajax都采用jsonp,
|
||||||
|
uniqueId: 'id',
|
||||||
|
idField: 'id', // 每行的唯一标识字段
|
||||||
|
toolbar: '#toolbar', // 工具按钮容器
|
||||||
|
showColumns: false, // 是否显示所有的列
|
||||||
|
showRefresh: false, // 是否显示刷新按钮
|
||||||
|
responseHandler: function (res) {
|
||||||
|
return {
|
||||||
|
"total": res.count,
|
||||||
|
"rows": res.data,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
pagination: true,
|
||||||
|
queryParams: function(params) {
|
||||||
|
let temp = toArrayList($(".searchForm").serializeArray());
|
||||||
|
temp['limit'] = params.limit;
|
||||||
|
temp['page'] = (params.offset / params.limit) + 1;
|
||||||
|
return temp;
|
||||||
|
},
|
||||||
|
sidePagination: "server",
|
||||||
|
pageNumber: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
pageList: [10, 20, 50, 100],
|
||||||
|
columns: [{
|
||||||
|
checkbox: true, // 是否显示复选框
|
||||||
|
},{
|
||||||
|
field: 'id',
|
||||||
|
title: 'ID'
|
||||||
|
},{
|
||||||
|
field: 'title',
|
||||||
|
title: '广告名称'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'image',
|
||||||
|
title: '广告图片',
|
||||||
|
formatter:function (value,row,index) {
|
||||||
|
let html ='<img src="'+value+'" alt="" width="50px;">';
|
||||||
|
return html;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'url',
|
||||||
|
title: '链接地址',
|
||||||
|
}, {
|
||||||
|
field: 'create_time',
|
||||||
|
title: '添加时间',
|
||||||
|
}, {
|
||||||
|
field: 'operate',
|
||||||
|
title: '操作',
|
||||||
|
formatter:operateFormatter,
|
||||||
|
events: {
|
||||||
|
'click .btn-edit': function (event, value, row, index) {
|
||||||
|
iframe.createIframe('修改广告','/admin/advert/edit?id='+row.id)
|
||||||
|
},
|
||||||
|
'click .btn-del': function (event, value, row, index) {
|
||||||
|
$.alert({
|
||||||
|
title: '系统提示',
|
||||||
|
content: '删除提醒',
|
||||||
|
buttons: {
|
||||||
|
confirm: {
|
||||||
|
text: '确认',
|
||||||
|
btnClass: 'btn-primary',
|
||||||
|
action: function(){
|
||||||
|
$.post(url="/admin/advert/del",data={"id":row.id},function (res) {
|
||||||
|
if (res.status == 200) {parent.lightyear.notify('删除成功', 'success', 3000, 'mdi mdi-emoticon-happy', 'top', 'center');$("#tb_departments").bootstrapTable('refresh');}
|
||||||
|
else parent.lightyear.notify('删除失败', 'danger', 3000, 'mdi mdi-emoticon-happy', 'top', 'center');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
cancel: {
|
||||||
|
text: '取消'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}],
|
||||||
|
onLoadSuccess: function(data){
|
||||||
|
$("[data-toggle='tooltip']").tooltip();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
//搜索
|
||||||
|
$("#search").click(function () {
|
||||||
|
let start_time = $('#start_time').val();
|
||||||
|
let end_time = $('#end_time').val();
|
||||||
|
if(start_time && end_time && start_time > end_time ){
|
||||||
|
alert('开始时间不能大于结束时间');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
$("#tb_departments").bootstrapTable('refresh',{query:{page:1},pageNumber:1});
|
||||||
|
});
|
||||||
|
|
||||||
|
// 操作按钮
|
||||||
|
function operateFormatter(value, row, index) {
|
||||||
|
return [
|
||||||
|
'<a type="button" class="btn-edit btn btn-xs btn-default m-r-5" title="修改" data-toggle="tooltip"><i class="mdi mdi-pencil"></i></a>',
|
||||||
|
'<a type="button" class="btn-del btn btn-xs btn-default" title="删除" data-toggle="tooltip"><i class="mdi mdi-delete"></i></a>'
|
||||||
|
].join('');
|
||||||
|
}
|
||||||
|
|
||||||
|
function delOne(id) {
|
||||||
|
$.confirm({
|
||||||
|
title: '重要提醒!',
|
||||||
|
content: '删除后将不可恢复,请谨慎操作!',
|
||||||
|
backgroundDismiss: true,
|
||||||
|
buttons: {
|
||||||
|
ok: {
|
||||||
|
text: '确认',
|
||||||
|
btnClass: 'btn-danger',
|
||||||
|
action: function () {
|
||||||
|
$.post("/admin/advert/del",data={id:id},function (res) {
|
||||||
|
if (res.status == 200 || res.code == 200) lightyear.notify(res.msg, 'success', 3000, 'mdi mdi-emoticon-happy', 'top', 'center');
|
||||||
|
else lightyear.notify(res.msg, 'danger', 3000, 'mdi mdi-emoticon-neutral', 'top', 'center');
|
||||||
|
location.reload();
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
cancel: {
|
||||||
|
text: '取消',
|
||||||
|
btnClass: 'btn-primary'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function delSelect() {
|
||||||
|
var checkID = "";
|
||||||
|
var selectedItem = $('#tb_departments').bootstrapTable('getSelections');
|
||||||
|
if (selectedItem=="") return lightyear.notify("没有选中项", 'danger', 3000, 'mdi mdi-emoticon-neutral', 'top', 'center');
|
||||||
|
for (var i = 0 ; i< selectedItem.length; i++)
|
||||||
|
{
|
||||||
|
checkID += selectedItem[i]['id']+",";
|
||||||
|
}
|
||||||
|
if (checkID=="") return lightyear.notify("没有选中项", 'danger', 3000, 'mdi mdi-emoticon-neutral', 'top', 'center');
|
||||||
|
$.confirm({
|
||||||
|
title: '重要提醒!',
|
||||||
|
content: '选中项删除后将不可恢复,请谨慎操作!',
|
||||||
|
backgroundDismiss: true,
|
||||||
|
buttons: {
|
||||||
|
ok: {
|
||||||
|
text: '确认',
|
||||||
|
btnClass: 'btn-danger',
|
||||||
|
action: function () {
|
||||||
|
$.post("/admin/advert/del",data={id:checkID},function (res) {
|
||||||
|
if (res.status == 200 || res.code == 200) { lightyear.notify(res.msg, 'success', 3000, 'mdi mdi-emoticon-happy', 'top', 'center');location.reload();}
|
||||||
|
else lightyear.notify(res.msg, 'danger', 3000, 'mdi mdi-emoticon-neutral', 'top', 'center');
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
cancel: {
|
||||||
|
text: '取消',
|
||||||
|
btnClass: 'btn-primary'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,41 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
namespace app\common\model;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class Advert
|
||||||
|
* @package app\common\model
|
||||||
|
* @author 李玉坤
|
||||||
|
* @date 2021-07-26 18:38
|
||||||
|
*/
|
||||||
|
class Advert extends BaseModel
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 列表
|
||||||
|
* @param $where
|
||||||
|
* @return array
|
||||||
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
|
* @throws \think\db\exception\DbException
|
||||||
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
|
* @author 李玉坤
|
||||||
|
* @date 2021-02-15 23:24
|
||||||
|
*/
|
||||||
|
public static function systemPage($where): array
|
||||||
|
{
|
||||||
|
$model = new self;
|
||||||
|
if ($where['title'] != '') $model = $model->where("title|url","like","%$where[title]%");
|
||||||
|
if ($where['start_time'] != '') $model = $model->where("create_time",">",strtotime($where['start_time']." 00:00:00"));
|
||||||
|
if ($where['end_time'] != '') $model = $model->where("create_time","<", strtotime($where['end_time']." 23:59:59"));
|
||||||
|
if ($where['status'] != '') $model = $model->where("status",$where['status']);
|
||||||
|
$count = self::counts($model);
|
||||||
|
if ($where['page'] && $where['limit']) $model = $model->page((int)$where['page'],(int)$where['limit']);
|
||||||
|
$data = $model->select()->each(function ($item){
|
||||||
|
if (!empty($item->pic)){
|
||||||
|
$item->pic = file_cdn($item->pic);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
if ($data) $data = $data->toArray();
|
||||||
|
return compact('data','count');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -3,9 +3,6 @@
|
||||||
|
|
||||||
namespace app\common\model;
|
namespace app\common\model;
|
||||||
|
|
||||||
|
|
||||||
use app\common\model\BaseModel;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class DocumentCategory
|
* Class DocumentCategory
|
||||||
* @package app\admin\model\system
|
* @package app\admin\model\system
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,6 @@
|
||||||
|
|
||||||
namespace app\common\model;
|
namespace app\common\model;
|
||||||
|
|
||||||
|
|
||||||
use app\admin\model\BaseModel;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Document
|
* Class Document
|
||||||
* @package app\admin\model\system
|
* @package app\admin\model\system
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,10 @@ class Slides extends BaseModel
|
||||||
public static function systemPage($where): array
|
public static function systemPage($where): array
|
||||||
{
|
{
|
||||||
$model = new self;
|
$model = new self;
|
||||||
|
if ($where['title'] != '') $model = $model->where("title|url","like","%$where[title]%");
|
||||||
|
if ($where['start_time'] != '') $model = $model->where("create_time",">",strtotime($where['start_time']." 00:00:00"));
|
||||||
|
if ($where['end_time'] != '') $model = $model->where("create_time","<", strtotime($where['end_time']." 23:59:59"));
|
||||||
|
if ($where['status'] != '') $model = $model->where("status",$where['status']);
|
||||||
$count = self::counts($model);
|
$count = self::counts($model);
|
||||||
if ($where['page'] && $where['limit']) $model = $model->page((int)$where['page'],(int)$where['limit']);
|
if ($where['page'] && $where['limit']) $model = $model->page((int)$where['page'],(int)$where['limit']);
|
||||||
$data = $model->select()->each(function ($item){
|
$data = $model->select()->each(function ($item){
|
||||||
|
|
|
||||||
|
|
@ -1,33 +0,0 @@
|
||||||
{
|
|
||||||
"title":"默认主题",
|
|
||||||
"author":"MonkeyCode",
|
|
||||||
"demo_url":"http://default.lcm.wang/",
|
|
||||||
"category_list":[
|
|
||||||
{
|
|
||||||
"name": "默认列表",
|
|
||||||
"template":"list_default.html"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "两排列表",
|
|
||||||
"template":"list_double.html"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"article_list":[
|
|
||||||
{
|
|
||||||
"name": "普通文章",
|
|
||||||
"template":"page.html"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "关于我们",
|
|
||||||
"template":"page_about.html"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "产品文章",
|
|
||||||
"template":"page_product.html"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"info_file":"全部都是可视化的 没什么可说明的",
|
|
||||||
"update_url":"http://www.lcm.wang/",
|
|
||||||
"preview_file":"preview.jpg",
|
|
||||||
"versions":"1.0"
|
|
||||||
}
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 559 KiB |
|
|
@ -89,8 +89,6 @@
|
||||||
<div class="index-tab-plane">
|
<div class="index-tab-plane">
|
||||||
<div class="index-tab-item index-tab-item-active" catid="0">最新文章</div>
|
<div class="index-tab-item index-tab-item-active" catid="0">最新文章</div>
|
||||||
<div class="index-tab-item" catid="6">wordpress</div>
|
<div class="index-tab-item" catid="6">wordpress</div>
|
||||||
<div class="index-tab-item" catid="24">JavaScript</div>
|
|
||||||
<div class="index-tab-item" catid="8">绿化破解</div>
|
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
var nowid = $('.index-tab-item-active').attr('catid');
|
var nowid = $('.index-tab-item-active').attr('catid');
|
||||||
|
|
@ -155,7 +153,6 @@
|
||||||
</ul>
|
</ul>
|
||||||
<div class="pages">
|
<div class="pages">
|
||||||
<button class="index-load-more-btn"><i class="far fa-circle-notch"></i> 加载更多</button>
|
<button class="index-load-more-btn"><i class="far fa-circle-notch"></i> 加载更多</button>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var paged = 2;
|
var paged = 2;
|
||||||
var max_page =6;
|
var max_page =6;
|
||||||
|
|
@ -190,123 +187,99 @@
|
||||||
<div class="sidebar">
|
<div class="sidebar">
|
||||||
<div class="sidebar-box-list">
|
<div class="sidebar-box-list">
|
||||||
<div class="aside-box">
|
<div class="aside-box">
|
||||||
<form class="search-form" action="https://www.zyxpp.com" method="get" role="search">
|
<h2 class="widget-title">热门阅读</h2>
|
||||||
<div class="search-form-input-plane">
|
<div class="hot-post-widget-item">
|
||||||
<input type="text" class="search-keyword" name="s" placeholder="搜索内容" value="">
|
|
||||||
</div>
|
|
||||||
<div>
|
<div>
|
||||||
<button type="submit" class="search-submit" value="">搜索</button>
|
<span class="hot-post-widget-item-num"> 1 </span>
|
||||||
|
<span class="hot-post-widget-item-title">
|
||||||
|
<a href="corepress.html"> CorePress主题 v5.1.1 </a>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
<div class="hot-post-widget-item-meta">
|
||||||
|
<div>2021-07-12</div>
|
||||||
|
<div>
|
||||||
|
<a href="category/php/wordpress.html"> wordpress </a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="hot-post-widget-item">
|
||||||
|
<div>
|
||||||
|
<span class="hot-post-widget-item-num"> 2 </span>
|
||||||
|
<span class="hot-post-widget-item-title">
|
||||||
|
<a href="odsz01.html"> OD修改软件文本字符串内容 </a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="hot-post-widget-item-meta">
|
||||||
|
<div>2019-04-29</div>
|
||||||
|
<div>
|
||||||
|
<a href="category/asm/绿化破解.html"> 绿化破解 </a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="hot-post-widget-item">
|
||||||
|
<div>
|
||||||
|
<span class="hot-post-widget-item-num"> 3 </span>
|
||||||
|
<span class="hot-post-widget-item-title">
|
||||||
|
<a href="corepresswzzs.html">
|
||||||
|
CorePress主题优秀网站展示
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="hot-post-widget-item-meta">
|
||||||
|
<div>2021-03-20</div>
|
||||||
|
<div>
|
||||||
|
<a href="category/php/wordpress.html"> wordpress </a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="hot-post-widget-item">
|
||||||
|
<div>
|
||||||
|
<span class="hot-post-widget-item-num"> 4 </span>
|
||||||
|
<span class="hot-post-widget-item-title">
|
||||||
|
<a href="uniappzdy.html"> uni-app 自定义组件 </a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="hot-post-widget-item-meta">
|
||||||
|
<div>2019-06-08</div>
|
||||||
|
<div>
|
||||||
|
<a href="category/uniapp.html"> UniApp </a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="hot-post-widget-item">
|
||||||
|
<div>
|
||||||
|
<span class="hot-post-widget-item-num"> 5 </span>
|
||||||
|
<span class="hot-post-widget-item-title">
|
||||||
|
<a href="ollydbg.html"> OllyDbg官方版和增强版 </a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="hot-post-widget-item-meta">
|
||||||
|
<div>2019-04-21</div>
|
||||||
|
<div>
|
||||||
|
<a href="category/soft.html"> 软件资源 </a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="hot-post-widget-item">
|
||||||
|
<div>
|
||||||
|
<span class="hot-post-widget-item-num"> 6 </span>
|
||||||
|
<span class="hot-post-widget-item-title">
|
||||||
|
<a href="layuigettext.html"> layui 获取select值和文本 </a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="hot-post-widget-item-meta">
|
||||||
|
<div>2019-08-08</div>
|
||||||
|
<div>
|
||||||
|
<a href="category/front.html"> 前端 </a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="aside-box">
|
<div class="aside-box">
|
||||||
<div class="widget-author-plane">
|
<h2 class="widget-title">标签云</h2>
|
||||||
<div class="widget-author-main">
|
<script src="wp-content/themes/CorePress/static/js/TagCloud.js"></script>
|
||||||
<img src="wp-content/plugins/wp-user-avatar/images/wpua-96x96.png" width="50"
|
|
||||||
height="50" alt="头像"
|
|
||||||
class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default">
|
|
||||||
<div class="widget-author-name">
|
|
||||||
轻烟随风
|
|
||||||
</div>
|
|
||||||
<div class="widget-avatar-description">
|
|
||||||
I can't change the direction of the wind, but I can adjust my sails to always reach
|
|
||||||
my destination
|
|
||||||
</div>
|
|
||||||
<div class="widget-avatar-meta">
|
|
||||||
<div class="widget-avatar-meta-box widget-avatar-meta-comments" title="评论数量">
|
|
||||||
<i class="far fa-comment"></i>
|
|
||||||
1
|
|
||||||
</div>
|
|
||||||
<div class="widget-avatar-meta-box" title="文章数量">
|
|
||||||
<i class="far fa-newspaper"></i>
|
|
||||||
45
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="widget-avatar-post-list">
|
|
||||||
<h2 class="widget-avatar-title">近期文章</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="oracle-ebs-pl-sql-arapsubleadernotposttogl/index.html">oracle-EBS-PL/sql 财务
|
|
||||||
AR AP 子分类账未过入总账GL的语句</a></li>
|
|
||||||
<li><a href="veeamrestorefromdisk/index.html">Veeam日常运维恢复数据操作(从外接硬盘恢复)</a></li>
|
|
||||||
<li><a href="oracle-ebs-omshipconfirmstatuserror/index.html">oracle-EBS-OM价目表未设置导致确认出货后状态位没有变成已连接/interface</a>
|
|
||||||
</li>
|
|
||||||
<li><a href="wordpresscountvisitor/index.html">wordpress统计网站日访问量总访问量代码</a></li>
|
|
||||||
<li><a href="aliyunmanagement/index.html">阿里云服务器的简单管理快照备份和远程访问设置</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="aside-box"><h2 class="widget-title">浏览次数</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="oracle-ebs-om-order-table/index1.html"
|
|
||||||
title="oracle-EBS甲骨文销售订单下单发放挑库发运(销售到出货全过程)主要相关表(多图)">oracle-EBS甲骨文销售订单下单发放挑库发运(销售到出货全过程)主要相关表(多图)</a>
|
|
||||||
- 333 浏览
|
|
||||||
</li>
|
|
||||||
<li><a href="oracle-ebs-pur-inventory-table/index1.html"
|
|
||||||
title="oracle-EBS-采购单创建接收检验入库经历主要表(多图)">oracle-EBS-采购单创建接收检验入库经历主要表(多图)</a> - 161 浏览
|
|
||||||
</li>
|
|
||||||
<li><a href="decoration-erp/index.html" title="某家装公司项目管理软件系统的设计思路">某家装公司项目管理软件系统的设计思路</a> -
|
|
||||||
7 浏览
|
|
||||||
</li>
|
|
||||||
<li><a href="oaworkflowapprove/index1.html" title="常见企业OA办公审批流、工作流实现层级审批、层层签核的方式">常见企业OA办公审批流、工作流实现层级审批、层层签核的方式</a>
|
|
||||||
- 73 浏览
|
|
||||||
</li>
|
|
||||||
<li><a href="oracle-ebs-form-help-diagnosis-get-pl-sql/index.html"
|
|
||||||
title="oracle-EBS-前台表单界面跟踪查看某个查询按钮的后台的pl/sql语句">oracle-EBS-前台表单界面跟踪查看某个查询按钮的后台的pl/sql语句</a>
|
|
||||||
- 226 浏览
|
|
||||||
</li>
|
|
||||||
<li><a href="oracle-ebs-om-confirm-transferto-ar/index.html"
|
|
||||||
title="oracle-EBS-PL/sql查看销售订单已经确认出货,和过账到AR应收的订单行明细,查看物流操作时间">oracle-EBS-PL/sql查看销售订单已经确认出货,和过账到AR应收的订单行明细,查看物流操作时间</a>
|
|
||||||
- 222 浏览
|
|
||||||
</li>
|
|
||||||
<li><a href="oracle-sqldeveloper-run-package/index.html"
|
|
||||||
title="oracle – sqldeveloper 手动执行包 package的方法">oracle – sqldeveloper
|
|
||||||
手动执行包 package的方法</a> - 191 浏览
|
|
||||||
</li>
|
|
||||||
<li><a href="oracle-ebs-inquery-hidden-sql/index.html"
|
|
||||||
title="oracle – 查询某些表是空白,需要提升权限后,才可查询出数据">oracle –
|
|
||||||
查询某些表是空白,需要提升权限后,才可查询出数据</a> - 172 浏览
|
|
||||||
</li>
|
|
||||||
<li><a href="advise/index.html" title="留言建议">留言建议</a> - 172 浏览</li>
|
|
||||||
<li><a href="sql-server-max-lineconverttocolumn/index.html"
|
|
||||||
title="SQL Server- 行列转换 行转列,多行转多列 – max 函数用法">SQL Server- 行列转换 行转列,多行转多列
|
|
||||||
– max 函数用法</a> - 161 浏览
|
|
||||||
</li>
|
|
||||||
<li><a href="about/index.html" title="关于本站">关于本站</a> - 159 浏览</li>
|
|
||||||
<li><a href="sql-server-normal-code/index.html" title="SQL Server- 常用sql 函数语句资料实用">SQL
|
|
||||||
Server- 常用sql 函数语句资料实用</a> - 149 浏览
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="aside-box"><h2 class="widget-title">近期热门https://www.zyxpp.com/wp-admin/admin-ajax.php</h2>
|
|
||||||
<ul id="recentcomments">
|
|
||||||
<li class="recentcomments"><span class="comment-author-link">匿名</span>发表在《<a
|
|
||||||
href="oracle-ebs-pl-sql-ap-podetial/index.html#comment-22">oracle-EBS-PL/sql AP
|
|
||||||
发票中匹配的po明细按发票</a>》
|
|
||||||
</li>
|
|
||||||
<li class="recentcomments"><span class="comment-author-link">匿名</span>发表在《<a
|
|
||||||
href="oracle-ebs-pl-sql-price-list/index.html#comment-21">oracle EBS PL/sql
|
|
||||||
查看销售订单的价目表Price List</a>》
|
|
||||||
</li>
|
|
||||||
<li class="recentcomments"><span class="comment-author-link">匿名</span>发表在《<a
|
|
||||||
href="oracle-ebs-pl-sql-ap-aging/index.html#comment-20">oracle-EBS-PL/sql AP
|
|
||||||
供应商的未清余额明细AP AGING</a>》
|
|
||||||
</li>
|
|
||||||
<li class="recentcomments"><span class="comment-author-link">匿名</span>发表在《<a
|
|
||||||
href="oracle-ebs-om-confirm-transferto-ar/index.html#comment-18">oracle-EBS-PL/sql查看销售订单已经确认出货,和过账到AR应收的订单行明细,查看物流操作时间</a>》
|
|
||||||
</li>
|
|
||||||
<li class="recentcomments"><span class="comment-author-link">匿名</span>发表在《<a
|
|
||||||
href="applylink/index.html#comment-17">申请友情链接</a>》
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="aside-box"><h2 class="widget-title">标签云</h2>
|
|
||||||
<script src="__JS__/TagCloud.js"></script>
|
|
||||||
<div class="corepress-tag-cloud">
|
<div class="corepress-tag-cloud">
|
||||||
<div class="corepress-tag-container-tag1">
|
<div class="corepress-tag-container-tag1"></div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<style>
|
<style>
|
||||||
.corepress-tagcloud a {
|
.corepress-tagcloud a {
|
||||||
|
|
@ -314,37 +287,238 @@
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.corepress-tagcloud a:hover {
|
.corepress-tagcloud a:hover {
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tagcloud--item {
|
.tagcloud--item {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 2px 4px;
|
padding: 2px 4px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tagcloud--item:hover {
|
.tagcloud--item:hover {
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
z-index: 100 !important;
|
z-index: 100 !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
var tag = TagCloud('.corepress-tag-container-tag1', JSON.parse('[{"text":"asp.net","href":"https:\/\/www.zyxpp.com\/tag\/asp-net"},{"text":"EBS","href":"https:\/\/www.zyxpp.com\/tag\/ebs"},{"text":"oracle","href":"https:\/\/www.zyxpp.com\/tag\/oracle"},{"text":"PL\/SQL","href":"https:\/\/www.zyxpp.com\/tag\/pl-sql"},{"text":"sql","href":"https:\/\/www.zyxpp.com\/tag\/sql"},{"text":"sql server","href":"https:\/\/www.zyxpp.com\/tag\/sql-server"},{"text":"\u5b66\u4e60\u7b14\u8bb0","href":"https:\/\/www.zyxpp.com\/tag\/study"}]'), {}, ['#67C23A', '#E6A23C', '#F56C6C', '#909399', '#CC9966', '#FF6666', '#99CCFF', '#FF9999', '#CC6633']);
|
var tag = TagCloud(
|
||||||
|
".corepress-tag-container-tag1",
|
||||||
|
JSON.parse(
|
||||||
|
'[{"text":"WordPress","href":"https:\/\/www.lovestu.com\/tag\/wordpress"},{"text":"WordPress\u7248\u672c","href":"https:\/\/www.lovestu.com\/tag\/wordpress%e7%89%88%e6%9c%ac"},{"text":"\u4e3b\u9898","href":"https:\/\/www.lovestu.com\/tag\/%e4%b8%bb%e9%a2%98"},{"text":"\u4ee3\u7801","href":"https:\/\/www.lovestu.com\/tag\/code"},{"text":"\u4f7f\u7528\u6559\u7a0b","href":"https:\/\/www.lovestu.com\/tag\/tutorial"}]'
|
||||||
|
),
|
||||||
|
{},
|
||||||
|
[
|
||||||
|
"#67C23A",
|
||||||
|
"#E6A23C",
|
||||||
|
"#F56C6C",
|
||||||
|
"#909399",
|
||||||
|
"#CC9966",
|
||||||
|
"#FF6666",
|
||||||
|
"#99CCFF",
|
||||||
|
"#FF9999",
|
||||||
|
"#CC6633",
|
||||||
|
]
|
||||||
|
);
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
<div class="aside-box"><h2 class="widget-title">免费简单好用的网站服务器运维面板</h2>
|
<div class="aside-box">
|
||||||
<a href="javascript:;"><img width="300" height="191"
|
<h2 class="widget-title">最新评论</h2>
|
||||||
src="/uploads/article/2021/03/bt面板-300x191.png"
|
<li>
|
||||||
class="image wp-image-559 attachment-medium size-medium" alt=""
|
<div class="widger-comment-plane">
|
||||||
loading="lazy" style="max-width: 100%; height: auto;"></a></div>
|
<div class="widger-comment-info">
|
||||||
<div class="aside-box"><h2 class="widget-title">拥有一个自己的网站服务器</h2>
|
<div class="widger-comment-user">
|
||||||
<a href="javascript:;"><img width="300" height="164"
|
<div class="widger-avatar">
|
||||||
|
<img
|
||||||
|
alt="黯然gg"
|
||||||
|
src="avatar/a817af1c94172733c4e559a236053976.jpg"
|
||||||
|
srcset="
|
||||||
|
https://sdn.geekzu.org/avatar/a817af1c94172733c4e559a236053976?s=60&d=mm&r=g 2x
|
||||||
|
"
|
||||||
|
class="avatar avatar-30 photo"
|
||||||
|
height="30"
|
||||||
|
width="30"
|
||||||
|
loading="lazy"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="widger-comment-name">黯然gg</div>
|
||||||
|
</div>
|
||||||
|
<div class="widger-comment-time">
|
||||||
|
<span> 7月17日 </span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="widger-comment-excerpt">
|
||||||
|
<p>
|
||||||
|
哈哈我换你这个主题了,现在在友链首页了,大佬来个友链(我是不会告你我从十一点多搞到现在的)
|
||||||
|
博客名称:阿...
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<p class="widger-comment-postlink">
|
||||||
|
评论于
|
||||||
|
<a href="applylink.html" target="_blank">
|
||||||
|
申请友情链接
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<div class="widger-comment-plane">
|
||||||
|
<div class="widger-comment-info">
|
||||||
|
<div class="widger-comment-user">
|
||||||
|
<div class="widger-avatar">
|
||||||
|
<img
|
||||||
|
alt="黑域博客"
|
||||||
|
src="avatar/a19c6a43816e575771df29bc689efa17.jpg"
|
||||||
|
srcset="
|
||||||
|
https://sdn.geekzu.org/avatar/a19c6a43816e575771df29bc689efa17?s=60&d=mm&r=g 2x
|
||||||
|
"
|
||||||
|
class="avatar avatar-30 photo"
|
||||||
|
height="30"
|
||||||
|
width="30"
|
||||||
|
loading="lazy"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="widger-comment-name">黑域博客</div>
|
||||||
|
</div>
|
||||||
|
<div class="widger-comment-time">
|
||||||
|
<span> 7月16日 </span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="widger-comment-excerpt">
|
||||||
|
<p>哈哈,我什么时候能上优秀网站</p>
|
||||||
|
</div>
|
||||||
|
<p class="widger-comment-postlink">
|
||||||
|
评论于
|
||||||
|
<a href="corepresswzzs.html" target="_blank">
|
||||||
|
CorePress主题优秀网站展示
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<div class="widger-comment-plane">
|
||||||
|
<div class="widger-comment-info">
|
||||||
|
<div class="widger-comment-user">
|
||||||
|
<div class="widger-avatar">
|
||||||
|
<img
|
||||||
|
alt="黯然gg"
|
||||||
|
src="avatar/a817af1c94172733c4e559a236053976.jpg"
|
||||||
|
srcset="
|
||||||
|
https://sdn.geekzu.org/avatar/a817af1c94172733c4e559a236053976?s=60&d=mm&r=g 2x
|
||||||
|
"
|
||||||
|
class="avatar avatar-30 photo"
|
||||||
|
height="30"
|
||||||
|
width="30"
|
||||||
|
loading="lazy"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="widger-comment-name">黯然gg</div>
|
||||||
|
</div>
|
||||||
|
<div class="widger-comment-time">
|
||||||
|
<span> 7月16日 </span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="widger-comment-excerpt">
|
||||||
|
<p>
|
||||||
|
啊 必须要首页的嘛 我用的主题没有首页链接这个模块儿呀
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<p class="widger-comment-postlink">
|
||||||
|
评论于
|
||||||
|
<a href="applylink.html" target="_blank">
|
||||||
|
申请友情链接
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<div class="widger-comment-plane">
|
||||||
|
<div class="widger-comment-info">
|
||||||
|
<div class="widger-comment-user">
|
||||||
|
<div class="widger-avatar">
|
||||||
|
<img
|
||||||
|
alt="Xpower"
|
||||||
|
src="avatar/a19c6a43816e575771df29bc689efa17.jpg"
|
||||||
|
srcset="
|
||||||
|
https://sdn.geekzu.org/avatar/d88fa0e5183fc60bce09df183aa52f13?s=60&d=mm&r=g 2x
|
||||||
|
"
|
||||||
|
class="avatar avatar-30 photo"
|
||||||
|
height="30"
|
||||||
|
width="30"
|
||||||
|
loading="lazy"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="widger-comment-name">Xpower</div>
|
||||||
|
</div>
|
||||||
|
<div class="widger-comment-time">
|
||||||
|
<span> 7月16日 </span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="widger-comment-excerpt">
|
||||||
|
<p>这模板可以</p>
|
||||||
|
</div>
|
||||||
|
<p class="widger-comment-postlink">
|
||||||
|
评论于
|
||||||
|
<a href="shortcodeshow.html" target="_blank">
|
||||||
|
CorePress主题短代码演示
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<div class="widger-comment-plane">
|
||||||
|
<div class="widger-comment-info">
|
||||||
|
<div class="widger-comment-user">
|
||||||
|
<div class="widger-avatar">
|
||||||
|
<img
|
||||||
|
alt="雅魔窝"
|
||||||
|
src="avatar/a19c6a43816e575771df29bc689efa17.jpg"
|
||||||
|
srcset="
|
||||||
|
https://sdn.geekzu.org/avatar/6836e13db58b6cdca078095a09f95ac3?s=60&d=mm&r=g 2x
|
||||||
|
"
|
||||||
|
class="avatar avatar-30 photo"
|
||||||
|
height="30"
|
||||||
|
width="30"
|
||||||
|
loading="lazy"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="widger-comment-name">雅魔窝</div>
|
||||||
|
</div>
|
||||||
|
<div class="widger-comment-time">
|
||||||
|
<span> 7月16日 </span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="widger-comment-excerpt">
|
||||||
|
<p>
|
||||||
|
适合wp高手使用,如果用做新手小白,可能还需要写更傻瓜式的教程。
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<p class="widger-comment-postlink">
|
||||||
|
评论于
|
||||||
|
<a href="wordpresswwznltjzdyzd.html" target="_blank">
|
||||||
|
WordPress为文章目录添加自定义字段
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</div>
|
||||||
|
<div class="aside-box">
|
||||||
|
<h2 class="widget-title">免费简单好用的网站服务器运维面板</h2>
|
||||||
|
<a href="javascript:;">
|
||||||
|
<img width="300" height="191" src="/uploads/article/2021/03/bt面板-300x191.png"
|
||||||
|
class="image wp-image-559 attachment-medium size-medium" alt=""
|
||||||
|
loading="lazy" style="max-width: 100%; height: auto;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="aside-box">
|
||||||
|
<h2 class="widget-title">拥有一个自己的网站服务器</h2>
|
||||||
|
<a href="javascript:;">
|
||||||
|
<img width="300" height="164"
|
||||||
src="/uploads/article/2021/03/440-240_画板-1-300x164.jpg"
|
src="/uploads/article/2021/03/440-240_画板-1-300x164.jpg"
|
||||||
class="image wp-image-574 attachment-medium size-medium" alt=""
|
class="image wp-image-574 attachment-medium size-medium" alt=""
|
||||||
loading="lazy" style="max-width: 100%; height: auto;"></a></div>
|
loading="lazy" style="max-width: 100%; height: auto;">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue