jgapp.html
8.3 KB
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>蒙自市智慧监管APP</title>
<style>
html,
body {
width: 100%;
min-height: 100%;
overflow-x: hidden;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box !important;
-webkit-text-size-adjust: none !important;
}
.displayFlex {
display: flex;
align-items: center;
}
.displayFlexBetween {
display: flex;
justify-content: space-between;
align-items: center;
}
.posiCenter {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.appWnload {
width: 100%;
min-height: 100%;
background: linear-gradient(180deg, #3172f5 0%, #f5f8ff 89%);
padding: 112px 24px;
overflow-x: hidden;
}
.appWnloadBox {
width: 100%;
background: #f5f8ff;
border-radius: 80px;
}
.appWnloadBoxTitle {
padding: 48px;
justify-content: center;
}
.appWnloadBoxTitle img {
width: 94.14px;
height: 80px;
}
.appWnloadBoxTitle div {
color: #192c4e;
font-size: 68px;
font-weight: 600;
font-family: "PingFang SC";
letter-spacing: 2px;
margin-left: 32px;
}
.appWnloadBoxText {
color: #192c4e;
font-size: 44px;
font-weight: 600;
font-family: "PingFang SC";
text-align: center;
margin-top: 64px;
padding: 0 48px;
}
.appWnloadBoxbtn {
width: 544px;
height: 544px;
border-radius: 22px;
background: #ffffff;
margin: 48px auto 0 auto;
position: relative;
}
.appWnloadBoxbtn img {
width: 400px;
height: 400px;
}
.appWnloadBoxbtnText {
width: 320px;
height: 80px;
border-radius: 14px;
border: 1px solid #0a39a6;
background: #1f71ff;
box-shadow: inset 0 0 4px 4px #4791ff;
color: #ffffff;
font-size: 32px;
font-weight: 600;
font-family: "PingFang SC";
text-align: center;
line-height: 80px;
letter-spacing: 2px;
}
.appWnloadBoxbtnText a{
color: #ffffff;
text-decoration: none;
}
.appWnloadBoxLeftBottomText {
margin: 64px 0 128px 0;
padding: 0 48px;
}
.appWnloadBoxLeftBottomTextTitle {
color: #192c4e;
font-size: 40px;
font-weight: 600;
font-family: "PingFang SC";
}
.appWnloadBoxLeftBottomTextItem {
font-size: 37px;
font-weight: 400;
font-family: "PingFang SC";
line-height: 44px;
letter-spacing: 1.28px;
}
.appWnloadBoxLeftBottomTextItem>div{
margin-top: 24px;
}
.appWnloadBoxLeftBottomTextItem>div>div{
margin-left: 10px;
}
.bottomImg {
height: 1000px;
width: 100%;
border-radius: 0 0 40px 40px;
}
.swiper-main {
width: 100%;
height: 100%;
margin: 0 auto;
position: relative;
overflow: hidden;
border-radius: 0 0 40px 40px;
}
.swiper-content {
width: 100%;
height: 100%;
position: relative;
}
.swiper-item {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
}
.swiper-item img {
width: 100%;
height: 100%;
display: block;
border-radius: 0 0 40px 40px;
}
.swiper-point {
position: absolute;
bottom: 24px;
left: 50%;
transform: translate(-50%,0);
}
.swiper-circle {
float: left;
width: 12px;
height: 12px;
border-radius: 50%;
margin: 0 8px;
background: #01173d8c;
cursor: pointer;
}
.current-point {
width: 48px;
height: 12px;
border-radius: 40px;
border: 0.5px solid #ffffff;
background: #1f71ff;
}
.arrow-left {
left: 10px;
}
.arrow-right {
right: 10px;
}
</style>
</head>
<body>
<div class="appWnload">
<div class="appWnloadBox">
<div class="appWnloadBoxTitle displayFlex">
<img src="/app2/v2/image/logo.png" alt="">
<div>蒙自市智慧监管APP</div>
</div>
<div class="appWnloadBoxText">
由衷感谢您一直以来对智慧水利的支持与关注,欢迎您体验全新版本!
</div>
<div class="displayFlexBetween" style="padding:62px; justify-content: center;">
<div class="appWnloadBoxbtnText">
<a href="{$version['apk_url']}">下载安卓端</a>
</div>
<!-- <div class="appWnloadBoxbtnText">
下载苹果端
</div> -->
</div>
<div class="appWnloadBoxLeftBottomText">
<div class="appWnloadBoxLeftBottomTextTitle">{$version['updatetime']|date='Y-m-d',###} 更新版本 v{$version['version_code']} 新增内容:</div>
<div class="appWnloadBoxLeftBottomTextItem">
<div class="displayFlex" style="align-items: flex-start; line-height: 38px;">
{:nl2br($version['upgrade_point'])}
</div>
</div>
</div>
<div class="bottomImg">
<div class="swiper-main">
<div class="swiper-content">
<?php
if(!empty($version['images'])){
foreach($version['images'] as $v){
?>
<div class="swiper-item"><img src="{$v}" alt=""></div>
<?php }
} ?>
</div>
<div class="swiper-point"></div>
</div>
</div>
</div>
</div>
</body>
<script src="/app2/v2/js/jquery.min.js"></script>
<script src="/app2/v2/js/swiper.js"></script>
<script>
$(function() {
/**
* 参数:
* 1.最外层父元素 必填项
* 2.图片地址数组 必填项
* 支持数组内为字符串,识别作为图片地址
* [string,string,string]
* 支持数组内为对象,对象的每个key会被作为属性添加到对应的banner标签中,用prop方法获取(其中图片地址字段必须为imgUrl):
* [object,object,object] eq:[{imgUrl:'./img/1.jpg',count:'0','name':'第一个'}]
* 3.配置信息 非必填
* 4.当前元素点击回调,回调中返回点击元素jquery实例 非必填
* 5.轮播图创建完毕回调,回调中返回轮播对象数组,可用于后续逻辑处理 非必填
*/
swiper.init($(".swiper-main"), [], {
ismobile: true, //可选,不填则自动判断客户端,默认false - true / false(PC端/移动端)
arrowtype: 'move', //可选,默认一直显示 - 'move(移动端不支持)' / 'none' (鼠标移上显示 / 不显示 )
autoplay: true, //可选,默认true - true / false (开启轮播/关闭轮播)
cantouch: true, //可选,默认true - true / false (开启拖拽切换/关闭拖切换)
showpoint: true, //可选,默认true - true / false (显示轮播点/关闭轮播点)
time: 3000 //可选,默认3000
},
function(item) {
console.log("click success", item);
},
function(list) {
console.log("create success", list);
}
)
})
</script>
</html>