classify.wxss 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. .classify_search {
  28. width: 100%;
  29. height: 88rpx;
  30. padding: 0 30rpx;
  31. background: #FFFFFF;
  32. border-bottom: 2rpx solid #FAFAFA;
  33. }
  34. .classify_search .classify_search_ipt {
  35. width: 100%;
  36. padding: 0 20rpx;
  37. height: 58rpx;
  38. background: #F7F7F7;
  39. border-radius: 29rpx;
  40. }
  41. .classify_search .classify_search_ipt image {
  42. width: 44rpx;
  43. height: 44rpx;
  44. margin-right: 15rpx;
  45. }
  46. .classify_search .classify_search_ipt input {
  47. flex: 1;
  48. font-size: 26rpx;
  49. }
  50. .scroll-view {
  51. height: calc(100vh - 88rpx - 50px);
  52. box-sizing: border-box;
  53. }
  54. .classify_main_left {
  55. width: 260rpx;
  56. background: #FFFFFF;
  57. }
  58. .classify_main_left .classify_main_left_li {
  59. height: 80rpx;
  60. font-size: 30rpx;
  61. }
  62. .classify_main_left .active {
  63. color: #F6AF32;
  64. font-weight: bold;
  65. background: #F5F5F5;
  66. }
  67. .classify_main_right {
  68. padding: 40rpx 0rpx 0rpx 30rpx;
  69. }
  70. .classify_main_right .scroll-view_ul {
  71. overflow: hidden;
  72. }
  73. .classify_main_right .classify_main_right_li {
  74. padding-right: 30rpx;
  75. margin-bottom: 30rpx;
  76. }
  77. .classify_main_right .classify_main_right_li .classify_main_right_li_img {
  78. margin-right: 20rpx;
  79. }
  80. .classify_main_right .classify_main_right_li .classify_main_right_li_img image {
  81. width: 120rpx;
  82. height: 120rpx;
  83. background: #ECEEFB;
  84. border-radius: 10rpx;
  85. }
  86. .classify_main_right .classify_main_right_li .classify_main_right_li_main .classify_main_right_li_name {
  87. display: -webkit-box;
  88. -webkit-box-orient: vertical;
  89. -webkit-line-clamp: 2;
  90. overflow: hidden;
  91. margin-bottom: 20rpx;
  92. }
  93. .classify_main_right .classify_main_right_li .classify_main_right_li_main .classify_main_right_li_price {
  94. color: #CF271B;
  95. font-size: 26rpx;
  96. }