- 新增大量图片资源,包括图标、背景图、海报等,用于页面展示 - 添加字体文件及样式配置,支持自定义字体 - 引入 uni-ui 组件库,包括图标、弹窗、日期选择器等常用组件 - 添加网络状态监听、加密工具等基础工具函数 - 配置 Vuex 状态管理,包括购物车数量、热门搜索词等 - 增加页面组件,如用户协议、分销信息、提现状态等 - 配置项目构建和忽略文件,优化开发体验
49 lines
1.4 KiB
Vue
49 lines
1.4 KiB
Vue
<script>
|
|
export default {
|
|
props: {
|
|
staticData: {
|
|
type: Object,
|
|
default: () => {}
|
|
}
|
|
},
|
|
inject: ['goMenuPage'],
|
|
};
|
|
</script>
|
|
|
|
<template>
|
|
<view class="">
|
|
<view class="mt-20 rd-16rpx bg--w111-fff pt-36 pr-40 pb-36 pl-40 ml-20 mr-20 flex-between-center">
|
|
<view class="flex-col flex-center text--w111-333" @click="goMenuPage('/pages/admin/order/index')">
|
|
<text class="fs-36 fw-600 lh-36rpx num-fa-semi">{{ staticData.price }}</text>
|
|
<text class="fs-24 lh-34rpx pt-16">
|
|
支付订单金额
|
|
<text class="iconfont icon-ic_rightarrow fs-24"></text>
|
|
</text>
|
|
</view>
|
|
<view class="v-Line"></view>
|
|
<view class="flex-col flex-center text--w111-333" @click="goMenuPage('/pages/admin/order/index')">
|
|
<text class="fs-36 fw-600 lh-36rpx num-fa-semi">{{ staticData.num }}</text>
|
|
<text class="fs-24 lh-34rpx pt-16">
|
|
支付订单数
|
|
<text class="iconfont icon-ic_rightarrow fs-24"></text>
|
|
</text>
|
|
</view>
|
|
<view class="v-Line"></view>
|
|
<view class="flex-col flex-center text--w111-333" @click="goMenuPage('/pages/admin/orderList/index?types=1')">
|
|
<text class="fs-36 fw-600 lh-36rpx num-fa-semi">{{ staticData.consignment }}</text>
|
|
<text class="fs-24 lh-34rpx pt-16">
|
|
待发货订单数
|
|
<text class="iconfont icon-ic_rightarrow fs-24"></text>
|
|
</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<style lang="scss" scoped>
|
|
.v-Line {
|
|
width: 1px;
|
|
height: 40rpx;
|
|
background: #eee;
|
|
}
|
|
</style> |