提交 958db71f 编写于 作者: 芊里

grid占位图

上级 22a19d8b
...@@ -42,47 +42,47 @@ ...@@ -42,47 +42,47 @@
data() { data() {
return { return {
list: [{ list: [{
url: '/static/c1.png', url: '/static/grid/c1.png',
text: 'Grid 1', text: 'Grid 1',
badge: '0', badge: '0',
type: "primary" type: "primary"
}, },
{ {
url: '/static/c2.png', url: '/static/grid/c2.png',
text: 'Grid 2', text: 'Grid 2',
badge: '1', badge: '1',
type: "success" type: "success"
}, },
{ {
url: '/static/c3.png', url: '/static/grid/c3.png',
text: 'Grid 3', text: 'Grid 3',
badge: '99', badge: '99',
type: "warning" type: "warning"
}, },
{ {
url: '/static/c4.png', url: '/static/grid/c4.png',
text: 'Grid 4', text: 'Grid 4',
badge: '2', badge: '2',
type: "error" type: "error"
}, },
{ {
url: '/static/c5.png', url: '/static/grid/c5.png',
text: 'Grid 5' text: 'Grid 5'
}, },
{ {
url: '/static/c6.png', url: '/static/grid/c6.png',
text: 'Grid 6' text: 'Grid 6'
}, },
{ {
url: '/static/c7.png', url: '/static/grid/c7.png',
text: 'Grid 7' text: 'Grid 7'
}, },
{ {
url: '/static/c8.png', url: '/static/grid/c8.png',
text: 'Grid 8' text: 'Grid 8'
}, },
{ {
url: '/static/c9.png', url: '/static/grid/c9.png',
text: 'Grid 9' text: 'Grid 9'
} }
], ],
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
// 无数据添加默认值 // 无数据添加默认值
let list = [{ let list = [{
"_id": -1, "_id": -1,
"bannerfile": "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg", "bannerfile": "/static/grid/empty.png",
"open_url": "https://www.dcloud.io/", "open_url": "https://www.dcloud.io/",
"title": "内容 A", "title": "内容 A",
}] }]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册