|
|
<wxs src="./filter.wxs" module="filter"></wxs>
|
|
|
<view class="box">
|
|
|
<view class="top-brand-switch">
|
|
|
<view class="tiem_com">
|
|
|
<time-custom bind:change="changeTime"></time-custom>
|
|
|
</view>
|
|
|
<view class="add1">
|
|
|
<view style="display: inline-block;" wx:for="{{boxArr}}" wx:key="idx" wx:for-index="index">
|
|
|
<view class="add_box1" wx:if="{{item==undefined}}" bindtap="addBrand" data-index="{{index}}">
|
|
|
<view class="heng1"></view>
|
|
|
<view class="shu1"></view>
|
|
|
<view class="event1">添加品牌{{ tempLate[index]}}</view>
|
|
|
</view>
|
|
|
<view class="del_box" wx:else>
|
|
|
<view class="del" bindtap="del" data-index="{{index}}">
|
|
|
<text style="font-size: 24rpx;display: inline-block;margin-left: 64rpx;">×</text>
|
|
|
<text style="font-size: 24rpx;font-weight: 100;"> 删除</text>
|
|
|
</view>
|
|
|
<view class="brand_img_box">
|
|
|
<image src="{{item.img}}" style="width:100%;" mode="widthFix" lazy-load="{{true}}"></image>
|
|
|
</view>
|
|
|
<view class="car_barnd">{{item.brandname}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="event_recom1">
|
|
|
<van-tabs class="view-tabs" active="{{ tabActive }}" bind:change="changeTab" swipe-threshold="3">
|
|
|
<van-tab title="概括" wx:key="0"></van-tab>
|
|
|
<van-tab title="微博对比" wx:key="1"></van-tab>
|
|
|
<van-tab title="论坛对比" wx:key="2"></van-tab>
|
|
|
<van-tab title="尾翼对比" wx:key="3"></van-tab>
|
|
|
</van-tabs>
|
|
|
<view class="content_box" wx:if="{{sonCom}}">
|
|
|
<survey wx:if="{{tabActive==0}}"></survey>
|
|
|
<weibo wx:if="{{tabActive==1}}"></weibo>
|
|
|
<bbs wx:if="{{tabActive==2}}"></bbs>
|
|
|
<thetail wx:if="{{tabActive==3}}"></thetail>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
<van-popup show="{{ popupShow }}" bind:close="popupClose" position="bottom" custom-style="height: 80%;">
|
|
|
<van-checkbox-group value="{{ result }}" bind:change="onChange">
|
|
|
<van-index-bar sticky="{{false}}" index-list="{{ [] }}">
|
|
|
<view wx:for="{{mockData}}" wx:key="idx">
|
|
|
<van-index-anchor index="{{item.name}}" />
|
|
|
<view class="my_cell" wx:for="{{item.data}}" wx:key="idx" wx:for-item="item2">
|
|
|
<van-checkbox name="{{filter.stringify(item2)}}" shape="square"></van-checkbox>
|
|
|
<view class="imgBox"
|
|
|
style="display: inline-block;height: 96rpx;width: 96rpx; margin-left: 48rpx;">
|
|
|
<image src="{{item2.img}}" style="width:96rpx;" mode="widthFix" lazy-load="{{true}}">
|
|
|
</image>
|
|
|
</view>
|
|
|
<text>{{item2.brandname}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</van-index-bar>
|
|
|
</van-checkbox-group>
|
|
|
</van-popup>
|
|
|
<van-dialog id="van-dialog" />
|