-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage_arround.html
185 lines (163 loc) · 6.06 KB
/
page_arround.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
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
<!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 id="slider" class="mui-slider" >
<div class="mui-slider-group">
<div class="mui-slider-item">
<a href="#">
<img src="images/周边-hat/hat-banner.png">
</a>
</div>
<div class="mui-slider-item">
<a href="#">
<img src="images/周边-hat/hat-banner.png">
</a>
</div>
</div>
<div class="mui-slider-indicator">
<div class="mui-indicator mui-active"></div>
<div class="mui-indicator"></div>
</div>
</div>
<div class="aui-title-h b-line">
<h3>BLOCK Hat</h3>
<p>BLOCK Hat 不单调不低调,身份的象征,信仰的体现</p>
<em>1 NAS ( 获得等价值 1 Bf)</em>
<i>原价 1 NAS</i>
<div class="aui-title-sp "><span class="mui-icon-extra mui-icon-extra-heart">销量 34</span> <span class="mui-icon-extra mui-icon-extra-heart">收藏475人</span> <span class="mui-icon-extra mui-icon-extra-heart">顺丰快递</span> </div>
</div>
<div class="devider b-line"></div>
<div class="">
<div style="padding:0 10px; margin-top:10px"class="">
<div id="segmentedControl" class="mui-segmented-control mui-segmented-control-inverted mui-segmented-control-primary">
<a class="mui-control-item mui-active" href="#item1">商品详情</a>
<a class="mui-control-item" href="#item2">规格尺码</a>
<a class="mui-control-item" href="#item3">商品评价</a>
</div>
</div>
<div>
<div id="item1" class="mui-control-content mui-active" style="height:1200px">
<div class="aui-p">
<p>NEBULAS t shirt 不单调不低调,身份的象征,信仰的体现</p>
</div>
<div class="aui-kill aui-op" style="text-align: center;"> <span>hat-black1</span> <img src="images/周边-hat/hat-black.png" alt=""></div>
<div class="aui-kill aui-op" style="text-align: center;"> <span>hat-black2</span> <img src="images/周边-hat/hat-blue.png" alt=""></div>
<div class="aui-kill aui-op" style="text-align: center;"> <span>hat-black3</span> <img src="images/周边-hat/hat-white.png" alt=""></div>
</div>
<div id="item2" class="mui-control-content">
<ul class="mui-table-view ">
<li class="mui-table-view-cell b-line">尺码: 20 * 10</li>
<li class="mui-table-view-cell b-line">颜色:多色可选</li>
</div>
<div id="item3" class="mui-control-content">
评价
</div>
</div>
</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="pay.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>