|
|
|
|
@@ -4,29 +4,29 @@
|
|
|
|
|
<div class="fc-dash__head-info">
|
|
|
|
|
<h1 class="fc-dash__title">{:__('业务总览与运营看板')}</h1>
|
|
|
|
|
<p class="fc-dash__desc">
|
|
|
|
|
{:__('同城便民生活服务平台')} · {:__('数据更新于')} {$updatedAt} · {:__('订单额仅统计已支付实收口径')}
|
|
|
|
|
{:__('同城便民生活服务平台')} · {:__('数据更新于')} <span id="fc-updated-at">{$updatedAt}</span> · {:__('订单额仅统计已支付实收净额(已扣退款)')}
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-dash__actions">
|
|
|
|
|
<a href="fc/post" title="{:__('内容管理')}" class="fc-btn addtabsit {:$auth->check('fc/post')?'':'hide'}">
|
|
|
|
|
<a href="{:url('fc/post/index')}" title="{:__('内容管理')}" class="fc-btn addtabsit {:$auth->check('fc/post')?'':'hide'}">
|
|
|
|
|
<i class="fa fa-file-text-o" aria-hidden="true"></i> {:__('内容管理')}
|
|
|
|
|
{if $pending.post > 0}
|
|
|
|
|
<span class="fc-btn__badge">{$pending.post}</span>
|
|
|
|
|
{/if}
|
|
|
|
|
</a>
|
|
|
|
|
<a href="fc/merchant" title="{:__('商家管理')}" class="fc-btn addtabsit {:$auth->check('fc/merchant')?'':'hide'}">
|
|
|
|
|
<a href="{:url('fc/merchant/index')}" title="{:__('商家管理')}" class="fc-btn addtabsit {:$auth->check('fc/merchant')?'':'hide'}">
|
|
|
|
|
<i class="fa fa-shopping-bag" aria-hidden="true"></i> {:__('商家管理')}
|
|
|
|
|
{if $pending.merchant > 0}
|
|
|
|
|
<span class="fc-btn__badge">{$pending.merchant}</span>
|
|
|
|
|
{/if}
|
|
|
|
|
</a>
|
|
|
|
|
<a href="fc/withdraw" title="{:__('提现审核')}" class="fc-btn addtabsit {:$auth->check('fc/withdraw')?'':'hide'}">
|
|
|
|
|
<a href="{:url('fc/withdraw/index')}" title="{:__('提现审核')}" class="fc-btn addtabsit {:$auth->check('fc/withdraw')?'':'hide'}">
|
|
|
|
|
<i class="fa fa-credit-card" aria-hidden="true"></i> {:__('提现审核')}
|
|
|
|
|
{if $pending.withdraw > 0}
|
|
|
|
|
<span class="fc-btn__badge">{$pending.withdraw}</span>
|
|
|
|
|
{/if}
|
|
|
|
|
</a>
|
|
|
|
|
<a href="fc/report" title="{:__('举报投诉')}" class="fc-btn addtabsit {:$auth->check('fc/report')?'':'hide'}">
|
|
|
|
|
<a href="{:url('fc/report/index')}" title="{:__('举报投诉')}" class="fc-btn addtabsit {:$auth->check('fc/report')?'':'hide'}">
|
|
|
|
|
<i class="fa fa-shield" aria-hidden="true"></i> {:__('举报投诉')}
|
|
|
|
|
{if $pending.report > 0}
|
|
|
|
|
<span class="fc-btn__badge">{$pending.report}</span>
|
|
|
|
|
@@ -47,25 +47,25 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-alert-banner__items">
|
|
|
|
|
{if $pending.post > 0}
|
|
|
|
|
<a href="fc/post" class="fc-alert-pill addtabsit" title="{:__('待审核信息')}">
|
|
|
|
|
<a href="{:url('fc/post/index')}" class="fc-alert-pill addtabsit" title="{:__('待审核信息')}">
|
|
|
|
|
<i class="fa fa-clock-o text-warning" aria-hidden="true"></i>
|
|
|
|
|
<span>{:__('信息待审核')} <b>{$pending.post}</b></span>
|
|
|
|
|
</a>
|
|
|
|
|
{/if}
|
|
|
|
|
{if $pending.merchant > 0}
|
|
|
|
|
<a href="fc/merchant" class="fc-alert-pill addtabsit" title="{:__('商家入驻待审')}">
|
|
|
|
|
<a href="{:url('fc/merchant/index')}" class="fc-alert-pill addtabsit" title="{:__('商家入驻待审')}">
|
|
|
|
|
<i class="fa fa-user-circle-o text-info" aria-hidden="true"></i>
|
|
|
|
|
<span>{:__('商家入驻待审')} <b>{$pending.merchant}</b></span>
|
|
|
|
|
</a>
|
|
|
|
|
{/if}
|
|
|
|
|
{if $pending.withdraw > 0}
|
|
|
|
|
<a href="fc/withdraw" class="fc-alert-pill addtabsit" title="{:__('提现申请待审')}">
|
|
|
|
|
<a href="{:url('fc/withdraw/index')}" class="fc-alert-pill addtabsit" title="{:__('提现申请待审')}">
|
|
|
|
|
<i class="fa fa-money text-danger" aria-hidden="true"></i>
|
|
|
|
|
<span>{:__('提现待审核')} <b>{$pending.withdraw}</b> ({:__('共')} ¥{$pending.withdrawAmount|number_format=2})</span>
|
|
|
|
|
</a>
|
|
|
|
|
{/if}
|
|
|
|
|
{if $pending.report > 0}
|
|
|
|
|
<a href="fc/report" class="fc-alert-pill addtabsit" title="{:__('违规举报待处理')}">
|
|
|
|
|
<a href="{:url('fc/report/index')}" class="fc-alert-pill addtabsit" title="{:__('违规举报待处理')}">
|
|
|
|
|
<i class="fa fa-exclamation-triangle text-warning" aria-hidden="true"></i>
|
|
|
|
|
<span>{:__('举报待处理')} <b>{$pending.report}</b></span>
|
|
|
|
|
</a>
|
|
|
|
|
@@ -79,108 +79,161 @@
|
|
|
|
|
</div>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
<!-- 4 大核心 KPI 指标卡 -->
|
|
|
|
|
<section class="fc-kpi-grid" aria-label="{:__('今日核心指标')}">
|
|
|
|
|
<!-- 1. 今日发布量 -->
|
|
|
|
|
<!-- 全局日期统计切换栏 -->
|
|
|
|
|
<section class="fc-filter-bar" aria-label="{:__('日期统计切换')}">
|
|
|
|
|
<div class="fc-filter-bar__left">
|
|
|
|
|
<span class="fc-filter-bar__label"><i class="fa fa-calendar" aria-hidden="true"></i> {:__('统计周期')}</span>
|
|
|
|
|
<div class="fc-seg fc-seg--date" role="group" aria-label="{:__('选择统计周期')}">
|
|
|
|
|
<button type="button" class="fc-seg__btn fc-date-btn {if $period.key == 'all'}is-active{/if}" data-range="all">{:__('全部累计')}</button>
|
|
|
|
|
<button type="button" class="fc-seg__btn fc-date-btn {if $period.key == 'today'}is-active{/if}" data-range="today">{:__('今日')}</button>
|
|
|
|
|
<button type="button" class="fc-seg__btn fc-date-btn {if $period.key == 'yesterday'}is-active{/if}" data-range="yesterday">{:__('昨日')}</button>
|
|
|
|
|
<button type="button" class="fc-seg__btn fc-date-btn {if $period.key == '7d'}is-active{/if}" data-range="7d">{:__('近 7 天')}</button>
|
|
|
|
|
<button type="button" class="fc-seg__btn fc-date-btn {if $period.key == '14d'}is-active{/if}" data-range="14d">{:__('近 14 天')}</button>
|
|
|
|
|
<button type="button" class="fc-seg__btn fc-date-btn {if $period.key == '30d'}is-active{/if}" data-range="30d">{:__('近 30 天')}</button>
|
|
|
|
|
<button type="button" class="fc-seg__btn fc-date-btn {if $period.key == 'month'}is-active{/if}" data-range="month">{:__('本月')}</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-filter-bar__right">
|
|
|
|
|
<div class="fc-date-custom">
|
|
|
|
|
<input type="date" id="fc-start-date" class="fc-date-input" value="{$period.start_date}" aria-label="{:__('开始日期')}">
|
|
|
|
|
<span class="fc-date-sep">{:__('至')}</span>
|
|
|
|
|
<input type="date" id="fc-end-date" class="fc-date-input" value="{$period.end_date}" aria-label="{:__('结束日期')}">
|
|
|
|
|
<button type="button" id="fc-custom-apply" class="fc-btn fc-btn--sm fc-btn--primary">{:__('筛选')}</button>
|
|
|
|
|
</div>
|
|
|
|
|
<span class="fc-filter-bar__current" id="fc-current-period-badge">{:__('当前:')}{$period.label}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<!-- 4 大核心 KPI 指标卡(所选周期总数 + 今日新增 + 全站累计) -->
|
|
|
|
|
<section class="fc-kpi-grid" aria-label="{:__('核心运营指标')}">
|
|
|
|
|
<!-- 1. 信息发布量 -->
|
|
|
|
|
<article class="fc-kpi">
|
|
|
|
|
<div class="fc-kpi__head">
|
|
|
|
|
<span class="fc-kpi__label">{:__('今日发布量')}</span>
|
|
|
|
|
<span class="fc-kpi__label">{:__('信息发布量')}</span>
|
|
|
|
|
<span class="fc-kpi__icon fc-kpi__icon--green"><i class="fa fa-paper-plane-o" aria-hidden="true"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
<p class="fc-kpi__value">{$metrics.todayPost} <small class="fc-kpi__unit">{:__('篇')}</small></p>
|
|
|
|
|
<div class="fc-kpi__dual">
|
|
|
|
|
<div class="fc-kpi__main">
|
|
|
|
|
<span class="fc-kpi__subtag"><span class="fc-period-name">{$period.label}</span></span>
|
|
|
|
|
<p class="fc-kpi__value"><span id="fc-kpi-post">{$metrics.rangePost}</span> <small class="fc-kpi__unit">{:__('篇')}</small></p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-kpi__today">
|
|
|
|
|
<span class="fc-kpi__subtag">{:__('今日新增')}</span>
|
|
|
|
|
<p class="fc-kpi__today-val is-green">+{$metrics.todayPost} <small>{:__('篇')}</small></p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-kpi__foot">
|
|
|
|
|
<div class="fc-kpi__range">
|
|
|
|
|
{:__('全站累计')}:<strong>{$metrics.totalPost}</strong> {:__('篇')}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-kpi__compare">
|
|
|
|
|
{if $metrics.postDelta > 0}
|
|
|
|
|
<span class="fc-trend fc-trend--up"><i class="fa fa-long-arrow-up" aria-hidden="true"></i>{$metrics.postDelta}</span>
|
|
|
|
|
<span class="fc-kpi__subtext">{:__('较昨日')}</span>
|
|
|
|
|
{elseif $metrics.postDelta < 0}
|
|
|
|
|
<span class="fc-trend fc-trend--down"><i class="fa fa-long-arrow-down" aria-hidden="true"></i>{:abs($metrics['postDelta'])}</span>
|
|
|
|
|
<span class="fc-kpi__subtext">{:__('较昨日')}</span>
|
|
|
|
|
{else}
|
|
|
|
|
<span class="fc-trend fc-trend--flat">{:__('持平')}</span>
|
|
|
|
|
<span class="fc-kpi__subtext">{:__('较昨日')}</span>
|
|
|
|
|
{/if}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-kpi__total">
|
|
|
|
|
{:__('累计')} <span>{$metrics.totalPost}</span> {:__('篇')}
|
|
|
|
|
<span class="fc-kpi__subtext">{:__('较昨日')}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</article>
|
|
|
|
|
|
|
|
|
|
<!-- 2. 今日订单额 -->
|
|
|
|
|
<!-- 2. 订单实收 -->
|
|
|
|
|
<article class="fc-kpi">
|
|
|
|
|
<div class="fc-kpi__head">
|
|
|
|
|
<span class="fc-kpi__label">{:__('今日订单实收')}</span>
|
|
|
|
|
<span class="fc-kpi__label">{:__('订单实收')}</span>
|
|
|
|
|
<span class="fc-kpi__icon fc-kpi__icon--gold"><i class="fa fa-jpy" aria-hidden="true"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
<p class="fc-kpi__value fc-kpi__value--money">¥{$metrics.todayOrderAmount|number_format=2}</p>
|
|
|
|
|
<div class="fc-kpi__dual">
|
|
|
|
|
<div class="fc-kpi__main">
|
|
|
|
|
<span class="fc-kpi__subtag"><span class="fc-period-name">{$period.label}</span> (<span id="fc-kpi-order-cnt">{$metrics.rangeOrderCount}</span>{:__('笔')})</span>
|
|
|
|
|
<p class="fc-kpi__value fc-kpi__value--money" id="fc-kpi-order">¥{$metrics.rangeOrderAmount|number_format=2}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-kpi__today">
|
|
|
|
|
<span class="fc-kpi__subtag">{:__('今日')} ({$metrics.todayOrderCount}{:__('笔')})</span>
|
|
|
|
|
<p class="fc-kpi__today-val is-gold">¥{$metrics.todayOrderAmount|number_format=2}</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-kpi__foot">
|
|
|
|
|
<div class="fc-kpi__range">
|
|
|
|
|
{:__('全站累计')}:<strong>¥{$metrics.totalOrderAmount|number_format=2}</strong> ({$metrics.totalOrderCount}{:__('笔')})
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-kpi__compare">
|
|
|
|
|
{if $metrics.orderDelta > 0}
|
|
|
|
|
<span class="fc-trend fc-trend--up"><i class="fa fa-long-arrow-up" aria-hidden="true"></i>¥{$metrics.orderDelta|number_format=2}</span>
|
|
|
|
|
<span class="fc-kpi__subtext">{:__('较昨日')}</span>
|
|
|
|
|
{elseif $metrics.orderDelta < 0}
|
|
|
|
|
<span class="fc-trend fc-trend--down"><i class="fa fa-long-arrow-down" aria-hidden="true"></i>¥{:number_format(abs($metrics['orderDelta']), 2)}</span>
|
|
|
|
|
<span class="fc-kpi__subtext">{:__('较昨日')}</span>
|
|
|
|
|
{else}
|
|
|
|
|
<span class="fc-trend fc-trend--flat">{:__('持平')}</span>
|
|
|
|
|
<span class="fc-kpi__subtext">{:__('较昨日')}</span>
|
|
|
|
|
{/if}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-kpi__total">
|
|
|
|
|
{:__('累计')} <span>¥{$metrics.totalOrderAmount|number_format=2}</span>
|
|
|
|
|
<span class="fc-kpi__subtext">{:__('较昨日')}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</article>
|
|
|
|
|
|
|
|
|
|
<!-- 3. 今日新增用户 -->
|
|
|
|
|
<!-- 3. 注册用户 -->
|
|
|
|
|
<article class="fc-kpi">
|
|
|
|
|
<div class="fc-kpi__head">
|
|
|
|
|
<span class="fc-kpi__label">{:__('今日新增用户')}</span>
|
|
|
|
|
<span class="fc-kpi__label">{:__('注册用户')}</span>
|
|
|
|
|
<span class="fc-kpi__icon fc-kpi__icon--blue"><i class="fa fa-user-plus" aria-hidden="true"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
<p class="fc-kpi__value">{$metrics.todayUser} <small class="fc-kpi__unit">{:__('人')}</small></p>
|
|
|
|
|
<div class="fc-kpi__dual">
|
|
|
|
|
<div class="fc-kpi__main">
|
|
|
|
|
<span class="fc-kpi__subtag"><span class="fc-period-name">{$period.label}</span></span>
|
|
|
|
|
<p class="fc-kpi__value"><span id="fc-kpi-user">{$metrics.rangeUser}</span> <small class="fc-kpi__unit">{:__('人')}</small></p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-kpi__today">
|
|
|
|
|
<span class="fc-kpi__subtag">{:__('今日新增')}</span>
|
|
|
|
|
<p class="fc-kpi__today-val is-blue">+{$metrics.todayUser} <small>{:__('人')}</small></p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-kpi__foot">
|
|
|
|
|
<div class="fc-kpi__range">
|
|
|
|
|
{:__('全站累计')}:<strong>{$metrics.totalUser}</strong> {:__('人')}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-kpi__compare">
|
|
|
|
|
{if $metrics.userDelta > 0}
|
|
|
|
|
<span class="fc-trend fc-trend--up"><i class="fa fa-long-arrow-up" aria-hidden="true"></i>{$metrics.userDelta}</span>
|
|
|
|
|
<span class="fc-kpi__subtext">{:__('较昨日')}</span>
|
|
|
|
|
{elseif $metrics.userDelta < 0}
|
|
|
|
|
<span class="fc-trend fc-trend--down"><i class="fa fa-long-arrow-down" aria-hidden="true"></i>{:abs($metrics['userDelta'])}</span>
|
|
|
|
|
<span class="fc-kpi__subtext">{:__('较昨日')}</span>
|
|
|
|
|
{else}
|
|
|
|
|
<span class="fc-trend fc-trend--flat">{:__('持平')}</span>
|
|
|
|
|
<span class="fc-kpi__subtext">{:__('较昨日')}</span>
|
|
|
|
|
{/if}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-kpi__total">
|
|
|
|
|
{:__('累计注册')} <span>{$metrics.totalUser}</span> {:__('人')}
|
|
|
|
|
<span class="fc-kpi__subtext">{:__('较昨日')}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</article>
|
|
|
|
|
|
|
|
|
|
<!-- 4. 今日信息浏览曝光 -->
|
|
|
|
|
<!-- 4. 信息曝光量 -->
|
|
|
|
|
<article class="fc-kpi">
|
|
|
|
|
<div class="fc-kpi__head">
|
|
|
|
|
<span class="fc-kpi__label">{:__('今日信息曝光量')}</span>
|
|
|
|
|
<span class="fc-kpi__label">{:__('信息曝光量')}</span>
|
|
|
|
|
<span class="fc-kpi__icon fc-kpi__icon--purple"><i class="fa fa-eye" aria-hidden="true"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
<p class="fc-kpi__value">{$metrics.todayViews} <small class="fc-kpi__unit">{:__('次')}</small></p>
|
|
|
|
|
<div class="fc-kpi__dual">
|
|
|
|
|
<div class="fc-kpi__main">
|
|
|
|
|
<span class="fc-kpi__subtag"><span class="fc-period-name">{$period.label}</span></span>
|
|
|
|
|
<p class="fc-kpi__value"><span id="fc-kpi-views">{$metrics.rangeViews}</span> <small class="fc-kpi__unit">{:__('次')}</small></p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-kpi__today">
|
|
|
|
|
<span class="fc-kpi__subtag">{:__('今日浏览')}</span>
|
|
|
|
|
<p class="fc-kpi__today-val is-purple">+{$metrics.todayViews} <small>{:__('次')}</small></p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-kpi__foot">
|
|
|
|
|
<div class="fc-kpi__range">
|
|
|
|
|
{:__('全站累计')}:<strong>{$metrics.totalViews}</strong> {:__('次')}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-kpi__compare">
|
|
|
|
|
{if $metrics.viewsDelta > 0}
|
|
|
|
|
<span class="fc-trend fc-trend--up"><i class="fa fa-long-arrow-up" aria-hidden="true"></i>{$metrics.viewsDelta}</span>
|
|
|
|
|
<span class="fc-kpi__subtext">{:__('较昨日')}</span>
|
|
|
|
|
{elseif $metrics.viewsDelta < 0}
|
|
|
|
|
<span class="fc-trend fc-trend--down"><i class="fa fa-long-arrow-down" aria-hidden="true"></i>{:abs($metrics['viewsDelta'])}</span>
|
|
|
|
|
<span class="fc-kpi__subtext">{:__('较昨日')}</span>
|
|
|
|
|
{else}
|
|
|
|
|
<span class="fc-trend fc-trend--flat">{:__('持平')}</span>
|
|
|
|
|
<span class="fc-kpi__subtext">{:__('较昨日')}</span>
|
|
|
|
|
{/if}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-kpi__total">
|
|
|
|
|
{:__('累计曝光')} <span>{$metrics.totalViews}</span> {:__('次')}
|
|
|
|
|
<span class="fc-kpi__subtext">{:__('较昨日')}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</article>
|
|
|
|
|
@@ -192,16 +245,10 @@
|
|
|
|
|
<section class="fc-card fc-card--trend">
|
|
|
|
|
<header class="fc-card__head">
|
|
|
|
|
<div>
|
|
|
|
|
<h2 class="fc-card__title">{:__('业务多维趋势透视')}</h2>
|
|
|
|
|
<h2 class="fc-card__title">{:__('业务多维趋势透视')} <span class="fc-card__tag" id="fc-trend-period-tag">{$period.label}</span></h2>
|
|
|
|
|
<p class="fc-card__desc">{:__('发布量按发布时间归属,订单额按实际支付时间归属')}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-card__controls">
|
|
|
|
|
<!-- 时段切换 -->
|
|
|
|
|
<div class="fc-seg fc-seg--range" role="group" aria-label="{:__('选择时段')}">
|
|
|
|
|
<button type="button" class="fc-seg__btn fc-range-btn" data-days="7">{:__('近 7 天')}</button>
|
|
|
|
|
<button type="button" class="fc-seg__btn fc-range-btn is-active" data-days="14">{:__('近 14 天')}</button>
|
|
|
|
|
<button type="button" class="fc-seg__btn fc-range-btn" data-days="30">{:__('近 30 天')}</button>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 指标切换 -->
|
|
|
|
|
<div class="fc-seg fc-seg--metric" role="group" aria-label="{:__('切换趋势指标')}">
|
|
|
|
|
<button type="button" class="fc-seg__btn fc-metric-btn is-active" data-metric="posts">{:__('发布量')}</button>
|
|
|
|
|
@@ -238,13 +285,13 @@
|
|
|
|
|
<section class="fc-card fc-card--compact">
|
|
|
|
|
<header class="fc-card__head">
|
|
|
|
|
<h2 class="fc-card__title">{:__('营收来源构成')}</h2>
|
|
|
|
|
<span class="fc-card__tag">{:__('实收合计')} ¥{$metrics.totalOrderAmount|number_format=2}</span>
|
|
|
|
|
<span class="fc-card__tag" id="fc-revenue-tag">{$period.label} · ¥{$revenueTotal|number_format=2}</span>
|
|
|
|
|
</header>
|
|
|
|
|
<div class="fc-card__body">
|
|
|
|
|
<div class="fc-pie-wrap">
|
|
|
|
|
<div id="fc-revenue-chart" class="fc-pie-chart" role="img" aria-label="{:__('营收构成环形图')}"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fc-revenue-list">
|
|
|
|
|
<div class="fc-revenue-list" id="fc-revenue-list">
|
|
|
|
|
{if count($revenueTypes) > 0}
|
|
|
|
|
{foreach $revenueTypes as $rev}
|
|
|
|
|
<div class="fc-rev-item">
|
|
|
|
|
@@ -259,7 +306,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
{/foreach}
|
|
|
|
|
{else}
|
|
|
|
|
<div class="fc-empty-hint">{:__('暂无已支付订单数据')}</div>
|
|
|
|
|
<div class="fc-empty-hint">{:__('该时段暂无已支付订单数据')}</div>
|
|
|
|
|
{/if}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -269,9 +316,9 @@
|
|
|
|
|
<section class="fc-card fc-card--compact">
|
|
|
|
|
<header class="fc-card__head">
|
|
|
|
|
<h2 class="fc-card__title">{:__('热门分类发帖分布')}</h2>
|
|
|
|
|
<span class="fc-card__tag">{:__('累计发帖')} {$metrics.totalPost} {:__('篇')}</span>
|
|
|
|
|
<span class="fc-card__tag" id="fc-category-tag">{$period.label} · {$categoryTotal} {:__('篇')}</span>
|
|
|
|
|
</header>
|
|
|
|
|
<div class="fc-card__body fc-cat-ranks">
|
|
|
|
|
<div class="fc-card__body fc-cat-ranks" id="fc-category-list">
|
|
|
|
|
{if count($categoryRanks) > 0}
|
|
|
|
|
{foreach $categoryRanks as $cat}
|
|
|
|
|
<div class="fc-rank-row">
|
|
|
|
|
@@ -285,7 +332,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
{/foreach}
|
|
|
|
|
{else}
|
|
|
|
|
<div class="fc-empty-hint">{:__('暂无分类数据')}</div>
|
|
|
|
|
<div class="fc-empty-hint">{:__('该时段暂无分类发帖数据')}</div>
|
|
|
|
|
{/if}
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
@@ -298,12 +345,12 @@
|
|
|
|
|
<section class="fc-card">
|
|
|
|
|
<header class="fc-card__head">
|
|
|
|
|
<div>
|
|
|
|
|
<h2 class="fc-card__title">{:__('同城活跃区域 Top 5')}</h2>
|
|
|
|
|
<h2 class="fc-card__title">{:__('同城活跃区域 Top 5')} <span class="fc-card__tag" id="fc-area-tag">{$period.label}</span></h2>
|
|
|
|
|
<p class="fc-card__desc">{:__('基于信息发布所处行政区/县的热度分布')}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<a href="fc/post" title="{:__('查看帖子列表')}" class="fc-card__more addtabsit">{:__('全部帖子')} <i class="fa fa-angle-right" aria-hidden="true"></i></a>
|
|
|
|
|
<a href="{:url('fc/post/index')}" title="{:__('查看帖子列表')}" class="fc-card__more addtabsit">{:__('全部帖子')} <i class="fa fa-angle-right" aria-hidden="true"></i></a>
|
|
|
|
|
</header>
|
|
|
|
|
<div class="fc-card__body">
|
|
|
|
|
<div class="fc-card__body" id="fc-area-list">
|
|
|
|
|
{if count($areaRanks) > 0}
|
|
|
|
|
<div class="fc-area-list">
|
|
|
|
|
{foreach $areaRanks as $idx => $area}
|
|
|
|
|
@@ -318,17 +365,17 @@
|
|
|
|
|
{/foreach}
|
|
|
|
|
</div>
|
|
|
|
|
{else}
|
|
|
|
|
<div class="fc-empty-hint">{:__('暂无地区发布数据')}</div>
|
|
|
|
|
<div class="fc-empty-hint">{:__('该时段暂无地区发布数据')}</div>
|
|
|
|
|
{/if}
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<!-- 2. 会员、商家与分销裂变生态 -->
|
|
|
|
|
<!-- 2. 会员、商家与分销裂变生态(随筛选时间联动 + 今日) -->
|
|
|
|
|
<section class="fc-card">
|
|
|
|
|
<header class="fc-card__head">
|
|
|
|
|
<div>
|
|
|
|
|
<h2 class="fc-card__title">{:__('平台商业与生态资产')}</h2>
|
|
|
|
|
<p class="fc-card__desc">{:__('会员沉淀、商户入驻及分销裂变体系')}</p>
|
|
|
|
|
<h2 class="fc-card__title">{:__('平台商业与生态资产')} <span class="fc-card__tag" id="fc-eco-tag">{$period.label}</span></h2>
|
|
|
|
|
<p class="fc-card__desc">{:__('会员沉淀、商户入驻及分销裂变体系(所选周期统计 / 今日新增)')}</p>
|
|
|
|
|
</div>
|
|
|
|
|
</header>
|
|
|
|
|
<div class="fc-card__body">
|
|
|
|
|
@@ -338,11 +385,11 @@
|
|
|
|
|
<div class="fc-eco-block__title"><i class="fa fa-diamond text-warning" aria-hidden="true"></i> {:__('VIP会员体系')}</div>
|
|
|
|
|
<div class="fc-eco-block__stat">
|
|
|
|
|
<div>
|
|
|
|
|
<span class="fc-eco-block__val">{$metrics.memberCount}</span>
|
|
|
|
|
<span class="fc-eco-block__val"><span id="fc-eco-member">{$ecosystem.memberCount}</span> <small class="fc-eco-today">+{:$ecosystem['todayMemberCount']} {:__('今日')}</small></span>
|
|
|
|
|
<span class="fc-eco-block__desc">{:__('有效VIP会员')}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<span class="fc-eco-block__val">{$ecosystem.memberRate}%</span>
|
|
|
|
|
<span class="fc-eco-block__val" id="fc-eco-member-rate">{$ecosystem.memberRate}%</span>
|
|
|
|
|
<span class="fc-eco-block__desc">{:__('会员转化率')}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -353,11 +400,11 @@
|
|
|
|
|
<div class="fc-eco-block__title"><i class="fa fa-shopping-bag text-success" aria-hidden="true"></i> {:__('商户入驻生态')}</div>
|
|
|
|
|
<div class="fc-eco-block__stat">
|
|
|
|
|
<div>
|
|
|
|
|
<span class="fc-eco-block__val">{$metrics.merchantCount}</span>
|
|
|
|
|
<span class="fc-eco-block__desc">{:__('入驻商户数')}</span>
|
|
|
|
|
<span class="fc-eco-block__val"><span id="fc-eco-merchant">{$ecosystem.merchantCount}</span> <small class="fc-eco-today">+{:$ecosystem['todayMerchantCount']} {:__('今日')}</small></span>
|
|
|
|
|
<span class="fc-eco-block__desc">{:__('已审入驻商户')}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<span class="fc-eco-block__val">{$metrics.recommendMerchant}</span>
|
|
|
|
|
<span class="fc-eco-block__val" id="fc-eco-recommend">{$ecosystem.recommendMerchant}</span>
|
|
|
|
|
<span class="fc-eco-block__desc">{:__('推荐商家数')}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -368,15 +415,15 @@
|
|
|
|
|
<div class="fc-eco-block__title"><i class="fa fa-sitemap text-primary" aria-hidden="true"></i> {:__('二级分销裂变')}</div>
|
|
|
|
|
<div class="fc-eco-block__stat">
|
|
|
|
|
<div>
|
|
|
|
|
<span class="fc-eco-block__val">{$ecosystem.distributorCount}</span>
|
|
|
|
|
<span class="fc-eco-block__val"><span id="fc-eco-dist">{$ecosystem.distributorCount}</span> <small class="fc-eco-today">+{:$ecosystem['todayDistributorCount']} {:__('今日')}</small></span>
|
|
|
|
|
<span class="fc-eco-block__desc">{:__('推广分销员')}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<span class="fc-eco-block__val is-gold">¥{$ecosystem.commissionSettled|number_format=2}</span>
|
|
|
|
|
<span class="fc-eco-block__val is-gold"><span id="fc-eco-settled">¥{$ecosystem.commissionSettled|number_format=2}</span> <small class="fc-eco-today">+{:__('今日')} ¥{$ecosystem.todayCommissionSettled|number_format=2}</small></span>
|
|
|
|
|
<span class="fc-eco-block__desc">{:__('已结佣金')}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<span class="fc-eco-block__val is-muted">¥{$ecosystem.commissionPending|number_format=2}</span>
|
|
|
|
|
<span class="fc-eco-block__val is-muted"><span id="fc-eco-pending">¥{$ecosystem.commissionPending|number_format=2}</span> <small class="fc-eco-today">+{:__('今日')} ¥{$ecosystem.todayCommissionPending|number_format=2}</small></span>
|
|
|
|
|
<span class="fc-eco-block__desc">{:__('待结佣金')}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -386,12 +433,12 @@
|
|
|
|
|
</section>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 底区:详细数据明细表(支持折叠和多时段联动) -->
|
|
|
|
|
<!-- 底区:详细数据明细表(支持折叠和日期区间联动) -->
|
|
|
|
|
<details class="fc-card fc-detail" open>
|
|
|
|
|
<summary class="fc-detail__summary">
|
|
|
|
|
<div class="fc-detail__title-wrap">
|
|
|
|
|
<i class="fa fa-table" aria-hidden="true"></i>
|
|
|
|
|
<span class="fc-card__title" id="fc-table-title">{:__('每日数据明细 (近 14 天)')}</span>
|
|
|
|
|
<span class="fc-card__title" id="fc-table-title">{:__('每日数据明细')} ({$period.label})</span>
|
|
|
|
|
</div>
|
|
|
|
|
<span class="fc-detail__hint">
|
|
|
|
|
<span class="fc-detail__hint-open">{:__('展开明细')}</span>
|
|
|
|
|
|