康巴易测肤/伤疤uniapp小程序类
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

157 lines
4.2KB

  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. .safe-area-bottom.data-v-54d3589c {
  28. padding-bottom: env(safe-area-inset-bottom);
  29. }
  30. /* 容器样式 */
  31. .container.data-v-54d3589c {
  32. position: relative;
  33. background: #fff;
  34. overflow: hidden;
  35. }
  36. .container .main .steps.data-v-54d3589c {
  37. padding: 24rpx 32rpx;
  38. background: #6049a9;
  39. }
  40. .container .main .steps .step-content.data-v-54d3589c {
  41. background: #fff;
  42. border-radius: 20rpx;
  43. padding: 30rpx;
  44. }
  45. .container .main .steps .step-content .step-banner.data-v-54d3589c {
  46. display: flex;
  47. justify-content: flex-start;
  48. align-items: flex-start;
  49. flex-direction: column;
  50. }
  51. .container .main .steps .step-content .step-banner .title.data-v-54d3589c {
  52. font-size: 36rpx;
  53. color: #333;
  54. font-weight: bold;
  55. }
  56. .container .main .steps .step-content .step-banner .title .count.data-v-54d3589c {
  57. font-size: 40rpx;
  58. color: #6049a9;
  59. }
  60. .container .main .steps .step-content .step-banner .subtitle.data-v-54d3589c {
  61. margin-top: 10rpx;
  62. font-size: 28rpx;
  63. color: #999;
  64. }
  65. .container .main .question.data-v-54d3589c {
  66. padding: 40rpx;
  67. }
  68. .container .main .question .root.data-v-54d3589c {
  69. display: flex;
  70. justify-content: flex-start;
  71. align-items: center;
  72. }
  73. .container .main .question .root .question-text.data-v-54d3589c {
  74. position: relative;
  75. /* 相对定位 */
  76. margin-left: 40rpx;
  77. padding: 20rpx;
  78. border: 4rpx solid #6049a9;
  79. background-color: #e6e6fa;
  80. color: #000000;
  81. border-radius: 20rpx;
  82. box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  83. font-weight: b;
  84. /* 外层箭头(作为边框) */
  85. /* 内层箭头(作为背景) */
  86. }
  87. .container .main .question .root .question-text .arrow-border.data-v-54d3589c {
  88. position: absolute;
  89. top: 20%;
  90. left: -26rpx;
  91. -webkit-transform: translateX(-50%);
  92. transform: translateX(-50%);
  93. border-width: 25rpx;
  94. border-style: solid;
  95. border-color: transparent #6049a9 transparent transparent;
  96. /* 浅紫色边框 */
  97. z-index: 99;
  98. }
  99. .container .main .question .root .question-text .arrow-background.data-v-54d3589c {
  100. position: absolute;
  101. top: 20%;
  102. left: -29rpx;
  103. -webkit-transform: translateX(-50%);
  104. transform: translateX(-50%);
  105. border-width: 22rpx;
  106. /* 小三角形 */
  107. border-style: solid;
  108. border-color: transparent #e6e6fa transparent transparent;
  109. /* 白色背景 */
  110. margin-top: 3rpx;
  111. /* 与大三角形重叠 */
  112. margin-left: 10rpx;
  113. /* 与大三角形重叠 */
  114. z-index: 999;
  115. }
  116. .container .main .question .question-content.data-v-54d3589c {
  117. margin: 40rpx 0;
  118. padding: 20rpx 0;
  119. max-height: 65vh;
  120. overflow: scroll;
  121. }
  122. .container .main .question .question-content .select-list .select-item.data-v-54d3589c {
  123. border-radius: 60rpx;
  124. padding: 30rpx 50rpx;
  125. margin: 20rpx 0;
  126. background-color: #f8f8f8;
  127. font-weight: bold;
  128. }
  129. .container .main .question .question-content .select-list .select-item.active.data-v-54d3589c {
  130. background-color: #6049a9;
  131. color: #fff;
  132. }
  133. /* 单选项样式 */
  134. .radio-item.data-v-54d3589c {
  135. margin-bottom: 32rpx;
  136. padding: 24rpx;
  137. border-radius: 12rpx;
  138. background: #f8f8f8;
  139. }
  140. /* 按钮容器 */
  141. .action-buttons.data-v-54d3589c {
  142. position: relative;
  143. padding: 0 40rpx;
  144. margin: 20rpx 0 60rpx 0;
  145. display: flex;
  146. justify-content: space-between;
  147. flex-direction: column;
  148. }
  149. /* 适配不同屏幕尺寸 */
  150. @media (min-width: 768px) {
  151. .container.data-v-54d3589c {
  152. max-width: 600px;
  153. margin: 0 auto;
  154. }
  155. }