orderDetail.vue 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. <template>
  2. <view class="order-detail">
  3. <topNavBar title="订单详情" />
  4. <view class="order-state padding-sm dflex-b w-full">
  5. <view class="state-left">
  6. <view class="state-info">卖家已发货</view>
  7. <view class="order-code">订单编号:M0000000000</view>
  8. </view>
  9. <uni-icons type="right" size="24" color="#FFF"></uni-icons>
  10. </view>
  11. <view class="gap"></view>
  12. <view class="padding-sm bg-main" @click="toaddr">
  13. <view class="dflex">
  14. <!-- <view class="iconfont icondizhi- margin-right ft-main"></view> -->
  15. <view class="addr-label">配送至</view>
  16. <view class="w-full dflex-wrap-w">
  17. <view>
  18. <text>张三</text>
  19. <text class="margin-left">18599999999</text>
  20. </view>
  21. <view class="margin-bottom-xs">
  22. <text> 广西壮族自治区-柳州市-鱼峰区 xxxx</text>
  23. </view>
  24. </view>
  25. </view>
  26. <!-- <view class="iconfont iconjiantou-01 fs-sm"></view> -->
  27. </view>
  28. <view class="gap"></view>
  29. <view class="goods-order-list padding-lr-sm">
  30. <view class="shop dflex-b ">
  31. <view class="shop-check">
  32. <text class="shop-name">店铺名称</text>
  33. </view>
  34. <view class="total-goods">共计2件商品</view>
  35. </view>
  36. <view class="goods-cart">
  37. <view class="goods-cont dflex-b padding-tb-16">
  38. <view class="goods-cart-info dflex-b">
  39. <view class="pic"></view>
  40. <view class="goods-cart-right">
  41. <view class="cart-title">商品名称商品名称</view>
  42. <view class="order-spec">
  43. <text>500g</text>
  44. </view>
  45. <view class="cart-row-info dflex-s">
  46. <view class="cart-price">
  47. ¥<text>12.30</text>
  48. </view>
  49. <view class="goods-num">×1</view>
  50. </view>
  51. </view>
  52. </view>
  53. </view>
  54. <view class="goods-cont dflex-b padding-tb-16">
  55. <view class="goods-cart-info dflex-b">
  56. <view class="pic"></view>
  57. <view class="goods-cart-right">
  58. <view class="cart-title">商品名称商品名称</view>
  59. <view class="order-spec">
  60. <text>500g</text>
  61. </view>
  62. <view class="cart-row-info dflex-s">
  63. <view class="cart-price">
  64. ¥<text>12.30</text>
  65. </view>
  66. <view class="goods-num">×1</view>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. </view>
  73. <!-- 金额明细 -->
  74. <view class="bg-main">
  75. <view class="dflex-b padding-lr padding-tb-sm">
  76. <view class="flex1">总金额</view>
  77. <view class=""><text style="font-size: 24rpx;">¥</text>46.32</view>
  78. </view>
  79. <view class="dflex-b padding-lr padding-tb-sm">
  80. <view class="flex1">运费 (总重:4.960 kg )</view>
  81. <view class="ft-base">-¥10.00</view>
  82. </view>
  83. <view class="dflex-b padding-lr padding-tb-sm">
  84. <view class="flex1">优惠金额</view>
  85. <view class="ft-base">0.00</view>
  86. </view>
  87. <view class="dflex-b padding-lr padding-tb-sm">
  88. <view class="margin-right-xl">备注</view>
  89. <input class="flex1 padding-sm" type="text" v-model="order_desc" placeholder="请填写买家备注"
  90. placeholder-class="placeholder" />
  91. </view>
  92. </view>
  93. <view class="gap"></view>
  94. <view class="w-full padding-sm order-info">
  95. <view class="row-cell dflex-b">
  96. <text>订单编号</text>
  97. <text class="cell-right">M0000000000</text>
  98. </view>
  99. <view class="row-cell dflex-b">
  100. <text>下单时间</text>
  101. <text class="cell-right">2024-03-25 12:23:36</text>
  102. </view>
  103. </view>
  104. <view class="gap"></view>
  105. <view class="gap"></view>
  106. <view class="bar-space"></view>
  107. <view class="order-btn">确认收货</view>
  108. </view>
  109. </template>
  110. <script>
  111. export default {
  112. data() {
  113. return {
  114. }
  115. },
  116. methods: {
  117. }
  118. }
  119. </script>
  120. <style lang="scss" scoped>
  121. .order-state{
  122. background-color: #F96C22;
  123. box-sizing: border-box;
  124. color: #FFF;
  125. .state-info{
  126. font-size: 14px;
  127. padding-bottom: 4px;
  128. }
  129. .order-code{
  130. font-size: 12px;
  131. }
  132. }
  133. .addr-label{
  134. padding: 6upx 0;
  135. border-radius:3px;
  136. background-color: #F6390D;
  137. color: #fff;
  138. width: 120upx;
  139. text-align: center;
  140. flex-shrink: 0;
  141. margin-right: 14upx;
  142. }
  143. .order-spec{
  144. padding-bottom: 10upx;
  145. }
  146. .shop{
  147. padding-top: 20upx;
  148. }
  149. .goods-num{
  150. font-size: 16px;
  151. padding-left: 20upx;
  152. }
  153. .sub-coupon{
  154. padding-top:20upx;
  155. padding-bottom: 0;
  156. color: #000;
  157. .coupon-name{
  158. font-weight: normal;
  159. }
  160. .mj-tag{
  161. background-color: #F6390D;
  162. >text{
  163. color: #FFF;
  164. }
  165. }
  166. }
  167. .total-goods{
  168. font-size: 12px;
  169. color: #999;
  170. }
  171. .submit-bar{
  172. height: 100upx;
  173. width: 100%;
  174. background-color: #FFF;
  175. position: fixed;
  176. left: 0;
  177. bottom: 0;
  178. .submit-total{
  179. font-size: 16px;
  180. font-weight: 700;
  181. color: #F6390D;
  182. }
  183. .submit-btn{
  184. background-image: $base-bg-gradient-color;
  185. height: 70upx;
  186. width: 200upx;
  187. color: #FFF;
  188. font-size: 14px;
  189. font-weight: 700;
  190. border-radius:35upx ;
  191. }
  192. }
  193. .order-btn{
  194. height: 76upx;
  195. border-radius: 38px;
  196. background-image: $base-bg-gradient-color;
  197. text-align: center;
  198. line-height: 76upx;
  199. color: #FFF;
  200. font-size: 14px;
  201. width: 90%;
  202. position: fixed;
  203. left: 5%;
  204. bottom: 30upx;
  205. z-index: 99;
  206. }
  207. .order-info{
  208. background-color: #FFF;
  209. box-sizing: border-box;
  210. }
  211. .row-cell{
  212. padding-bottom: 20upx;
  213. .cell-right{
  214. font-size: 12px;
  215. color: #999;
  216. }
  217. }
  218. .row-cell:last-child{
  219. padding-bottom: 0;
  220. }
  221. .pic{
  222. margin-right: 20upx;
  223. height: 160rpx;
  224. width: 160rpx;
  225. background-color: #EEE;
  226. }
  227. </style>