xiaowen 3 years ago
commit 46f5e67da9

@ -45,7 +45,7 @@
</view>
<view class="chart_box">
<view class="chart_title">论坛调性对比</view>
<view class="table">
<view class="table" style="height: 100%;">
<c-echars showChart="{{showChart}}" canvasId="brandbar-canvas" chartId="brandbar" chartOption="{{stackOption}}" height="100%"></c-echars>
</view>
</view>

@ -72,8 +72,9 @@ Page({
},
del(e) {
let filter = this.data.result.filter(ele=>{
return ele!= null
return ele!= "null"
})
console.log(filter);
if(filter.length==2){
Dialog.alert({
message: '至少需要两个品牌才可以对比哦!',

@ -213,7 +213,7 @@ Component({
}
//横轴,数据,纵轴
this.setData({
brandOption4: sHistogram(xMsg, data, sBrand, [])
brandOption4: sHistogram(xMsg, data, sBrand, dColor)
})
})
//品牌传播TOP媒体

@ -55,46 +55,46 @@
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[0].key}}</view>
<view class="rank_list">
<view class="ranking">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 272rpx;">传播量</view>
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[0].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
<view class="henxian"></view>
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[1].key}}</view>
<view class="rank_list">
<view class="ranking" wx:if="{{brandTop[1].key}}">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 272rpx;">传播量</view>
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[1].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="S">
<view wx:if="{{index==0}}">
<view class="ranking_cell" wx:for="{{brandTop[1].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
</view>

@ -38,6 +38,8 @@
margin-top: 16rpx;
}
.ranking{
display: flex;
justify-content: space-between;
font-size: 12px;
font-weight: 400;
color: #999999;

@ -20,46 +20,46 @@
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[0].key}}</view>
<view class="rank_list">
<view class="ranking">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 272rpx;">传播量</view>
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[0].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
<view class="henxian"></view>
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[1].key}}</view>
<view class="rank_list">
<view class="ranking" wx:if="{{brandTop[1].key}}">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 272rpx;">传播量</view>
<view class="ranking">
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[1].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="S">
<view wx:if="{{index==0}}">
<view class="ranking_cell" wx:for="{{brandTop[1].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
</view>

@ -38,6 +38,8 @@
margin-top: 16rpx;
}
.ranking{
display: flex;
justify-content: space-between;
font-size: 12px;
font-weight: 400;
color: #999999;

@ -40,46 +40,46 @@
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[0].Name}}</view>
<view class="rank_list">
<view class="ranking">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 272rpx;">传播量</view>
<view style="width: 33%;">排名</view>
<view style="width: 33%;">内容</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[0].Data}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
<view class="henxian"></view>
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[1].Name}}</view>
<view class="rank_list">
<view class="ranking" wx:if="{{brandTop[1].key}}">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 272rpx;">传播量</view>
<view class="ranking">
<view style="width: 33%;">排名</view>
<view style="width: 33%;">内容</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[1].Data}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="S">
<view wx:if="{{index==0}}">
<view class="ranking_cell" wx:for="{{brandTop[1].Data}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
</view>

@ -38,6 +38,8 @@
margin-top: 16rpx;
}
.ranking{
display: flex;
justify-content: space-between;
font-size: 12px;
font-weight: 400;
color: #999999;

@ -55,46 +55,46 @@
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[0].key}}</view>
<view class="rank_list">
<view class="ranking">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 272rpx;">传播量</view>
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[0].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
<view class="henxian"></view>
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[1].key}}</view>
<view class="rank_list">
<view class="ranking" wx:if="{{brandTop[1].key}}">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 272rpx;">传播量</view>
<view class="ranking">
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[1].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="S">
<view wx:if="{{index==0}}">
<view class="ranking_cell" wx:for="{{brandTop[1].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
</view>

@ -38,6 +38,8 @@
margin-top: 16rpx;
}
.ranking{
display: flex;
justify-content: space-between;
font-size: 12px;
font-weight: 400;
color: #999999;

@ -20,46 +20,46 @@
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[0].key}}</view>
<view class="rank_list">
<view class="ranking">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 272rpx;">传播量</view>
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[0].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
<view class="henxian"></view>
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[1].key}}</view>
<view class="rank_list">
<view class="ranking" wx:if="{{brandTop[1].key}}">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 272rpx;">传播量</view>
<view class="ranking">
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[1].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="S">
<view wx:if="{{index==0}}">
<view class="ranking_cell" wx:for="{{brandTop[1].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
</view>

