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
| <script>
| export default {
| onLaunch: function() {
| console.log('App Launch')
| },
| onShow: function() {
| console.log('App Show')
| },
| onHide: function() {
| console.log('App Hide')
| }
| }
| </script>
|
| <style lang="scss">
| /*每个页面公共css */
| @import '@/uni_modules/uni-scss/index.scss';
|
| /* #ifdef H5 */
| $scrollbar-brown: #4A3728;
| $scrollbar-cream: #E8DCC8;
|
| html,
| body,
| #app,
| uni-app,
| uni-page,
| uni-page-wrapper,
| .uni-page-wrapper,
| page {
| scrollbar-width: thin;
| scrollbar-color: rgba(74, 55, 40, 0.38) rgba(232, 220, 200, 0.45);
| }
|
| * {
| scrollbar-width: thin;
| scrollbar-color: rgba(74, 55, 40, 0.38) rgba(232, 220, 200, 0.45);
| }
|
| ::-webkit-scrollbar {
| width: 5px;
| height: 5px;
| }
|
| ::-webkit-scrollbar-track {
| background: rgba(232, 220, 200, 0.35);
| border-radius: 999px;
| }
|
| ::-webkit-scrollbar-thumb {
| background: linear-gradient(180deg, rgba(74, 55, 40, 0.42) 0%, rgba(74, 55, 40, 0.28) 100%);
| border-radius: 999px;
| border: 1px solid rgba(255, 255, 255, 0.22);
| min-height: 28px;
| }
|
| ::-webkit-scrollbar-thumb:hover {
| background: linear-gradient(180deg, rgba(74, 55, 40, 0.58) 0%, rgba(74, 55, 40, 0.42) 100%);
| }
|
| ::-webkit-scrollbar-thumb:active {
| background: rgba(74, 55, 40, 0.62);
| }
|
| ::-webkit-scrollbar-corner {
| background: transparent;
| }
| /* #endif */
| </style>
|
| <!-- ,
| "port" : 8080,
| "proxy" : {
| "/" : {
| "target" : "https://dmtest.ahapp.net/preselect_interface"
| }
| } -->
|
|