From d7c7d6b5af230f69d929ee6cf54b17220f46e51b Mon Sep 17 00:00:00 2001 From: xiangshunpu Date: Wed, 14 Jul 2021 00:18:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=89=88=E6=9C=AC=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=207/14=200:18?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.json | 6 +- app.wxss | 1 - assets/images/dcs.png | Bin 0 -> 1172 bytes assets/images/jiankong.png | Bin 0 -> 779 bytes .../calculation-detail/calculation-detail.js | 109 ++++++++++++ .../calculation-detail.json | 5 + .../calculation-detail.wxml | 60 +++++++ .../calculation-detail.wxss | 115 +++++++++++++ pages/calculation/calculation.js | 160 +++++++----------- pages/calculation/calculation.json | 4 +- pages/calculation/calculation.wxml | 83 ++++----- pages/calculation/calculation.wxss | 143 ++++++++-------- pages/calendar/calendar.js | 95 ++++++++--- pages/calendar/calendar.wxml | 24 ++- pages/calendar/calendar.wxss | 43 ++--- pages/look-detail/look-detail.js | 4 +- pages/suggestion/suggestion.json | 6 +- pages/suggestion/suggestion.wxml | 33 +++- pages/suggestion/suggestion.wxss | 80 ++++++++- project.private.config.json | 6 + 20 files changed, 684 insertions(+), 293 deletions(-) create mode 100644 assets/images/dcs.png create mode 100644 assets/images/jiankong.png create mode 100644 pages/calculation-detail/calculation-detail.js create mode 100644 pages/calculation-detail/calculation-detail.json create mode 100644 pages/calculation-detail/calculation-detail.wxml create mode 100644 pages/calculation-detail/calculation-detail.wxss diff --git a/app.json b/app.json index b4e05e1..ee3f4d8 100644 --- a/app.json +++ b/app.json @@ -1,8 +1,8 @@ { "pages": [ + "pages/index/index", "pages/calendar/calendar", "pages/look/look", - "pages/index/index", "pages/calculation/calculation", "pages/ucenter/ucenter", "pages/message/message", @@ -16,7 +16,8 @@ "pages/special-research/special-research", "pages/land-promotion/land-promotion", "pages/suggestion/suggestion", - "pages/about/about" + "pages/about/about", + "pages/calculation-detail/calculation-detail" ], "permission": { "scope.userLocation": { @@ -64,7 +65,6 @@ "style": "v2", "sitemapLocation": "sitemap.json", "useExtendedLib": { - "kbone": true, "weui": true } } \ No newline at end of file diff --git a/app.wxss b/app.wxss index 71b8f94..f91b6cd 100644 --- a/app.wxss +++ b/app.wxss @@ -152,7 +152,6 @@ } .table-item { - border-bottom: 1px solid #E1E1E1; font-size: 26rpx; display: flex; } diff --git a/assets/images/dcs.png b/assets/images/dcs.png new file mode 100644 index 0000000000000000000000000000000000000000..2cc71d0e22d3e61122057d908b7d5695cd83b5df GIT binary patch literal 1172 zcmV;F1Z(?=P)!XA>Y=$VJpKBG8K;i zP7lw`!OsQOHXvg@_$qLH> za8$}8uK;u0q6HyZJRX;Tgz3Pez%-YCW&lq$Akv{dhP^HBfknfOfy~0NxlbW&{`8$l zyrpNKDPR1l@o^O-#sQmvl-3_M)A$7@Y?n@i%w%ExA@G<;Bs>i~8D3zvA5f?+ana$? zsTwvybGH7@So9KRNka)1c3ol3kes}?;^Yw>B5|Z6aUBZZ+=i{dc4=g!bIc)`XS{@2 z3g4^D*$8#5OC(-MB&vuQcIZW;-P|;p<5xYSNiv=C2~Xl$zo3f9a;0JPqAOh`-JBuw zi%gg!;my(SHIY#Aktcv#-Pj7_GnsXFD0C0W3(v=iT+NZ_CWD+tA_-I&EpmPg^P8oK zQ-DXbCLucJpo(D@Q6rwjJ_)`|V@p=&1D}?JIV8udxw)St`{mpQpU^BCye6!lxLn;C zI+<=m>ejJLbmFLd;MG-^B_b^DrWQ9tCHOU_o_QX!l4$|AA z_(wzrU6dK8fw(bEUA#O zT~|wF?J0a`1~Qu}$aE?Sa?!Cqgl10#nQz?vXrIuGOur+OGgCd&PsG}>Dzu$F1v9

_72mewaJD!PIu269!@VUGSuNZ2AR*zargIQPnN?<-Z`)!}<(ooY_1uEi=E z5IemR21@;io%T$%`Ud-687>KfWzH{@Fb(!H?+%9!TGB{@B_QkUtzcR8G*wqcLKTdF ml?nUf#*(Q0>??CWuzuJKvb^oPT}o^{u_Xz5d_YYwfjnDxc4z$N=kr zS-?Qm6-WjteSQGjd9%uzdCuA@VwgU%+fc))Cpr3x!0lZZ?m7qcKW)_%g zbSuT}JB;zoz>x%v`Y;i=3=9=p0kBF3U9Ey~!5v_i%0q-egTCCWkio#Cd!lV;pphx) zo3P=rz)j#4FvIDq(Y6qnREraEwZIzS6tD*vRbt#0-~rGiZq{|TDB8-zFe;u|BoPZN z0s5Q1y}$+FB+vrnRbJ?fIbLe=C;|h3eHx^LoIY{uFqN0;^BAbpN6-#z&}AqIUx0*| zt!Wt=f1z124;Z1F*M8uc_BR^i2Y?CXjF9>=GfcTi1Vqqwnp! ze=+j!BnfN-#sTY%ZW-_#IAnB%5^`(;Y2X~t28=ZN*V=wEy4Ap7U~PB*CW^ptU^y@u zSZwrN+S-&1qx?;h1ky(SS!SLtr%i-_T{k;%SV#ho&K5LZzn4HbFp7PRk?XasHM%;d z52w7l1d6uAcrTSZok3D?ZUY~IYes(t_^fS+vmV`bjg5BA5R0!NF*%fqkx9TUt>6EP zR5y#L3Kz=5v!)v$+~PCHL-xAp6BeDf#wlCYTRQGxvm~@k=XYYgj8>0#!#P%W*9D zPDFABoKqok-++sDBk~cr>p2A{iKBXc{0HA(%H6G!cv_qs_zS>LgRg#{7 + + + + + + + 历史记录 + + + + + + + + + 128 + + 测算宗数 + + + + + 39% + + 准确率 + + + + + 2.43% + + 预测误差 + + + + + + + + 测算宗数=完成测算并提交的土地宗数,单宗土地不重复; + + + + + 预测准确=预测溢价率差异在1%的土地宗数/测算宗数; + + + + + 预测误差=预测溢价率差异的绝对值的平均数; + + + + + + + + + diff --git a/pages/calculation-detail/calculation-detail.wxss b/pages/calculation-detail/calculation-detail.wxss new file mode 100644 index 0000000..9635e45 --- /dev/null +++ b/pages/calculation-detail/calculation-detail.wxss @@ -0,0 +1,115 @@ +/* pages/calculation-detail/calculation-detail.wxss */ +.main { + display: flex; + flex-direction: column; + padding-bottom: 0; +} + +.top { + height: 90rpx; + display: flex; + justify-content: flex-end; + align-items: center; + padding-right: 30rpx; +} + +.top-box { + font-size: 32rpx; + color: #222222; +} + +.top-box text { + text-indent: 8rpx; +} + +.top-icon { + width: 28rpx; + height: 30rpx; +} + +.content { + flex: 1; + display: flex; + flex-direction: column; +} + +.info { + background-color: #ffffff; + box-sizing: border-box; + padding: 30rpx; +} + +.tab { + height: 230rpx; + display: flex; + justify-content: space-between; +} + +.tab-item { + display: flex; + flex-direction: column; + align-items: center; +} + +.tab-surf { + width: 180rpx; + height: 180rpx; + border-radius: 50%; + position: relative; +} + +.tab-num { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + line-height: 180rpx; + text-align: center; + z-index: 2; + font-size: 36rpx; + font-weight: bold; + color: #FFFFFF; +} + +.tab-title { + font-size: 34rpx; + font-weight: bold; + color: #262936; +} + +.msg{ + padding: 20rpx; + border: 2rpx solid #E3E3E3; + margin-top: 52rpx; +} + +.msg-item{ + display: flex; + align-items: center; +} + +.msg-icon{ + width: 20rpx; + height: 24rpx; + margin-right: 16rpx; +} + +.msg-icon image{ + display: block; + width: 100%; + height: 100%; +} + +.msg-title{ + font-size: 22rpx; + color: #838B99; + line-height: 50rpx; +} + +.map{ + margin-top: 24rpx; + background-color: #FFFFFF; + padding: 40rpx 0; + flex: 1; +} \ No newline at end of file diff --git a/pages/calculation/calculation.js b/pages/calculation/calculation.js index fae5185..27dae7e 100644 --- a/pages/calculation/calculation.js +++ b/pages/calculation/calculation.js @@ -1,108 +1,78 @@ -import * as echarts from '../../components/ec-canvas/echarts'; - const app = getApp(); -function initChart(canvas, width, height, dpr) { - const chart = echarts.init(canvas, null, { - width: width, - height: height, - devicePixelRatio: dpr // new - }); - canvas.setChart(chart); - - var option = { - title: { - text: '我的预测与成交溢价率的差异', - left: 'center' - }, - legend: { - data: ['溢价率差异', '平均差异', '我的净利率'], - bottom: 50, - left: 'center', - z: 100 - }, - grid: { - containLabel: true - }, - tooltip: { - show: true, - trigger: 'axis' - }, - xAxis: { - type: 'category', - boundaryGap: false, - data: ['21001', '21002', '21003', '21004', '21005', '21006', '21007', '21008', '21009', '210010'], - show: false - }, - yAxis: { - x: 'center', - type: 'value', - position: 'right', - offset: 5, - axisLabel: { - formatter: '{value}.00%' - } - }, - series: [{ - name: '溢价率差异', - type: 'bar', - smooth: true, - data: [17, 19, -16, -2, 8, 10, 5, 3, 2, 6], - itemStyle: { - color: '#9BBB59' - } - }, { - name: '平均差异', - type: 'line', - data: [3, 11, 13, -2, 8, 16, 3, 3, 2, 6], - showSymbol: false, - lineStyle: { - color: '#76589B', - width: 5 - } +Page({ + data: { + active: '', + tabs: [{ + id: 1, + name: '测算日期' }, { - name: '我的净利率', - type: 'line', - showSymbol: false, - data: [17, 19, -16, -2, 8, 10, 5, 3, 2, 6], - lineStyle: { - color: '#4BACC6', - width: 5 - } - }] - }; + id: 2, + name: '城市区域' + }], + list: [], + refresher: false, + setScroll: true + }, - chart.setOption(option); - return chart; -} + onReady() { + this.refresh() + }, -Page({ - onShareAppMessage: function (res) { - return { - title: 'ECharts 可以在微信小程序中使用啦!', - path: '/pages/index/index', - success: function () {}, - fail: function () {} + onShow() { + if (typeof this.getTabBar === 'function' && + this.getTabBar()) { + this.getTabBar().setData({ + selected: 3 + }) } }, - data: { - ec: { - onInit: initChart + + comeHistory() { + wx.navigateTo({ + url: '../../pages/calculation-detail/calculation-detail', + }) + }, + + tabDowm(e) { + let active = e.currentTarget.dataset.id + if (active === this.data.active) { + this.setData({ + active: '', + setScroll: true + }) + } else { + this.setData({ + active, + setScroll: false + }) } }, - onShow(){ - if (typeof this.getTabBar === 'function' && - this.getTabBar()) { - this.getTabBar().setData({ - selected: 3 - }) - } + hideMark(){ + this.setData({active:'',setScroll:true}) }, - comeHistory(){ - wx.navigateTo({ - url: '../../pages/history/history', - }) - } + getList(){ + let list = this.data.list.concat(this.data.list); + this.setData({list}) + }, + refresh(){ + let list = [ + {title:'重庆-九龙坡区-杨家坪-CQ202168458677901',timer:'2021/01/01',num:'29%'}, + {title:'重庆-九龙坡区-杨家坪-CQ202168458677901',timer:'2021/01/01',num:'29%'}, + {title:'重庆-九龙坡区-杨家坪-CQ202168458677901',timer:'2021/01/01',num:'29%'}, + {title:'重庆-九龙坡区-杨家坪-CQ202168458677901',timer:'2021/01/01',num:'29%'}, + {title:'重庆-九龙坡区-杨家坪-CQ202168458677901',timer:'2021/01/01',num:'29%'}, + {title:'重庆-九龙坡区-杨家坪-CQ202168458677901',timer:'2021/01/01',num:'29%'}, + {title:'重庆-九龙坡区-杨家坪-CQ202168458677901',timer:'2021/01/01',num:'29%'}, + {title:'重庆-九龙坡区-杨家坪-CQ202168458677901',timer:'2021/01/01',num:'29%'}, + {title:'重庆-九龙坡区-杨家坪-CQ202168458677901',timer:'2021/01/01',num:'29%'}, + {title:'重庆-九龙坡区-杨家坪-CQ202168458677901',timer:'2021/01/01',num:'29%'}, + {title:'重庆-九龙坡区-杨家坪-CQ202168458677901',timer:'2021/01/01',num:'29%'}, + {title:'重庆-九龙坡区-杨家坪-CQ202168458677901',timer:'2021/01/01',num:'29%'}, + {title:'重庆-九龙坡区-杨家坪-CQ202168458677901',timer:'2021/01/01',num:'29%'} + ] + setTimeout(()=>{this.setData({list,refresher:false})},200) + }, }); \ No newline at end of file diff --git a/pages/calculation/calculation.json b/pages/calculation/calculation.json index e8ed035..8835af0 100644 --- a/pages/calculation/calculation.json +++ b/pages/calculation/calculation.json @@ -1,5 +1,3 @@ { - "usingComponents": { - "ec-canvas": "../../components/ec-canvas/ec-canvas" - } + "usingComponents": {} } \ No newline at end of file diff --git a/pages/calculation/calculation.wxml b/pages/calculation/calculation.wxml index 01822b9..eed1d2c 100644 --- a/pages/calculation/calculation.wxml +++ b/pages/calculation/calculation.wxml @@ -1,59 +1,42 @@ - - - - - 历史记录 + + + + + + + + 测算监控 + + + + + + + {{item.name}} + - - - - - - - 128 - - 测算宗数 - - - - - 39% - - 准确率 - - - - - 2.43% - - 预测误差 - - - - - - - - 测算宗数=完成测算并提交的土地宗数,单宗土地不重复; - - - - - 预测准确=预测溢价率差异在1%的土地宗数/测算宗数; - - - - - 预测误差=预测溢价率差异的绝对值的平均数; + + + 待测算 + + + + + + + + {{item.title}} + + 测算日期:{{item.timer}} + 净利率:{{item.num}} - - - - + \ No newline at end of file diff --git a/pages/calculation/calculation.wxss b/pages/calculation/calculation.wxss index a94ae62..d0464fc 100644 --- a/pages/calculation/calculation.wxss +++ b/pages/calculation/calculation.wxss @@ -3,113 +3,124 @@ display: flex; flex-direction: column; padding-bottom: 0; + position: relative; +} + +.mark { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + overflow: hidden; + background-color: rgba(0, 0, 0, .1); + z-index: 10; } .top { height: 90rpx; display: flex; - justify-content: flex-end; + justify-content: space-between; align-items: center; - padding-right: 30rpx; + padding: 0 30rpx; } -.top-box { - font-size: 32rpx; - color: #222222; +.search { + width: 111rpx; + height: 63rpx; + background: #f1f1f1; + border: 1rpx solid #f0f0f0; + border-radius: 31rpx; } -.top-box text { - text-indent: 8rpx; +.search image { + width: 32rpx; + height: 32rpx; } -.top-icon { - width: 28rpx; - height: 30rpx; +.top-box { + display: flex; + align-items: center; } -.content { - flex: 1; - display: flex; - flex-direction: column; +.top-box text { + margin-left: 10rpx; + font-size: 32rpx; + color: #262936; + font-weight: bold; } -.info { - background-color: #ffffff; - box-sizing: border-box; - padding: 30rpx; +.top-icon { + width: 32rpx; + height: 32rpx; } -.tab { - height: 230rpx; +.tab-box { display: flex; + padding: 30rpx; justify-content: space-between; + align-items: center; + border: none; } -.tab-item { +.table { display: flex; - flex-direction: column; - align-items: center; + border: none; } -.tab-surf { - width: 180rpx; - height: 180rpx; - border-radius: 50%; - position: relative; +.table-item { + margin-right: 40rpx; } -.tab-num { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - line-height: 180rpx; - text-align: center; - z-index: 2; - font-size: 36rpx; - font-weight: bold; - color: #FFFFFF; +.table-active .table-icon { + transform: rotate(-180deg); } -.tab-title { - font-size: 34rpx; +.table-name { + font-size: 30rpx; font-weight: bold; color: #262936; + border: none; } -.msg{ - padding: 20rpx; - border: 2rpx solid #E3E3E3; - margin-top: 52rpx; +.table-icon { + width: 14rpx; + height: 10rpx; + margin-left: 10rpx; } -.msg-item{ - display: flex; - align-items: center; +.list { + height: 100%; + background-color: #fff; } -.msg-icon{ - width: 20rpx; - height: 24rpx; - margin-right: 16rpx; +.list-item { + padding: 0 30rpx; } -.msg-icon image{ - display: block; - width: 100%; - height: 100%; +.item-box { + height: 130rpx; + box-sizing: border-box; + padding: 14rpx 0; + display: flex; + flex-direction: column; + justify-content: space-between; + border-bottom: 2rpx solid #e3e3e3; } -.msg-title{ - font-size: 22rpx; - color: #838B99; - line-height: 50rpx; +.title { + font-size: 34rpx; + font-weight: bold; + color: #262936; +} + +.info { + display: flex; + align-items: center; + font-size: 26rpx; + color: #838b99; } -.map{ - margin-top: 24rpx; - background-color: #FFFFFF; - padding: 40rpx 0; - flex: 1; +.num { + margin-left: 56rpx; } \ No newline at end of file diff --git a/pages/calendar/calendar.js b/pages/calendar/calendar.js index cd38d33..77cabc3 100644 --- a/pages/calendar/calendar.js +++ b/pages/calendar/calendar.js @@ -6,15 +6,23 @@ moment.locale('en', { L: "YYYY/MM/DD", } }); -import {formatNumber} from '../../utils/util' +import { + formatNumber +} from '../../utils/util' Page({ /** * 页面的初始数据 */ data: { - tabList: [{id:1,name:'本日挂牌'},{id:2,name:'本日拍卖'}], - timer:'', + tabList: [{ + id: 1, + name: '本日挂牌' + }, { + id: 2, + name: '本日拍卖' + }], + timer: '', active: 1, loading: false, color: '#000', @@ -28,40 +36,69 @@ Page({ calendarSelectedDateStr: '', region: ["500000", "500100"], cityName: '重庆', - info:[{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'}] + info: [{ + id: 1, + name: 'CQ210001-沙坪坝区大石坝85亩沙坪坝区大石坝85亩沙坪坝区大石坝85亩沙坪坝区大石坝85亩沙坪坝区大石坝85亩' + }, { + id: 1, + name: 'CQ210001-沙坪坝区大石坝85亩' + }, { + id: 1, + name: 'CQ210001-沙坪坝区大石坝85亩' + }, { + id: 1, + name: 'CQ210001-沙坪坝区大石坝85亩' + }, { + id: 1, + name: 'CQ210001-沙坪坝区大石坝85亩' + }, { + id: 1, + name: 'CQ210001-沙坪坝区大石坝85亩' + }, { + id: 1, + name: 'CQ210001-沙坪坝区大石坝85亩' + }, { + id: 1, + name: 'CQ210001-沙坪坝区大石坝85亩' + }, { + id: 1, + name: 'CQ210001-沙坪坝区大石坝85亩' + }] }, - bindDateChange(res){ + bindDateChange(res) { let calendarDisplayTime = res.detail.value this.setData({ calendarDisplayTime }) }, - tabDowm(e){ + tabDowm(e) { let active = e.currentTarget.dataset.id - if(active!==this.data.active){ - this.setData({active}) + if (active !== this.data.active) { + this.setData({ + active + }) } }, - backToday(){ + backToday() { let timer = new Date() let year = timer.getFullYear() - let month = timer.getMonth()+1 - month = month.length>1?month:'0'+month + let month = timer.getMonth() + 1 + month = month.length > 1 ? month : '0' + month let date = `${year}-${month}` - if(date!==this.data.calendarDisplayTime){ + if (date !== this.data.calendarDisplayTime) { this.setData({ - calendarDisplayTime:date + calendarDisplayTime: date }) } }, - bindAddressChange(res){ + bindAddressChange(res) { let cityName = res.detail.value[1] - if(cityName){ - this.setData({ - cityName - }) + if (cityName) { + this.setData({ + cityName + }) } }, @@ -70,8 +107,10 @@ Page({ */ onLoad: function (options) { this.backToday() - let timer =moment().format('L') - this.setData({timer}) + let timer = moment().format('L') + this.setData({ + timer + }) }, /** @@ -86,11 +125,11 @@ Page({ */ onShow: function () { if (typeof this.getTabBar === 'function' && - this.getTabBar()) { - this.getTabBar().setData({ - selected: 0 - }) - } + this.getTabBar()) { + this.getTabBar().setData({ + selected: 0 + }) + } }, /** @@ -128,9 +167,11 @@ Page({ }, - onCalendarDayTap(res){ + onCalendarDayTap(res) { let timer = res.detail; timer = `${timer.year}/${formatNumber(timer.month)}/${formatNumber(timer.day)}` - this.setData({timer}) + this.setData({ + timer + }) } }) \ No newline at end of file diff --git a/pages/calendar/calendar.wxml b/pages/calendar/calendar.wxml index c963234..9037f2b 100644 --- a/pages/calendar/calendar.wxml +++ b/pages/calendar/calendar.wxml @@ -1,13 +1,13 @@ - var setTime = function(str,type) { - var timer = str.split('-'); - if(type==='year'){ - return timer[0]; - }else{ - return timer[1]; - } + var setTime = function (str, type) { + var timer = str.split('-'); + if (type === 'year') { + return timer[0]; + } else { + return timer[1]; + } }; - module.exports = {setTime:setTime}; + module.exports = { setTime: setTime }; @@ -52,12 +52,8 @@ - - {{timer}} - - {{item.name}} - + + {{item.name}} diff --git a/pages/calendar/calendar.wxss b/pages/calendar/calendar.wxss index 34d9e0e..017bacf 100644 --- a/pages/calendar/calendar.wxss +++ b/pages/calendar/calendar.wxss @@ -47,7 +47,9 @@ } .back-now { - color: #038AF3; + color: #146ae7; + font-weight: bold; + font-size: 30rpx; } .timer .year, @@ -85,35 +87,18 @@ opacity: 0; } -.list .item { - margin-top: 26rpx; +.list { + padding-left: 30rpx; background-color: #ffffff; - padding: 30rpx; -} - -.item .lable { - font-size: 32rpx; - font-weight: bold; - padding: 0 20rpx; - line-height: 42rpx; - background: #FFCC00; - border-radius: 4rpx; - color: #ffffff; -} - -.list .info { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - padding-top: 30rpx; + margin-top: 20rpx; } -.list .info-item { - padding: 0 30rpx; - font-size: 30rpx; +.list .item { + line-height: 110rpx; + border-bottom: 2rpx solid #e3e3e3; + font-size: 34rpx; font-weight: bold; - color: #646464; - line-height: 80rpx; + color: #262936; } .tab { @@ -130,9 +115,9 @@ } .tab-title { - font-size: 30rpx; + font-size: 32rpx; font-weight: bold; - color: #565A6B; + color: #262936; } .tab-tag { @@ -143,7 +128,7 @@ .active .tab-title { font-size: 34rpx; - color: #262936; + color: #146ae7; } .active .tab-tag { diff --git a/pages/look-detail/look-detail.js b/pages/look-detail/look-detail.js index f7e6910..e4ef19b 100644 --- a/pages/look-detail/look-detail.js +++ b/pages/look-detail/look-detail.js @@ -5,10 +5,10 @@ Page({ * 页面的初始数据 */ data: { - state: false, + state: true, tabList: [{id:1,name:'公告信息'},{id:2,name:'成交信息'},{id:3,name:'呈现项目'}], sedTabList: [{id:4,name:'基础测算'},{id:5,name:'高级测算'}], - active: 4, + active: 1, markShow: false, annoutInfo:{}, clinchInfo: { diff --git a/pages/suggestion/suggestion.json b/pages/suggestion/suggestion.json index 8835af0..3b56181 100644 --- a/pages/suggestion/suggestion.json +++ b/pages/suggestion/suggestion.json @@ -1,3 +1,7 @@ { - "usingComponents": {} + "usingComponents": { + "mp-uploader": "weui-miniprogram/uploader/uploader", + "mp-cells": "weui-miniprogram/cells/cells", + "mp-cell": "weui-miniprogram/cell/cell" + } } \ No newline at end of file diff --git a/pages/suggestion/suggestion.wxml b/pages/suggestion/suggestion.wxml index f7f9456..f91823c 100644 --- a/pages/suggestion/suggestion.wxml +++ b/pages/suggestion/suggestion.wxml @@ -1,2 +1,33 @@ -pages/suggestion/suggestion.wxml + + + + + + 您的姓名 + + + + 您的联系方式 + + + + + + 您的建议 + + + + + + + + + + + + + \ No newline at end of file diff --git a/pages/suggestion/suggestion.wxss b/pages/suggestion/suggestion.wxss index b01d8f8..b0d6cbd 100644 --- a/pages/suggestion/suggestion.wxss +++ b/pages/suggestion/suggestion.wxss @@ -1 +1,79 @@ -/* pages/suggestion/suggestion.wxss */ \ No newline at end of file +/* pages/suggestion/suggestion.wxss */ + +.info { + background-color: #fff; + padding: 0 30rpx; + margin-top: 10rpx; +} + +.info-item { + height: 120rpx; + display: flex; + align-items: center; +} + +.info-item input { + flex: 1; + margin-left: 20rpx; + font-size: 30rpx; +} + +.lable { + font-size: 30rpx; + font-weight: bold; + color: #262936; +} + +.item-bord { + border-bottom: 2rpx solid #e3e3e3; +} + +.msg { + margin-top: 20rpx; + background-color: #fff; + padding: 20rpx 30rpx; +} + +#message { + font-size: 30rpx; + width: 100%; + height: 200rpx; +} + +.talk { + position: absolute; + bottom: 0; + right: 0; + color: #838b99; + font-size: 24rpx; +} + +.up-box { + background-color: #fff; + padding: 30rpx; + min-height: 316rpx; + margin-top: 20rpx; +} + +.weui-uploader__title { + font-size: 30rpx; + font-weight: bold; + color: #262936; +} + +.btn { + width: 100%; + display: flex; + justify-content: center; +} + +.btn>button { + margin-top: 134rpx; + min-width: 514rpx; + height: 85rpx; + background: linear-gradient(171deg, #3d7dfc 0%, #0e63df 100%); + border-radius: 43rpx; + font-size: 32rpx; + font-weight: bold; + color: #fff; +} \ No newline at end of file diff --git a/project.private.config.json b/project.private.config.json index d8c444a..4980e68 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -77,6 +77,12 @@ "pathName": "pages/feasibility-study/feasibility-study", "query": "", "scene": null + }, + { + "name": "建议反馈", + "pathName": "pages/suggestion/suggestion", + "query": "", + "scene": null } ] }