common.scss 6.4 KB

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