金诚优选前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 lines
2.5 KiB

  1. <template>
  2. <view>
  3. <lf-nav title="订单详情" :showIcon="true"></lf-nav>
  4. <view class="card goods">
  5. <view>
  6. <text class="lf-iconfont icon-Group- lf-font-30"></text>
  7. <text class="shop-name">精品超市</text>
  8. <text class="lf-iconfont icon-xiangyou lf-font-24"></text>
  9. </view>
  10. <view class="lf-flex lf-m-t-20">
  11. <image class="goods-img"></image>
  12. <view class="info">
  13. <view class="lf-font-26 lf-color-333 lf-line-1">爱他美较大婴儿配方奶粉较大配方奶粉较2段 </view>
  14. <view class="lf-font-24 lf-color-777">500g</view>
  15. <view class="lf-row-between" style="line-height: 1;">
  16. <text class="price">¥385</text>
  17. <text class="lf-font-28 lf-color-777">x 2</text>
  18. </view>
  19. </view>
  20. </view>
  21. <view class="order-num">
  22. <text>商品订单号</text>
  23. <text>7863465293852482642934</text>
  24. </view>
  25. </view>
  26. <view class="card">
  27. <view class="lf-row-between lf-font-28">
  28. <text class="lf-color-777">订单总价</text>
  29. <text class="lf-color-222">¥385</text>
  30. </view>
  31. <view class="lf-row-between lf-font-28 lf-m-t-30">
  32. <text class="lf-color-777">优惠券</text>
  33. <text style="color: #F63434;">-¥20</text>
  34. </view>
  35. </view>
  36. <view class="card">
  37. <view class="lf-row-between lf-font-28">
  38. <text class="lf-color-777">订单编号</text>
  39. <text class="lf-color-222">75894375395739345</text>
  40. </view>
  41. <view class="lf-row-between lf-font-28 lf-m-t-30">
  42. <text class="lf-color-777">创建时间</text>
  43. <text class="lf-color-222">2021-09-07 10:21:38</text>
  44. </view>
  45. </view>
  46. </view>
  47. </template>
  48. <script>
  49. export default {
  50. data(){
  51. return {
  52. }
  53. },
  54. onLoad(){
  55. },
  56. methods: {
  57. }
  58. }
  59. </script>
  60. <style>
  61. page{
  62. background-color: #F8F8F8;
  63. }
  64. </style>
  65. <style lang="scss" scoped="scoped">
  66. .card{
  67. height: max-content;
  68. width: 750rpx;
  69. padding: 30rpx 32rpx;
  70. background-color: #FFFFFF;
  71. &:nth-child(n+2){
  72. margin-top: 20rpx;
  73. }
  74. }
  75. .goods{
  76. .shop-name{
  77. font-size: 28rpx;
  78. color: #222222;
  79. font-weight: bold;
  80. margin: 0 15rpx;
  81. }
  82. .goods-img{
  83. width: 130rpx;
  84. height: 130rpx;
  85. border-radius: 4rpx;
  86. margin-right: 15rpx;
  87. background-color: #EEEEEE;
  88. }
  89. .info{
  90. width: 540rpx;
  91. height: 130rpx;
  92. display: flex;
  93. flex-direction: column;
  94. justify-content: space-around;
  95. .price{
  96. font-size: 32rpx;
  97. color: #F63434;
  98. font-weight: bold;
  99. }
  100. }
  101. .order-num{
  102. font-size: 24rpx;
  103. color: #999999;
  104. display: flex;
  105. justify-content: space-between;
  106. margin-top: 28rpx;
  107. }
  108. }
  109. </style>