From 1cc7a8d909cf97f33bad9f733ba98525e84d9946 Mon Sep 17 00:00:00 2001 From: zx <604444282@qq.com> Date: Fri, 2 Sep 2022 16:38:56 +0800 Subject: [PATCH] zx --- app.js | 33 ++++++++++++ .../pages/brandInsight/TailInsight/index.js | 12 +++++ .../pages/brandInsight/TailInsight/index.wxml | 2 +- .../pages/brandInsight/TailInsight/index.wxss | 3 ++ pages/insight/pages/brandInsight/index.js | 16 +++--- .../pages/brandInsight/weiboInsight/index.js | 32 +++++++++++- .../brandInsight/weiboInsight/index.wxml | 16 +++--- .../brandInsight/weiboInsight/index.wxss | 7 ++- .../pages/eventInsight/evTotal/index.js | 50 ++++++++++-------- .../pages/eventInsight/evTotal/index.wxml | 13 ++++- .../pages/eventInsight/evWeibo/index.js | 12 +++++ .../pages/eventInsight/evWeibo/index.wxml | 4 +- .../pages/eventInsight/evWeibo/index.wxss | 3 ++ pages/insight/pages/eventInsight/index.wxml | 1 - .../pages/modalInsight/TutorInsight/index.js | 12 +++++ .../modalInsight/TutorInsight/index.wxml | 8 +-- .../modalInsight/TutorInsight/index.wxss | 3 ++ pages/insight/pages/modalInsight/index.js | 18 ++++--- pages/insight/pages/modalInsight/index.wxml | 6 +-- .../pages/modalInsight/weiboInsight/index.js | 29 +++++++++++ .../modalInsight/weiboInsight/index.wxml | 6 +-- .../modalInsight/weiboInsight/index.wxss | 3 ++ pages/insight/pages/themeBoard/index.js | 12 +++++ pages/insight/pages/themeBoard/index.wxml | 12 ++--- pages/insight/pages/themeBoard/index.wxss | 3 ++ pages/insight/pages/themeList/index.js | 51 ++++++++++++++++--- pages/insight/pages/themeList/index.wxml | 39 ++++++++++---- pages/insight/themeChild/index.wxss | 2 +- 28 files changed, 320 insertions(+), 88 deletions(-) diff --git a/app.js b/app.js index 19c1bb9..c055ec3 100644 --- a/app.js +++ b/app.js @@ -7,6 +7,39 @@ function splitQueryParams(params) { } return tempParams.join("&"); } +! function () { + //获取页面配置并进行页面分享配置 + var PageTmp = Page + Page = function (pageConfig) { + //1. 获取当前页面路由 + let routerUrl = "" + wx.onAppRoute(function (res) { + //app.js中需要在隐式路由中才能用getCurrentPages()获取到页面路由 + let pages = getCurrentPages(), + view = pages[pages.length - 1]; + routerUrl = view.route + }) + + //2. 全局开启分享配置 + pageConfig = Object.assign({ + onShareAppMessage: function () { + //根据不同路由设置不同分享内容(微信小程序分享自带参数,如非特例,不需配置分享路径) + let shareInfo={} + let noGlobalSharePages=["index/index"] + //全局分享配置,如部分页面需要页面默认分享或自定义分享可以单独判断处理 + if (!routerUrl.includes(noGlobalSharePages)){ + shareInfo = { + title: "硕为思汽车智能洞察", + // imageUrl: wx.getStorageSync("shareUrl") + } + } + return shareInfo + } + }, pageConfig); + // 配置页面模板 + PageTmp(pageConfig); + } +}(); App({ onLaunch: function () { // 展示本地存储能力 diff --git a/pages/insight/pages/brandInsight/TailInsight/index.js b/pages/insight/pages/brandInsight/TailInsight/index.js index 5fce9d6..e4738b7 100644 --- a/pages/insight/pages/brandInsight/TailInsight/index.js +++ b/pages/insight/pages/brandInsight/TailInsight/index.js @@ -17,6 +17,18 @@ Component({ wlvl: 36, wShow: false, wordCloudData: [], + pieColor: [ + 'background: rgb(244,72,85)', + 'background: rgb(245,109,47)', + 'background: rgb(248,189,32)', + 'background: rgb(75,203,100)', + 'background: rgb(75,214,213)', + 'background: rgb(244,72,85)', + 'background: rgb(245,109,47)', + 'background: rgb(248,189,32)', + 'background: rgb(75,203,100)', + 'background: rgb(75,214,213)', + ], }, methods: { getData() { diff --git a/pages/insight/pages/brandInsight/TailInsight/index.wxml b/pages/insight/pages/brandInsight/TailInsight/index.wxml index 74c8563..9a9f1e9 100644 --- a/pages/insight/pages/brandInsight/TailInsight/index.wxml +++ b/pages/insight/pages/brandInsight/TailInsight/index.wxml @@ -27,7 +27,7 @@ - + {{item.name}} diff --git a/pages/insight/pages/brandInsight/TailInsight/index.wxss b/pages/insight/pages/brandInsight/TailInsight/index.wxss index 4bdf339..776f45b 100644 --- a/pages/insight/pages/brandInsight/TailInsight/index.wxss +++ b/pages/insight/pages/brandInsight/TailInsight/index.wxss @@ -157,4 +157,7 @@ border-radius: 4rpx; padding: 16px; overflow: hidden; +} +.colorTags { + width: 10px;height: 10px;border-radius: 1px; } \ No newline at end of file diff --git a/pages/insight/pages/brandInsight/index.js b/pages/insight/pages/brandInsight/index.js index 326a90f..519b0b8 100644 --- a/pages/insight/pages/brandInsight/index.js +++ b/pages/insight/pages/brandInsight/index.js @@ -35,14 +35,16 @@ Page({ sBrand: wx.getStorageSync('sBrand') || '', }).then(res => { let total = res.正面*1 + res.中性*1 + res.负面*1 - let obj = { - positive: (res.正面/total*100).toFixed(0), - middle: (res.中性/total*100).toFixed(0), - negative: (res.负面/total*100).toFixed(0) + if(total > 0) { + let obj = { + positive: (res.正面/total*100).toFixed(0), + middle: (res.中性/total*100).toFixed(0), + negative: (res.负面/total*100).toFixed(0) + } + this.setData({ + affData: obj + }) } - this.setData({ - affData: obj - }) }); }, toDataList() { diff --git a/pages/insight/pages/brandInsight/weiboInsight/index.js b/pages/insight/pages/brandInsight/weiboInsight/index.js index a2991a1..2a602f6 100644 --- a/pages/insight/pages/brandInsight/weiboInsight/index.js +++ b/pages/insight/pages/brandInsight/weiboInsight/index.js @@ -9,6 +9,35 @@ const app = getApp(); const dColor=['#FF4852','#FF6E25','#FFBF00','#20CC62','#00D6D6'] Component({ data: { + colorList: [ + 'background: #5470c6', + 'background: #91cc75', + 'background: #fac858', + 'background: #ee6666', + 'background: #73c0de', + 'background: #3ba272', + 'background: #fc8452', + 'background: #9a60b4', + 'background: #ea7ccc', + 'background: #c23531', + 'background: #c23531', + 'background: #61a0a8', + 'background: #d48265', + 'background: #91c7ae', + 'background: #749f83', + ], + pieColor: [ + 'background: rgb(244,72,85)', + 'background: rgb(245,109,47)', + 'background: rgb(248,189,32)', + 'background: rgb(75,203,100)', + 'background: rgb(75,214,213)', + 'background: rgb(244,72,85)', + 'background: rgb(245,109,47)', + 'background: rgb(248,189,32)', + 'background: rgb(75,203,100)', + 'background: rgb(75,214,213)', + ], imageUrl: getApp().globalData.imageUrl, showChart: true, weiboData: {}, @@ -226,7 +255,6 @@ Component({ sEndTime: wx.getStorageSync('sEndTime') || '', sBrand: wx.getStorageSync('sBrand') || '', }).then(res => { - console.log(res) let dName = []; let dPositive = [];let dNegative = []; res.forEach(ele => { dName.push(ele.key); @@ -273,7 +301,7 @@ Component({ let obj = { value: res.attestation[key], name: key, - percent: (res.attestation[key]*100/sexTotal).toFixed(2) + percent: (res.attestation[key]*100/sexTotal).toFixed(0) }; sexArr.push(obj) }; diff --git a/pages/insight/pages/brandInsight/weiboInsight/index.wxml b/pages/insight/pages/brandInsight/weiboInsight/index.wxml index 5cdd927..0869986 100644 --- a/pages/insight/pages/brandInsight/weiboInsight/index.wxml +++ b/pages/insight/pages/brandInsight/weiboInsight/index.wxml @@ -1,7 +1,7 @@ 微博信息 - + 信息总量参与大V总量参与用户数 @@ -20,7 +20,7 @@ 微博传播趋势 - + @@ -31,9 +31,9 @@ - + - + {{item.name}} @@ -55,9 +55,9 @@ - + - + {{item.name}} @@ -88,9 +88,9 @@ - + - + {{item.name}} diff --git a/pages/insight/pages/brandInsight/weiboInsight/index.wxss b/pages/insight/pages/brandInsight/weiboInsight/index.wxss index b6c42c4..c6aed5a 100644 --- a/pages/insight/pages/brandInsight/weiboInsight/index.wxss +++ b/pages/insight/pages/brandInsight/weiboInsight/index.wxss @@ -37,7 +37,7 @@ font-size: 12px; font-weight: 400; color: #999999; - margin: 0rpx 48rpx 0rpx 0rpx; + margin: 0rpx 24rpx 0rpx 30rpx; } .wb-data-number { display: flex; @@ -45,7 +45,7 @@ font-size: 14px; font-weight: 600; color: #333333; - margin: 16rpx 48rpx 16rpx 0rpx; + margin: 16rpx 24rpx 16rpx 30rpx; } .circle-chart { width: 50%; @@ -148,4 +148,7 @@ border-radius: 4rpx; padding: 16px; overflow: hidden; +} +.colorTags { + width: 10px;height: 10px;border-radius: 1px; } \ No newline at end of file diff --git a/pages/insight/pages/eventInsight/evTotal/index.js b/pages/insight/pages/eventInsight/evTotal/index.js index 16420f6..acc716d 100644 --- a/pages/insight/pages/eventInsight/evTotal/index.js +++ b/pages/insight/pages/eventInsight/evTotal/index.js @@ -25,30 +25,11 @@ Component({ //热门词云 wordCloudActive: 0, wordCloudData: [], + eventTransActive: 0, }, methods: { getData() { - app.globalData.request({ - action: 'getSourcetypeTime', //事件传播态势 - token: 't%2BrswgjvzGM=', - sType: 'HotEvent', - sTimeType: wx.getStorageSync('sTimeType') || 34, - sStartTime: wx.getStorageSync('sStartTime') || '', - sEndTime: wx.getStorageSync('sEndTime') || '', - sRele: wx.getStorageSync('sRele') || '', - }).then(res => { - let dx = []; - let dValue = [[],[],[],[],[],[],[]]; - res.forEach(ele => { - dx.push(ele.Time) - for(let i=0;i { + let dx = []; + let dValue = [[],[],[],[],[],[],[]]; + res.forEach(ele => { + dx.push(ele.Time) + for(let i=0;i - 事件传播态势 - + + + 事件传播态势 + + + + + + + + diff --git a/pages/insight/pages/eventInsight/evWeibo/index.js b/pages/insight/pages/eventInsight/evWeibo/index.js index d9c5cf9..649d6a1 100644 --- a/pages/insight/pages/eventInsight/evWeibo/index.js +++ b/pages/insight/pages/eventInsight/evWeibo/index.js @@ -20,6 +20,18 @@ Component({ //kol观点 kolActive: 0, kolData: [], + pieColor: [ + 'background: rgb(244,72,85)', + 'background: rgb(245,109,47)', + 'background: rgb(248,189,32)', + 'background: rgb(75,203,100)', + 'background: rgb(75,214,213)', + 'background: rgb(244,72,85)', + 'background: rgb(245,109,47)', + 'background: rgb(248,189,32)', + 'background: rgb(75,203,100)', + 'background: rgb(75,214,213)', + ], }, methods: { getData() { diff --git a/pages/insight/pages/eventInsight/evWeibo/index.wxml b/pages/insight/pages/eventInsight/evWeibo/index.wxml index 9b2eeb0..5dcaede 100644 --- a/pages/insight/pages/eventInsight/evWeibo/index.wxml +++ b/pages/insight/pages/eventInsight/evWeibo/index.wxml @@ -17,7 +17,7 @@ - + {{item.name}} @@ -41,7 +41,7 @@ - + {{item.name}} diff --git a/pages/insight/pages/eventInsight/evWeibo/index.wxss b/pages/insight/pages/eventInsight/evWeibo/index.wxss index 336c4a5..6393169 100644 --- a/pages/insight/pages/eventInsight/evWeibo/index.wxss +++ b/pages/insight/pages/eventInsight/evWeibo/index.wxss @@ -157,4 +157,7 @@ } .evw-media-item { padding: 24rpx 16rpx 0rpx 32rpx; +} +.colorTags { + width: 10px;height: 10px;border-radius: 1px; } \ No newline at end of file diff --git a/pages/insight/pages/eventInsight/index.wxml b/pages/insight/pages/eventInsight/index.wxml index e111128..9e7ddf8 100644 --- a/pages/insight/pages/eventInsight/index.wxml +++ b/pages/insight/pages/eventInsight/index.wxml @@ -1,6 +1,5 @@ - {{detailData.title}} diff --git a/pages/insight/pages/modalInsight/TutorInsight/index.js b/pages/insight/pages/modalInsight/TutorInsight/index.js index 7620ab8..8e760a8 100644 --- a/pages/insight/pages/modalInsight/TutorInsight/index.js +++ b/pages/insight/pages/modalInsight/TutorInsight/index.js @@ -43,6 +43,18 @@ Component({ // 疑似车黑ID carHaterId: histogram([],[],[],'#20CC62'), idEventChart: histogram([],[],[],'#20CC62'), + pieColor: [ + 'background: rgb(244,72,85)', + 'background: rgb(245,109,47)', + 'background: rgb(248,189,32)', + 'background: rgb(75,203,100)', + 'background: rgb(75,214,213)', + 'background: rgb(244,72,85)', + 'background: rgb(245,109,47)', + 'background: rgb(248,189,32)', + 'background: rgb(75,203,100)', + 'background: rgb(75,214,213)', + ], }, methods: { getData() { diff --git a/pages/insight/pages/modalInsight/TutorInsight/index.wxml b/pages/insight/pages/modalInsight/TutorInsight/index.wxml index 4c68e50..6d1593a 100644 --- a/pages/insight/pages/modalInsight/TutorInsight/index.wxml +++ b/pages/insight/pages/modalInsight/TutorInsight/index.wxml @@ -53,7 +53,7 @@ - + {{item.name}} @@ -83,7 +83,7 @@ - + {{item.name}} @@ -138,7 +138,7 @@ - + {{item.name}} @@ -205,7 +205,7 @@ - + {{item.name}} diff --git a/pages/insight/pages/modalInsight/TutorInsight/index.wxss b/pages/insight/pages/modalInsight/TutorInsight/index.wxss index c06ed7e..3cb1d88 100644 --- a/pages/insight/pages/modalInsight/TutorInsight/index.wxss +++ b/pages/insight/pages/modalInsight/TutorInsight/index.wxss @@ -154,4 +154,7 @@ .rank_num { width: 53rpx; height: 40rpx; +} +.colorTags { + width: 10px;height: 10px;border-radius: 1px; } \ No newline at end of file diff --git a/pages/insight/pages/modalInsight/index.js b/pages/insight/pages/modalInsight/index.js index 566ebe1..971ab32 100644 --- a/pages/insight/pages/modalInsight/index.js +++ b/pages/insight/pages/modalInsight/index.js @@ -48,15 +48,17 @@ Page({ sSeriesName: wx.getStorageSync('sSeriesName') || '', }).then(res => { let total = res.正面*1 + res.中性*1 + res.负面*1 - let obj = { - positive: (res.正面/total*100).toFixed(0), - middle: (res.中性/total*100).toFixed(0), - negative: (res.负面/total*100).toFixed(0) + if(total > 0) { + let obj = { + positive: (res.正面/total*100).toFixed(0), + middle: (res.中性/total*100).toFixed(0), + negative: (res.负面/total*100).toFixed(0) + } + this.setData({ + affData: obj, + totalCount: total + }) } - this.setData({ - affData: obj, - totalCount: total - }) }); }, toDataList() { diff --git a/pages/insight/pages/modalInsight/index.wxml b/pages/insight/pages/modalInsight/index.wxml index cf69357..9ef324c 100644 --- a/pages/insight/pages/modalInsight/index.wxml +++ b/pages/insight/pages/modalInsight/index.wxml @@ -23,13 +23,13 @@ - 正面调性 {{affData.positive}}% + 正面调性 {{affData.positive || 0}}% - 负面调性 {{affData.negative}}% + 负面调性 {{affData.negative || 0}}% - 中性调性 {{affData.middle}}% + 中性调性 {{affData.middle || 0}}% diff --git a/pages/insight/pages/modalInsight/weiboInsight/index.js b/pages/insight/pages/modalInsight/weiboInsight/index.js index 64984a0..6284b68 100644 --- a/pages/insight/pages/modalInsight/weiboInsight/index.js +++ b/pages/insight/pages/modalInsight/weiboInsight/index.js @@ -34,6 +34,35 @@ Component({ //kol观点 kolActive: 0, kolData: [], + colorList: [ + 'background: #5470c6', + 'background: #91cc75', + 'background: #fac858', + 'background: #ee6666', + 'background: #73c0de', + 'background: #3ba272', + 'background: #fc8452', + 'background: #9a60b4', + 'background: #ea7ccc', + 'background: #c23531', + 'background: #c23531', + 'background: #61a0a8', + 'background: #d48265', + 'background: #91c7ae', + 'background: #749f83', + ], + pieColor: [ + 'background: rgb(244,72,85)', + 'background: rgb(245,109,47)', + 'background: rgb(248,189,32)', + 'background: rgb(75,203,100)', + 'background: rgb(75,214,213)', + 'background: rgb(244,72,85)', + 'background: rgb(245,109,47)', + 'background: rgb(248,189,32)', + 'background: rgb(75,203,100)', + 'background: rgb(75,214,213)', + ], }, methods: { getData() { diff --git a/pages/insight/pages/modalInsight/weiboInsight/index.wxml b/pages/insight/pages/modalInsight/weiboInsight/index.wxml index e6c6979..cbc7edd 100644 --- a/pages/insight/pages/modalInsight/weiboInsight/index.wxml +++ b/pages/insight/pages/modalInsight/weiboInsight/index.wxml @@ -33,7 +33,7 @@ - + {{item.name}} @@ -57,7 +57,7 @@ - + {{item.name}} @@ -90,7 +90,7 @@ - + {{item.name}} diff --git a/pages/insight/pages/modalInsight/weiboInsight/index.wxss b/pages/insight/pages/modalInsight/weiboInsight/index.wxss index 6d34a1f..7a12474 100644 --- a/pages/insight/pages/modalInsight/weiboInsight/index.wxss +++ b/pages/insight/pages/modalInsight/weiboInsight/index.wxss @@ -147,4 +147,7 @@ border-radius: 4rpx; padding: 16px; overflow: hidden; +} +.colorTags { + width: 10px;height: 10px;border-radius: 1px; } \ No newline at end of file diff --git a/pages/insight/pages/themeBoard/index.js b/pages/insight/pages/themeBoard/index.js index e278356..32cf010 100644 --- a/pages/insight/pages/themeBoard/index.js +++ b/pages/insight/pages/themeBoard/index.js @@ -45,6 +45,18 @@ Page({ //活跃用户地区 wbActiveUserArea1: [], wbActiveUserArea2: [], + pieColor: [ + 'background: rgb(244,72,85)', + 'background: rgb(245,109,47)', + 'background: rgb(248,189,32)', + 'background: rgb(75,203,100)', + 'background: rgb(75,214,213)', + 'background: rgb(244,72,85)', + 'background: rgb(245,109,47)', + 'background: rgb(248,189,32)', + 'background: rgb(75,203,100)', + 'background: rgb(75,214,213)', + ], }, onLoad(option) { this.setData({ diff --git a/pages/insight/pages/themeBoard/index.wxml b/pages/insight/pages/themeBoard/index.wxml index 394205b..dad8c60 100644 --- a/pages/insight/pages/themeBoard/index.wxml +++ b/pages/insight/pages/themeBoard/index.wxml @@ -76,7 +76,7 @@ - {{item.name}} + {{item.name}} 传播值 {{item.value}} @@ -86,7 +86,7 @@ - {{item.name}} + {{item.name}} 传播值 {{item.value}} @@ -96,7 +96,7 @@ - {{item.name}} + {{item.name}} 传播值 {{item.value}} @@ -126,7 +126,7 @@ - + {{item.name}} @@ -175,7 +175,7 @@ - + {{item.name}} @@ -259,7 +259,7 @@ - + {{item.name}} diff --git a/pages/insight/pages/themeBoard/index.wxss b/pages/insight/pages/themeBoard/index.wxss index d5d4a88..1be1a78 100644 --- a/pages/insight/pages/themeBoard/index.wxss +++ b/pages/insight/pages/themeBoard/index.wxss @@ -244,4 +244,7 @@ .area-item-chart{ width: 50%; height: 410rpx; +} +.colorTags { + width: 10px;height: 10px;border-radius: 1px; } \ No newline at end of file diff --git a/pages/insight/pages/themeList/index.js b/pages/insight/pages/themeList/index.js index 94afe2f..eb77eab 100644 --- a/pages/insight/pages/themeList/index.js +++ b/pages/insight/pages/themeList/index.js @@ -3,6 +3,8 @@ import moment from "moment" Page({ data: { Guid: '', + total: 0, + selectedNumber: 0, //form sQuDao: [], sQingGan: [], @@ -33,6 +35,10 @@ Page({ show2: false, d1: 0, d2: 0, + //导出字段 + reportOption: [], + reportShow: false, + fieldList: [], }, onLoad: function(options) { this.setData({Guid: options.Guid, sStartTime: options.StartTime, sEndTime: options.EndTime}) @@ -94,6 +100,18 @@ Page({ }); this.setData({searchOption: option}) }); + app.globalData.request({ + action: 'getToExcelField', //获取导出字段 + sType: 'BrandData', + token: 't%2BrswgjvzGM=', + }).then(res => { + let option = []; + res.forEach(ele => { + let obj = {name: ele.name, value: ele.field}; + option.push(obj) + }); + this.setData({reportOption: option}) + }); }, getData() { app.globalData.request({ @@ -114,7 +132,7 @@ Page({ iTimeType: this.data.iTimeType, //0发布时间 1入库时间 iGroupBy: this.data.iGroupBy, //0不去重 1相似度去重 listType: this.data.listType, //0默认 1影响力倒序 - }).then(res => { + },(res) => {this.setData({total: res.totalNum})} ).then(res => { this.setData({dataList: res}) }); }, @@ -137,6 +155,11 @@ Page({ sTitleChange(event) {this.setData({ sTitle: event.detail });this.getData()}, changeSelectAll(event) { this.setData({ isSelectAll: event.detail}); + if(event.detail.length != 0) { + this.setData({selectedNumber: this.data.total}); + } else { + this.setData({selectedNumber: this.data.dataList.length}); + } }, toThemeBoard() { let Guid = this.data.Guid; @@ -152,7 +175,12 @@ Page({ toDetail() { // 外链 }, + openReport() { + this.setData({reportShow: true}) + }, report() { //生成数据 + let d = new Date(); + let date = d.getFullYear().toString() + (d.getMonth()+1)+ d.getDate() app.globalData.request({ action: 'toExcel', //数据列表 token: 't%2BrswgjvzGM=', @@ -165,14 +193,23 @@ Page({ sTitleType: this.data.sTitleType, sType: 'ZhuTiFenXiBl', sGuid: this.data.Guid, - sField: '', //导出字段 - sFileName: '', //文件名称 + sField: this.data.fieldList.join(','), //导出字段 + sFileName: "事件数据"+date, //文件名称 sCheckedIds: '', //数据id - iNum: 0, //导出条数 + iNum: this.data.selectedNumber, //导出条数 iTimeType: this.data.iTimeType, //0发布时间 1入库时间 - }).then(res => { - console.log(res) - }); + },(res) => { + if(res.Code == 1) { + this.setData({reportShow: false}) + wx.showModal({ + title: '数据生成中,请前往”我的“查看生成进度', + showCancel: false + }) + } + }).then(() => {}); + }, + fieldChange(event) { + this.setData({fieldList: event.detail}) }, // 时间选择器 onDisplayStart() { diff --git a/pages/insight/pages/themeList/index.wxml b/pages/insight/pages/themeList/index.wxml index b484321..bd346c1 100644 --- a/pages/insight/pages/themeList/index.wxml +++ b/pages/insight/pages/themeList/index.wxml @@ -12,17 +12,27 @@ - - {{item.value}} - + + + + {{item.value}} + + + - - {{item.value}} - - - {{item.value}} - + + + + {{item.value}} + + + + + {{item.value}} + + + @@ -87,8 +97,17 @@ - 生成数据 + 生成数据 数据看板 + + + + + {{item.name}} + + + + \ No newline at end of file diff --git a/pages/insight/themeChild/index.wxss b/pages/insight/themeChild/index.wxss index 4449aa8..efc16b5 100644 --- a/pages/insight/themeChild/index.wxss +++ b/pages/insight/themeChild/index.wxss @@ -58,7 +58,7 @@ .content_button{ display: flex; margin-top: 20rpx; - margin-left: 270rpx; + margin-left: 42%; } /* tabs */ .view-tabs .van-tabs__nav{