childsCard.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. .card_select{
  2. padding-top: 20rpx;
  3. font-size: 24rpx;
  4. display: flex;
  5. flex-direction: row;
  6. background-image: linear-gradient(rgba(241,77,84,.5),rgba(255,255,255,0)),url('http://img.bbztx.com/image_test/upload/thumbs/20210324/logo/1616578769742047965.png');
  7. align-items: center;
  8. background-size: 100%;
  9. }
  10. .card_select .middleCard{
  11. border-radius: 20rpx;
  12. color: #fff;
  13. flex: 1;
  14. margin:0 40rpx;
  15. }
  16. .card_select .middleCard .scroll{
  17. width: auto;
  18. white-space: nowrap;
  19. }
  20. .card_select .leftIcon{
  21. left: 0;
  22. }
  23. .card_select .rightIcon{
  24. right: 0;
  25. transform: rotate(180deg);
  26. }
  27. .card_select .icon{
  28. position: absolute;
  29. width: 40rpx;
  30. height: 100rpx;
  31. }
  32. .card_select .iconUrl{
  33. background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAA3CAYAAADjcwGrAAACa0lEQVRYhZWYPWsUURSGn11DVFC0SEinhQhqa/zoRNDO2EWtVPzEr1/jGhU0xiixUSvTpNJCsRNEK0UrsVAkhRAQycqJd5fdeefce+Yp3zk8zM6euefeaf2Yu0sDdgBbC+WrIxL5jAKvgQm34j+LbYl8TgSERqeJ9JokymdgKSrdCxyUVJmxZxqVXpdE+Q08sDQiHQNOSqo8AZaj0nPARkmVTi8pSe36VUmVV8D7qHQK2C6pMlO9kxyRu/wOPI9KdwFHJVVuA3+jUrvLlqTD/AHuVUNPugk4LanyLP38kNSEWyRVOpI40lbwPX8HvJHUkR4C9kiq3JIkI70hifILWJDUkW4DjkuVMgusSOpILwGlabCaetNlUDqapCUWgS+5mkHpKWBcKhT3D6qTXpGrytq4kNSRTgbHhTV7V1JHGmkjGxcPJa2hncbFtF4SFnrjIiK9EBwXNyVxMOnl+ktD2Dv+QVKHdrB4Z+rjsLR2+aowHhzTfelS6r8SkXnVl3Yjb0nq40lJa+j16VzqwxKRfu5Ll3Pr4wDTqa+zDL77kT60fj4vqXOnpNZ6KRWK/WHrJHWklBbfhE2HY5JmpLZ9+SZVSnbaVqW2fbkjVcoRYLekjtS4n7YzOVq5Rb1OatuYp5IqZ9P2SKiTEmyvzcAZSTPSt2lbU6J2Z+hJCa5etj063ERqp42fkipyHMpJV9JCU2IqvRAhKb0TnKTDjFRHUkn6FXghqWLbpfVRKdXjjMPQqTAitXHzSVKlP24i0m6wvQ4A+6NSYz44btZWr6jUxs3jQJ19vRhr8mUi8gg2ABebfJj5CDwqnlxg3z/37mA2QhXBLgAAAABJRU5ErkJggg==') no-repeat center;
  34. background-size: 20rpx 60rpx;
  35. }
  36. .card{
  37. border-radius: 20rpx;
  38. position: relative;
  39. box-shadow: 0 6rpx 15rpx rgba(51,51,51,.7);
  40. margin:0 20rpx;
  41. background:#ea464d url('http://img.bbztx.com/image_test/upload/thumbs/20210324/logo/1616573912900003653.png') no-repeat;
  42. background-size: 100% 100%;
  43. }
  44. .card .logo_title{
  45. width: 70rpx;
  46. position: absolute;
  47. top: -35rpx;
  48. left: 0;
  49. }
  50. .card .right_level{
  51. position: absolute;
  52. top: 0;
  53. right: 0;
  54. background: #ed9296;
  55. border-bottom-left-radius: 20rpx;
  56. border-top-right-radius: 20rpx;
  57. padding: 0 10rpx;
  58. }
  59. .card .right_level .level{
  60. transform: scale(.7,.7);
  61. color: #ea464d;
  62. font-weight: 800;
  63. }
  64. .card .childInfo{
  65. padding: 20rpx 40rpx;
  66. display: flex;
  67. flex-direction: row;
  68. }
  69. .card .childInfo .headImg{
  70. width: 110rpx;
  71. height: 110rpx;
  72. margin: 0 20rpx 0 40rpx;
  73. }
  74. .card .childInfo .headImg image{
  75. width: 100%;
  76. height: 100%;
  77. border-radius: 10rpx;
  78. }
  79. .card .childInfo .info{
  80. display: flex;
  81. flex-direction: column;
  82. }
  83. .card .childInfo .info .left_info{
  84. display: flex;
  85. flex-direction: row;
  86. align-items: flex-end;
  87. margin-bottom: 10rpx;
  88. }
  89. .card .childInfo .info .medal{
  90. margin-bottom: 25rpx;
  91. }
  92. .card .childInfo .left_info .info_name{
  93. font-size: 42rpx;
  94. font-weight: 700;
  95. font-style: oblique;
  96. margin-right: 30rpx;
  97. padding-right: 20rpx;
  98. overflow: hidden;
  99. text-overflow: ellipsis;
  100. white-space: nowrap;
  101. }
  102. .card .childInfo .left_info .days{
  103. white-space: nowrap;
  104. }
  105. .card .childInfo .moreActive{
  106. margin-top: 10rpx;
  107. }
  108. .card .childInfo .info_buttom{
  109. display: flex;
  110. flex-direction: row;
  111. align-items: flex-end;
  112. }
  113. .card .childInfo .info_buttom .level{
  114. margin-right: 20rpx;
  115. }
  116. .card .childInfo .info_buttom .btn{
  117. background: #fff;
  118. border-radius: 30rpx;
  119. color: #ea464d;
  120. padding: 4rpx 10rpx;
  121. line-height: 1;
  122. box-shadow: 0 -5rpx 4rpx #ed9296 inset;
  123. }