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>
|
|
|
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" />
|
|
|
7
|
- <link rel="stylesheet" type="text/css" href="css/base.css" />
|
|
|
8
|
- <link rel="stylesheet" type="text/css" href="css/style.css" />
|
|
|
9
|
- <script src="js/base.js" type="text/javascript" charset="utf-8"></script>
|
|
|
10
|
- <title>专业护理</title>
|
|
|
11
|
- </head>
|
|
|
12
|
- <style type="text/css">
|
|
|
13
|
- .cali1 ul li {
|
|
|
14
|
- width: 31%;
|
|
|
15
|
- overflow: hidden;
|
|
|
16
|
- }
|
|
|
17
|
-
|
|
|
18
|
- .item_list {
|
|
|
19
|
- display: flex;
|
|
|
20
|
- flex-wrap: wrap;
|
|
|
21
|
- }
|
|
|
22
|
-
|
|
|
23
|
- .style_list img {
|
|
|
24
|
- width: 0.87rem;
|
|
|
25
|
- margin-left: 0.1rem;
|
|
|
26
|
- margin-right: 0.1rem;
|
|
|
27
|
- }
|
|
|
28
|
-
|
|
|
29
|
- .style_list {
|
|
|
30
|
- display: flex;
|
|
|
31
|
- flex-wrap: wrap;
|
|
|
32
|
- width: 100%;
|
|
|
33
|
- padding: 0.1rem 0;
|
|
|
34
|
- }
|
|
|
35
|
-
|
|
|
36
|
- .style_item {
|
|
|
37
|
- height: 1.5rem;
|
|
|
38
|
- display: flex;
|
|
|
39
|
- align-items: center;
|
|
|
40
|
- width: 3.68rem;
|
|
|
41
|
- box-sizing: border-box;
|
|
|
42
|
- padding: 0.24rem 0;
|
|
|
43
|
- border-bottom: 1px solid #EBEBEB;
|
|
|
44
|
- padding-left: 0.16rem;
|
|
|
45
|
- }
|
|
|
46
|
- .style_item:nth-child(odd){
|
|
|
47
|
- border-right: 1px solid #EBEBEB;
|
|
|
48
|
- }
|
|
|
49
|
- .catitle {
|
|
|
50
|
- line-height: 0.3rem;
|
|
|
51
|
- margin-bottom: 0.08rem;
|
|
|
52
|
- }
|
|
|
53
|
- .cadesc {
|
|
|
54
|
- width: 2.3rem;
|
|
|
55
|
- text-overflow: ellipsis;
|
|
|
56
|
- white-space: nowrap;
|
|
|
57
|
- overflow: hidden;
|
|
|
58
|
- }
|
|
|
59
|
- .cali ul li{
|
|
|
60
|
- margin-left: 0.49rem
|
|
|
61
|
- }
|
|
|
62
|
- .cali ul li:nth-child(4n){
|
|
|
63
|
- margin-left: 0;
|
|
|
64
|
- }
|
|
|
65
|
- .cali ul li:first-child{
|
|
|
66
|
- margin-left: 0;
|
|
|
67
|
- }
|
|
|
68
|
- </style>
|
|
|
69
|
-
|
|
|
70
|
- <body>
|
|
|
71
|
- <div class="header center">
|
|
|
72
|
- <div class="left back">
|
|
|
73
|
- <a href="#" onClick="javascript:history.back(-1);"><img src="images/care_03.jpg" /></a>
|
|
|
74
|
- </div>
|
|
|
75
|
- <div class="headertext">专业护理</div>
|
|
|
76
|
- <div class="banner"><img src="images/care_06.jpg" /></div>
|
4
|
+<head>
|
|
|
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" />
|
|
|
7
|
+ <link rel="stylesheet" type="text/css" href="css/base.css" />
|
|
|
8
|
+ <link rel="stylesheet" type="text/css" href="css/style.css" />
|
|
|
9
|
+ <link rel="stylesheet" href="css/weui.css">
|
|
|
10
|
+ <script src="js/base.js" type="text/javascript" charset="utf-8"></script>
|
|
|
11
|
+ <script src="js/common.js"></script>
|
|
|
12
|
+ <title>专业护理</title>
|
|
|
13
|
+</head>
|
|
|
14
|
+<style type="text/css">
|
|
|
15
|
+ .cali1 ul li {
|
|
|
16
|
+ width: 31%;
|
|
|
17
|
+ overflow: hidden;
|
|
|
18
|
+ }
|
|
|
19
|
+
|
|
|
20
|
+ .item_list {
|
|
|
21
|
+ display: flex;
|
|
|
22
|
+ flex-wrap: wrap;
|
|
|
23
|
+ }
|
|
|
24
|
+
|
|
|
25
|
+ .style_list img {
|
|
|
26
|
+ width: 0.87rem;
|
|
|
27
|
+ margin-left: 0.1rem;
|
|
|
28
|
+ margin-right: 0.1rem;
|
|
|
29
|
+ }
|
|
|
30
|
+
|
|
|
31
|
+ .style_list {
|
|
|
32
|
+ display: flex;
|
|
|
33
|
+ flex-wrap: wrap;
|
|
|
34
|
+ width: 100%;
|
|
|
35
|
+ padding: 0.1rem 0;
|
|
|
36
|
+ }
|
|
|
37
|
+
|
|
|
38
|
+ .style_item {
|
|
|
39
|
+ height: 1.5rem;
|
|
|
40
|
+ display: flex;
|
|
|
41
|
+ align-items: center;
|
|
|
42
|
+ width: 3.68rem;
|
|
|
43
|
+ box-sizing: border-box;
|
|
|
44
|
+ padding: 0.24rem 0;
|
|
|
45
|
+ border-bottom: 1px solid #EBEBEB;
|
|
|
46
|
+ padding-left: 0.16rem;
|
|
|
47
|
+ }
|
|
|
48
|
+
|
|
|
49
|
+ .style_item:nth-child(odd) {
|
|
|
50
|
+ border-right: 1px solid #EBEBEB;
|
|
|
51
|
+ }
|
|
|
52
|
+
|
|
|
53
|
+ .catitle {
|
|
|
54
|
+ line-height: 0.3rem;
|
|
|
55
|
+ margin-bottom: 0.08rem;
|
|
|
56
|
+ }
|
|
|
57
|
+
|
|
|
58
|
+ .cadesc {
|
|
|
59
|
+ width: 2.3rem;
|
|
|
60
|
+ text-overflow: ellipsis;
|
|
|
61
|
+ white-space: nowrap;
|
|
|
62
|
+ overflow: hidden;
|
|
|
63
|
+ }
|
|
|
64
|
+
|
|
|
65
|
+ .cali ul li {
|
|
|
66
|
+ margin-left: 0.49rem
|
|
|
67
|
+ }
|
|
|
68
|
+
|
|
|
69
|
+ .cali ul li:nth-child(4n) {
|
|
|
70
|
+ margin-left: 0;
|
|
|
71
|
+ }
|
|
|
72
|
+
|
|
|
73
|
+ .cali ul li:first-child {
|
|
|
74
|
+ margin-left: 0;
|
|
|
75
|
+ }
|
|
|
76
|
+</style>
|
|
|
77
|
+
|
|
|
78
|
+<body>
|
|
|
79
|
+ <div class="header center">
|
|
|
80
|
+ <div class="left back">
|
|
|
81
|
+ <a href="#" onClick="javascript:history.back(-1);">
|
|
|
82
|
+ <img src="images/care_03.jpg" />
|
|
|
83
|
+ </a>
|
77
|
</div>
|
84
|
</div>
|
78
|
- <!--capart1-->
|
|
|
79
|
- <div class="capart1">
|
|
|
80
|
- <div class="box">
|
|
|
81
|
- <P class="parttitle"><span class="c1">专业</span><span class="c2">护理</span> <span class="c3">| 优质上门护理服务推荐</span></P>
|
|
|
82
|
- <div class="camg cali1">
|
|
|
83
|
- <ul class="center">
|
|
|
84
|
- <li>
|
|
|
85
|
- <a href="home.html.html">
|
|
|
86
|
- <p class="tx">居家照护</p>
|
|
|
87
|
- <p><span class="camo">270</span>元起</p><img src="images/camg_03.jpg" /></a>
|
|
|
88
|
- </li>
|
|
|
89
|
- <li>
|
|
|
90
|
- <a href="#">
|
|
|
91
|
- <p class="tx">住院照护</p>
|
|
|
92
|
- <p><span class="camo">300</span>元起</p><img src="images/camg_05.jpg" /></a>
|
|
|
93
|
- </li>
|
|
|
94
|
- <li>
|
|
|
95
|
- <a href="#">
|
|
|
96
|
- <p class="tx">陪诊</p>
|
|
|
97
|
- <p><span class="camo">210</span>元起</p><img src="images/camg_07.jpg" /></a>
|
|
|
98
|
- </li>
|
|
|
99
|
- </ul>
|
|
|
100
|
- </div>
|
85
|
+ <div class="headertext">专业护理</div>
|
|
|
86
|
+ <div class="banner">
|
|
|
87
|
+ <img src="images/care_06.jpg" />
|
|
|
88
|
+ </div>
|
|
|
89
|
+ </div>
|
|
|
90
|
+ <!--capart1-->
|
|
|
91
|
+ <div class="capart1">
|
|
|
92
|
+ <div class="box">
|
|
|
93
|
+ <P class="parttitle">
|
|
|
94
|
+ <span class="c1">专业</span>
|
|
|
95
|
+ <span class="c2">护理</span>
|
|
|
96
|
+ <span class="c3">| 优质上门护理服务推荐</span>
|
|
|
97
|
+ </P>
|
|
|
98
|
+ <div class="camg cali1">
|
|
|
99
|
+ <ul class="center">
|
|
|
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">
|
|
|
107
|
+ <p class="tx">居家照护</p>
|
|
|
108
|
+ <p>
|
|
|
109
|
+ <span class="camo">270</span>元起</p>
|
|
|
110
|
+ <img src="images/camg_03.jpg" />
|
|
|
111
|
+ </a>
|
|
|
112
|
+ </li> -->
|
|
|
113
|
+ <!-- <li>
|
|
|
114
|
+ <a href="#">
|
|
|
115
|
+ <p class="tx">住院照护</p>
|
|
|
116
|
+ <p>
|
|
|
117
|
+ <span class="camo">300</span>元起</p>
|
|
|
118
|
+ <img src="images/camg_05.jpg" />
|
|
|
119
|
+ </a>
|
|
|
120
|
+ </li>
|
|
|
121
|
+ <li>
|
|
|
122
|
+ <a href="#">
|
|
|
123
|
+ <p class="tx">陪诊</p>
|
|
|
124
|
+ <p>
|
|
|
125
|
+ <span class="camo">210</span>元起</p>
|
|
|
126
|
+ <img src="images/camg_07.jpg" />
|
|
|
127
|
+ </a>
|
|
|
128
|
+ </li> -->
|
|
|
129
|
+ </ul>
|
101
|
</div>
|
130
|
</div>
|
102
|
</div>
|
131
|
</div>
|
103
|
- <!--capart2-->
|
|
|
104
|
- <div class="capart2">
|
|
|
105
|
- <div class="style_list">
|
|
|
106
|
- <div class="style_item">
|
|
|
107
|
- <img src="images/cali_03.jpg" class="left" />
|
|
|
108
|
- <div class="left">
|
|
|
109
|
- <P class="catitle">上门打针</P>
|
|
|
110
|
- <P class="cadesc">提供皮下及肌肉注射</P>
|
|
|
111
|
- </div>
|
|
|
112
|
- </div>
|
|
|
113
|
- <div class="style_item">
|
|
|
114
|
- <img src="images/cali_09.jpg" class="left" />
|
|
|
115
|
- <div class="left">
|
|
|
116
|
- <P class="catitle">上门打针</P>
|
|
|
117
|
- <P class="cadesc">提供皮下及肌肉注射</P>
|
|
|
118
|
- </div>
|
132
|
+ </div>
|
|
|
133
|
+ <!--capart2-->
|
|
|
134
|
+ <div class="capart2">
|
|
|
135
|
+ <div class="style_list">
|
|
|
136
|
+ <div class="style_item">
|
|
|
137
|
+ <img src="images/cali_03.jpg" class="left" />
|
|
|
138
|
+ <div class="left">
|
|
|
139
|
+ <P class="catitle">上门打针</P>
|
|
|
140
|
+ <P class="cadesc">提供皮下及肌肉注射</P>
|
119
|
</div>
|
141
|
</div>
|
120
|
- <div class="style_item">
|
|
|
121
|
- <img src="images/cali_05.jpg" class="left" />
|
|
|
122
|
- <div class="left">
|
|
|
123
|
- <P class="catitle">上门打针</P>
|
|
|
124
|
- <P class="cadesc">提供皮下及肌肉注射</P>
|
|
|
125
|
- </div>
|
142
|
+ </div>
|
|
|
143
|
+ <!-- <div class="style_item">
|
|
|
144
|
+ <img src="images/cali_09.jpg" class="left" />
|
|
|
145
|
+ <div class="left">
|
|
|
146
|
+ <P class="catitle">上门打针</P>
|
|
|
147
|
+ <P class="cadesc">提供皮下及肌肉注射</P>
|
126
|
</div>
|
148
|
</div>
|
127
|
- <div class="style_item">
|
|
|
128
|
- <img src="images/cali_03.jpg" class="left" />
|
|
|
129
|
- <div class="left">
|
|
|
130
|
- <P class="catitle">上门打针</P>
|
|
|
131
|
- <P class="cadesc">提供皮下及肌肉注射</P>
|
|
|
132
|
- </div>
|
149
|
+ </div>
|
|
|
150
|
+ <div class="style_item">
|
|
|
151
|
+ <img src="images/cali_05.jpg" class="left" />
|
|
|
152
|
+ <div class="left">
|
|
|
153
|
+ <P class="catitle">上门打针</P>
|
|
|
154
|
+ <P class="cadesc">提供皮下及肌肉注射</P>
|
133
|
</div>
|
155
|
</div>
|
134
|
- <div class="style_item">
|
|
|
135
|
- <img src="images/cali_09.jpg" class="left" />
|
|
|
136
|
- <div class="left">
|
|
|
137
|
- <P class="catitle">上门打针</P>
|
|
|
138
|
- <P class="cadesc">提供皮下及肌肉注射</P>
|
|
|
139
|
- </div>
|
156
|
+ </div>
|
|
|
157
|
+ <div class="style_item">
|
|
|
158
|
+ <img src="images/cali_03.jpg" class="left" />
|
|
|
159
|
+ <div class="left">
|
|
|
160
|
+ <P class="catitle">上门打针</P>
|
|
|
161
|
+ <P class="cadesc">提供皮下及肌肉注射</P>
|
140
|
</div>
|
162
|
</div>
|
141
|
- <div class="style_item">
|
|
|
142
|
- <img src="images/cali_05.jpg" class="left" />
|
|
|
143
|
- <div class="left">
|
|
|
144
|
- <P class="catitle">上门打针</P>
|
|
|
145
|
- <P class="cadesc">提供皮下及肌肉注射</P>
|
|
|
146
|
- </div>
|
163
|
+ </div>
|
|
|
164
|
+ <div class="style_item">
|
|
|
165
|
+ <img src="images/cali_09.jpg" class="left" />
|
|
|
166
|
+ <div class="left">
|
|
|
167
|
+ <P class="catitle">上门打针</P>
|
|
|
168
|
+ <P class="cadesc">提供皮下及肌肉注射</P>
|
147
|
</div>
|
169
|
</div>
|
148
|
</div>
|
170
|
</div>
|
149
|
-
|
|
|
150
|
- </div>
|
|
|
151
|
- <!--capart3-->
|
|
|
152
|
- <div class="capart3">
|
|
|
153
|
- <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;">
|
|
|
157
|
- <li>
|
|
|
158
|
- <a href="#"><img src="images/caserver_03.jpg" />
|
|
|
159
|
- <p class="tx">老年痴呆护理</p>
|
|
|
160
|
- <p><span class="camo">596</span>元</p>
|
|
|
161
|
- </a>
|
|
|
162
|
- </li>
|
|
|
163
|
- <li>
|
|
|
164
|
- <a href="#"><img src="images/caserver_05.jpg" />
|
|
|
165
|
- <p class="tx">癌症护理</p>
|
|
|
166
|
- <p><span class="camo">596</span>元</p>
|
|
|
167
|
- </a>
|
|
|
168
|
- </li>
|
|
|
169
|
- <li>
|
|
|
170
|
- <a href="#"><img src="images/caserver_07.jpg" />
|
|
|
171
|
- <p class="tx">帕金森护理</p>
|
|
|
172
|
- <p><span class="camo">596</span>元</p>
|
|
|
173
|
- </a>
|
|
|
174
|
- </li>
|
|
|
175
|
- <li>
|
|
|
176
|
- <a href="#"><img src="images/caserver_07.jpg" />
|
|
|
177
|
- <p class="tx">帕金森护理</p>
|
|
|
178
|
- <p><span class="camo">596</span>元</p>
|
|
|
179
|
- </a>
|
|
|
180
|
- </li>
|
|
|
181
|
- </ul>
|
171
|
+ <div class="style_item">
|
|
|
172
|
+ <img src="images/cali_05.jpg" class="left" />
|
|
|
173
|
+ <div class="left">
|
|
|
174
|
+ <P class="catitle">上门打针</P>
|
|
|
175
|
+ <P class="cadesc">提供皮下及肌肉注射</P>
|
182
|
</div>
|
176
|
</div>
|
|
|
177
|
+ </div> -->
|
|
|
178
|
+ </div>
|
|
|
179
|
+
|
|
|
180
|
+ </div>
|
|
|
181
|
+ <!--capart3-->
|
|
|
182
|
+ <div class="capart3">
|
|
|
183
|
+ <div class="box">
|
|
|
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;">
|
|
|
191
|
+ <li>
|
|
|
192
|
+ <a href="#">
|
|
|
193
|
+ <img src="images/caserver_03.jpg" />
|
|
|
194
|
+ <p class="tx">老年痴呆护理</p>
|
|
|
195
|
+ <p>
|
|
|
196
|
+ <span class="camo">596</span>元</p>
|
|
|
197
|
+ </a>
|
|
|
198
|
+ </li>
|
|
|
199
|
+ <li>
|
|
|
200
|
+ <a href="#">
|
|
|
201
|
+ <img src="images/caserver_05.jpg" />
|
|
|
202
|
+ <p class="tx">癌症护理</p>
|
|
|
203
|
+ <p>
|
|
|
204
|
+ <span class="camo">596</span>元</p>
|
|
|
205
|
+ </a>
|
|
|
206
|
+ </li>
|
|
|
207
|
+ <li>
|
|
|
208
|
+ <a href="#">
|
|
|
209
|
+ <img src="images/caserver_07.jpg" />
|
|
|
210
|
+ <p class="tx">帕金森护理</p>
|
|
|
211
|
+ <p>
|
|
|
212
|
+ <span class="camo">596</span>元</p>
|
|
|
213
|
+ </a>
|
|
|
214
|
+ </li>
|
|
|
215
|
+ <li>
|
|
|
216
|
+ <a href="#">
|
|
|
217
|
+ <img src="images/caserver_07.jpg" />
|
|
|
218
|
+ <p class="tx">帕金森护理</p>
|
|
|
219
|
+ <p>
|
|
|
220
|
+ <span class="camo">596</span>元</p>
|
|
|
221
|
+ </a>
|
|
|
222
|
+ </li>
|
|
|
223
|
+ </ul>
|
183
|
</div>
|
224
|
</div>
|
184
|
</div>
|
225
|
</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> |