diff --git a/pages/market/index/index.vue b/pages/market/index/index.vue index 9c2d037..96a5f0e 100644 --- a/pages/market/index/index.vue +++ b/pages/market/index/index.vue @@ -57,24 +57,33 @@ {{infoData.date}} - - 目标 {{infoData.goal_percent}}% - - - - - 目标 {{infoData.yc_yj_percent}}% - - - - - 目标 {{infoData.cj_yj_percent}}% - - - - - - + + + + + + {{ infoData.goal_percent }}% + + 目标 + + + + + + {{ infoData.yc_yj_percent }}% + + 预测 + + + + + + {{ infoData.cj_yj_percent }}% + + 成交 + + + @@ -262,11 +271,52 @@ export default { margin: auto; } - .right1 { - width: 48%; - height: 95%; - margin: auto; - } + .right1 { + width: 48%; + height: 95%; + margin: auto; + .statistics_box { + margin: auto; + margin-top: 10rpx; + display: flex; + justify-content: space-between; + .item { + width: 90rpx; + display: flex; + flex-direction: column; + align-items: center; + .box { + width: 100%; + height: 328rpx; + border: 1px solid #ddd; + border-radius: 6rpx; + background: #f5f5f5; + position: relative; + .progress-bar { + width: 100%; + height: 0; + transition: height 0.3s ease; + position: absolute; + bottom: 0; + } + .ratio { + width: 100%; + position: absolute; + bottom: -0rpx; + font-size: 26rpx; + text-align: center; + } + } + .title { + margin-top: 5rpx; + padding: 0; + font-size: 26rpx; + color: #999999;; + text-align: center; + } + } + } + } .this_month { width: 100%;