/* pages/addclass/addclass.wxss */ .class-icon{ margin-left: 2px; margin-right: 12px; } .class-list{ display: flex; flex-direction: column; margin: 0 -12px } .class-item{ align-items: center; background: white; padding: 30rpx 12px; border-bottom: 1rpx solid #EEE; position: relative; } .class-item:after { content: '加入 >'; display: block; position: absolute; right: 3rpx; top: 50%; height: 40rpx; line-height: 40rpx; margin-top: -20rpx; margin-right: 30rpx; color: #999; } .class-item text{ vertical-align: middle; } .none-content{ align-self: center; } text.none-content{ font-size: 16px; margin-top: 32rpx; } image.none-content{ margin-top: 120rpx; height: 160rpx; width: 180rpx; }