-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
176 lines (164 loc) · 7.29 KB
/
index.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
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<!-- H5页面窗口自动调整到设备宽度,并禁止用户缩放页面 -->
<meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport">
<!-- 当网站添加到主屏幕快速启动方式,可隐藏地址栏,仅针对ios的safari -->
<meta content="yes" name="apple-mobile-web-app-capable">
<!-- 忽略将页面中的数字识别为电话号码 -->
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<!-- 忽略将页面中的数字识别为电话号码 -->
<meta content="telephone=no" name="format-detection">
<!-- 忽略Android平台中对邮箱地址的识别 -->
<meta content="email=no" name="format-detection">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>优购商城</title>
<link rel="stylesheet" href="./statics/mui/css/mui.min.css">
<link rel="stylesheet" href="./css/index.css">
<script src="./js/lib/require.js" data-main="./js/main.js" defer async="true"></script>
<style>
</style>
</head>
<body>
<div id="container">
<header id="header" class="mui-bar mui-bar-nav">
<a class="mui-icon-extra mui-icon-extra-sweep mui-icon-left-nav mui-pull-left"></a>
<h1 class="mui-title">优购商城</h1>
<a class="mui-icon mui-icon-search mui-icon-right-nav mui-pull-right"></a>
</header>
<div id="module-container">
<div id="slider" class="mui-slider">
<div class="mui-slider-group mui-slider-loop">
<!-- 额外增加的一个节点(循环轮播:第一个节点是最后一张轮播) -->
<div class="mui-slider-item mui-slider-item-duplicate">
<a href="#">
<img src="./images/banner.png">
</a>
</div>
<!-- 第一张 -->
<div class="mui-slider-item">
<a href="#">
<img src="./images/g2.png">
</a>
</div>
<!-- 第二张 -->
<div class="mui-slider-item">
<a href="#">
<img src="./images/g1.png">
</a>
</div>
<!-- 第三张 -->
<div class="mui-slider-item">
<a href="#">
<img src="./images/g2.png">
</a>
</div>
<!-- 第四张 -->
<div class="mui-slider-item">
<a href="#">
<img src="./images/banner.png">
</a>
</div>
<!-- 额外增加的一个节点(循环轮播:最后一个节点是第一张轮播) -->
<div class="mui-slider-item mui-slider-item-duplicate">
<a href="#">
<img src="./images/g2.png">
</a>
</div>
</div>
<div class="mui-slider-indicator">
<div class="mui-indicator mui-active"></div>
<div class="mui-indicator"></div>
<div class="mui-indicator"></div>
<div class="mui-indicator"></div>
</div>
</div>
<div id="classify" class="mui-content">
<ul class="">
<li class="">
<a href="#">
<img src="./images/icon.png" alt="">
<div class="mui-media-body">超值大牌</div>
</a>
</li>
<li class="">
<a href="#">
<img src="./images/icon1.png" alt="">
<div class="mui-media-body">新品特惠</div>
</a>
</li>
<li class="">
<a href="#">
<img src="./images/icon2.png" alt="">
<div class="mui-media-body">免费试用</div>
</a>
</li>
<li class="">
<a href="#">
<img src="./images/icon3.png" alt="">
<div class="mui-media-body">一元云购</div>
</a>
</li>
<li class="">
<a href="#">
<img src="./images/icon4.png" alt="">
<div class="mui-media-body">热销商品</div>
</a>
</li>
</ul>
</div>
<div class="advantage">
<img src="./images/adv.png" alt="">
</div>
<div id="main">
<ul>
<li>
<a href="#"><img src="./images/g1.png" alt=""></a>
</li>
<li>
<a href="#"><img src="./images/g2.png" alt=""></a>
</li>
<li>
<a href="#"><img src="./images/g1.png" alt=""></a>
</li>
<li>
<a href="#"><img src="./images/g2.png" alt=""></a>
</li>
</ul>
</div>
</div>
</div>
<nav id="tab-bar" class="mui-bar mui-bar-tab">
<a class="mui-tab-item mui-active gotoPage" href="javascript:void(0);" data-page='home'>
<span class="mui-icon mui-icon-home"></span>
<span class="mui-tab-label">首页</span>
</a>
<a class="mui-tab-item gotoPage" href="javascript:void(0);" data-page='sort'>
<span class="mui-icon-extra mui-icon-extra-class"></span>
<span class="mui-tab-label">分类</span>
</a>
<a class="mui-tab-item gotoPage" href="javascript:void(0);" data-page='salse'>
<span class="mui-icon-extra mui-icon-extra-outline"></span>
<span class="mui-tab-label">清仓</span>
</a>
<a class="mui-tab-item gotoPage" href="javascript:void(0);" data-page='shopcar'>
<span class="mui-icon-extra mui-icon-extra-cart"></span><span class="mui-badge">9</span>
<span class="mui-tab-label">购物车</span>
</a>
<a class="mui-tab-item gotoPage" href="javascript:void(0);" data-page='person'>
<span class="mui-icon mui-icon-person"></span>
<span class="mui-tab-label">我的</span>
</a>
</nav>
<div id="modal-box" class="mui-popup mui-popup-in" style="display: none;">
<div class="mui-popup-inner">
<div class="mui-popup-title"><img src="./images/yougouQRcode.png" alt=""></div>
<div class="mui-popup-text">扫描二维码在手机上查看?</div>
</div>
<div class="mui-popup-buttons"><span class="button-yes">是</span><span class="button-no">否</span></div>
</div>
<script>
</script>
</body>
</html>