1
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
1
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
2
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
|
3
|
|
4
|
- <head>
|
4
|
+<head>
|
5
|
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
|
5
|
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
|
6
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
<link rel="stylesheet" type="text/css" href="css/base.css" />
|
7
|
<link rel="stylesheet" type="text/css" href="css/base.css" />
|
8
|
<link rel="stylesheet" type="text/css" href="css/style.css" />
|
8
|
<link rel="stylesheet" type="text/css" href="css/style.css" />
|
|
|
9
|
+ <link rel="stylesheet" href="css/weui.css">
|
9
|
<script src="js/base.js" type="text/javascript" charset="utf-8"></script>
|
10
|
<script src="js/base.js" type="text/javascript" charset="utf-8"></script>
|
|
|
11
|
+ <script src="js/common.js"></script>
|
10
|
<title>专业护理</title>
|
12
|
<title>专业护理</title>
|
11
|
- </head>
|
|
|
12
|
- <style type="text/css">
|
13
|
+</head>
|
|
|
14
|
+<style type="text/css">
|
13
|
.cali1 ul li {
|
15
|
.cali1 ul li {
|
14
|
width: 31%;
|
16
|
width: 31%;
|
15
|
overflow: hidden;
|
17
|
overflow: hidden;
|
|
@@ -43,59 +45,87 @@ |
|
@@ -43,59 +45,87 @@ |
43
|
border-bottom: 1px solid #EBEBEB;
|
45
|
border-bottom: 1px solid #EBEBEB;
|
44
|
padding-left: 0.16rem;
|
46
|
padding-left: 0.16rem;
|
45
|
}
|
47
|
}
|
46
|
- .style_item:nth-child(odd){
|
48
|
+
|
|
|
49
|
+ .style_item:nth-child(odd) {
|
47
|
border-right: 1px solid #EBEBEB;
|
50
|
border-right: 1px solid #EBEBEB;
|
48
|
}
|
51
|
}
|
|
|
52
|
+
|
49
|
.catitle {
|
53
|
.catitle {
|
50
|
line-height: 0.3rem;
|
54
|
line-height: 0.3rem;
|
51
|
margin-bottom: 0.08rem;
|
55
|
margin-bottom: 0.08rem;
|
52
|
}
|
56
|
}
|
|
|
57
|
+
|
53
|
.cadesc {
|
58
|
.cadesc {
|
54
|
width: 2.3rem;
|
59
|
width: 2.3rem;
|
55
|
text-overflow: ellipsis;
|
60
|
text-overflow: ellipsis;
|
56
|
white-space: nowrap;
|
61
|
white-space: nowrap;
|
57
|
overflow: hidden;
|
62
|
overflow: hidden;
|
58
|
}
|
63
|
}
|
59
|
- .cali ul li{
|
64
|
+
|
|
|
65
|
+ .cali ul li {
|
60
|
margin-left: 0.49rem
|
66
|
margin-left: 0.49rem
|
61
|
}
|
67
|
}
|
62
|
- .cali ul li:nth-child(4n){
|
68
|
+
|
|
|
69
|
+ .cali ul li:nth-child(4n) {
|
63
|
margin-left: 0;
|
70
|
margin-left: 0;
|
64
|
}
|
71
|
}
|
65
|
- .cali ul li:first-child{
|
72
|
+
|
|
|
73
|
+ .cali ul li:first-child {
|
66
|
margin-left: 0;
|
74
|
margin-left: 0;
|
67
|
}
|
75
|
}
|
68
|
- </style>
|
76
|
+</style>
|
69
|
|
77
|
|
70
|
- <body>
|
78
|
+<body>
|
71
|
<div class="header center">
|
79
|
<div class="header center">
|
72
|
<div class="left back">
|
80
|
<div class="left back">
|
73
|
- <a href="#" onClick="javascript:history.back(-1);"><img src="images/care_03.jpg" /></a>
|
81
|
+ <a href="#" onClick="javascript:history.back(-1);">
|
|
|
82
|
+ <img src="images/care_03.jpg" />
|
|
|
83
|
+ </a>
|
74
|
</div>
|
84
|
</div>
|
75
|
<div class="headertext">专业护理</div>
|
85
|
<div class="headertext">专业护理</div>
|
76
|
- <div class="banner"><img src="images/care_06.jpg" /></div>
|
86
|
+ <div class="banner">
|
|
|
87
|
+ <img src="images/care_06.jpg" />
|
|
|
88
|
+ </div>
|
77
|
</div>
|
89
|
</div>
|
78
|
<!--capart1-->
|
90
|
<!--capart1-->
|
79
|
<div class="capart1">
|
91
|
<div class="capart1">
|
80
|
<div class="box">
|
92
|
<div class="box">
|
81
|
- <P class="parttitle"><span class="c1">专业</span><span class="c2">护理</span> <span class="c3">| 优质上门护理服务推荐</span></P>
|
93
|
+ <P class="parttitle">
|
|
|
94
|
+ <span class="c1">专业</span>
|
|
|
95
|
+ <span class="c2">护理</span>
|
|
|
96
|
+ <span class="c3">| 优质上门护理服务推荐</span>
|
|
|
97
|
+ </P>
|
82
|
<div class="camg cali1">
|
98
|
<div class="camg cali1">
|
83
|
<ul class="center">
|
99
|
<ul class="center">
|
84
|
- <li>
|
|
|
85
|
- <a href="home.html.html">
|
100
|
+ <!-- <li>
|
|
|
101
|
+ <a href="home.html">
|
|
|
102
|
+ <img src="images/camg_03.jpg" />
|
|
|
103
|
+ </a>
|
|
|
104
|
+ </li> -->
|
|
|
105
|
+ <!-- <li>
|
|
|
106
|
+ <a href="home.html">
|
86
|
<p class="tx">居家照护</p>
|
107
|
<p class="tx">居家照护</p>
|
87
|
- <p><span class="camo">270</span>元起</p><img src="images/camg_03.jpg" /></a>
|
|
|
88
|
- </li>
|
|
|
89
|
- <li>
|
108
|
+ <p>
|
|
|
109
|
+ <span class="camo">270</span>元起</p>
|
|
|
110
|
+ <img src="images/camg_03.jpg" />
|
|
|
111
|
+ </a>
|
|
|
112
|
+ </li> -->
|
|
|
113
|
+ <!-- <li>
|
90
|
<a href="#">
|
114
|
<a href="#">
|
91
|
<p class="tx">住院照护</p>
|
115
|
<p class="tx">住院照护</p>
|
92
|
- <p><span class="camo">300</span>元起</p><img src="images/camg_05.jpg" /></a>
|
116
|
+ <p>
|
|
|
117
|
+ <span class="camo">300</span>元起</p>
|
|
|
118
|
+ <img src="images/camg_05.jpg" />
|
|
|
119
|
+ </a>
|
93
|
</li>
|
120
|
</li>
|
94
|
<li>
|
121
|
<li>
|
95
|
<a href="#">
|
122
|
<a href="#">
|
96
|
<p class="tx">陪诊</p>
|
123
|
<p class="tx">陪诊</p>
|
97
|
- <p><span class="camo">210</span>元起</p><img src="images/camg_07.jpg" /></a>
|
|
|
98
|
- </li>
|
124
|
+ <p>
|
|
|
125
|
+ <span class="camo">210</span>元起</p>
|
|
|
126
|
+ <img src="images/camg_07.jpg" />
|
|
|
127
|
+ </a>
|
|
|
128
|
+ </li> -->
|
99
|
</ul>
|
129
|
</ul>
|
100
|
</div>
|
130
|
</div>
|
101
|
</div>
|
131
|
</div>
|
|
@@ -110,7 +140,7 @@ |
|
@@ -110,7 +140,7 @@ |
110
|
<P class="cadesc">提供皮下及肌肉注射</P>
|
140
|
<P class="cadesc">提供皮下及肌肉注射</P>
|
111
|
</div>
|
141
|
</div>
|
112
|
</div>
|
142
|
</div>
|
113
|
- <div class="style_item">
|
143
|
+ <!-- <div class="style_item">
|
114
|
<img src="images/cali_09.jpg" class="left" />
|
144
|
<img src="images/cali_09.jpg" class="left" />
|
115
|
<div class="left">
|
145
|
<div class="left">
|
116
|
<P class="catitle">上门打针</P>
|
146
|
<P class="catitle">上门打针</P>
|
|
@@ -144,43 +174,98 @@ |
|
@@ -144,43 +174,98 @@ |
144
|
<P class="catitle">上门打针</P>
|
174
|
<P class="catitle">上门打针</P>
|
145
|
<P class="cadesc">提供皮下及肌肉注射</P>
|
175
|
<P class="cadesc">提供皮下及肌肉注射</P>
|
146
|
</div>
|
176
|
</div>
|
147
|
- </div>
|
177
|
+ </div> -->
|
148
|
</div>
|
178
|
</div>
|
149
|
|
179
|
|
150
|
</div>
|
180
|
</div>
|
151
|
<!--capart3-->
|
181
|
<!--capart3-->
|
152
|
<div class="capart3">
|
182
|
<div class="capart3">
|
153
|
<div class="box">
|
183
|
<div class="box">
|
154
|
- <P class="parttitle" style="display: flex;align-items: baseline;"><span class="c1">相关</span><span class="c2">服务</span> <span class="c3">| 更多优质服务推介</span></P>
|
|
|
155
|
- <div class="camg cali">
|
|
|
156
|
- <ul class="center" style="display: flex; justify-content: flex-start;flex-wrap: wrap;">
|
184
|
+ <P class="parttitle" style="display: flex;align-items: baseline;">
|
|
|
185
|
+ <span class="c1">相关</span>
|
|
|
186
|
+ <span class="c2">服务</span>
|
|
|
187
|
+ <span class="c3">| 更多优质服务推介</span>
|
|
|
188
|
+ </P>
|
|
|
189
|
+ <div class="camg cali relatedService">
|
|
|
190
|
+ <ul class="center" style="display: flex;justify-content: flex-start;flex-wrap: wrap;">
|
157
|
<li>
|
191
|
<li>
|
158
|
- <a href="#"><img src="images/caserver_03.jpg" />
|
192
|
+ <a href="#">
|
|
|
193
|
+ <img src="images/caserver_03.jpg" />
|
159
|
<p class="tx">老年痴呆护理</p>
|
194
|
<p class="tx">老年痴呆护理</p>
|
160
|
- <p><span class="camo">596</span>元</p>
|
195
|
+ <p>
|
|
|
196
|
+ <span class="camo">596</span>元</p>
|
161
|
</a>
|
197
|
</a>
|
162
|
</li>
|
198
|
</li>
|
163
|
<li>
|
199
|
<li>
|
164
|
- <a href="#"><img src="images/caserver_05.jpg" />
|
200
|
+ <a href="#">
|
|
|
201
|
+ <img src="images/caserver_05.jpg" />
|
165
|
<p class="tx">癌症护理</p>
|
202
|
<p class="tx">癌症护理</p>
|
166
|
- <p><span class="camo">596</span>元</p>
|
203
|
+ <p>
|
|
|
204
|
+ <span class="camo">596</span>元</p>
|
167
|
</a>
|
205
|
</a>
|
168
|
</li>
|
206
|
</li>
|
169
|
<li>
|
207
|
<li>
|
170
|
- <a href="#"><img src="images/caserver_07.jpg" />
|
208
|
+ <a href="#">
|
|
|
209
|
+ <img src="images/caserver_07.jpg" />
|
171
|
<p class="tx">帕金森护理</p>
|
210
|
<p class="tx">帕金森护理</p>
|
172
|
- <p><span class="camo">596</span>元</p>
|
211
|
+ <p>
|
|
|
212
|
+ <span class="camo">596</span>元</p>
|
173
|
</a>
|
213
|
</a>
|
174
|
</li>
|
214
|
</li>
|
175
|
<li>
|
215
|
<li>
|
176
|
- <a href="#"><img src="images/caserver_07.jpg" />
|
216
|
+ <a href="#">
|
|
|
217
|
+ <img src="images/caserver_07.jpg" />
|
177
|
<p class="tx">帕金森护理</p>
|
218
|
<p class="tx">帕金森护理</p>
|
178
|
- <p><span class="camo">596</span>元</p>
|
219
|
+ <p>
|
|
|
220
|
+ <span class="camo">596</span>元</p>
|
179
|
</a>
|
221
|
</a>
|
180
|
</li>
|
222
|
</li>
|
181
|
</ul>
|
223
|
</ul>
|
182
|
</div>
|
224
|
</div>
|
183
|
</div>
|
225
|
</div>
|
184
|
</div>
|
226
|
</div>
|
|
|
227
|
+ <script src="js/jquery-3.3.1.min.js"></script>
|
|
|
228
|
+ <script src="js/weui.js"></script>
|
|
|
229
|
+ <script>
|
|
|
230
|
+ $(function () {
|
|
|
231
|
+ let loading = weui.loading("加载中")
|
|
|
232
|
+
|
|
|
233
|
+ sendAjax('post', 'portal/Goods/getCatInfo', {
|
|
|
234
|
+ cid: 1
|
|
|
235
|
+ }, function (res) {
|
|
|
236
|
+ if (res.code == 1) {
|
|
|
237
|
+ loading.hide();
|
|
|
238
|
+ var data = res.data
|
|
|
239
|
+ console.log(data)
|
|
|
240
|
+ $(".headertext").html(data.name)
|
|
|
241
|
+ $(".banner").find("img").attr("src",data.img)
|
|
|
242
|
+ // 专业护理
|
|
|
243
|
+ let html = '';
|
|
|
244
|
+ for(let n in data.introduce){
|
|
|
245
|
+ html += `<li><a href="home.html"><img src="${data.introduce[n].img}" /></a></li>`
|
|
|
246
|
+ }
|
|
|
247
|
+ $(".cali1 .center").html(html)
|
|
|
248
|
+ // 相关服务
|
|
|
249
|
+ let htmlTwo = "";
|
|
|
250
|
+ for (let n in data.related_service) {
|
|
|
251
|
+ htmlTwo += `<li><a href="home.html"><img src="${data.related_service[n].img}" /></a></li>`
|
|
|
252
|
+ }
|
|
|
253
|
+ $(".relatedService .center").html(htmlTwo)
|
|
|
254
|
+ // 上门打针列表 专业护理下
|
|
|
255
|
+ let htmlThree = "";
|
|
|
256
|
+ for (let n in data.goods) {
|
|
|
257
|
+ htmlThree += `<div class="style_item"><img src="${data.goods[0].icon}" class="left" /><div class="left"><P class="catitle">"${data.goods[0].post_title}"</P><P class="cadesc">"${data.goods[0].other_title}"</P></div></div>`
|
|
|
258
|
+ }
|
|
|
259
|
+ $(".capart2 .style_list").html(htmlThree)
|
|
|
260
|
+ } else if (res.code == 0) {
|
|
|
261
|
+ let loading = weui.loading(res.msg)
|
|
|
262
|
+ setTimeout(function () {
|
|
|
263
|
+ loading.hide();
|
|
|
264
|
+ }, 1500);
|
|
|
265
|
+ }
|
|
|
266
|
+
|
|
|
267
|
+ });
|
|
|
268
|
+ })
|
185
|
|
269
|
|
186
|
- </body> |
|
|
|
|
270
|
+ </script>
|
|
|
271
|
+</body> |