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.
51 lines
3.2 KiB
51 lines
3.2 KiB
<view>
|
|
<view class="top-brand-switch">
|
|
<time-custom bind:change="changeTime"></time-custom>
|
|
<view class="switch-container">
|
|
<van-row>
|
|
<van-col class="tab-btn" bindtap="goBack" span="8"><van-icon name="exchange" /> 切换车型</van-col>
|
|
<van-col bindtap="toDataList" class="tab-btn" span="8"><van-icon name="description" /> 数据列表</van-col>
|
|
<van-col bindtap="createReport" class="tab-btn" span="8"><van-icon name="back-top" /> 生成报告</van-col>
|
|
</van-row>
|
|
<van-divider custom-style="background: linear-gradient(117deg, rgba(245,245,245,0) 0%, #EEEEEE 50%, rgba(232,232,232,0) 100%);" hairline />
|
|
<view class="switch-middle" style="margin-left: 24rpx;">
|
|
<van-image round src=""></van-image>
|
|
<view class="brand-number">
|
|
<view>{{currentSeries}}</view>
|
|
<view>
|
|
<text style="font-size: 13px;font-weight: 400;color: rgba(255,255,255,0.6000);"> 数据总量</text>
|
|
<text style="margin-left: 12rpx;">{{totalCount}}</text>
|
|
<text style="margin-left: 24rpx;font-size: 13px;font-weight: 400;color: rgba(255,255,255,0.6000);"> 品牌占比</text>
|
|
<text style="margin-left: 12rpx;">{{percent}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<van-divider custom-style="background: linear-gradient(117deg, rgba(245,245,245,0) 0%, #EEEEEE 50%, rgba(232,232,232,0) 100%);" hairline />
|
|
<van-row>
|
|
<van-col class="tab-btn" span="8">
|
|
<text style="font-size: 12px;font-weight: 400;color: rgba(255,255,255,0.6000);">正面调性</text><text class="brand-number"> {{affData.positive || 0}}%</text>
|
|
</van-col>
|
|
<van-col class="tab-btn" span="8">
|
|
<text style="font-size: 12px;font-weight: 400;color: rgba(255,255,255,0.6000);">负面调性</text><text class="brand-number"> {{affData.negative || 0}}%</text>
|
|
</van-col>
|
|
<van-col class="tab-btn" span="8">
|
|
<text style="font-size: 12px;font-weight: 400;color: rgba(255,255,255,0.6000);">中性调性</text><text class="brand-number"> {{affData.middle || 0}}%</text>
|
|
</van-col>
|
|
</van-row>
|
|
</view>
|
|
</view>
|
|
<view class="bottom-view">
|
|
<van-tabs class="view-tabs" active="{{ tabActive }}" bind:change="changeTab" swipe-threshold="3">
|
|
<van-tab title="概括"></van-tab>
|
|
<van-tab title="微博洞察"></van-tab>
|
|
<van-tab title="论坛洞察"></van-tab>
|
|
<van-tab title="尾翼洞察"></van-tab>
|
|
<van-tab title="事件洞察"></van-tab>
|
|
</van-tabs>
|
|
<total-review wx:if="{{compShow && tabActive == 0}}"></total-review>
|
|
<weibo-insight wx:if="{{compShow && tabActive == 1}}"></weibo-insight>
|
|
<tutor-insight wx:if="{{compShow && tabActive == 2}}"></tutor-insight>
|
|
<tail-insight wx:if="{{compShow && tabActive == 3}}"></tail-insight>
|
|
<event-insight wx:if="{{compShow && tabActive == 4}}"></event-insight>
|
|
</view>
|
|
</view> |