index.wxss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. .index_uswiper {
  28. width: 95%;
  29. margin: 0 auto;
  30. border-radius: 20rpx !important;
  31. }
  32. .loading {
  33. position: absolute;
  34. top: 0;
  35. left: 0;
  36. z-index: 100;
  37. width: 100%;
  38. height: 100vh;
  39. background-color: rgba(0, 0, 0, 0.5);
  40. display: -webkit-box;
  41. display: -webkit-flex;
  42. display: flex;
  43. -webkit-box-pack: center;
  44. -webkit-justify-content: center;
  45. justify-content: center;
  46. -webkit-box-align: center;
  47. -webkit-align-items: center;
  48. align-items: center;
  49. }
  50. .function {
  51. width: 95%;
  52. margin: 20rpx auto;
  53. display: -webkit-box;
  54. display: -webkit-flex;
  55. display: flex;
  56. -webkit-justify-content: space-around;
  57. justify-content: space-around;
  58. }
  59. .function .function_item {
  60. width: 18%;
  61. text-align: center;
  62. }
  63. .function .function_item image {
  64. width: 90rpx;
  65. height: 90rpx;
  66. }
  67. .function .function_item ._p {
  68. font-size: 24rpx;
  69. }
  70. .equipment {
  71. width: 95%;
  72. margin: 30rpx auto 0;
  73. }
  74. .equipment .equipment_p {
  75. width: 90%;
  76. border-left: 8rpx solid #4BB85F;
  77. font-weight: 700;
  78. padding-left: 20rpx;
  79. margin-bottom: 20rpx;
  80. }
  81. .equipment .equipment_item {
  82. display: -webkit-box;
  83. display: -webkit-flex;
  84. display: flex;
  85. -webkit-flex-wrap: wrap;
  86. flex-wrap: wrap;
  87. -webkit-box-pack: justify;
  88. -webkit-justify-content: space-between;
  89. justify-content: space-between;
  90. }
  91. .equipment .equipment_item .equipment_item_img {
  92. width: 49%;
  93. margin-top: 20rpx;
  94. }
  95. .equipment .equipment_item .equipment_item_img image {
  96. width: 100%;
  97. height: 190rpx;
  98. }