Showing
1 changed file
with
62 additions
and
50 deletions
@@ -6,25 +6,26 @@ | @@ -6,25 +6,26 @@ | ||
6 | <meta name="Keywords" content=""> | 6 | <meta name="Keywords" content=""> |
7 | <meta name="Description" content=""> | 7 | <meta name="Description" content=""> |
8 | <title>收藏</title> | 8 | <title>收藏</title> |
9 | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
10 | - <link rel="stylesheet" type="text/css" href="css/reset.css" /> | ||
11 | - <link rel="stylesheet" type="text/css" href="css/style.css" /> | 9 | + <meta name="viewport" |
10 | + content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
11 | + <link rel="stylesheet" type="text/css" href="css/reset.css"/> | ||
12 | + <link rel="stylesheet" type="text/css" href="css/style.css"/> | ||
12 | <script type="text/javascript" src="js/jquery.min.js"></script> | 13 | <script type="text/javascript" src="js/jquery.min.js"></script> |
13 | <script type="text/javascript" src="js/autoSize.js"></script> | 14 | <script type="text/javascript" src="js/autoSize.js"></script> |
14 | <script> | 15 | <script> |
15 | $( | 16 | $( |
16 | - function (){ | 17 | + function () { |
17 | $(".good-c .add-btn").click( | 18 | $(".good-c .add-btn").click( |
18 | - function (){ | 19 | + function () { |
19 | $.ajax({ | 20 | $.ajax({ |
20 | - url: '/activity/brand/enter.html/activity/favorite/addFavorite?productSkn=234234&uid=234234', | 21 | + url: '/activity/favorite/addFavorite?productSkn=234234&uid=234234', |
21 | type: "get", | 22 | type: "get", |
22 | dataType: 'json', | 23 | dataType: 'json', |
23 | success: function (data) { | 24 | success: function (data) { |
24 | if (data.code === 200) { | 25 | if (data.code === 200) { |
25 | - alert("收藏成功!!!"); | 26 | + alert(data.message); |
26 | } else { | 27 | } else { |
27 | - //系统异常 | 28 | + alert(data.message); |
28 | } | 29 | } |
29 | } | 30 | } |
30 | }); | 31 | }); |
@@ -35,242 +36,253 @@ | @@ -35,242 +36,253 @@ | ||
35 | </script> | 36 | </script> |
36 | </head> | 37 | </head> |
37 | <body> | 38 | <body> |
38 | - <div class="container"> | 39 | +<div class="container"> |
39 | <div class="big-pic"> | 40 | <div class="big-pic"> |
40 | - <img src="images/big-pic.jpg" /> | 41 | + <img src="images/big-pic.jpg"/> |
41 | </div> | 42 | </div> |
42 | <div class="big-pic"> | 43 | <div class="big-pic"> |
43 | - <img src="images/tip-pic-1.jpg" /> | 44 | + <img src="images/tip-pic-1.jpg"/> |
44 | </div> | 45 | </div> |
45 | <ul class="good-ul clearfix"> | 46 | <ul class="good-ul clearfix"> |
46 | <li> | 47 | <li> |
47 | <div class="good-c"> | 48 | <div class="good-c"> |
48 | <div class="pic-c"> | 49 | <div class="pic-c"> |
49 | - <img src="images/good.jpg" /> | 50 | + <img src="images/good.jpg"/> |
50 | </div> | 51 | </div> |
51 | <div class="price-c"> | 52 | <div class="price-c"> |
52 | <span>¥100.00</span> | 53 | <span>¥100.00</span> |
53 | <span>¥100.00</span> | 54 | <span>¥100.00</span> |
54 | </div> | 55 | </div> |
55 | - <img class="arr" src="images/arr.jpg" /> | 56 | + <img class="arr" src="images/arr.jpg"/> |
57 | + | ||
56 | <div class="name-c"> | 58 | <div class="name-c"> |
57 | <p>Madness</p> | 59 | <p>Madness</p> |
58 | <a class="add-btn">马上收藏</a> | 60 | <a class="add-btn">马上收藏</a> |
59 | </div> | 61 | </div> |
60 | </div> | 62 | </div> |
61 | <div class="big-pic"> | 63 | <div class="big-pic"> |
62 | - <img src="images/good-dot.jpg" /> | 64 | + <img src="images/good-dot.jpg"/> |
63 | </div> | 65 | </div> |
64 | </li> | 66 | </li> |
65 | <li> | 67 | <li> |
66 | <div class="good-c"> | 68 | <div class="good-c"> |
67 | <div class="pic-c"> | 69 | <div class="pic-c"> |
68 | - <img src="images/good.jpg" /> | 70 | + <img src="images/good.jpg"/> |
69 | </div> | 71 | </div> |
70 | <div class="price-c"> | 72 | <div class="price-c"> |
71 | <span>¥100.00</span> | 73 | <span>¥100.00</span> |
72 | <span>¥100.00</span> | 74 | <span>¥100.00</span> |
73 | </div> | 75 | </div> |
74 | - <img class="arr" src="images/arr.jpg" /> | 76 | + <img class="arr" src="images/arr.jpg"/> |
77 | + | ||
75 | <div class="name-c"> | 78 | <div class="name-c"> |
76 | <p>Madness</p> | 79 | <p>Madness</p> |
77 | <a class="add-btn">马上收藏</a> | 80 | <a class="add-btn">马上收藏</a> |
78 | </div> | 81 | </div> |
79 | </div> | 82 | </div> |
80 | <div class="big-pic"> | 83 | <div class="big-pic"> |
81 | - <img src="images/good-dot.jpg" /> | 84 | + <img src="images/good-dot.jpg"/> |
82 | </div> | 85 | </div> |
83 | </li> | 86 | </li> |
84 | <li> | 87 | <li> |
85 | <div class="good-c"> | 88 | <div class="good-c"> |
86 | <div class="pic-c"> | 89 | <div class="pic-c"> |
87 | - <img src="images/good.jpg" /> | 90 | + <img src="images/good.jpg"/> |
88 | </div> | 91 | </div> |
89 | <div class="price-c"> | 92 | <div class="price-c"> |
90 | <span>¥100.00</span> | 93 | <span>¥100.00</span> |
91 | <span>¥100.00</span> | 94 | <span>¥100.00</span> |
92 | </div> | 95 | </div> |
93 | - <img class="arr" src="images/arr.jpg" /> | 96 | + <img class="arr" src="images/arr.jpg"/> |
97 | + | ||
94 | <div class="name-c"> | 98 | <div class="name-c"> |
95 | <p>Madness</p> | 99 | <p>Madness</p> |
96 | <a class="add-btn">马上收藏</a> | 100 | <a class="add-btn">马上收藏</a> |
97 | </div> | 101 | </div> |
98 | </div> | 102 | </div> |
99 | <div class="big-pic"> | 103 | <div class="big-pic"> |
100 | - <img src="images/good-dot.jpg" /> | 104 | + <img src="images/good-dot.jpg"/> |
101 | </div> | 105 | </div> |
102 | </li> | 106 | </li> |
103 | <li> | 107 | <li> |
104 | <div class="good-c"> | 108 | <div class="good-c"> |
105 | <div class="pic-c"> | 109 | <div class="pic-c"> |
106 | - <img src="images/good.jpg" /> | 110 | + <img src="images/good.jpg"/> |
107 | </div> | 111 | </div> |
108 | <div class="price-c"> | 112 | <div class="price-c"> |
109 | <span>¥100.00</span> | 113 | <span>¥100.00</span> |
110 | <span>¥100.00</span> | 114 | <span>¥100.00</span> |
111 | </div> | 115 | </div> |
112 | - <img class="arr" src="images/arr.jpg" /> | 116 | + <img class="arr" src="images/arr.jpg"/> |
117 | + | ||
113 | <div class="name-c"> | 118 | <div class="name-c"> |
114 | <p>Madness</p> | 119 | <p>Madness</p> |
115 | <a class="add-btn">马上收藏</a> | 120 | <a class="add-btn">马上收藏</a> |
116 | </div> | 121 | </div> |
117 | </div> | 122 | </div> |
118 | <div class="big-pic"> | 123 | <div class="big-pic"> |
119 | - <img src="images/good-dot.jpg" /> | 124 | + <img src="images/good-dot.jpg"/> |
120 | </div> | 125 | </div> |
121 | </li> | 126 | </li> |
122 | <li> | 127 | <li> |
123 | <div class="good-c"> | 128 | <div class="good-c"> |
124 | <div class="pic-c"> | 129 | <div class="pic-c"> |
125 | - <img src="images/good.jpg" /> | 130 | + <img src="images/good.jpg"/> |
126 | </div> | 131 | </div> |
127 | <div class="price-c"> | 132 | <div class="price-c"> |
128 | <span>¥100.00</span> | 133 | <span>¥100.00</span> |
129 | <span>¥100.00</span> | 134 | <span>¥100.00</span> |
130 | </div> | 135 | </div> |
131 | - <img class="arr" src="images/arr.jpg" /> | 136 | + <img class="arr" src="images/arr.jpg"/> |
137 | + | ||
132 | <div class="name-c"> | 138 | <div class="name-c"> |
133 | <p>Madness</p> | 139 | <p>Madness</p> |
134 | <a class="add-btn">马上收藏</a> | 140 | <a class="add-btn">马上收藏</a> |
135 | </div> | 141 | </div> |
136 | </div> | 142 | </div> |
137 | <div class="big-pic"> | 143 | <div class="big-pic"> |
138 | - <img src="images/good-dot.jpg" /> | 144 | + <img src="images/good-dot.jpg"/> |
139 | </div> | 145 | </div> |
140 | </li> | 146 | </li> |
141 | <li> | 147 | <li> |
142 | <div class="good-c"> | 148 | <div class="good-c"> |
143 | <div class="pic-c"> | 149 | <div class="pic-c"> |
144 | - <img src="images/good.jpg" /> | 150 | + <img src="images/good.jpg"/> |
145 | </div> | 151 | </div> |
146 | <div class="price-c"> | 152 | <div class="price-c"> |
147 | <span>¥100.00</span> | 153 | <span>¥100.00</span> |
148 | <span>¥100.00</span> | 154 | <span>¥100.00</span> |
149 | </div> | 155 | </div> |
150 | - <img class="arr" src="images/arr.jpg" /> | 156 | + <img class="arr" src="images/arr.jpg"/> |
157 | + | ||
151 | <div class="name-c"> | 158 | <div class="name-c"> |
152 | <p>Madness</p> | 159 | <p>Madness</p> |
153 | <a class="add-btn">马上收藏</a> | 160 | <a class="add-btn">马上收藏</a> |
154 | </div> | 161 | </div> |
155 | </div> | 162 | </div> |
156 | <div class="big-pic"> | 163 | <div class="big-pic"> |
157 | - <img src="images/good-dot.jpg" /> | 164 | + <img src="images/good-dot.jpg"/> |
158 | </div> | 165 | </div> |
159 | </li> | 166 | </li> |
160 | <li> | 167 | <li> |
161 | <div class="good-c"> | 168 | <div class="good-c"> |
162 | <div class="pic-c"> | 169 | <div class="pic-c"> |
163 | - <img src="images/good.jpg" /> | 170 | + <img src="images/good.jpg"/> |
164 | </div> | 171 | </div> |
165 | <div class="price-c"> | 172 | <div class="price-c"> |
166 | <span>¥100.00</span> | 173 | <span>¥100.00</span> |
167 | <span>¥100.00</span> | 174 | <span>¥100.00</span> |
168 | </div> | 175 | </div> |
169 | - <img class="arr" src="images/arr.jpg" /> | 176 | + <img class="arr" src="images/arr.jpg"/> |
177 | + | ||
170 | <div class="name-c"> | 178 | <div class="name-c"> |
171 | <p>Madness</p> | 179 | <p>Madness</p> |
172 | <a class="add-btn">马上收藏</a> | 180 | <a class="add-btn">马上收藏</a> |
173 | </div> | 181 | </div> |
174 | </div> | 182 | </div> |
175 | <div class="big-pic"> | 183 | <div class="big-pic"> |
176 | - <img src="images/good-dot.jpg" /> | 184 | + <img src="images/good-dot.jpg"/> |
177 | </div> | 185 | </div> |
178 | </li> | 186 | </li> |
179 | <li> | 187 | <li> |
180 | <div class="good-c"> | 188 | <div class="good-c"> |
181 | <div class="pic-c"> | 189 | <div class="pic-c"> |
182 | - <img src="images/good.jpg" /> | 190 | + <img src="images/good.jpg"/> |
183 | </div> | 191 | </div> |
184 | <div class="price-c"> | 192 | <div class="price-c"> |
185 | <span>¥100.00</span> | 193 | <span>¥100.00</span> |
186 | <span>¥100.00</span> | 194 | <span>¥100.00</span> |
187 | </div> | 195 | </div> |
188 | - <img class="arr" src="images/arr.jpg" /> | 196 | + <img class="arr" src="images/arr.jpg"/> |
197 | + | ||
189 | <div class="name-c"> | 198 | <div class="name-c"> |
190 | <p>Madness</p> | 199 | <p>Madness</p> |
191 | <a class="add-btn">马上收藏</a> | 200 | <a class="add-btn">马上收藏</a> |
192 | </div> | 201 | </div> |
193 | </div> | 202 | </div> |
194 | <div class="big-pic"> | 203 | <div class="big-pic"> |
195 | - <img src="images/good-dot.jpg" /> | 204 | + <img src="images/good-dot.jpg"/> |
196 | </div> | 205 | </div> |
197 | </li> | 206 | </li> |
198 | <li> | 207 | <li> |
199 | <div class="good-c"> | 208 | <div class="good-c"> |
200 | <div class="pic-c"> | 209 | <div class="pic-c"> |
201 | - <img src="images/good.jpg" /> | 210 | + <img src="images/good.jpg"/> |
202 | </div> | 211 | </div> |
203 | <div class="price-c"> | 212 | <div class="price-c"> |
204 | <span>¥100.00</span> | 213 | <span>¥100.00</span> |
205 | <span>¥100.00</span> | 214 | <span>¥100.00</span> |
206 | </div> | 215 | </div> |
207 | - <img class="arr" src="images/arr.jpg" /> | 216 | + <img class="arr" src="images/arr.jpg"/> |
217 | + | ||
208 | <div class="name-c"> | 218 | <div class="name-c"> |
209 | <p>Madness</p> | 219 | <p>Madness</p> |
210 | <a class="add-btn">马上收藏</a> | 220 | <a class="add-btn">马上收藏</a> |
211 | </div> | 221 | </div> |
212 | </div> | 222 | </div> |
213 | <div class="big-pic"> | 223 | <div class="big-pic"> |
214 | - <img src="images/good-dot.jpg" /> | 224 | + <img src="images/good-dot.jpg"/> |
215 | </div> | 225 | </div> |
216 | </li> | 226 | </li> |
217 | <li> | 227 | <li> |
218 | <div class="good-c"> | 228 | <div class="good-c"> |
219 | <div class="pic-c"> | 229 | <div class="pic-c"> |
220 | - <img src="images/good.jpg" /> | 230 | + <img src="images/good.jpg"/> |
221 | </div> | 231 | </div> |
222 | <div class="price-c"> | 232 | <div class="price-c"> |
223 | <span>¥100.00</span> | 233 | <span>¥100.00</span> |
224 | <span>¥100.00</span> | 234 | <span>¥100.00</span> |
225 | </div> | 235 | </div> |
226 | - <img class="arr" src="images/arr.jpg" /> | 236 | + <img class="arr" src="images/arr.jpg"/> |
237 | + | ||
227 | <div class="name-c"> | 238 | <div class="name-c"> |
228 | <p>Madness</p> | 239 | <p>Madness</p> |
229 | <a class="add-btn">马上收藏</a> | 240 | <a class="add-btn">马上收藏</a> |
230 | </div> | 241 | </div> |
231 | </div> | 242 | </div> |
232 | <div class="big-pic"> | 243 | <div class="big-pic"> |
233 | - <img src="images/good-dot.jpg" /> | 244 | + <img src="images/good-dot.jpg"/> |
234 | </div> | 245 | </div> |
235 | </li> | 246 | </li> |
236 | <li> | 247 | <li> |
237 | <div class="good-c"> | 248 | <div class="good-c"> |
238 | <div class="pic-c"> | 249 | <div class="pic-c"> |
239 | - <img src="images/good.jpg" /> | 250 | + <img src="images/good.jpg"/> |
240 | </div> | 251 | </div> |
241 | <div class="price-c"> | 252 | <div class="price-c"> |
242 | <span>¥100.00</span> | 253 | <span>¥100.00</span> |
243 | <span>¥100.00</span> | 254 | <span>¥100.00</span> |
244 | </div> | 255 | </div> |
245 | - <img class="arr" src="images/arr.jpg" /> | 256 | + <img class="arr" src="images/arr.jpg"/> |
257 | + | ||
246 | <div class="name-c"> | 258 | <div class="name-c"> |
247 | <p>Madness</p> | 259 | <p>Madness</p> |
248 | <a class="add-btn">马上收藏</a> | 260 | <a class="add-btn">马上收藏</a> |
249 | </div> | 261 | </div> |
250 | </div> | 262 | </div> |
251 | <div class="big-pic"> | 263 | <div class="big-pic"> |
252 | - <img src="images/good-dot.jpg" /> | 264 | + <img src="images/good-dot.jpg"/> |
253 | </div> | 265 | </div> |
254 | </li> | 266 | </li> |
255 | </ul> | 267 | </ul> |
256 | <div class="big-pic"> | 268 | <div class="big-pic"> |
257 | - <img src="images/tip-pic-2.jpg" /> | 269 | + <img src="images/tip-pic-2.jpg"/> |
258 | </div> | 270 | </div> |
259 | <div class="big-pic"> | 271 | <div class="big-pic"> |
260 | - <img src="images/big-pic.jpg" /> | 272 | + <img src="images/big-pic.jpg"/> |
261 | </div> | 273 | </div> |
262 | <div class="big-pic"> | 274 | <div class="big-pic"> |
263 | - <img src="images/foot-dot.jpg" /> | 275 | + <img src="images/foot-dot.jpg"/> |
264 | </div> | 276 | </div> |
265 | <div class="big-pic"> | 277 | <div class="big-pic"> |
266 | <a href="#"> | 278 | <a href="#"> |
267 | - <img src="images/download.jpg" /> | 279 | + <img src="images/download.jpg"/> |
268 | </a> | 280 | </a> |
269 | </div> | 281 | </div> |
270 | <div class="big-pic"> | 282 | <div class="big-pic"> |
271 | - <img src="images/foot.jpg" /> | ||
272 | - </div> | 283 | + <img src="images/foot.jpg"/> |
273 | </div> | 284 | </div> |
285 | +</div> | ||
274 | </body> | 286 | </body> |
275 | </html> | 287 | </html> |
276 | 288 |
-
Please register or login to post a comment