|
|
<wxs src="./filter.wxs" module="filter"></wxs>
|
|
|
<view class="box">
|
|
|
<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="addcarModels" 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%;height: 80rpx;" mode="scaleToFill" lazy-load="{{true}}"></image>
|
|
|
</view>
|
|
|
<view class="car_barnd">{{item.name}}</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-index-bar sticky="{{false}}" index-list="{{ [] }}">
|
|
|
<view wx:for="{{mockData}}" wx:key="idx">
|
|
|
<van-index-anchor index="{{item.name}}" />
|
|
|
<van-cell wx:for="{{item.data}}" wx:for-item="it" wx:key="brandname" clickable data-id="{{it.brandname}}" bind:click="modalChoose">
|
|
|
<view slot="title" class="cell-item">
|
|
|
<image slot="icon" style="width:96rpx;margin-right: 48rpx;" mode="widthFix" src="{{it.img}}" />
|
|
|
<text>{{it.brandname}}</text>
|
|
|
</view>
|
|
|
</van-cell>
|
|
|
</view>
|
|
|
</van-index-bar>
|
|
|
</van-popup>
|
|
|
<van-popup show="{{popupShow2}}" custom-style="height: 100%;width: 65%;padding-bottom: 80rpx" position="right" bind:close="onClose2">
|
|
|
<van-checkbox-group value="{{ result }}" bind:change="onChange">
|
|
|
<van-cell label="{{currentBrand}}"></van-cell>
|
|
|
<van-cell clickable bind:click="toModalInsight" wx:for="{{modalList}}" wx:key="name" data-id="{{item.name}}">
|
|
|
<view title='slot'>
|
|
|
<van-checkbox name="{{filter.stringify(item)}}" shape="square">
|
|
|
{{item.name}}
|
|
|
<!-- <view style="display: inline-block;">{{item.name}}</view> -->
|
|
|
</van-checkbox>
|
|
|
</view>
|
|
|
</van-cell>
|
|
|
</van-checkbox-group>
|
|
|
|
|
|
</van-popup>
|
|
|
<van-dialog id="van-dialog" />
|