bookParticulars.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. @charset "UTF-8";
  2. /**
  3. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  4. *
  5. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  6. */
  7. /* 颜色变量 */
  8. /* 行为相关颜色 */
  9. /* 文字基本颜色 */
  10. /* 背景颜色 */
  11. /* 边框颜色 */
  12. /* 尺寸变量 */
  13. /* 文字尺寸 */
  14. /* 图片尺寸 */
  15. /* Border Radius */
  16. /* 水平间距 */
  17. /* 垂直间距 */
  18. /* 透明度 */
  19. /* 文章场景相关 */
  20. page {
  21. background-color: #fff;
  22. }
  23. .box_particular {
  24. display: flex;
  25. padding: 0rpx 20rpx;
  26. border-bottom: 1rpx solid #e4e7ed;
  27. }
  28. .img_book {
  29. flex: none;
  30. width: 260rpx;
  31. height: 320rpx;
  32. border-radius: 20rpx;
  33. margin-bottom: 60rpx;
  34. }
  35. .book_title {
  36. width: 100%;
  37. font-size: 46rpx;
  38. font-weight: bold;
  39. white-space: nowrap;
  40. text-overflow: ellipsis;
  41. overflow: hidden;
  42. }
  43. .author_title {
  44. margin-top: 30rpx;
  45. margin-left: 20rpx;
  46. font-size: 30rpx;
  47. color: #999999;
  48. }
  49. .card_brief {
  50. display: flex;
  51. align-items: center;
  52. padding: 30rpx 0rpx;
  53. border-bottom: 20rpx solid #F8F8F8;
  54. }
  55. .box_brief {
  56. flex: 1;
  57. display: flex;
  58. flex-direction: column;
  59. align-items: center;
  60. }
  61. .box_brief:nth-child(-n + 2) {
  62. border-right: 1rpx solid #e4e7ed;
  63. }
  64. .title_brief {
  65. font-size: 28rpx;
  66. color: #999999;
  67. }
  68. .quantity_num {
  69. margin-top: 10rpx;
  70. font-size: 28rpx;
  71. color: #555555;
  72. }
  73. .quantity_num .num_title {
  74. font-size: 40rpx;
  75. font-weight: bold;
  76. }
  77. .card_synopsis {
  78. padding: 30rpx;
  79. }
  80. .synopsis_title {
  81. font-size: 36rpx;
  82. font-weight: bold;
  83. margin-bottom: 10rpx;
  84. }
  85. .synopsis {
  86. font-size: 32rpx;
  87. line-height: 48rpx;
  88. }
  89. .bottom_menu {
  90. position: fixed;
  91. bottom: 0;
  92. left: 0;
  93. right: 0;
  94. border-top: 1rpx solid #e4e7ed;
  95. display: flex;
  96. align-items: center;
  97. padding: 20rpx 30rpx;
  98. padding-bottom: 0 !important;
  99. padding-bottom: constant(safe-area-inset-bottom) !important;
  100. padding-bottom: env(safe-area-inset-bottom) !important;
  101. }
  102. .subside {
  103. padding-bottom: 0 !important;
  104. padding-bottom: constant(safe-area-inset-bottom) !important;
  105. padding-bottom: env(safe-area-inset-bottom) !important;
  106. }
  107. .menu_btn {
  108. font-size: 30rpx;
  109. flex: 1;
  110. padding: 26rpx;
  111. border-radius: 20rpx;
  112. background-color: #eeeeee;
  113. margin: 0rpx 10rpx;
  114. border: 1rpx solid #eeeeee;
  115. }
  116. .menu_btnil {
  117. font-size: 30rpx;
  118. flex: 1;
  119. padding: 26rpx;
  120. border-radius: 20rpx;
  121. background-color: #ffffff;
  122. margin: 0rpx 10rpx;
  123. color: #b2955d;
  124. border: 1rpx solid #b2955d;
  125. }
  126. .menu_btn_orange {
  127. font-size: 30rpx;
  128. flex: 1;
  129. padding: 26rpx;
  130. border-radius: 20rpx;
  131. background-color: #cea872;
  132. margin: 0rpx 10rpx;
  133. color: #fff;
  134. border: 1rpx solid #cea872;
  135. }