connectus.html 32.2 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 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>联系我们</title>

    <link rel="stylesheet" href="css/swiperfour.css">
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" type="text/css" href="css/jquery.sPage.css">
</head>
<body>
<div class="bannerimg">
    <div class="swiper-container bannercontainer">
        <div class="swiper-wrapper">
            <div class="swiper-slide nongyebanner">
                <img src="img/bannerone.jpg" alt="">
            </div>
            <div class="swiper-slide zhihuibanner">
                <img src="img/bannertwo.jpg" alt="">
            </div>
            <div class="swiper-slide jiankangbanner">
                <img src="img/bannerthree.jpg" alt="">
            </div>
            <div class="swiper-slide liansuobanner">
                <img src="img/bannerfour.jpg" alt="">
            </div>
        </div>
        <!-- 如果需要分页器 -->
        <div class="swiper-pagination pagebullet"></div>


    </div>





    <!--        头部导航-->
    <div class="headnav">
        <div class="navleft navbox">
            <div class="navleftitem navblock" data-id="1">
                <text class="navleftitemchildren">首页</text>
            </div>
            <div class="navleftitem navblock" data-id="2">
                <text class="navleftitemchildren">同福印象</text>
                <div class="navleftitembox">
                    <div class="navleftitemboxitem" data-type="4" data-id="1">
                        <text class="navleftitemname ">> 集团简介</text>
                        <div class="navboxitem">
                            <div class="navboxitemitem" data-id="1" data-type="1" >集团介绍</div>
                            <div class="navboxitemitem" data-id="2" data-type="1">董事长寄语</div>
                        </div>

                    </div>
                    <div class="navleftitemboxitem"  data-type="4" data-id="2">
                        <text class="navleftitemname"> > 企业文化 </text>
                        <div class="navboxitem">
                            <div class="navboxitemitem" data-id="1" data-type="2">企业文化</div>
                            <div class="navboxitemitem" data-id="2" data-type="2">中华粥品大典</div>
                            <div class="navboxitemitem" data-id="3" data-type="2">中国粥文化博物馆</div>
                            <div class="navboxitemitem" data-id="4" data-type="2">同福农展馆</div>
                        </div>

                    </div>
                    <div class="navleftitemboxitem"  data-type="4" data-id="3">
                        <text class="navleftitemname">
                            > 科技引领
                        </text>
                        <div class="navboxitem">
                            <div class="navboxitemitem" data-id="1" data-type="3">科技引领</div>
                            <div class="navboxitemitem" data-id="2" data-type="3">产学研合作</div>
                            <div class="navboxitemitem" data-id="3" data-type="3">农业产业研发</div>
                            <div class="navboxitemitem" data-id="4" data-type="3">食品饮料研发</div>
                            <div class="navboxitemitem" data-id="5" data-type="3">健康食品研发</div>
                        </div>
                    </div>
                </div>


            </div>
            <div class="navleftitem navblock" data-id="3">
                <text class="navleftitemchildren">同福产业</text>
                <div class="navleftitembox chanbox">
                    <div class="navleftitemboxitem chanboxitem "  data-type="5" data-id="1">
                        <text class="navleftitemname">> 同福健康食品产业</text>
                        <div class="navboxitem">
                            <div class="navboxitemitem" data-id="1" data-type="4">碗粥</div>

                            <div class="navboxitemitem" data-id="2" data-type="4">罐粥</div>
                            <div class="navboxitemitem" data-id="3" data-type="4">饮品</div>
                            <div class="navboxitemitem" data-id="4" data-type="4">糖尿病人专供产品</div>
                            <div class="navboxitemitem" data-id="5" data-type="4">高铁食品</div>
                            <div class="navboxitemitem" data-id="6" data-type="4">航空食品</div>
                        </div>

                    </div>
                    <div class="navleftitemboxitem chanboxitem" data-type="5" data-id="2">
                        <text class="navleftitemname chanboxitem">> 同福现代农业产业 </text>
                        <div class="navboxitem">
                            <div class="navboxitemitem" data-id="1" data-type="5">生态原粮</div>
                            <div class="navboxitemitem" data-id="2" data-type="5">生态养殖</div>
                            <div class="navboxitemitem" data-id="3" data-type="5">生态果蔬</div>

                        </div>

                    </div>
                    <div class="navleftitemboxitem chanboxitem" data-type="5" data-id="3">
                        <text class="navleftitemname chanboxitem">> 同福连锁餐饮产业 </text>
                        <div class="navboxitem">
                            <div class="navboxitemitem" data-id="1" data-type="6">同福学生营养餐</div>
                            <div class="navboxitemitem" data-id="2" data-type="6">同福连锁粥铺</div>
                            <div class="navboxitemitem" data-id="3" data-type="6">同福馒头工坊</div>
                            <div class="navboxitemitem" data-id="4" data-type="6">同福中央厨房</div>

                        </div>

                    </div>
                    <div class="navleftitemboxitem chanboxitem" data-type="5" data-id="4">
                        <text class="navleftitemname chanboxitem">
                            > 同福智慧康养产业
                        </text>
                        <div class="navboxitem">
                            <div class="navboxitemitem" data-id="1" data-type="7">同福地产</div>
                            <div class="navboxitemitem" data-id="2" data-type="7">同福商业</div>
                            <div class="navboxitemitem" data-id="3" data-type="7">同福康养</div>

                        </div>
                    </div>
                </div>

            </div>
            <div class="navleftitem navblock" data-id="4">
                <text class="navleftitemchildren">同福荣誉</text>

                <div class="navleftitembox">
                    <div class="navleftitemboxitem" data-id="1" data-type="1">
                        <text class="navleftitemname">同福荣誉</text>

                    </div>
                    <div class="navleftitemboxitem" data-id="2" data-type="1">
                        <text class="navleftitemname">领导关怀 </text>


                    </div>

                </div>
            </div>
        </div>
        <div class="navmiddle">
            <div class="middleimg">
                <img src="img/tongfulogo.png" alt="">
            </div>
        </div>
        <div class="headnavright navbox">
            <div class=" navblock rightnavitem" data-id="5">
                <text class="navleftitemchildren">新闻动态</text>

                <div class="navleftitembox">
                    <div class="navleftitemboxitem rightboxitem" data-id="1" data-type="2">
                        <text class="navleftitemname">新闻动态</text>
                    </div>
                    <div class="navleftitemboxitem rightboxitem" data-id="2" data-type="2">
                        <text class="navleftitemname">行业资讯 </text>
                    </div>
                    <div class="navleftitemboxitem rightboxitem" data-id="3" data-type="2">
                        <text class="navleftitemname">健康生活 </text>
                    </div>
                </div>

            </div>
            <div class=" navblock rightnavitem" data-id="6">
                <text class="navleftitemchildren"> 联系我们</text>
                <div class="navleftitembox">
                    <div class="navleftitemboxitem rightboxitem" data-id="1" data-type="3">
                        <text class="navleftitemname">联系我们</text>


                    </div>
                    <div class="navleftitemboxitem rightboxitem" data-id="2" data-type="3">
                        <text class="navleftitemname">在线留言 </text>


                    </div>
                    <div class="navleftitemboxitem rightboxitem" data-id="3" data-type="3">
                        <text class="navleftitemname" >资料下载 </text>


                    </div>

                </div>

            </div>

            <div class=" navblock rightnavitem" data-id="7">
                <text class="navleftitemchildren"> 购买产品</text>
                <!--                <div class="navleftitembox">-->
                <!--                    <div class="navleftitemboxitem" data-id="1" data-type="3">-->
                <!--                        <text class="navleftitemname">联系我们</text>-->


                <!--                    </div>-->
                <!--                    <div class="navleftitemboxitem" data-id="2" data-type="3">-->
                <!--                        <text class="navleftitemname">在线留言 </text>-->


                <!--                    </div>-->
                <!--                    <div class="navleftitemboxitem" data-id="3" data-type="3">-->
                <!--                        <text class="navleftitemname" >资料下载 </text>-->


                <!--                    </div>-->

                <!--                </div>-->

            </div>

            <div class="search">
                <div class="rightnavitem">搜索</div>
                <div class="searchbox">
                    <div class="serchboxleft">
                        <input type="text">
                    </div>
                    <div class="searchboxright">
                        <img src="img/search.png" alt="">
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<!--同福印象-->
<div class="yinxiang yinxiangactive">
    <div class="yinxiangtop">
        <div class="yinxiangtopname">联系我们</div>
    </div>

    <!-- 联系我们-->
    <div class="tongfubox connect connectactive">
        <div class="tongfuboxleft">
            <div class="tongfuboxleftitem connectour" data-id="1">
                <text class="tongmingzi">联系我们</text>

            </div>
            <div class="tongfuboxleftitem connectour" data-id="2">
                <text class="tongmingzi">在线留言</text>


            </div>
            <div class="tongfuboxleftitem connectour" data-id="3">
                <text class="tongmingzi">资料下载</text>


            </div>

        </div>
        <div class="connectus">

            <div class="tongfuboxright lianxius lianxiusactive">
                <div class="tongfutop">
                    <div class="kttop">联系我们</div>
                    <div class="kmiddle">CONTACT US</div>
                    <div class="kbottom"></div>
                </div>

                <div class="lianxiusbox">
                    <div class="lianxiusboxtop">
                        <div class="connecttop">
                            <div class="lianxiusboxtopitem">
                                <div>消费者</div>
                                <div>CONSUMER</div>
                            </div>
                            <div class="connectimg">
                                <img src="img/xiaofeizhe.png" alt="">
                                <div class="lianxiusboxtopitem lianxiusboxtopitemactive">
                                    <div>消费者</div>
                                    <div>CONSUMER</div>
                                </div>
                            </div>
                        </div>

                        <div class="connecttop">
                            <div class="lianxiusboxtopitem">
                                <div>人力</div>
                                <div>MANPOWER</div>
                            </div>
                            <div class="connectimg">
                                <img src="img/renli.png" alt="">
                                <div class="lianxiusboxtopitem lianxiusboxtopitemactive">
                                    <div>人力</div>
                                    <div>MANPOWER</div>
                                </div>
                            </div>
                        </div>

                        <div class="connecttop">
                            <div class="lianxiusboxtopitem">
                                <div>合作商</div>
                                <div>PARTNER</div>
                            </div>

                            <div class="connectimg">
                                <img src="img/hezuo.png" alt="">
                                <div class="lianxiusboxtopitem lianxiusboxtopitemactive">
                                    <div>合作商</div>
                                    <div>PARTNER</div>
                                </div>
                            </div>
                        </div>

                        <div class="connecttop">
                            <div class="lianxiusboxtopitem">
                                <div>游客</div>
                                <div>TOURISTS</div>
                            </div>
                            <div class="connectimg">
                                <img src="img/youke.png" alt="">
                                <div class="lianxiusboxtopitem lianxiusboxtopitemactive">
                                    <div>游客</div>
                                    <div>TOURISTS</div>
                                </div>
                            </div>
                        </div>



                    </div>
                    <div class="addressbox">
                        <div class="addressitem">
                            <div class="addressitemleft">地址:</div>
                            <div class="addressitemright"> 安徽省芜湖市繁昌经济开发区</div>
                        </div>
                        <div class="addressitem">
                            <div class="addressitemleft">电话:</div>
                            <div class="addressitemright">
                                0553-7718368/400-668-7718
                            </div>
                        </div>
                        <div class="addressitem">
                            <div class="addressitemleft">传真:</div>
                            <div class="addressitemright">
                                0553-7718387
                            </div>
                        </div>
                        <div class="addressitem">
                            <div class="addressitemleft">
                                邮箱:</div>
                            <div class="addressitemright">
                                TONGFUKEFU@TONGFUGROUP.COM

                            </div>
                        </div>
                    </div>

                    <div class="connectcode">
                        <div class="connectcodeitem">
                            <div class="itemtopimg">
                                <img src="img/wei.png" alt="">
                            </div>
                            <div class="itemtopname">微信公众号</div>
                        </div>
                        <div class="connectcodeitem">
                            <div class="itemtopimg">
                                <img src="img/tianmao.png" alt="">
                            </div>
                            <div class="itemtopname">天猫旗舰店</div>
                        </div>
                        <div class="connectcodeitem">
                            <div class="itemtopimg">
                                <img src="img/tong.png" alt="">
                            </div>
                            <div class="itemtopname">同福粥铺</div>
                        </div>
                    </div>

                </div>

            </div>
            <!--            在线留言-->
            <div class="tongfuboxright liuyan liuyanactive">
                <div class="tongfutop">
                    <div class="kttop">在线留言</div>
                    <div class="kmiddle">ONLINE MESSAGE</div>
                    <div class="kbottom"></div>
                </div>
                <div class="leavemessage">
                    <div class="leavemessgeitem">
                        <div class="leavemessageitemleft">您的姓名:</div>
                        <div class="leavemassageitemright">
                            <input type="text">
                        </div>
                        <div class="xing">*</div>
                    </div>
                    <div class="leavemessgeitem">
                        <div class="leavemessageitemleft">联系地址:</div>
                        <div class="leavemassageitemright">
                            <input type="text">
                        </div>
                        <div class="xing"></div>

                    </div>
                    <div class="leavemessgeitem">
                        <div class="leavemessageitemleft">公司名称:</div>
                        <div class="leavemassageitemright">
                            <input type="text">
                        </div>
                        <div class="xing"></div>

                    </div>
                    <div class="leavemessgeitem">
                        <div class="leavemessageitemleft">联系邮箱:</div>
                        <div class="leavemassageitemright">
                            <input type="text">
                        </div>
                        <div class="xing">*</div>
                    </div>
                    <div class="messagenei">
                        <div class="leavemessageitemleft">留言内容:</div>
                        <div class="leavemassageitemright yanzhengr">
                            <textarea name="" id="" cols="30" rows="10"></textarea>
                            <!--                            <input type="text">                            -->
                        </div>
                        <div class="xing">*</div>
                    </div>
                    <div class="yanzhengma">
                        <div class="yanzhengmaleft">
                            <div class="yanzhengleft">
                                <div class="leavemessageitemleft leavecontent ">验证码:</div>
                                <div class="leaveinput">
                                    <input type="text">
                                </div>
                            </div>

                            <div class="picyanzheng">
                                <canvas id="canvas" width="100px" height="38px"
                                        style="border: 1px solid #ccc;border:none
        "></canvas>

                            </div>
                            <div class="xing">*</div>
                        </div>
                        <div class="yanzhengmaright" onclick="dj()">点击刷新图片</div>
                    </div>
                </div>

                <div class="leavebtn">
                    <div class="leavebtnleft">提交</div>
                    <div class="leavebtnright">重置</div>
                </div>



            </div>

            <!--下载-->
            <div class="dowmload downloadactive">
                <div class="tongfutop">
                    <div class="kttop">资料下载</div>
                    <div class="kmiddle">DATA DOWNLOAD</div>
                    <div class="kbottom"></div>
                </div>


                <div class="lianxiusboxtop">
                    <div class="lianxiusboxtopitem ">
                        <div>同福</div>
                        <div>现代农业产品</div>
                    </div>
                    <div class="lianxiusboxtopitem">
                        <div>同福</div>
                        <div>健康食品产业</div>
                    </div>
                    <div class="lianxiusboxtopitem">
                        <div>同福</div>
                        <div>连锁餐饮产业</div>
                    </div>
                    <div class="lianxiusboxtopitem">
                        <div>同福</div>
                        <div>智慧康养产业</div>
                    </div>

                </div>

                <div class="downbox">
                    <div class="downboximg">
                        <img src="img/downone.png" alt="">
                    </div>
                    <div class="downboximg">
                        <img src="img/downtwo.png" alt="">
                    </div>
                </div>

                <div class="leavebtn downbtn">
                    <div class="leavebtnleft">下载</div>

                </div>

            </div>

        </div>

    </div>

