From fda6d849d3c0cd4f0eb57ea5e2d1462bc95d0181 Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期五, 27 十月 2023 13:09:54 +0800
Subject: [PATCH] 商户认证
---
cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherTwo.js | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherTwo.js b/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherTwo.js
index a0799ce..57f6acf 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherTwo.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherTwo.js
@@ -16,7 +16,15 @@
return [
{field: 'selectItem', radio: true},
{title: '序号', field: 'id', visible: true, align: 'center', valign: 'middle'},
- {title: '图片', field: 'url', visible: role==1?true:false, align: 'center', valign: 'middle',
+ {
+ title: '图片',
+ field: 'url',
+ visible: role == 1 ? true : false,
+ align: 'center',
+ valign: 'middle',
+ formatter: function(value, row, index) {
+ return '<img src="' + value + '" alt="图片" style="width: 100px; height: 100px;">';
+ }
},
{title: '跳转模块', field: 'name', visible: role==1?true:false, align: 'center', valign: 'middle',
},
--
Gitblit v1.7.1