| | |
| | | <template> |
| | | <div class="page-header-index-wide"> |
| | | <!--<a-row :gutter="24">--> |
| | | <!--<a-col :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px' }">--> |
| | | <!--<chart-card :loading="loading" title="总销售额" total="¥126,560">--> |
| | | <!--<a-tooltip title="指标说明" slot="action">--> |
| | | <!--<a-icon type="info-circle-o" />--> |
| | | <!--</a-tooltip>--> |
| | | <!--<div>--> |
| | | <!--<trend flag="up" style="margin-right: 16px;">--> |
| | | <!--<span slot="term">周同比</span>--> |
| | | <!--12%--> |
| | | <!--</trend>--> |
| | | <!--<trend flag="down">--> |
| | | <!--<span slot="term">日同比</span>--> |
| | | <!--11%--> |
| | | <!--</trend>--> |
| | | <!--</div>--> |
| | | <!--<template slot="footer">日均销售额<span>¥ 234.56</span></template>--> |
| | | <!--</chart-card>--> |
| | | <!--</a-col>--> |
| | | <!--<a-col :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px' }">--> |
| | | <!--<chart-card :loading="loading" title="订单量" :total="8846 | NumberFormat">--> |
| | | <!--<a-tooltip title="指标说明" slot="action">--> |
| | | <!--<a-icon type="info-circle-o" />--> |
| | | <!--</a-tooltip>--> |
| | | <!--<div>--> |
| | | <!--<mini-area />--> |
| | | <!--</div>--> |
| | | <!--<template slot="footer">日订单量<span> {{ '1234' | NumberFormat }}</span></template>--> |
| | | <!--</chart-card>--> |
| | | <!--</a-col>--> |
| | | <!--<a-col :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px' }">--> |
| | | <!--<chart-card :loading="loading" title="支付笔数" :total="6560 | NumberFormat">--> |
| | | <!--<a-tooltip title="指标说明" slot="action">--> |
| | | <!--<a-icon type="info-circle-o" />--> |
| | | <!--</a-tooltip>--> |
| | | <!--<div>--> |
| | | <!--<mini-bar :height="40" />--> |
| | | <!--</div>--> |
| | | <!--<template slot="footer">转化率 <span>60%</span></template>--> |
| | | <!--</chart-card>--> |
| | | <!--</a-col>--> |
| | | <!--<a-col :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px' }">--> |
| | | <!--<chart-card :loading="loading" title="运营活动效果" total="78%">--> |
| | | <!--<a-tooltip title="指标说明" slot="action">--> |
| | | <!--<a-icon type="info-circle-o" />--> |
| | | <!--</a-tooltip>--> |
| | | <!--<div>--> |
| | | <!--<mini-progress color="rgb(19, 194, 194)" :target="80" :percentage="78" :height="8" />--> |
| | | <!--</div>--> |
| | | <!--<template slot="footer">--> |
| | | <!--<trend flag="down" style="margin-right: 16px;">--> |
| | | <!--<span slot="term">同周比</span>--> |
| | | <!--12%--> |
| | | <!--</trend>--> |
| | | <!--<trend flag="up">--> |
| | | <!--<span slot="term">日环比</span>--> |
| | | <!--80%--> |
| | | <!--</trend>--> |
| | | <!--</template>--> |
| | | <!--</chart-card>--> |
| | | <!--</a-col>--> |
| | | <!--</a-row>--> |
| | | <a-row :gutter="24"> |
| | | <a-col |
| | | :sm="24" |
| | | :md="12" |
| | | :xl="6" |
| | | :style="{ marginBottom: '24px' }" |
| | | > |
| | | <chart-card |
| | | :loading="loading" |
| | | title="总销售额" |
| | | total="¥126,560" |
| | | > |
| | | <a-tooltip |
| | | title="指标说明" |
| | | slot="action" |
| | | > |
| | | <a-icon type="info-circle-o" /> |
| | | </a-tooltip> |
| | | <div> |
| | | <trend |
| | | flag="up" |
| | | style="margin-right: 16px;" |
| | | > |
| | | <span slot="term">周同比</span> |
| | | 12% |
| | | </trend> |
| | | <trend flag="down"> |
| | | <span slot="term">日同比</span> |
| | | 11% |
| | | </trend> |
| | | </div> |
| | | <template slot="footer">日均销售额<span>¥ 234.56</span></template> |
| | | </chart-card> |
| | | </a-col> |
| | | <a-col |
| | | :sm="24" |
| | | :md="12" |
| | | :xl="6" |
| | | :style="{ marginBottom: '24px' }" |
| | | > |
| | | <chart-card |
| | | :loading="loading" |
| | | title="订单量" |
| | | :total="8846 | NumberFormat" |
| | | > |
| | | <a-tooltip |
| | | title="指标说明" |
| | | slot="action" |
| | | > |
| | | <a-icon type="info-circle-o" /> |
| | | </a-tooltip> |
| | | <div> |
| | | <mini-area /> |
| | | </div> |
| | | <template slot="footer">日订单量<span> {{ '1234' | NumberFormat }}</span></template> |
| | | </chart-card> |
| | | </a-col> |
| | | <a-col |
| | | :sm="24" |
| | | :md="12" |
| | | :xl="6" |
| | | :style="{ marginBottom: '24px' }" |
| | | > |
| | | <chart-card |
| | | :loading="loading" |
| | | title="支付笔数" |
| | | :total="6560 | NumberFormat" |
| | | > |
| | | <a-tooltip |
| | | title="指标说明" |
| | | slot="action" |
| | | > |
| | | <a-icon type="info-circle-o" /> |
| | | </a-tooltip> |
| | | <div> |
| | | <mini-bar :height="40" /> |
| | | </div> |
| | | <template slot="footer">转化率 <span>60%</span></template> |
| | | </chart-card> |
| | | </a-col> |
| | | <a-col |
| | | :sm="24" |
| | | :md="12" |
| | | :xl="6" |
| | | :style="{ marginBottom: '24px' }" |
| | | > |
| | | <chart-card |
| | | :loading="loading" |
| | | title="运营活动效果" |
| | | total="78%" |
| | | > |
| | | <a-tooltip |
| | | title="指标说明" |
| | | slot="action" |
| | | > |
| | | <a-icon type="info-circle-o" /> |
| | | </a-tooltip> |
| | | <div> |
| | | <mini-progress |
| | | color="rgb(19, 194, 194)" |
| | | :target="80" |
| | | :percentage="78" |
| | | :height="8" |
| | | /> |
| | | </div> |
| | | <template slot="footer"> |
| | | <trend |
| | | flag="down" |
| | | style="margin-right: 16px;" |
| | | > |
| | | <span slot="term">同周比</span> |
| | | 12% |
| | | </trend> |
| | | <trend flag="up"> |
| | | <span slot="term">日环比</span> |
| | | 80% |
| | | </trend> |
| | | </template> |
| | | </chart-card> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <!--<a-card :loading="loading" :bordered="false" :body-style="{padding: '0'}">--> |
| | | <!--<div class="salesCard">--> |
| | | <!--<a-tabs default-active-key="1" size="large" :tab-bar-style="{marginBottom: '24px', paddingLeft: '16px'}">--> |
| | | <!--<div class="extra-wrapper" slot="tabBarExtraContent">--> |
| | | <!--<div class="extra-item">--> |
| | | <!--<a>今日</a>--> |
| | | <!--<a>本周</a>--> |
| | | <!--<a>本月</a>--> |
| | | <!--<a>本年</a>--> |
| | | <!--</div>--> |
| | | <!--<a-range-picker :style="{width: '256px'}" />--> |
| | | <!--</div>--> |
| | | <!--<a-tab-pane loading="true" tab="销售额" key="1">--> |
| | | <!--<a-row>--> |
| | | <!--<a-col :xl="16" :lg="12" :md="12" :sm="24" :xs="24">--> |
| | | <!--<bar title="销售额排行" :dataSource="barData"/>--> |
| | | <!--</a-col>--> |
| | | <!--<a-col :xl="8" :lg="12" :md="12" :sm="24" :xs="24">--> |
| | | <!--<rank-list title="门店销售排行榜" :list="rankList"/>--> |
| | | <!--</a-col>--> |
| | | <!--</a-row>--> |
| | | <!--</a-tab-pane>--> |
| | | <!--<a-tab-pane tab="销售趋势" key="2">--> |
| | | <!--<a-row>--> |
| | | <!--<a-col :xl="16" :lg="12" :md="12" :sm="24" :xs="24">--> |
| | | <!--<bar title="销售额趋势" :dataSource="barData"/>--> |
| | | <!--</a-col>--> |
| | | <!--<a-col :xl="8" :lg="12" :md="12" :sm="24" :xs="24">--> |
| | | <!--<rank-list title="门店销售排行榜" :list="rankList"/>--> |
| | | <!--</a-col>--> |
| | | <!--</a-row>--> |
| | | <!--</a-tab-pane>--> |
| | | <!--</a-tabs>--> |
| | | <!--</div>--> |
| | | <!--</a-card>--> |
| | | <a-card |
| | | :loading="loading" |
| | | :bordered="false" |
| | | :body-style="{padding: '0'}" |
| | | > |
| | | <div class="salesCard"> |
| | | <a-tabs |
| | | default-active-key="1" |
| | | size="large" |
| | | :tab-bar-style="{marginBottom: '24px', paddingLeft: '16px'}" |
| | | > |
| | | <div |
| | | class="extra-wrapper" |
| | | slot="tabBarExtraContent" |
| | | > |
| | | <div class="extra-item"> |
| | | <a>今日</a> |
| | | <a>本周</a> |
| | | <a>本月</a> |
| | | <a>本年</a> |
| | | </div> |
| | | <a-range-picker :style="{width: '256px'}" /> |
| | | </div> |
| | | <a-tab-pane |
| | | loading="true" |
| | | tab="销售额" |
| | | key="1" |
| | | > |
| | | <a-row> |
| | | <a-col |
| | | :xl="16" |
| | | :lg="12" |
| | | :md="12" |
| | | :sm="24" |
| | | :xs="24" |
| | | > |
| | | <bar |
| | | title="销售额排行" |
| | | :dataSource="barData" |
| | | /> |
| | | </a-col> |
| | | <a-col |
| | | :xl="8" |
| | | :lg="12" |
| | | :md="12" |
| | | :sm="24" |
| | | :xs="24" |
| | | > |
| | | <rank-list |
| | | title="门店销售排行榜" |
| | | :list="rankList" |
| | | /> |
| | | </a-col> |
| | | </a-row> |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab="销售趋势" |
| | | key="2" |
| | | > |
| | | <a-row> |
| | | <a-col |
| | | :xl="16" |
| | | :lg="12" |
| | | :md="12" |
| | | :sm="24" |
| | | :xs="24" |
| | | > |
| | | <bar |
| | | title="销售额趋势" |
| | | :dataSource="barData" |
| | | /> |
| | | </a-col> |
| | | <a-col |
| | | :xl="8" |
| | | :lg="12" |
| | | :md="12" |
| | | :sm="24" |
| | | :xs="24" |
| | | > |
| | | <rank-list |
| | | title="门店销售排行榜" |
| | | :list="rankList" |
| | | /> |
| | | </a-col> |
| | | </a-row> |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | | </div> |
| | | </a-card> |
| | | |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-card :loading="loading" :bordered="false" title="最近一周访问量统计" :style="{ marginTop: '24px' }"> |
| | | <a-card |
| | | :loading="loading" |
| | | :bordered="false" |
| | | title="最近一周访问量统计" |
| | | :style="{ marginTop: '24px' }" |
| | | > |
| | | <a-row> |
| | | <a-col :span="6"> |
| | | <head-info title="今日IP" :content="loginfo.todayIp"></head-info> |
| | | <head-info |
| | | title="今日IP" |
| | | :content="loginfo.todayIp" |
| | | ></head-info> |
| | | </a-col> |
| | | <a-col :span="2"> |
| | | <a-spin class='circle-cust'> |
| | | <a-icon slot="indicator" type="environment" style="font-size: 24px" /> |
| | | <a-icon |
| | | slot="indicator" |
| | | type="environment" |
| | | style="font-size: 24px" |
| | | /> |
| | | </a-spin> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <head-info title="今日访问" :content="loginfo.todayVisitCount"></head-info> |
| | | <head-info |
| | | title="今日访问" |
| | | :content="loginfo.todayVisitCount" |
| | | ></head-info> |
| | | </a-col> |
| | | <a-col :span="2"> |
| | | <a-spin class='circle-cust'> |
| | | <a-icon slot="indicator" type="team" style="font-size: 24px" /> |
| | | <a-icon |
| | | slot="indicator" |
| | | type="team" |
| | | style="font-size: 24px" |
| | | /> |
| | | </a-spin> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <head-info title="总访问量" :content="loginfo.totalVisitCount"></head-info> |
| | | <head-info |
| | | title="总访问量" |
| | | :content="loginfo.totalVisitCount" |
| | | ></head-info> |
| | | </a-col> |
| | | <a-col :span="2"> |
| | | <a-spin class='circle-cust'> |
| | | <a-icon slot="indicator" type="rise" style="font-size: 24px" /> |
| | | <a-icon |
| | | slot="indicator" |
| | | type="rise" |
| | | style="font-size: 24px" |
| | | /> |
| | | </a-spin> |
| | | </a-col> |
| | | </a-row> |
| | | <line-chart-multid :fields="visitFields" :dataSource="visitInfo"></line-chart-multid> |
| | | <line-chart-multid |
| | | :fields="visitFields" |
| | | :dataSource="visitInfo" |
| | | ></line-chart-multid> |
| | | </a-card> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | } |
| | | |
| | | span { |
| | | color: rgba(0, 0, 0, .45); |
| | | color: rgba(0, 0, 0, 0.45); |
| | | display: inline-block; |
| | | font-size: .95rem; |
| | | font-size: 0.95rem; |
| | | line-height: 42px; |
| | | margin-bottom: 4px; |
| | | } |