</div>

<div class="kbix"></div>
<!--    底部-->
<div class="footer">


    <div class="backtop">
        <img src="img/back.png" alt="">
    </div>


    <div class="footertop">
        <div class="footertopbox">
            <div class="footeritem zuo">
                <div class="footeritemtop">
                    <img src="img/jituan.png" alt="">
                </div>
                <div class="footeritembottom">
                    <div class="footebimg join" data-id="1">
                        <img src="img/qie.png" alt="">
                    </div>
                    <div class="footebimg join" data-id="1">
                        <img src="img/weixin.png" alt="">
                    </div>
                    <div class="footebimg join" data-id="1">
                        <img src="img/xinlang.png" alt="">
                    </div>
                    <div class="footebimg">

                       <a href="https://tongfushipin.tmall.com/?spm=a1z10.3-b-s.1997427721.d4918089.181c21b4kVhsHP">
                              <img src="img/gouwu.png" alt="">
                       </a>
                    </div>

                </div>
            </div>
            <div class="footeritem  connectfoot">
                <div class="liantopname">
                    联系我们
                </div>
                <div class="liantopengname">CONTACT US</div>
                <div class="lianbox">
                    <div class="lianboxitem">地址:安徽省芜湖市繁昌经济开发区</div>
                    <div class="lianboxitem">电话:0553-7718368/400-668-7718</div>
                    <div class="lianboxitem">传 真:0553-7718387</div>
                    <div class="lianboxitem youxiang">邮箱:TONGFUKEFU@TONGFUGROUP.COM</div>
                </div>
            </div>
            <div class="footeritem  hotline">
                <div class="liantopname">
                    服务热线
                </div>
                <div class="liantopengname">SERVICE HOTLINE</div>
                <div class="lianbox">
                    <div class="lainboxitem re">
                        销售热线:<text class="number">0553-7718368</text></div>
                    <div class="lianboxitem re">
                        售后服务:<text class="number">400-668-7718 </text>
                    </div>
                    <div class="lianboxitem ">
                        <text class="join" data-id="2"> 在线留言</text>/  <text class="join" data-id="1">加入我们</text>
                    </div>

                </div>
                <!--                <div class="lianbox">-->
                <!--                    <div class="lianboxitem">地址:安徽省芜湖市繁昌经济开发区</div>-->
                <!--                    <div class="lianboxitem">电话:0553-7718368/400-668-7718</div>-->
                <!--                    <div class="lianboxitem">传 真:0553-7718387</div>-->
                <!--                    <div class="lianboxitem">邮箱:TONGFUKEFU@TONGFUGROUP.COM</div>-->
                <!--                </div>-->
            </div>
            <div class="footeritem pictu">
                <div class="footimglist">
                    <div class="footimgk">
                        <img src="img/wei.png" alt="">
                    </div>
                    <div class="footname">微信公众号</div>

                </div>
                <div class="footimglist">
                    <div class="footimgk">
                        <img src="img/tianmao.png" alt="">
                    </div>
                    <div class="footname">天猫旗舰店</div>

                </div>
                <div class="footimglist">
                    <div class="footimgk">
                        <img src="img/tong.png" alt="">
                    </div>
                    <div class="footname">同福好铺</div>

                </div>
            </div>
        </div>

    </div>
    <div class="footerbottom">
        <div class="footerbottombox">
            <div class="footerbottomleft">COPYRIGHT © 2018.同福集团 皖ICP备18022552号-1 ALL RIGHTS RESERVED.  </div>
            <div class="footerbottomright">
                <div class="rightitem">加入同福</div>
                <div class="rightitem">相关链接</div>
                <div class="rightitem">隐私政策</div>
                <div class="rightitem">网站地图</div>
                <div class="rightitem">联系我们</div>
            </div>
        </div>


    </div>

