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
| <script>
| import {
| getOpenId,
| setUserInfo,
| setToken,
| getToken
| } from "./utils/auth";
| export default {
| onLaunch: function() {
| console.log('App Launch')
| },
| onShow: function() {
| console.log('App Show')
| },
| onHide: function() {
| console.log('App Hide')
| }
| }
| </script>
|
| <style>
| /*每个页面公共css */
| .over {
| color: #888;
| font-size: 28rpx;
| text-align: center;
| padding: 60rpx 0;
| }
|
| /* 用于解决picker内部设置 disabled input 时不响应的问题 */
| .picker-overlay {
| position: absolute;
| top: 0;
| left: 0;
| width: 100%;
| height: 100%;
| background-color: transparent;
| /* 透明背景 */
| z-index: 1;
| /* 确保在 input 上方 */
| }
| </style>
|
|