booking.vue 35.1 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
<template>
    <div class="bg">
        <el-container>
<!--                顶栏区域-->
            <el-header style="height: 120px">
                <el-row class="header">
                    <el-col :span="9">
                        <span style="font-size: 50px">KT际通</span>
                        <span>在线订舱平台</span>
                    </el-col>
                    <el-col :span="13" style="margin-left: 30px;margin-top: 30px;width: 300px ">
                        <el-menu :default-active="activeIndex"
                                 class="el-menu-demo"
                                 mode="horizontal"
                                 @select="handleSelect"
                                 style="text-color:#303133;active-text-color:#FFF">
                            <el-menu-item index="1">首 页</el-menu-item>
                            <el-menu-item index="2">行业方案</el-menu-item>
                            <el-menu-item index="3">关于我们</el-menu-item>
                        </el-menu>
                    </el-col>
                </el-row>
            </el-header>
<!--            主要区域-->
            <el-main>
<!--                空运查询内容-->
                <el-row style="margin-top: 30px">
                    <el-col :span="10" style="margin-right: 10px;background-color: #FFF;">
                        <div style="height: 600px;">
                            <div style="width: 100%;height: 80px;border-bottom: solid 2px #29A1F7;">
                                <el-col :span="15" style="margin-left: 0px;margin-top: 20px;">
                                    <span style="font-size: 25px;margin-left: 50px">空运查询</span>
                                </el-col>
                                <el-col :span="8" style="margin-top: 23px;">
                                    <span style="font-size: 17px">约计3000条航线数据</span>
                                </el-col>
                            </div>
                            <el-row>
                                <el-form ref="form" :model="form" label-width="80px" style="font-size: 50px;" >
                                    <el-form-item label="航程方向" >
                                        <el-radio-group v-model="form.airLine">
                                            <el-radio   style="padding-left: 20px" label="出口"></el-radio>
                                            <el-radio label="进口"></el-radio>
                                        </el-radio-group>
                                    </el-form-item>
                                    <el-form-item label="起运地">
                                        <el-select   style="width: 320px" v-model="form.originStation" placeholder="起运地">
                                            <el-option label="上海" value="shanghai"></el-option>
                                            <el-option label="北京" value="beijing"></el-option>
                                        </el-select>
                                    </el-form-item>
                                    <el-form-item label="目的地">
                                        <el-select   style="width: 320px" v-model="form.deliveryAddress" placeholder="目的地">
                                            <el-option label="上海" value="shanghai"></el-option>
                                            <el-option label="北京" value="beijing"></el-option>
                                        </el-select>
                                    </el-form-item>
                                    <el-form-item label="货物重量">
                                        <el-input  style="width: 320px" v-model="form.weight" placeholder="单位:KG"></el-input>
                                    </el-form-item>
                                    <div style="padding-left: 150px">
                                        <el-button style="background-color: #F18F4C;color: #FFF">查价下单</el-button>
                                    </div>
                                </el-form>
                                <div style="width: 100%;height: 200px;margin-top: 30px;padding-left: 50px;border-top: dashed 2px #D5D5D5;">
                                    <p>
                                        <span><i class="el-icon-phone" style="color: #29A1F7;padding-right: 5px"></i>一键订舱,方便快捷</span>
                                    </p>
                                    <p>
                                        <span><i class="el-icon-edit-outline" style="color: #29A1F7;padding-right: 5px"></i>数据准确,专有团队维护</span>
                                    </p>
                                    <span><i class="el-icon-location-information" style="color: #29A1F7;padding-right: 5px"></i>货物在线跟踪</span>
                                </div>
                            </el-row>
                        </div>
                    </el-col>
<!--                    广告位-->
                    <el-col :span="13"  style="margin-right: 0px;background-color: rgba(41,161,247,0.1);float: right;">
                        <div style="height: 600px;">
                        </div>
                    </el-col>
                </el-row>
<!--                优价航线标题栏-->
                <el-row style="margin-top: 30px">
                    <span style="font-size: 25px">优价航线</span>
                </el-row>
