common.scss 6.5 KB

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