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.

244 lines
7.2 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. view {
  45. display: flex;
  46. flex-wrap: wrap;
  47. }
  48. page {
  49. position: relative;
  50. background-color: #f5f5f5;
  51. }
  52. @font-face {
  53. font-family: "HMfont-home";
  54. src: url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAYcAAsAAAAAC7AAAAXPAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDMgqKTIgRATYCJAMUCwwABCAFhG0HShufCciemjxtEyiE0MJUUYjN7gIePI911ftJqrY61RxhAeHWc1taR0BXaRAvS0cGxd7FXycwvQF4WLxnP3czaSZwFdHkmjTO77s3Gq8T2hKtb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K7XptuvF7QOvFX69hfpQ6srnigetMRz0rWDm1T2q8fa94jtnd66ybdVzz1LBxq05KW6YcWn07znwk6XVt/3aZ579c0C9R6X69ypu7NhkLTgT8i38db4t+V+B9o/ydc543/BHFkRMR/l33g7XQpbG4JycmBaVjYlou27bi3arLR0VrOSgl1B9y1Jggx2vQO/hKcFbmxc5mCmI61611R3x7ZmueuXdueyE6CR2/bO2cu5a+PmxrRp1L3JHT8o6/XIBCneoIDkQRII9yLpLvBKenqYu3JHobtpKAm5KaAX9q76sXoK+D99XnsCINpCVsB/+oHu/rvYjG+TOQ/62Nb86vnfh5kHD1Lmofs/A00KH24ZZN6vgEccMYbA1jlGa/e4Wq4j5YGAzxX/A9/y2Xcm8GAeeTKZ9yOTJ2egyEU2aDwKog2+JDj4VAQXjzpgKUH80T6JdCGBmABQnOEMhCgbQRHmHGiinEcb/H1wSOE9uERFg6WzJJ7Sp7AMsw3G08CiMZb3xroKVWFcg5WPC++JtaWBkRdE9GcyTD6Anm4e5cQlKWTMsUfXHuxmt24MVndRZYxjVyNJUrFTF1WgkbVa283Sdtzdq5vWtFrRIkOeBhgQAyyIMUg5PkgdI1QUmGC6Rb7y9fcQLDYSA4yOjjrnM4SBCT8/4okbHgT0pVQhddxLeVccWDbphmEGpFrMV5FB4tBMSE5UBenUvJEAMcJildoRYY0d3HFSNVW6ur5cfox5f8Gu9qkdUaLFiCMugWnDTI73+IGaGO6Lk55LyUwYCpERZwMAAA==") format("woff2");
  55. }
  56. .icon {
  57. font-family: "HMfont-home" !important;
  58. font-size: 60rpx;
  59. font-style: normal;
  60. color: #000000;
  61. }
  62. .icon.jia:before {
  63. content: "\e641";
  64. }
  65. .icon.jian:before {
  66. content: "\e643";
  67. }
  68. .icon.shanchu:before {
  69. content: "\e6a4";
  70. }
  71. .icon.shixiao:before {
  72. content: "\e669";
  73. }
  74. .hidden {
  75. display: none !important;
  76. }
  77. .list {
  78. width: 100%;
  79. display: block;
  80. position: relative;
  81. }
  82. @-webkit-keyframes showGoods {
  83. 0% {
  84. -webkit-transform: translateX(-100%);
  85. transform: translateX(-100%);
  86. }
  87. 100% {
  88. -webkit-transform: translateX(0);
  89. transform: translateX(0);
  90. }
  91. }
  92. @keyframes showGoods {
  93. 0% {
  94. -webkit-transform: translateX(-100%);
  95. transform: translateX(-100%);
  96. }
  97. 100% {
  98. -webkit-transform: translateX(0);
  99. transform: translateX(0);
  100. }
  101. }
  102. .sub-list {
  103. width: 100%;
  104. padding: 20rpx 0 120rpx 0;
  105. }
  106. .sub-list.showgoods {
  107. display: flex;
  108. -webkit-animation: showGoods 0.20s linear both;
  109. animation: showGoods 0.20s linear both;
  110. }
  111. .sub-list .tis {
  112. width: 100%;
  113. height: 60rpx;
  114. justify-content: center;
  115. align-items: center;
  116. font-size: 32rpx;
  117. }
  118. .sub-list .row {
  119. width: 100%;
  120. height: 30vw;
  121. align-items: center;
  122. position: relative;
  123. overflow: hidden;
  124. border-bottom: solid 1rpx #dedede;
  125. }
  126. .sub-list .row .menu {
  127. position: absolute;
  128. width: 28%;
  129. height: 100%;
  130. right: 0;
  131. justify-content: center;
  132. align-items: center;
  133. background-color: red;
  134. color: #fff;
  135. z-index: 2;
  136. }
  137. .sub-list .row .menu .icon {
  138. color: #fff;
  139. font-size: 50rpx;
  140. }
  141. .sub-list .row .carrier {
  142. background-color: #fff;
  143. position: absolute;
  144. width: 100%;
  145. padding: 0 0;
  146. height: 100%;
  147. z-index: 3;
  148. flex-wrap: nowrap;
  149. }
  150. @-webkit-keyframes showMenu {
  151. 0% {
  152. -webkit-transform: translateX(0);
  153. transform: translateX(0);
  154. }
  155. 100% {
  156. -webkit-transform: translateX(-28%);
  157. transform: translateX(-28%);
  158. }
  159. }
  160. @keyframes showMenu {
  161. 0% {
  162. -webkit-transform: translateX(0);
  163. transform: translateX(0);
  164. }
  165. 100% {
  166. -webkit-transform: translateX(-28%);
  167. transform: translateX(-28%);
  168. }
  169. }
  170. @-webkit-keyframes closeMenu {
  171. 0% {
  172. -webkit-transform: translateX(-28%);
  173. transform: translateX(-28%);
  174. }
  175. 100% {
  176. -webkit-transform: translateX(0);
  177. transform: translateX(0);
  178. }
  179. }
  180. @keyframes closeMenu {
  181. 0% {
  182. -webkit-transform: translateX(-28%);
  183. transform: translateX(-28%);
  184. }
  185. 100% {
  186. -webkit-transform: translateX(0);
  187. transform: translateX(0);
  188. }
  189. }
  190. .sub-list .row .carrier.open {
  191. -webkit-animation: showMenu 0.25s linear both;
  192. animation: showMenu 0.25s linear both;
  193. }
  194. .sub-list .row .carrier.close {
  195. -webkit-animation: closeMenu 0.15s linear both;
  196. animation: closeMenu 0.15s linear both;
  197. }
  198. .sub-list .row .carrier .goods-info {
  199. width: calc(100% - 40rpx);
  200. padding: 10rpx;
  201. flex-wrap: nowrap;
  202. }
  203. .sub-list .row .carrier .goods-info .img {
  204. width: calc(30vw - 50rpx);
  205. height: calc(30vw - 50rpx);
  206. border-radius: 10rpx;
  207. overflow: hidden;
  208. flex-shrink: 0;
  209. margin-right: 20rpx;
  210. }
  211. .sub-list .row .carrier .goods-info .img image {
  212. width: calc(30vw - 50rpx);
  213. height: calc(30vw - 50rpx);
  214. }
  215. .sub-list .row .carrier .goods-info .info {
  216. width: 100%;
  217. height: calc(30vw - 40rpx);
  218. overflow: hidden;
  219. flex-wrap: wrap;
  220. align-content: space-between;
  221. position: relative;
  222. }
  223. .sub-list .row .carrier .goods-info .info .title {
  224. width: 100%;
  225. font-size: 28rpx;
  226. display: -webkit-box;
  227. -webkit-box-orient: vertical;
  228. -webkit-line-clamp: 2;
  229. overflow: hidden;
  230. }
  231. .sub-list .row .carrier .goods-info .info .price-number {
  232. width: 100%;
  233. justify-content: space-between;
  234. align-items: baseline;
  235. }
  236. .sub-list .row .carrier .goods-info .info .price-number .keep-num {
  237. font-size: 26rpx;
  238. color: #999;
  239. }
  240. .sub-list .row .carrier .goods-info .info .price-number .price {
  241. font-size: 30rpx;
  242. color: #f06c7a;
  243. }