问星数据小程序

index.wxss 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /* pages/liveDetail/index.wxss */
  2. @import '../../assets/css/commonDetail.wxss';
  3. /* @import '../../assets/css/liveList.wxss'; */
  4. .liveDetail {
  5. box-sizing: border-box;
  6. padding: 20rpx 0rpx;
  7. background: #f7f7f7;
  8. }
  9. .item {
  10. background: #fff;
  11. padding: 20rpx;
  12. display:flex;
  13. align-items:center;
  14. justify-content:space-between;
  15. }
  16. .topicImg {
  17. height: 160rpx;
  18. position: absolute;
  19. left: 50%;
  20. -webkit-transform: translateX(-50%);
  21. transform: translateX(-50%);
  22. top: 0;
  23. }
  24. .caption {
  25. width: 100%;
  26. font-size: 28rpx;
  27. max-height: 80rpx;
  28. line-height: 40rpx;
  29. font-weight: bold;
  30. overflow: hidden;
  31. word-break: break-all;
  32. text-overflow: ellipsis;
  33. display: -webkit-box;
  34. -webkit-box-orient: vertical;
  35. -webkit-line-clamp: 2;
  36. margin-bottom: 6rpx;
  37. }
  38. .topName {
  39. display: inline-block;
  40. font-size: 26rpx;
  41. line-height: 60rpx;
  42. font-weight: 700;
  43. margin-bottom: -40rpx;
  44. }
  45. .topName::before {
  46. content: "";
  47. width: 22rpx;
  48. height: 22rpx;
  49. background: #2296f3;
  50. display: inline-block;
  51. margin-right: 20rpx;
  52. }
  53. .canvas {
  54. background: #fff;
  55. }
  56. .listInfo {
  57. background: #ffffff;
  58. display: flex;
  59. align-items: center;
  60. justify-content: space-between;
  61. margin-bottom: 20rpx;
  62. padding: 30rpx 26rpx;
  63. margin-bottom: 20rpx;
  64. background: #fff;
  65. }
  66. .coverImg {
  67. display: inline-block;
  68. width: 162rpx;
  69. height: 200rpx;
  70. overflow: hidden;
  71. position: relative;
  72. }
  73. .cover {
  74. float: left;
  75. width: 100%;
  76. height: auto;
  77. position: absolute;
  78. top: 50%;
  79. transform: translateY(-50%);
  80. left: 0;
  81. }
  82. .info {
  83. flex: 1;
  84. padding-left: 30rpx;
  85. }
  86. .nameInfo {
  87. margin-top: 6rpx;
  88. width: 100%;
  89. font-size: 24rpx;
  90. color: #333333;
  91. margin-top: 12rpx;
  92. }
  93. .userName {
  94. display: block;
  95. }
  96. .headurl {
  97. display: inline-block;
  98. width: 34rpx;
  99. height: 34rpx;
  100. border-radius: 50%;
  101. vertical-align: middle;
  102. }
  103. .bottom {
  104. width: 100%;
  105. font-size: 28rpx;
  106. line-height: 34rpx;
  107. color: #aaa;
  108. margin-top: 4rpx;
  109. }
  110. .listInfo .title {
  111. display: inline-block;
  112. width: 300rpx;
  113. padding-left: 8rpx;
  114. font-size: 24rpx;
  115. }