box.wxss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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. .an {
  28. height: 25px;
  29. width: 25px;
  30. float: left;
  31. position: relative;
  32. top: 42px;
  33. }
  34. .box_head {
  35. position: -webkit-sticky;
  36. position: sticky;
  37. top: 88rpx;
  38. top: 0;
  39. left: 0;
  40. background: #fafafa;
  41. z-index: 2021;
  42. width: 100%;
  43. }
  44. .box_head .box_head_li {
  45. flex: 1;
  46. font-size: 30rpx;
  47. height: 90rpx;
  48. font-weight: bold;
  49. }
  50. .box_head .active {
  51. border-radius: 100rpx;
  52. color: #69a8f8;
  53. }
  54. .box_ul {
  55. padding: 0 30rpx 98rpx 30rpx;
  56. }
  57. .box_ul .box_ul_li {
  58. padding: 15rpx;
  59. margin-bottom: 20rpx;
  60. background: #ffffff;
  61. border-radius: 20rpx;
  62. }
  63. .box_ul .box_ul_li .box_ul_li_img {
  64. width: 30%;
  65. float: left;
  66. margin-right: 20rpx;
  67. }
  68. .box_ul .box_ul_li .box_ul_li_img image {
  69. width: 200rpx;
  70. height: 200rpx;
  71. border-radius: 10rpx;
  72. }
  73. .box_ul .box_ul_li .box_ul_li_main {
  74. flex: 1;
  75. }
  76. .box_ul .box_ul_li .box_ul_li_name {
  77. font-size: 28rpx;
  78. display: flex;
  79. overflow: hidden;
  80. }
  81. .box_ul .box_ul_li .box_ul_li_name text {
  82. display: -webkit-box;
  83. -webkit-box-orient: vertical;
  84. -webkit-line-clamp: 2;
  85. flex: 1;
  86. font-weight: bold;
  87. }
  88. .box_ul .box_ul_li .box_ul_li_price {
  89. margin: 15rpx 0;
  90. }
  91. .box_ul .box_ul_li .box_ul_li_price text {
  92. color: #66a6ff;
  93. font-size: 28rpx;
  94. font-weight: 600;
  95. }
  96. .box_ul .box_ul_li .box_ul_li_price image {
  97. width: 44rpx;
  98. height: 44rpx;
  99. }
  100. .box_ul .box_ul_li .box_ul_li_price .hsj,
  101. .box_ul .box_ul_li .khj,
  102. .box_ul .box_ul_li .xsj {
  103. display: block;
  104. margin: 10rpx 0;
  105. }
  106. .box_ul .box_ul_li .box_ul_li_price .hsj uni-text,
  107. .box_ul .box_ul_li .khj uni-text,
  108. .box_ul .box_ul_li .xsj uni-text {
  109. float: right;
  110. }
  111. .box_ul .box_ul_li .box_ul_li_price .hsj uni-text {
  112. color: #000000;
  113. }
  114. .box_ul .box_ul_li .box_ul_li_time {
  115. color: #999999;
  116. font-size: 22rpx;
  117. align-items: center;
  118. margin-top: 20rpx;
  119. }
  120. .box_ul .box_ul_li .box_ul_li_time uni-text {
  121. line-height: 70rpx;
  122. }
  123. .box_ul .box_ul_li .box_ul_li_time uni-image {
  124. width: 48rpx;
  125. height: 48rpx;
  126. float: right;
  127. }
  128. .box_ul .box_ul_li .box_ul_li_time .item-btn {
  129. background-image: linear-gradient(0deg, #89f7fe 0%, #66a6ff 100%);
  130. color: #ffffff;
  131. border-radius: 19px;
  132. font-size: 28rpx;
  133. margin-left: auto;
  134. width: 200rpx;
  135. height: 60rpx;
  136. float: right;
  137. }
  138. .box_footer {
  139. height: 98rpx;
  140. z-index: 20;
  141. position: fixed;
  142. bottom: 92rpx;
  143. bottom: 0;
  144. width: 100%;
  145. padding: 0 30rpx;
  146. background: #ffffff;
  147. }
  148. .box_footer .box_footer_all image {
  149. width: 44rpx;
  150. height: 44rpx;
  151. margin-right: 10rpx;
  152. }
  153. .box_footer .box_footer_all text {
  154. color: #000000;
  155. font-size: 28rpx;
  156. }
  157. .box_footer .box_footer_li {
  158. color: #ffffff;
  159. width: 200rpx;
  160. height: 70rpx;
  161. border-radius: 39rpx;
  162. font-size: 30rpx;
  163. margin-left: 30rpx;
  164. }
  165. .box_footer .box_footer_li:first-child {
  166. background-color: #ff67a4;
  167. }
  168. .box_footer .box_footer_li:last-child {
  169. background-color: #66a6ff;
  170. }
  171. .donation {
  172. background-color: #fff;
  173. padding: 30rpx 40rpx;
  174. border-radius: 10px;
  175. }
  176. .donation .title {
  177. font-size: 16px;
  178. font-weight: bold;
  179. text-align: center;
  180. margin-bottom: 30rpx;
  181. }
  182. .donation .input-container {
  183. background-color: #f3f3f3;
  184. padding: 16rpx 20rpx;
  185. border-radius: 6rpx;
  186. margin-bottom: 20rpx;
  187. }
  188. .donation .input-container input {
  189. font-size: 30rpx;
  190. }
  191. .donation .tip {
  192. font-size: 12px;
  193. color: red;
  194. text-align: center;
  195. margin-bottom: 30rpx;
  196. }
  197. .donation .donation-btns {
  198. display: flex;
  199. gap: 30rpx;
  200. }
  201. .donation .donation-btns view {
  202. color: #ffffff;
  203. flex: 1;
  204. width: 100%;
  205. height: 70rpx;
  206. border-radius: 39rpx;
  207. font-size: 30rpx;
  208. }
  209. .donation .donation-btns view:first-child {
  210. background: -webkit-linear-gradient(60deg, #ffc8de 0%, #ff67a4 100%);
  211. }
  212. .donation .donation-btns view:last-child {
  213. background: -webkit-linear-gradient(0deg, #89f7fe 0%, #66a6ff 100%);
  214. }