@a-color: #ea0862; .index-content { height: 100%; .acc-title { color: #333; font-size: 16px; margin-bottom: 10px; span { font-size: 18px; color: @a-color; } img { vertical-align: top; margin-left: 10px; width: 22px; height: 22px; } } .index-userdata { background: #fff; padding: 20px; .userdata-img { height: 120px; width: 120px; padding-top: 120px; position: relative; overflow: hidden; border-radius: 50%; float: left; background: #eee; img { height: 120px; width: 120px; position: absolute; top: 0; left: 0; } } .userdata-content { margin-left: 140px; line-height: 30px; position: relative; a { color: @a-color; } .userdata-lvl { span { // color: #fff; // background: @a-color; // border-radius: 2px; padding: 0 4px; } } .userdata-relate { button { border: none; border-radius: 4px; margin-top: 20px; margin-right: 20px; img { height: 20px; vertical-align: middle; } span { color: #fff; } } .relateweixin { background: #12d41e; } .relateqq { background: #3073c1; } .relateweibo { background: #cf331d; } } .userdata-follow { position: absolute; top: 0; right: 10px; } } } .index-record { background: #fff; padding: 20px; margin-top: 1px; .record-list { li { float: left; width: 200px; margin-right: 100px; line-height: 30px; a { color: @a-color; } } } } .index-activity { background: #fff; padding: 20px; margin-top: 20px; min-height: 300px; .activity-list { li { border-bottom: 1px dashed #eee; padding: 10px 0; .list-type { color: #666 } .list-title { color: #333; margin-left: 10px; } a { padding: 0 4px; background: @a-color; color: #fff; border-radius: 2px; float: right; margin: 0 10px; } .list-time { color: #666; float: right; } } } } } .collection { background: #fff; padding: 20px; .avatar-box { height: 80px; width: 80px; padding-top: 80px; margin: 0 auto; position: relative; img { position: absolute; top: 0; left: 0; height: 80px; width: auto; } } .content-title { color: #333; font-size: 16px; } .user-search { margin: 10px 0; >input { width: 140px; } >input, >button, .ant-select { margin-top: 10px; margin-right: 10px; } .search-div { display: inline-block; margin-top: 10px; margin-right: 10px; } } } .modal-box { margin-top: 20px; >button { margin-right: 20px; } }