yj
2024-12-05 ac3234c308e86f20cc63465573f321561ee00690
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
@charset "UTF-8";
/* 页面左右间距 */
/* 文字尺寸 */
/*文字颜色*/
/* 边框颜色 */
/* 图片加载中颜色 */
/* 行为相关颜色 */
.neil-modal {
  position: fixed;
  visibility: hidden;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: visibility 200ms ease-in;
}
.neil-modal.neil-modal--show {
  visibility: visible;
}
.neil-modal__header {
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 18rpx 24rpx;
  line-height: 1.5;
  color: #333;
  font-size: 32rpx;
  text-align: center;
}
.neil-modal__header::after {
  content: " ";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 1px;
  border-top: 1px solid #e5e5e5;
  -webkit-transform-origin: 0 0;
          transform-origin: 0 0;
  -webkit-transform: scaleY(0.5);
          transform: scaleY(0.5);
}
.neil-modal__container {
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  width: 540rpx;
  border-radius: 20rpx;
  background-color: #fff;
  overflow: hidden;
  opacity: 0;
  transition: opacity 200ms ease-in;
}
.neil-modal__content {
  position: relative;
  color: #333;
  font-size: 28rpx;
  box-sizing: border-box;
  line-height: 1.5;
}
.neil-modal__content::after {
  content: " ";
  position: absolute;
  left: 0;
  bottom: -1px;
  right: 0;
  height: 1px;
  border-bottom: 1px solid #e5e5e5;
  -webkit-transform-origin: 0 0;
          transform-origin: 0 0;
  -webkit-transform: scaleY(0.5);
          transform: scaleY(0.5);
}
.neil-modal__footer {
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333;
  font-size: 32rpx;
  display: flex;
  flex-direction: row;
}
.neil-modal__footer-left, .neil-modal__footer-right {
  position: relative;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: 88rpx;
  font-size: 28rpx;
  line-height: 88rpx;
  text-align: center;
  background-color: #fff;
  color: #333;
}
.neil-modal__footer-right {
  color: #007aff;
}
.neil-modal__footer-left::after {
  content: " ";
  position: absolute;
  right: -1px;
  top: 0;
  width: 1px;
  bottom: 0;
  border-right: 1px solid #e5e5e5;
  -webkit-transform-origin: 0 0;
          transform-origin: 0 0;
  -webkit-transform: scaleX(0.5);
          transform: scaleX(0.5);
}
.neil-modal__footer-hover {
  background-color: #f1f1f1;
}
.neil-modal__mask {
  display: block;
  position: absolute;
  z-index: 998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 200ms ease-in;
}
.neil-modal__mask.neil-modal--show {
  opacity: 1;
}
.neil-modal--padding {
  padding: 32rpx 24rpx;
  min-height: 90rpx;
}
.neil-modal--show .neil-modal__container, .neil-modal--show .neil-modal__mask {
  opacity: 1;
}