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
| <script>
|
| export default {
| globalData: {
| platform: "",
| deviceModel: "",
| osVersion: 0
| },
| onLaunch: function() {
| console.log('App Launch')
| },
| onShow: function() {
| console.log('App Show')
| },
| onHide: function() {
| console.log('App Hide')
| }
| }
| </script>
|
| <style>
| @import '@/fonts/fonticon/fonticon.css';
| @import 'ant-design-vue/dist/reset.css';
| /*每个页面公共css */
| page {
| background-color: #fff;
| }
|
| a {
| color: #36a9f8;
| }
|
|
| .uni-navbar-container-inner {
| display: flex;
| flex: 1;
| flex-direction: row;
| align-items: center;
| font-size: 40rpx;
| overflow: hidden;
| color: #333;
| align-items: center;
| justify-content: center;
| }
|
| .uni-nav-bar-text {
| overflow: hidden;
| white-space: nowrap;
| text-overflow: ellipsis;
| }
| .uni-navbar-btn-text {
| font-size: 32rpx;
| }
|
| .uni-panel-bar-icon {
| cursor: pointer;
| margin: 10rpx;
| }
| </style>
|
|