| | |
| | | <script> |
| | | export default { |
| | | onLaunch: function() { |
| | | console.log('App Launch') |
| | | console.log('App Launch') |
| | | }, |
| | | onShow: function() { |
| | | console.log('App Show') |
| | |
| | | /*每个页面公共css */ |
| | | body { |
| | | background-color: #f8fafb; |
| | | font-family: 'my-font', Helvetica Neue, Helvetica, sans-serif; |
| | | font-family: Helvetica, sans-serif,'my-font'; |
| | | } |
| | | page { |
| | | height: 100%; |
| | | } |
| | | |
| | | @font-face { |
| | |
| | | line-height: 100rpx; |
| | | width: 100%; |
| | | background-color: #fff; |
| | | box-shadow: 0px -4px 4px #f0f0f0; |
| | | /* box-shadow: 0px -4px 4px #e2e2e2; */ |
| | | border-top: 1px solid #e2e2e2; |
| | | position: fixed; |
| | | bottom: 0; |
| | | left: 0; |