/* pages/knowledge/knowledge.wxss */ .search{ width: 70%; display: inline-block; margin-bottom: 20rpx; } .menu{ width: 28%; background: #fff; display: inline-block; line-height: 64rpx; border-radius: 15rpx; margin-left: 2%; vertical-align: top; position: relative; } .picker{ text-align: center; color: #999; font-size: 26rpx; } .tab{ display: flex; /* justify-content: space-between; */ margin-bottom: 20rpx; } .tab text{ font-size: 30rpx; color: #666; margin-right: 40rpx; } .tab .active{ color: #3780CD; } .list{ /* box-shadow: 0px 2rpx 9rpx 0px rgba(0, 0, 0, 0.2); */ border-radius: 20rpx; display: flex; /* padding: 20rpx; */ /* box-shadow: 0 0 15rpx 0px rgba(0, 0, 0, 0.2); */ /* margin: 0 20rpx 40rpx; */ border-bottom: 1px solid #F0F0F0; padding: 28rpx 0; } .list image{ width: 25%; height: 210rpx; } .list>view{ width: 75%; padding-left: 20rpx; vertical-align: middle; } .list .title{ margin-bottom: 5rpx; width: 90%; font-size: 30rpx; /* text-overflow: ellipsis; overflow: hidden; white-space: nowrap; */ } /* .list rich-text{ width: 100%; display: block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } */ .list text{ color: #999; display: block; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; font-size: 26rpx; } .ly{ margin-bottom: 18rpx; } .ly text{ display: block; color: #666; font-size: 24rpx; padding: 3rpx 0; } .ly view{ float: right; text-align: right; } .ly view text{ font-size: 22rpx; } scroll-view{ background: #fff; padding: 0 20rpx; border-radius: 18rpx; height: 100%; } .up{ width: 0; height: 0; border: 10rpx solid transparent; border-top: 12rpx solid #999; display: inline-block; position: relative; top: 3px; } .drop_menu{ background: #fff; box-shadow: 2px 2px 10rpx 1px rgba(0, 0, 0, 0.2); position: absolute; width: 100%; right: 0; border-radius: 15rpx; z-index: 9; top: 70rpx; } .drop_menu text{ display: block; line-height: 60rpx; text-align: center; color: #999; } .myswiper{ height: calc(100vh - 186rpx); } .more{ text-align:center; color:#999; padding:5rpx 0; } .back-img { width: 100%; height: 100vh; }