detail.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <template>
  2. <zj-page-layout
  3. :hasFooter="true"
  4. :isScroll="true"
  5. :refresherTriggered="refresherTriggered"
  6. @refresherrefresh="refresherrefresh">
  7. <view class="address-container">
  8. <view class="icon"><text class="iconfont icon-dingwei1"></text></view>
  9. <view class="hasdata">
  10. <view class="name">莫先生<text>13686123123</text></view>
  11. <view class="address ellipsis-2">广东省广州市</view>
  12. </view>
  13. </view>
  14. <view class="goods-container">
  15. <view class="title">商品信息</view>
  16. <view class="goods">
  17. <image src="@/static/user/other_book.png"></image>
  18. <view class="main">
  19. <view class="name">商品名称</view>
  20. <view class="des">商品描述</view>
  21. <view class="price"><text>¥18.00</text>x2</view>
  22. </view>
  23. </view>
  24. <view class="total">订单总金额<text>¥1200.00</text></view>
  25. </view>
  26. <view class="order-container">
  27. <view class="title">订单信息</view>
  28. <view class="row">订单编号:1234321232</view>
  29. <view class="row">创建时间:1234321232</view>
  30. <view class="row">付款时间:1234321232</view>
  31. <view class="row">支付方式:1234321232</view>
  32. <view class="row">支付单号:1234321232</view>
  33. <view class="row">发货时间:1234321232</view>
  34. <view class="row">收货时间:1234321232</view>
  35. </view>
  36. <template slot="footer">
  37. <view class="bottom-container">
  38. <u-button text="取消订单" shape="circle"></u-button>
  39. </view>
  40. </template>
  41. </zj-page-layout>
  42. </template>
  43. <script>
  44. </script>
  45. <style lang="scss" scoped>
  46. .address-container {
  47. background: #FFFFFF;
  48. display: flex;
  49. align-items: center;
  50. height: 150rpx;
  51. padding: 0 20rpx;
  52. margin-top: 30rpx;
  53. .icon {
  54. width: 52rpx;
  55. height: 52rpx;
  56. border-radius: 50%;
  57. background: $theme-color;
  58. display: flex;
  59. flex-shrink: 0;
  60. justify-content: center;
  61. align-items: center;
  62. margin-right: 20rpx;
  63. .iconfont {
  64. font-size: 36rpx;
  65. color: #ffffff;
  66. }
  67. }
  68. .hasdata {
  69. .name {
  70. font-size: 32rpx;
  71. color: #333333;
  72. text {
  73. color: #999999;
  74. font-size: 28rpx;
  75. margin-left: 16rpx;
  76. }
  77. }
  78. .address {
  79. font-size: 28rpx;
  80. color: #666666;
  81. line-height: 34rpx;
  82. margin-top: 10rpx;
  83. }
  84. }
  85. }
  86. .goods-container {
  87. background: #ffffff;
  88. margin-top: 30rpx;
  89. padding: 30rpx 30rpx 0;
  90. .title {
  91. font-weight: 500;
  92. }
  93. .goods {
  94. display: flex;
  95. padding: 30rpx 0;
  96. image {
  97. width: 120rpx;
  98. height: 120rpx;
  99. }
  100. .main {
  101. flex: 1;
  102. margin-left: 20rpx;
  103. .name {
  104. font-size: 32rpx;
  105. }
  106. .des {
  107. margin-top: 12rpx;
  108. font-size: 28rpx;
  109. color: $reg-font;
  110. }
  111. .price {
  112. margin-top: 12rpx;
  113. text {
  114. color: $assist-color;
  115. font-weight: 500;
  116. font-size: 32rpx;
  117. margin-right: 12rpx;
  118. }
  119. }
  120. }
  121. }
  122. .total {
  123. border-top: 1px solid #eaeaea;
  124. height: 80rpx;
  125. display: flex;
  126. align-items: center;
  127. justify-content: end;
  128. font-size: 28rpx;
  129. text {
  130. margin-left: 12rpx;
  131. color: $assist-color;
  132. }
  133. }
  134. }
  135. .order-container {
  136. background: #ffffff;
  137. margin-top: 30rpx;
  138. padding: 30rpx;
  139. .title {
  140. font-weight: 500;
  141. margin-bottom: 20rpx;
  142. }
  143. .row {
  144. margin-top: 12rpx;
  145. font-size: 28rpx;
  146. text {
  147. color: $assist-color;
  148. }
  149. }
  150. }
  151. .bottom-container {
  152. padding: 20rpx 30rpx;
  153. display: flex;
  154. align-items: center;
  155. justify-content: flex-end;
  156. .u-button {
  157. width: auto;
  158. height: 60rpx;
  159. margin: 0;
  160. margin-left: 20rpx;
  161. }
  162. }
  163. </style>