mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update index.html
This commit is contained in:
parent
5041472329
commit
d3086e1dbc
@ -27,7 +27,15 @@
|
||||
}
|
||||
},
|
||||
{field: 'xext', title: '后 缀', align: 'center', width: '8%', sort: true},
|
||||
{field: 'xurl', title: '链 接', width: '5%', align: 'center', templet: '<div><a target="_blank" href="{{d.xurl}}">查看</a></div>'},
|
||||
{
|
||||
field: 'xurl', title: '查 看', width: '8%', align: 'center', templet: function (d) {
|
||||
if (typeof d.mime === 'string' && /^image\//.test(d.mime)) {
|
||||
return laytpl('<div class="headimg headimg-no headimg-ss" data-tips-hover data-tips-image="{{d.xurl}}" style="background-image:url({{d.xurl}})"></div>').render(d)
|
||||
} else {
|
||||
return laytpl('<div><a target="_blank" href="{{d.xurl}}">查看</a></div>').render(d);
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'isfast', title: '上传方式', align: 'center', width: '8%', templet: function (d) {
|
||||
return d.isfast ? '<b class="color-green">秒传</b>' : '<b class="color-blue">普通</b>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user