mineSubscribe.wxss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .content {
  28. height: 100vh;
  29. width: 750rpx;
  30. background-color: #ffffff;
  31. }
  32. .content .activeTitle {
  33. position: fixed;
  34. z-index: 9;
  35. width: 100%;
  36. height: 60px;
  37. background-color: white;
  38. border-top: 1px solid lightgray;
  39. display: flex;
  40. justify-content: center;
  41. padding: 0 30px;
  42. font-size: 34rpx;
  43. }
  44. .content .activeTitle .active {
  45. position: relative;
  46. font-weight: bold;
  47. }
  48. .content .activeTitle .active .yun {
  49. width: 80rpx;
  50. height: 0rpx;
  51. position: absolute;
  52. left: 50%;
  53. top: 65%;
  54. -webkit-transform: translate(-50%, -50%);
  55. transform: translate(-50%, -50%);
  56. box-shadow: 0px 0px 10px 2px #4a97f2;
  57. }
  58. .content .activeTitle .left {
  59. width: 50%;
  60. height: 100%;
  61. display: flex;
  62. justify-content: center;
  63. align-items: center;
  64. }
  65. .content .activeTitle .right {
  66. width: 50%;
  67. height: 100%;
  68. display: flex;
  69. justify-content: center;
  70. align-items: center;
  71. }
  72. .content .scroll-view-height {
  73. height: 80vh;
  74. }
  75. .content .scroll-view-height .activeClass {
  76. width: 100%;
  77. }
  78. .content .scroll-view-height .activeClass .classBox {
  79. display: flex;
  80. justify-content: space-between;
  81. padding: 0 47rpx;
  82. background-color: #fff;
  83. height: 144rpx;
  84. }
  85. .content .scroll-view-height .activeClass .classBox .classLeft {
  86. display: flex;
  87. height: 100%;
  88. }
  89. .content .scroll-view-height .activeClass .classBox .classLeft .class_Img {
  90. display: flex;
  91. align-items: center;
  92. flex-grow: 1;
  93. }
  94. .content .scroll-view-height .activeClass .classBox .classLeft .class_Img image {
  95. width: 80rpx;
  96. height: 80rpx;
  97. border-radius: 10rpx;
  98. }
  99. .content .scroll-view-height .activeClass .classBox .classLeft .class_Text {
  100. display: flex;
  101. justify-content: center;
  102. flex-grow: 2;
  103. flex-direction: column;
  104. margin-left: 20rpx;
  105. }
  106. .content .scroll-view-height .activeClass .classBox .classLeft .class_Text .text_Title {
  107. display: flex;
  108. margin-bottom: 6px;
  109. align-items: center;
  110. }
  111. .content .scroll-view-height .activeClass .classBox .classLeft .class_Text .text_Title text:last-child {
  112. color: #000;
  113. font-size: 28rpx;
  114. font-weight: 600;
  115. }
  116. .content .scroll-view-height .activeClass .classBox .classLeft .class_Text .text_Title text.manage {
  117. border: 1px #00b2b6 solid;
  118. font-size: 20rpx;
  119. width: 64rpx;
  120. display: flex;
  121. height: 32rpx;
  122. white-space: nowrap;
  123. justify-content: center;
  124. align-items: center;
  125. border-radius: 5rpx;
  126. margin-right: 10rpx;
  127. color: #00b2b6;
  128. }
  129. .content .scroll-view-height .activeClass .classBox .classLeft .class_Text .text_Intro {
  130. display: flex;
  131. }
  132. .content .scroll-view-height .activeClass .classBox .classLeft .class_Text .text_Intro text {
  133. font-size: 24rpx;
  134. font-weight: 400;
  135. color: #bfbfbf;
  136. width: 90%;
  137. letter-spacing: 2rpx;
  138. display: -webkit-box;
  139. word-break: break-all;
  140. text-overflow: ellipsis;
  141. overflow: hidden;
  142. -webkit-box-orient: vertical;
  143. -webkit-line-clamp: 1;
  144. /*设置 需要显示的行数*/
  145. }
  146. .content .scroll-view-height .activeClass .classBox .classright {
  147. display: flex;
  148. height: 100%;
  149. align-items: center;
  150. }
  151. .content .scroll-view-height .activeClass .classBox .classright image {
  152. width: 38rpx;
  153. height: 42rpx;
  154. }