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.

396 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(22vw + 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: 22vw;
  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: 22vw;
  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 .spgg {
  261. font-size: 25rpx;
  262. background-color: #f3f3f3;
  263. color: #a7a7a7;
  264. border-radius: 15rpx;
  265. margin-bottom: 10vw;
  266. }
  267. .goods-list .row .carrier .goods-info .info .spbz {
  268. font-size: 25rpx;
  269. color: #a7a7a7;
  270. height: 30rpx;
  271. display: flex;
  272. align-items: center;
  273. padding: 0 10rpx;
  274. margin-bottom: 10vw;
  275. }
  276. .goods-list .row .carrier .goods-info .info .kcnum {
  277. font-size: 25rpx;
  278. position: absolute;
  279. width: 100%;
  280. top: 88rpx;
  281. padding: 0 10rpx;
  282. border-radius: 15rpx;
  283. margin-bottom: 10vw;
  284. }
  285. .goods-list .row .carrier .goods-info .info .price-number {
  286. position: absolute;
  287. width: 100%;
  288. bottom: 0rpx;
  289. display: flex;
  290. justify-content: space-between;
  291. align-items: flex-end;
  292. font-size: 28rpx;
  293. height: 60rpx;
  294. }
  295. .goods-list .row .carrier .goods-info .info .price-number .deltip {
  296. position: absolute;
  297. right: 0;
  298. top: -53rpx;
  299. color: #B4B4B4;
  300. margin-right: 8rpx;
  301. }
  302. .goods-list .row .carrier .goods-info .info .price-number .number {
  303. display: flex;
  304. justify-content: center;
  305. align-items: flex-end;
  306. }
  307. .goods-list .row .carrier .goods-info .info .price-number .number .input {
  308. width: 60rpx;
  309. height: 60rpx;
  310. margin: 0 10rpx;
  311. background-color: #f3f3f3;
  312. }
  313. .goods-list .row .carrier .goods-info .info .price-number .number .input input {
  314. width: 60rpx;
  315. height: 60rpx;
  316. display: flex;
  317. justify-content: center;
  318. align-items: center;
  319. text-align: center;
  320. font-size: 26rpx;
  321. }
  322. .goods-list .row .carrier .goods-info .info .price-number .number .sub, .goods-list .row .carrier .goods-info .info .price-number .number .add {
  323. width: 45rpx;
  324. height: 45rpx;
  325. background-color: #f3f3f3;
  326. border-radius: 5rpx;
  327. }
  328. .goods-list .row .carrier .goods-info .info .price-number .number .sub .icon, .goods-list .row .carrier .goods-info .info .price-number .number .add .icon {
  329. font-size: 22rpx;
  330. width: 45rpx;
  331. height: 45rpx;
  332. display: flex;
  333. justify-content: center;
  334. align-items: center;
  335. }
  336. .footer {
  337. width: 100%;
  338. padding: 0 4%;
  339. background-color: #fbfbfb;
  340. height: 100rpx;
  341. display: flex;
  342. justify-content: space-between;
  343. align-items: center;
  344. font-size: 28rpx;
  345. position: fixed;
  346. bottom: 0rpx;
  347. z-index: 5;
  348. }
  349. .footer .delBtn {
  350. border: solid 1rpx #f06c7a;
  351. color: #f06c7a;
  352. padding: 0 30rpx;
  353. height: 50rpx;
  354. border-radius: 30rpx;
  355. display: flex;
  356. justify-content: center;
  357. align-items: center;
  358. }
  359. .footer .settlement {
  360. width: 64%;
  361. display: flex;
  362. justify-content: flex-end;
  363. align-items: center;
  364. }
  365. .footer .settlement .sum {
  366. width: 50%;
  367. font-size: 28rpx;
  368. margin-right: 10rpx;
  369. display: flex;
  370. justify-content: flex-end;
  371. }
  372. .footer .settlement .sum .money {
  373. font-weight: 600;
  374. }
  375. .footer .settlement .btn {
  376. padding: 0 20rpx;
  377. height: 50rpx;
  378. background-color: #f06c7a;
  379. color: #fff;
  380. display: flex;
  381. justify-content: center;
  382. align-items: center;
  383. border-radius: 30rpx;
  384. }
  385. .footer .settlement .btn_gray {
  386. padding: 0 20rpx;
  387. height: 50rpx;
  388. background-color: #C4C4C4;
  389. color: #fff;
  390. display: flex;
  391. justify-content: center;
  392. align-items: center;
  393. width: 240rpx;
  394. border-radius: 30rpx;
  395. }