template1.vue 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <script>
  2. export default {
  3. props: {
  4. staticData: {
  5. type: Object,
  6. default: () => {}
  7. }
  8. },
  9. inject: ['goMenuPage'],
  10. };
  11. </script>
  12. <template>
  13. <view class="pt-32 pr-24 pb-32 pl-24 bg--w111-fff rd-16rpx mt-20 ml-20 mr-20">
  14. <view class="fs-30 fw-500 lh-42rpx text--w111-333">运营统计</view>
  15. <view class="flex-between-center mt-14">
  16. <view class="w-208 rd-16rpx pt-24 pl-24 pb-20 flex-col bg_1" @click="goMenuPage('/pages/admin/order/index')">
  17. <text class="fs-24 text--w111-999 lh-34rpx">
  18. 支付金额
  19. <text class="iconfont icon-ic_rightarrow fs-24"></text>
  20. </text>
  21. <text class="fs-32 text--w111-333 fw-bold lh-52rpx num-fa-semi">{{ staticData.price }}</text>
  22. </view>
  23. <view class="w-208 rd-16rpx pt-24 pl-24 pb-20 flex-col bg_2" @click="goMenuPage('/pages/admin/order/index')">
  24. <text class="fs-24 text--w111-999 lh-34rpx">
  25. 支付订单数
  26. <text class="iconfont icon-ic_rightarrow fs-24"></text>
  27. </text>
  28. <text class="fs-32 text--w111-333 fw-bold lh-52rpx num-fa-semi">{{ staticData.num }}</text>
  29. </view>
  30. <view class="w-208 rd-16rpx pt-24 pl-24 pb-20 flex-col bg_3" @click="goMenuPage('/pages/admin/orderList/index?types=1')">
  31. <text class="fs-24 text--w111-999 lh-34rpx">
  32. 待发货订单
  33. <text class="iconfont icon-ic_rightarrow fs-24"></text>
  34. </text>
  35. <text class="fs-32 text--w111-333 fw-bold lh-52rpx num-fa-semi">{{ staticData.consignment }}</text>
  36. </view>
  37. </view>
  38. </view>
  39. </template>
  40. <style lang="scss" scoped>
  41. .bg_1 {
  42. background-image: url('@/static/img/group1_pic.png');
  43. background-size: 100%;
  44. }
  45. .bg_2 {
  46. background-image: url('@/static/img/group2_pic.png');
  47. background-size: 100%;
  48. }
  49. .bg_3 {
  50. background-image: url('@/static/img/group3_pic.png');
  51. background-size: 100%;
  52. }
  53. </style>