common.scss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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. }
  100. .fans-avatar {
  101. width: 100rpx;
  102. height: 100rpx;
  103. border-radius: 100rpx;
  104. }
  105. .fans-content {
  106. flex: 1;
  107. width: 0;
  108. margin-left: 20rpx;
  109. }
  110. .fans-name {
  111. font-size: 32rpx;
  112. }
  113. .fans-organization {
  114. color: $uni-secondary-color;
  115. font-weight: 300;
  116. margin-top: 4rpx;
  117. font-size: 24rpx;
  118. }
  119. .fans-icon {
  120. width: 80rpx;
  121. height: 80rpx;
  122. border-radius: 50%;
  123. background: $uni-primary;
  124. text-align: center;
  125. line-height: 80rpx;
  126. }
  127. }
  128. //通用列表
  129. .status-tag {
  130. height: 52rpx;
  131. border-radius: 52rpx;
  132. line-height: 52rpx;
  133. padding: 0 30rpx;
  134. font-size: 24rpx;
  135. color: #fff;
  136. &.success {
  137. background-color: $uni-success;
  138. }
  139. &.primary {
  140. background-color: $uni-primary;
  141. }
  142. &.info {
  143. background-color: $uni-info;
  144. }
  145. &.warning {
  146. background-color: $uni-warning;
  147. }
  148. &.error {
  149. background-color: $uni-error;
  150. }
  151. }
  152. .common-list {
  153. padding: 0 30rpx;
  154. box-sizing: border-box;
  155. .common-item {
  156. background-color: #ffffff;
  157. border-radius: 16rpx;
  158. box-shadow: 0px 1px 12px rgba(3, 3, 3, 0.08);
  159. padding: 30rpx;
  160. position: relative;
  161. .icon {
  162. position: absolute;
  163. top: 30rpx;
  164. right: 30rpx;
  165. }
  166. .title {
  167. font-size: 32rpx;
  168. font-weight: 600;
  169. }
  170. .date {
  171. font-size: 24rpx;
  172. color: $uni-secondary-color;
  173. margin: 10rpx 0;
  174. }
  175. .space {
  176. font-size: 24rpx;
  177. }
  178. .other {
  179. margin-top: 20rpx;
  180. .item {
  181. margin-top: 16rpx;
  182. }
  183. .label {
  184. color: $uni-secondary-color;
  185. font-size: 24rpx;
  186. }
  187. .value {
  188. margin-top: 6rpx;
  189. font-weight: 400;
  190. }
  191. }
  192. .state {
  193. margin-top: 20rpx;
  194. display: flex;
  195. justify-content: space-between;
  196. .create {
  197. height: 48rpx;
  198. border-radius: 48rpx;
  199. border: 1px solid $uni-primary;
  200. display: flex;
  201. align-items: center;
  202. color: $uni-primary;
  203. padding: 0 10rpx;
  204. .name {
  205. font-size: 24rpx;
  206. flex: 1;
  207. max-width: 150rpx;
  208. min-width: 70rpx;
  209. overflow: hidden;
  210. margin-left: 10rpx;
  211. line-height: 36rpx;
  212. padding-right: 10rpx;
  213. }
  214. }
  215. }
  216. }
  217. }