index.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. .detail-card.data-v-24a31e85 {
  27. background-color: #ffff;
  28. margin: 14rpx 20rpx;
  29. border-radius: 10rpx;
  30. overflow: hidden;
  31. }
  32. .title-card .price-box .price-text.data-v-24a31e85 {
  33. font-size: 42rpx;
  34. font-weight: 500;
  35. color: #ff3000;
  36. line-height: 30rpx;
  37. font-family: OPPOSANS;
  38. }
  39. .title-card .price-box .origin-price-text.data-v-24a31e85 {
  40. font-size: 26rpx;
  41. font-weight: 400;
  42. color: #cccccc;
  43. font-family: OPPOSANS;
  44. background: #ffca3e;
  45. padding: 2px 8px;
  46. border-radius: 4px;
  47. color: #597533;
  48. }
  49. .title-card .sales-text.data-v-24a31e85 {
  50. font-size: 26rpx;
  51. font-weight: 500;
  52. color: #cccccc;
  53. }
  54. .title-card .discounts-box .tag-content.data-v-24a31e85 {
  55. flex: 1;
  56. min-width: 0;
  57. white-space: nowrap;
  58. }
  59. .title-card .discounts-box .tag-box.data-v-24a31e85 {
  60. overflow: hidden;
  61. text-overflow: ellipsis;
  62. }
  63. .title-card .discounts-box .tag.data-v-24a31e85 {
  64. flex-shrink: 0;
  65. padding: 4rpx 10rpx;
  66. font-size: 24rpx;
  67. font-weight: 500;
  68. border-radius: 4rpx;
  69. color: var(--ui-BG-Main);
  70. background: var(--ui-BG-Main-tag);
  71. }
  72. .title-card .discounts-box .discounts-title.data-v-24a31e85 {
  73. font-size: 24rpx;
  74. font-weight: 500;
  75. color: var(--ui-BG-Main);
  76. line-height: normal;
  77. }
  78. .title-card .discounts-box .cicon-forward.data-v-24a31e85 {
  79. color: var(--ui-BG-Main);
  80. font-size: 24rpx;
  81. line-height: normal;
  82. margin-top: 4rpx;
  83. }
  84. .title-card .title-text.data-v-24a31e85 {
  85. font-size: 30rpx;
  86. font-weight: bold;
  87. line-height: 42rpx;
  88. }
  89. .title-card .subtitle-text.data-v-24a31e85 {
  90. font-size: 26rpx;
  91. font-weight: 400;
  92. color: #999999;
  93. line-height: 42rpx;
  94. }
  95. .buy-box .add-btn.data-v-24a31e85 {
  96. width: 180rpx;
  97. height: 72rpx;
  98. font-weight: 500;
  99. font-size: 28rpx;
  100. border-radius: 40rpx 0 0 40rpx;
  101. background-color: var(--ui-BG-Main-light);
  102. color: var(--ui-BG-Main);
  103. }
  104. .buy-box .buy-btn.data-v-24a31e85 {
  105. width: 180rpx;
  106. height: 72rpx;
  107. font-weight: 500;
  108. font-size: 28rpx;
  109. border-radius: 0 40rpx 40rpx 0;
  110. background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
  111. color: #ffffff;
  112. }
  113. .buy-box .disabled-btn.data-v-24a31e85 {
  114. width: 428rpx;
  115. height: 72rpx;
  116. border-radius: 40rpx;
  117. color: #ffffff;
  118. }
  119. .model-box.data-v-24a31e85 {
  120. height: 60vh;
  121. }
  122. .model-box .model-content.data-v-24a31e85 {
  123. height: 56vh;
  124. }
  125. .model-box .title.data-v-24a31e85 {
  126. font-size: 36rpx;
  127. font-weight: bold;
  128. color: #333333;
  129. }
  130. .model-box .subtitle.data-v-24a31e85 {
  131. font-size: 26rpx;
  132. font-weight: 500;
  133. color: #333333;
  134. }