diff --git a/pages/work2/work2.js b/pages/work2/work2.js index 137e2dd..2059c91 100644 --- a/pages/work2/work2.js +++ b/pages/work2/work2.js @@ -111,6 +111,11 @@ Page({ wx.navigateTo({ url: '../../subpages/communitySelfInsp/pages/followUpList/followUpList', }) + }, + onData(){ + wx.switchTab({ + url:'../../pages/statistics/statistics' + }) } // onAddHouse(){ // wx.navigateTo({ diff --git a/pages/work2/work2.wxml b/pages/work2/work2.wxml index 53bda47..a06f51a 100644 --- a/pages/work2/work2.wxml +++ b/pages/work2/work2.wxml @@ -63,11 +63,11 @@ 数据 - + - 数据 + 数据 diff --git a/subpages/resnoinformation/pages/resnoinformation/resnoinformation.wxml b/subpages/resnoinformation/pages/resnoinformation/resnoinformation.wxml index d99f54b..565ef70 100644 --- a/subpages/resnoinformation/pages/resnoinformation/resnoinformation.wxml +++ b/subpages/resnoinformation/pages/resnoinformation/resnoinformation.wxml @@ -22,19 +22,28 @@ + + + + + + + + + {{item.name}} + {{item.resiName}} - - - {{itemNR.categoryName}} - - - + + + {{itemC.categoryName}} + + 信息完整度: - {{item.synthesizeScore}} + {{item.synthesizeScore}}% diff --git a/subpages/resnoinformation/pages/resnoinformation/resnoinformation.wxss b/subpages/resnoinformation/pages/resnoinformation/resnoinformation.wxss index caaf22b..9fb9141 100644 --- a/subpages/resnoinformation/pages/resnoinformation/resnoinformation.wxss +++ b/subpages/resnoinformation/pages/resnoinformation/resnoinformation.wxss @@ -123,6 +123,7 @@ page{ .information{ display: flex; flex-direction: row; + width: 400rpx; } .name{ @@ -141,17 +142,32 @@ text-align: center; display: block; width:auto; height: 40rpx; - background: #f6f6f6; + /* background: #f6f6f6; */ margin-left: 20rpx; - - + /* color:red; */ +} +.red-style{ + display: block; + width:auto; + height: 40rpx; + background: #FFE3E3; + margin-left: 20rpx; + color:red; } +.yellow-style{ + display: block; + width:auto; + height: 40rpx; + background: yellow; + margin-left: 20rpx; + color:yellow; +} + .text_2{ display: table; width: 45rpx; height: 30rpx; overflow-wrap: break-word; - color: rgba(153,153,153,1); font-size: 24rpx; font-family: PingFang-SC-Medium; font-weight: 500; @@ -159,7 +175,7 @@ text-align: center; white-space: nowrap; line-height: 42rpx; margin-right: 20rpx; - + margin-left: 10rpx; } .text_1 { @@ -173,31 +189,17 @@ text-align: center; text-align: left; white-space: nowrap; line-height: 41rpx; - margin-top: 2rpx; + margin-top: 2rpx; } .hd_lable{ display: flex; width: 300rpx; height:50rpx; overflow-x: scroll; -} -.text_2{ - width: 45rpx; - height: 23rpx; - overflow-wrap: break-word; - color: rgba(153,153,153,1); - font-size: 24rpx; - font-family: PingFang-SC-Medium; - font-weight: 500; - text-align: center; - white-space: nowrap; - line-height: 42rpx; - margin-left: 10rpx; - - } .information_1 { - width: 145rpx; + display: flex; + width: 90rpx; height: 28rpx; overflow-wrap: break-word; font-size: 0rpx; @@ -503,4 +505,39 @@ text-align: center; white-space: nowrap; line-height: 40rpx; } - +.hong{ + color:#ff3c3c; + background-color:#ffe3e3 ; +} +.lan{ + color:#4f94ff; + background-color:#e6f0ff ; +} +.ju{ + color:#fe840d; + background-color:#ffeedd ; +} +.qing{ + color: #04b8ad; + background-color:#dcf5f3 ; +} +.zi{ + color: #b462e8; + background-color:#f4e9fc ; +} +.hui{ + color: #959495; + background-color:#f1f1f1 ; +} +.lv{ + color: #52ba74; + background-color:#e7f5ec ; +} +.fen{ + color: #ff688f; + background-color:#ffeaef ; +} +.huang{ + color: #fcac00; + background-color: #fff3db; +} \ No newline at end of file