爱简收旧衣按件回收前端代码仓库
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.

116 lines
2.8 KiB

  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. .container.data-v-f4b4ba20 {
  27. min-height: 100vh;
  28. background: #fff;
  29. padding-bottom: calc(120rpx + env(safe-area-inset-bottom));
  30. }
  31. .nav-bar.data-v-f4b4ba20 {
  32. display: flex;
  33. align-items: center;
  34. height: 88rpx;
  35. padding: 0 30rpx;
  36. background: #fff;
  37. }
  38. .nav-bar .back.data-v-f4b4ba20 {
  39. padding: 20rpx;
  40. margin-left: -20rpx;
  41. }
  42. .nav-bar .title.data-v-f4b4ba20 {
  43. flex: 1;
  44. text-align: center;
  45. font-size: 34rpx;
  46. font-weight: 500;
  47. }
  48. .brand-title.data-v-f4b4ba20 {
  49. padding: 30rpx;
  50. font-size: 40rpx;
  51. font-weight: bold;
  52. color: #333;
  53. }
  54. .brand-grid.data-v-f4b4ba20 {
  55. padding: 0 20rpx;
  56. display: grid;
  57. grid-template-columns: repeat(2, 1fr);
  58. gap: 20rpx;
  59. }
  60. .brand-item.data-v-f4b4ba20 {
  61. background: #FFF9F2;
  62. border-radius: 16rpx;
  63. padding: 30rpx;
  64. display: flex;
  65. flex-direction: column;
  66. align-items: center;
  67. transition: all 0.3s;
  68. }
  69. .brand-item.active.data-v-f4b4ba20 {
  70. background: #FFE4CC;
  71. }
  72. .brand-item image.data-v-f4b4ba20 {
  73. width: 240rpx;
  74. height: 240rpx;
  75. margin-bottom: 20rpx;
  76. }
  77. .brand-item .name.data-v-f4b4ba20 {
  78. font-size: 28rpx;
  79. color: #333;
  80. text-align: center;
  81. margin-bottom: 10rpx;
  82. display: -webkit-box;
  83. -webkit-line-clamp: 2;
  84. -webkit-box-orient: vertical;
  85. overflow: hidden;
  86. }
  87. .brand-item .price.data-v-f4b4ba20 {
  88. font-size: 26rpx;
  89. color: #FF9500;
  90. }
  91. .bottom-bar.data-v-f4b4ba20 {
  92. position: fixed;
  93. bottom: 0;
  94. left: 0;
  95. right: 0;
  96. padding: 20rpx 30rpx calc(20rpx + env(safe-area-inset-bottom));
  97. background: #fff;
  98. box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
  99. }
  100. .bottom-bar .submit-btn.data-v-f4b4ba20 {
  101. width: 100%;
  102. height: 80rpx;
  103. background: #FFB74D;
  104. color: #fff;
  105. font-size: 28rpx;
  106. border-radius: 40rpx;
  107. display: flex;
  108. align-items: center;
  109. justify-content: center;
  110. border: none;
  111. }
  112. .bottom-bar .submit-btn.data-v-f4b4ba20::after {
  113. border: none;
  114. }
  115. .bottom-bar .submit-btn.data-v-f4b4ba20:active {
  116. opacity: 0.9;
  117. }