保誠-保戶業務員媒合平台
Tomas
2022-05-19 957a1f10a06fdbb76f1a0ba94fe44126c613fee3
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
 
.vue-scroll-picker {
  position: relative;
  width: 100%;
  height: 10em;
  overflow: hidden;
}
.vue-scroll-picker-list {
  position: absolute;
  left:0;
  right:0;
  top: 0;
  bottom: 0;
}
.vue-scroll-picker-list-rotator {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% - .6em);
  &.-transition {
    transition: top ease 200ms;
  }
}
.vue-scroll-picker-item {
  text-align: center;
  height: 1.2em;
  line-height: 1.2em;
  &.-placeholder {
    color: #aaa;
  }    
}
 
.vue-scroll-picker-layer {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  .top,
  .middle,
  .bottom {
    position: absolute;
  }
  .top {
    box-sizing: border-box;
    border-bottom: 1px solid #c8c7cc;
    background: linear-gradient(180deg,#fff 10%,rgba(255, 255, 255, .7));
    top: 0;
    left: 0;
    right: 0;
    height: calc(50% - 1em); // 96
    cursor: pointer;
  }
  .middle {
    top: calc(50% - 1em);
    left: 0;
    right: 0;
    bottom: calc(50% - 1em);
  }
  .bottom {
    border-top: 1px solid #c8c7cc;
    background: linear-gradient(0deg,#fff 10%,rgba(255, 255, 255, .7));
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(50% - 1em);
    cursor: pointer;
  }   
}