<!--                优价航线内容-->
                <el-row style="background-color: #FFF;height: 300px;">
                    <el-table
                            :data="tableData"
                            style="width: 100%">
                        <el-table-column
                                prop="airLine"
                                label="航行路线">
                        </el-table-column>
                        <el-table-column
                                prop="transportLimitation"
                                label="运输时效">
                        </el-table-column>
                        <el-table-column
                                prop="deliveryAddress"
                                label="交货地">
                        </el-table-column>
                        <el-table-column
                                prop="flightCycle"
                                label="航班周期">
                        </el-table-column>
                        <el-table-column
                                prop="transportPrice"
                                label="最低价格">
                        </el-table-column>
                        <el-table-column
                                fixed="right"
                                label=""
                                width="120">
                            <template slot-scope="scope">
                                <el-button
                                        size="small" plain
                                        type="warning"
                                        @click="">订舱</el-button>
                            </template>
                        </el-table-column>
                    </el-table>
                </el-row>
<!--                热门航线标题栏-->
                <el-row style="margin-top: 30px">
                    <span style="font-size: 25px">热门航线</span>
                </el-row>
<!--                热门航线内容-->
                <el-row style="background-color: #FFF;height: 680px;">
                    <el-col :span="24">
                        <el-tabs type="border-card" style="width: 100%;height: 680px" stretch="true">
                            <el-tab-pane>
                                <span slot="label"><i class="el-icon-right"></i>出口航线</span>
                                <el-row style="height: 300px;margin-top: 0px">
                                    <el-col :span="8"
                                            style="border-right:solid 1px #F5F5F5;border-bottom:solid 1px #F5F5F5;height: 300px;width: 32%;margin-right: 15px">
                                        <h2>CZ</h2>
                                        <el-table
                                                :data="tableData1"
                                                :header-cell-style="headClass"
                                                :cell-style="rowClass"
                                                style="width: 100%;background-color: #F5F5F5">
                                            <el-table-column
                                                    prop="airLine"
                                                    label="航段">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="transportLimitation"
                                                    label="时效">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="flightCycle"
                                                    label="周期">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="transportPrice"
                                                    label="航运价">
                                            </el-table-column>
                                        </el-table>
                                        <div style="text-align: center;margin-top: 6px">交货地:GUANGZHOU AIRPORT 广州</div>
                                        <div style="text-align: center;margin-top: 6px">
                                            <el-button type="warning" plain style="width: 120px" >订舱</el-button>
                                        </div>
                                    </el-col>
                                    <el-col :span="8"
                                            style="border-right:solid 1px #F5F5F5;border-bottom:solid 1px #F5F5F5;height: 300px;width: 32%;margin-right: 15px">
                                        <h2>CZ</h2>
                                        <el-table
                                                :data="tableData2"
                                                :header-cell-style="headClass"
                                                :cell-style="rowClass"
                                                style="width: 100%;background-color: #F5F5F5">
                                            <el-table-column
                                                    prop="airLine"
                                                    label="航段">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="transportLimitation"
                                                    label="时效">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="flightCycle"
                                                    label="周期">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="transportPrice"
                                                    label="航运价">
                                            </el-table-column>
                                        </el-table>
                                        <div style="text-align: center;margin-top: 6px">交货地:GUANGZHOU AIRPORT 广州</div>
                                        <div style="text-align: center;margin-top: 6px">
                                            <el-button type="warning" plain style="width: 120px" >订舱</el-button>
                                        </div>
                                    </el-col>
                                    <el-col :span="8"
                                            style="border-bottom:solid 1px #F5F5F5;height: 300px;width: 32%">
                                        <h2>CZ</h2>
                                        <el-table
                                                :data="tableData3"
                                                :header-cell-style="headClass"
                                                :cell-style="rowClass"
                                                style="width: 100%;background-color: #F5F5F5">
                                            <el-table-column
                                                    prop="airLine"
                                                    label="航段">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="transportLimitation"
                                                    label="时效">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="flightCycle"
                                                    label="周期">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="transportPrice"
                                                    label="航运价">
                                            </el-table-column>
                                        </el-table>
                                        <div style="text-align: center;margin-top: 6px">交货地:GUANGZHOU AIRPORT 广州</div>
                                        <div style="text-align: center;margin-top: 6px">
                                            <el-button type="warning" plain style="width: 120px" >订舱</el-button>
                                        </div>
                                    </el-col>
                                </el-row>
                                <el-row style="height: 300px;margin-top: 0px">
                                    <el-col :span="8"
                                            style="border-right:solid 1px #F5F5F5;height: 300px;width: 32%;margin-right: 15px">
                                        <h2>CZ</h2>
                                        <el-table
                                                :data="tableData4"
                                                :header-cell-style="headClass"
                                                :cell-style="rowClass"
                                                style="width: 100%;background-color: #F5F5F5">
                                            <el-table-column
                                                    prop="airLine"
                                                    label="航段">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="transportLimitation"
                                                    label="时效">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="flightCycle"
                                                    label="周期">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="transportPrice"
                                                    label="航运价">
                                            </el-table-column>
                                        </el-table>
                                        <div style="text-align: center;margin-top: 6px">交货地:GUANGZHOU AIRPORT 广州</div>
                                        <div style="text-align: center;margin-top: 6px">
                                            <el-button type="warning" plain style="width: 120px" >订舱</el-button>
                                        </div>
                                    </el-col>
                                    <el-col :span="8"
                                            style="border-right:solid 1px #F5F5F5;height: 300px;width: 32%;margin-right: 15px">
                                        <h2>CZ</h2>
                                        <el-table
                                                :data="tableData5"
                                                :header-cell-style="headClass"
                                                :cell-style="rowClass"
                                                style="width: 100%;background-color: #F5F5F5">
                                            <el-table-column
                                                    prop="airLine"
                                                    label="航段">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="transportLimitation"
                                                    label="时效">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="flightCycle"
                                                    label="周期">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="transportPrice"
                                                    label="航运价">
                                            </el-table-column>
                                        </el-table>
                                        <div style="text-align: center;margin-top: 6px">交货地:GUANGZHOU AIRPORT 广州</div>
                                        <div style="text-align: center;margin-top: 6px">
                                            <el-button type="warning" plain style="width: 120px" >订舱</el-button>
                                        </div>
                                    </el-col>
                                    <el-col :span="8"
                                            style="height: 300px;width: 32%">
                                        <h2>CZ</h2>
                                        <el-table
                                                :data="tableData6"
                                                :header-cell-style="headClass"
                                                :cell-style="rowClass"
                                                style="width: 100%;background-color: #F5F5F5">
                                            <el-table-column
                                                    prop="airLine"
                                                    label="航段">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="transportLimitation"
                                                    label="时效">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="flightCycle"
                                                    label="周期">
                                            </el-table-column>
                                            <el-table-column
                                                    prop="transportPrice"
                                                    label="航运价">
                                            </el-table-column>
                                        </el-table>
                                        <div style="text-align: center;margin-top: 6px">交货地:GUANGZHOU AIRPORT 广州</div>
                                        <div style="text-align: center;margin-top: 6px">
                                            <el-button type="warning" plain style="width: 120px" >订舱</el-button>
                                        </div>
                                    </el-col>
                                </el-row>
                            </el-tab-pane>
                            <el-tab-pane label="进口航线">
                                <span slot="label"><i class="el-icon-back"></i>进口航线</span>
                            </el-tab-pane>
                            <el-tab-pane label="空运专线">
                                <span slot="label"><i class="el-icon-star-off"></i>空运专线</span>
                            </el-tab-pane>
                        </el-tabs>
                    </el-col>
                </el-row>
