/* pages/comment/comment.wxss */ .page{ display: flex; overflow: hidden; flex-direction: column; } .tabwraper{ flex:1; overflow: hidden; margin-top: 172rpx; } .nonedata{ width:auto; box-sizing: border-box; margin:0 30rpx; background-color: #fff; } .van-tab__pane{ flex:1; } .tabbox{ flex:1; width:100%; height:100%; } .van-tabs{ width:100%; } .tabactive{ font-size: 32rpx!important; } .viewcell{ display: flex; overflow: hidden; box-sizing: border-box; padding:40rpx 30rpx 30rpx; border-radius: 10rpx; background-color: #fff; margin:0 32rpx 20rpx; } .tabdiv{ height:100%; } .scrollwraper{ height:100%; overflow: scroll; -webkit-overflow-scrolling: touch; } .van-tab__pane{ margin-top: 20rpx; overflow: hidden; height:calc(100vh - 285rpx)!important; } .tabs{ flex:1; margin-top: 172rpx; } .vantab{ display: flex; overflow-y: hidden; position: relative; height:calc(100% - 300rpx); } .scrollwraper{ box-sizing: border-box; border-radius: 10rpx; } .titlebox { display: flex; padding: 0 20rpx 0rpx; align-items: center; justify-content: space-between; } .titlebox .title { margin:0 20rpx; font-weight: 600; color: #333333; font-size: 36rpx; } .scrollwraper .titlebox { border-bottom: 1rpx solid#E7E7E7; padding: 0 20rpx 30rpx; } .titlebox .tag { height: 40rpx; border: 1rpx solid #3CC7C0; padding: 0 25rpx; display: flex; align-items: center; border-radius: 20rpx; color: #3CC7C0; font-size: 24rpx; } .more{ display: flex; align-items: center; } .listbox{ background-color: #fff; margin:0 30rpx; border-radius: 0 0rpx 10rpx 10rpx; } .listbox .list:last-child{ border: none; } .more text{ color: #333333; font-size: 28rpx; margin-right: 10rpx; } .more image{ width: 14rpx; height: 26rpx; } .scrollwraper .titlebox{ border-radius:10rpx 10rpx 0 0; margin:0 30rpx; background-color: #fff; padding: 30rpx 0; } .title text{ font-size: 28rpx; font-weight: normal; color:#666; } .list{ padding-top: 30rpx; padding-bottom: 30rpx; border-bottom: 1px solid #E7E7E7; } .list .namebox{ justify-content: space-between; margin:0rpx 20rpx 0rpx; display: flex; } .list .namebox .name{ font-weight: normal; font-size: 28rpx; color:#666; } .commment{ margin:30rpx 20rpx 20rpx; color: #333333; font-size: 30rpx; word-break: break-all; line-height: 48rpx; } .date{ margin:0rpx 20rpx 0rpx; display: flex; color: #666666; font-size: 24rpx; } .sick_name{ margin-left: 20rpx; font-size: 20rpx; font-weight: 400; display: flex; border-radius: 20rpx; height: 38rpx; padding:0 15rpx; border: 1rpx solid #3CC7C0; align-items: center; color: #3CC7C0; } .restNumber{ border-radius: 20rpx 0rpx 0 20rpx; top:0; right:0; color:#fff; padding:0 15rpx; font-size: 20rpx; display: flex; align-items: center; height: 36rpx; background: #3CC7C0; position: absolute; } .comemntType{ margin-left: 10rpx; font-size: 20rpx; height: 34rpx; line-height: 34rpx; display: flex; justify-content: center; align-items: center; padding:0 10rpx; background: #E3EEFF; border-radius: 8rpx; color: #1E6EFF; justify-content: center; } .comemntType.video{ color: #00C885; background: #E3FFF5; } .comemntType.yinan{ color: #ED9C00; background: #FFF5E0; } .datebox{ display: flex; justify-content: space-between; align-items: flex-end; } .namebox1{ display: flex; }