shai.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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. .shai-btn {
  28. position: fixed;
  29. bottom: 70px;
  30. right: 10px;
  31. width: 70rpx;
  32. height: 70rpx;
  33. border-radius: 50%;
  34. }
  35. .s-bt {
  36. display: block;
  37. }
  38. .s-tx {
  39. height: 80rpx;
  40. width: 80rpx;
  41. float: left;
  42. }
  43. .s-tx image {
  44. border-radius: 40rpx;
  45. }
  46. .s-mc {
  47. float: left;
  48. line-height: 80rpx;
  49. padding-left: 30rpx;
  50. font-size: 26rpx;
  51. }
  52. .s-sj {
  53. float: right;
  54. line-height: 80rpx;
  55. padding-right: 10rpx;
  56. color: #999;
  57. }
  58. .s-qc {
  59. clear: both;
  60. }
  61. .s-zw {
  62. padding: 20rpx 0;
  63. justify-content: space-between;
  64. color: var(--mainColor);
  65. font-size: 16px;
  66. text-align: justify;
  67. line-height: 1.6;
  68. }
  69. .s-img-box {
  70. float: left;
  71. }
  72. .s-img-box image {
  73. width: 190rpx;
  74. height: 120rpx;
  75. margin-bottom: 16rpx;
  76. margin-left: 16rpx;
  77. }
  78. .s-img-box text {
  79. color: #000000;
  80. font-size: 26rpx;
  81. }
  82. .box_head {
  83. position: -webkit-sticky;
  84. position: sticky;
  85. top: 88rpx;
  86. left: 0;
  87. background: #fafafa;
  88. z-index: 2021;
  89. width: 100%;
  90. }
  91. .box_head .box_head_li {
  92. flex: 1;
  93. font-size: 30rpx;
  94. height: 90rpx;
  95. font-weight: bold;
  96. }
  97. .box_head .active {
  98. color: #f6af32;
  99. }
  100. .box_ul {
  101. padding: 0 30rpx 98rpx 30rpx;
  102. }
  103. .box_ul .box_ul_li {
  104. padding: 30rpx;
  105. margin-bottom: 20rpx;
  106. background: #ffffff;
  107. border-radius: 20rpx;
  108. }
  109. .box_ul .box_ul_li .box_ul_li_img {
  110. margin-right: 20rpx;
  111. }
  112. .box_ul .box_ul_li .box_ul_li_img image {
  113. width: 168rpx;
  114. height: 168rpx;
  115. border-radius: 10rpx;
  116. }
  117. .box_ul .box_ul_li .box_ul_li_main {
  118. flex: 1;
  119. }
  120. .box_ul .box_ul_li .box_ul_li_name {
  121. font-size: 28rpx;
  122. display: -webkit-box;
  123. -webkit-box-orient: vertical;
  124. -webkit-line-clamp: 2;
  125. overflow: hidden;
  126. }
  127. .box_ul .box_ul_li .box_ul_li_price {
  128. margin: 15rpx 0;
  129. }
  130. .box_ul .box_ul_li .box_ul_li_price text {
  131. color: #cf271b;
  132. font-size: 28rpx;
  133. }
  134. .box_ul .box_ul_li .box_ul_li_price image {
  135. width: 44rpx;
  136. height: 44rpx;
  137. }
  138. .box_ul .box_ul_li .box_ul_li_time {
  139. color: #999999;
  140. font-size: 22rpx;
  141. }
  142. .box_footer {
  143. height: 98rpx;
  144. z-index: 20;
  145. position: fixed;
  146. bottom: 50px;
  147. width: 100%;
  148. padding: 0 30rpx;
  149. background: #ffffff;
  150. }
  151. .box_footer .box_footer_all image {
  152. width: 44rpx;
  153. height: 44rpx;
  154. margin-right: 10rpx;
  155. }
  156. .box_footer .box_footer_all text {
  157. color: #000000;
  158. font-size: 28rpx;
  159. }
  160. .box_footer .box_footer_li {
  161. color: #ffffff;
  162. width: 220rpx;
  163. height: 78rpx;
  164. border-radius: 39rpx;
  165. font-size: 30rpx;
  166. margin-left: 30rpx;
  167. }
  168. .box_footer .box_footer_li:first-child {
  169. background: #fa7e48;
  170. }
  171. .box_footer .box_footer_li:last-child {
  172. background: #f6af32;
  173. }
  174. .jjqd {
  175. margin-top: 50rpx;
  176. text-align: center;
  177. color: #000000;
  178. font-size: 52rpx;
  179. }