history.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <template>
  2. <view class="center">
  3. <view class="product">
  4. <image class="product-image" src="../../static/img/afternoon.png" mode=""></image>
  5. <view class="product-font font1">趣豆商城挂售礼盒</view>
  6. <view class="product-font font2">艺术家:李丹丹</view>
  7. <view class="product-font font2">创作时间:2022年01月30日</view>
  8. </view>
  9. <view class="main">
  10. <view class="main-item">
  11. <view class="main-left">日期</view>
  12. <view class="main-right">归属人</view>
  13. </view>
  14. <view class="main-item">
  15. <view class="main-left">2022年01月20日</view>
  16. <view class="main-right">林兰</view>
  17. </view>
  18. <view class="main-item">
  19. <view class="main-left">2022年01月20日</view>
  20. <view class="main-right">林兰</view>
  21. </view>
  22. <view class="main-item">
  23. <view class="main-left">2022年01月20日</view>
  24. <view class="main-right">林兰</view>
  25. </view>
  26. <view class="main-item">
  27. <view class="main-left">2022年01月20日</view>
  28. <view class="main-right">林兰</view>
  29. </view>
  30. </view>
  31. <view class="ma">
  32. <view class="ma-main">
  33. </view>
  34. <view class="ma-font">
  35. 溯源二维码
  36. </view>
  37. </view>
  38. </view>
  39. </template>
  40. <script></script>
  41. <style lang="scss">
  42. .center {
  43. background: #f8f8f8;
  44. height: auto;
  45. min-height: 100%;
  46. }
  47. .product {
  48. width: 670rpx;
  49. padding: 44rpx 0 40rpx 0;
  50. background: #ffffff;
  51. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  52. border-radius: 20rpx;
  53. margin: 34rpx auto 0;
  54. display: flex;
  55. flex-direction: column;
  56. align-items: center;
  57. .product-image {
  58. width: 300rpx;
  59. height: 300rpx;
  60. border-radius: 20rpx;
  61. }
  62. .product-font {
  63. font-size: 30rpx;
  64. font-family: PingFang SC;
  65. font-weight: bold;
  66. color: #1d2023;
  67. }
  68. .font1 {
  69. margin-top: 34rpx;
  70. }
  71. .font2 {
  72. margin-top: 44rpx;
  73. }
  74. }
  75. .main {
  76. width: 670rpx;
  77. background: #ffffff;
  78. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  79. border-radius: 20rpx;
  80. margin: 30rpx auto 0;
  81. .main-item:first-child {
  82. border-top: none;
  83. }
  84. .main-item {
  85. padding: 2rpx 20rpx;
  86. display: flex;
  87. align-items: center;
  88. height: 104rpx;
  89. border-top: 1px solid #dddddd;
  90. .main-left {
  91. width: 50%;
  92. text-align: center;
  93. font-size: 32rpx;
  94. font-family: PingFang SC;
  95. font-weight: bold;
  96. color: #1d2023;
  97. }
  98. .main-right {
  99. width: 50%;
  100. text-align: center;
  101. font-size: 32rpx;
  102. font-family: PingFang SC;
  103. font-weight: bold;
  104. color: #1d2023;
  105. }
  106. }
  107. }
  108. .ma {
  109. width: 670rpx;
  110. padding: 46rpx 0;
  111. background: #FFFFFF;
  112. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  113. border-radius: 20rpx;
  114. margin: 30rpx auto 0;
  115. .ma-main {
  116. width: 300rpx;
  117. height: 300rpx;
  118. margin: 0 auto;
  119. background: #000;
  120. }
  121. .ma-font {
  122. font-size: 30rpx;
  123. font-family: PingFang SC;
  124. font-weight: bold;
  125. color: #1D2023;
  126. margin-top: 34rpx;
  127. text-align: center;
  128. }
  129. }
  130. </style>