list.wxss 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  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. /* Border Radius */
  24. /* 水平间距 */
  25. /* 垂直间距 */
  26. /* 透明度 */
  27. /* 文章场景相关 */
  28. page {
  29. background: #f7f7f7;
  30. }
  31. page .all-type-list-wrapper {
  32. display: flex;
  33. flex-direction: column;
  34. }
  35. /* 加入购物模态层*/
  36. @-webkit-keyframes showPopup {
  37. 0% {
  38. opacity: 0;
  39. }
  40. 100% {
  41. opacity: 1;
  42. }
  43. }
  44. @keyframes showPopup {
  45. 0% {
  46. opacity: 0;
  47. }
  48. 100% {
  49. opacity: 1;
  50. }
  51. }
  52. @-webkit-keyframes hidePopup {
  53. 0% {
  54. opacity: 1;
  55. }
  56. 100% {
  57. opacity: 0;
  58. }
  59. }
  60. @keyframes hidePopup {
  61. 0% {
  62. opacity: 1;
  63. }
  64. 100% {
  65. opacity: 0;
  66. }
  67. }
  68. @-webkit-keyframes showLayer {
  69. 0% {
  70. -webkit-transform: translateY(0);
  71. transform: translateY(0);
  72. }
  73. 100% {
  74. -webkit-transform: translateY(-100%);
  75. transform: translateY(-100%);
  76. }
  77. }
  78. @keyframes showLayer {
  79. 0% {
  80. -webkit-transform: translateY(0);
  81. transform: translateY(0);
  82. }
  83. 100% {
  84. -webkit-transform: translateY(-100%);
  85. transform: translateY(-100%);
  86. }
  87. }
  88. @-webkit-keyframes hideLayer {
  89. 0% {
  90. -webkit-transform: translateY(-100%);
  91. transform: translateY(-100%);
  92. }
  93. 100% {
  94. -webkit-transform: translateY(0);
  95. transform: translateY(0);
  96. }
  97. }
  98. @keyframes hideLayer {
  99. 0% {
  100. -webkit-transform: translateY(-100%);
  101. transform: translateY(-100%);
  102. }
  103. 100% {
  104. -webkit-transform: translateY(0);
  105. transform: translateY(0);
  106. }
  107. }
  108. @-webkit-keyframes showAmnation {
  109. 0% {
  110. top: -12rpx;
  111. opacity: 0;
  112. }
  113. 50% {
  114. top: -60rpx;
  115. opacity: 1;
  116. }
  117. 100% {
  118. top: -100rpx;
  119. opacity: 0;
  120. }
  121. }
  122. @keyframes showAmnation {
  123. 0% {
  124. top: -12rpx;
  125. opacity: 0;
  126. }
  127. 50% {
  128. top: -60rpx;
  129. opacity: 1;
  130. }
  131. 100% {
  132. top: -100rpx;
  133. opacity: 0;
  134. }
  135. }
  136. @-webkit-keyframes hideAmnation {
  137. 0% {
  138. top: -100rpx;
  139. opacity: 0;
  140. }
  141. 100% {
  142. top: -12rpx;
  143. opacity: 0;
  144. }
  145. }
  146. @keyframes hideAmnation {
  147. 0% {
  148. top: -100rpx;
  149. opacity: 0;
  150. }
  151. 100% {
  152. top: -12rpx;
  153. opacity: 0;
  154. }
  155. }
  156. .popup {
  157. position: fixed;
  158. top: 0;
  159. width: 100%;
  160. height: 100%;
  161. z-index: 999;
  162. display: none;
  163. }
  164. .popup .mask {
  165. position: fixed;
  166. top: 0;
  167. width: 100%;
  168. height: 100%;
  169. z-index: 21;
  170. background-color: rgba(0, 0, 0, 0.6);
  171. }
  172. .popup .layer {
  173. position: fixed;
  174. z-index: 22;
  175. bottom: -420rpx;
  176. width: 702rpx;
  177. padding: 24rpx 24rpx 36rpx 24rpx;
  178. height: 360rpx;
  179. border-radius: 20rpx 20rpx 0 0;
  180. background-color: #fff;
  181. display: flex;
  182. flex-wrap: wrap;
  183. align-content: space-between;
  184. }
  185. .popup .layer .content {
  186. width: 100%;
  187. margin-top: 40rpx;
  188. }
  189. .popup .layer .btn {
  190. width: 100%;
  191. height: 88rpx;
  192. display: flex;
  193. justify-content: center;
  194. }
  195. .popup .layer .btn .button {
  196. width: 600rpx;
  197. height: 90rpx;
  198. color: #fff;
  199. display: flex;
  200. align-items: center;
  201. justify-content: center;
  202. font-size: 28rpx;
  203. border-radius: 45rpx;
  204. }
  205. .popup .layer .btn .button.buy {
  206. background: linear-gradient(270deg, #f83c6c 0%, #fc32b4 100%);
  207. }
  208. .popup .layer .btn .button.add {
  209. background: black;
  210. }
  211. .popup.show {
  212. display: block;
  213. }
  214. .popup.show .mask {
  215. -webkit-animation: showPopup 0.2s linear both;
  216. animation: showPopup 0.2s linear both;
  217. }
  218. .popup.show .layer {
  219. -webkit-animation: showLayer 0.2s linear both;
  220. animation: showLayer 0.2s linear both;
  221. }
  222. .popup.hide {
  223. display: block;
  224. }
  225. .popup.hide .mask {
  226. -webkit-animation: hidePopup 0.2s linear both;
  227. animation: hidePopup 0.2s linear both;
  228. }
  229. .popup.hide .layer {
  230. -webkit-animation: hideLayer 0.2s linear both;
  231. animation: hideLayer 0.2s linear both;
  232. }
  233. .popup.none {
  234. display: none;
  235. }
  236. .popup.service .row {
  237. margin: 30rpx 0;
  238. }
  239. .popup.service .row .title {
  240. font-size: 30rpx;
  241. margin: 10rpx 0;
  242. }
  243. .popup.service .row .description {
  244. font-size: 28rpx;
  245. color: #999;
  246. }
  247. .popup .layer-smimg {
  248. border: 1px solid #eee;
  249. width: 136rpx;
  250. height: 136rpx;
  251. float: left;
  252. border-radius: 10rpx;
  253. margin-right: 24rpx;
  254. }
  255. .popup .layer-smimg image {
  256. width: 136rpx;
  257. height: 136rpx;
  258. border-radius: 10rpx;
  259. }
  260. .popup .layer-nunbox {
  261. justify-content: space-between;
  262. align-items: center;
  263. width: 536rpx;
  264. height: 88rpx;
  265. padding: 13rpx 0 0 0;
  266. float: left;
  267. }
  268. .popup .layer-nunbox .layer-nunbox-t {
  269. width: 100%;
  270. height: 44rpx;
  271. position: relative;
  272. display: flex;
  273. }
  274. .popup .layer-nunbox .layer-nunbox-t .layer-nunbox-text {
  275. line-height: 44rpx;
  276. font-size: 28rpx;
  277. }
  278. .popup .layer-nunbox .layer-nunbox-t .number-box {
  279. display: flex;
  280. justify-content: center;
  281. align-items: center;
  282. border: 2rpx solid #e1e1e1;
  283. border-radius: 30rpx;
  284. height: 48rpx;
  285. margin-left: 20rpx;
  286. }
  287. .popup .layer-nunbox .layer-nunbox-t .number-box .iconfont {
  288. font-size: 24rpx;
  289. padding: 0 18rpx;
  290. color: #333333;
  291. text-align: center;
  292. line-height: 48rpx;
  293. font-weight: bold;
  294. background: #ffffff;
  295. }
  296. .popup .layer-nunbox .layer-nunbox-t .number-box .iconfont.icon-jianhao {
  297. border-radius: 30rpx 0 0 30rpx;
  298. }
  299. .popup .layer-nunbox .layer-nunbox-t .number-box .iconfont.icon-jiahao {
  300. border-radius: 0 30rpx 30rpx 0;
  301. }
  302. .popup .layer-nunbox .layer-nunbox-t .number-box .btn-input {
  303. width: 62rpx;
  304. height: 44rpx;
  305. line-height: 44rpx;
  306. border-radius: 4rpx;
  307. text-align: center;
  308. font-size: 24rpx;
  309. color: #333333;
  310. background-color: #f7f7f7;
  311. }
  312. .popup .layer-nunbox .layer-nunbox-t .product-step {
  313. position: absolute;
  314. left: 45rpx;
  315. bottom: 0;
  316. height: 44rpx;
  317. background: #ffffff;
  318. }
  319. .popup .layer-nunbox .layer-nunbox-b {
  320. width: 100%;
  321. height: 44rpx;
  322. padding: 8rpx 0 16rpx;
  323. }
  324. .popup .layer-nunbox .layer-nunbox-b .text {
  325. font-weight: bold;
  326. }
  327. .popup .layer-nunbox .text {
  328. line-height: 44rpx;
  329. font-size: 32rpx;
  330. }
  331. .popup .layer-nunbox .text .p {
  332. color: #ff457b;
  333. }
  334. .popup .layer-nunbox .text .p.sm {
  335. font-size: 24rpx;
  336. }