order.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <template>
  2. <view class="cart-list">
  3. <view style="padding: 0 36upx;line-height: 70upx;border-bottom: 14upx solid #F5F5F5;">已取消</view>
  4. <view class="adress">
  5. <view class="adressDetail">156355</view>
  6. <view>北京大酒店将诶怕</view>
  7. </view>
  8. <view style="padding: 30upx 36upx 15upx 36upx;border-bottom: 1px solid #F5F5F5;">
  9. <image src="" style="width: 50upx;height: 50upx; vertical-align: middle;background-color: #007AFF;"></image>
  10. <span style="padding-left: 16upx;">华南酒店</span>
  11. </view>
  12. <view class="shoplist">
  13. <view>
  14. <van-card
  15. title-class="changewidth"
  16. price-class ="priceClass"
  17. price="10.00"
  18. desc="描述信息"
  19. title="商品标题"
  20. thumb="https://gd3.alicdn.com/imgextra/i3/0/O1CN01IiyFQI1UGShoFKt1O_!!0-item_pic.jpg_400x400.jpg"
  21. >
  22. </van-card>
  23. </view>
  24. </view>
  25. <view class="topTip">
  26. <view style="font-size: 28upx;">合计:50</view>
  27. <view style="padding-left: 20upx;">运费: 50</view>
  28. </view>
  29. <view style="padding: 15upx 36upx;">订单编号:<text class="orderCode">DDERKIJGIOSJKGPE</text></view>
  30. <view class="adressbottom">
  31. <view>下单时间: <text style="font-weight: 500;" class="time">2552558555</text></view>
  32. <view>支付订单: <text class="time">2552558555</text></view>
  33. <view>商家发货: <text class="time">2552558555</text></view>
  34. <view>确认收货: <text class="time">2552558555</text></view>
  35. </view>
  36. <!-- 一取消 -->
  37. <!-- <view class="adressbutton">
  38. <button type="default">取消订单</button>
  39. </view> -->
  40. <!-- 代付款 -->
  41. <view class="adressbutton">
  42. <button size="mini" type="default">取消订单</button>
  43. <button size="mini" type="warn">去付款</button>
  44. </view>
  45. </view>
  46. </template>
  47. <script>
  48. export default {
  49. data() {
  50. return {
  51. }
  52. },
  53. methods: {
  54. }
  55. }
  56. </script>
  57. <style lang="scss">
  58. page {
  59. background-color: #F5F5F5;
  60. }
  61. .cart-list {
  62. background-color: #fff;
  63. }
  64. .topTip {
  65. display: flex;
  66. align-items: center;
  67. justify-content: flex-start;
  68. /* justify-content: space-between; */
  69. padding: 20upx 36upx;
  70. }
  71. .changewidth {
  72. color: #303133;
  73. font-size: 32upx;
  74. font-weight: 100!important;
  75. }
  76. .priceClass {
  77. color:#303133!important;
  78. font-weight: 100!important;
  79. font-size: 36upx;
  80. }
  81. .van-card {
  82. background-color: #fff!important;
  83. }
  84. .shoplist {
  85. display: flex;
  86. justify-content: space-between;
  87. align-items: center;
  88. }
  89. .adress {
  90. padding: 35upx 36upx;
  91. border-bottom: 14upx solid #F5F5F5;
  92. }
  93. .adressDetail {
  94. padding: 6upx 0;
  95. }
  96. .orderCode {
  97. padding-left: 15upx;
  98. font-weight: 500;
  99. }
  100. .adressbottom {
  101. padding: 0 36upx;
  102. color: #606266;
  103. border-top: 16upx solid #F5F5F5;
  104. view {
  105. padding: 14upx 0 28upx 0;
  106. }
  107. .time {
  108. padding-left: 16upx;
  109. }
  110. }
  111. .adressbutton {
  112. position: fixed;
  113. bottom: 0;
  114. height: 100upx;
  115. width: 100%;
  116. }
  117. </style>