- 新增 invoice_title、showcase、wallet_log 模型及对应语言包 - 新增后台控制器、视图及搜索字段配置 - 修复服务类目删除保护逻辑 - 优化后台登录页面文案及样式 - 新增前端角色切换逻辑及页面拦截 - 新增 SVG 图标及样式变量 - 修复接口权限及下拉框默认值问题
68 行
4.0 KiB
HTML
68 行
4.0 KiB
HTML
<style>
|
||
.wl-detail-wrap { padding: 12px 15px; }
|
||
.wl-card { background: #fff; border: 1px solid #ebedf0; border-radius: 6px; margin-bottom: 14px; }
|
||
.wl-card-hd { padding: 10px 15px; border-bottom: 1px solid #f0f0f2; font-weight: 600; background: #fafafa; border-radius: 6px 6px 0 0; }
|
||
.wl-card-bd { padding: 14px 15px; }
|
||
.wl-kv { margin-bottom: 8px; line-height: 1.6; }
|
||
.wl-kv .k { color: #888; display: inline-block; min-width: 96px; }
|
||
</style>
|
||
|
||
<div class="wl-detail-wrap">
|
||
<div class="wl-card">
|
||
<div class="wl-card-hd">
|
||
<i class="fa fa-exchange text-primary"></i> 资金流水审计凭证 #WL{$row.id}
|
||
<span class="pull-right label label-info">{$typeList[$row.type]|default=$row.type}</span>
|
||
</div>
|
||
<div class="wl-card-bd">
|
||
<div class="row">
|
||
<div class="col-sm-6 wl-kv">
|
||
<span class="k">变动金额:</span>
|
||
{if $row.amount > 0}
|
||
<strong class="text-success" style="font-size:16px;">+¥{$row.amount|htmlentities}</strong>
|
||
{elseif $row.amount < 0/}
|
||
<strong class="text-danger" style="font-size:16px;">¥{$row.amount|htmlentities}</strong>
|
||
{else/}
|
||
<strong>¥0.00</strong>
|
||
{/if}
|
||
</div>
|
||
<div class="col-sm-6 wl-kv"><span class="k">变动后余额:</span><strong>¥{$row.balance|htmlentities}</strong></div>
|
||
<div class="col-sm-6 wl-kv"><span class="k">记账时间:</span>{:date('Y-m-d H:i:s', $row.createtime)}</div>
|
||
<div class="col-sm-6 wl-kv"><span class="k">账户归属端:</span>{$userTypeList[$row.user_type]|default=$row.user_type}</div>
|
||
<div class="col-sm-12 wl-kv" style="margin-bottom:0;"><span class="k">记账摘要:</span>{$row.remark|default='-'|htmlentities}</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="wl-card" style="{if empty($order)}margin-bottom:0;{/if}">
|
||
<div class="wl-card-hd"><i class="fa fa-user-o text-info"></i> 变动账户主体信息</div>
|
||
<div class="wl-card-bd">
|
||
{if !empty($owner)}
|
||
<div class="row">
|
||
<div class="col-sm-6 wl-kv"><span class="k">主体身份:</span>{$owner.role|htmlentities}</div>
|
||
<div class="col-sm-6 wl-kv"><span class="k">姓名/昵称:</span><strong>{$owner.name|htmlentities}</strong>({$owner.mobile|default='-'|htmlentities})</div>
|
||
<div class="col-sm-6 wl-kv" style="margin-bottom:0;"><span class="k">实时可用余额:</span><span class="text-success">¥{$owner.money|htmlentities}</span></div>
|
||
<div class="col-sm-6 wl-kv" style="margin-bottom:0;"><span class="k">实时冻结金额:</span><span class="text-warning">¥{$owner.frozen|htmlentities}</span></div>
|
||
</div>
|
||
{else/}
|
||
<p class="text-muted" style="margin-bottom:0;">账户ID:{$row.user_id}</p>
|
||
{/if}
|
||
</div>
|
||
</div>
|
||
|
||
{if !empty($order)}
|
||
<div class="wl-card" style="margin-bottom:0;">
|
||
<div class="wl-card-hd"><i class="fa fa-file-text-o text-success"></i> 关联源头工单与清分信息</div>
|
||
<div class="wl-card-bd">
|
||
<div class="row">
|
||
<div class="col-sm-6 wl-kv"><span class="k">关联订单号:</span><code>{$order.order_no|htmlentities}</code></div>
|
||
<div class="col-sm-6 wl-kv"><span class="k">服务项目:</span>{$order.service_name|default='-'|htmlentities}</div>
|
||
<div class="col-sm-6 wl-kv" style="margin-bottom:0;"><span class="k">客户实付:</span>¥{$order.pay_amount|default='0.00'|htmlentities}</div>
|
||
{if !empty($settle)}
|
||
<div class="col-sm-6 wl-kv" style="margin-bottom:0;"><span class="k">清分抽佣:</span>抽成 {$settle.commission_rate}%(平台 ¥{$settle.commission} / 师傅 ¥{$settle.settle_amount})</div>
|
||
{/if}
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{/if}
|
||
</div>
|