topic.wxss 2.2 KB

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