App-Android(使用App+htnl5框架,解决消息推送兼容SignalR问题)
loulijun2021
2022-09-18 e5d34f5c51e4a852e67d24709ec7e7b708846066
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
        <meta name="HandheldFriendly" content="true" />
        <meta name="MobileOptimized" content="320" />
        <title>新凯迪制造云平台</title>
        <!-- 引入像素转换 px->rpx -->
        <script src="../../js/rpx4html.js"></script>
        <!-- 引入样式文件 -->
        <!-- <link rel="stylesheet1" href="https://unpkg.com/vant@2.12/lib/index.css" /> -->
        <!-- <link rel="stylesheet" href="https://unpkg.com/vant@2.12/lib/index.css" /> -->
        
        <!-- 引入 Vue 和 Vant 的 JS 文件 -->
        <!-- <script src="https://unpkg.com/vue@2.6/dist/vue.min.js"></script> -->
        <!-- <script src="https://unpkg.com/vant@2.12/lib/vant.min.js"></script> -->
        
        
        
 
 
        <link rel="stylesheet" href="../css/global.css" type="text/css" charset="utf-8" />
        <script type="text/javascript">
         // 在 #app 标签下渲染一个按钮组件
          new Vue({
            el: '#app',
            template: `<van-button>按钮</van-button>`,
          });
        
          // 调用函数组件,弹出一个 Toast
          vant.Toast('提示');
        
          // 通过 CDN 引入时不会自动注册 Lazyload 组件
          // 可以通过下面的方式手动注册
          Vue.use(vant.Lazyload);
        </script>
    </head>
    <body>
 
        <div class="body">
            <!-- 头部logo -->
            <div class="headBG">
                <div class="headPic" />
            </div>
            <!-- 主体 -->
 
        
 
        </div>
    </body>
    <style type="text/css">
        body {
            background-color: antiquewhite;
        }
 
        .body {
            width: 100%;
            height: 700px;
            background-color: grey;
            margin-top: 300px;
        }
 
        .headBG {
            width: 240px;
            height: 240px;
            background-color: #fff;
            border-radius: 50%;
            position: absolute;
            top: 170px;
            left: 248px;
        }
 
        .headPic {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: url('../../static/images/96x96.png') no-repeat;
            background-size: 100% 100%;
            position: absolute;
            top: 22px;
            left: 20px;
        }
    </style>
</html>