Blame view

components/thorui/tui-time-axis/tui-time-axis.vue 575 Bytes
46b6767c   刘淇   init 提交到库
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
  <template>
  	<view class="tui-timeaxis-class tui-time-axis">
  		<slot></slot>
  	</view>
  </template>
  
  <script>
  	export default {
  		name:"tuiTimeAxis",
  		data() {
  			return {
  
  			};
  		}
  	}
  </script>
  
  <style scoped>
  	.tui-time-axis {
  		padding-left: 20px;
  		box-sizing: border-box;
  		position: relative;
  	}
  
  	.tui-time-axis::before {
  		content: " ";
  		position: absolute;
  		left: 0;
  		top: 0;
  		width: 1px;
  		bottom: 0;
  		border-left: 1px solid #ddd;
  		-webkit-transform-origin: 0 0;
  		transform-origin: 0 0;
  		-webkit-transform: scaleX(0.5);
  		transform: scaleX(0.5);
  	}
  </style>