-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharound.html
135 lines (112 loc) · 3.85 KB
/
around.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="css/mui.min.css">
<link rel="stylesheet" href="css/home.css">
<link rel="stylesheet" type="text/css" href="css/icons-extra.css" />
<link rel="stylesheet" type="text/css" href="css/app.css"/>
<title>NEBULAS t shirt</title>
<link href="favicon.ico" type="image/x-icon" rel="icon">
<link href="iTunesArtwork@2x.png" sizes="114x114" rel="apple-touch-icon-precomposed">
<style>
html,
body {
background-color: #efeff4;
}
.mui-bar .mui-pull-left .mui-icon {
padding-right: 5px;
font-size: 28px;
}
.mui-bar .mui-btn {
font-weight: normal;
font-size: 17px;
}
.mui-bar .mui-btn-link {
top: 1px;
}
.mui-content img{
width: 100%;
}
.hm-description{
margin: 15px;
}
.hm-description>li {
font-size: 14px;
color: #8f8f94;
}
</style>
</head>
<body>
<header id="header" class="mui-bar mui-bar-transparent">
<a class="mui-action-back mui-icon mui-icon-arrowleft mui-pull-left" style="color:#666"></a>
<h1 class="mui-title"></h1>
<a class="mui-icon mui-icon-paperplane mui-pull-right" style="color:#666"></a>
</header>
<div class="mui-content" style="background:#fff">
敬请期待,开业准备中。。。
</div>
<script>
mui.init({
swipeBack: true //启用右滑关闭功能
});
(function($) {
$('#scroll').scroll({
indicators: true //是否显示滚动条
});
var segmentedControl = document.getElementById('segmentedControl');
$('.mui-input-group').on('change', 'input', function() {
if (this.checked) {
var styleEl = document.querySelector('input[name="style"]:checked');
var colorEl = document.querySelector('input[name="color"]:checked');
if (styleEl && colorEl) {
var style = styleEl.value;
var color = colorEl.value;
segmentedControl.className = 'mui-segmented-control' + (style ? (' mui-segmented-control-' + style) : '') + ' mui-segmented-control-' + color;
}
}
});
})(mui);
</script>
</div>
<div style="height:50px"></div>
<nav class="mui-bar mui-bar-tab">
<div class="t-line aui-on-cell">
<div class="aui-ons">
<a href="#"><span class="mui-icon-extra mui-icon-extra-addpeople"></span><i>客服</i></a>
<a href="#"><span class="mui-icon-extra mui-icon-extra-university"></span><i>店铺</i></a>
<a href="#"><span class="mui-icon-extra mui-icon-extra-heart-filled"></span><i>收藏</i></a>
</div>
<div class="aui-onc">
<a href="order.html" class="aui-got">立即购买</a>
</div>
</div>
</nav>
<script src="js/mui.min.js"></script>
<script type="text/javascript">
mui.init({
swipeBack: true //启用右滑关闭功能
});
var slider = document.getElementById("slider");
mui('.mui-input-group').on('change', 'input', function() {
if (this.checked) {
switch (this.value) {
case 'static':
document.getElementById("img1").className = "";
document.getElementById("slider").classList.add("mui-hidden");
break;
case 'slider':
document.getElementById("img1").className = "mui-hidden";
if(slider.classList.contains("mui-hidden")){
document.getElementById("slider").classList.remove("mui-hidden");
}
break;
}
}
});
</script>
</body>
</html>