diff --git a/index.html b/index.html index 01b054b..4d3145f 100644 --- a/index.html +++ b/index.html @@ -56,7 +56,7 @@ type: 'tpl', inline: false, className: 'w-full', - tpl: '
帮助手册
' + tpl: '
' }, // footer: '
底部区域
', // asideBefore: '
菜单前面区域
', diff --git a/pages/account-new.json b/pages/account-new.json index 57093c5..3a1f4d2 100644 --- a/pages/account-new.json +++ b/pages/account-new.json @@ -186,7 +186,7 @@ "affixFooter": true, "panelClassName": "Panel--default", "bodyClassName": "text-lg", - "redirect": "/crud/account/list?page=1", + "redirect": "/account/list?page=1", "api": { "url": "${ls:backend_url}/account/save", "method": "post", diff --git a/pages/crud-list.json b/pages/crud-list.json index 8dabe53..a250cd1 100644 --- a/pages/crud-list.json +++ b/pages/crud-list.json @@ -4,9 +4,14 @@ "body": [ { "type": "crud", - "api": "${ls:backend_url}/messageTemplate/list?page=1&perPage=10", + "api": "${ls:backend_url}/messageTemplate/list?page=${page}&perPage=${perPage}", "bodyClassName": "panel-default", + "syncLocation": false, "name": "sample", + "footerToolbar": [ + "switch-per-page", + "pagination" + ], "filter": { "title": "", "mode": "inline", diff --git a/pages/site.json b/pages/site.json index a5d46ea..49eb203 100644 --- a/pages/site.json +++ b/pages/site.json @@ -8,12 +8,27 @@ "url": "/", "redirect": "/crud/list" }, + { + "label": "用户登录", + "children": [ + { + "label": "用户登录", + "icon": "fa fa-cube", + "children": [ + { + "url": "/user/login", + "label": "用户登录", + "schemaApi": "get:/pages/user-login.json" + } + ] + } + ] + }, { "label": "模板管理", "children": [ { "label": "消息模板管理", - "url": "/crud", "icon": "fa fa-cube", "children": [ { @@ -45,7 +60,6 @@ "children": [ { "label": "全链路追踪", - "url": "/crud", "icon": "fa fa-cube", "children": [ { @@ -72,8 +86,6 @@ "children": [ { "label": "渠道物料管理", - "url": "/crud", - "icon": "fa fa-cube", "children": [ { @@ -90,7 +102,6 @@ "children": [ { "label": "渠道账号管理", - "url": "/crud", "icon": "fa fa-cube", "children": [ { diff --git a/pages/user-login.json b/pages/user-login.json new file mode 100644 index 0000000..9bf5888 --- /dev/null +++ b/pages/user-login.json @@ -0,0 +1,16 @@ +{ + "type": "page", + "body": { + "type": "form", + "mode": "normal", + "autoFocus": false, + "body": [ + { + "type": "service", + "schemaApi": "${ls:backend_url}/officialAccount/qrCode" + } + ], + "submitText": null, + "actions": [] + } +} \ No newline at end of file diff --git a/public/user_avatar.png b/public/user_avatar.png new file mode 100644 index 0000000..54aef78 Binary files /dev/null and b/public/user_avatar.png differ