page { width: 100vw; display: flex; flex-direction: column; background: #F8F9FA; padding-bottom: 120px; } .container { display: flex; padding-right: 30rpx; flex-direction: row; flex-wrap: wrap; } .card-item { width: 327rpx; margin-left: 30rpx; height: 336rpx; margin-top: 40rpx; position: relative; } .card-bg { display: block; width: 327rpx; height: 336rpx; } .card-content { position: absolute; top: 0; left: 0; width: 327rpx; height: 336rpx; display: flex; flex-direction: column; justify-content: center; align-items: center; } .card-icon { display: block; width: 56rpx; height: 56rpx; } .card-content text { width: 260rpx; text-align: center; white-space: wrap; margin-top: 30rpx; font-size: 32rpx; line-height: 40rpx; color: #FFFFFF; } .list { width: 100vw; display: flex; flex-direction: column; align-items: center; } .item { margin-top: 15px; width: 690rpx; height: 232rpx; /* background: linear-gradient(270deg, #DDE7FF 0%, #EEF6FF 100%); */ border-radius: 24rpx; /* border: 1rpx solid #c8d7ff; */ overflow: hidden; display: flex; flex-direction: row; } .item:active { opacity: 0.7; } .item-icon { display: block; width: 100%; height: 232rpx; border-radius: 24rpx; overflow: hidden; } .item-l { flex: 1; display: flex; flex-direction: column; } .item-title { font-size: 34rpx; font-style: oblique; font-weight: bold; margin-top: 40rpx; margin-left: 50rpx; } .item-desc { font-size: 24rpx; color: #4160AD; margin-top: 4rpx; margin-left: 50rpx; } .item-btn { width: 144rpx; height: 52rpx; /* background: linear-gradient(135deg, #F34556 0%, #FC8893 100%); */ background: linear-gradient(135deg, #2957CB 0%, #649DFA 100%); border-radius: 144rpx; font-weight: 400; font-size: 24rpx; color: #FFFFFF; text-align: center; line-height: 52rpx; margin-top: 12rpx; margin-left: 50rpx; }