common.scss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. @import '@/uni_modules/uni-scss/theme.scss';
  2. @import '@/uni.scss';
  3. .inherit-icons{
  4. display: inherit;
  5. }
  6. //修改uni-ui样式
  7. .form-box {
  8. .uni-forms {
  9. background: #fff;
  10. border-radius: 16rpx;
  11. padding: 30rpx;
  12. box-shadow: 0px 1px 12px rgba(3,3,3,0.08);
  13. .uni-forms-item__label {
  14. color: $uni-main-color;
  15. padding-bottom: 0 !important;
  16. }
  17. .uni-easyinput__content {
  18. border-radius: 84rpx;
  19. }
  20. .uni-easyinput__content-input {
  21. height: 80rpx;
  22. }
  23. .uni-easyinput__placeholder-class {
  24. color: $uni-secondary-color !important;
  25. font-size: 28rpx !important;
  26. font-weight: 300 !important;
  27. }
  28. .uni-forms-item{
  29. margin-bottom: 20rpx;
  30. }
  31. }
  32. //选择框样式
  33. .select-box {
  34. height: 84rpx;
  35. border-radius: 84rpx;
  36. border: 1px solid $uni-border-1;
  37. position: relative;
  38. line-height: 82rpx;
  39. box-sizing: border-box;
  40. padding-left: 10px;
  41. .select-label {
  42. color: $uni-secondary-color;
  43. font-weight: 300;
  44. }
  45. .form-icon {
  46. position: absolute;
  47. right: 30rpx;
  48. top: 0rpx;
  49. }
  50. }
  51. }
  52. //底部按钮
  53. .hui-button-box {
  54. position: absolute;
  55. height: 100rpx;
  56. background-color: #ffffff;
  57. box-shadow: 0px 2px 10px rgba(3, 3, 3, 0.1);
  58. position: fixed;
  59. bottom: 0;
  60. left: 0;
  61. right: 0;
  62. display: flex;
  63. align-items: center;
  64. .hui-button {
  65. height: 68rpx;
  66. border-radius: 68rpx;
  67. color: #ffffff;
  68. background: $uni-primary;
  69. border: 1px solid $uni-primary;
  70. flex: 1;
  71. display: flex;
  72. align-items: center;
  73. justify-content: center;
  74. margin: 0 30rpx;
  75. &.hui-button-light{
  76. color: $uni-primary;
  77. background: #fff;
  78. }
  79. }
  80. .hui-button-icon{
  81. margin-right: 10rpx;
  82. }
  83. }
  84. button[type=primary]{
  85. background: $uni-primary;
  86. }
  87. //用户列表
  88. .fans-list {
  89. padding: 0 30rpx;
  90. box-sizing: border-box;
  91. .fans-item {
  92. height: 140rpx;
  93. background-color: #ffffff;
  94. border-radius: 16rpx;
  95. box-shadow: 0px 1px 12px rgba(3, 3, 3, 0.08);
  96. display: flex;
  97. align-items: center;
  98. padding: 0 30rpx;
  99. margin-bottom: 20rpx;
  100. }
  101. .fans-avatar {
  102. width: 100rpx;
  103. height: 100rpx;
  104. border-radius: 100rpx;
  105. }
  106. .fans-content {
  107. flex: 1;
  108. width: 0;
  109. margin-left: 20rpx;
  110. }
  111. .fans-name {
  112. font-size: 32rpx;
  113. }
  114. .fans-organization {
  115. color: $uni-secondary-color;
  116. font-weight: 300;
  117. margin-top: 4rpx;
  118. font-size: 24rpx;
  119. }
  120. .fans-icon {
  121. width: 80rpx;
  122. height: 80rpx;
  123. border-radius: 50%;
  124. background: $uni-primary;
  125. text-align: center;
  126. line-height: 80rpx;
  127. }
  128. }
  129. //通用列表
  130. .status-tag {
  131. height: 52rpx;
  132. border-radius: 52rpx;
  133. line-height: 52rpx;
  134. padding: 0 30rpx;
  135. font-size: 24rpx;
  136. color: #fff;
  137. &.success {
  138. background-color: $uni-success;
  139. }
  140. &.primary {
  141. background-color: $uni-primary;
  142. }
  143. &.info {
  144. background-color: $uni-info;
  145. }
  146. &.warning {
  147. background-color: $uni-warning;
  148. }
  149. &.error {
  150. background-color: $uni-error;
  151. }
  152. }
  153. .common-list {
  154. padding: 0 30rpx;
  155. box-sizing: border-box;
  156. .common-item {
  157. background-color: #ffffff;
  158. border-radius: 16rpx;
  159. box-shadow: 0px 1px 12px rgba(3, 3, 3, 0.08);
  160. padding: 30rpx;
  161. position: relative;
  162. .icon {
  163. position: absolute;
  164. top: 30rpx;
  165. right: 30rpx;
  166. }
  167. .title {
  168. font-size: 32rpx;
  169. font-weight: 600;
  170. }
  171. .date {
  172. font-size: 24rpx;
  173. color: $uni-secondary-color;
  174. margin: 10rpx 0;
  175. }
  176. .space {
  177. font-size: 24rpx;
  178. }
  179. .other {
  180. margin-top: 20rpx;
  181. .item {
  182. margin-top: 16rpx;
  183. }
  184. .label {
  185. color: $uni-secondary-color;
  186. font-size: 24rpx;
  187. }
  188. .value {
  189. margin-top: 6rpx;
  190. font-weight: 400;
  191. }
  192. }
  193. .state {
  194. margin-top: 20rpx;
  195. display: flex;
  196. justify-content: space-between;
  197. .create {
  198. height: 48rpx;
  199. border-radius: 48rpx;
  200. border: 1px solid $uni-primary;
  201. display: flex;
  202. align-items: center;
  203. color: $uni-primary;
  204. padding: 0 10rpx;
  205. .name {
  206. font-size: 24rpx;
  207. flex: 1;
  208. max-width: 150rpx;
  209. min-width: 70rpx;
  210. overflow: hidden;
  211. margin-left: 10rpx;
  212. line-height: 36rpx;
  213. padding-right: 10rpx;
  214. }
  215. }
  216. }
  217. }
  218. }