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.

395 lines
9.4 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. page {
  45. position: relative;
  46. }
  47. @font-face {
  48. font-family: "HMfont-home";
  49. src: url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAOEAAsAAAAAB7wAAAM1AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDHAqDAIJNATYCJAMQCwoABCAFhG0HPhu1BsiOw7jha84s8T+CgOyq6unevTlAeAkRhAhQBjj8eJfmMg/oB5whSgaFspy7AqbpwE3Py3/j9j+X07uGyFHr21lua9HYi9rUCzDeGtBYmw4o0AJJ0BvGLmiJxyEAC3yIQhSVPL9BF4U5TgBi7ChtQzfjQKFYWEdgrFiqEBsxoGurtMfAhuD74g8JQgcNg8ScWjf8xoPz7/nfD8iFpoV0eQi86XQAWwUSiAIUiJGVhgEaUSAKiYXau0kKoKOjwVRthd8PmExIBRvmWH95INCQIIyYqVYAJKGghO/5Dg4B3wtxaPD9QAoS4IOM1gEzYBbAMkT16iIQGPxsopS5ScAcK23LiaBDpzyk1aGLHtsvhVrL7adDD55016wPXnDfcr7T3lcE2TVcP2fNhZM7WeiEhVp44vx9C5vVD6+eEgaLTZvEot3HL1lawlnXLK3XnISDllbWwmrmGjlRLdxq2bpme1RAeqXtzWh6g0F//wCCnRiN2diwr2+Yse3iEs20g05Q5tT0BikOXwKf79vsoEvb6p6xjVhHP92nwDJmX+9hwsf26dXbPiNvZ/98x67/+5T+ev0aWxbXCwOX41zLxia+O73B6Y57fN1u6GvN+Zmbc8XITigTAcB0Rl6X8QB4hDgEpoXypZz2q37D5FVnVa9t1n/dUgHw8uKMq9BmWqjoJoP3zevM+zG8jmVKE5hKpRShw9WTFZW04D7TscAC+B0RcOD9FHLnzqkg0HFOQMMMb5DoBKGKGgUGLEkCIzq5YEEkpastcWQyDYQyByJYBkBgx2nQsOEaSOx4girqOzDgwj8wYickWNAiHLe0JESMsiicTLaQh84PBm6WKlst/TD9hXQV25wWBLQP4jJw435MXD58RynxFDPKT30golBxluAtOI3iOMOcs5Bc2fFF8sPd2OFVBO24WQJ9CmEIG4HwQAb4ARmFS0aK8qoL/cLnXyA0FTE23FBSZf+AYEqCzpF4YojrgN5J004lt/LKFD7RHDAVQYEMh8lIQErAICImJgOZWD0ohHARdhg5wJdzSKxVaXhX6c7y8uQN1wAWmLOU0IQUShiQo0fZTceadqaMdP2uXwEAAAAA") format("woff2");
  50. }
  51. .icon {
  52. font-family: "HMfont-home" !important;
  53. font-size: 60rpx;
  54. font-style: normal;
  55. color: #000000;
  56. }
  57. .icon.jia:before {
  58. content: "\e641";
  59. }
  60. .icon.jian:before {
  61. content: "\e643";
  62. }
  63. .icon.shanchu:before {
  64. content: "\e6a4";
  65. }
  66. .checkbox-box {
  67. display: flex;
  68. align-items: center;
  69. }
  70. .checkbox-box .sellq {
  71. font-size: 28rpx;
  72. color: #ffffff;
  73. background-color: #C4C4C4;
  74. padding: 5rpx 20rpx;
  75. text-align: center;
  76. border-radius: 25rpx;
  77. }
  78. .checkbox-box .checkbox {
  79. width: 35rpx;
  80. height: 35rpx;
  81. border-radius: 100%;
  82. border: solid 2rpx #f06c7a;
  83. display: flex;
  84. justify-content: center;
  85. align-items: center;
  86. }
  87. .checkbox-box .checkbox .on {
  88. width: 25rpx;
  89. height: 25rpx;
  90. border-radius: 100%;
  91. background-color: #f06c7a;
  92. }
  93. .checkbox-box .text {
  94. font-size: 28rpx;
  95. margin-left: 10rpx;
  96. }
  97. .status {
  98. width: 100%;
  99. height: 0;
  100. position: fixed;
  101. z-index: 10;
  102. background-color: #fff;
  103. top: 0;
  104. }
  105. .header {
  106. width: 92%;
  107. padding: 0 4%;
  108. height: 100rpx;
  109. display: flex;
  110. align-items: center;
  111. position: fixed;
  112. top: 0;
  113. z-index: 10;
  114. background-color: #fff;
  115. }
  116. .header .title {
  117. font-size: 36rpx;
  118. }
  119. .place {
  120. background-color: #ffffff;
  121. height: 100rpx;
  122. }
  123. .goods-list {
  124. width: 100%;
  125. padding: 20rpx 0 120rpx 0;
  126. }
  127. .goods-list .tis {
  128. width: 100%;
  129. height: 60rpx;
  130. display: flex;
  131. justify-content: center;
  132. align-items: center;
  133. font-size: 32rpx;
  134. }
  135. .goods-list .row {
  136. width: calc(92%);
  137. height: calc(25vw + 40rpx);
  138. margin: 20rpx auto;
  139. border-radius: 15rpx;
  140. box-shadow: 0rpx 5rpx 20rpx rgba(0, 0, 0, 0.1);
  141. display: flex;
  142. align-items: center;
  143. position: relative;
  144. overflow: hidden;
  145. z-index: 4;
  146. border: 0;
  147. }
  148. .goods-list .row .menu {
  149. position: absolute;
  150. width: 30%;
  151. height: 100%;
  152. right: 0;
  153. display: flex;
  154. justify-content: center;
  155. align-items: center;
  156. background-color: red;
  157. color: #fff;
  158. z-index: 2;
  159. }
  160. .goods-list .row .menu .icon {
  161. color: #fff;
  162. }
  163. .goods-list .row .carrier {
  164. background-color: #fff;
  165. position: absolute;
  166. width: 100%;
  167. padding: 0 0;
  168. height: 100%;
  169. z-index: 3;
  170. display: flex;
  171. align-items: center;
  172. }
  173. @-webkit-keyframes showMenu {
  174. 0% {
  175. -webkit-transform: translateX(0);
  176. transform: translateX(0);
  177. }
  178. 100% {
  179. -webkit-transform: translateX(-30%);
  180. transform: translateX(-30%);
  181. }
  182. }
  183. @keyframes showMenu {
  184. 0% {
  185. -webkit-transform: translateX(0);
  186. transform: translateX(0);
  187. }
  188. 100% {
  189. -webkit-transform: translateX(-30%);
  190. transform: translateX(-30%);
  191. }
  192. }
  193. @-webkit-keyframes closeMenu {
  194. 0% {
  195. -webkit-transform: translateX(-30%);
  196. transform: translateX(-30%);
  197. }
  198. 100% {
  199. -webkit-transform: translateX(0);
  200. transform: translateX(0);
  201. }
  202. }
  203. @keyframes closeMenu {
  204. 0% {
  205. -webkit-transform: translateX(-30%);
  206. transform: translateX(-30%);
  207. }
  208. 100% {
  209. -webkit-transform: translateX(0);
  210. transform: translateX(0);
  211. }
  212. }
  213. .goods-list .row .carrier.open {
  214. -webkit-animation: showMenu 0.25s linear both;
  215. animation: showMenu 0.25s linear both;
  216. }
  217. .goods-list .row .carrier.close {
  218. -webkit-animation: closeMenu 0.15s linear both;
  219. animation: closeMenu 0.15s linear both;
  220. }
  221. .goods-list .row .carrier .checkbox-box {
  222. padding-left: 20rpx;
  223. flex-shrink: 0;
  224. height: 22vw;
  225. margin-right: 20rpx;
  226. }
  227. .goods-list .row .carrier .goods-info {
  228. width: 100%;
  229. display: flex;
  230. padding-right: 20rpx;
  231. }
  232. .goods-list .row .carrier .goods-info .img {
  233. width: 22vw;
  234. height: 25vw;
  235. border-radius: 10rpx;
  236. overflow: hidden;
  237. flex-shrink: 0;
  238. margin-right: 10rpx;
  239. }
  240. .goods-list .row .carrier .goods-info .img image {
  241. width: 22vw;
  242. height: 22vw;
  243. }
  244. .goods-list .row .carrier .goods-info .info {
  245. width: 100%;
  246. height: 25vw;
  247. overflow: hidden;
  248. display: flex;
  249. flex-wrap: wrap;
  250. position: relative;
  251. }
  252. .goods-list .row .carrier .goods-info .info .title {
  253. width: 100%;
  254. font-size: 28rpx;
  255. display: -webkit-box;
  256. -webkit-box-orient: vertical;
  257. -webkit-line-clamp: 2;
  258. overflow: hidden;
  259. }
  260. .goods-list .row .carrier .goods-info .info .spec {
  261. font-size: 25rpx;
  262. background-color: #f3f3f3;
  263. color: #a7a7a7;
  264. height: 30rpx;
  265. display: flex;
  266. align-items: center;
  267. padding: 0 10rpx;
  268. border-radius: 15rpx;
  269. margin-bottom: 10vw;
  270. }
  271. .goods-list .row .carrier .goods-info .info .spbz {
  272. font-size: 25rpx;
  273. display: flex;
  274. flex-direction: column;
  275. padding: 0 10rpx;
  276. height: 80rpx;
  277. }
  278. .goods-list .row .carrier .goods-info .info .kucun {
  279. font-size: 25rpx;
  280. width: 100%;
  281. border-radius: 15rpx;
  282. text-align: center;
  283. }
  284. .goods-list .row .carrier .goods-info .info .price-number {
  285. position: absolute;
  286. width: 100%;
  287. bottom: 0rpx;
  288. display: flex;
  289. justify-content: space-between;
  290. align-items: flex-end;
  291. font-size: 28rpx;
  292. height: 60rpx;
  293. }
  294. .goods-list .row .carrier .goods-info .info .price-number .deltip {
  295. position: absolute;
  296. right: 0;
  297. top: -53rpx;
  298. color: #B4B4B4;
  299. margin-right: 8rpx;
  300. }
  301. .goods-list .row .carrier .goods-info .info .price-number .number {
  302. display: flex;
  303. justify-content: center;
  304. align-items: flex-end;
  305. }
  306. .goods-list .row .carrier .goods-info .info .price-number .number .input {
  307. width: 60rpx;
  308. height: 60rpx;
  309. margin: 0 10rpx;
  310. background-color: #f3f3f3;
  311. }
  312. .goods-list .row .carrier .goods-info .info .price-number .number .input input {
  313. width: 60rpx;
  314. height: 60rpx;
  315. display: flex;
  316. justify-content: center;
  317. align-items: center;
  318. text-align: center;
  319. font-size: 26rpx;
  320. }
  321. .goods-list .row .carrier .goods-info .info .price-number .number .sub, .goods-list .row .carrier .goods-info .info .price-number .number .add {
  322. width: 45rpx;
  323. height: 45rpx;
  324. background-color: #f3f3f3;
  325. border-radius: 5rpx;
  326. }
  327. .goods-list .row .carrier .goods-info .info .price-number .number .sub .icon, .goods-list .row .carrier .goods-info .info .price-number .number .add .icon {
  328. font-size: 22rpx;
  329. width: 45rpx;
  330. height: 45rpx;
  331. display: flex;
  332. justify-content: center;
  333. align-items: center;
  334. }
  335. .footer {
  336. width: 100%;
  337. padding: 0 4%;
  338. background-color: #fbfbfb;
  339. height: 100rpx;
  340. display: flex;
  341. justify-content: space-between;
  342. align-items: center;
  343. font-size: 28rpx;
  344. position: fixed;
  345. bottom: 0rpx;
  346. z-index: 5;
  347. }
  348. .footer .delBtn {
  349. border: solid 1rpx #f06c7a;
  350. color: #f06c7a;
  351. padding: 0 30rpx;
  352. height: 50rpx;
  353. border-radius: 30rpx;
  354. display: flex;
  355. justify-content: center;
  356. align-items: center;
  357. }
  358. .footer .settlement {
  359. width: 64%;
  360. display: flex;
  361. justify-content: flex-end;
  362. align-items: center;
  363. }
  364. .footer .settlement .sum {
  365. width: 50%;
  366. font-size: 28rpx;
  367. margin-right: 10rpx;
  368. display: flex;
  369. justify-content: flex-end;
  370. }
  371. .footer .settlement .sum .money {
  372. font-weight: 600;
  373. }
  374. .footer .settlement .btn {
  375. padding: 0 20rpx;
  376. height: 50rpx;
  377. background-color: #f06c7a;
  378. color: #fff;
  379. display: flex;
  380. justify-content: center;
  381. align-items: center;
  382. border-radius: 30rpx;
  383. }
  384. .footer .settlement .btn_gray {
  385. padding: 0 20rpx;
  386. height: 50rpx;
  387. background-color: #C4C4C4;
  388. color: #fff;
  389. display: flex;
  390. justify-content: center;
  391. align-items: center;
  392. width: 240rpx;
  393. border-radius: 30rpx;
  394. }