jr-produce-top.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. .top {
  28. margin-top: 25px;
  29. margin-bottom: 10rpx;
  30. width: 750rpx;
  31. height: 605rpx;
  32. background: #FFFFFF;
  33. padding-top: 19rpx;
  34. padding-left: 23rpx;
  35. padding-right: 23rpx;
  36. box-sizing: border-box;
  37. }
  38. .top .list-item {
  39. display: -webkit-box;
  40. display: -webkit-flex;
  41. display: flex;
  42. -webkit-flex-wrap: wrap;
  43. flex-wrap: wrap;
  44. -webkit-box-pack: justify;
  45. -webkit-justify-content: space-between;
  46. justify-content: space-between;
  47. }
  48. .top .list-item .item {
  49. width: 332rpx;
  50. height: 169rpx;
  51. background: #2873FF;
  52. border-radius: 10rpx;
  53. margin-bottom: 24rpx;
  54. }
  55. .top .list-item .item .num {
  56. margin-left: 42rpx;
  57. margin-top: 17rpx;
  58. margin-bottom: 11rpx;
  59. width: 291rpx;
  60. height: 87rpx;
  61. font-size: 62rpx;
  62. font-family: PingFangSC-Semibold, PingFang SC;
  63. font-weight: 600;
  64. color: #FFFFFF;
  65. line-height: 87rpx;
  66. }
  67. .top .list-item .item .name {
  68. width: 332rpx;
  69. height: 54rpx;
  70. background: rgba(35, 38, 39, 0.2);
  71. border-radius: 10rpx;
  72. padding-left: 39rpx;
  73. box-sizing: border-box;
  74. }
  75. .top .list-item .item .name text {
  76. width: 291px;
  77. height: 52rpx;
  78. font-size: 29rpx;
  79. font-family: PingFangSC-Semibold, PingFang SC;
  80. font-weight: 600;
  81. color: #FFFFFF;
  82. line-height: 42rpx;
  83. }