商家入驻显示营业执照和提交时间

This commit is contained in:
wangxiaowei 2024-09-09 11:33:01 +08:00
parent f33cfa821d
commit 46ac56f3fc
2 changed files with 18 additions and 1 deletions

@ -122,6 +122,10 @@ class ApplyLogic extends Logic
$detail['category'] = $detail['category']['name'] ?? '未知类目';
$detail['audit_status'] = ShopEnum::getAuditStatusDesc($detail['audit_status']);
$detail['audit_explain'] = $detail['audit_explain'] == '' ? '无' : $detail['audit_explain'];
foreach ($detail['license'] as &$v) {
$v = UrlServer::getFileUrl($v);
}
return $detail;
}

@ -27,6 +27,14 @@
<dt>商家账号:</dt>
<dd>{$detail.account}</dd>
</dl>
<dl>
<dt>营业执照:</dt>
<dd>
{foreach $detail.license as $key => $value}
<img src="{$value}" class="image-show" style="width:50px;height:50px;margin:0 3px;" alt="">
{/foreach}
</dd>
</dl>
<dl>
<dt>审核状态:</dt>
<dd style="color:red;">{$detail.audit_status}</dd>
@ -35,6 +43,11 @@
<dt>审核说明:</dt>
<dd>{$detail.audit_explain}</dd>
</dl>
<dl>
<dt>提交时间:</dt>
<dd>{$detail.create_time}</dd>
</dl>
</div>
</div>
</div>
</div>