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.

88 lines
4.4 KiB

<view class="top_box">
<view class="top-title">
<view style="width: 45%;">论坛信息</view>
<view style="width:50%;margin-right: 32rpx;">
<van-tabs type="card" active="{{ bbsInfoAction }}" color="#BBBBBB" bind:change="bbsChange">
<van-tab title="组一"></van-tab>
<van-tab title="组二" wx:if="{{bbsInfoData.length>2}}"></van-tab>
<van-tab title="组三" wx:if="{{bbsInfoData.length>4}}"></van-tab>
</van-tabs>
</view>
</view>
<view class="info_box" wx:for="{{bbsInfo}}" wx:key="key">
<view class="info_left">
<view style="font-size:32rpx">{{item.key || '无'}}</view>
<view style="font-size:24rpx;color: rgba(153, 153, 153, 1);">品牌名称</view>
</view>
<view class="info_right">
<view class="list_box">
<view style="font-size:24rpx;color: rgba(153, 153, 153, 1);">论坛信息量</view>
<view style="font-size:28rpx;color: rgba(51, 51, 51, 1);">{{item.Count|| '0'}}</view>
</view>
<view class="list_box" style="text-align: right;">
<view style="font-size:24rpx;color: rgba(153, 153, 153, 1);">互动人数</view>
<view style="font-size:28rpx;color: rgba(51, 51, 51, 1);">{{item.interactCount || '0'}}</view>
</view>
<view class="list_box">
<view style="font-size:24rpx;color: rgba(153, 153, 153, 1);">论坛主贴量</view>
<view style="font-size:28rpx;color: rgba(51, 51, 51, 1);">{{item.zhutieCount || '0'}}</view>
</view>
<view class="list_box" style="text-align: right;">
<view style="font-size:24rpx;color: rgba(153, 153, 153, 1);">论坛品论量</view>
<view style="font-size:28rpx;color: rgba(51, 51, 51, 1);">{{item.commentsSum || '0'}}</view>
</view>
</view>
</view>
</view>
<view class="chart_box">
<view class="chart_title">论坛发帖趋势对比</view>
<view class="table">
<c-echars showChart="{{showChart}}" canvasId="brandbar-canvas" chartId="brandbar" chartOption="{{transformOption2}}" height="100%"></c-echars>
</view>
</view>
<view class="chart_box">
<view class="chart_title">论坛调性对比</view>
<view class="table" style="height: 100%;">
<c-echars showChart="{{showChart}}" canvasId="brandbar-canvas" chartId="brandbar" chartOption="{{stackOption}}" height="100%"></c-echars>
</view>
</view>
<view class="area_box">
<view class="top-title">
<view style="width: 45%;">论坛正面话题对比</view>
<view style="width:50%;margin-right: 32rpx; ">
<van-tabs type="card" active="{{ positiveActive }}" color="#BBBBBB" bind:change="positiveChange">
<van-tab title="组一"></van-tab>
<van-tab title="组二" wx:if="{{bbsInfoData.length>2}}"></van-tab>
<van-tab title="组三" wx:if="{{bbsInfoData.length>4}}"></van-tab>
</van-tabs>
</view>
</view>
<view wx:for="{{positive}}" wx:key="{{item.name}}">
<view style="margin:10px 32rpx 0 32rpx">{{item.name}}</view>
<view style="width:686rpx;height:486rpx;margin-top: -50px;">
<c-echars showChart="{{showChart}}" canvasId="region-canvas1" chartId="regionbar1" chartOption="{{item.func}}" height="100%"></c-echars>
</view>
</view>
</view>
<view class="area_box">
<view class="top-title">
<view style="width: 45%;">论坛负面话题对比</view>
<view style="width:50%;margin-right: 32rpx;">
<van-tabs type="card" active="{{ negativeActive }}" color="#BBBBBB" bind:change="negativeChange">
<van-tab title="组一"></van-tab>
<van-tab title="组二" wx:if="{{bbsInfoData.length>2}}"></van-tab>
<van-tab title="组三" wx:if="{{bbsInfoData.length>4}}"></van-tab>
</van-tabs>
</view>
</view>
<view wx:for="{{negative}}" wx:key="{{item.name}}">
<view style="margin:10px 32rpx 0 32rpx">{{item.name}}</view>
<view style="width:686rpx;height:486rpx;margin-top: -50px;">
<c-echars showChart="{{showChart}}" canvasId="region-canvas1" chartId="regionbar1" chartOption="{{item.func}}" height="100%"></c-echars>
</view>
</view>
</view>