index.wxml 64.0 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 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862
<!-- <view class='big_page {{resolve?"active":""}}'> -->
<view class='big_page {{resolve?"active":""}}'>
    <view class='page'>
        <view class='back_top' wx:if='{{floorstatus}}' bindtap='goTop'>
            <view class='iconfont icon-fanhuidingbu'></view>
        </view>
        <view class='back_top' wx:if='{{floorstatuss}}' catchtap='goTops'>
            <view class='iconfont icon-fanhuidingbu'></view>
        </view>
        <view class='big_box {{show_cart_mask||go_hi_flag?"active":""}} {{flag?"activity":""}} {{all?"active":""}}'>
            <view class='index_top'>
                <view class='index_add'>
                    <view class='iconfont icon-location'></view>
                    <text class='city_box'>{{city}}</text>
                </view>
                <view class='index_input' bindtap='search'>
                    <input placeholder='有机红颜草莓' placeholder-class='holder'></input>
                    <icon type='search' size='16' color='#222'></icon>
                </view>
                <view class='iconfont  icon-message' bindtap='toMessage'>
                    <view class='small_red_dot' wx:if='{{message>0}}'></view>
                </view>
            </view>
            <view class='nav_box'>
                <view class='top_nav'>
                    <text class='font-nav {{nav===0?"active":""}}' bindtap='changeNav1'> 推荐</text>
                    <text wx:for='{{packageCategories}}' wx:key='{{item.id}}' class='font-nav {{navs==item.id?"active":""}}' bindtap='changeNav3' data-id='{{item.id}}'>{{item.name}}</text>
                    <text wx:for='{{category}}' wx:key='{{item.id}}' class='font-nav {{nav==item.id?"active":""}}' bindtap='changeNav2' data-id='{{item.id}}'>{{item.name}}</text>
                </view>
                <view class='nav_text' bindtap='operation_all'>
                    <text class='iconfont icon-fenlei'></text>
                </view>
            </view> 
            <view class='zuida'>
                <block wx:if='{{nav==0}}'>
                    <view class='yyh'>
                        <swiper next-margin='40rpx' previous-margin='10rpx' circular='true' autoplay='true' display-multiple-items='1' class='swiper_banner_box' interval='5000'>
                            <block wx:for='{{special}}' wx:key='{{item.id}}'>
                                <!-- <swiper-item > -->
                                <swiper-item bindtap='jump_special_list' data-specialid='{{item.id}}'>
                                    <image src='{{item.image}}' class="slide-image {{currentIndex == 0 ? 'active': ''}} uiuiui"></image>
                                </swiper-item>
                            </block>
                        </swiper>
                    </view>
                    <view class='real_save'>
                        <view class='safe_box'>
                            <view bindtap='go_mind_detect'>
                                <!-- <view class='real_anxin'>
                                                 <image src='../imgs/anxin.png' class='anxin'></image>
                                       </view> -->
                                <text class='iconfont icon-aaa'></text>
                                <text>安心检测</text>
                            </view>
                            <view bindtap='go_selectSource'>
                                <text class='iconfont icon-xingzhuang'></text>
                                <text>优选源头</text>
                            </view>
                            <view bindtap='go_pay_ensure'>
                                <text class='iconfont icon-xingzhuang1'></text>
                                <text>赔付保证</text>
                            </view>
                        </view>
                    </view>
                    <!-- <navigator url='{{banner.url}}'> -->
                    <view class='classfy' bindtap='go_hi_carousel'>
                        <image src='{{xiaban.image}}'></image>
                    </view>
                    <!-- </navigator> -->
                    <view class="safety_box function">
                        <navigator class="safe_item clo" url='../vip/vip_index/vip_index' hover-class="none">
                            <image src="{{imgUrl}}ic01@2x.png" alt="" mode='aspectFit'></image>
                            <text>会员俱乐部</text>
                        </navigator>
                        <navigator url='../my/balance _center2/balance _center2' class="safe_item clo" hover-class="none">
                            <image src="{{imgUrl}}ic02@2x.png" alt="" mode='aspectFit'></image>
                            <text>储值送券</text>
                        </navigator>
                        <navigator url="../my/invitationPolite/invitationPolite" class="safe_item clo" hover-class="none">
                            <image src="{{imgUrl}}ic03@2x.png" alt="" mode='aspectFit'></image>
                            <text>邀请有礼</text>
                        </navigator>
                        <view class="safe_item clo" bindtap='jump_index_sign'>
                            <image src="{{imgUrl}}ic04@2x.png" alt="" mode='aspectFit'></image>
                            <text>每日签到</text>
                        </view>
                    </view>
                    <view class='new_person_box' wx:if='{{new_person.length>0}}'>
                        <view class="index_title">
                            <text class="title_left"></text>
                            <text class="title_mid">超值新人礼包</text>
                            <text class="title_right"></text>
                        </view>
                        <scroll-view class='scroll_box' scroll-x>
                            <navigator url='/pages/index/goodsDetial/goodsDetial?id={{item.id}} ' class='new_person_item' wx:for='{{new_person}}' wx:key='{{item.id}}'>
                                <view class='position_box'>
                                    <image src='{{imgUrl}}pic1.png'></image>
                                    <view class='goods_name'>{{item.title}}</view>
                                    <view>
                                        <text class='rmb'>¥</text>
                                        <text class='pprice'>{{item.price}}</text>
                                        <text class='oprice'>¥{{item.old_price}}</text>
                                    </view>
                                </view>
                            </navigator>
                        </scroll-view>
                    </view>
                    <view class='nav_type_box'>
                        <view class='nav_type_left'>
                            <view class='nav_type {{wangge==0?"type_active":""}}' bindtap='changeWangGe0'>
                                <text class='iconfont icon-liebiao'></text>
                                <text>列表</text>
                            </view>
                            <view class='nav_type {{wangge==1?"type_active":""}}' bindtap='changeWangGe1'>
                                <text class='iconfont icon-wangge'></text>
                                <text>网格</text>
                            </view>
                            <view class='nav_type {{wangge==2?"type_active":""}}' bindtap='changeWangGe2'>
                                <text class='iconfont icon-datu'></text>
                                <text>大图</text>
                            </view>
                        </view>
                        <view class='nav_type_right'>
                            <text class='iconfont icon-shaixuan'></text>
                            <text bindtap='select'>筛选</text>
                        </view>
                    </view>
                    <view>
                        <view wx:if='{{product_item.length>0}}'>
                            <view wx:if='{{wangge==0}}'>
                                <view wx:for='{{product_item}}' wx:key='{{item.id}}'>
                                    <view class='classfy' bindtap='jump_web' data-jump='{{item.more.banner_url}}' style='padding-top:40rpx;' wx:if='{{item.more.banner!=""}}'>
                                        <image src='{{item.more.banner}}' bindtap=''></image>
                                    </view>
                                    <view class='goodbox'>
                                        <view class='good_item' wx:for='{{item.product_item}}' wx:key='{{item.id}}' data-goods='{{item.id}}'>
                                            <view class='good_img' bindtap='get_goodsDetial' data-goods='{{item.id}}'>
                                                <image src='{{item.label}}' class='label_image'></image>
                                                <image class='goods_img_image' src='{{item.more.thumbnail}}'></image>
                                            </view>
                                            <view class='good_right'>
                                                <view class='good_name goods_name_margin_top yititle'>{{item.title}}</view>
                                                <view class='good_stand yititle'>{{item.excerpt}}</view>
                                                <view class='good_price_three'>
                                                    <text class='good_pprice'><text class='rmb'>¥</text>{{item.price}}</text>
                                                    <text class='good_oprice'><text class='rmb'>¥</text>{{item.old_price}}</text>
                                                </view>
                                                <view>
                                                    <view class='good_vipbox'>
                                                        <view class='good_vipbox_left'>
                                                            <text class='good_vip'><text class='rmb red_rmb rmb_red_price'>¥</text> {{item.vip_price}}</text>
                                                            <view class='good_vip_spec'>
                                                                <image class='vipvip' src='{{imgUrl}}vipvip.png'></image>
                                                            </view>
                                                        </view>
                                                        <view class='good_btn'>
                                                            <view class='iconfont icon-gouwuche' catchtap='show_cart_mask' data-goods='{{item.id}}'></view>
                                                        </view>
                                                    </view>
                                                </view>
                                            </view>
                                        </view>

                                    </view>
                                    <view class='ad_box' bindtap='show_ad' wx:if='{{showad}}'>
                                        <image src='{{banner.image}}' mode='widthFix' catchtap='goad'></image>
                                        <view class='iconfont icon-quxiao'></view>
                                    </view>
                                </view>
                                <view>
                                    <view class='goodbox goods_margin_top'>
                                        <view class='good_item' wx:for='{{groupList}}' wx:key='{{item.id}}' data-goods='{{item.id}}' bindtap='get_goodsDetial' data-goods='{{item.id}}'>
                                            <view class='good_img'>
                                                <image src='{{item.label}}' class='label_image'></image>
                                                <image class='goods_img_image' src='{{item.more.thumbnail}}'></image>
                                                <view class='group_time {{item.group_status==3?"active":""}} {{item.group_status==2?"activity":""}}'>
                                                    <view wx:if='{{item.group_status==3}}'>已结束</view>
                                                    <view wx:else>

                                                        <text wx:if='{{item.group_status==1}}'>开始\t\t\t</text>
                                                        <text wx:elif='{{item.group_status==2}}' style='margin-left:-4rpx;'>结束</text> {{item.days}}天{{item.hours}}时{{item.minutes}}分
                                                    </view>
                                                </view>
                                            </view>
                                            <view class='good_right goods_right'>
                                                <view class='good_name yititle'>{{item.title}}</view>
                                                <view class='good_stand'></view>
                                                <view class='good_price_progressaa'>
                                                    <progress show-info border-radius='4' activeColor='#ffda44' stroke-width='8' percent='{{item.percent}}' font-size='12'></progress>
                                                    <text class='group_font'>已拼{{item.group_number}}份\t\t\t\t目标{{item.group_min_number}}份</text>
                                                </view>
                                                <view>
                                                    <view class='good_vipbox'>
                                                        <view class='good_vipbox_left good_price_three'>
                                                            <text class='good_vip  red_rmb_right'><text class='rmb red_rmb rmb_red_price'>¥</text> {{item.vip_price}}</text>
                                                            <text class='good_oprice'><text class='rmb'>¥</text>{{item.old_price}}</text>
                                                        </view>
                                                        <view class='good_btn' wx:if='{{0}}'>
                                                            <view class='iconfont icon-gouwuche' catchtap='show_cart_mask' data-goods='{{item.id}}'></view>
                                                        </view>
                                                    </view>
                                                </view>
                                            </view>
                                        </view>
                                    </view>
                                </view>
                            </view>
                            <view wx:if='{{wangge==1}}' class='wangge_box'>
                                <view wx:for='{{product_item}}' wx:key='{{item.id}}'>
                                    <view class='classfy' bindtap='jump_web' wx:if='{{item.more.banner!=""}}' data-jump='{{item.more.banner_url}}' style='padding-top:40rpx;' wx:if='{{item.more.banner!=""}}'>
                                        <image src='{{item.more.banner}}'></image>
                                    </view>
                                    <view class='collocation collections'>
                                        <view class='collocation_box' wx:for='{{item.product_item}}' wx:key='{{item.id}}'>
                                            <view class='collocation_img' data-goods='{{item.id}}' bindtap=' get_goodsDetial' bindtap='get_goodsDetial' data-goods='{{item.id}}'>
                                                <image class='collocation_img_image' src='{{item.more.thumbnail}}'></image>
                                                <image class='collocation_img_image_posiimg' src='{{item.label}}'></image>
                                            </view>
                                            <view class='collocation_content'>

                                                <view class='zhongtu_title_hei ertitle'>{{item.title}}</view>
                                                <view class='introduce introduces'>{{item.excerpt}}</view>
                                                <view>
                                                    <view class='price_big_boxa'>
                                                        <text class='money_icon2 money_icon2s'>¥</text>
                                                        <text class='money2 money2a'>{{item.price}}</text>
                                                        <text class='original_price original_prices'>¥{{item.old_price}}</text>
                                                    </view>
                                                    <view class='good_vipbox good_vipboxs'>
                                                        <view class='good_vipbox_left'>
                                                            <text class='good_vip'><text class='rmb red_rmb red_rmbs'>¥</text> {{item.vip_price}}</text>
                                                            <view class='good_vip_spec'>
                                                                <image class='vipvip' src='{{imgUrl}}vipvip.png'></image>
                                                            </view>
                                                        </view>
                                                        <view class='good_btn cart_icon'>
                                                            <view class='iconfont icon-gouwuche' catchtap='show_cart_mask' data-goods='{{item.id}}'></view>
                                                        </view>
                                                    </view>
                                                </view>
                                            </view>
                                        </view>

                                    </view>
                                </view>

                                <view>
                                    <!-- <view class='classfy' style='padding-top:40rpx;'>
                                                                <image src='{{item.more.banner}}'></image>
                                                        </view> -->
                                    <view class='collocation collections'>
                                        <view class='collocation_box' wx:for='{{groupList}}' wx:key='{{item.id}}' data-goods='{{item.id}}' bindtap=' get_goodsDetial'>
                                            <view class='collocation_img'>
                                                <view>
                                                    <view wx:if='{{item.group_status==3}}' class='zhongtu_position active'>已结束</view>

                                                    <view wx:else>
                                                        <view class='zhongtu_position'>

                                                            <text wx:if='{{item.group_status==1}}'>开始\t\t\t</text>
                                                            <!-- <text wx:elif='{{item.group_status==2}}'>结束\t\t\t</text> {{item.days}}天{{item.hours}}小时{{item.minutes}}分 -->
                                                            <text wx:elif='{{item.group_status==2}}'>结束\t\t\t</text> {{item.days}}:{{item.hours}}:{{item.minutes}}:{{item.seconds}}

                                                        </view>
                                                    </view>
                                                </view>
                                                <image class='collocation_img_image' src='{{item.more.thumbnail}}'></image>
                                                <image class='collocation_img_image_posiimg' src='{{item.label}}'></image>
                                            </view>
                                            <view class='collocation_content'>

                                                <view class='zhongtu_title_hei'>{{item.title}}</view>


                                                <view>
                                                    <progress show-info border-radius='4' activeColor='#ffda44' stroke-width='8' percent='{{item.group_number * 100/item.group_min_number}}' font-size='12'></progress>
                                                    <text class='group_font'>已拼{{item.group_number}}份\t\t\t\t目标{{item.group_min_number}}份</text>
                                                    <view class='good_vipbox good_vipboxs'>
                                                        <view class='good_vipbox_left'>

                                                            <view class='price_big_boxa'>
                                                                <text class='money_icon2b'>¥</text>
                                                                <text class='money2ss'>{{item.price}}
                                                                                                </text>
                                                                <text class='original_price '>¥{{item.old_price}}</text>
                                                            </view>
                                                        </view>
                                                        <view class='good_btn cart_icon'>
                                                            <view class='iconfont icon-gouwuche' catchtap='show_cart_mask' data-goods='{{item.id}}'></view>
                                                        </view>
                                                    </view>
                                                </view>
                                            </view>
                                        </view>

                                    </view>
                                </view>
                            </view>
                            <view wx:if='{{wangge==2}}'>
                                <view wx:for='{{product_item}}' wx:key='{{item.id}}' class='back_white'>
                                    <view class='classfy' bindtap='jump_web' wx:if='{{item.more.banner!=""}}' data-jump='{{item.more.banner_url}}' style='padding-top:40rpx;' wx:if='{{item.more.banner!=""}}'>
                                        <!-- <navigator to='{{item.more.banner_url}}'> -->
                                        <image src='{{item.more.banner}}'></image>
                                        <!-- </navigator>  -->
                                    </view>
                                    <view class='big_img_box'>
                                        <view class='goods_fors' wx:for='{{item.product_item}}' wx:key='{{item.id}}'>
                                            <view class='goods_for_img' bindtap='get_goodsDetial' data-goods='{{item.id}}'>
                                                <image class='goods_for_img_image' src='{{item.more.thumbnail}}'></image>
                                                <image class='goods_for_img_image_posiimg' src='{{item.label}}'></image>
                                            </view>
                                            <view class='goods_for_font'>
                                                <view class='good_btn cart_icons'>
                                                    <view class='iconfont icon-gouwuche' catchtap='show_cart_mask' data-goods='{{item.id}}'></view>
                                                </view>
                                                <view class='goods_for_font_one santitle'>{{item.title}}</view>
                                                <view class='goods_for_font_two sanexcerpt'>{{item.excerpt}}</view>
                                                <view class='goods_for_font_three'>
                                                    <view class='goods_for_font_three_one'>
                                                        <view>¥</view>
                                                        {{item.price}}
                                                    </view>
                                                    <view class='goods_for_font_three_two'>¥{{item.old_price}}</view>
                                                    <view class='goods_for_font_three_three'>
                                                        <view>¥</view>
                                                        {{item.vip_price}}
                                                    </view>
                                                    <view class='goods_for_three_four'>
                                                        <image class='vipvip' src='{{imgUrl}}vipvip.png'></image>
                                                    </view>
                                                </view>
                                            </view>
                                        </view>
                                    </view>
                                </view>
                                <view class='back_white'>
                                    <!-- <view class='classfy' style='padding-top:40rpx;'>
                                                                <navigator to='{{item.more.banner_url}}'>
                                                                <image src='{{item.more.banner}}'></image>
                                                                </navigator> 
                                                        </view> -->
                                    <view class='big_img_box'>
                                        <view class='goods_for' wx:for='{{groupList}}' wx:key='{{item.id}}' bindtap='get_goodsDetial' data-goods='{{item.id}}'>
                                            <view class='goods_for_img'>
                                                <image class='goods_for_img_image' src='{{item.more.thumbnail}}'></image>
                                                <image class='goods_for_img_image_posiimg' src='{{item.more.thumbnail}}'></image>
                                                <view class='datu_shengyu_time {{item.group_status==3?"active":""}}'>
                                                    <view wx:if='{{item.group_status==3}}'>已结束</view>
                                                    <view wx:else>距离团购
                                                        <text wx:if=' {{item.group_status==1}} '>开始\t\t\t</text>
                                                        <!-- <text wx:elif='{{item.group_status==2}} '>结束\t\t\t</text> {{item.days}}天{{item.hours}}小时{{item.minutes}}分 -->
                                                        <text wx:elif='{{item.group_status==2}} '>结束\t\t\t</text> {{item.days}}:{{item.hours}}:{{item.minutes}}:{{item.seconds}}
                                                    </view>
                                                </view>
                                            </view>
                                            <view class='goods_for_font '>
                                                <view class='good_btn cart_icons '>
                                                    <view class='iconfont icon-gouwuche ' catchtap='show_cart_mask' data-goods='{{item.id}} '></view>
                                                </view>
                                                <view class='goods_for_font_one  santitle'>{{item.title}}</view>
                                                <progress show-info border-radius='4 ' activeColor='#ffda44 ' stroke-width='8 ' percent='{{item.percent}} ' font-size='12 '></progress>
                                                <text class='group_font'>已拼{{item.group_number}}份\t\t\t\t目标{{item.group_min_number}}份</text>
                                                <view class='goods_for_font_threes'>
                                                    <view class='goods_for_font_three_ones '>
                                                        <view>¥</view>
                                                        {{item.price}}
                                                    </view>
                                                    <view class='goods_for_font_three_twos '>¥{{item.old_price}}</view>
                                                </view>
                                            </view>
                                        </view>
                                    </view>
                                </view>
                            </view>
                        </view>

                    </view>
                    <view class='show_Comments ' wx:if='{{commentList.length>0}}'>
                        <view class='explain_one '>
                            用户LOOK
                        </view>
                        <view class='scroll_comment_look '>
                            <!-- <scroll-view srcoll-x style='width:100%'> -->
                            <!-- <swiper display-multiple-items='{{2}}' class='look_swiper '> -->
                            <!-- <swiper-item  circular='true ' class='look_swiper-item ' wx:for='{{commentList}}' wx:key='*this'> -->
                            <view class='user_look_item ' wx:for='{{commentList}}' wx:key='*this'>
                                <view class='user_look_item_image '>
                                    <image src='{{item.show_img}}'></image>
                                </view>
                                <view class='no_wrap_confirm '>{{item.content}}</view>
                                <view class='look_user_personal '>
                                    <view class='look_personal_avatar '>
                                        <image src='{{item.avatar}} '></image>
                                    </view>
                                    <view class='look_personal_name '>{{item.full_name}}</view>
                                </view>
                            </view>
                            <!-- </scroll-view> -->
                            <!-- </swiper-item> -->
                            <!-- </swiper> -->
                        </view>
                    </view>
                    <view class='else ' bindtap='jump_suggestion'>
                        <view class='else_item '>
                            <image src='../imgs/bianji.png ' class='edit_bianji '> </image>
                            亲,您告诉我您想吃点啥?</view>
                    </view>
                </block>
                <block wx:if='{{navs==item.id}}' wx:for='{{packageCategories}}' wx:key='{{item.id}}'>
                    <view class='padding-top_nav'>
                        <swiper wx:if='{{(navsPhotos.length>0)}}' next-margin='40rpx' previous-margin='10rpx' circular='true' autoplay='true' display-multiple-items='1' class='swiper_banner_box {{maodianFlag?"active":""}}' interval='5000'>
                            <block wx:for='{{item.more.photos}}' wx:key='{{item}}'>
                                <!-- next-margin='40rpx' previous-margin='10rpx' circular='true' autoplay='true' display-multiple-items='1' class='swiper_banner_box' -->
                                <swiper-item bindtap='jump_special_list' data-specialid='{{item.id}}'>
                                    <image src='{{item.url}}' class="slide-image uiuiui"></image>
                                </swiper-item>
                            </block>
                        </swiper>
                        <view id='swiperId' class='swiperswiper {{maodianFlag?"active":""}} {{navsPhotos.length==0&&(!maodianFlag)?"activity":"acti"}}'>
                            <!-- {{!banner_state?"activity":""}} -->
                            <view class='swiper_items' wx:for='{{packageList}}' id='{{item.id}}' wx:key='{{item.id}}' wx:for-index='index'>
                                <view class='{{status==index?"active":""}}' id='Nav{{index}}' bindtap="getStatus" data-index='{{index}}'>
                                    {{item.name}}</view>
                            </view>
                        </view>
                        <view class='fixed_box {{maodianFlag?"active":""}}'>
                            <scroll-view scroll-y='true' scroll-into-view="NAV{{status}}" scroll-with-animation='true' class='scroll_view_class' bindscroll='checkTop' bindscrolltoupper='upper'>
                                <view class='nav_type_box active'>
                                    <view class='nav_type_left'>
                                        <view class='nav_type {{wangge==0?"type_active":""}}' bindtap='changeWangGe0'>
                                            <text class='iconfont icon-liebiao'></text>
                                            <text>列表</text>
                                        </view>
                                        <view class='nav_type {{wangge==1?"type_active":""}}' bindtap='changeWangGe1'>
                                            <text class='iconfont icon-wangge'></text>
                                            <text>网格</text>
                                        </view>
                                        <view class='nav_type {{wangge==2?"type_active":""}}' bindtap='changeWangGe2'>
                                            <text class='iconfont icon-datu'></text>
                                            <text>大图</text>
                                        </view>
                                    </view>
                                </view>
                                <block wx:if='{{wangge==0}}'>
                                    <view wx:for='{{packageList}}' wx:key='{{cellindex}}' wx:for-item='cell' wx:for-index='cellindex'>
                                        <!-- <view id='NAV{{cellindex}}'></view> -->
                                        <view class='classfy classfydd' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' id='NAV{{cellindex}}' wx:if='{{cell.more.banner}}'>
                                            <image src='{{cell.more.banner}}'></image>
                                            <!-- <image src='{{cell.more.banner}}' bindtap='get_contant'></image> -->
                                        </view>
                                        <view class='goodbox'>
                                            <view bindtap='get_packageDetial' class='good_item' wx:for='{{cell.child}}' wx:key='{{item.id}}' data-goods='{{item.id}}'>
                                                <view class='good_img' data-goods='{{item.id}}'>
                                                    <image src='{{item.thumbnail}}' class='goods_img_image'></image>
                                                </view>
                                                <view class='good_right'>
                                                    <view class='good_name goods_name_margin_top yititle'>{{item.title}}</view>
                                                    <view class='good_stand yiexcerpt'>{{item.excerpt}}</view>
                                                    <view class='good_price_three'>
                                                        <text class='good_pprice'><text class='rmb'>¥</text>{{item.price}}</text>
                                                        <text class='good_oprice'><text class='rmb'>¥</text>{{item.old_price}}</text>
                                                    </view>
                                                    <view>
                                                        <view class='good_vipbox'>
                                                            <view class='good_vipbox_left'>
                                                                <text class='good_vip'><text class='rmb red_rmb rmb_red_price'>¥</text> {{item.vip_price}}</text>
                                                                <view class='good_vip_spec'>
                                                                    <image class='vipvip' src='{{imgUrl}}vipvip.png'></image>
                                                                </view>
                                                            </view>
                                                        </view>
                                                    </view>
                                                </view>
                                            </view>
                                        </view>
                                        <view class='ad_box' bindtap='show_ad' wx:if='{{showad}}'>
                                            <image src='{{banner.image}}' mode='widthFix' catchtap='goad'></image>
                                            <view class='iconfont icon-quxiao'></view>
                                        </view>
                                    </view>

                                </block>
                                <block wx:if='{{wangge==1}}'>
                                    <view class='wangge_box1'>
                                        <view wx:for='{{packageList}}' class='float' wx:key='{{cell.id}}' wx:for-index='cellindex' wx:for-item='cell'>
                                            <!-- <view id='NAV{{cellindex}}'></view> -->
                                            <view class='classfy' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' id='NAV{{cellindex}}' wx:if='{{cell.more.banner}}'>
                                                <!-- <navigator url='{{item.more.banner_url}}'> -->
                                                <image src='{{cell.more.banner}}'></image>
                                                <!-- </navigator> -->

                                            </view>
                                            <view class='collocation collections'>
                                                <view bindtap='get_packageDetial' data-goods='{{item.id}}' class='collocation_box' wx:for='{{cell.child}}' wx:key='{{item.id}}'>
                                                    <view class='collocation_imgs'>
                                                        <image src='{{item.thumbnail}}'></image>
                                                    </view>
                                                    <view class='collocation_content'>

                                                        <view class='zhongtu_title_hei'>{{item.title}}</view>
                                                        <view class='introduce introduces'>{{item.excerpt}}</view>
                                                        <view>
                                                            <view class='price_big_box'>
                                                                <text class='money_icon2 money_icon2s'>¥</text>
                                                                <text class='money2 money2a money2s'>{{item.price}}</text>
                                                                <text class='original_price original_prices '>¥{{item.old_price}}</text>
                                                            </view>
                                                            <view class='good_vipbox good_vipboxs'>
                                                                <view class='good_vipbox_left'>
                                                                    <text class='good_vip'><text class='rmb red_rmb'>¥</text> {{item.vip_price}}</text>
                                                                    <view class='good_vip_spec'>
                                                                        <image class='vipvip' src='{{imgUrl}}vipvip.png'></image>
                                                                    </view>
                                                                </view>
                                                            </view>
                                                        </view>
                                                    </view>
                                                </view>
                                            </view>
                                        </view>
                                    </view>
                                </block>
                                <block wx:if='{{wangge==2}}'>
                                    <view>
                                        <view wx:for='{{packageList}}' wx:key='{{item.id}}' class='back_white' wx:for-index='cellindex'>
                                            <view id='NAV{{cellindex}}'></view>
                                            <view class='classfy' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' id='NAV{{cellindex}}' wx:if='{{item.more.banner}}'>
                                                <!-- <navigator to='{{item.more.banner_url}}'> -->
                                                <image src='{{item.more.banner}}'></image>
                                                <!-- </navigator>  -->
                                            </view>
                                            <view class='big_img_box'>
                                                <view bindtap='get_packageDetial' data-goods='{{item.id}}' class='goods_for' wx:for='{{item.child}}' wx:key='{{item.id}}'>
                                                    <view class='goods_for_imgs'>
                                                        <image src='{{item.thumbnail}}'></image>
                                                    </view>
                                                    <view class='goods_for_font'>
                                                        <view class='goods_for_font_one santitle'>{{item.title}}</view>
                                                        <view class='goods_for_font_two sanexcerpt'>{{item.excerpt}}</view>
                                                        <view class='goods_for_font_three'>
                                                            <view class='goods_for_font_three_one'>
                                                                <view>¥</view>
                                                                {{item.price}}
                                                            </view>
                                                            <view class='goods_for_font_three_two'>¥{{item.old_price}}</view>
                                                            <view class='goods_for_font_three_three'>
                                                                <view>¥</view>
                                                                {{item.vip_price}}
                                                            </view>
                                                            <view class='goods_for_three_four'>
                                                                <image class='vipvip' src='{{imgUrl}}vipvip.png'></image>
                                                            </view>
                                                        </view>
                                                    </view>
                                                </view>
                                            </view>
                                        </view>
                                    </view>
                                </block>
                            </scroll-view>
                        </view>
                    </view>
                </block>
                <block wx:if='{{nav==item.id}}' wx:for='{{category}}' wx:key='{{item.id}}'>
                    <view class='padding-top_nav'>
                        <swiper next-margin='40rpx' previous-margin='10rpx' circular='true' autoplay='{{aaa}}' display-multiple-items='1' class='swiper_banner_box' interval='5000' wx:if='{{two_banner.length>0}}'>
                            <block wx:for='{{two_banner}}' wx:key='{{item}}'>
                                <swiper-item class='nopadding' bindtap='jump_web' data-jump='{{item.jump}}'>
                                    <image src='{{item.url}}' mode='aspectFill' class="slide-image uiuiui {{currentIndex == 0 ? 'active': ''}}"></image>
                                </swiper-item>
                            </block>
                        </swiper>
                        <view id='swiperId' class='swiperswiper {{maodianFlag?"active":""}} {{(two_banner.length==0)&&(!maodianFlag)?"activity":""}}'>
                            <!-- {{!banner_state?"activity":""}} -->
                            <view class='swiper_items' wx:for='{{goods}}' id='{{item.id}}' wx:key='{{item.id}}' wx:for-index='index'>
                                <view class='{{status==index?"active":""}}' id='Nav{{index}}' bindtap="getStatus" data-index='{{index}}'>
                                    {{item.name}}</view>
                            </view>
                        </view>
                        <view class='fixed_box {{maodianFlag?"active":""}}'>
                            <view class='huise'></view>
                            <scroll-view scroll-y='true' bindscrolltoupper='upper' scroll-into-view="NAV{{status}}" scroll-with-animation='true' class='scroll_view_class' bindscroll='checkTop' style="-webkit-overflow-scrolling:touch">
                                <view class='nav_type_box active'>
                                    <view class='nav_type_left'>
                                        <view class='nav_type {{wangge==0?"type_active":""}}' bindtap='changeWangGe0'>
                                            <text class='iconfont icon-liebiao'></text>
                                            <text>列表</text>
                                        </view>
                                        <view class='nav_type {{wangge==1?"type_active":""}}' bindtap='changeWangGe1'>
                                            <text class='iconfont icon-wangge'></text>
                                            <text>网格</text>
                                        </view>
                                        <view class='nav_type {{wangge==2?"type_active":""}}' bindtap='changeWangGe2'>
                                            <text class='iconfont icon-datu'></text>
                                            <text>大图</text>
                                        </view>
                                    </view>
                                    <view class='nav_type_right'>
                                        <text class='iconfont icon-shaixuan'></text>
                                        <text bindtap='select'>筛选</text>
                                    </view>
                                </view>
                                <block wx:if='{{wangge==0}}'>
                                    <!-- <view bindtap='get_contant' wx:for='{{goods}}' wx:key='{{cellindex}}' wx:for-item='cell' wx:for-index='cellindex'> -->
                                    <view wx:for='{{goods}}' wx:key='{{cellindex}}' wx:for-item='cell' wx:for-index='cellindex'>
                                        <view id='NAV{{cellindex}}'></view>
                                        <view class='classfy' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' id='NAV{{cellindex}}' wx:if='{{cell.more.banner}}'>
                                            <image src='{{cell.more.banner}}'></image>
                                        </view>
                                        <view class='goodbox'>
                                            <!-- wx:if='{{category_name_id==cellindex}}' -->
                                            <view bindtap='get_goodsDetial' data-goods='{{item.id}}' class='good_item' wx:for='{{goods[cellindex].child}}' wx:key='{{item.id}}' data-goods='{{item.id}}'>
                                                <view class='good_img'>
                                                    <image src='{{item.more.thumbnail}}' class='goods_img_image'></image>
                                                </view>
                                                <view class='good_right goods_rights'>
                                                    <view class='good_name yititle'>{{item.title}}</view>
                                                    <view class='good_stand yiexcerpt'>{{item.excerpt}}</view>
                                                    <view class='good_price_threea'>
                                                        <text class='good_pprice'><text class='rmb'>¥</text>{{item.price}}</text>
                                                        <text class='good_oprice'><text class='rmb'>¥</text>{{item.old_price}}</text>
                                                    </view>
                                                    <view>
                                                        <view class='good_vipbox good_vipboxs'>
                                                            <view class='good_vipbox_left'>
                                                                <text class='good_vips'><text class='rmb rmb_red_price'>¥</text> {{item.vip_price}}</text>
                                                                <view class='good_vip_spec'>
                                                                    <image class='vipvip' src='{{imgUrl}}vipvip.png'></image>
                                                                </view>
                                                            </view>
                                                            <view class='good_btn'>
                                                                <view class='iconfont icon-gouwuche' catchtap='show_cart_mask' data-goods='{{item.id}}'></view>
                                                            </view>
                                                        </view>
                                                    </view>
                                                </view>
                                            </view>
                                        </view>
                                        <view class='ad_box' bindtap='show_ad' wx:if='{{showad}}'>
                                            <image src='{{banner.image}}' mode='widthFix' catchtap='goad'></image>
                                            <view class='iconfont icon-quxiao'></view>
                                        </view>
                                    </view>


                                </block>

                                <block wx:if='{{wangge==1}}'>
                                    <view class='wangge_box'>
                                        <view wx:for='{{goods}}' wx:key='{{item.id}}' wx:for-index='cellindex'>
                                            <view id='NAV{{cellindex}}'></view>
                                            <view class='classfy' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' id='NAV{{cellindex}}' wx:if='{{item.more.banner}}'>
                                                <!-- <navigator url='{{item.more.banner_url}}'> -->
                                                <image src='{{item.more.banner}}'></image>
                                                <!-- </navigator> -->

                                            </view>
                                            <view class='collocation collections'>
                                                <view bindtap='get_goodsDetial' data-goods='{{item.id}}' class='collocation_box' wx:for='{{item.child}}' wx:key='{{item.id}}'>
                                                    <view class='collocation_imgs'>
                                                        <image src='{{item.more.thumbnail}}'></image>
                                                    </view>
                                                    <view class='collocation_content'>

                                                        <view class='zhongtu_title_hei'>{{item.title}}</view>
                                                        <view class='introduce introduces'>{{item.excerpt}}</view>
                                                        <view>
                                                            <view class='price_big_box'>
                                                                <text class='money_icon2 money_icon2s'>¥</text>
                                                                <text class='money2 money2a money2s'>{{item.price}}</text>
                                                                <text class='original_price original_prices '>¥{{item.old_price}}</text>
                                                            </view>
                                                            <view class='good_vipbox good_vipboxs'>
                                                                <view class='good_vipbox_left'>
                                                                    <text class='good_vip'><text class='rmb red_rmb'>¥</text> {{item.vip_price}}</text>
                                                                    <view class='good_vip_spec'>
                                                                        <image class='vipvip' src='{{imgUrl}}vipvip.png'></image>
                                                                    </view>
                                                                </view>
                                                                <view class='good_btn cart_icon'>
                                                                    <view class='iconfont icon-gouwuche' catchtap='show_cart_mask' data-goods='{{item.id}}'></view>
                                                                </view>
                                                            </view>
                                                        </view>
                                                    </view>
                                                </view>
                                            </view>
                                        </view>
                                    </view>
                                </block>

                                <block wx:if='{{wangge==2}}'>
                                    <view>
                                        <view wx:for='{{goods}}' wx:key='{{item.id}}' class='back_white' wx:for-index='cellindex'>
                                            <view id='NAV{{cellindex}}'></view>
                                            <view class='classfy' bindtap='jump_web' data-jump='{{cell.more.banner_url}}' id='NAV{{cellindex}}' wx:if='{{item.more.banner}}'>
                                                <!-- <navigator to='{{item.more.banner_url}}'> -->
                                                <image src='{{item.more.banner}}'></image>
                                                <!-- </navigator>  -->
                                            </view>
                                            <view class='big_img_box'>
                                                <view bindtap='get_goodsDetial' data-goods='{{item.id}}' class='goods_for' wx:for='{{item.child}}' wx:key='{{item.id}}'>
                                                    <view class='goods_for_imgs'>
                                                        <image src='{{item.more.thumbnail}}'></image>
                                                    </view>
                                                    <view class='goods_for_font'>
                                                        <view class='good_btn cart_icons'>
                                                            <view class='iconfont icon-gouwuche' catchtap='show_cart_mask' data-goods='{{item.id}}'></view>
                                                        </view>
                                                        <view class='goods_for_font_one santitle'>{{item.title}}</view>
                                                        <view class='goods_for_font_two sanexcerpt'>{{item.excerpt}}</view>
                                                        <view class='goods_for_font_three'>
                                                            <view class='goods_for_font_three_one'>
                                                                <view>¥</view>
                                                                {{item.price}}
                                                            </view>
                                                            <view class='goods_for_font_three_two'>¥{{item.old_price}}</view>
                                                            <view class='goods_for_font_three_three'>
                                                                <view>¥</view>
                                                                {{item.vip_price}}
                                                            </view>
                                                            <view class='goods_for_three_four'>
                                                                <image class='vipvip' src='{{imgUrl}}vipvip.png'></image>
                                                            </view>
                                                        </view>
                                                    </view>
                                                </view>
                                            </view>
                                        </view>
                                    </view>
                                </block>

                            </scroll-view>
                        </view>
                    </view>
                </block>
            </view>
        </view>
        <!-- 全部分类弹窗 -->
        <view class='index_top_mask' wx:if='{{all}}'>
            <view class='all_classify'>
                <view class='all_classify_one'>
                    全部分类
                    <view class='cuowu' bindtap='cancel_both_category'>×</view>
                </view>
                <view class='all_classify_two'>
                    <view class='all_classify_two_item' data-navid='{{0}}' data-flag='{{false}}' bindtap='jump_category_nav'>
                        <image src='{{imgUrl}}goods_1.png'></image>
                        <text>热卖</text>
                    </view>
                    <view class='all_classify_two_item' wx:for='{{packageCategories}}' wx:key='{{item.id}}' data-navid='{{item.id}}' data-flag='{{true}}' bindtap='jump_category_nav'>
                        <image src='{{item.more.thumbnail}}'></image>
                        <text>{{item.name}}</text>
                    </view>
                    <view class='all_classify_two_item' wx:for='{{category}}' wx:key='{{item.id}}' data-flag='{{false}}' data-navid='{{item.id}}' bindtap='jump_category_nav'>
                        <image src='{{item.more.thumbnail}}'></image>
                        <text>{{item.name}}</text>
                    </view>
                </view>
            </view>
        </view>

        <!--加购弹框 -->
        <view class='jump_cart_mask' wx:if='{{show_cart_mask}}'>
            <view class='cart_jump_diceng'>
                <view class='close_jump_cart iconfont icon-cuowu' bindtap='close_jump_msk'></view>
                <view class='good_one'>
                    <view class='goods_one_left'>
                        <image src='{{goods_item.info.more.thumbnail}}'></image>
                    </view>
                    <view class='goods_one_right'>
                        <view class='goods_one_right_one'>{{goods_item.info.title}} </view>
                        <view class='goods_one_right_two'>
                            <text class='right_two_left'>¥{{skuid_price}}</text>
                            <text class='right_two_right'>¥{{old_skuid_price}}</text>
                        </view>
                        <view class='goods_one_right_three'>
                            <view class='right_three_left'>¥
                                <text>{{vip_skuid_price}}</text>
                            </view>
                            <!-- <text class='right_three_right'>-->
                            <image class='vipvip' src='../imgs/vip_du.png'></image>
                            <!-- </text> -->
                        </view>
                        <text class='goods_one_right_four'>选择\t\t\t{{sku_values}}</text>
                    </view>

                </view>
                <view class='goods_two_right' wx:for='{{goods_item.attr.attr_sku}}' wx:key='{{item.id}}' wx:for-item="cell" wx:for-index="cellindex">
                    <view class='goods_two_right_one'>{{cell.name}}</view>
                    <view class='goods_two_right_two'>
                        <view class='goods_two_right_two_item {{value.t?"active":"" }}' wx:for='{{cell.item}}' wx:key='{{key}}' data-id='{{value.id}}' data-parent="{{cellindex}}" data-item="{{value.attribute_value}}" data-index="{{index}}" wx:key='{{index}}' wx:for-item='value'
                            bindtap='changeIds'>{{value.attribute_value}}</view>
                    </view>
                </view>
                <view class='goods_three'>
                    <view class='goods_three_one'>
                        <view class='goods_three_one_left'>购买数量</view>
                        <view class='goods_three_one_right'>
                            <view class='jian_dec' bindtap='dec_item'>-</view>
                            <view class='jian_dec item'>{{item}}</view>
                            <view class='jian_dec' bindtap='add_item'>+</view>
                        </view>
                    </view>
                </view>

                <view class='goods_four' data-limit='{{goods_item.info.limit_numer}}' bindtap='jump_cart_id'>加入购物车</view>
            </view>

        </view>

        <!-- 筛选弹窗LXY  -->
        <view class='masx_box' wx:if='{{flag}}' bindtap='close_flags'>
            <view class='popup_box'>
                <view class='popup_content' wx:for='{{select}}' wx:key='{{item.id}}' wx:for-item="cell" wx:for-index="cellindex">
                    <view class='popup_title'>{{cell.name}}</view>
                    <view class='popup_item'>
                        <view class='popup_item_content {{item.t?"active":"" }}' wx:for='{{cell.item}}' wx:key='{{item.attribute_value}}' data-id='{{item.id}}' data-select="{{cell.is_checkbox}}" data-parent="{{cellindex}}" data-item="item" data-index="{{index}}" catchtap='changeId'>{{item.attribute_value}}</view>
                    </view>
                </view>
            </view>
            <view class='popup_hint' wx:if='{{select.length>5}}'>菜系(↓往下轮播可筛选更多属性)</view>
            <view class='popup_btn'>
                <view class='btn1' catchtap='reset_select'>重置</view>
                <view class='btn2' catchtap='close_all'>完成</view>
            </view>
        </view>
    </view>

    <!-- go_hi轮播弹框 -->
    <view wx:if='{{go_hi_flag}}' bindtap='hide_back_shop'>
        <view class='back_shop_index'>
            <view class='swiper_box_index'>
                <swiper previous-margin='60rpx' next-margin='60rpx' circular='true' display-multiple-items='1' current='{{current}}' class='swiper_banner_box_index' bindchange='bindChange' autoplay>
                    <block wx:for='{{gohi}}' wx:key='{{item.id}}' wx:for-index='index'>
                        <swiper-item>
                            <view class="img_box_index {{current == index ? 'active': ''}}">
                                <image src='{{item.image}}' class="slide-image_index {{current == index ? 'active': ''}}"></image>
                            </view>
                        </swiper-item>
                    </block>
                </swiper>
                <!-- <view class="dots_index">
                                        <block wx:for="{{gohi}}" wx:key="{{item.id}}" wx:for-index='index'>
                                                <view class="dot_index {{current == index ? ' active' : ''}}"></view>
                                        </block>
                                </view> -->
            </view>
            <view class='exit_back_shop_index' bindtap='hide_back_shop'>退出</view>
        </view>
    </view>
    <!-- 客服 -->
    <view class='piaofu_kefu' wx:if='{{nav==0}}'>
        <view class='message_kefu'>
            <view class='iconfont icon-weixin'>

            </view>
        </view>
        <button open-type='contact' plain='true' class='index_kefu contact_kefu'>联系客服</button>
        <!-- <view class='contact_kefu'>联系客服</view> -->
    </view>
</view>