trajectory.vue 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <template>
  2. <view class="trajectory">
  3. <view class="title">
  4. 访问轨迹
  5. </view>
  6. <time-axis>
  7. <template #title>
  8. <text>08-28 18:30</text>
  9. </template>
  10. <template #content>
  11. <view class="time-axis-content">
  12. <image src="../../../../static/temp/icon-new@2x.png" class="axis-product" mode=""></image>
  13. <view class="axis-product-info">
  14. <view class="product-title">【商品】</view>
  15. <view class="product-info">Prostrolane Nature-B 珀洛丽肽焕活
  16. 修颜精华液</view>
  17. </view>
  18. </view>
  19. </template>
  20. </time-axis>
  21. </view>
  22. </template>
  23. <script>
  24. import TimeAxis from './time-axis.vue'
  25. export default {
  26. props: {},
  27. components: {
  28. TimeAxis,
  29. },
  30. data() {
  31. return {}
  32. },
  33. }
  34. </script>
  35. <style lang="scss">
  36. .trajectory {
  37. margin: 24rpx auto;
  38. width: 702rpx;
  39. background-color: #fff;
  40. border-radius: 16rpx;
  41. padding: 40rpx 32rpx;
  42. box-sizing: border-box;
  43. .title {
  44. color: #333333;
  45. font-size: 28rpx;
  46. font-weight: bold;
  47. margin-bottom: 30rpx;
  48. }
  49. }
  50. .axis-product {
  51. width: 136rpx;
  52. height: 136rpx;
  53. object-fit: contain;
  54. }
  55. .axis-product-info {
  56. display: flex;
  57. flex-direction: column;
  58. justify-content: space-between;
  59. height: 136rpx;
  60. width: 426rpx;
  61. color: #333333;
  62. font-size: 26rpx;
  63. margin-left: 24rpx;
  64. }
  65. .time-axis-content {
  66. display: flex;
  67. align-items: center;
  68. }
  69. </style>