common.scss 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. @import '@/uni_modules/uni-scss/theme.scss';
  2. @import '@/uni.scss';
  3. .inherit-icons{
  4. display: inherit;
  5. }
  6. .hui-ellipsis {
  7. overflow: hidden;
  8. white-space: nowrap;
  9. text-overflow: ellipsis;
  10. }
  11. //修改uni-ui样式
  12. .form-box {
  13. .uni-forms {
  14. background: #fff;
  15. border-radius: 16rpx;
  16. padding: 30rpx;
  17. box-shadow: 0px 1px 12px rgba(3,3,3,0.08);
  18. .uni-forms-item__label {
  19. color: $uni-main-color;
  20. padding-bottom: 0 !important;
  21. }
  22. .uni-easyinput__content {
  23. border-radius: 84rpx;
  24. }
  25. .uni-easyinput__content-input {
  26. height: 80rpx;
  27. }
  28. .uni-easyinput__placeholder-class {
  29. color: $uni-secondary-color !important;
  30. font-size: 28rpx !important;
  31. font-weight: 300 !important;
  32. }
  33. .uni-forms-item{
  34. margin-bottom: 20rpx;
  35. }
  36. }
  37. //选择框样式
  38. .select-box {
  39. height: 84rpx;
  40. border-radius: 84rpx;
  41. border: 1px solid $uni-border-1;
  42. position: relative;
  43. line-height: 82rpx;
  44. box-sizing: border-box;
  45. padding-left: 10px;
  46. .select-label {
  47. color: $uni-secondary-color;
  48. font-weight: 300;
  49. }
  50. .form-icon {
  51. position: absolute;
  52. right: 30rpx;
  53. top: 0rpx;
  54. }
  55. }
  56. }
  57. //底部按钮
  58. .hui-button-box {
  59. position: absolute;
  60. height: 100rpx;
  61. background-color: #ffffff;
  62. box-shadow: 0px 2px 10px rgba(3, 3, 3, 0.1);
  63. position: fixed;
  64. bottom: 0;
  65. left: 0;
  66. right: 0;
  67. display: flex;
  68. align-items: center;
  69. .hui-button {
  70. height: 68rpx;
  71. border-radius: 68rpx;
  72. color: #ffffff;
  73. background: $uni-primary;
  74. border: 1px solid $uni-primary;
  75. flex: 1;
  76. display: flex;
  77. align-items: center;
  78. justify-content: center;
  79. margin: 0 30rpx;
  80. &.hui-button-light{
  81. color: $uni-primary;
  82. background: #fff;
  83. }
  84. }
  85. .hui-button-icon{
  86. margin-right: 10rpx;
  87. }
  88. }
  89. button[type=primary]{
  90. background: $uni-primary;
  91. }
  92. //用户列表
  93. .fans-list {
  94. padding: 0 30rpx;
  95. box-sizing: border-box;
  96. .fans-item {
  97. height: 140rpx;
  98. background-color: #ffffff;
  99. border-radius: 16rpx;
  100. box-shadow: 0px 1px 12px rgba(3, 3, 3, 0.08);
  101. display: flex;
  102. align-items: center;
  103. padding: 0 30rpx;
  104. margin-bottom: 20rpx;
  105. }
  106. .fans-avatar {
  107. width: 100rpx;
  108. height: 100rpx;
  109. border-radius: 100rpx;
  110. }
  111. .fans-content {
  112. flex: 1;
  113. width: 0;
  114. margin-left: 20rpx;
  115. }
  116. .fans-name {
  117. font-size: 32rpx;
  118. }
  119. .fans-organization {
  120. color: $uni-secondary-color;
  121. font-weight: 300;
  122. margin-top: 4rpx;
  123. font-size: 24rpx;
  124. }
  125. .fans-icon {
  126. width: 80rpx;
  127. height: 80rpx;
  128. border-radius: 50%;
  129. background: $uni-primary;
  130. text-align: center;
  131. line-height: 80rpx;
  132. }
  133. }
  134. //通用列表
  135. .status-tag {
  136. height: 52rpx;
  137. border-radius: 52rpx;
  138. line-height: 52rpx;
  139. padding: 0 30rpx;
  140. font-size: 24rpx;
  141. color: #fff;
  142. &.success {
  143. background-color: $uni-success;
  144. }
  145. &.primary {
  146. background-color: $uni-primary;
  147. }
  148. &.info {
  149. background-color: $uni-info;
  150. }
  151. &.warning {
  152. background-color: $uni-warning;
  153. }
  154. &.error {
  155. background-color: $uni-error;
  156. }
  157. }
  158. .common-list {
  159. padding: 0 30rpx;
  160. box-sizing: border-box;
  161. .common-item {
  162. background-color: #ffffff;
  163. border-radius: 16rpx;
  164. box-shadow: 0px 1px 12px rgba(3, 3, 3, 0.08);
  165. padding: 30rpx;
  166. position: relative;
  167. margin-bottom: 20rpx;
  168. .icon {
  169. position: absolute;
  170. top: 30rpx;
  171. right: 30rpx;
  172. }
  173. .title {
  174. font-size: 32rpx;
  175. font-weight: 600;
  176. }
  177. .date {
  178. font-size: 24rpx;
  179. color: $uni-secondary-color;
  180. margin: 10rpx 0;
  181. }
  182. .space {
  183. font-size: 24rpx;
  184. }
  185. .other {
  186. margin-top: 20rpx;
  187. .item {
  188. margin-top: 16rpx;
  189. }
  190. .label {
  191. color: $uni-secondary-color;
  192. font-size: 24rpx;
  193. }
  194. .value {
  195. margin-top: 6rpx;
  196. font-weight: 400;
  197. }
  198. }
  199. .state {
  200. margin-top: 20rpx;
  201. display: flex;
  202. justify-content: space-between;
  203. .create {
  204. height: 48rpx;
  205. border-radius: 48rpx;
  206. border: 1px solid $uni-primary;
  207. display: flex;
  208. align-items: center;
  209. color: $uni-primary;
  210. padding: 0 10rpx;
  211. .name {
  212. font-size: 24rpx;
  213. flex: 1;
  214. max-width: 150rpx;
  215. min-width: 70rpx;
  216. overflow: hidden;
  217. margin-left: 10rpx;
  218. line-height: 36rpx;
  219. padding-right: 10rpx;
  220. }
  221. }
  222. }
  223. }
  224. }
  225. //通用列表
  226. .hui-tag {
  227. height: 44rpx;
  228. border-radius: 44rpx;
  229. line-height: 44rpx;
  230. padding: 0 20rpx;
  231. font-size: 20rpx;
  232. color: #fff;
  233. &.success {
  234. background-color: $uni-success;
  235. }
  236. &.primary {
  237. background-color: $uni-primary;
  238. }
  239. &.info {
  240. background-color: $uni-info;
  241. }
  242. &.warning {
  243. background-color: $uni-warning;
  244. }
  245. &.error {
  246. background-color: $uni-error;
  247. }
  248. }
  249. //详情
  250. .detail {
  251. padding: 30rpx;
  252. .detail-box {
  253. background-color: #ffffff;
  254. border-radius: 16rpx;
  255. box-shadow: 0px 1px 12px rgba(3, 3, 3, 0.08);
  256. padding: 30rpx;
  257. position: relative;
  258. margin-bottom: 30rpx;
  259. &.file-box{
  260. padding-bottom: 20rpx;
  261. }
  262. }
  263. .sub-title {
  264. display: flex;
  265. align-items: center;
  266. margin-left: -8rpx;
  267. .sub-label {
  268. font-size: 32rpx;
  269. font-weight: 600;
  270. margin-left: 14rpx;
  271. }
  272. }
  273. .title-box {
  274. padding-left: 90rpx;
  275. position: relative;
  276. .title-icon {
  277. width: 70rpx;
  278. height: 70rpx;
  279. text-align: center;
  280. line-height: 70rpx;
  281. background: $uni-primary;
  282. border-radius: 70rpx;
  283. position: absolute;
  284. left: 0;
  285. top: 50%;
  286. margin-top: -35rpx;
  287. }
  288. .title {
  289. font-size: 32rpx;
  290. font-weight: 600;
  291. margin-bottom: 8rpx;
  292. }
  293. .date {
  294. font-size: 24rpx;
  295. color: $uni-secondary-color;
  296. }
  297. }
  298. .other {
  299. margin-top: 20rpx;
  300. .item {
  301. margin-top: 16rpx;
  302. }
  303. .label {
  304. color: $uni-secondary-color;
  305. font-size: 24rpx;
  306. }
  307. .value {
  308. margin-top: 10rpx;
  309. font-weight: 400;
  310. }
  311. }
  312. .state {
  313. margin-top: 20rpx;
  314. display: flex;
  315. justify-content: space-between;
  316. .create {
  317. height: 48rpx;
  318. border-radius: 48rpx;
  319. border: 1px solid $uni-primary;
  320. display: flex;
  321. align-items: center;
  322. color: $uni-primary;
  323. padding: 0 10rpx;
  324. .name {
  325. font-size: 24rpx;
  326. flex: 1;
  327. max-width: 150rpx;
  328. min-width: 70rpx;
  329. overflow: hidden;
  330. margin-left: 10rpx;
  331. line-height: 36rpx;
  332. padding-right: 10rpx;
  333. }
  334. }
  335. }
  336. }