mallOrderForm.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <template>
  2. <!-- 商城订单 -->
  3. <view class="mall">
  4. <view class="mall-top"> <text class="mall-title">{{i18n.mallOrders}}</text>
  5. <view class="all" @click="toOrderFrom(1)"> <text>{{i18n.whole}}</text>
  6. <image class="right" src='../../../static/mine/right.png' mode=""></image>
  7. </view>
  8. </view>
  9. <view class="order-form">
  10. <view class="icon-center" @click="toOrderFrom(2)">
  11. <image class="form-icon" src='../../../static/mine/310.png' mode=""></image>
  12. <view class="characters">{{i18n.pendingPayment}}</view>
  13. </view>
  14. <view class="icon-center" @click="toOrderFrom(3)">
  15. <image class="form-icon" src='../../../static/mine/311.png' mode=""></image>
  16. <view class="characters">{{i18n.joiningGroups}}</view>
  17. </view>
  18. <view class="icon-center" @click="toOrderFrom(4)">
  19. <image class="form-icon" src='../../../static/mine/312.png' mode=""></image>
  20. <view class="characters">{{i18n.toBeShipped}}</view>
  21. </view>
  22. <view class="icon-center" @click="toOrderFrom(5)">
  23. <image class="form-icon" src='../../../static/mine/313.png' mode=""></image>
  24. <view class="characters">{{i18n.toBeReceived}}</view>
  25. </view>
  26. <view class="icon-center" @click="toOrderFrom(7)">
  27. <image class="form-icon" src='../../../static/mine/314.png' mode=""></image>
  28. <view class="characters">{{i18n.refund}}</view>
  29. </view>
  30. </view>
  31. </view>
  32. </template>
  33. <script>
  34. export default {
  35. data(){
  36. return {}
  37. },
  38. computed:{
  39. i18n(){
  40. return this.$t('index')
  41. }
  42. },
  43. methods:{
  44. toOrderFrom(num){
  45. uni.navigateTo({
  46. url:`/pageC/orderForm/orderForm?followId=${num}`
  47. })
  48. }
  49. }
  50. }
  51. </script>
  52. <style lang="scss">
  53. .mall{
  54. height: 100px;
  55. width: 100%;
  56. background-color: #fff;
  57. border-radius: 10px;
  58. padding-top: 14px;
  59. margin-top: 10px;
  60. .mall-top{
  61. display: flex;
  62. justify-content: space-between;
  63. margin: 0 10px;
  64. .mall-title{
  65. font-size: 14px;
  66. color: #222;
  67. font-weight: 600;
  68. }
  69. .all{
  70. color: #333;
  71. font-size: 12px;
  72. display: flex;
  73. align-items: center;
  74. .right{
  75. width: 10px;
  76. height: 10px;
  77. }
  78. }
  79. }
  80. .order-form{
  81. display: flex;
  82. justify-content: space-around;
  83. margin-top: 18px;
  84. .icon-center{
  85. width: 15%;
  86. display: flex;
  87. flex-wrap: wrap;
  88. justify-content: center;
  89. flex-direction: column;
  90. align-items: center;
  91. }
  92. .form-icon{
  93. width: 24px;
  94. height: 22px;
  95. }
  96. .characters{
  97. color: #202020;
  98. font-size: 12px;
  99. margin-top: 10px;
  100. }
  101. }
  102. }
  103. </style>