questionnaire.wxss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. /* padding / margin */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .header.data-v-6358e377 {
  28. height: 60rpx;
  29. width: 100%;
  30. padding: 0 30rpx;
  31. font-size: 22rpx;
  32. font-weight: bold;
  33. background: #FFF0DA;
  34. display: flex;
  35. align-items: center;
  36. justify-content: space-between;
  37. }
  38. .body.data-v-6358e377 {
  39. padding: 0 30rpx;
  40. font-size: 30rpx;
  41. color: #434349;
  42. background: #fff;
  43. }
  44. .warning.data-v-6358e377 {
  45. color: #D18D09;
  46. }
  47. .body.data-v-6358e377 {
  48. padding: 30rpx;
  49. }
  50. .article.data-v-6358e377 {
  51. display: flex;
  52. align-items: center;
  53. justify-content: space-between;
  54. padding: 40rpx 22rpx;
  55. background: #f7f7fb;
  56. border-radius: 16rpx 16rpx 16rpx 16rpx;
  57. margin-bottom: 29rpx;
  58. position: relative;
  59. }
  60. .title.data-v-6358e377 {
  61. font-size: 28rpx;
  62. color: #434349;
  63. position: relative;
  64. z-index: 1;
  65. }
  66. .btn.data-v-6358e377 {
  67. padding: 20rpx 10rpx;
  68. font-size: 28rpx;
  69. font-weight: normal;
  70. color: var(--uni-color-primary);
  71. background: transparent;
  72. display: inline-flex;
  73. align-items: center;
  74. justify-content: center;
  75. gap: 8rpx;
  76. min-width: 160rpx;
  77. width: 160rpx;
  78. }
  79. .status.data-v-6358e377 {
  80. --is-read: #00a9a9;
  81. --un-read: #f95d3b;
  82. font-size: 20rpx;
  83. color: #fefffe;
  84. padding: 6rpx 13rpx;
  85. position: absolute;
  86. top: 0;
  87. left: 0;
  88. border-radius: 20rpx 20rpx 20rpx 0;
  89. z-index: 0;
  90. }
  91. .status.data-v-6358e377::before {
  92. content: "";
  93. width: 16rpx;
  94. height: 16rpx;
  95. position: absolute;
  96. bottom: -16rpx;
  97. left: 0;
  98. }
  99. .status.data-v-6358e377::after {
  100. content: "";
  101. width: 32rpx;
  102. height: 32rpx;
  103. background-color: #f7f7fb;
  104. position: absolute;
  105. bottom: -32rpx;
  106. left: 0;
  107. border-radius: 32rpx;
  108. }
  109. .status.read.data-v-6358e377,
  110. .status.read.data-v-6358e377::before {
  111. background-color: var(--is-read);
  112. }
  113. .status.unread.data-v-6358e377,
  114. .status.unread.data-v-6358e377::before {
  115. background-color: var(--un-read);
  116. }
  117. .arrow-right.data-v-6358e377 {
  118. --width: 13rpx;
  119. --height: 10rpx;
  120. display: inline-block;
  121. width: calc(var(--width));
  122. height: calc(var(--height) * 2);
  123. border-top: var(--height) solid transparent;
  124. border-bottom: var(--height) solid transparent;
  125. border-left: var(--width) solid var(--uni-color-primary);
  126. position: relative;
  127. }
  128. .arrow-right.data-v-6358e377::after {
  129. content: "";
  130. border-top: var(--height) solid transparent;
  131. border-bottom: var(--height) solid transparent;
  132. border-left: var(--width) solid #f7f7fb;
  133. position: absolute;
  134. left: -14rpx;
  135. top: 50%;
  136. transform: translateY(-50%);
  137. }