Blame view

lvdao-miniapp/unpackage/dist/dev/mp-weixin/components/mescroll-uni/components/mescroll-top.wxss 851 Bytes
3f535f30   杨鑫   '初始'
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
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  /* 回到顶部的按钮 */
  .mescroll-totop {
  	z-index: 9990;
  	position: fixed !important; /* 加上important避免编译到H5,在多mescroll中定位失效 */
  	right: 20rpx;
  	bottom: 120rpx;
  	width: 72rpx;
  	height: auto;
  	border-radius: 50%;
  	opacity: 0;
  	transition: opacity 0.5s; /* 过渡 */
  	margin-bottom: 0px; /* css变量 */
  }
  /* 适配 iPhoneX */
  @supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)) {
  .mescroll-totop-safearea {
  		margin-bottom: calc(0px + constant(safe-area-inset-bottom)); /* window-bottom + 适配 iPhoneX */
  		margin-bottom: calc(0px + env(safe-area-inset-bottom));
  }
  }
  /* 显示 -- 淡入 */
  .mescroll-totop-in {
  	opacity: 1;
  }
  /* 隐藏 -- 淡出且不接收事件*/
  .mescroll-totop-out {
  	opacity: 0;
  	pointer-events: none;
  }