.text-view{ display: flex; flex-direction: row; width: 100%; padding: 15rpx; background: #efefef; } .text-view .label{ flex: 1; height: 72rpx; padding-right: 20rpx; vertical-align: top; line-height: 72rpx; font-size: 36rpx; color: #666; text-align: right; } .text-view .val{ flex: 2; height: 72rpx; line-height: 72rpx; font-size: 36rpx; } .border{ border-bottom: 1rpx solid #dfdfdf; } .red{ color: red; } .green{ color: green; } .blue{ color: blue; }