<scroll-view class="index">
    <view class="search-w" >
        <search-bar disabled="{{ true }}" bindtap="toSearch" />
    </view>

    <view class="content">
        <view class="advertise" >
            <image src="{{detail.logoUrl}}"></image>
        </view>
        <view class="tab-w">
            <view class="tab" wx:for="{{ tabList }}" wx:key="index" data-route="{{item.route}}" bindtap="toTabDetail">
                <image src="{{item.icon}}"></image>
                <view>{{item.label}}</view>
            </view>
        </view>
        <view class="banner">
            <swiper>
                <swiper-item wx:for="{{ detail.firstPageContent }}" wx:key="index"  data-vr_link="https%3A%2F%2Ftest.4dkankan.com%2Fkanzhan.html%3Fm%3Dt-spWjHa6%26test" bindtap="toScene">
                    <image src="{{ item.img }}"></image>
                </swiper-item>
            </swiper>
        </view>
        <!-- 展会产品 -->
        <view class="category-w">
            <view class="category-header clearfix">
                <view class="category-title fl">展会产品</view>
                <view class="more fr" bindtap="toGoodsTab">更多></view>
            </view>
            <view class="category-list">
                <view class="category-item" bindtap="toGoodsTab" data-index="{{index}}" wx:for="{{ categoryList }}" wx:key="{{ index }}">
                    <image src="{{item.coverImageUrl}}"></image>
                    <view class="goods-name">{{item.name}}</view>
                    <view class="desc">{{item.translateOne}}</view>
                    <view class="desc">{{item.translateTwo}}</view>
                </view>
            </view>
        </view>

        <!-- 参展企业 -->
        <view class="enterprise-w">
            <view class="enterprise-header clearfix">
                <view class="category-title fl">参展企业</view>
                <view class="more fr" bindtap="toExhibitionList">更多></view>
            </view>
            <view class="enterprise-list">
                <view class="enterprise-item" wx:for="{{companyList}}" wx:key="{{index}}" data-vr_link="{{ item.vrLink }}" bindtap="toScene">
                    <view class="enterprise-logo">
                        <image src="{{ item.companyLogo }}" bindload="imageLoad" data-index="{{ index }}"  style="width:{{ images[index].width }}rpx; height:{{ images[index].height }}rpx;"></image>
                    </view>
                    <view>{{ item.companyName }}</view>
                </view>
            </view>
        </view>
    </view>
</scroll-view>
<tab-bar />