啊鑫
7 天以前 fca192d3c38c5dcfbb6ace8bc71d6078f6a079b2
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
@import '../style/var';
@import '../style/mixins/hairline';
 
.van-share-sheet {
  &__header {
    padding: @share-sheet-header-padding;
    text-align: center;
  }
 
  &__title {
    margin-top: @padding-xs;
    color: @share-sheet-title-color;
    font-weight: normal;
    font-size: @share-sheet-title-font-size;
    line-height: @share-sheet-title-line-height;
  }
 
  &__description {
    display: block;
    margin-top: @padding-xs;
    color: @share-sheet-description-color;
    font-size: @share-sheet-description-font-size;
    line-height: @share-sheet-description-line-height;
  }
 
  &__options {
    position: relative;
    display: flex;
    padding: @padding-md 0 @padding-md @padding-xs;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
 
    &--border::before {
      .hairline-top(@cell-border-color, @padding-md);
    }
 
    &::-webkit-scrollbar {
      height: 0;
    }
  }
 
  &__option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    user-select: none;
 
    &:active {
      opacity: @active-opacity;
    }
  }
 
  &__icon {
    width: @share-sheet-icon-size;
    height: @share-sheet-icon-size;
    margin: 0 @padding-md;
  }
 
  &__name {
    margin-top: @padding-xs;
    padding: 0 @padding-base;
    color: @share-sheet-option-name-color;
    font-size: @share-sheet-option-name-font-size;
  }
 
  &__option-description {
    padding: 0 @padding-base;
    color: @share-sheet-option-description-color;
    font-size: @share-sheet-option-description-font-size;
  }
 
  &__cancel {
    display: block;
    width: 100%;
    padding: 0;
    font-size: @share-sheet-cancel-button-font-size;
    line-height: @share-sheet-cancel-button-height;
    text-align: center;
    background: @share-sheet-cancel-button-background;
    border: none;
    cursor: pointer;
 
    &::before {
      display: block;
      height: @padding-xs;
      background-color: @background-color;
      content: ' ';
    }
 
    &:active {
      background-color: @active-color;
    }
  }
}