wylyl22 3 years ago
parent 3bed74ec55
commit fe5d45ac03

@ -1,8 +1,9 @@
const app = getApp();
import totallist from "./dataConfig/totallist"
import dataOption from "./dataConfig/dataOption"
import dataOption from "../../option/dataOption"
Component({
data: {
// totallist:totallist,
imageUrl: getApp().globalData.imageUrl,
active:0,
countYear: 0,
@ -20,7 +21,7 @@ Component({
const data = res;
const sourcetypeCount = data.sourcetypeCount || [];
const arr = []
const imgObj = {'微博': '/weibo.png', '微信': '/weixin.png', 'APP': '/app.png', '论坛': '/luntan.png', '新闻': '/xinwen.png', '其他': '/qita.png'}
const imgObj = {'微博': '/weibo.png', '微信': '/weixin.png', 'APP': '/app.png', '论坛': '/luntan.png', '新闻': '/xinwen.png', '其他': '/qita.png','短视频数据':'/shipin.png'}
arr.push({
num: data.count,
text: '入库数据',

@ -6,7 +6,6 @@ Component({
showChart: true,
brandOption: {
tooltip: {
trigger: 'axis',
axisPointer: { // 坐标轴指示器,坐标轴触发有效

@ -0,0 +1,3 @@
export default function brandOption(params) {
}

@ -1,11 +1,13 @@
export default {
tooltip: {
export default {
tooltip: {
trigger: 'axis',
axisPointer: { // 坐标轴指示器,坐标轴触发有效
type: 'line' // 默认为直线,可选为:'line' | 'shadow'
},
confine: true
},
legend: {
icon: 'rectangle',//data图标样式
itemWidth: 8,//data图标大小
Loading…
Cancel
Save