BookItem.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. @charset "UTF-8";
  2. /**
  3. * 主题色配置
  4. * 默认在 uni.scss 全局引入:@import '@/theme.scss';
  5. * <script> 下使用主题变量:import x from '@/theme.scss';
  6. */
  7. .page.data-v-de54c948 {
  8. background-color: #f8f8f8;
  9. font-family: PingFangSC;
  10. }
  11. .safeAreaPad.data-v-de54c948 {
  12. padding-bottom: constant(safe-area-inset-bottom);
  13. padding-bottom: env(safe-area-inset-bottom);
  14. box-sizing: content-box;
  15. }
  16. .data-v-de54c948:export {
  17. appThemeColor: #38C148;
  18. appThemeBgColor: #ffffff;
  19. appThemeBgGrayColor: #fafafa;
  20. appThemeBgGrayDeppColor: #f8f8f8;
  21. appThemeSearchBgColor: #F4F5F8;
  22. appThemeBorderColor: #efefef;
  23. appThemeTextColor: #333333;
  24. appThemeTextGrayColor: #8f92a1;
  25. appThemeTextGrayLightColor: #cccccc;
  26. appThemeTextGrayDeepColor: #696969;
  27. appThemeTextWhiteColor: #ffffff;
  28. appThemeTextBlackColor: #171717;
  29. appThemeTextBlackDeepColor: #16162e;
  30. appThemeTextMoneyColor: #f00;
  31. appThemeTextGrayWhiteColor: #c3c6cb;
  32. appThemeSkuGrayColor: #f5f5f8;
  33. appThemeCardGrayColor: #8f92a1;
  34. appThemeShopGrayColor: #888e98;
  35. appThemePointsSignBgColor: #f0f0f0;
  36. appThemePointsSignLabelColor: #dfdfdf;
  37. appThemePointsSignValueColor: #696969;
  38. appThemePointsSignYellowColor: #f9a906;
  39. appThemePointsSignBlueColor: #22ac38;
  40. appThemeNavbarTabColor: #696969;
  41. appThemeNavbarTabColorActive: #333333;
  42. appThemeShadow: 0px 2px 8px 0px rgba(27, 25, 86, 0.06);
  43. appZIndexDeep: 0;
  44. appZIndexNormal: 19;
  45. appZIndexAbsolute: 99;
  46. appZIndexFixed: 199;
  47. appZIndexPage: 999;
  48. appThemeBuyBtnBgColor: #ed3f14;
  49. }
  50. .book-item.data-v-de54c948 {
  51. background: #ffffff;
  52. padding: 20rpx;
  53. margin-top: 20rpx;
  54. border-radius: 10rpx;
  55. }
  56. .book-item.disabled.data-v-de54c948 {
  57. background: #f9ccc9;
  58. }
  59. .book-item .tag-text.data-v-de54c948 {
  60. font-family: Source Han Sans CN;
  61. font-weight: 400;
  62. font-size: 24rpx;
  63. color: #ffffff;
  64. }
  65. .book-item .tzs.data-v-de54c948 {
  66. width: 91rpx;
  67. height: 30rpx;
  68. background: linear-gradient(263deg, #98e05f, #0de3ac);
  69. border-radius: 2rpx;
  70. padding: 4rpx 10rpx;
  71. margin-right: 10rpx;
  72. }
  73. .book-item .kmdb.data-v-de54c948 {
  74. width: 117rpx;
  75. height: 30rpx;
  76. background: linear-gradient(263deg, #f7cb6b, #fba980);
  77. border-radius: 2rpx;
  78. padding: 4rpx 10rpx;
  79. margin-right: 10rpx;
  80. }
  81. .book-item .book-info.data-v-de54c948 {
  82. display: flex;
  83. position: relative;
  84. }
  85. .book-item .book-info .book-image-container.data-v-de54c948 {
  86. position: relative;
  87. }
  88. .book-item .book-info .book-image-container .book-cover.data-v-de54c948 {
  89. width: 140rpx;
  90. height: 196rpx;
  91. border-radius: 8rpx;
  92. }
  93. .book-item .book-info .book-image-container .no-recycle.data-v-de54c948 {
  94. position: absolute;
  95. bottom: 0;
  96. left: 50%;
  97. -webkit-transform: translateX(-50%);
  98. transform: translateX(-50%);
  99. background-color: #ff5252;
  100. color: #ffffff;
  101. padding: 4rpx 10rpx;
  102. border-radius: 4rpx 4rpx 0 0;
  103. font-size: 24rpx;
  104. text-align: center;
  105. width: 100%;
  106. }
  107. .book-item .book-info .book-detail.data-v-de54c948 {
  108. flex: 1;
  109. margin-left: 20rpx;
  110. display: flex;
  111. flex-direction: column;
  112. justify-content: space-between;
  113. }
  114. .book-item .book-info .book-detail :v-deep .u-number-input.data-v-de54c948 {
  115. background: #f9f9f9 !important;
  116. border-radius: 6rpx;
  117. }
  118. .book-item .book-info .book-detail .book-title.data-v-de54c948 {
  119. max-width: 400rpx;
  120. font-size: 28rpx;
  121. color: #333;
  122. line-height: 1.4;
  123. margin-bottom: 20rpx;
  124. display: -webkit-box;
  125. -webkit-box-orient: vertical;
  126. -webkit-line-clamp: 2;
  127. overflow: hidden;
  128. font-family: Source Han Sans CN;
  129. font-weight: 400;
  130. }
  131. .book-item .book-info .book-detail .book-price.data-v-de54c948 {
  132. font-family: Source Han Sans CN;
  133. font-weight: 400;
  134. font-size: 24rpx;
  135. color: #999999;
  136. }
  137. .book-item .book-info .delete-btn.data-v-de54c948 {
  138. position: absolute;
  139. right: 0;
  140. top: -10rpx;
  141. padding: 10rpx;
  142. }