diff --git a/application/admin/view/default/public/module/form.html b/application/admin/view/default/public/module/form.html
index aa6e50caf..947a61e28 100644
--- a/application/admin/view/default/public/module/form.html
+++ b/application/admin/view/default/public/module/form.html
@@ -458,7 +458,7 @@
}
}
{{/php}}
-
+
{{include file="public/footer" /}}
\ No newline at end of file
diff --git a/application/index/controller/Common.php b/application/index/controller/Common.php
index 23759c2db..185bf3569 100755
--- a/application/index/controller/Common.php
+++ b/application/index/controller/Common.php
@@ -295,6 +295,12 @@ class Common extends Controller
$this->assign('controller_name', $controller_name);
$this->assign('action_name', $action_name);
+ // 分页信息
+ $this->page = max(1, isset($this->data_request['page']) ? intval($this->data_request['page']) : 1);
+ $this->page_size = MyC('admin_page_number', 10, true);
+ $this->assign('page', $this->page);
+ $this->assign('page_size', $this->page_size);
+
// 控制器静态文件状态css,js
$module_css = $module_name.DS.$default_theme.DS.'css'.DS.$controller_name;
$module_css .= file_exists(ROOT_PATH.'static'.DS.$module_css.'.'.$action_name.'.css') ? '.'.$action_name.'.css' : '.css';
@@ -387,7 +393,9 @@ class Common extends Controller
if(!empty($data))
{
// 调用表格处理
- $ret = (new FormHandleModule())->Run($data['module'], $data['action'], $this->data_request);
+ $params = $this->data_request;
+ $params['system_user'] = $this->user;
+ $ret = (new FormHandleModule())->Run($data['module'], $data['action'], $params);
if($ret['code'] == 0)
{
$this->form_table = $ret['data']['table'];
diff --git a/application/index/controller/Message.php b/application/index/controller/Message.php
index d9d018c71..837b866c1 100755
--- a/application/index/controller/Message.php
+++ b/application/index/controller/Message.php
@@ -48,58 +48,68 @@ class Message extends Common
*/
public function Index()
{
- // 参数
- $params = input();
- $params['user'] = $this->user;
-
- // 消息更新未已读
- MessageService::MessageRead($params);
+ // 总数
+ $total = MessageService::MessageTotal($this->form_where);
// 分页
- $number = 10;
-
- // 条件
- $where = MessageService::MessageListWhere($params);
-
- // 获取总数
- $total = MessageService::MessageTotal($where);
-
- // 分页
- $page_params = array(
- 'number' => $number,
- 'total' => $total,
- 'where' => $params,
- 'page' => isset($params['page']) ? intval($params['page']) : 1,
- 'url' => MyUrl('index/message/index'),
- );
+ $page_params = [
+ 'number' => $this->page_size,
+ 'total' => $total,
+ 'where' => $this->data_request,
+ 'page' => $this->page,
+ 'url' => MyUrl('index/message/index'),
+ ];
$page = new \base\Page($page_params);
- $this->assign('page_html', $page->GetPageHtml());
// 获取列表
- $data_params = array(
- 'm' => $page->GetPageStarNumber(),
- 'n' => $number,
- 'where' => $where,
- );
- $data = MessageService::MessageList($data_params);
- $this->assign('data_list', $data['data']);
-
- // 业务类型
- $this->assign('common_business_type_list', lang('common_business_type_list'));
-
- // 消息类型
- $this->assign('common_message_type_list', lang('common_message_type_list'));
-
- // 是否已读
- $this->assign('common_is_read_list', lang('common_is_read_list'));
+ $data_params = [
+ 'where' => $this->form_where,
+ 'm' => $page->GetPageStarNumber(),
+ 'n' => $this->page_size,
+ ];
+ $ret = MessageService::MessageList($data_params);
// 浏览器名称
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('我的消息', 1));
- // 参数
- $this->assign('params', $params);
+ // 基础参数赋值
+ $this->assign('params', $this->data_request);
+ $this->assign('page_html', $page->GetPageHtml());
+ $this->assign('data_list', $ret['data']);
return $this->fetch();
}
+ /**
+ * 详情
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @date 2020-06-29
+ * @desc description
+ */
+ public function Detail()
+ {
+ if(!empty($this->data_request['id']))
+ {
+ // 条件
+ $where = [
+ ['id', '=', intval($this->data_request['id'])],
+ ];
+
+ // 获取列表
+ $data_params = [
+ 'm' => 0,
+ 'n' => 1,
+ 'where' => $where,
+ ];
+ $ret = MessageService::MessageList($data_params);
+ $data = (empty($ret['data']) || empty($ret['data'][0])) ? [] : $ret['data'][0];
+ $this->assign('data', $data);
+ }
+
+ $this->assign('is_header', 0);
+ $this->assign('is_footer', 0);
+ return $this->fetch();
+ }
}
?>
\ No newline at end of file
diff --git a/application/index/controller/Userintegral.php b/application/index/controller/Userintegral.php
index 1f31f5924..39c18cdca 100755
--- a/application/index/controller/Userintegral.php
+++ b/application/index/controller/Userintegral.php
@@ -48,49 +48,68 @@ class UserIntegral extends Common
*/
public function Index()
{
- // 参数
- $params = input();
- $params['user'] = $this->user;
+ // 总数
+ $total = IntegralService::IntegralLogTotal($this->form_where);
// 分页
- $number = 10;
-
- // 条件
- $where = IntegralService::UserIntegralLogListWhere($params);
-
- // 获取总数
- $total = IntegralService::IntegralLogTotal($where);
-
- // 分页
- $page_params = array(
- 'number' => $number,
- 'total' => $total,
- 'where' => $params,
- 'page' => isset($params['page']) ? intval($params['page']) : 1,
- 'url' => MyUrl('index/userintegral/index'),
- );
+ $page_params = [
+ 'number' => $this->page_size,
+ 'total' => $total,
+ 'where' => $this->data_request,
+ 'page' => $this->page,
+ 'url' => MyUrl('admin/userintegral/index'),
+ ];
$page = new \base\Page($page_params);
- $this->assign('page_html', $page->GetPageHtml());
// 获取列表
- $data_params = array(
- 'm' => $page->GetPageStarNumber(),
- 'n' => $number,
- 'where' => $where,
- );
- $data = IntegralService::IntegralLogList($data_params);
- $this->assign('data_list', $data['data']);
-
- // 操作类型
- $this->assign('common_integral_log_type_list', lang('common_integral_log_type_list'));
+ $data_params = [
+ 'where' => $this->form_where,
+ 'm' => $page->GetPageStarNumber(),
+ 'n' => $this->page_size,
+ ];
+ $ret = IntegralService::IntegralLogList($data_params);
// 浏览器名称
$this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('我的积分', 1));
- // 参数
- $this->assign('params', $params);
+ // 基础参数赋值
+ $this->assign('params', $this->data_request);
+ $this->assign('page_html', $page->GetPageHtml());
+ $this->assign('data_list', $ret['data']);
return $this->fetch();
}
+ /**
+ * 详情
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @date 2020-06-29
+ * @desc description
+ */
+ public function Detail()
+ {
+ if(!empty($this->data_request['id']))
+ {
+ // 条件
+ $where = [
+ ['id', '=', intval($this->data_request['id'])],
+ ];
+
+ // 获取列表
+ $data_params = [
+ 'm' => 0,
+ 'n' => 1,
+ 'where' => $where,
+ ];
+ $ret = IntegralService::IntegralLogList($data_params);
+ $data = (empty($ret['data']) || empty($ret['data'][0])) ? [] : $ret['data'][0];
+ $this->assign('data', $data);
+ }
+
+ $this->assign('is_header', 0);
+ $this->assign('is_footer', 0);
+ return $this->fetch();
+ }
}
?>
\ No newline at end of file
diff --git a/application/index/form/Message.php b/application/index/form/Message.php
new file mode 100644
index 000000000..1ad8df14f
--- /dev/null
+++ b/application/index/form/Message.php
@@ -0,0 +1,148 @@
+condition_base[] = ['user_id', '=', $params['system_user']['id']];
+ }
+ }
+
+ /**
+ * 入口
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @date 2020-06-29
+ * @desc description
+ * @param [array] $params [输入参数]
+ */
+ public function Run($params = [])
+ {
+ return [
+ // 基础配置
+ 'base' => [
+ 'key_field' => 'id',
+ 'is_search' => 1,
+ 'search_url' => MyUrl('index/message/index'),
+ ],
+ // 表单配置
+ 'form' => [
+ [
+ 'label' => '消息类型',
+ 'view_type' => 'field',
+ 'view_key' => 'type_text',
+ 'search_config' => [
+ 'form_type' => 'select',
+ 'form_name' => 'type',
+ 'where_type' => 'in',
+ 'data' => lang('common_message_type_list'),
+ 'data_key' => 'id',
+ 'data_name' => 'name',
+ 'is_multiple' => 1,
+ ],
+ ],
+ [
+ 'label' => '业务类型',
+ 'view_type' => 'field',
+ 'view_key' => 'business_type_text',
+ 'search_config' => [
+ 'form_type' => 'select',
+ 'form_name' => 'business_type',
+ 'where_type' => 'in',
+ 'data' => lang('common_business_type_list'),
+ 'data_key' => 'id',
+ 'data_name' => 'name',
+ 'is_multiple' => 1,
+ ],
+ ],
+ [
+ 'label' => '标题',
+ 'view_type' => 'field',
+ 'view_key' => 'title',
+ 'search_config' => [
+ 'form_type' => 'input',
+ 'where_type' => 'like',
+ ],
+ ],
+ [
+ 'label' => '详情',
+ 'view_type' => 'field',
+ 'view_key' => 'detail',
+ 'grid_size' => 'lg',
+ 'search_config' => [
+ 'form_type' => 'input',
+ 'where_type' => 'like',
+ ],
+ ],
+ [
+ 'label' => '状态',
+ 'view_type' => 'field',
+ 'view_key' => 'is_read_text',
+ 'search_config' => [
+ 'form_type' => 'select',
+ 'form_name' => 'is_read',
+ 'where_type' => 'in',
+ 'data' => lang('common_is_read_list'),
+ 'data_key' => 'id',
+ 'data_name' => 'name',
+ 'is_multiple' => 1,
+ ],
+ ],
+ [
+ 'label' => '时间',
+ 'view_type' => 'field',
+ 'view_key' => 'add_time_time',
+ 'search_config' => [
+ 'form_type' => 'datetime',
+ 'form_name' => 'add_time',
+ ],
+ ],
+ [
+ 'label' => '操作',
+ 'view_type' => 'operate',
+ 'view_key' => 'message/module/operate',
+ 'align' => 'center',
+ 'fixed' => 'right',
+ ],
+ ],
+ ];
+ }
+}
+?>
\ No newline at end of file
diff --git a/application/index/form/Userintegral.php b/application/index/form/Userintegral.php
new file mode 100644
index 000000000..82e6403b4
--- /dev/null
+++ b/application/index/form/Userintegral.php
@@ -0,0 +1,133 @@
+condition_base[] = ['user_id', '=', $params['system_user']['id']];
+ }
+ }
+
+ /**
+ * 入口
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @date 2020-06-28
+ * @desc description
+ * @param [array] $params [输入参数]
+ */
+ public function Run($params = [])
+ {
+ return [
+ // 基础配置
+ 'base' => [
+ 'key_field' => 'id',
+ 'is_search' => 1,
+ 'search_url' => MyUrl('index/userintegral/index'),
+ ],
+ // 表单配置
+ 'form' => [
+ [
+ 'label' => '操作类型',
+ 'view_type' => 'field',
+ 'view_key' => 'type_text',
+ 'search_config' => [
+ 'form_type' => 'select',
+ 'form_name' => 'type',
+ 'where_type' => 'in',
+ 'data' => lang('common_integral_log_type_list'),
+ 'data_key' => 'id',
+ 'data_name' => 'name',
+ 'is_multiple' => 1,
+ ],
+ ],
+ [
+ 'label' => '操作积分',
+ 'view_type' => 'field',
+ 'view_key' => 'operation_integral',
+ 'search_config' => [
+ 'form_type' => 'section',
+ ],
+ ],
+ [
+ 'label' => '原始积分',
+ 'view_type' => 'field',
+ 'view_key' => 'original_integral',
+ 'search_config' => [
+ 'form_type' => 'section',
+ ],
+ ],
+ [
+ 'label' => '最新积分',
+ 'view_type' => 'field',
+ 'view_key' => 'new_integral',
+ 'search_config' => [
+ 'form_type' => 'section',
+ ],
+ ],
+ [
+ 'label' => '描述',
+ 'view_type' => 'field',
+ 'view_key' => 'msg',
+ 'grid_size' => 'sm',
+ 'search_config' => [
+ 'form_type' => 'input',
+ 'where_type' => 'like',
+ ],
+ ],
+ [
+ 'label' => '时间',
+ 'view_type' => 'field',
+ 'view_key' => 'add_time_time',
+ 'search_config' => [
+ 'form_type' => 'datetime',
+ 'form_name' => 'add_time',
+ ],
+ ],
+ [
+ 'label' => '操作',
+ 'view_type' => 'operate',
+ 'view_key' => 'userintegral/module/operate',
+ 'align' => 'center',
+ 'fixed' => 'right',
+ ],
+ ],
+ ];
+ }
+}
+?>
\ No newline at end of file
diff --git a/application/index/view/default/message/detail.html b/application/index/view/default/message/detail.html
new file mode 100644
index 000000000..06eeee457
--- /dev/null
+++ b/application/index/view/default/message/detail.html
@@ -0,0 +1,2 @@
+
+{{extend name="public/module/detail" /}}
\ No newline at end of file
diff --git a/application/index/view/default/message/index.html b/application/index/view/default/message/index.html
index a21560603..907d6eab9 100755
--- a/application/index/view/default/message/index.html
+++ b/application/index/view/default/message/index.html
@@ -1,170 +1,2 @@
-{{include file="public/header" /}}
-
-
-{{include file="public/header_top_nav" /}}
-
-
-{{include file="public/nav_search" /}}
-
-
-{{include file="public/header_nav" /}}
-
-
-{{include file="public/goods_category" /}}
-
-
-
-
-
- {{include file="public/user_menu" /}}
-
-
-
-
-
-
-
-
-
-
-
-
- | 标题 |
- 类型 |
- 业务 |
- 详情 |
- 状态 |
- 时间 |
- 更多 |
-
-
-
- {{if !empty($data_list)}}
- {{foreach $data_list as $v}}
-
- | {{$v.title}} |
- {{$v.type_text}} |
- {{$v.business_type_text}} |
- {{$v.detail}} |
- {{$v.is_read_text}} |
- {{$v.add_time_time}} |
-
- 查看更多
-
- |
-
- {{/foreach}}
- {{/if}}
-
-
-
- {{if empty($data_list)}}
-
没有相关数据
- {{/if}}
-
-
-
- {{if !empty($data_list)}}
- {{$page_html|raw}}
- {{/if}}
-
-
-
-
-
-
-{{include file="public/footer" /}}
-
\ No newline at end of file
+
+{{extend name="public/module/form" /}}
\ No newline at end of file
diff --git a/application/index/view/default/message/module/operate.html b/application/index/view/default/message/module/operate.html
new file mode 100644
index 000000000..b4891af34
--- /dev/null
+++ b/application/index/view/default/message/module/operate.html
@@ -0,0 +1,5 @@
+
+
\ No newline at end of file
diff --git a/application/index/view/default/public/module/detail.html b/application/index/view/default/public/module/detail.html
new file mode 100644
index 000000000..319488683
--- /dev/null
+++ b/application/index/view/default/public/module/detail.html
@@ -0,0 +1,164 @@
+{{include file="public/header" /}}
+
+
+{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
+
+ {{$hook_name_detail_top}}
+
+{{/if}}
+{{php}}
+ $hook_data = Hook::listen($hook_name_detail_top, ['hook_name'=>$hook_name_detail_top, 'is_backend'=>true]);
+ if(!empty($hook_data) && is_array($hook_data))
+ {
+ foreach($hook_data as $hook)
+ {
+ if(is_string($hook) || is_int($hook))
+ {
+ echo htmlspecialchars_decode($hook);
+ }
+ }
+ }
+{{/php}}
+
+
+
+
+ {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
+
+ {{$hook_name_detail_inside_top}}
+
+ {{/if}}
+ {{php}}
+ $hook_data = Hook::listen($hook_name_detail_inside_top, ['hook_name'=>$hook_name_detail_inside_top, 'is_backend'=>true]);
+ if(!empty($hook_data) && is_array($hook_data))
+ {
+ foreach($hook_data as $hook)
+ {
+ if(is_string($hook) || is_int($hook))
+ {
+ echo htmlspecialchars_decode($hook);
+ }
+ }
+ }
+ {{/php}}
+
+
+ {{if !empty($data)}}
+ {{block name="detail_data"}}
+ {{if !empty($form_table) and !empty($form_table['form']) and is_array($form_table['form'])}}
+ {{if !empty($form_table['base']) and !empty($form_table['base']['detail_title'])}}
+
+
{{$form_table.base.detail_title}}
+
+ {{/if}}
+
+ {{foreach $form_table.form as $t}}
+ {{if isset($t['label']) and isset($t['view_type']) and in_array($t['view_type'], ['field', 'module', 'status']) and (!isset($t['is_detail']) or $t['is_detail'] eq 1)}}
+ - {{$t.label}}
+ -
+ {{switch $t.view_type}}
+ {{case field}}
+
+ {{if is_array($t['view_key'])}}
+ {{foreach $t['view_key'] as $fk=>$fv}}
+ {{if isset($data[$fv])}}
+ {{$data[$fv]}}
+
+ {{if isset($t['view_key_join']) and $fk lt count($t['view_key'])-1}}
+ {{$t.view_key_join|raw}}
+ {{/if}}
+ {{/if}}
+ {{/foreach}}
+ {{else /}}
+
+ {{if isset($data[$t['view_key']])}}
+
+ {{if !empty($t['view_data']) and is_array($t['view_data']) and isset($t['view_data'][$data[$t['view_key']]])}}
+ {{$t['view_data'][$data[$t['view_key']]]}}
+
+
+ {{else /}}
+ {{$data[$t['view_key']]|raw}}
+ {{/if}}
+ {{/if}}
+ {{/if}}
+ {{/case}}
+ {{case module}}
+
+ {{:ModuleInclude($t['view_key'], $data, ['form_request_type'=>'detail'])}}
+ {{/case}}
+ {{case status}}
+
+ {{if !empty($t['key_field']) and !empty($t['post_url'])}}
+
+ {{/if}}
+ {{/case}}
+ {{/switch}}
+
+ {{/if}}
+ {{/foreach}}
+
+ {{if !empty($form_table['base']) and !empty($form_table['base']['detail_title'])}}
+
+
+ {{/if}}
+ {{/if}}
+ {{/block}}
+ {{else /}}
+ {{block name="detail_not_data"}}
+
没有相关数据
+ {{/block}}
+ {{/if}}
+
+
+ {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
+
+ {{$hook_name_detail_inside_bottom}}
+
+ {{/if}}
+ {{php}}
+ $hook_data = Hook::listen($hook_name_detail_inside_bottom, ['hook_name'=>$hook_name_detail_inside_bottom, 'is_backend'=>true]);
+ if(!empty($hook_data) && is_array($hook_data))
+ {
+ foreach($hook_data as $hook)
+ {
+ if(is_string($hook) || is_int($hook))
+ {
+ echo htmlspecialchars_decode($hook);
+ }
+ }
+ }
+ {{/php}}
+
+
+
+
+{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
+
+ {{$hook_name_detail_bottom}}
+
+{{/if}}
+{{php}}
+ $hook_data = Hook::listen($hook_name_detail_bottom, ['hook_name'=>$hook_name_detail_bottom, 'is_backend'=>true]);
+ if(!empty($hook_data) && is_array($hook_data))
+ {
+ foreach($hook_data as $hook)
+ {
+ if(is_string($hook) || is_int($hook))
+ {
+ echo htmlspecialchars_decode($hook);
+ }
+ }
+ }
+{{/php}}
+
+
+{{include file="public/footer" /}}
+
\ No newline at end of file
diff --git a/application/index/view/default/public/module/form.html b/application/index/view/default/public/module/form.html
new file mode 100644
index 000000000..97dee98f7
--- /dev/null
+++ b/application/index/view/default/public/module/form.html
@@ -0,0 +1,488 @@
+{{include file="public/header" /}}
+
+
+{{include file="public/header_top_nav" /}}
+
+
+{{include file="public/nav_search" /}}
+
+
+{{include file="public/header_nav" /}}
+
+
+{{include file="public/goods_category" /}}
+
+
+
+
+
+ {{include file="public/user_menu" /}}
+
+
+
+
+
+
+ {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
+
+ {{$hook_name_content_top}}
+
+ {{/if}}
+ {{php}}
+ $hook_data = Hook::listen($hook_name_content_top, ['hook_name'=>$hook_name_content_top, 'is_backend'=>true]);
+ if(!empty($hook_data) && is_array($hook_data))
+ {
+ foreach($hook_data as $hook)
+ {
+ if(is_string($hook) || is_int($hook))
+ {
+ echo htmlspecialchars_decode($hook);
+ }
+ }
+ }
+ {{/php}}
+
+
+
+
+ {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
+
+ {{$hook_name_content_inside_top}}
+
+ {{/if}}
+ {{php}}
+ $hook_data = Hook::listen($hook_name_content_inside_top, ['hook_name'=>$hook_name_content_inside_top, 'is_backend'=>true]);
+ if(!empty($hook_data) && is_array($hook_data))
+ {
+ foreach($hook_data as $hook)
+ {
+ if(is_string($hook) || is_int($hook))
+ {
+ echo htmlspecialchars_decode($hook);
+ }
+ }
+ }
+ {{/php}}
+
+
+ {{if !empty($form_table) and !empty($form_table['base']) and !empty($form_table['form']) and is_array($form_table['base']) and is_array($form_table['form'])}}
+
+ {{else /}}
+
{{if empty($form_error)}}动态表格配置有误{{else /}}{{$form_error}}{{/if}}
+ {{/if}}
+
+
+ {{block name="form_page"}}
+ {{if !empty($data_list) and isset($page_html)}}
+ {{$page_html|raw}}
+ {{/if}}
+ {{/block}}
+
+
+
+ {{block name="form_extend"}}{{/block}}
+
+
+
+ {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
+
+ {{$hook_name_content_inside_bottom}}
+
+ {{/if}}
+ {{php}}
+ $hook_data = Hook::listen($hook_name_content_inside_bottom, ['hook_name'=>$hook_name_content_inside_bottom, 'is_backend'=>true]);
+ if(!empty($hook_data) && is_array($hook_data))
+ {
+ foreach($hook_data as $hook)
+ {
+ if(is_string($hook) || is_int($hook))
+ {
+ echo htmlspecialchars_decode($hook);
+ }
+ }
+ }
+ {{/php}}
+
+
+
+
+ {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
+
+ {{$hook_name_content_bottom}}
+
+ {{/if}}
+ {{php}}
+ $hook_data = Hook::listen($hook_name_content_bottom, ['hook_name'=>$hook_name_content_bottom, 'is_backend'=>true]);
+ if(!empty($hook_data) && is_array($hook_data))
+ {
+ foreach($hook_data as $hook)
+ {
+ if(is_string($hook) || is_int($hook))
+ {
+ echo htmlspecialchars_decode($hook);
+ }
+ }
+ }
+ {{/php}}
+
+
+
+
+
+
+{{include file="public/footer" /}}
+
\ No newline at end of file
diff --git a/application/index/view/default/userintegral/detail.html b/application/index/view/default/userintegral/detail.html
new file mode 100644
index 000000000..06eeee457
--- /dev/null
+++ b/application/index/view/default/userintegral/detail.html
@@ -0,0 +1,2 @@
+
+{{extend name="public/module/detail" /}}
\ No newline at end of file
diff --git a/application/index/view/default/userintegral/index.html b/application/index/view/default/userintegral/index.html
index 32e4523f5..c788f7b1b 100755
--- a/application/index/view/default/userintegral/index.html
+++ b/application/index/view/default/userintegral/index.html
@@ -1,156 +1,20 @@
-{{include file="public/header" /}}
+
+{{extend name="public/module/form" /}}
-
-{{include file="public/header_top_nav" /}}
-
-
-{{include file="public/nav_search" /}}
-
-
-{{include file="public/header_nav" /}}
-
-
-{{include file="public/goods_category" /}}
-
-
-
-
-
- {{include file="public/user_menu" /}}
-
-
-
-
-
-
-
- 正常可用
- {{$user.integral}}
- 积分
- 可以正常使用的积分
-
-
- 当前锁定
- {{$user.locking_integral}}
- 积分
- 一般积分交易中,交易并未完成、锁定相应的积分
-
-
-
-
-
-
-
-
-
-
- | 操作类型 |
- 描述 |
- 原始积分 |
- 最新积分 |
- 时间 |
- 更多 |
-
-
-
- {{if !empty($data_list)}}
- {{foreach $data_list as $v}}
-
- | {{$v.type_text}} |
- {{$v.msg}} |
- {{$v.original_integral}} |
- {{$v.new_integral}} |
- {{$v.add_time_time}} |
-
- 查看更多
-
- |
-
- {{/foreach}}
- {{/if}}
-
-
-
- {{if empty($data_list)}}
-
没有相关数据
- {{/if}}
-
-
-
- {{if !empty($data_list)}}
- {{$page_html|raw}}
- {{/if}}
+
+{{block name="form_navigation"}}
+
+
+ 正常可用
+ {{$user.integral}}
+ 积分
+ 可以正常使用的积分
+
+
+ 当前锁定
+ {{$user.locking_integral}}
+ 积分
+ 一般积分交易中,交易并未完成、锁定相应的积分
-
-
-
-
-{{include file="public/footer" /}}
-
\ No newline at end of file
+{{/block}}
\ No newline at end of file
diff --git a/application/index/view/default/userintegral/module/operate.html b/application/index/view/default/userintegral/module/operate.html
new file mode 100644
index 000000000..a7e314c86
--- /dev/null
+++ b/application/index/view/default/userintegral/module/operate.html
@@ -0,0 +1,5 @@
+
+
\ No newline at end of file
diff --git a/application/module/FormHandleModule.php b/application/module/FormHandleModule.php
index 4db28db29..4cd724a6b 100644
--- a/application/module/FormHandleModule.php
+++ b/application/module/FormHandleModule.php
@@ -57,7 +57,7 @@ class FormHandleModule
}
// 指定方法检测
- $this->module_obj = new $module();
+ $this->module_obj = new $module($this->out_params);
if(!method_exists($this->module_obj, $action))
{
// 默认方法检测
diff --git a/changelog.txt b/changelog.txt
index 5d0c9566d..0a78987ab 100755
--- a/changelog.txt
+++ b/changelog.txt
@@ -5,6 +5,7 @@
1. 所有条件、列表、新增、编辑、删除 新增钩子(公共 form 表单封装)
2. 积分支持按照订单商品总额比例发放,发生售后收回积分
3. 微信小程序好物推荐和直播组件支持配置组件版本号
+ 4. 后台管理登录页面新增随机背景
web端
diff --git a/public/appmini/old/baidu/project.swan.json b/public/appmini/old/baidu/project.swan.json
deleted file mode 100644
index 134ba24f6..000000000
--- a/public/appmini/old/baidu/project.swan.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "appid": "16634987",
- "developType": "normal",
- "host": "baiduboxapp",
- "preview": {
- "packageId": 347753
- },
- "setting": {
- "urlCheck": false
- },
- "swan": {
- "baiduboxapp": {
- "extensionJsVersion": "1.5.3",
- "swanJsVersion": "3.105.9"
- }
- }
-}
\ No newline at end of file
diff --git a/public/appmini/old/qq/project.config.json b/public/appmini/old/qq/project.config.json
deleted file mode 100644
index 1fed3b086..000000000
--- a/public/appmini/old/qq/project.config.json
+++ /dev/null
@@ -1,49 +0,0 @@
-{
- "projectid": "1109990622_test",
- "setting": {
- "urlCheck": false,
- "es6": true,
- "postcss": true,
- "minified": true,
- "newFeature": true,
- "autoAudits": false,
- "remoteDebugLogEnable": false,
- "uploadWithSourceMap": true,
- "nodeModules": true,
- "uglifyFileName": true
- },
- "compileType": "miniprogram",
- "createTime": 1572536544924,
- "accessTime": 1572536544924,
- "packOptions": {
- "ignore": []
- },
- "debugOptions": {
- "hidedInDevtools": []
- },
- "qqappid": "1109990622",
- "projectname": "test",
- "scripts": {
- "beforeCompile": "",
- "beforePreview": "",
- "beforeUpload": ""
- },
- "condition": {
- "search": {
- "current": -1,
- "list": []
- },
- "conversation": {
- "current": -1,
- "list": []
- },
- "game": {
- "currentL": -1,
- "list": []
- },
- "miniprogram": {
- "current": -1,
- "list": []
- }
- }
-}
\ No newline at end of file
diff --git a/public/appmini/old/toutiao/project.config.json b/public/appmini/old/toutiao/project.config.json
deleted file mode 100644
index 9de79f589..000000000
--- a/public/appmini/old/toutiao/project.config.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "setting": {
- "urlCheck": false,
- "es6": true,
- "postcss": true,
- "minified": true,
- "newFeature": true
- },
- "appid": "tt65341389fa1e87f3",
- "projectname": "gongfuxiang的小程序"
-}
\ No newline at end of file
diff --git a/public/appmini/old/weixin/project.config.json b/public/appmini/old/weixin/project.config.json
deleted file mode 100755
index 1a8fcccb3..000000000
--- a/public/appmini/old/weixin/project.config.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "description": "项目配置文件",
- "packOptions": {
- "ignore": []
- },
- "setting": {
- "urlCheck": false,
- "es6": true,
- "postcss": true,
- "minified": true,
- "newFeature": true,
- "autoAudits": false
- },
- "compileType": "miniprogram",
- "libVersion": "2.4.3",
- "appid": "wx0a2012ebad94beff",
- "projectname": "shopxo",
- "debugOptions": {
- "hidedInDevtools": []
- },
- "scripts": {},
- "simulatorType": "wechat",
- "simulatorPluginLibVersion": {},
- "condition": {
- "search": {
- "current": -1,
- "list": []
- },
- "conversation": {
- "current": -1,
- "list": []
- },
- "plugin": {
- "current": -1,
- "list": []
- },
- "game": {
- "list": []
- },
- "miniprogram": {
- "current": 0,
- "list": [
- {
- "id": 0,
- "name": "goods详情",
- "pathName": "pages/goods-detail/goods-detail",
- "query": "goods_id=7&referrer=100",
- "scene": 1001
- }
- ]
- }
- }
-}
\ No newline at end of file
diff --git a/public/static/admin/default/css/admin.css b/public/static/admin/default/css/admin.css
index 86b0a05b7..819e3169c 100755
--- a/public/static/admin/default/css/admin.css
+++ b/public/static/admin/default/css/admin.css
@@ -1,10 +1,33 @@
/**
- * 登录
+ * 登录页面背景图片
+ */
+.bg-slides {
+ position: absolute;
+ width: 100vw;
+ height: 100vh;
+ overflow: hidden;
+}
+.bg-slides-item {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ background: no-repeat 50% 50%;
+ background-size: cover;
+}
+
+
+/**
+ * 登录页面
*/
.account-pages {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ -webkit-transform: translate3d(-50%, -50%, 0);
+ transform: translate3d(-50%, -50%, 0);
+ z-index: 99;
height: 100%;
width: 100%;
- background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAB/lBMVEV9fX2EhISAgIB/f396enp4eHh+fn55eXmDg4OBgYGIiIh8fHx1dXWCgoJ3d3eFhYV7e3uGhoZ0dHR2dnaJiYmLi4uHh4dsbGyMjIxycnKNjY1vb2+Kiopzc3OOjo5wcHCPj49tbW1xcXGUlJRubm5paWmQkJBra2uTk5OSkpJbW1uRkZFmZmZZWVmVlZVdXV1qamqXl5c2NjaZmZlWVlY+Pj5oaGiYmJhXV1dPT09nZ2dYWFhiYmJUVFSWlpZMTEyamppjY2M6OjpDQ0NmZmZKSko4ODhAQEBVVVVCQkI9PT1lZWVkZGRiYmJaWlphYWFFRUVlZWVeXl5SUlJgYGBgYGCfn59hYWGbm5tBQUFRUVFHR0dnZ2dkZGQ8PDxfX1+cnJxqampKSkpJSUleXl5oaGhfX19dXV1sbGxQUFBTU1NLS0tjY2M7OztHR0czMzNERESdnZ1cXFyenp6ioqI0NDSgoKA5OTlpaWlOTk5MTExYWFhISEhGRkZFRUU3NzdcXFyhoaF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2h4+/NfNFzZD3VqVDMERViO9RxsVqqLYPJHoHp6YwyyKmtSNZUqpV5LbyZN8FGDcj8Hk0nwK89janceYtmh4Z/nr8AiC1siJ4QBcjIYQtzx74/jF11cQDtTgjL0fn/B3nx6a7PXIC/AAAAAElFTkSuQmCC) left top #f5f5f5;
padding-top: 5%;
}
@media only screen and (max-width: 641px) {
@@ -22,33 +45,29 @@
position: relative;
width: 420px;
}
-@media (max-width: 768px){
-.wrapper-page {
- width: 90%;
+@media (max-width: 768px) {
+ .wrapper-page {
+ width: 80%;
+ }
}
-}
-.text-center {
- text-align: center;
-}
-.wrapper-page .logo {
- font-size: 42px;
+.admin-login {
+ padding: 20px;
+ box-shadow: 0 0px 8px 0 rgba(0,0,0,0.06),0 1px 0px 0 rgba(0,0,0,0.02);
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ -moz-border-radius: 5px;
+ background-clip: padding-box;
+ margin-bottom: 20px;
+ background: rgba(255,255,255,.85);
}
.logo {
- color: #188ae2 !important;
- font-size: 32px;
- font-family: 'Rancho', cursive;
- text-decoration: none;
+ font-size: 60px;
+ font-weight: 500;
+ color: #0e90d2;
+ text-shadow: -2px 1px #fff;
}
-.panel-body {
- padding: 15px;
-}
-
@media only screen and (min-width: 641px) {
- .admin-login .am-form-group { padding: 0 !important; }
-}
-
-
-/**
- * 管理员列表
- */
-.admin-list select, .admin-list input { width: 36% !important; display: initial !important; }
\ No newline at end of file
+ .admin-login .am-form-group {
+ padding: 0 !important;
+ }
+}
\ No newline at end of file
diff --git a/public/static/admin/default/css/common.css b/public/static/admin/default/css/common.css
index 46c8991e9..34dac2fd0 100755
--- a/public/static/admin/default/css/common.css
+++ b/public/static/admin/default/css/common.css
@@ -187,9 +187,6 @@ a:focus {outline:0;text-decoration:none;}
/* ============= Extras============= *//* Table type box */
.table-box {display:table;height:100%;width:100%;}
.table-box .table-detail {display:table-cell;vertical-align:middle;}
-/* Card Box */
-.card-box {padding:20px;box-shadow:0 0px 8px 0 rgba(0,0,0,0.06),0 1px 0px 0 rgba(0,0,0,0.02);-webkit-border-radius:5px;border-radius:5px;-moz-border-radius:5px;background-clip:padding-box;margin-bottom:20px;background-color:#ffffff;}
-.card-box .card-drop {color:#98a6ad;font-size:20px;line-height:1px;padding:0px 5px;display:inline-block;}
/* Grid page */
.grid-structure .grid-container {background-color:#f4f8fb;margin-bottom:10px;padding:10px 20px;}
/* Demo only */
diff --git a/public/static/admin/default/images/login/1.jpg b/public/static/admin/default/images/login/1.jpg
new file mode 100644
index 000000000..aed973962
Binary files /dev/null and b/public/static/admin/default/images/login/1.jpg differ
diff --git a/public/static/admin/default/images/login/10.jpg b/public/static/admin/default/images/login/10.jpg
new file mode 100644
index 000000000..fcb746c89
Binary files /dev/null and b/public/static/admin/default/images/login/10.jpg differ
diff --git a/public/static/admin/default/images/login/2.jpg b/public/static/admin/default/images/login/2.jpg
new file mode 100644
index 000000000..b1d1758de
Binary files /dev/null and b/public/static/admin/default/images/login/2.jpg differ
diff --git a/public/static/admin/default/images/login/3.jpg b/public/static/admin/default/images/login/3.jpg
new file mode 100644
index 000000000..8cfd65709
Binary files /dev/null and b/public/static/admin/default/images/login/3.jpg differ
diff --git a/public/static/admin/default/images/login/4.jpg b/public/static/admin/default/images/login/4.jpg
new file mode 100644
index 000000000..a7900c1b4
Binary files /dev/null and b/public/static/admin/default/images/login/4.jpg differ
diff --git a/public/static/admin/default/images/login/5.jpg b/public/static/admin/default/images/login/5.jpg
new file mode 100644
index 000000000..56e92ef17
Binary files /dev/null and b/public/static/admin/default/images/login/5.jpg differ
diff --git a/public/static/admin/default/images/login/6.jpg b/public/static/admin/default/images/login/6.jpg
new file mode 100644
index 000000000..2174650fe
Binary files /dev/null and b/public/static/admin/default/images/login/6.jpg differ
diff --git a/public/static/admin/default/images/login/7.jpg b/public/static/admin/default/images/login/7.jpg
new file mode 100644
index 000000000..dd0b6d0bb
Binary files /dev/null and b/public/static/admin/default/images/login/7.jpg differ
diff --git a/public/static/admin/default/images/login/8.jpg b/public/static/admin/default/images/login/8.jpg
new file mode 100644
index 000000000..0f6d003b0
Binary files /dev/null and b/public/static/admin/default/images/login/8.jpg differ
diff --git a/public/static/admin/default/images/login/9.jpg b/public/static/admin/default/images/login/9.jpg
new file mode 100644
index 000000000..53d0aa757
Binary files /dev/null and b/public/static/admin/default/images/login/9.jpg differ
diff --git a/public/static/admin/default/js/admin.js b/public/static/admin/default/js/admin.js
new file mode 100644
index 000000000..abf9cdef3
--- /dev/null
+++ b/public/static/admin/default/js/admin.js
@@ -0,0 +1,23 @@
+$(function()
+{
+ // 登录页面背景切换
+ var count = $('.bg-slides-item').length;
+ if(count > 0)
+ {
+ var temp_old = 0;
+ var temp_new = 1;
+ var fade_time = 1000;
+ var interval_time = 6000;
+ setInterval(function()
+ {
+ $('.bg-slides-item').eq(temp_old).fadeOut(fade_time);
+ $('.bg-slides-item').eq(temp_new).fadeIn(fade_time);
+ temp_old = temp_new;
+ temp_new++;
+ if(temp_new > count-1)
+ {
+ temp_new = 0;
+ }
+ }, interval_time);
+ }
+});
\ No newline at end of file
diff --git a/public/static/common/js/common.js b/public/static/common/js/common.js
index 1ee01a497..bdf061033 100755
--- a/public/static/common/js/common.js
+++ b/public/static/common/js/common.js
@@ -1628,8 +1628,7 @@ function TableContainerInit()
if(right == undefined)
{
var left = $(this).offset().left;
- var width = $(this).width();
- var right = parent_width-left-width-parent_left-4;
+ right = parent_width-left-width+parent_left;
if(right < 0)
{
right = 0;
diff --git a/public/static/index/default/css/common.css b/public/static/index/default/css/common.css
index 0577bb4a5..b2528061f 100755
--- a/public/static/index/default/css/common.css
+++ b/public/static/index/default/css/common.css
@@ -22,8 +22,8 @@ button { outline: none; }
*, body, .am-btn { font-size: 12px; }
-.am-form select, .am-form textarea, .am-form input[type="text"], .am-form input[type="password"], .am-form input[type="datetime"], .am-form input[type="datetime-local"], .am-form input[type="date"], .am-form input[type="month"], .am-form input[type="time"], .am-form input[type="week"], .am-form input[type="number"], .am-form input[type="email"], .am-form input[type="url"], .am-form input[type="search"], .am-form input[type="tel"], .am-form input[type="color"], .am-form-field {
- font-size: 12px;
+.am-form select,.am-form textarea,.am-form input[type="text"],.am-form input[type="password"],.am-form input[type="datetime"],.am-form input[type="datetime-local"],.am-form input[type="date"],.am-form input[type="month"],.am-form input[type="time"],.am-form input[type="week"],.am-form input[type="number"],.am-form input[type="email"],.am-form input[type="url"],.am-form input[type="search"],.am-form input[type="tel"],.am-form input[type="color"],.am-form-field {
+ font-size: 12px !important;
}
.am-input-group-sm > .am-input-group-btn > .am-btn,
.am-input-group-sm > .am-form-field,
@@ -793,7 +793,7 @@ img.common-user-icon {
/**
* 用户中心左侧菜单
*/
-.user-menu {position:fixed;z-index:10;bottom:70px;right:10px;}
+.user-menu {position:fixed;z-index:1020;bottom:70px;right:10px; -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);}
.user-sidebar {width:145px;min-height:100%;float:left;}
.user-sidebar .am-active {z-index:1600;}
.user-sidebar .am-active a, .user-sidebar-list li a:hover {background:#fff1f5; text-decoration: none; color: #d2364c; }