添加商家图标
This commit is contained in:
parent
ffd2916411
commit
1a8b8a4fbd
@ -37,6 +37,13 @@
|
||||
</button>
|
||||
|
||||
<table id="like-table-lists" lay-filter="like-table-lists"></table>
|
||||
<script type="text/html" id="shop-logo">
|
||||
{{# if(d.shopLogo){ }}
|
||||
<img src="{{d.shopLogo}}" alt="商家图标" style="width: 200px;height: 200px;object-fit: contain;"
|
||||
class="image-show">
|
||||
{{# } }}
|
||||
</script>
|
||||
|
||||
<script type="text/html" id="businesslicense-operation">
|
||||
{{# if(d.businessLicense){ }}
|
||||
<img src="{{d.businessLicense}}" alt="营业执照" style="width: 200px;height: 200px;object-fit: contain;"
|
||||
@ -53,11 +60,11 @@
|
||||
|
||||
<script type="text/html" id="storeState-operation">
|
||||
{{# if(d.store_state == 0){ }}
|
||||
待审核
|
||||
待审核
|
||||
{{# } else if(d.store_state == 1) { }}
|
||||
审核通过
|
||||
审核通过
|
||||
{{# } else if(d.store_state == 2) { }}
|
||||
审核失败
|
||||
审核失败
|
||||
{{# } }}
|
||||
</script>
|
||||
|
||||
@ -76,19 +83,15 @@
|
||||
var form = layui.form;
|
||||
like.tableLists("#like-table-lists", "{:url()}", [
|
||||
{field: "lstore_id", width: 60, title: "ID"}
|
||||
, {
|
||||
field: "businessLicense",
|
||||
width: 120,
|
||||
align: "center",
|
||||
title: "营业执照",
|
||||
toolbar: '#businesslicense-operation'
|
||||
}
|
||||
, {field: "shopName", width: 120, align: "center", title: "商家名称"}
|
||||
, {field: "shopLogo", width: 120, align: "center", title: "商家图标", templet: '#shop-logo'}
|
||||
, {field: "businessLicense", width: 120, align: "center", title: "营业执照", templet: '#businesslicense-operation'}
|
||||
, {field: "crftNo1", width: 120, align: "center", title: "社会信用代码"}
|
||||
, {field: "idCard", width: 120, align: "center", title: "手持身份证", toolbar: '#idcard-operation'}
|
||||
, {field: "idCard", width: 120, align: "center", title: "手持身份证", templet: '#idcard-operation'}
|
||||
, {field: "name", width: 120, align: "center", title: "商户联系人"}
|
||||
, {field: "empowerPhone", width: 120, align: "center", title: "联系电话"}
|
||||
, {field: "address", width: 300, align: "center", title: "地理位置"}
|
||||
, {field: "store_state", width: 150, align: "center", title: "审核状态", toolbar: '#storeState-operation'}
|
||||
, {field: "store_state", width: 150, align: "center", title: "审核状态", templet: '#storeState-operation'}
|
||||
, {fixed: 'right', title: '操作', width: 280, align: 'center', toolbar: '#localstore-operation'}
|
||||
]);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user