@ -38,6 +38,8 @@
margin-top: 16rpx;
}
.ranking{
display: flex;
justify-content: space-between;
font-size: 12px;
font-weight: 400;
color: #999999;

@ -40,46 +40,46 @@
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[0].Name}}</view>
<view class="rank_list">
<view class="ranking">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 272rpx;">传播量</view>
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[0].Data}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
<view class="henxian"></view>
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[1].Name}}</view>
<view class="rank_list">
<view class="ranking" wx:if="{{brandTop[1].key}}">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 272rpx;">传播量</view>
<view class="ranking">
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[1].Data}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="S">
<view wx:if="{{index==0}}">
<view class="ranking_cell" wx:for="{{brandTop[1].Data}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
</view>

@ -38,6 +38,8 @@
margin-top: 16rpx;
}
.ranking{
display: flex;
justify-content: space-between;
font-size: 12px;
font-weight: 400;
color: #999999;

@ -89,46 +89,46 @@
<view style="font-size:32rpx;margin-left:30rpx;margin-top: 15rpx;">事件一</view>
<view class="rank_list">
<view class="ranking">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">媒体</view>
<view style=" display: inline-block;margin-left: 252rpx;">传播量</view>
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{eventSpreadTop[0].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
<view class="henxian"></view>
<view style="font-size:32rpx;margin-left:30rpx;margin-top: 15rpx;">事件二</view>
<view class="rank_list">
<view class="ranking" wx:if="{{eventSpreadTop[1].key}}">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">媒体</view>
<view style=" display: inline-block;margin-left: 252rpx;">传播量</view>
<view class="ranking">
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{eventSpreadTop[1].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="S">
<view wx:if="{{index==0}}">
<view class="ranking_cell" wx:for="{{eventSpreadTop[1].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
</view>

@ -44,6 +44,8 @@
margin-top: 16rpx;
}
.ranking{
display: flex;
justify-content: space-between;
font-size: 12px;
font-weight: 400;
color: #999999;

@ -12,46 +12,46 @@
<view style="font-size:32rpx;margin-left:30rpx;">事件一</view>
<view class="rank_list">
<view class="ranking">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 250rpx;">传播量</view>
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[0].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
<view class="henxian"></view>
<view style="font-size:32rpx;margin-left:30rpx;">事件二</view>
<view class="rank_list">
<view class="ranking" wx:if="{{brandTop[1].key}}">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 250rpx;">传播量</view>
<view class="ranking">
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[1].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="S">
<view wx:if="{{index==0}}">
<view class="ranking_cell" wx:for="{{brandTop[1].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
</view>

@ -38,6 +38,8 @@
margin-top: 16rpx;
}
.ranking{
display: flex;
justify-content: space-between;
font-size: 12px;
font-weight: 400;
color: #999999;

@ -55,46 +55,46 @@
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[0].themeName}}</view>
<view class="rank_list">
<view class="ranking">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">媒体</view>
<view style=" display: inline-block;margin-left: 250rpx;">传播量</view>
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[0].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
<view class="henxian"></view>
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[1].themeName}}</view>
<view class="rank_list">
<view class="ranking" wx:if="{{brandTop[1].key}}">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">媒体</view>
<view style=" display: inline-block;margin-left: 250rpx;">传播量</view>
<view class="ranking">
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[1].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="S">
<view wx:if="{{index==0}}">
<view class="ranking_cell" wx:for="{{brandTop[1].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
</view>

@ -38,6 +38,8 @@
margin-top: 16rpx;
}
.ranking{
display: flex;
justify-content: space-between;
font-size: 12px;
font-weight: 400;
color: #999999;

@ -26,46 +26,46 @@
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[0].key}}</view>
<view class="rank_list">
<view class="ranking">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 272rpx;">传播量</view>
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[0].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
<view class="henxian"></view>
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[1].key}}</view>
<view class="rank_list">
<view class="ranking" wx:if="{{brandTop[1].key}}">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 272rpx;">传播量</view>
<view class="ranking">
<view style="width: 33%;">排名</view>
<view style="width: 33%;">媒体</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[1].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="S">
<view wx:if="{{index==0}}">
<view class="ranking_cell" wx:for="{{brandTop[1].value}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
</view>

