| | |
| | | <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') |
| | | } |
| | | } |
| | | 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; |
| | | } |
| | | </style> |
| | | /*每个页面公共css */ |
| | | .over { |
| | | color: #888; |
| | | font-size: 28rpx; |
| | | text-align: center; |
| | | padding: 60rpx 0; |
| | | } |
| | | |
| | | /* 用于解决picker内部设置 disabled input 时不响应的问题 */ |
| | | .picker-overlay { |
| | | box-sizing: border-box; |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | width: 100%; |
| | | height: 100%; |
| | | background-color: transparent; |
| | | /* 透明背景 */ |
| | | z-index: 1; |
| | | /* 确保在 input 上方 */ |
| | | } |
| | | </style> |