You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.6 KiB

<view class="box">
<view class="add">
3 years ago
<view wx:for="{{boxArr}}" wx:key="events_id">
<view class="add_box" bindtap="add" wx:if="{{item == undefined }}" data-index="{{index}}">
<view class="heng"></view>
<view class="shu"></view>
<view class="event">添加事件一</view>
</view>
<view class="del_box" wx:else>
3 years ago
<view class="del_top" bindtap="onSwitch" data-index="{{index}}">
3 years ago
<view style="text-align: center;">
<van-icon name="sort" size="12px" color="white" />
<text style="font-size: 24rpx; color: rgba(255, 255, 255, 1);">切换</text>
</view>
</view>
<view class="del_title">
{{item.events_title}}
</view>
<view class="del_foot">
<text>事件</text>
<text>{{item.events_type}}</text>
</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-tabs>
<view class="content_box" wx:if="{{sonCom}}">
<survey wx:if="{{tabActive==0}}"></survey>
<weibo wx:if="{{tabActive==1}}"></weibo>
<thetail wx:if="{{tabActive==2}}"></thetail>
</view>
</view>
</view>