caipan_shop_admin/view/manager/mall/activity/info.html

122 lines
6.1 KiB
HTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{layout name="manager/layout" /}
<div class="layui-bg-gray" style="padding: 30px;">
<div class="layui-row layui-col-space15">
<div class="layui-col-md12" >
<div class="layui-panel" style="border-radius: 8px;min-height: 350px;">
<div class="layui-row" style="padding: 40px 5px;">
<div class="layui-col-md4" style="text-align: center;">
<img style="border-radius: 16px;max-height: 300px;" src="{$fileDomain ?? ''}{$item.cover ?? ''}" class="layui-icon-camera">
</div>
<div class="layui-col-md8">
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 0px;">
<legend>活动商品信息</legend>
</fieldset>
<div>
<table class="layui-table" lay-even="" lay-skin="nob">
<tbody>
<tr>
<td>商品名称:{$item.name ?? ''}</td>
<td>商品副标题:{$item.subtitle ?? ''}</td>
</tr>
<tr>
<td>活动时间:{$item.activity_begin_at ?? ''} ~ {$item.activity_end_at ?? ''}</td>
<td>活动状态:{$item.status_text ?? ''}</td>
</tr>
<tr>
<td>限购周期:{$limitList[$item['limit_time']] ?? ''}</td>
<td>限购数量:{$item.limit ?? 0}0表示不限制</td>
</tr>
<tr>
<td>库存:{$item.stock ?? 0}</td>
<td>销量:{$item.amount ?? 0}</td>
</tr>
<tr>
<td>商品类型:{$item.spu_type == 'entity' ? '实物' : '虚拟'}</td>
<td>活动类型:{$activityList[$item.activity_type] ?? ''}</td>
</tr>
{if $item.activity_type == 'group_buy' }
<tr>
<td>团购初始人数:{$item.group_base_num ?? 0}</td>
</tr>
{/if}
{if $item.activity_type == 'group_make' }
<tr>
<td>拼团有效期(小时):{$item.group_time ?? 0.5}小时</td>
<td>虚拟参团:{$item.virtual_group == 1 ? '开启' : '关闭'}</td>
</tr>
<tr>
<td>单人成团:{$item.open_one == 1 ? '开启' : '关闭'}</td>
</tr>
{/if}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="layui-row layui-col-space15">
<div class="layui-col-md4">
<div class="layui-panel" style="border-radius: 8px;">
<div class="layui-row layui-col-space20">
<div class="layui-col-md12" style="padding: 15% 30%;">
<h3><strong>订单金额【已付款】(元)</strong></h3>
<span style="font-size: 36px">{$item['total_money'] ?? 0}</span>
</div>
</div>
</div>
</div>
<div class="layui-col-md4">
<div class="layui-panel" style="border-radius: 8px;">
<div class="layui-row layui-col-space20">
<div class="layui-col-md12" style="padding: 15% 30%;">
<h3><strong>订单数量</strong></h3>
<span style="font-size: 36px">{$item['order_count'] ?? 0}</span>
</div>
</div>
</div>
</div>
<div class="layui-col-md4">
<div class="layui-panel" style="border-radius: 8px;">
<div class="layui-row layui-col-space20">
<div class="layui-col-md12" style="padding: 15% 30%;">
<h3><strong>购买总人数</strong></h3>
<span style="font-size: 36px">{$item['account_count'] ?? 0}</span>
</div>
</div>
</div>
</div>
</div>
<div class="layui-row ">
<div id="echarts-records">
<div class="layuimini-container location-detail-page">
<div class="layuimini-main">
<div>
{if $item.activity_type == 'group_make'}
<table id="table-container-group" class="layui-table" data-url="/manager/mall/activity/get-order-group-list?id={$item['id'] ?? 0}" lay-filter="table-container-group"></table>
{else /}
<table id="table-container" class="layui-table" data-url="/manager/mall/activity/get-order?id={$item['id'] ?? 0}" lay-filter="table-container"></table>
{/if}
</div>
</div>
</div>
</div>
</div>
<!-- 子表操作列 -->
<script type="text/html" id="child-row-operate">
{{# if (d.is_virtual == 1 && d.not_check_num > 0 && d.check_type == 'backend') { }}
<a class="layui-btn layui-btn-primary layui-btn-xs" data-title="手动核销" lay-event="check-sku">核销</a>
{{# } }}
</script>
<!-- toolbar -->
<script type="text/html" id="toolbar-tpl-detail">
<a class="layui-btn layui-btn-primary layui-btn-sm" data-table-refresh lay-event="refresh"><i
class="fa fa-refresh"></i></a>
</script>
</div>
<script src="__MANAGER__/js/mall/activity.js?v={:mt_rand()}"></script>