common.scss 6.4 KB

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