layout_order_detail.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <DirectionalLayout
  3. xmlns:ohos="http://schemas.huawei.com/res/ohos"
  4. ohos:height="match_parent"
  5. ohos:width="match_parent"
  6. ohos:orientation="vertical"
  7. ohos:background_element="#FFFFFFFF"
  8. ohos:padding="16vp">
  9. <!-- 标题 -->
  10. <Text
  11. ohos:id="$+id:detail_title"
  12. ohos:height="match_content"
  13. ohos:width="match_parent"
  14. ohos:text="订单详情"
  15. ohos:text_size="18fp"
  16. ohos:text_color="#FF000000"
  17. ohos:text_weight="600"
  18. ohos:bottom_margin="16vp"/>
  19. <!-- 商品名称 -->
  20. <DirectionalLayout
  21. ohos:height="match_content"
  22. ohos:width="match_parent"
  23. ohos:orientation="horizontal"
  24. ohos:bottom_margin="12vp">
  25. <Text
  26. ohos:height="match_content"
  27. ohos:width="80vp"
  28. ohos:text="商品名称:"
  29. ohos:text_size="14fp"
  30. ohos:text_color="#FF666666"/>
  31. <Text
  32. ohos:id="$+id:detail_goods_name"
  33. ohos:height="match_content"
  34. ohos:width="0vp"
  35. ohos:weight="1"
  36. ohos:text="--"
  37. ohos:text_size="14fp"
  38. ohos:text_color="#FF000000"/>
  39. </DirectionalLayout>
  40. <!-- 业务类型 -->
  41. <DirectionalLayout
  42. ohos:height="match_content"
  43. ohos:width="match_parent"
  44. ohos:orientation="horizontal"
  45. ohos:bottom_margin="12vp">
  46. <Text
  47. ohos:height="match_content"
  48. ohos:width="80vp"
  49. ohos:text="业务类型:"
  50. ohos:text_size="14fp"
  51. ohos:text_color="#FF666666"/>
  52. <Text
  53. ohos:id="$+id:detail_biz_type"
  54. ohos:height="match_content"
  55. ohos:width="0vp"
  56. ohos:weight="1"
  57. ohos:text="--"
  58. ohos:text_size="14fp"
  59. ohos:text_color="#FF000000"/>
  60. </DirectionalLayout>
  61. <!-- 车场名称 -->
  62. <DirectionalLayout
  63. ohos:height="match_content"
  64. ohos:width="match_parent"
  65. ohos:orientation="horizontal"
  66. ohos:bottom_margin="12vp">
  67. <Text
  68. ohos:height="match_content"
  69. ohos:width="80vp"
  70. ohos:text="车场名称:"
  71. ohos:text_size="14fp"
  72. ohos:text_color="#FF666666"/>
  73. <Text
  74. ohos:id="$+id:detail_park_name"
  75. ohos:height="match_content"
  76. ohos:width="0vp"
  77. ohos:weight="1"
  78. ohos:text="--"
  79. ohos:text_size="14fp"
  80. ohos:text_color="#FF000000"/>
  81. </DirectionalLayout>
  82. <!-- 支付时间 -->
  83. <DirectionalLayout
  84. ohos:height="match_content"
  85. ohos:width="match_parent"
  86. ohos:orientation="horizontal"
  87. ohos:bottom_margin="12vp">
  88. <Text
  89. ohos:height="match_content"
  90. ohos:width="80vp"
  91. ohos:text="支付时间:"
  92. ohos:text_size="14fp"
  93. ohos:text_color="#FF666666"/>
  94. <Text
  95. ohos:id="$+id:detail_pay_time"
  96. ohos:height="match_content"
  97. ohos:width="0vp"
  98. ohos:weight="1"
  99. ohos:text="--"
  100. ohos:text_size="14fp"
  101. ohos:text_color="#FF000000"/>
  102. </DirectionalLayout>
  103. <!-- 金额 -->
  104. <DirectionalLayout
  105. ohos:height="match_content"
  106. ohos:width="match_parent"
  107. ohos:orientation="horizontal"
  108. ohos:bottom_margin="12vp">
  109. <Text
  110. ohos:height="match_content"
  111. ohos:width="80vp"
  112. ohos:text="支付金额:"
  113. ohos:text_size="14fp"
  114. ohos:text_color="#FF666666"/>
  115. <Text
  116. ohos:id="$+id:detail_amount"
  117. ohos:height="match_content"
  118. ohos:width="0vp"
  119. ohos:weight="1"
  120. ohos:text="¥0.00"
  121. ohos:text_size="16fp"
  122. ohos:text_color="#FA6332"
  123. ohos:text_weight="600"/>
  124. </DirectionalLayout>
  125. </DirectionalLayout>