/* pages/card/card.wxss */ page { background-color: #eee; } .card_info { position: relative; width: 100%; height: 360rpx; background-color: white } .card_info .content { position: absolute; top: 10px; right: 10px; left: 10px; bottom: 10px; background-color: rgb(35, 24, 23); border-radius: 8px; } .user_head { float: left; margin-top: 20px; margin-left: 20px; width: 108rpx; height: 108rpx; border-radius: 50%; background-color: #999; } .user_name { float: left; margin-top: 20px; color: white; width: 125px; height: 96rpx; padding-left: 20rpx; line-height: 96rpx; } .user_no { position: absolute; color: white; left: 0px; right: 0px; height: 120rpx; bottom: 15rpx; padding-left: 20px; line-height: 140rpx; } .user_card_info { width: 100%; height: 120rpx; line-height: 120rpx; background-color: white; } .user_card_info .card_content_info { width: 50%; height: 100%; float: left; } .card_content_top{ text-align: center; width: 100%; height: 50%; font-size: 16px; line-height: 60rpx; } .card_content_bottom{ text-align: center; width: 100%; height: 50%; color: red; line-height: 60rpx; } .user_top_common { margin-top: 10px; width: 100%; height: 100rpx; line-height: 100rpx; font-size: 16px; background-color: white; } .user_bottom_common { margin-top: 1px; width: 100%; height: 100rpx; font-size: 16px; line-height: 100rpx; background-color: white; } .user_line { margin-left: 20px; right: 0px; height: 1px; background-color: #eee; } .user_text { margin-left: 20px; float: left; } .iconfont { color: #999; font-size: 16px; float: right; margin-right: 15px; }