You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

263 lines
5.3 KiB

6 months ago
  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. /*文字颜色*/
  23. /* 图片尺寸 */
  24. /* Border Radius */
  25. /* 水平间距 */
  26. /* 垂直间距 */
  27. /* 透明度 */
  28. /* 文章场景相关 */
  29. page,
  30. view,
  31. scroll-view,
  32. swiper,
  33. button,
  34. input,
  35. textarea,
  36. label,
  37. navigator,
  38. image {
  39. box-sizing: border-box !important;
  40. }
  41. image {
  42. vertical-align: top;
  43. }
  44. .buy-list {
  45. width: 86%;
  46. padding: 10rpx 3%;
  47. margin: 30rpx auto 20rpx auto;
  48. box-shadow: 0rpx 5rpx 20rpx rgba(0, 0, 0, 0.1);
  49. border-radius: 20rpx;
  50. }
  51. .buy-list .list_top {
  52. display: flex;
  53. justify-content: space-between;
  54. padding: 10rpx;
  55. }
  56. .buy-list .list_top .tip {
  57. color: #A2A2A2;
  58. font-size: 30rpx;
  59. }
  60. .buy-list .checkbox-box {
  61. display: flex;
  62. align-items: center;
  63. }
  64. .buy-list .checkbox-box .checkbox {
  65. width: 35rpx;
  66. height: 35rpx;
  67. border-radius: 100%;
  68. border: solid 2rpx #f06c7a;
  69. display: flex;
  70. justify-content: center;
  71. align-items: center;
  72. }
  73. .buy-list .checkbox-box .checkbox .on {
  74. width: 25rpx;
  75. height: 25rpx;
  76. border-radius: 100%;
  77. background-color: #f06c7a;
  78. }
  79. .buy-list .checkbox-box .text {
  80. font-size: 28rpx;
  81. margin-left: 10rpx;
  82. }
  83. .buy-list .row {
  84. margin: 30rpx 0;
  85. }
  86. .buy-list .row .goods-info {
  87. width: 100%;
  88. display: flex;
  89. border-bottom: 1rpx solid #E0E0E0;
  90. padding-bottom: 15rpx;
  91. }
  92. .buy-list .row .goods-info .img {
  93. width: 22vw;
  94. height: 22vw;
  95. border-radius: 10rpx;
  96. overflow: hidden;
  97. flex-shrink: 0;
  98. margin-right: 10rpx;
  99. }
  100. .buy-list .row .goods-info .img image {
  101. width: 22vw;
  102. height: 22vw;
  103. }
  104. .buy-list .row .goods-info .info {
  105. width: 100%;
  106. height: 22vw;
  107. overflow: hidden;
  108. display: flex;
  109. flex-wrap: wrap;
  110. position: relative;
  111. }
  112. .buy-list .row .goods-info .info .title {
  113. width: 100%;
  114. font-size: 28rpx;
  115. display: -webkit-box;
  116. -webkit-box-orient: vertical;
  117. -webkit-line-clamp: 2;
  118. overflow: hidden;
  119. }
  120. .buy-list .row .goods-info .info .spec {
  121. font-size: 22rpx;
  122. background-color: #f3f3f3;
  123. color: #a7a7a7;
  124. height: 40rpx;
  125. display: flex;
  126. align-items: center;
  127. padding: 0 10rpx;
  128. border-radius: 20rpx;
  129. margin-top: 10vm;
  130. }
  131. .buy-list .row .goods-info .info .foodnum {
  132. font-size: 26rpx;
  133. height: 40rpx;
  134. display: flex;
  135. align-items: center;
  136. padding: 0 10rpx;
  137. margin-bottom: 10vw;
  138. display: block;
  139. color: #999;
  140. padding-top: 10rpx;
  141. }
  142. .buy-list .row .goods-info .info .price-number {
  143. position: absolute;
  144. width: 100%;
  145. bottom: 0rpx;
  146. display: flex;
  147. justify-content: space-between;
  148. align-items: flex-end;
  149. font-size: 28rpx;
  150. height: 40rpx;
  151. }
  152. .buy-list .row .goods-info .info .price-number .price {
  153. color: #f06c7a;
  154. }
  155. .buy-list .row .goods-info .info .price-number .number {
  156. display: flex;
  157. justify-content: center;
  158. align-items: center;
  159. }
  160. .buy-list .row .goods-info .info .input {
  161. width: 100rpx;
  162. height: 45rpx;
  163. margin: 0 10rpx;
  164. border-bottom: 1rpx #ADADAD solid;
  165. }
  166. .buy-list .row .goods-info .info .input input {
  167. width: 80rpx;
  168. height: 40rpx;
  169. display: flex;
  170. justify-content: center;
  171. align-items: center;
  172. text-align: center;
  173. font-size: 26rpx;
  174. }
  175. .order {
  176. width: 86%;
  177. padding: 10rpx 3%;
  178. margin: 30rpx auto 20rpx auto;
  179. box-shadow: 0rpx 5rpx 20rpx rgba(0, 0, 0, 0.1);
  180. border-radius: 20rpx;
  181. }
  182. .order .row {
  183. margin: 20rpx 0;
  184. height: 40rpx;
  185. display: flex;
  186. }
  187. .order .row .left {
  188. font-size: 28rpx;
  189. }
  190. .order .row .right {
  191. margin-left: 40rpx;
  192. font-size: 26rpx;
  193. color: #999;
  194. }
  195. .order .row .right input {
  196. font-size: 26rpx;
  197. color: #999;
  198. }
  199. .blck {
  200. width: 100%;
  201. height: 100rpx;
  202. }
  203. .footer {
  204. width: 100%;
  205. padding: 0 4%;
  206. background-color: #fbfbfb;
  207. height: 100rpx;
  208. display: flex;
  209. justify-content: flex-end;
  210. align-items: center;
  211. font-size: 28rpx;
  212. position: fixed;
  213. bottom: 0rpx;
  214. z-index: 5;
  215. }
  216. .footer .settlement {
  217. width: 80%;
  218. display: flex;
  219. justify-content: flex-end;
  220. align-items: center;
  221. }
  222. .footer .settlement .sum {
  223. width: 50%;
  224. font-size: 28rpx;
  225. margin-right: 10rpx;
  226. display: flex;
  227. justify-content: flex-end;
  228. }
  229. .footer .settlement .sum .money {
  230. font-weight: 600;
  231. }
  232. .footer .settlement .btn {
  233. padding: 0 30rpx;
  234. height: 60rpx;
  235. background-color: #f06c7a;
  236. color: #fff;
  237. display: flex;
  238. justify-content: center;
  239. align-items: center;
  240. font-size: 30rpx;
  241. border-radius: 40rpx;
  242. }
  243. .detail {
  244. width: 86%;
  245. padding: 10rpx 3%;
  246. margin: 30rpx auto 20rpx auto;
  247. box-shadow: 0rpx 5rpx 20rpx rgba(0, 0, 0, 0.1);
  248. border-radius: 20rpx;
  249. }
  250. .detail .row {
  251. height: 60rpx;
  252. display: flex;
  253. justify-content: space-between;
  254. align-items: center;
  255. }
  256. .detail .row .nominal {
  257. font-size: 28rpx;
  258. }
  259. .detail .row .content {
  260. font-size: 26rpx;
  261. color: #f06c7a;
  262. }