@ -39,6 +39,8 @@
min-height: 544rpx;
}
.ranking{
display: flex;
justify-content: space-between;
font-size: 12px;
font-weight: 400;
color: #999999;

@ -40,46 +40,46 @@
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[0].themeName}}</view>
<view class="rank_list">
<view class="ranking">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 272rpx;">传播量</view>
<view style="width: 33%;">排名</view>
<view style="width: 33%;">内容</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[0].Data}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
<view class="henxian"></view>
<view style="font-size:32rpx;margin-left:30rpx;">{{brandTop[1].themeName}}</view>
<view class="rank_list">
<view class="ranking" wx:if="{{brandTop[1].key}}">
<view style=" display: inline-block;">排名</view>
<view style=" display: inline-block;margin-left: 172rpx;">车型</view>
<view style=" display: inline-block;margin-left: 272rpx;">传播量</view>
<view class="ranking">
<view style="width: 33%;">排名</view>
<view style="width: 33%;">内容</view>
<view style="width: 33%;text-align: center;">传播量</view>
</view>
<view class="ranking_cell" wx:for="{{brandTop[1].Data}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="S">
<view wx:if="{{index==0}}">
<view class="ranking_cell" wx:for="{{brandTop[1].Data}}" wx:for-item="item" wx:if="{{index>=0 && index<=4}}" wx:key="V">
<view wx:if="{{index==0}}" style="width: 33%;">
<image src="{{imageUrl}}/img_diyi.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==1}}">
<view wx:elif="{{index==1}}" style="width: 33%;">
<image src="{{imageUrl}}/img_dier.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:elif="{{index==2}}">
<view wx:elif="{{index==2}}" style="width: 33%;">
<image src="{{imageUrl}}/img_disan.png" style="height:46rpx;width:53rpx;"></image>
</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 52rpx;">{{"0"+(index+1)}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 112rpx;margin-left: 166rpx; font-weight: bolder;">{{item.key}}</view>
<view style=" display: inline-block;font-size: 28rpx;width: 94rpx;margin-left: 194rpx;color: #0084ff;font-weight: bolder;">{{item.value}}</view>
<view wx:else style="font-size: 28rpx;color: #999999;font-weight: bolder;width: 33%;">{{"0"+(index+1)}}</view>
<view style=" width: 33%;font-size: 28rpx;font-weight: bolder;">{{item.key}}</view>
<view style=" width: 33%;font-size: 28rpx;color: #0084ff;font-weight: bolder;text-align: center;">{{item.value}}</view>
</view>
</view>
</view>

@ -38,6 +38,8 @@
margin-top: 16rpx;
}
.ranking{
display: flex;
justify-content: space-between;
font-size: 12px;
font-weight: 400;
color: #999999;

@ -64,6 +64,9 @@ Component({
attached() {
//页面数据
// this.getOpenID()
wx.showLoading({
title: '数据载入中....',
})
app.globalData.request({
action: 'getUserBrand',
token: wx.getStorageSync('token'),
@ -86,6 +89,9 @@ Component({
mockData: arr
})
})
},
ready(){
wx.hideLoading()
}
},
})

@ -1,6 +1,6 @@
<van-dialog id="van-dialog" />
<wxs src="./filter.wxs" module="filter"></wxs>
<view class="box">
<view class="box" id="box">
<view class="add1">
<scroll-view scroll-x="true" style=" white-space: nowrap; display: flex">
<view style="display: inline-block;" wx:for="{{boxArr}}" wx:key="idx" wx:for-index="index">

@ -95,7 +95,9 @@ Component({
lifetimes: {
attached() {
//页面数据
// this.getOpenID()
wx.showLoading({
title: '数据载入中....',
})
app.globalData.request({
action: 'getUserBrand',
token: 't%2BrswgjvzGM=',
@ -118,6 +120,9 @@ Component({
mockData: arr
})
})
},
ready(){
wx.hideLoading()
}
},
})
Loading…
Cancel
Save