</div>
</body>

<script src="js/jquery.min.js"></script>

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/swiperfour.min.js"></script>
<script src="js/jquery.sPage.js"></script>
<script src="js/base.js"></script>
<script>

    $(".navmiddle").click(function(){

        window.location.href='index.html'
    })
    $(".nongyebanner").click(function(){

        window.location.href='tongfuchanye.html?id='+2

    })
    $(".zhihuibanner").click(function(){

        window.location.href='tongfuchanye.html?id='+4



    })
    $(".jiankangbanner").click(function(){

        window.location.href='tongfuchanye.html?id='+1
    })

    $(".liansuobanner").click(function(){

        window.location.href='tongfuchanye.html?id='+3

    })

    var typeid=GetQueryString('typeid');
    if(typeid!=null){
        $('html,body').animate({scrollTop: '600px'}, 800)
    }
    var showid= GetQueryString('id');
    console.log(showid)
    var item=$(".connectour")
    if(showid==1){
        $('html,body').animate({scrollTop: '600px'}, 800)
        console.log(999)
        $(".lianxiusactive").show();
        $(".liuyanactive").hide();
        $(".downloadactive").hide();
        $(item[0]).children(".tongmingzi").addClass("tongmingactive");
        $(".yinxiangtopname").html("联系我们");
    }else if(showid==2){
        $('html,body').animate({scrollTop: '600px'}, 800)
        console.log(888)
        $(".lianxiusactive").hide();
        $(".liuyanactive").show();
        $(".downloadactive").hide();
        $(item[1]).children(".tongmingzi").addClass("tongmingactive");
        $(".yinxiangtopname").html("在线留言");
    }else if(showid==3){
        $('html,body').animate({scrollTop: '600px'}, 800)
        $(".lianxiusactive").hide();
        $(".liuyanactive").hide();
        $(".downloadactive").show();
        $(item[2]).children(".tongmingzi").addClass("tongmingactive");
        $(".yinxiangtopname").html("资料下载");

    }
    var mySwiper = new Swiper ('.bannercontainer', {
        autoplay:true,
        loop: true, // 循环模式选项
        centeredSlides : false,
        duration:1000,
        pagination: {
            el: '.swiper-pagination',
            clickable :true,
        },
        // slidesOffsetBefore : 280,
        // spaceBetween : 10,
    })

    //    联系我们
    $(".connect .tongfuboxleftitem").click(function(){
        var id=$(this).attr("data-id");
        console.log(id)
        $(this).children(".tongmingzi").addClass("tongmingactive");
        $(this).siblings(".tongfuboxleftitem").children(".tongmingzi").removeClass("tongmingactive");
        if(id==1){
            $(".lianxius").show();
            $(".liuyan").hide();
            $(".dowmload").hide();
            $(".yinxiangtopname").html("联系我们");
        }else if(id==2){
            $(".lianxius").hide();
            $(".liuyan").show();
            $(".dowmload").hide();
            $(".yinxiangtopname").html("联系我们 > 在线留言")
        }else if(id==3){
            $(".lianxius").hide();
            $(".liuyan").hide();
            $(".dowmload").show();
            $(".yinxiangtopname").html("联系我们 > 资料下载")
        }
    })

    //    联系我们顶部切换
    $(".connecttop").mouseenter(function(){
        $(this).children(".lianxiusboxtopitem").hide();
        $(this).children(".connectimg").show()
    })

    $(".connecttop").mouseleave(function(){
        $(this).children(".lianxiusboxtopitem").show();
        $(this).children(".connectimg").hide()
    })

    //资料下载顶部切换
    $(".lianxiusboxtopitem").mouseenter(function(){
        $(this).addClass("liannongactive");
    })
    $(".lianxiusboxtopitem").mouseleave(function(){
        $(this).removeClass("liannongactive");
    })

    $(".join").click(function(){
        let id=$(this).attr("data-id")
        if(id==1){
            window.location.href='connectus.html?id='+1

        }else if(id==2){
            window.location.href='connectus.html?id='+2

        }
    })
