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
| <script>
| export default {
| onShow: function() {
| console.log('App Show')
| },
| onHide: function() {
| console.log('App Hide')
| },
| onLaunch(options) {
| // options.query包含了URL中的参数
| console.log("APP:"+JSON.stringify(options.query));
| // 你可以根据需要来处理这些参数
| }
| }
| </script>
|
| <style>
| /*每个页面公共css */
| uni-page-wrapper{
| background-color: whitesmoke;
| }
| button{
| margin: 10px;
| }
|
| /* :deep(.checkbox),
| :deep(.checkbox__inner) {
| padding: 10px !important;
| width: 44px !important;
| min-width: 44px !important;
| box-sizing: border-box;
| }
|
| .checkbox[data-v-c2c83a8e] {
| padding: 12px;
| width: 26px;
| padding-left: 12px;
| display: table-cell;
| vertical-align: middle;
| color: #333;
| font-weight: 500;
| border-bottom: 1px #ebeef5 solid;
| font-size: 14px;
| }*/
| </style>
|
|