From e516188204f4f74f5c6f1d78a332868303f8ccd5 Mon Sep 17 00:00:00 2001 From: wylyl22 <2373073266@qq.com> Date: Thu, 7 Jul 2022 16:00:26 +0800 Subject: [PATCH 1/2] 1 --- .cloudbase/container/debug.json | 1 + pages/brandSearch/index.wxss | 2 +- pages/index/Rankdetail/Rankdetail.js | 62 +------------------------- pages/index/Rankdetail/Rankdetail.wxml | 40 +++++++++-------- pages/index/Rankdetail/Rankdetail.wxss | 18 +++++--- 5 files changed, 39 insertions(+), 84 deletions(-) create mode 100644 .cloudbase/container/debug.json diff --git a/.cloudbase/container/debug.json b/.cloudbase/container/debug.json new file mode 100644 index 0000000..79ca5f4 --- /dev/null +++ b/.cloudbase/container/debug.json @@ -0,0 +1 @@ +{"containers":[]} \ No newline at end of file diff --git a/pages/brandSearch/index.wxss b/pages/brandSearch/index.wxss index c0cac3a..b6fd25f 100644 --- a/pages/brandSearch/index.wxss +++ b/pages/brandSearch/index.wxss @@ -33,7 +33,7 @@ align-items: center; padding: 15px 13px; font-size: 14px; - } + } .bs-item-image { display: inline-block; width: 42px; diff --git a/pages/index/Rankdetail/Rankdetail.js b/pages/index/Rankdetail/Rankdetail.js index 2730842..82504ad 100644 --- a/pages/index/Rankdetail/Rankdetail.js +++ b/pages/index/Rankdetail/Rankdetail.js @@ -4,7 +4,7 @@ * 页面的初始数据 */ data: { - show:false, + sortOpt: [ { text: '列表展示', @@ -15,7 +15,6 @@ value1: 1 } ], - value:0, // 时间 priceOpt: ['2022年5月','2022年4月','2022年3月', @@ -27,14 +26,12 @@ ], prcieInterval: [0, 10, 20, 30, 40, 50, '不限'], - value1: 0, // 品牌 value2: '全部品牌', typeOpt: [ ], - // 级别 level:[ { @@ -197,14 +194,6 @@ priceSelected: e.currentTarget.dataset.index }) }, - showPopup(){ - this.setData({show:true}); - }, - onClose(){ - this.setData({ - show:false - }); - }, onclick() { this.setData({ show: true }); }, @@ -218,53 +207,6 @@ onLoad: function (options) { console.log('111',this.data.sortOpt[0].value1) }, - /** - * 生命周期函数--监听页面初次渲染完成 - */ - onReady: function () { - - }, - - /** - * 生命周期函数--监听页面显示 - */ - onShow: function () { - - }, - - /** - * 生命周期函数--监听页面隐藏 - */ - onHide: function () { - - }, - - /** - * 生命周期函数--监听页面卸载 - */ - onUnload: function () { - - }, - - /** - * 页面相关事件处理函数--监听用户下拉动作 - */ - onPullDownRefresh: function () { - - }, - - /** - * 页面上拉触底事件的处理函数 - */ - onReachBottom: function () { - - }, - - /** - * 用户点击右上角分享 - */ - onShareAppMessage: function () { - - } + }) \ No newline at end of file diff --git a/pages/index/Rankdetail/Rankdetail.wxml b/pages/index/Rankdetail/Rankdetail.wxml index 455c7de..68dca59 100644 --- a/pages/index/Rankdetail/Rankdetail.wxml +++ b/pages/index/Rankdetail/Rankdetail.wxml @@ -1,17 +1,6 @@ - - 车牌 - - - - - - + @@ -19,7 +8,26 @@ - + + + + + + + + + + + + + + + + + + + + @@ -63,17 +71,13 @@ {{item.volume}} - - 销量趋势 - + 销量趋势 - diff --git a/pages/index/Rankdetail/Rankdetail.wxss b/pages/index/Rankdetail/Rankdetail.wxss index 765cb27..b909504 100644 --- a/pages/index/Rankdetail/Rankdetail.wxss +++ b/pages/index/Rankdetail/Rankdetail.wxss @@ -226,8 +226,16 @@ color: #0084FF; } -.license{ - width: 200rpx; - height: 200rpx; - background-color: aquamarine; -} \ No newline at end of file +.bs-item { + display: flex; + justify-items: flex-start; + align-items: center; + padding: 15px 13px; + font-size: 14px; + } +.bs-item-image { + display: inline-block; + width: 42px; + height: 42px; + margin-right: 15px; + } \ No newline at end of file From 54e2d5ed79e5826800a41228e964b9abd15e48e1 Mon Sep 17 00:00:00 2001 From: liuyongli <1598631486@qq.com> Date: Thu, 7 Jul 2022 17:49:49 +0800 Subject: [PATCH 2/2] no message --- components/indexCom/dataChild/index.wxml | 9 ++-- components/indexCom/insightChild/index.js | 19 ++++----- components/indexCom/insightChild/index.wxml | 1 + components/indexCom/insightChild/index.wxss | 2 +- components/indexCom/rankingChild/index.js | 5 +-- components/indexCom/rankingChild/index.wxml | 47 +++++++++++++-------- components/indexCom/rankingChild/index.wxss | 25 ++++++++--- components/indexCom/soundChild/index.js | 2 + pages/index/Rankdetail/Rankdetail.js | 1 + pages/index/Rankdetail/Rankdetail.wxml | 29 +++++++------ 10 files changed, 83 insertions(+), 57 deletions(-) diff --git a/components/indexCom/dataChild/index.wxml b/components/indexCom/dataChild/index.wxml index 8881864..b528902 100644 --- a/components/indexCom/dataChild/index.wxml +++ b/components/indexCom/dataChild/index.wxml @@ -1,10 +1,7 @@ - - - - - + + 入库数据趋势 @@ -37,7 +34,7 @@ {{item.text}} - {{item.num}}% + {{item.num}} diff --git a/components/indexCom/insightChild/index.js b/components/indexCom/insightChild/index.js index b29008c..bec9080 100644 --- a/components/indexCom/insightChild/index.js +++ b/components/indexCom/insightChild/index.js @@ -28,8 +28,8 @@ Component({ grid: { left: 20, right: 20, - bottom: 15, - top: 40, + bottom: 10, + top: 20, containLabel: true }, yAxis: [ @@ -81,7 +81,7 @@ Component({ ], series: { - name: '尾翼互动量', + barWidth : 24, type: 'bar', data: [1400, 2000, 1500, 1800, 1490, 900, 310], stack:"Search Engine", @@ -123,8 +123,8 @@ Component({ grid: { left: 20, right: 20, - bottom: 15, - top: 40, + bottom: 10, + top: 20, containLabel: true }, yAxis: [ @@ -177,14 +177,13 @@ Component({ ], series: { - - name: '尾翼互动量', + barWidth : 24, type: 'bar', data: [1400, 2000, 1500, 1800, 1490, 900, 310], stack:"Search Engine", - emphasis: {//折线图的高亮状态。 - focus: "series",//聚焦当前高亮的数据所在的系列的所有图形。 - }, + emphasis: {//折线图的高亮状态。 + focus: "series",//聚焦当前高亮的数据所在的系列的所有图形。 + }, itemStyle: { normal:{ color: '#20CC62', diff --git a/components/indexCom/insightChild/index.wxml b/components/indexCom/insightChild/index.wxml index 0f0a1f2..d25e5f1 100644 --- a/components/indexCom/insightChild/index.wxml +++ b/components/indexCom/insightChild/index.wxml @@ -4,6 +4,7 @@ 品牌传播声量 + diff --git a/components/indexCom/insightChild/index.wxss b/components/indexCom/insightChild/index.wxss index 33bebf8..97909d9 100644 --- a/components/indexCom/insightChild/index.wxss +++ b/components/indexCom/insightChild/index.wxss @@ -12,5 +12,5 @@ } .text{ font-size: 36rpx; - padding: 32rpx; + padding:32rpx; } \ No newline at end of file diff --git a/components/indexCom/rankingChild/index.js b/components/indexCom/rankingChild/index.js index d71deb0..78e5d1d 100644 --- a/components/indexCom/rankingChild/index.js +++ b/components/indexCom/rankingChild/index.js @@ -77,7 +77,7 @@ Component({ ], series: { - name: '尾翼互动量', + barWidth : 24, type: 'bar', data: [1400, 2000, 1500, 1800, 1490, 900, 310], stack:"Search Engine", @@ -173,8 +173,7 @@ Component({ ], series: { - - name: '尾翼互动量', + barWidth : 24, type: 'bar', data: [1400, 2000, 1500, 1800, 1490, 900, 310], stack:"Search Engine", diff --git a/components/indexCom/rankingChild/index.wxml b/components/indexCom/rankingChild/index.wxml index dadf5eb..42c7f51 100644 --- a/components/indexCom/rankingChild/index.wxml +++ b/components/indexCom/rankingChild/index.wxml @@ -1,28 +1,39 @@ - - - - - - + + + + + + + 汽车销量排行 + + + 查看详情 + - 汽车销量排行 - - - 查看详情 - - - - 品牌销量排行 - - + + + 品牌销量排行 + + 销量详情 + + + + + + - - 车型销量排行 + + 车型销量排行 + + 销量详情 + + + diff --git a/components/indexCom/rankingChild/index.wxss b/components/indexCom/rankingChild/index.wxss index c192a88..93e5783 100644 --- a/components/indexCom/rankingChild/index.wxss +++ b/components/indexCom/rankingChild/index.wxss @@ -1,14 +1,15 @@ -/* 热销排行 */ - /* 点击详情 */ +.box{ + margin: 32rpx ; +} .total{ height: 80rpx; line-height: 80rpx; display: flex; text-align: center; justify-content: space-between; - margin: 0 32rpx; - padding: 0 32rpx 0 32rpx; + /* margin: 0 32rpx; */ + padding: 0 32rpx; background-color: #ebf5ff; } @@ -36,7 +37,7 @@ width: 686; height: 488rpx; background-color: #fff; - margin: 0 32rpx 32rpx 32rpx; + /* margin: 0 32rpx 32rpx 32rpx; */ border-radius: 4rpx; } .brand{ @@ -54,3 +55,17 @@ font-size: 36rpx; padding: 32rpx; } +.first_box{ + justify-content: space-between; + display: flex; +} +.box_detail{ + display: flex; + padding: 32rpx; + +} +.detial_text{ + color:#D0D0D0; + font-size: 24rpx; + +} diff --git a/components/indexCom/soundChild/index.js b/components/indexCom/soundChild/index.js index b20c6cb..c62db31 100644 --- a/components/indexCom/soundChild/index.js +++ b/components/indexCom/soundChild/index.js @@ -78,6 +78,7 @@ Component({ { name: '微博', type: 'bar', + barWidth : 24, data: [1400, 2000, 1500, 1800, 1490, 900, 310], stack:"Search Engine", emphasis: {//折线图的高亮状态。 @@ -273,6 +274,7 @@ Component({ series: [ { name: '微博', + barWidth : 24, type: 'bar', data: [1400, 2000, 1500, 1800, 1490, 900, 310], stack:"Search Engine", diff --git a/pages/index/Rankdetail/Rankdetail.js b/pages/index/Rankdetail/Rankdetail.js index b1230dd..3bd311c 100644 --- a/pages/index/Rankdetail/Rankdetail.js +++ b/pages/index/Rankdetail/Rankdetail.js @@ -274,6 +274,7 @@ ] }, + }, // sliderChange(event) { // this.setData({ diff --git a/pages/index/Rankdetail/Rankdetail.wxml b/pages/index/Rankdetail/Rankdetail.wxml index be1bd67..5bf68b3 100644 --- a/pages/index/Rankdetail/Rankdetail.wxml +++ b/pages/index/Rankdetail/Rankdetail.wxml @@ -53,24 +53,25 @@ {{item.volume}} - - - 销量趋势 + + + + 销量趋势 + - + - - + - - - 销量趋势 - 宏光MINIEV销量趋势 - - + + + 销量趋势 + 宏光MINIEV销量趋势 + + + - - \ No newline at end of file + \ No newline at end of file