template2.vue 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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="">
  14. <view class="mt-20 rd-16rpx bg--w111-fff pt-36 pr-40 pb-36 pl-40 ml-20 mr-20 flex-between-center">
  15. <view class="flex-col flex-center text--w111-333" @click="goMenuPage('/pages/goods/order_list/index')">
  16. <text class="fs-36 fw-600 lh-36rpx num-fa-semi">{{ staticData.price }}</text>
  17. <text class="fs-24 lh-34rpx pt-16">
  18. 支付订单金额
  19. <text class="iconfont icon-ic_rightarrow fs-24"></text>
  20. </text>
  21. </view>
  22. <view class="v-Line"></view>
  23. <view class="flex-col flex-center text--w111-333" @click="goMenuPage('/pages/goods/order_list/index')">
  24. <text class="fs-36 fw-600 lh-36rpx num-fa-semi">{{ staticData.num }}</text>
  25. <text class="fs-24 lh-34rpx pt-16">
  26. 支付订单数
  27. <text class="iconfont icon-ic_rightarrow fs-24"></text>
  28. </text>
  29. </view>
  30. <view class="v-Line"></view>
  31. <view class="flex-col flex-center text--w111-333" @click="goMenuPage('/pages/goods/order_list/index')">
  32. <text class="fs-36 fw-600 lh-36rpx num-fa-semi">{{ staticData.consignment }}</text>
  33. <text class="fs-24 lh-34rpx pt-16">
  34. 待发货订单数
  35. <text class="iconfont icon-ic_rightarrow fs-24"></text>
  36. </text>
  37. </view>
  38. </view>
  39. </view>
  40. </template>
  41. <style lang="scss" scoped>
  42. .v-Line {
  43. width: 1px;
  44. height: 40rpx;
  45. background: #eee;
  46. }
  47. </style>