dengjunjie
5 天以前 4f39dcc195f28fa275fc2d065fbf1bf6a46c21b7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<template>
  <view class="tn-time-line-class tn-time-line">
    <slot></slot>
  </view>
</template>
 
<script>
  export default {
    name: 'tn-time-line',
    props: {
      
    },
    data() {
      return {
        
      }
    }
  }
</script>
 
<style lang="scss" scoped>
  
  .tn-time-line {
    padding-left: 40rpx;
    position: relative;
    
    &::before {
      content: '';
      position: absolute;
      width: 1px;
      left: 0;
      top: 12rpx;
      bottom: 0;
      border-left: 1px solid #AAAAAA;
      transform-origin: 0 0;
      transform: scaleX(0.5);
    }
  }
</style>