order.html 28.8 KB
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 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655
<!DOCTYPE html>
<html lang="en">

<head>
    <meta name="viewport" content="user-scalable=0, width=device-width, initial-scale=1.0,  minimum-scale=1.0, maximum-scale=1.0">
    <meta content="telephone=no" name="format-detection" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>一步物流-发货</title>
    <link rel="stylesheet" href="../css_an/common.css">
    <link rel="stylesheet" href="../css_an/order.css">
</head>

<body class="orderPage">
    <div class="m-page">
        <!-- header -->
        <header class="m-header">
            <a href="index.html" class="lt-bar"><i class="m-icon icon-title_fanhui"></i></a>
            <div class="head">
                <h1>发货</h1>
            </div>
        </header>
        <div class="m-content">
            <div class="text-center add-time">
              <span class="m-btn btn-default">
                <i class="m-icon icon-public_shijian"></i>
                添加发货时间
              </span>
            </div>
            <ul class="m-table-view border-1px border-top">
                <li class="cell cell-extend border-1px border-bottom">
                    <span class="title"><i class="m-icon icon-qidian"></i></span>
                    <span class="text"><a href="#addr-origin" data-popup="bottom">四川成都市</a></span>
                    <a href="addlist.html" class="add-addr"><i class="m-icon icon-public_tongxun"></i></a>
                    <ul class="m-table-view border-1px border-top">
                        <li class="cell border-1px border-bottom">
                            <span class="title"></span>
                            <span class="text font-gray">天府大道129号</span>
                        </li>
                        <li class="cell border-1px border-bottom">
                            <span class="title"></span>
                            <span class="text font-gray">13900000000</span>
                        </li>
                    </ul>
                </li>
                <li class="cell cell-extend border-1px border-bottom">
                    <span class="title"><i class="m-icon icon-zhongdian"></i></span>
                    <span class="text"><a href="#addr-dest" data-popup="bottom">湖北武汉市</a></span>
                    <a href="addlist.html" class="add-addr"><i class="m-icon icon-public_tongxun_h"></i></a>
                    <ul class="m-table-view border-1px border-top">
                        <li class="cell border-1px border-bottom">
                            <span class="text">
                              <input type="type" placeholder="区县-详细地址(选填)" class="m-input no-border"/>
                            </span>
                        </li>
                        <li class="cell border-1px border-bottom">
                            <span class="text">
                              <input type="type" placeholder="收货人" class="m-input no-border"/>
                            </span>
                        </li>
                        <li class="cell border-1px border-bottom">
                            <span class="text">
                              <input type="type" placeholder="手机号码" class="m-input no-border"/>
                            </span>
                        </li>
                    </ul>
                </li>
                <li class="cell acc-icon border-1px border-bottom cell-select">
                    <ul class="m-table-view border-top">
                        <li class="cell border-1px border-bottom">
                            <span class="title">备注</span>
                            <span class="text">
                              <input type="text" class="m-input
                                no-border" placeholder="货物信息"/>
                            </span>
                            <span class="acc" id="showmore"><i class="m-icon icon-public_jia"></i></span>
                        </li>
                    </ul>

                  <div id="getmore">
                    <div class="morewrap">

                    <ul class="m-table-view border-top">
                        <li class="cell border-1px border-bottom">
                            <span class="title">类型</span>
                            <span class="text">
                              <a href=""><input type="text" class="m-input
                                no-border" readonly="readonly"/></a>
                            </span>
                            <span class="acc"><i class="m-icon icon-public_jiantou"></i></span>
                        </li>
                        <li class="cell border-1px border-bottom">
                            <span class="title">重量</span>
                            <span class="text">
                              <input type="number" class="m-input no-border"
                              placeholder="请输入"/>
                            </span>
                            <span class="acc"></span>
                        </li>
                        <li class="cell border-1px border-bottom">
                            <span class="title">体积</span>
                            <span class="text">
                              <input type="number" class="m-input no-border" placeholder="请输入"/>
                            </span>
                            <span class="acc">立方米</span>
                        </li>
                        <li class="cell border-1px border-bottom">
                            <span class="title">备注</span>
                            <span class="text">
                              <input type="text" class="m-input no-border" placeholder="请输入"/>
                            </span>
                        </li>
                    </ul>
                    <div class="cell-type">
                      <ul class="type-select clearfix">
                        <li>
                          <div class="scell">
                            <h6>车型</h6>
                            <p><a href="#select-goods" data-popup="center"><span class="font-gray">无要求</span></a></p>
                          </div>
                        </li>
                        <li>
                          <div class="scell">
                            <h6>车长</h6>
                            <p><a href="#select-carl" data-popup="center"><span class="font-green">24米以上</span></a></p>
                          </div>
                        </li>
                        <li>
                          <div class="scell">
                            <h6>限时达</h6>
                            <p><a href="#select-date" data-popup="center"><span class="font-green">110小时</span></a></p>
                          </div>
                        </li>
                        <li>
                          <div class="scell">
                            <h6>诚意金</h6>
                            <p><a href="#select-money-no" data-popup="center"><span class="font-gray"></span></a></p>
                          </div>
                        </li>
                      </ul>
                    </div>

                    </div>
                  </div>
                </li>
                <li class="cell acc-icon border-1px border-bottom freight">
                    <span class="title">诚意金<i class="m-icon
                        icon-public_bangzhu"></i></span>
                    <span class="text font-gray text-right">
                      一步物流赠送
                    </span>
                    <span class="acc"><i class="m-icon icon-public_jiantou"></i></span>
                </li>
                <li class="cell acc-icon border-1px border-bottom freight">
                    <span class="title">运费出价</span>
                    <span class="text">
                      <input type="number" class="m-input no-border"
                      placeholder="参考价 2300"/>
                    </span>
                    <span class="acc"></span>
                </li>
                <li>
                  <p class="text-center">
                    <a href="#" class="m-btn afford-car">出价发车</a>
                  </p>
                </li>
            </ul>
        </div>
    </div>
    <!-- 确认接单 -->
    <div class="m-popup" id="confirmOrder">
        <div class="popup-head border-1px border-bottom">
            <h1>确认接单</h1>
        </div>
        <div class="popup-cont text-center">
            <p class="text-center">确定承运却不能提供物流服务的
                <br>会被扣除信用</p>
        </div>
        <div class="popup-foot text-center border-1px border-top">
            <a href="" data-dismiss class="m-btn btn-default mr15" id="cancelPopupBtn">取消</a>
            <a href="shipping_list.html" class="m-btn">确定承运</a>
        </div>
    </div>

    <div class="m-page addr-page" id="addr-origin">
        <!-- header -->
        <header class="m-header">
            <div class="head">
                <h1 class="font-gray">发货地区</h1>
            </div>
        </header>
        <div class="m-content">
            <div class="addr-section province">
                <ul class="m-table-view">
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full selected">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                </ul>
            </div>
            <div class="addr-section city">
                <ul class="m-table-view">
                    <li class="cell border-1px border-bottom">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px border-bottom">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px border-bottom">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px border-bottom">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px border-bottom">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px border-bottom">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px border-bottom">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px border-bottom">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px border-bottom">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li><li class="cell border-1px border-bottom">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px border-bottom">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px border-bottom">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                </ul>
            </div>
        </div>
    </div>

    <div class="m-page addr-page" id="addr-dest">
        <!-- header -->
        <header class="m-header">
            <div class="head">
                <h1 class="font-gray">到达地区</h1>
            </div>
        </header>
        <div class="m-content">
            <div class="addr-section province">
                <ul class="m-table-view">
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full selected">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京<i>(4)</i></span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                    <li class="cell border-1px-full">
                        <span class="title font-black">北京</span>
                        <span class="text"></span>
                    </li>
                </ul>
            </div>
            <div class="addr-section city">
                <ul class="m-table-view">
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title font-red">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio" checked="checked"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                    <li class="cell cell-radio border-1px border-bottom">
                        <label>
                            <span class="title">成都市</span>
                            <span class="text"><input type="checkbox" class="m-radio"></span>
                        </label>
                    </li>
                </ul>
            </div>
        </div>
    </div>

    <div class="m-popup" id="select-goods">
      <div class="popup-head border-1px border-bottom">
        <h1>货物类型</h1>
      </div>
      <div>
        <ul class="select-ul clearfix">
          <li><a href="#select-goods" data-dismiss="">厢式</a></li>
          <li><a href="#select-goods" data-dismiss="">高低板</a></li>
          <li><a href="#select-goods" data-dismiss="">厢式</a></li>
          <li><a href="#select-goods" data-dismiss="">厢式</a></li>
          <li><a href="#select-goods" data-dismiss="">厢式</a></li>
          <li><a href="#select-goods" data-dismiss="">高低板</a></li>
          <li><a href="#select-goods" data-dismiss="">高低板</a></li>
          <li><a href="#select-goods" data-dismiss="">高低板</a></li>
          <li><a href="#select-goods" data-dismiss="">厢式</a></li>
          <li><a href="#select-goods" data-dismiss="">高低板</a></li>
        </ul>
      </div>
    </div>

    <div class="m-popup" id="select-carl">
      <div class="popup-head border-1px border-bottom">
        <h1>选择车长</h1>
      </div>
      <div>
        <ul class="select-ul clearfix">
          <li><a href="#select-carl" data-dismiss="">4-5米</a></li>
          <li><a href="#select-carl" data-dismiss="">4-5米</a></li>
          <li><a href="#select-carl" data-dismiss="">4-5米</a></li>
          <li><a href="#select-carl" data-dismiss="">9-10米</a></li>
          <li><a href="#select-carl" data-dismiss="">9-10米</a></li>
          <li><a href="#select-carl" data-dismiss="">12-13米</a></li>
          <li><a href="#select-carl" data-dismiss="">12-13米</a></li>
          <li><a href="#select-carl" data-dismiss="">24米以上</a></li>
          <li><a href="#select-carl" data-dismiss="">无要求</a></li>
        </ul>
      </div>
    </div>

    <div class="m-popup" id="select-date">
      <div class="popup-head border-1px border-bottom">
        <h1>选择车长</h1>
      </div>
      <div>
        <ul class="select-ul clearfix">
          <li><a href="#select-date" data-dismiss="">4小时</a></li>
          <li><a href="#select-date" data-dismiss="">4小时</a></li>
          <li><a href="#select-date" data-dismiss="">72小时小时</a></li>
          <li><a href="#select-date" data-dismiss="">110小时</a></li>
          <li><a href="#select-date" data-dismiss="">无要求</a></li>
        </ul>
      </div>
    </div>

    <div class="m-popup" id="select-money">
      <div class="popup-head border-1px border-bottom">
        <h1>诚意金</h1>
      </div>
      <div>
        <ul class="m-table-view money-ul">
          <li>
            <span class="title">诚意金</span>
            <span class="text">
              <span class="font-ora">200.0元</span>
            </span>
          </li>
          <li>
            <label>
              <span class="title">诚意券折扣</span>
              <span class="text">
                <input type="checkbox" name="" class="m-radio"/>
              </span>
            </label>
          </li>
          <li>
            <span class="title font-black">实际支付</span>
            <span class="text">
              <span class="font-black">0元</span>
            </span>
          </li>
        </ul>
      </div>
    </div>

    <div class="m-popup" id="select-money-no">
      <div class="popup-head border-1px border-bottom">
        <h1>诚意金</h1>
      </div>
      <div class="text-center warn-no">
        <p class="warn">抱歉:您不能选择诚意金功能</p>
        <p class="font-gray">因您已没有可用的诚意券</p>
        <p class="font-gray">且系统暂不支持在线支付诚意金</p>
      </div>
      <div class="popup-foot text-center border-1px border-top">
        <a href="select-money-no" class="m-btn btn-default" data-dismiss>知道了</a>
      </div>
    </div>

    <script src="../js/vendor/jquery-2.1.4.min.js"></script>
    <script src="../js/vendor/circle.js"></script>
    <script src="../js/vendor/popup.js"></script>
    <!-- // <script src="../js/src/order.js"></script> -->
<script type="text/javascript" charset="utf-8">
      Popup.initialize();
      Circle.initialize();

var react = {
  init: function(){
    this.target = $("#getmore");
    this._class = "showup";
    this._icon = " icon-public_quxiao1";
    this._height = this.getHeight();

    this.bindEvent();
  },
  getHeight: function(){
    var mw = $(".morewrap"), hg;

    mw.css('height', 'auto');
    hg = mw.height();
    mw.css('height', '0');

    return hg;
  },
  bindEvent: function(){
    var _this = this;
    var gm = $("#getmore");

    $("#showmore").on({
      click: function(){
        _this.move($(this), !$(this).hasClass(_this._class));
        _this.animate(gm, $(this).hasClass(_this._class));
      }
    });
  },
  move: function(target, bool){
    var _t = target;

    bool ? _t.addClass(this._class) : _t.removeClass(this._class);
  },
  animate: function(target, bool){
    var hg = bool ? this._height : 0;
    target.animate(
      {
        'height': hg
      },
      'fast',
      function(){
        var _m = $(this).find(".morewrap");
        _m.animate(
          {
            'height': hg,
            'marginTop': -hg/2
          },
          'fast'
        )
      }
    )
  }
};

react.init();
</script>
</body>

</html>