wylyl22 3 years ago
parent 6642875d34
commit b9a8d2fd33

@ -7,7 +7,10 @@
</view>
<view class="brand">
<view class="text">正面词云</view>
<view>
<word-cloud class="wordtext" list="{{words}}" width="680rpx" height="130" ></word-cloud>
</view>
</view>
<view class="brand">

@ -3,66 +3,8 @@ Component({
data: {
imageUrl: getApp().globalData.imageUrl,
bgImage: "background-image: url("+ getApp().globalData.imageUrl + "/sj_beijin.png)",
questes:[],
// [
// {
// tip: '比亚迪宋MAX紧凑型mpv你看了不...',
// title: '72.45',
// subtitle: '媒体测评',
// },
// {
// tip: '今日上市长城SUV',
// title: '72.45',
// subtitle: '媒体测评',
// },
// {
// tip: '子龙来也捷途X90子龙',
// title: '72.45',
// subtitle: '媒体测评',
// },
// {
// tip: '全新一代蒙迪欧亮相',
// title: '72.45',
// subtitle: '媒体测评',
// },
// {
// tip: '新款比亚迪汉DM-i即将上市',
// title: '72.45',
// subtitle: '媒体测评',
// },
// {
// tip: '全新一代蒙迪欧亮相',
// title: '72.45',
// subtitle: '媒体测评',
// }
// ],
// content:[
// {
// time: '2022-04-29 23:00:00',
// title: '谁说国产没有高性能SUV这3款国产SUV配2.0T发动机星途凌云换个运动轮胎妥妥的6秒3最快6...',
// author: '明哥飞扬',
// media:'新浪微博'
// },
// {
// time: '2022-04-29 23:00:00',
// title: '星途凌云S上市传播分析评论中毒 奇瑞车为何如此招黑?',
// author: '明哥飞扬',
// media:'新浪微博'
// },
// {
// time: '2022-04-29 23:00:00',
// title: 'MG5天蝎座上市传播分析评论区疑似闹“水灾',
// author: '明哥飞扬',
// media:'新浪微博'
// },
// {
// time: '2022-04-29 23:00:00',
// title: '谁说国产没有高性能SUV这3款国产SUV配2.0T发动机星途凌云换个运动轮胎妥妥的6秒3最快6...',
// author: '明哥飞扬',
// media:'新浪微博'
// },
// ]
questes:[],
// content:[]
},
lifetimes: {
@ -72,45 +14,25 @@ Component({
res.forEach(ele => {
let obj = {
title: ele.events_title,
num: ele.events_influence,
influence: ele.events_influence,
brand:ele.events_brand,
text:ele.summary,
time:ele.minSourcetime,
count:ele.events_count,
}
arr.push(obj)
})
this.setData({
// countYear: data.count_year,
// count6month: data.count_6month,
// countAll: data.count_all,
questes: arr
})
questes: arr,
})
})
},
},
methods: {
priceSel(e){
this.setData({
intervalSel: e.currentTarget.dataset.index
})
},
getdata(){
wx.request({
url: 'http://cloud.sws010.com/api/v7.ashx',
method:'post',
success:(res)=>{
console.log(res)
this.setData({
questes:res.data
})
},
})
}
}
})

@ -7,7 +7,7 @@
<view class="event_text">
<view class="text_title">{{item.title}}
</view>
<view class="text_num">{{item.num}}
<view class="text_num">{{item.influence}}
</view>
</view>
<view class="event_text">
@ -19,16 +19,16 @@
</view>
</view>
<view class="content" wx:for="{{questes}}" wx:key="index" data-quest='{{item}}' >
<view class="content" wx:for="{{questes}}" wx:if="{{index > 5}}" wx:key="index" data-quest='{{item}}' >
<view class="content_event">
<view class="content_pinpai">{{item.time}}
</view>
<view class="content_title">{{item.text}}
</view>
<view class="content_text">
<view class="content_pinpai">作者:{{item.author}}
<view class="content_pinpai">影响力: {{item.influence}}
</view>
<view class="content_pinpai">媒体:{{item.media}}
<view class="content_pinpai">传播值: {{item.count}}
</view>
</view>
</view>

@ -7,7 +7,7 @@ const dataList=[
{ value: 3307418, name: "男性" ,color:'#FFBF00'},
]
const dRegion=['四川', '广东', '浙江', '北京','江西',]
const dValue=[30, 40, 66, 10,30]
const dValue=[100, 40, 66, 10,30]
Component({
data: {
dataList:dataList,

@ -32,7 +32,7 @@
<view class="text">认证</view>
<view class="statistical">
<view class="annotation">
<c-echars showChart="{{showChart}}" canvasId="modelbar-canvas" chartId="modelbar" chartOption="{{sexOption}}" height="100%"></c-echars>
<c-echars showChart="{{showChart}}" canvasId="modelbar-canvas" chartId="modelbar" chartOption="{{sexOption}}" height="100%"></c-echars>
</view>
<view>
<view wx:for="{{dataList}}" wx:key="item" style="display: flex; justify-content:space-between;">

@ -4,7 +4,7 @@
<view class="brand">
<view class="text">品牌传播声量</view>
<view class="brand_tu">
<c-echars showChart="{{showChart}}" canvasId="brandbar-canvas" chartId="brandbar" chartOption="{{brandOption}}" width="680rpx" height="100%"></c-echars>
<c-echars showChart="{{showChart}}" canvasId="brandbar-canvas" chartId="brandbar" chartOption="{{brandOption}}" width="680rpx" height="100%" ></c-echars>
</view>
</view>
<view class="brand">

@ -60,5 +60,5 @@
]
}
},
"libVersion": "2.23.4"
"libVersion": "2.25.0"
}
Loading…
Cancel
Save