123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- /**index.wxss**/
- /* 隐藏内容 */
- .none {
- display: none;
- }
- .my {
- width: 100%;
- padding: 0 15rpx;
- box-sizing: border-box;
- }
- .message,
- .medal,
- .ranking {
- width: 100%;
- margin: 20rpx 0;
- border-radius: 25rpx;
- padding: 32rpx 24rpx;
- box-sizing: border-box;
- background: #fff;
- }
- .user {
- display: flex;
- justify-content: space-between;
- border-bottom: 2rpx solid #CDCED3;
- padding-bottom: 20rpx;
- }
- .head {
- display: flex;
- align-items: center;
- }
- .left {
- display: flex;
- flex-direction: column;
- justify-content: center;
- width: 340rpx;
- word-break:keep-all;/* 不换行 */
- white-space:nowrap;/* 不换行 */
- overflow:hidden;/* 内容超出宽度时隐藏超出部分的内容 */
- text-overflow:ellipsis;/* 当对象内文本溢出时显示省略标记(...) ;需与overflow:hidden;一起使用。*/
- margin-left: 34rpx;
- }
- .userinfo-avatar {
- width: 86rpx;
- height: 86rpx;
- border-radius: 50%;
- }
- .name {
- height:44rpx;
- font-size: 36rpx;
- font-weight: 600;
- }
- .LV {
- position: absolute;
- right:100rpx;
- top:110rpx;
- font-size: 24rpx;
- }
- .student {
- height:34rpx;
- font-size: 28rpx;
- color: #8C8C8C;
- margin-top: 10rpx;
- }
- .grade {
- width: 146rpx;
- height: 46rpx;
- font-size: 28rpx;
- font-weight: bolder;
- color: #878787;
- border: 2rpx solid #CECDD2;
- border-radius: 30rpx;
- text-align: center;
- line-height: 48rpx;
- }
- .personal {
- display: flex;
- margin-top: 34rpx;
- }
- .personal .particulars {
- flex: 1;
- display: flex;
- flex-direction: column;
- text-align: center;
- }
- /*排名*/
- .ranking {
- position: relative;
- }
- .ranking .title text{
- font-size: 36rpx;
- font-weight: 600;
- }
- .ranking-con {
- margin-bottom: 70rpx;
- }
- .rank {
- display: flex;
- justify-content: space-between;
- font-size: 28rpx;
- margin-top: 30rpx;
- }
- .particular {
- position: absolute;
- right: 30rpx;
- bottom: 30rpx;
- color: #5E86F8;
- font-size: 28rpx;
- }
- /*勋章*/
- .medal {
- padding: 28rpx;
- }
- .medal .title {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .medal .title text:nth-child(1){
- font-size: 36rpx;
- font-weight: 600;
- }
- .medal .title text:nth-child(2){
- font-size: 28rpx;
- color: #878787;
- }
- .img {
- display: flex;
- margin-top: 38rpx;
- height: 200rpx;
- }
- .img view {
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- margin-right: 15rpx;
- }
- .img image {
- width: 100rpx;
- height: 100rpx;
- }
- .img text {
- font-size: 24rpx;
- color: #878787;
- margin-top: 10rpx;
- }
- .personal .particulars text:nth-child(1) {
- font-size: 24rpx;
- color: #8D8C91;
- }
- .personal .particulars text:nth-child(2) {
- font-size: 28rpx;
- color: #000;
- font-weight: 600;
- }
- .questions, .share {
- width: 100%;
- margin-top: 40rpx;
- }
- .questions text, .share text {
- width: 100%;
- display: inline-block;
- border: 1px solid #ccc;
- background: #fff;
- }
- .questions view, .share view {
- height: 1400rpx;
- margin-top: 20rpx;
- background: red;
- }
- .adsorb {
- position: fixed;
- left: 0;
- top: 84rpx;
- }
|