integralGoodsDetails.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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. body {
  27. height: 100%;
  28. }
  29. .content {
  30. height: 100%;
  31. display: flex;
  32. flex-direction: column;
  33. }
  34. .content .cont-box {
  35. padding-bottom: 3.78125rem;
  36. }
  37. .content .cont-box .integral-box {
  38. background-color: #fff;
  39. padding: 0.625rem;
  40. width: 100%;
  41. display: flex;
  42. flex-direction: column;
  43. align-items: flex-start;
  44. justify-content: flex-start;
  45. }
  46. .content .cont-box .integral-box .title {
  47. font-weight: bold;
  48. font-size: 1.0625rem;
  49. font-family: PingFang SC;
  50. color: #111;
  51. }
  52. .content .cont-box .integral-box .desc {
  53. margin-top: 0.46875rem;
  54. display: flex;
  55. align-items: flex-start;
  56. justify-content: flex-start;
  57. }
  58. .content .cont-box .integral-box .desc .cycle {
  59. background-color: #eee;
  60. border-radius: 0.9375rem;
  61. padding: 0.15625rem 0.46875rem;
  62. font-size: 0.8125rem;
  63. font-family: PingFang SC;
  64. color: #C39A58;
  65. }
  66. .content .cont-box .integral-box .desc .duration {
  67. margin-left: 0.3125rem;
  68. background-color: #eee;
  69. border-radius: 0.9375rem;
  70. padding: 0.15625rem 0.46875rem;
  71. font-size: 0.8125rem;
  72. font-family: PingFang SC;
  73. color: #C39A58;
  74. }
  75. .content .cont-box .integral-box .num-box {
  76. margin-top: 0.46875rem;
  77. flex: 1;
  78. display: flex;
  79. align-items: flex-end;
  80. justify-content: space-between;
  81. width: 100%;
  82. }
  83. .content .cont-box .integral-box .num-box .price {
  84. padding: 0.15625rem 0.3125rem;
  85. background-color: #C39A58;
  86. border-radius: 0.9375rem;
  87. font-size: 0.625rem;
  88. font-family: PingFang SC;
  89. color: #ffffff;
  90. }
  91. .content .cont-box .integral-box .num-box .count {
  92. font-size: 0.75rem;
  93. font-family: PingFang SC;
  94. color: #333333;
  95. }
  96. .content .cont-box .desc-box {
  97. background-color: #fff;
  98. padding: 0.625rem;
  99. margin-top: 0.3125rem;
  100. }
  101. .content .cont-box .desc-box .title-box {
  102. display: flex;
  103. flex-direction: row;
  104. align-items: center;
  105. justify-content: flex-start;
  106. }
  107. .content .cont-box .desc-box .title-box .title {
  108. font-size: 1rem;
  109. font-family: PingFang SC;
  110. font-weight: bold;
  111. color: #111111;
  112. }
  113. .content .cont-box .desc-box .title-box .line {
  114. margin-right: 0.46875rem;
  115. height: 0.9375rem;
  116. width: 0.1875rem;
  117. background-color: #C39A58;
  118. }
  119. .content .cont-box .desc-box .desc {
  120. margin-top: 0.46875rem;
  121. font-size: 0.875rem;
  122. font-family: PingFang SC;
  123. color: #9a9a9c;
  124. }
  125. .btn-foot {
  126. box-sizing: border-box;
  127. width: 100%;
  128. height: 3.78125rem;
  129. background: #FFFFFF;
  130. padding: 0 1rem 0 0.875rem;
  131. display: flex;
  132. align-items: center;
  133. justify-content: space-between;
  134. position: fixed;
  135. left: 0;
  136. bottom: 0;
  137. z-index: 99;
  138. }
  139. .btn-foot .p-price-box {
  140. display: flex;
  141. align-items: center;
  142. }
  143. .btn-foot .p-price-box .p-name {
  144. font-size: 0.875rem;
  145. font-family: PingFang SC;
  146. font-weight: 500;
  147. color: #666666;
  148. }
  149. .btn-foot .p-price-box .p-price {
  150. margin-left: 0.3125rem;
  151. color: #FF6633;
  152. font-size: 1rem;
  153. font-family: PingFang SC;
  154. font-weight: bold;
  155. }
  156. .btn-foot .btn-box {
  157. display: flex;
  158. align-items: center;
  159. }
  160. .btn-foot .btn-box .btn {
  161. width: 6.25rem;
  162. height: 2.75rem;
  163. line-height: 2.75rem;
  164. text-align: center;
  165. border-radius: 1.375rem;
  166. margin-left: 0.625rem;
  167. font-size: 0.9375rem;
  168. font-family: PingFang SC;
  169. font-weight: bold;
  170. color: #FFFFFF;
  171. }
  172. .btn-foot .btn-box .btn:first-child {
  173. margin-left: 0;
  174. }
  175. .btn-foot .btn-box .btn.buy {
  176. background: #C39A58;
  177. }
  178. .goods-banner {
  179. height: 23.625rem;
  180. background-color: #FFFFFF;
  181. position: relative;
  182. }
  183. .goods-banner .swiper-item {
  184. box-sizing: border-box;
  185. }
  186. .goods-banner .swiper,
  187. .goods-banner .swiper-item,
  188. .goods-banner .swiper-item uni-image {
  189. width: 100%;
  190. height: 100%;
  191. }
  192. .goods-banner .num-box {
  193. width: 2.5rem;
  194. height: 1.375rem;
  195. line-height: 1.375rem;
  196. text-align: center;
  197. font-size: 0.75rem;
  198. font-family: PingFang SC;
  199. font-weight: 500;
  200. color: #FFFFFF;
  201. background: rgba(0, 0, 0, 0.3);
  202. border-radius: 0.6875rem;
  203. position: absolute;
  204. right: 0.9375rem;
  205. bottom: 0.9375rem;
  206. z-index: 10;
  207. }