</script>


<!--图片验证-->

<script>
    var show_num = [];
    draw(show_num);
    function dj(){
        draw(show_num);
    }
    function draw(show_num) {
        var canvas_width=document.getElementById('canvas').clientWidth;
        var canvas_height=document.getElementById('canvas').clientHeight;
        var canvas = document.getElementById("canvas");//获取到canvas的对象,演员
        console.log(canvas)
        var context = canvas.getContext("2d");//获取到canvas画图的环境,演员表演的舞台
        canvas.width =100;
        canvas.height =38;

        console.log(canvas_width);
        console.log(canvas_height)
        var sCode = "A,B,C,E,F,G,H,J,K,L,M,N,P,Q,R,S,T,W,X,Y,Z,1,2,3,4,5,6,7,8,9,0,q,w,e,r,t,y,u,i,o,p,a,s,d,f,g,h,j,k,l,z,x,c,v,b,n,m";
        var aCode = sCode.split(",");
        var aLength = aCode.length;//获取到数组的长度

        for (var i = 0; i <= 3; i++) {
            var j = Math.floor(Math.random() * aLength);//获取到随机的索引值
            var deg = Math.random() * 30 * Math.PI / 180;//产生0~30之间的随机弧度
            var txt = aCode[j];//得到随机的一个内容
            show_num[i] = txt;
            var x = 10 + i * 20;//文字在canvas上的x坐标
            var y = 20 + Math.random() * 8;//文字在canvas上的y坐标
            context.font = "bold 23px 微软雅黑";

            context.translate(x, y);
            context.rotate(deg);

            context.fillStyle = randomColor();
            context.fillText(txt, 0, 0);

            context.rotate(-deg);
            context.translate(-x, -y);
        }
        for (var i = 0; i <= 5; i++) { //验证码上显示线条
            context.strokeStyle = randomColor();
            context.beginPath();
            context.moveTo(Math.random() * canvas_width, Math.random() * canvas_height);
            context.lineTo(Math.random() * canvas_width, Math.random() * canvas_height);
            context.stroke();
        }
        for (var i = 0; i <= 30; i++) { //验证码上显示小点
            context.strokeStyle = randomColor();
            context.beginPath();
            var x = Math.random() * canvas_width;
            var y = Math.random() * canvas_height;
            context.moveTo(x, y);
            context.lineTo(x + 1, y + 1);
            context.stroke();
        }
    }
    function randomColor() {//得到随机的颜色值
        var r = Math.floor(Math.random() * 256);
        var g = Math.floor(Math.random() * 256);
        var b = Math.floor(Math.random() * 256);
        return "rgb(" + r + "," + g + "," + b + ")";
    }


</script>
</html>