123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <!-- 第一行统计数据 -->
- <template>
- <el-row :gutter="14">
- <el-col :lg="4" :sm="8" :xs="24">
- <div class="sa-wnk">
- <img src="../../static/icon/icon-user.png" />
- <div class="sa-wnk-tv">
- <p class="sa-wnk-title">边民数量</p>
- <p class="sa-wnk-value">{{ sta.bm }}</p>
- </div>
- </div>
- </el-col>
- <el-col :lg="4" :sm="8" :xs="24">
- <div class="sa-wnk">
- <img src="../../static/icon/icon-goods.png" />
- <div class="sa-wnk-tv">
- <p class="sa-wnk-title">收购商数量</p>
- <p class="sa-wnk-value">{{ sta.purchaser }}</p>
- </div>
- </div>
- </el-col>
- <el-col :lg="4" :sm="8" :xs="24">
- <div class="sa-wnk">
- <img src="../../static/icon/icon-order.png" />
- <div class="sa-wnk-tv">
- <p class="sa-wnk-title">全部订单</p>
- <p class="sa-wnk-value">{{ sta.orders }}</p>
- </div>
- </div>
- </el-col>
- <el-col :lg="4" :sm="8" :xs="24">
- <div class="sa-wnk">
- <img src="../../static/icon/icon-money.png" />
- <div class="sa-wnk-tv">
- <p class="sa-wnk-title">累计交易额</p>
- <p class="sa-wnk-value">{{ sta.totalMoney }}</p>
- </div>
- </div>
- </el-col>
- <el-col :lg="4" :sm="8" :xs="24">
- <div class="sa-wnk">
- <img src="../../static/icon/finishMoney.png" />
- <div class="sa-wnk-tv">
- <p class="sa-wnk-title">完成交易额</p>
- <p class="sa-wnk-value">{{ sta.finishMoney }}</p>
- </div>
- </div>
- </el-col>
- <el-col :lg="4" :sm="8" :xs="24">
- <div class="sa-wnk">
- <img src="../../static/icon/jyz.png" />
- <div class="sa-wnk-tv">
- <p class="sa-wnk-title">交易中</p>
- <p class="sa-wnk-value">{{ sta.totalMoney-sta.finishMoney }}</p>
- </div>
- </div>
- </el-col>
- </el-row>
- </template>
- <script>
- module.exports = {
- props: {
- sta: {
- type: Object,
- default: {}
- }
- },
- data() {
- return {};
- },
- methods: {
- },
- created() {
- }
- };
- </script>
- <style scoped>
- /* 第一行 */
- .sa-wnk {
- background-color: #fff;
- border: 1px #ddd solid;
- margin-bottom: 14px;
- min-height: 100px;
- cursor: pointer;
- transition: all 0.3s;
- overflow: hidden;
- }
- .sa-wnk:hover {
- box-shadow: 0 0 20px #999;
- }
- .sa-wnk img {
- float: left;
- line-height: 100px;
- margin: 25px 0px 0 20px;
- width: 50px;
- height: 50px;
- vertical-align: middle;
- }
- .sa-wnk .sa-wnk-tv {
- float: left;
- margin-left: 10px;
- max-width: calc(100% - 100px);
- }
- .sa-wnk-title {
- margin-top: 25px;
- font-size: 16px;
- }
- .sa-wnk-value {
- margin-top: 4px;
- font-size: 24px;
- padding-bottom: 20px;
- }
- </style>
|