<!--                热门港口标题栏-->
                <el-row style="margin-top: 30px">
                    <span style="font-size: 25px">热门港口</span>
                </el-row>
<!--                热门港口内容-->
                <el-row style="background-color: #FFF;height: 300px;padding: 25px">
                    <el-col :span="24">
                        <el-tabs :tab-position="tabPosition" style="width: 100%;height: 280px;">
                            <el-tab-pane label="北京">
                                <el-table
                                        :data="tableData7"
                                        style="width: 100%">
                                    <el-table-column
                                            prop="airLine"
                                            label="航行路线">
                                    </el-table-column>
                                    <el-table-column
                                            prop="transportLimitation"
                                            label="运输时效">
                                    </el-table-column>
                                    <el-table-column
                                            prop="deliveryAddress"
                                            label="交货地">
                                    </el-table-column>
                                    <el-table-column
                                            prop="flightCycle"
                                            label="航班周期">
                                    </el-table-column>
                                    <el-table-column
                                            fixed="right"
                                            label=""
                                            width="120">
                                        <template slot-scope="scope">
                                            <el-button
                                                    size="small" plain
                                                    type="warning"
                                                    @click="">订舱</el-button>
                                        </template>
                                    </el-table-column>
                                </el-table>
                            </el-tab-pane>
                            <el-tab-pane label="上海">
                                <el-table
                                        :data="tableData8"
                                        style="width: 100%">
                                    <el-table-column
                                            prop="airLine"
                                            label="航行路线">
                                    </el-table-column>
                                    <el-table-column
                                            prop="transportLimitation"
                                            label="运输时效">
                                    </el-table-column>
                                    <el-table-column
                                            prop="deliveryAddress"
                                            label="交货地">
                                    </el-table-column>
                                    <el-table-column
                                            prop="flightCycle"
                                            label="航班周期">
                                    </el-table-column>
                                    <el-table-column
                                            fixed="right"
                                            label=""
                                            width="120">
                                        <template slot-scope="scope">
                                            <el-button
                                                    size="small" plain
                                                    type="warning"
                                                    @click="">订舱</el-button>
                                        </template>
                                    </el-table-column>
                                </el-table>
                            </el-tab-pane>
                            <el-tab-pane label="深圳">
                                <el-table
                                        :data="tableData9"
                                        style="width: 100%">
                                    <el-table-column
                                            prop="airLine"
                                            label="航行路线">
                                    </el-table-column>
                                    <el-table-column
                                            prop="transportLimitation"
                                            label="运输时效">
                                    </el-table-column>
                                    <el-table-column
                                            prop="deliveryAddress"
                                            label="交货地">
                                    </el-table-column>
                                    <el-table-column
                                            prop="flightCycle"
                                            label="航班周期">
                                    </el-table-column>
                                    <el-table-column
                                            fixed="right"
                                            label=""
                                            width="120">
                                        <template slot-scope="scope">
                                            <el-button
                                                    size="small" plain
                                                    type="warning"
                                                    @click="">订舱</el-button>
                                        </template>
                                    </el-table-column>
                                </el-table>
                            </el-tab-pane>
                            <el-tab-pane label="广州">
                                <el-table
                                        :data="tableData10"
                                        style="width: 100%">
                                    <el-table-column
                                            prop="airLine"
                                            label="航行路线">
                                    </el-table-column>
                                    <el-table-column
                                            prop="transportLimitation"
                                            label="运输时效">
                                    </el-table-column>
                                    <el-table-column
                                            prop="deliveryAddress"
                                            label="交货地">
                                    </el-table-column>
                                    <el-table-column
                                            prop="flightCycle"
                                            label="航班周期">
                                    </el-table-column>
                                    <el-table-column
                                            fixed="right"
                                            label=""
                                            width="120">
                                        <template slot-scope="scope">
                                            <el-button
                                                    size="small" plain
                                                    type="warning"
                                                    @click="">订舱</el-button>
                                        </template>
                                    </el-table-column>
                                </el-table>
                            </el-tab-pane>
                            <el-tab-pane label="宁波">
                                <el-table
                                        :data="tableData11"
                                        style="width: 100%">
                                    <el-table-column
                                            prop="airLine"
                                            label="航行路线">
                                    </el-table-column>
                                    <el-table-column
                                            prop="transportLimitation"
                                            label="运输时效">
                                    </el-table-column>
                                    <el-table-column
                                            prop="deliveryAddress"
                                            label="交货地">
                                    </el-table-column>
                                    <el-table-column
                                            prop="flightCycle"
                                            label="航班周期">
                                    </el-table-column>
                                    <el-table-column
                                            fixed="right"
                                            label=""
                                            width="120">
                                        <template slot-scope="scope">
                                            <el-button
                                                    size="small" plain
                                                    type="warning"
                                                    @click="">订舱</el-button>
                                        </template>
                                    </el-table-column>
                                </el-table>
                            </el-tab-pane>
                        </el-tabs>
                    </el-col>
                </el-row>
