/* mHome/pages/calculator/calculator.wxss */ .container { display: flex; flex-direction: row; width: 100%; align-items: flex-start; .shape { width: 16%; } .shape-item, .color-item, .neatness-item { display: grid; align-items: center; align-content: center; justify-content: center; text-align: center; border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; height: 80px; text { margin-top: 5px; font-size: 22rpx; color: #333; } } .color, .neatness { width: 13%; font-size: 14px; } .right-content { display: flex; flex-wrap: wrap; flex-direction: row; width: 58%; position: relative; view { width: 50%; height: 100px; display: grid; align-content: center; border-bottom: 1px solid #ddd; justify-content: start; text { margin: 10px; color: #333; } text:nth-child(1) { font-size: 13px; height: 15px; } text:nth-child(2) { font-size: 16px; color: #333; height: 10px; } text:nth-child(3) { font-size: 12px; color: #999; height: 15px; } } } } input { margin: 0px 0px 0px 10px; background-color: white; height: 40px; font-size: 14px; }