问星数据小程序

commonDetail.wxss 5.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. .liveDetail {
  2. background: #ECECEC;
  3. }
  4. .mainInfo {
  5. width: 100%;
  6. padding: 30rpx 42rpx;
  7. background: #fff;
  8. margin-bottom: 20rpx;
  9. display:flex;
  10. align-items:center;
  11. justify-content:space-between;
  12. position: relative;
  13. }
  14. .mainInfo::after {
  15. height: 190rpx;
  16. width: 184rpx;
  17. content: "";
  18. position: absolute;
  19. right: 0;
  20. bottom: 0;
  21. background-image: url("https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/detail_wt.png");
  22. background-size: 184rpx 190rpx;
  23. }
  24. /* 头部图片 */
  25. .mainImg {
  26. position: relative;
  27. width: 160rpx;
  28. min-height: 160rpx;
  29. height: 160rpx;
  30. vertical-align: middle;
  31. background: #f7f7f7;
  32. overflow: hidden;
  33. }
  34. .targetImg {
  35. width: 100%;
  36. position: absolute;
  37. top: 50%;
  38. -webkit-transform: translateY(-50%);
  39. transform: translateY(-50%);
  40. left: 0;
  41. }
  42. .mainIcon {
  43. display: inline-block;
  44. width: 80rpx;
  45. height: 80rpx;
  46. vertical-align: top;
  47. border-radius: 50%;
  48. }
  49. .echarts {
  50. padding: 30rpx 0rpx;
  51. padding-top: 0;
  52. width: 100%;
  53. height: 680rpx;
  54. position: relative;
  55. z-index: 1;
  56. background: #fff;
  57. }
  58. .echartsBox {
  59. height: 500rpx;
  60. }
  61. .infoText {
  62. flex: 1;
  63. margin-left: 32rpx;
  64. }
  65. .rightInfo {
  66. display: inline-block;
  67. width: calc(100% - 80rpx);
  68. padding-left: 32rpx;
  69. }
  70. .user {
  71. width: 300rpx;
  72. overflow: hidden;
  73. text-overflow: ellipsis;
  74. white-space: nowrap;
  75. margin: auto;
  76. line-height: 40rpx;
  77. display: inline-block;
  78. vertical-align: middle;
  79. text-align: left;
  80. font-size: 28rpx;
  81. color: #333333;
  82. }
  83. .count {
  84. font-size: 24rpx;
  85. color: #888888;
  86. }
  87. .li {
  88. display: inline-block;
  89. width: 33.33%;
  90. text-align: center;
  91. margin-bottom: 20rpx;
  92. }
  93. .btn {
  94. display: block;
  95. text-align: right;
  96. }
  97. .infoText .bottom {
  98. font-size: 24rpx;
  99. margin-top: 16rpx;
  100. }
  101. .infoText .number {
  102. color: #072945;
  103. font-size: 24rpx;
  104. font-weight: bold;
  105. }
  106. .text {
  107. display: inline-block;
  108. width: 100%;
  109. font-size: 24rpx;
  110. line-height: 34rpx;
  111. color: #7D9CAB;
  112. margin-bottom: 10px;
  113. }
  114. .text:last-child {
  115. text-align: right;
  116. }
  117. .number {
  118. color: #333;
  119. font-size: 28rpx;
  120. font-size: 24rpx;
  121. }
  122. .liText {
  123. font-weight: bold;
  124. color: #333333;
  125. font-size: 34rpx;
  126. line-height: 48rpx;
  127. margin-bottom: 40rpx;
  128. }
  129. ul {
  130. background: #fff;
  131. }
  132. .total {
  133. width: 100%;
  134. background: #fff;
  135. padding: 30rpx 20rpx;
  136. font-size: 28rpx;
  137. }
  138. /* 切换tab栏 */
  139. .tabList {
  140. width: 100%;
  141. height: 94rpx;
  142. line-height: 94rpx;
  143. background: #fff;
  144. border-bottom: 2rpx solid rgba(227,227,227,.3);
  145. display: flex;
  146. align-items: center;
  147. justify-content: space-between;
  148. }
  149. .tab {
  150. flex: 1;
  151. line-height: 96rpx;
  152. text-align: center;
  153. }
  154. li {
  155. display: inline-block;
  156. width: 33.3333%;
  157. text-align: center;
  158. }
  159. .tab {
  160. margin-bottom: 0;
  161. font-size: 28rpx;
  162. }
  163. .active {
  164. color: #2A89F3;
  165. position: relative;
  166. }
  167. .active:after {
  168. content: "";
  169. display: block;
  170. width: 52rpx;
  171. height: 4rpx;
  172. border-radius: 8rpx;
  173. background: #2A89F3;
  174. position: absolute;
  175. bottom: 12rpx;
  176. left: 50%;
  177. transform: translateX(-50%);
  178. }
  179. /* 红人列表 */
  180. .hotList .hotItem {
  181. padding: 30rpx 26rpx;
  182. height: 200rpx;
  183. background: #fff;
  184. display: flex;
  185. justify-content: center;
  186. align-items: center;
  187. margin-bottom: 20rpx;
  188. }
  189. .hotItem .img {
  190. width: 120rpx;
  191. height: 120rpx;
  192. overflow: hidden;
  193. border-radius: 50%;
  194. margin: 0 24rpx;
  195. }
  196. .hotItem .info {
  197. flex: 1;
  198. padding-right: 30rpx;
  199. }
  200. .name {
  201. display: block;
  202. color: #000000;
  203. font-size: 28rpx;
  204. font-weight: bold;
  205. width: 400rpx;
  206. overflow: hidden;
  207. text-overflow: ellipsis;
  208. white-space: nowrap;
  209. }
  210. .proItem {
  211. padding: 20rpx 14rpx;
  212. height: 200rpx;
  213. background: #fff;
  214. padding: 6rpx;
  215. display: flex;
  216. justify-content: center;
  217. align-items:center;
  218. margin-bottom: 20rpx;
  219. }
  220. .proItem:last-child {
  221. margin-bottom: 0;
  222. }
  223. .twice {
  224. display: inline-block;
  225. width: 50%;
  226. color: #7D9CAB;
  227. font-size: 24rpx;
  228. }
  229. .twice .number {
  230. color: #333333;
  231. font-weight: bold;
  232. }
  233. .twice:last-child {
  234. text-align: right;
  235. }
  236. .date {
  237. display: block;
  238. color: #888888;
  239. font-size: 20rpx;
  240. line-height: 28rpx;
  241. margin-top: 12rpx;
  242. }
  243. .title {
  244. width: 500rpx;
  245. overflow: hidden;
  246. text-overflow: ellipsis;
  247. white-space: nowrap;
  248. line-height: 20px;
  249. vertical-align: middle;
  250. line-height: 40rpx;
  251. text-align: left;
  252. font-size: 30rpx;
  253. font-weight: bold;
  254. display: block;
  255. }
  256. .desc {
  257. position: fixed;
  258. bottom: 0;
  259. left: 0;
  260. width: 100%;
  261. height: 50rpx;
  262. line-height: 50rpx;
  263. text-align: center;
  264. font-size: 20rpx;
  265. color: #333333;
  266. background: #F3F3F3;
  267. }
  268. /* 空 */
  269. .noneBox {
  270. padding: 40rpx;
  271. text-align: center;
  272. font-size: 24rpx;
  273. color: #444444;
  274. background: #fff;
  275. }
  276. .noneImg {
  277. width: 318rpx;
  278. height: 253rpx;
  279. margin: auto;
  280. }
  281. .noneText {
  282. color: #333333;
  283. font-size: 24rpx;
  284. line-height: 34rpx;
  285. padding-left: 26rpx;
  286. padding-top: 24rpx;
  287. }
  288. .btn {
  289. margin-top: 32rpx;
  290. display: block;
  291. text-align: center;
  292. }
  293. .button {
  294. display: inline-block;
  295. width: 100rpx;
  296. height: 48rpx;
  297. font-size: 24rpx;
  298. padding: 0;
  299. margin: 10rpx;
  300. border-radius: 12rpx;
  301. color: #666666;
  302. border: 2rpx solid #666666;
  303. line-height: 48rpx;
  304. background: transparent;
  305. margin-left: 30rpx;
  306. }
  307. .activeBtn {
  308. color: #2396F3;
  309. border: 2rpx solid #2396F3;
  310. }
  311. .topName {
  312. display: inline-block;
  313. font-size: 26rpx;
  314. line-height: 60rpx;
  315. font-weight: 700;
  316. margin-left: 40rpx;
  317. margin-bottom: -40rpx;
  318. }
  319. .topName::before {
  320. content: "";
  321. width: 22rpx;
  322. height: 22rpx;
  323. background: #2296f3;
  324. display: inline-block;
  325. margin-right: 20rpx;
  326. }
  327. .toTop {
  328. position: fixed;
  329. top: 0;
  330. left: 0;
  331. width: 100%;
  332. z-index: 2;
  333. background: #fff;
  334. }
  335. .liveImg {
  336. position: relative;
  337. width: 120rpx;
  338. height: 120rpx;
  339. margin: 0 24rpx;
  340. }
  341. .liveIng::after {
  342. content: "● 直播中";
  343. background: #FF1674;
  344. border-radius: 18rpx;
  345. font-size: 20rpx;
  346. color: #fff;
  347. width: 108rpx;
  348. height: 36rpx;
  349. line-height: 36rpx;
  350. text-align: center;
  351. position: absolute;
  352. bottom: -8rpx;
  353. left: 50%;
  354. transform: translateX(-50%);
  355. }
  356. .liveHead {
  357. width: 100%;
  358. height: 100%;
  359. display: block;
  360. }