<!--                查询工具-->
                <el-row style="background-color: #FFF;height: 180px;margin-top: 60px">
                    <el-col :span="24">
                        <el-tabs :tab-position="tabPositions" style="width: 80%;height: 280px;margin: 20px">
                            <el-tab-pane label="机场代码查询">
                                <span style="font-size: 25px">机场代码查询</span>
                                <span style="font-size: 15px">(收录2016年IATA最新机场三字代码、城市三字代码。)</span>
                                <el-input v-model="input" placeholder="请输入内容"></el-input>
                            </el-tab-pane>
                            <el-tab-pane label="商品编码查询">
                                <span style="font-size: 25px">商品编码查询</span>
                                <span style="font-size: 15px">(提供海关HScode编码、对应税率、申报要素查询服务,根据海关最新政策实时更新。)</span>
                                <el-input v-model="input" placeholder="请输入内容"></el-input>
                            </el-tab-pane>
                            <el-tab-pane label="全球港口查询">
                                <span style="font-size: 25px">全球港口查询</span>
                                <span style="font-size: 15px">(收录2016年IATA最新机场三字代码、城市三字代码。)</span>
                                <el-input v-model="input" placeholder="请输入内容"></el-input>
                            </el-tab-pane>
                            <el-tab-pane label="空运货物查询">
                                <span style="font-size: 25px">空运货物查询</span>
                                <span style="font-size: 15px">(提供世界各国航空公司货物追踪、货物查询服务,实时追踪最新货况。)</span>
                                <el-input v-model="input" placeholder="请输入内容"></el-input>
                            </el-tab-pane>
                            <el-tab-pane label="快件跟踪查询">
                                <span style="font-size: 25px">快件跟踪查询</span>
                                <span style="font-size: 15px"></span>
                                <el-input v-model="input" placeholder="请输入内容"></el-input>
                            </el-tab-pane>
                        </el-tabs>
                    </el-col>
                </el-row>
            </el-main>
        </el-container>
    </div>
</template>

<script>
    export default {
        data() {
            return {
                // 空运查询
                form: {
                    airLine:undefined,
                    originStation:undefined,
                    deliveryAddress:undefined,
                    weight:undefined,
                },
                // 优价航线表格
                tableData:[],
                // 热门航线表格
                tableData1:[],
                tableData2:[],
                tableData3:[],
                tableData4:[],
                tableData5:[],
                tableData6:[],
                // 热门港口表格
                tableData7:[],
                tableData8:[],
                tableData9:[],
                tableData10:[],
                tableData11:[],

                tabPosition: 'left',
                tabPositions: 'bottom',
            }
        },
        methods: {
            headClass () {
                return 'text-align: center;background:#F5F5F5;'
            },
            rowClass () {
                return 'text-align: center;background:#F5F5F5;'
            }
        },
    }
</script>

<style scoped>
    .bg{
        background-color: #F2F2F2;
    }
    .header{
        font-size: 20px;
        line-height: 120px;
       color:#FFF;
    }
    .el-header{
        background-color: #29A1F7;
    }
    .el-tabs{
        width: 250px;
    }
    .el-menu{
        background-color: #29A1F7;
        font-size: 20px;
        border-bottom-color: #29A1F7;
    }
</style>