index.acss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .header.data-v-57280228 {
  28. background: #F3F4F6;
  29. height: 148px;
  30. position: -webkit-sticky;
  31. position: sticky;
  32. top: 0;
  33. z-index: 1;
  34. }
  35. .header .header-bgc.data-v-57280228 {
  36. background: linear-gradient(180deg, #CFE8FF 0%, rgba(232, 244, 255, 0.64) 38.19%, rgba(255, 255, 255, 0.42) 71.63%, rgba(255, 255, 255, 0) 100%);
  37. }
  38. .header .header-bgc .header-title.data-v-57280228 {
  39. color: #333;
  40. font-size: 16px;
  41. font-weight: 400;
  42. padding: 54px 12px 12px 12px;
  43. }
  44. .content-page.data-v-57280228 {
  45. padding: 20rpx;
  46. width: 100%;
  47. box-sizing: border-box;
  48. }
  49. .search-top.data-v-57280228 {
  50. height: 70rpx;
  51. border-radius: 35rpx;
  52. display: flex;
  53. align-items: center;
  54. padding: 0 12rpx;
  55. background-color: #fff;
  56. }
  57. .search-top .search-text.data-v-57280228 {
  58. font-size: 24rpx;
  59. margin-left: 4rpx;
  60. color: #b9b9b9;
  61. }
  62. .goods__list-container.data-v-57280228 {
  63. padding: 0 12px;
  64. }
  65. .goods__list-container .goods__list-main.data-v-57280228 {
  66. display: flex;
  67. flex-wrap: wrap;
  68. justify-content: space-between;
  69. }
  70. .goods__list-container .goods__list-main .goods__list-item.data-v-57280228 {
  71. width: 48%;
  72. height: 210px;
  73. background-color: #fff;
  74. margin-bottom: 12px;
  75. border-radius: 10px;
  76. overflow: hidden;
  77. }
  78. .goods__list-container .goods__list-main .goods__list-item .item-top.data-v-57280228 {
  79. height: 160px;
  80. }
  81. .goods__list-container .goods__list-main .goods__list-item .item-top image.data-v-57280228 {
  82. width: 100%;
  83. height: 100%;
  84. object-fit: cover;
  85. }
  86. .goods__list-container .goods__list-main .goods__list-item .item-bottom.data-v-57280228 {
  87. padding: 12px 8px;
  88. }
  89. .goods__list-container .goods__list-main .goods__list-item .item-bottom .item-name.data-v-57280228 {
  90. color: #333;
  91. font-size: 17px;
  92. font-weight: 500;
  93. overflow: hidden;
  94. white-space: nowrap;
  95. text-overflow: ellipsis;
  96. width: 100%;
  97. }
  98. .data-v-57280228 .u-list {
  99. display: flex;
  100. flex-wrap: wrap !important;
  101. justify-content: space-between;
  102. }
  103. .data-v-57280228 .u-list-item {
  104. width: 45%;
  105. height: 210px;
  106. background-color: #fff;
  107. margin-bottom: 12px;
  108. border-radius: 10px;
  109. overflow: hidden;
  110. }
  111. .data-v-57280228 image {
  112. width: 100%;
  113. height: 100%;
  114. object-fit: cover;
  115. }