topic.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. /* pages/home/components/topic/topic.wxss */
  2. .topic {
  3. width: 750rpx;
  4. }
  5. .topTable {
  6. display: flex;
  7. margin-bottom: 10px;
  8. }
  9. .topTable .topicTable {
  10. flex: 1;
  11. white-space: nowrap;
  12. }
  13. .topTable .topicTable .topicItem {
  14. padding: 5px 0 5px 5px;
  15. }
  16. .topic .itemView {
  17. padding: 5px 10px
  18. }
  19. .topic .localCells {
  20. height: 40px;
  21. line-height: 40px;
  22. }
  23. .topic .pKvm {
  24. text-align: right;
  25. margin-right: 10px;
  26. margin-top: -20px;
  27. }
  28. .topic .kvm {
  29. display: inline-block;
  30. width: 3.5em;
  31. color: #fff;
  32. background-color: #1989fa;
  33. height: 3.5em;
  34. border-radius: 50%;
  35. text-align: center;
  36. box-shadow: 0 0 7px #1989fa;
  37. }
  38. .topic .kvmText {
  39. padding-top: 0.7em;
  40. width: 2em;
  41. margin: 0 auto;
  42. line-height: 1.1em;
  43. color: #bfcbd9;
  44. font-weight: 400;
  45. }
  46. .show {
  47. display: inline-block;
  48. /* border: 1rpx solid #e2dd52;
  49. color: #e2dd52; */
  50. border: 1rpx solid #1989fa;
  51. color: #1989fa;
  52. width: var(--tips-btn);
  53. height: var(--tips-btn);
  54. line-height: var(--tips-btn);
  55. font-size: 12px;
  56. text-align: center;
  57. border-radius: 50%;
  58. }
  59. .self_toptips {
  60. background-color: rgba(0, 0, 0, .3);
  61. }
  62. .modolBg {
  63. position: fixed;
  64. top: 0;
  65. left: 0;
  66. right: 0;
  67. bottom: 0;
  68. z-index: 1;
  69. background-color: rgba(0, 0, 0, .5);
  70. }
  71. .local_dialog {
  72. top: 50%;
  73. left: 50%;
  74. width: 600rpx;
  75. position: absolute;
  76. border-radius: 1em;
  77. background-color: #eee;
  78. transform: translate(-50%, -50%);
  79. }
  80. .local_dialog_title {
  81. position: relative;
  82. text-align: right;
  83. padding: 8px 15px;
  84. margin-bottom: 1rpx;
  85. line-height: 1.5em;
  86. }
  87. .local_dialog_close {
  88. float: right;
  89. position: relative;
  90. width: 1.5em;
  91. height: 1.5em;
  92. }
  93. .local_dialog_title .title {
  94. font-size: 16px;
  95. height: 25px;
  96. white-space: pre-wrap;
  97. text-align: center;
  98. line-height: 25px;
  99. color: #121212;
  100. text-align: center;
  101. }
  102. .local_dialog_close_left,
  103. .local_dialog_close_right {
  104. position: absolute;
  105. width: 100%;
  106. height: 1rpx;
  107. background-color: #121212;
  108. top: 50%;
  109. transform: rotate(45deg);
  110. }
  111. .local_dialog_close_right {
  112. transform: rotate(135deg);
  113. }
  114. .local_dialog_body {
  115. max-height: 60vh;
  116. overflow-y: scroll;
  117. padding: 8px 15px 15px 15px;
  118. white-space: normal;
  119. line-height: 2em;
  120. font-size: 14px;
  121. color: #222;
  122. }