wormcase.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. .particulars {
  28. width: 100%;
  29. position: relative;
  30. top: 140rpx;
  31. display: -webkit-box;
  32. display: -webkit-flex;
  33. display: flex;
  34. -webkit-flex-wrap: wrap;
  35. flex-wrap: wrap;
  36. }
  37. .particulars .particulars_item {
  38. width: 50%;
  39. padding: 20rpx;
  40. box-sizing: border-box;
  41. }
  42. .particulars .particulars_item .imgs {
  43. width: 100%;
  44. height: 220rpx;
  45. position: relative;
  46. }
  47. .particulars .particulars_item .imgs .imgbg {
  48. width: 50%;
  49. height: 50%;
  50. position: absolute;
  51. top: 25%;
  52. left: 25%;
  53. }
  54. .particulars .particulars_item .imgs .imgs_img {
  55. width: 100%;
  56. height: 100%;
  57. position: absolute;
  58. top: 0;
  59. left: 0;
  60. }
  61. .particulars .particulars_item .info {
  62. font-size: 28rpx;
  63. text-align: center;
  64. margin-top: 20rpx;
  65. }
  66. .bases_search {
  67. width: 100%;
  68. position: fixed;
  69. top: 80px;
  70. z-index: 100;
  71. background-color: #FFFFFF;
  72. }
  73. .bases_search .bases_search_text {
  74. width: 90%;
  75. margin: 0 auto;
  76. background-color: #F8F8F8;
  77. height: 60rpx;
  78. border-radius: 30rpx;
  79. display: -webkit-box;
  80. display: -webkit-flex;
  81. display: flex;
  82. line-height: 60rpx;
  83. }
  84. .bases_search .bases_search_text .search {
  85. padding: 0 20rpx;
  86. font-size: 34rpx;
  87. }
  88. .bases_search .bases_search_text input {
  89. width: 80%;
  90. margin-top: 10rpx;
  91. font-size: 28rpx;
  92. }
  93. .top {
  94. position: fixed;
  95. right: 30px;
  96. bottom: 100px;
  97. z-index: 100;
  98. }
  99. .top image {
  100. width: 100rpx;
  101. height: 100rpx;
  102. }