From 5813849a40bc2034b13023e86c960b44c4cde028 Mon Sep 17 00:00:00 2001 From: chenxuhui Date: Mon, 26 Nov 2018 08:40:07 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E6=8A=A5=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/saleForecastList/Detail/Detail.wxml | 10 ++-- pages/saleForecastList/Detail/Detail.wxss | 60 +++++++++++++++-------- 2 files changed, 45 insertions(+), 25 deletions(-) diff --git a/pages/saleForecastList/Detail/Detail.wxml b/pages/saleForecastList/Detail/Detail.wxml index 6d1587a..230ae01 100644 --- a/pages/saleForecastList/Detail/Detail.wxml +++ b/pages/saleForecastList/Detail/Detail.wxml @@ -34,10 +34,9 @@ 会计单位 - - + + + {{unit[isUnit].Name}} @@ -73,7 +72,8 @@ 摘 要 --> - + + diff --git a/pages/saleForecastList/Detail/Detail.wxss b/pages/saleForecastList/Detail/Detail.wxss index 850a472..b88f391 100644 --- a/pages/saleForecastList/Detail/Detail.wxss +++ b/pages/saleForecastList/Detail/Detail.wxss @@ -60,47 +60,63 @@ page { padding-bottom: 20rpx; } -.twogroup { +/* .twogroup { display: flex; flex-direction: row; +} */ + +.baseitem { + background: #fff; + width: 100%; + border-bottom: 0.1px solid #dbdbdb; + display: flex; + flex-direction: row; + align-items: center; + padding-top: 20rpx; + padding-bottom: 20rpx; + font-size: 30rpx; } .baseitem_key { color: #666; - width: 20%; - margin-left: 5%; + width: 40%; + margin-left: 20rpx; } .baseitem_value { - margin-left: 5%; - width: 70%; color: rgb(48, 48, 48); + margin-left: 20rpx; + margin-right: 20rpx; + width: 160%; + text-align: right; } .baseitem_key2 { color: #666; - width: 20%; - font-size: 30rpx; - margin-left: 10rpx; + width: 40%; + margin-left: 20rpx; } .baseitem_value2 { color: rgb(48, 48, 48); - font-size: 30rpx; + margin-left: 20rpx; + margin-right: 20rpx; + width: 160%; + text-align: right; } .baseitem_key1 { color: #666; - width: 40%; - font-size: 30rpx; - margin-left: 10rpx; + width: 100%; + margin-left: 20rpx; } .baseitem_value1 { color: rgb(48, 48, 48); - font-size: 30rpx; margin-left: 20rpx; - width: 60%; + margin-right: 20rpx; + width: 100%; + text-align: right; } ::-webkit-scrollbar { @@ -168,14 +184,15 @@ page { } .sousuo { - margin-right: 10%; - margin-left: 10%; + /* margin-right: 10%; + margin-left: 10%; */ text-align: center; background: #d6d8da; height: 40px; font-size: 28rpx; } + .drawer_content { height: 500rpx; overflow-y: scroll; /*超出父盒子高度可滚动*/ @@ -198,7 +215,7 @@ page { font: 20px "microsoft yahei"; text-align: center; border-top: 1px solid #e8e8ea; - color: #3cc51f; + color: #2E8CF5; } .top { @@ -210,11 +227,14 @@ page { .grid1 { width: 100%; border-bottom: 1px solid #c3c3c3; - padding-top: 5px; - padding-bottom: 10px; + /* padding-top: 5px; + padding-bottom: 10px; */ + padding-top: 16rpx; + padding-bottom: 16rpx; + text-align: center; } .text3 { font-size: 18px; color: rgb(48, 48, 48); -} +} \ No newline at end of file