Showing
9 changed files
with
439 additions
and
0 deletions
canada-life/dists/css/style.css
0 → 100644
| 1 | +/* | ||
| 2 | + color | ||
| 3 | +*/ | ||
| 4 | +.blur { | ||
| 5 | + -webkit-filter: blur(5px); | ||
| 6 | + /* Chrome, Opera */ | ||
| 7 | + -moz-filter: blur(5px); | ||
| 8 | + -ms-filter: blur(5px); | ||
| 9 | + filter: blur(5px); | ||
| 10 | +} | ||
| 11 | +.omit { | ||
| 12 | + display: -webkit-box; | ||
| 13 | + -webkit-box-orient: vertical; | ||
| 14 | + overflow: hidden; | ||
| 15 | +} | ||
| 16 | +.omit.omit1 { | ||
| 17 | + -webkit-line-clamp: 1; | ||
| 18 | +} | ||
| 19 | +.omit.omit2 { | ||
| 20 | + -webkit-line-clamp: 2; | ||
| 21 | +} | ||
| 22 | +.omit.omit3 { | ||
| 23 | + -webkit-line-clamp: 3; | ||
| 24 | +} | ||
| 25 | +.no-indent { | ||
| 26 | + text-indent: 0 !important; | ||
| 27 | +} | ||
| 28 | +.text-important { | ||
| 29 | + color: red; | ||
| 30 | +} | ||
| 31 | +.text-info { | ||
| 32 | + color: #48b3ff; | ||
| 33 | +} | ||
| 34 | +.go-back { | ||
| 35 | + position: absolute; | ||
| 36 | + top: 1rem; | ||
| 37 | + left: 1rem; | ||
| 38 | + font-size: 1rem; | ||
| 39 | + color: white; | ||
| 40 | +} | ||
| 41 | +.arrow-left { | ||
| 42 | + width: 0; | ||
| 43 | + height: 0; | ||
| 44 | + border-width: .2rem; | ||
| 45 | + border-style: solid; | ||
| 46 | + border-color: transparent; | ||
| 47 | +} | ||
| 48 | +/* | ||
| 49 | + school_intro css | ||
| 50 | +*/ | ||
| 51 | +.page { | ||
| 52 | + background-color: #ffffff; | ||
| 53 | +} | ||
| 54 | +header.bar { | ||
| 55 | + padding: 0; | ||
| 56 | +} | ||
| 57 | +header.bar:after { | ||
| 58 | + display: none; | ||
| 59 | +} | ||
| 60 | +.header-wrapper { | ||
| 61 | + position: relative; | ||
| 62 | + z-index: -1; | ||
| 63 | + width: 100%; | ||
| 64 | + max-width: 100%; | ||
| 65 | + height: 17.5rem; | ||
| 66 | + /* background height*/ | ||
| 67 | + background-repeat: no-repeat; | ||
| 68 | + background-size: cover; | ||
| 69 | +} | ||
| 70 | +nav.bar a:first-child:after { | ||
| 71 | + display: none; | ||
| 72 | +} | ||
| 73 | +nav.bar a:after { | ||
| 74 | + position: absolute; | ||
| 75 | + top: 50%; | ||
| 76 | + bottom: 0; | ||
| 77 | + display: block; | ||
| 78 | + content: ''; | ||
| 79 | + width: .05rem; | ||
| 80 | + margin-top: -0.4rem; | ||
| 81 | + height: 0.8rem; | ||
| 82 | + background-color: #e6e6e6; | ||
| 83 | +} | ||
| 84 | +.school_badge { | ||
| 85 | + position: absolute; | ||
| 86 | + top: 3.7rem; | ||
| 87 | + left: calc(50%); | ||
| 88 | + margin-left: -3.5rem; | ||
| 89 | + z-index: 99; | ||
| 90 | + width: 7rem; | ||
| 91 | + height: 7rem; | ||
| 92 | + border-radius: 7rem; | ||
| 93 | + background-color: rgba(255, 255, 255, 0.5); | ||
| 94 | + /*opacity*/ | ||
| 95 | +} | ||
| 96 | +.school_badge img { | ||
| 97 | + position: absolute; | ||
| 98 | + width: 6.5rem; | ||
| 99 | + height: 6.5rem; | ||
| 100 | + border-radius: 6.5rem; | ||
| 101 | + top: 3.25rem; | ||
| 102 | + left: calc(50%); | ||
| 103 | + margin: -3rem 0 0 -3.25rem; | ||
| 104 | +} | ||
| 105 | +.school_info { | ||
| 106 | + position: absolute; | ||
| 107 | + top: 10.7rem; | ||
| 108 | + margin-top: .5rem; | ||
| 109 | + text-align: center; | ||
| 110 | + width: 100%; | ||
| 111 | + padding: .5rem 0 .6rem 0; | ||
| 112 | + color: white; | ||
| 113 | + border-bottom: .5rem solid #f0f0f0; | ||
| 114 | +} | ||
| 115 | +.school_info .text { | ||
| 116 | + font-size: 1.25rem; | ||
| 117 | +} | ||
| 118 | +.school_info .collect { | ||
| 119 | + display: inline-block; | ||
| 120 | + min-width: 10px; | ||
| 121 | + padding: 3px 7px; | ||
| 122 | + font-size: 12px; | ||
| 123 | + font-weight: 700; | ||
| 124 | + line-height: 1; | ||
| 125 | + color: #fff; | ||
| 126 | + text-align: center; | ||
| 127 | + white-space: nowrap; | ||
| 128 | + vertical-align: middle; | ||
| 129 | + border-radius: 10px; | ||
| 130 | + margin-bottom: .5rem; | ||
| 131 | + background-color: #9dcc26; | ||
| 132 | +} | ||
| 133 | +.school_info .collect .text { | ||
| 134 | + font-size: .5rem; | ||
| 135 | + line-height: 1.3; | ||
| 136 | +} | ||
| 137 | +.school_info .intro { | ||
| 138 | + font-size: .75rem; | ||
| 139 | + margin: .5rem .8rem; | ||
| 140 | +} | ||
| 141 | +.content { | ||
| 142 | + padding-bottom: 2.5rem; | ||
| 143 | +} | ||
| 144 | +.intro-box { | ||
| 145 | + margin-bottom: .5rem; | ||
| 146 | + padding: .8rem .75rem .75rem .75rem; | ||
| 147 | + border-bottom: .5rem solid #f0f0f0; | ||
| 148 | +} | ||
| 149 | +.intro-box:last-child { | ||
| 150 | + border-bottom: 0; | ||
| 151 | +} | ||
| 152 | +.intro-box .title { | ||
| 153 | + position: relative; | ||
| 154 | + text-align: left; | ||
| 155 | + vertical-align: middle; | ||
| 156 | + margin: 0; | ||
| 157 | +} | ||
| 158 | +.intro-box .title:before { | ||
| 159 | + content: ''; | ||
| 160 | + display: inline-block; | ||
| 161 | + border: 2px solid #48b4ff; | ||
| 162 | + height: .7rem; | ||
| 163 | + position: absolute; | ||
| 164 | + top: 50%; | ||
| 165 | + margin-top: -0.45rem; | ||
| 166 | +} | ||
| 167 | +.intro-box .title span { | ||
| 168 | + margin-left: .5rem; | ||
| 169 | +} | ||
| 170 | +.intro-box p { | ||
| 171 | + margin: .5em 0; | ||
| 172 | + font-size: .75rem; | ||
| 173 | + text-indent: 1rem; | ||
| 174 | +} | ||
| 175 | +.intro-box .more { | ||
| 176 | + font-size: .7rem; | ||
| 177 | + height: .75rem; | ||
| 178 | + line-height: .75rem; | ||
| 179 | + color: #48b3ff; | ||
| 180 | +} | ||
| 181 | +.intro-box .more .more-link { | ||
| 182 | + background-color: #48b3ff; | ||
| 183 | + color: white; | ||
| 184 | + width: 1rem; | ||
| 185 | + border-radius: .1rem; | ||
| 186 | + text-align: center; | ||
| 187 | + padding: .01rem; | ||
| 188 | +} | ||
| 189 | +.intro-box .more .more-link span { | ||
| 190 | + font-size: .5rem; | ||
| 191 | +} | ||
| 192 | +.intro-box .more div { | ||
| 193 | + display: inline-block; | ||
| 194 | +} | ||
| 195 | +.list-block { | ||
| 196 | + margin: 0; | ||
| 197 | +} | ||
| 198 | +.list-block ul:before { | ||
| 199 | + height: 0; | ||
| 200 | +} | ||
| 201 | +.list-block .item-subtitle { | ||
| 202 | + margin-top: .2rem; | ||
| 203 | +} | ||
| 204 | +.list-block.media-list .item-media { | ||
| 205 | + padding-top: 0.65rem; | ||
| 206 | + padding-bottom: 0.7rem; | ||
| 207 | +} | ||
| 208 | +.list-block.media-list .item-inner { | ||
| 209 | + padding-top: 0.7rem; | ||
| 210 | + padding-bottom: 0.65rem; | ||
| 211 | +} | ||
| 212 | +.media-list { | ||
| 213 | + margin-top: .4rem; | ||
| 214 | +} | ||
| 215 | +.item-media img { | ||
| 216 | + border-radius: 4rem; | ||
| 217 | +} | ||
| 218 | +.item-title { | ||
| 219 | + vertical-align: middle; | ||
| 220 | + line-height: 1rem; | ||
| 221 | +} | ||
| 222 | +.item-title i.sex { | ||
| 223 | + display: inline-block; | ||
| 224 | + width: 1rem; | ||
| 225 | + height: 1rem; | ||
| 226 | + border-radius: 4rem; | ||
| 227 | + background-color: #0a8ddf; | ||
| 228 | + font-size: .7rem; | ||
| 229 | + padding-left: .15rem; | ||
| 230 | + color: #ffffff; | ||
| 231 | +} | ||
| 232 | +.notice { | ||
| 233 | + margin-top: .4rem; | ||
| 234 | + padding: .75rem; | ||
| 235 | + border-bottom: .5rem solid #f0f0f0; | ||
| 236 | + font-size: .75rem; | ||
| 237 | +} | ||
| 238 | +.notice .icon { | ||
| 239 | + color: #0a8ddf; | ||
| 240 | +} | ||
| 241 | +.mix-info-wrapper { | ||
| 242 | + padding: .5rem 0; | ||
| 243 | + font-size: .75rem; | ||
| 244 | + border-bottom: .5rem solid #f0f0f0; | ||
| 245 | +} | ||
| 246 | +.mix-info-wrapper .mix-info-media { | ||
| 247 | + padding: .5rem; | ||
| 248 | + position: relative; | ||
| 249 | + display: table; | ||
| 250 | + width: 100%; | ||
| 251 | + max-width: 100%; | ||
| 252 | +} | ||
| 253 | +.mix-info-wrapper .mix-info-media > div { | ||
| 254 | + display: table-cell; | ||
| 255 | + vertical-align: middle; | ||
| 256 | +} | ||
| 257 | +.mix-info-wrapper .mix-info-media .media { | ||
| 258 | + float: left; | ||
| 259 | + height: 2.5rem; | ||
| 260 | + line-height: 2.5rem; | ||
| 261 | +} | ||
| 262 | +.mix-info-wrapper .mix-info-media .media img { | ||
| 263 | + border-radius: 4rem; | ||
| 264 | + vertical-align: middle; | ||
| 265 | + margin-bottom: .2rem; | ||
| 266 | +} | ||
| 267 | +.mix-info-wrapper .mix-info-media .media span { | ||
| 268 | + line-height: 2.5; | ||
| 269 | + margin-left: .3rem; | ||
| 270 | +} | ||
| 271 | +.mix-info-wrapper .mix-info-media .plug { | ||
| 272 | + float: left; | ||
| 273 | + height: 2.5rem; | ||
| 274 | + width: 6.5rem; | ||
| 275 | + color: white; | ||
| 276 | + position: relative; | ||
| 277 | + text-align: right; | ||
| 278 | +} | ||
| 279 | +.mix-info-wrapper .mix-info-media .plug .plug-box { | ||
| 280 | + font-size: .5rem; | ||
| 281 | + text-align: left; | ||
| 282 | + height: 1rem; | ||
| 283 | + line-height: 1rem; | ||
| 284 | + position: absolute; | ||
| 285 | + top: 50%; | ||
| 286 | + min-width: 6rem; | ||
| 287 | + padding-left: .25rem; | ||
| 288 | + margin-left: .4rem; | ||
| 289 | + margin-top: -0.5rem; | ||
| 290 | + border-radius: 2px; | ||
| 291 | +} | ||
| 292 | +.mix-info-wrapper .mix-info-media .plug .plug-box .arrow-left { | ||
| 293 | + position: absolute; | ||
| 294 | + top: 50%; | ||
| 295 | + left: -0.4rem; | ||
| 296 | + margin-top: -0.2rem; | ||
| 297 | +} | ||
| 298 | +.mix-info-wrapper .mix-info-media .plug .plug-box .text { | ||
| 299 | + margin-left: .1rem; | ||
| 300 | +} | ||
| 301 | +.mix-info-wrapper .mix-info-media .plug .plug-box.pay { | ||
| 302 | + background-color: #48b4ff; | ||
| 303 | +} | ||
| 304 | +.mix-info-wrapper .mix-info-media .plug .plug-box.pay .arrow-left { | ||
| 305 | + border-right-color: #48b4ff; | ||
| 306 | +} | ||
| 307 | +.mix-info-wrapper .mix-info-media .plug .plug-box.free { | ||
| 308 | + background-color: #9dcc26; | ||
| 309 | +} | ||
| 310 | +.mix-info-wrapper .mix-info-media .plug .plug-box.free .arrow-left { | ||
| 311 | + border-right-color: #9dcc26; | ||
| 312 | +} | ||
| 313 | +.mix-info-wrapper .mix-info-media .plug .plug-box.expire { | ||
| 314 | + background-color: #dddddd; | ||
| 315 | + color: #969696; | ||
| 316 | +} | ||
| 317 | +.mix-info-wrapper .mix-info-media .plug .plug-box.expire .arrow-left { | ||
| 318 | + border-right-color: #dddddd; | ||
| 319 | +} | ||
| 320 | +.mix-info-wrapper .mix-info-media .plug .plug-box.expire .icon { | ||
| 321 | + color: #969696; | ||
| 322 | +} | ||
| 323 | +.mix-info-wrapper .mix-info-media .plug .ms { | ||
| 324 | + color: #b7b7b7; | ||
| 325 | + float: right; | ||
| 326 | + position: absolute; | ||
| 327 | + top: 50%; | ||
| 328 | + margin-top: -0.5rem; | ||
| 329 | +} | ||
| 330 | +.mix-info-wrapper .mix-info-media .time { | ||
| 331 | + line-height: 6; | ||
| 332 | + font-size: .55rem; | ||
| 333 | + color: #b7b7b7; | ||
| 334 | + position: absolute; | ||
| 335 | + top: 0; | ||
| 336 | + bottom: 0; | ||
| 337 | + right: .5rem; | ||
| 338 | +} | ||
| 339 | +.mix-info-wrapper .mix-info-content { | ||
| 340 | + padding: 0 .5rem; | ||
| 341 | +} | ||
| 342 | +.mix-info-wrapper .mix-info-content .tag { | ||
| 343 | + margin-bottom: 1rem; | ||
| 344 | +} | ||
| 345 | +.mix-info-wrapper .mix-info-content .tag span { | ||
| 346 | + padding: .25rem .4rem; | ||
| 347 | + background-color: #f0f0f0; | ||
| 348 | + font-size: .5rem; | ||
| 349 | + border-radius: .2rem; | ||
| 350 | + margin-right: .25rem; | ||
| 351 | +} | ||
| 352 | +.mix-info-wrapper .mix-info-action { | ||
| 353 | + border-top: 1px solid #f0f0f0; | ||
| 354 | + padding-top: .5rem; | ||
| 355 | + position: relative; | ||
| 356 | +} | ||
| 357 | +.mix-info-wrapper .mix-info-action .row > div { | ||
| 358 | + text-align: center; | ||
| 359 | + position: relative; | ||
| 360 | +} | ||
| 361 | +.mix-info-wrapper .mix-info-action .row > div:first-child:after { | ||
| 362 | + display: none; | ||
| 363 | +} | ||
| 364 | +.mix-info-wrapper .mix-info-action .row > div:after { | ||
| 365 | + position: absolute; | ||
| 366 | + top: 50%; | ||
| 367 | + bottom: 0; | ||
| 368 | + display: block; | ||
| 369 | + content: ''; | ||
| 370 | + width: .05rem; | ||
| 371 | + margin-top: -0.4rem; | ||
| 372 | + height: 0.8rem; | ||
| 373 | + background-color: #e6e6e6; | ||
| 374 | +} | ||
| 375 | +.mix-info-wrapper .mix-info-action .row > div i { | ||
| 376 | + font-style: normal; | ||
| 377 | + font-weight: normal; | ||
| 378 | + font-size: .7rem; | ||
| 379 | + margin-left: .25rem; | ||
| 380 | +} | ||
| 381 | +.mix-info-wrapper .mix-info-other { | ||
| 382 | + position: relative; | ||
| 383 | + padding: 0 .5rem; | ||
| 384 | + text-align: center; | ||
| 385 | +} | ||
| 386 | +.mix-info-wrapper .mix-info-other .widget { | ||
| 387 | + position: absolute; | ||
| 388 | + top: .8rem; | ||
| 389 | + left: 1rem; | ||
| 390 | + color: white; | ||
| 391 | + font-size: .5rem; | ||
| 392 | + background-color: rgba(142, 142, 142, 0.6); | ||
| 393 | + width: 40%; | ||
| 394 | + padding: .15rem; | ||
| 395 | + border-radius: 1rem; | ||
| 396 | +} | ||
| 397 | +.mix-info-wrapper .mix-info-other .widget div:first-child { | ||
| 398 | + display: inline-block; | ||
| 399 | + position: absolute; | ||
| 400 | + left: 1.5rem; | ||
| 401 | + top: .35rem; | ||
| 402 | + width: 6rem; | ||
| 403 | + font-size: .75rem; | ||
| 404 | +} | ||
| 405 | +.mix-info-wrapper .mix-info-other .widget div:last-child { | ||
| 406 | + background-color: rgba(255, 160, 40, 0.8); | ||
| 407 | + border-radius: 1.5rem; | ||
| 408 | + width: 1.5rem; | ||
| 409 | + height: 1.5rem; | ||
| 410 | + line-height: 1.5rem; | ||
| 411 | + float: left; | ||
| 412 | +} | ||
| 413 | +.bar { | ||
| 414 | + background-color: white; | ||
| 415 | +} | ||
| 416 | +.test-img { | ||
| 417 | + width: 10rem; | ||
| 418 | + height: 10rem; | ||
| 419 | + background-image: url(/dists/images/logo.png?82b9c7a5a3f405032b1db71a25f67021); | ||
| 420 | +} |
This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type
canada-life/dists/images/logo.png
0 → 100644
6.69 KB
canada-life/dists/lib/sm.css
0 → 100644
This diff could not be displayed because it is too large.
canada-life/dists/lib/sm.js
0 → 100644
This diff could not be displayed because it is too large.
canada-life/dists/school.js
0 → 100644
This diff could not be displayed because it is too large.
canada-life/index.html
0 → 100644
| 1 | +<!DOCTYPE html> | ||
| 2 | +<html lang="zh-cn"> | ||
| 3 | + <head> | ||
| 4 | + <meta charset="utf-8"> | ||
| 5 | + <title>学校详情</title> | ||
| 6 | + <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/> | ||
| 7 | + <meta content="yes" name="apple-mobile-web-app-capable"> | ||
| 8 | + <meta content="black-translucent" name="apple-mobile-web-app-status-bar-style"> | ||
| 9 | + <meta content="telephone=no" name="format-detection"> | ||
| 10 | + <link rel="stylesheet" href="/dists/lib/sm.css"> | ||
| 11 | + <link rel="stylesheet" href="/dists/css/style.css"> | ||
| 12 | + </head> | ||
| 13 | + <body> | ||
| 14 | + <div id="app"></div> | ||
| 15 | + <script src="/dists/school.js"></script> | ||
| 16 | + <script src="/dists/lib/sm.js"></script> | ||
| 17 | + <script>$.init()</script> | ||
| 18 | + </body> | ||
| 19 | +</html> |
-
Please register or login to post a comment