其余文件

This commit is contained in:
2026-04-14 17:46:22 +08:00
parent 294b68fe37
commit 3691f4db22
1343 changed files with 189847 additions and 0 deletions

View File

@ -0,0 +1,152 @@
{layout name="layout1" /}
<style>
.title {
font-size: 16px;
text-align: center;
}
.data {
margin-top: 10px;
font-size: 20px;
text-align: center;
}
.layui-table {
width: 500px;
margin-left: 10px;
}
html,
body {
height: 100%;
}
#content {
height: 100%;
background: #FFFFFF;
}
</style>
<div class="wrapper">
<div class="layui-card">
<div class="layui-card-body">
<div id="content">
<fieldset class="layui-elem-field layui-field-title">
<legend>佣金概览</legend>
<div class="layui-field-box">
<div class="layui-row">
<div class="layui-col-md2 title">
累计已入账佣金/元
</div>
<div class="layui-col-md2 title">
今日入账佣金/元
</div>
<div class="layui-col-md2 title">
待结算佣金/元
</div>
<div class="layui-col-md2 title">
今日新增待结算佣金/元
</div>
</div>
<div class="layui-row">
<div class="layui-col-md2 data">
{$data.earnings.total_success}
</div>
<div class="layui-col-md2 data">
{$data.earnings.total_today_success}
</div>
<div class="layui-col-md2 data">
{$data.earnings.total_wait}
</div>
<div class="layui-col-md2 data">
{$data.earnings.total_today_wait}
</div>
</div>
</div>
</fieldset>
<fieldset class="layui-elem-field layui-field-title">
<legend>分销会员概览</legend>
<div class="layui-field-box">
<div class="layui-row">
<div class="layui-col-md2 title">
分销会员/人
</div>
<div class="layui-col-md2 title">
分销会员占比/百分比
</div>
</div>
<div class="layui-row">
<div class="layui-col-md2 data">
{$data.members.members}
</div>
<div class="layui-col-md2 data">
{$data.members.proportion} %
</div>
</div>
</div>
</fieldset>
<fieldset class="layui-elem-field layui-field-title">
<legend>分销商品排行榜</legend>
<div class="layui-field-box">
<table class="layui-table">
<colgroup>
<col width="150">
<col width="200">
<col>
</colgroup>
<thead>
<tr>
<th>排名</th>
<th>商品名称</th>
<th>已入账佣金</th>
</tr>
</thead>
<tbody>
{foreach $data.topGoods as $key=>$item }
<tr>
<td>{$key+1}</td>
<td> <img src="{$item.goods_image}" style="height:60px;width: 60px;margin-right:5px;" class="image-show">{$item.goods_name}</td>
<td>{$item.total_money}</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</fieldset>
<fieldset class="layui-elem-field layui-field-title">
<legend>分销会员排行榜</legend>
<div class="layui-field-box">
<table class="layui-table">
<colgroup>
<col width="150">
<col width="200">
<col>
</colgroup>
<thead>
<tr>
<th>排名</th>
<th>会员名称</th>
<th>已入账佣金</th>
</tr>
</thead>
<tbody>
{foreach $data.topMembers as $key=>$item }
<tr>
<td>{$key+1}</td>
<td> <img src="{$item.avatar}" style="height:60px;width: 60px;margin-right:5px;" class="image-show">{$item.nickname}</td>
<td>{$item.total_money}</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</fieldset>
</div>
</div>
</div>
</div>
<script>
layui.config({
version:"{$front_version}",
base: '/static/lib/' //静态资源所在路径
}).use(['table'], function(){
let table = layui.table;
});
</script>

View File

@ -0,0 +1,37 @@
{layout name="layout1" /}
<div>
<div class="layui-panel">
<div style="padding: 15px;font-size: 15px;font-weight: bold;color: black;">分销中心</div>
<div class="layui-inline">
<div class="layui-card" style="margin: 10px;width:300px;background: #eeeeee;">
<div class="layui-card-header" style="font-weight: bold;text-align: center;">已结算分销佣金金额</div>
<div class="layui-card-body" style="text-align: center;font-size: 30px;">
{$settled}
</div>
</div>
</div>
<div class="layui-inline">
<div class="layui-card" style="margin: 10px;width:300px;background: #eeeeee;">
<div class="layui-card-header" style="font-weight: bold;text-align: center;">预估分销佣金金额</div>
<div class="layui-card-body" style="text-align: center;font-size: 30px;">
{$estimate}
</div>
</div>
</div>
</div>
</div>
<style>
.layui-panel {
margin: 15px;
}
</style>
<script>
layui.config({
version:"{$front_version}",
base: '/static/lib/' //静态资源所在路径
}).use(['form'], function(){
});
</script>