3.9K Star 18.4K Fork 5.3K

卓源软件 / JeeSite 4.x and 5.x

 / 详情

list列表页面如何显示图片???

已完成
创建于  
2018-10-17 14:11

dataGrid初始化对象
{header:'${text('头像')}', field : 'images',name:'headImg', index:'a.headImg', width:150, align:"center"},

如何写呢?

评论 (1)

萤火之森 创建了任务
{header:'${text('图片')}', name:'imageHref', index:'a.image_href', width:100, align:"center", frozen:true, formatter: function(val, obj, row, act){
    return '<img src="${ctxPath}'+row.imageHref+'" width="153" alt="">';
}},
卓源软件 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
1495953 wangjianixn 1578952854
Java
1
https://gitee.com/thinkgem/jeesite4.git
git@gitee.com:thinkgem/jeesite4.git
thinkgem
jeesite4
JeeSite 4.x and 5.x

搜索帮助