impr:user.html article.html

master
bobi 2019-08-30 09:17:41 +08:00
parent 01037b76a0
commit c335bf1957
5 changed files with 16 additions and 13 deletions

View File

@ -121,43 +121,43 @@
"children": [ "children": [
{ {
"title": "文章列表", "title": "文章列表",
"href": "pages/article/article.html", "href": "pages/often/article.html",
"icon": "", "icon": "",
"spread": false "spread": false
}, },
{ {
"title": "留言列表", "title": "留言列表",
"href": "pages/article/article.html", "href": "pages/often/article.html",
"icon": "", "icon": "",
"spread": false "spread": false
}, },
{ {
"title": "产品列表", "title": "产品列表",
"href": "pages/article/article.html", "href": "pages/often/article.html",
"icon": "", "icon": "",
"spread": false "spread": false
}, },
{ {
"title": "下载列表", "title": "下载列表",
"href": "pages/article/article.html", "href": "pages/often/article.html",
"icon": "", "icon": "",
"spread": false "spread": false
}, },
{ {
"title": "链接列表", "title": "链接列表",
"href": "pages/article/article.html", "href": "pages/often/article.html",
"icon": "", "icon": "",
"spread": false "spread": false
}, },
{ {
"title": "任务列表", "title": "任务列表",
"href": "pages/article/article.html", "href": "pages/often/article.html",
"icon": "", "icon": "",
"spread": false "spread": false
}, },
{ {
"title": "图片列表", "title": "图片列表",
"href": "pages/article/article.html", "href": "pages/often/article.html",
"icon": "", "icon": "",
"spread": false "spread": false
} }

View File

@ -58,7 +58,7 @@
size: "sm", size: "sm",
cols: [[ cols: [[
{type: "checkbox", fixed: "left"}, {type: "checkbox", fixed: "left"},
{field: "id", title: "ID", width: 160, sort: true}, {field: "guid", title: "GUID", width: 280, sort: true},
{field: "username", title: "账号", width: 100}, {field: "username", title: "账号", width: 100},
{field: "password", title: "密码", width: 100}, {field: "password", title: "密码", width: 100},
{field: "reallyName", title: "姓名", width: 100}, {field: "reallyName", title: "姓名", width: 100},
@ -66,9 +66,12 @@
{field: "role", title: "角色", width: 100, templet: "#roleTpl"}, {field: "role", title: "角色", width: 100, templet: "#roleTpl"},
{field: "status", title: "状态", width: 100, templet: "#statusTpl"}, {field: "status", title: "状态", width: 100, templet: "#statusTpl"},
{field: "email", title: "邮箱", width: 200}, {field: "email", title: "邮箱", width: 200},
{field: "province", title: "省份", width: 120},
{field: "city", title: "城市", width: 100},
{field: "county", title: "区县", width: 120},
{field: "createTime", title: "创建时间", width: 150}, {field: "createTime", title: "创建时间", width: 150},
{field: "logins", title: "登陆次数", width: 100}, {field: "logins", title: "登陆次数", width: 100},
{title: "操作", width: 100, templet: "#operationTpl", align: "center", fixed: "right"} {title: "操作", width: 100, align: "center", fixed: "right", templet: "#operationTpl"}
]], ]],
done: function (res, curr, count) { done: function (res, curr, count) {
console.info(res, curr, count); console.info(res, curr, count);

View File

@ -59,15 +59,15 @@
toolbar: "#toolbarTpl", toolbar: "#toolbarTpl",
size: "sm", size: "sm",
cols: [[ cols: [[
{type: "checkbox"}, {type: "checkbox", fixed: "left"},
{field: "id", title: "ID", width: 80, sort: true}, {field: "guid", title: "GUID", width: 280, sort: true},
{field: "title", title: "标题", width: 350}, {field: "title", title: "标题", width: 350},
{field: "url", title: "链接", width: 250, templet: "#urlTpl"}, {field: "url", title: "链接", width: 250, templet: "#urlTpl"},
{field: "readSize", title: "阅读量", width: 80},
{field: "publisher", title: "发布者", width: 100}, {field: "publisher", title: "发布者", width: 100},
{field: "readSize", title: "阅读量", width: 80},
{field: "isTop", title: "是否置顶", width: 100, align: "center", templet: "#topTpl"}, {field: "isTop", title: "是否置顶", width: 100, align: "center", templet: "#topTpl"},
{field: "status", title: "发布状态", width: 110, align: "center", templet: "#statusTpl"}, {field: "status", title: "发布状态", width: 110, align: "center", templet: "#statusTpl"},
{title: "操作", width: 200, align: "center", templet: "#operationTpl"} {title: "操作", width: 100, align: "center", fixed: "right", templet: "#operationTpl"}
]], ]],
done: function (res, curr, count) { done: function (res, curr, count) {
console.log(res, curr, count) console.log(res, curr, count)