index.scss 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. :root {
  2. --v-primary-base: #00897B;
  3. --v-error-base: #fe574a;
  4. --v-primary-lighten1: #26A69A;
  5. --v-primary-lighten2: #4DB6AC;
  6. --v-primary-lighten3: #80CBC4;
  7. --v-primary-lighten4: #B2DFDB;
  8. --color-222: #222;
  9. --color-333: #333;
  10. --color-666: #666;
  11. --color-777: #777;
  12. --color-999: #999;
  13. --color-ccc: #ccc;
  14. --color-f3: #f3f3f3;
  15. --color-f2f4f742: #f2f4f742;
  16. --color-f8: #f8f8f8;
  17. --color-f2f4f7: #f2f4f7;
  18. --color-d5e6e8: #d5e6e8;
  19. --zIndex-breadcrumbs: 999;
  20. }
  21. .mt-5 { margin-top: 30rpx; }
  22. .mt-10 { margin-top: 60rpx; }
  23. .cursor-pointer { cursor: pointer; }
  24. .font-weight-bold { font-weight: bold; }
  25. .text-center { text-align: center; }
  26. .d-flex { display: flex; }
  27. .flex-column { flex-direction: column; }
  28. .align-center { align-items: center; }
  29. .justify-center { justify-content: center; }
  30. .justify-space-between { justify-content: space-between; }
  31. .justify-space-around { justify-content: space-around; }
  32. .justify-end { justify-content: flex-end; }
  33. .color-222 { color: #222; }
  34. .color-333 { color: #333; }
  35. .color-666 { color: #666; }
  36. .color-777 { color: #777; }
  37. .color-999 { color: #999; }
  38. .color-ccc { color: #ccc; }
  39. .color-f3f3f3 { color: #f3f3f3; }
  40. .color-f2f4f742 { color: #f2f4f742; }
  41. .color-f8f8f8 { color: #f8f8f8; }
  42. .color-f2f4f7 { color: #f2f4f7; }
  43. .color-d5e6e8 { color: #d5e6e8; }
  44. .color-error { color: #fe574a; }
  45. .color-primary { color: #00897B; }
  46. .color-warning { color: #fb8c00; }
  47. .font-size-12 { font-size: 24rpx; }
  48. .font-size-13 { font-size: 26rpx; }
  49. .font-size-14 { font-size: 28rpx; }
  50. .font-size-15 { font-size: 30rpx; }
  51. .font-size-16 { font-size: 32rpx; }
  52. .font-size-17 { font-size: 34rpx; }
  53. .font-size-18 { font-size: 36rpx; }
  54. .font-size-19 { font-size: 38rpx; }
  55. .font-size-20 { font-size: 40rpx; }
  56. .defaultLink {
  57. color:#008978;
  58. cursor:pointer;
  59. // text-decoration: underline;
  60. }
  61. .defaultBgc {
  62. // height: 100vh;
  63. background-color: #f2f4f7;
  64. }
  65. // 火苗
  66. // 水平左右分
  67. .f-horizon {
  68. display: flex;
  69. justify-content: space-between;
  70. align-items: center;
  71. flex-direction: row;
  72. margin:15rpx;
  73. }
  74. // 水平居中
  75. .f-horizon-center{
  76. display: flex;
  77. justify-content: center;
  78. align-items: center;
  79. flex-direction: row;
  80. margin:5rpx;
  81. }
  82. /* 列表触底暂无更多 */
  83. .noMore{
  84. text-align:center;
  85. color:grey;
  86. }
  87. .salary-text {
  88. float: right;
  89. color: #ff770d;
  90. }
  91. .list-shape {
  92. padding: 10px 30rpx;
  93. margin-top: 10px;
  94. background-color: #fff;
  95. }
  96. .tag-gap{
  97. margin: 10rpx 10rpx 10rpx 0;
  98. }
  99. .viewider{
  100. margin: 0 10rpx;
  101. }
  102. .ml{
  103. margin-left: 20rpx;
  104. }
  105. .mr {
  106. margin-right: 20rpx;
  107. }
  108. //公司名称
  109. .cer-end{
  110. position: absolute;
  111. top: 85%;
  112. right: 16%;
  113. }
  114. .cer-text{
  115. text-decoration: underline;
  116. margin: 0 5rpx;
  117. }
  118. //一行展示不全...
  119. .dis{
  120. display: flex;
  121. align-items: center;
  122. }
  123. .show-more{
  124. width: 26vw;
  125. white-space: nowrap;
  126. overflow: hidden;
  127. text-overflow: ellipsis;
  128. }
  129. .mr-10{
  130. margin-right: 10rpx;
  131. }
  132. .divider {
  133. color:#e4d4d2;
  134. }
  135. // 高亮
  136. .default-active {
  137. color: var(--v-primary-base) !important;
  138. }
  139. .border-bottom-dashed {
  140. border-bottom: 1px dashed var(--color-ccc);
  141. }
  142. .white-bgc {
  143. background-color: #fff;
  144. }
  145. .ellipsis {
  146. white-space: nowrap;
  147. text-overflow: ellipsis;
  148. overflow: hidden;
  149. }
  150. .head-box {
  151. .head-title {
  152. min-width: 160rpx;
  153. font-size: 36rpx;
  154. font-weight: bold;
  155. color: #333333;
  156. line-height: 36rpx;
  157. }
  158. .head-title-active {
  159. width: 160rpx;
  160. font-size: 32rpx;
  161. font-weight: 600;
  162. color: #999;
  163. line-height: 36rpx;
  164. }
  165. .head-title-animation {
  166. animation-name: title-animation;
  167. animation-duration: 0.1s;
  168. animation-timing-function: ease-out;
  169. animation-fill-mode: forwards;
  170. }
  171. .head-title-line {
  172. position: relative;
  173. &::before {
  174. content: '';
  175. width: 1rpx;
  176. height: 34rpx;
  177. background-color: #e4e7ed;
  178. position: absolute;
  179. left: -30rpx;
  180. top: 50%;
  181. transform: translateY(-50%);
  182. }
  183. }
  184. .head-subtitle {
  185. font-size: 26rpx;
  186. font-weight: 400;
  187. color: #afb6c0;
  188. text-align: left;
  189. display: flex;
  190. }
  191. }
  192. /* ==================
  193. margin padding: 内外边距
  194. ==================== */
  195. @for $i from 0 through 100 {
  196. // 只要双数和能被5除尽的数
  197. @if $i % 2==0 or $i % 5==0 {
  198. // 得出:u-margin-30或者u-m-30
  199. .ss-margin-#{$i},
  200. .ss-m-#{$i} {
  201. margin: $i + rpx;
  202. }
  203. .ss-m-x-#{$i} {
  204. margin-left: $i + rpx;
  205. margin-right: $i + rpx;
  206. }
  207. .ss-m-y-#{$i} {
  208. margin-top: $i + rpx;
  209. margin-bottom: $i + rpx;
  210. }
  211. // 得出:u-padding-30或者u-p-30
  212. .ss-padding-#{$i},
  213. .ss-p-#{$i} {
  214. padding: $i + rpx;
  215. }
  216. .ss-p-x-#{$i} {
  217. padding-left: $i + rpx;
  218. padding-right: $i + rpx;
  219. }
  220. .ss-p-y-#{$i} {
  221. padding-top: $i + rpx;
  222. padding-bottom: $i + rpx;
  223. }
  224. @each $short, $long in l left, t top, r right, b bottom {
  225. // 缩写版,结果如: u-m-l-30
  226. // 定义外边距
  227. .ss-m-#{$short}-#{$i} {
  228. margin-#{$long}: $i + rpx;
  229. }
  230. // 定义内边距
  231. .ss-p-#{$short}-#{$i} {
  232. padding-#{$long}: $i + rpx;
  233. }
  234. // 完整版,结果如:u-margin-left-30
  235. // 定义外边距
  236. .ss-margin-#{$long}-#{$i} {
  237. margin-#{$long}: $i + rpx;
  238. }
  239. // 定义内边距
  240. .ss-padding-#{$long}-#{$i} {
  241. padding-#{$long}: $i + rpx;
  242. }
  243. }
  244. }
  245. }
  246. /* ==================
  247. radius
  248. ==================== */
  249. @for $i from 0 through 100 {
  250. // 只要双数和能被5除尽的数
  251. @if $i % 2==0 or $i % 5==0 {
  252. .ss-radius-#{$i},
  253. .ss-r-#{$i} {
  254. border-radius: $i + rpx;
  255. }
  256. .ss-r-t-#{$i} {
  257. border-top-left-radius: $i + rpx;
  258. border-top-right-radius: $i + rpx;
  259. }
  260. .ss-r-b-#{$i} {
  261. border-bottom-left-radius: $i + rpx;
  262. border-bottom-right-radius: $i + rpx;
  263. }
  264. @each $short, $long in tl 'top-left', tr 'top-right', bl 'bottom-right', br 'bottom-right' {
  265. // 定义外边距
  266. .ss-r-#{$short}-#{$i} {
  267. border-#{$long}-radius: $i + rpx;
  268. }
  269. // 定义内边距
  270. .ss-radius-#{$long}-#{$i} {
  271. border-#{$long}-radius: $i + rpx;
  272. }
  273. }
  274. }
  275. }
  276. /* ==================
  277. flex布局
  278. ==================== */
  279. .ss-flex {
  280. display: flex;
  281. flex-direction: row;
  282. align-items: center;
  283. }
  284. .ss-flex-1 {
  285. flex: 1;
  286. }
  287. .ss-flex-col {
  288. display: flex;
  289. flex-direction: column;
  290. }
  291. .ss-flex-wrap {
  292. flex-wrap: wrap;
  293. }
  294. .ss-flex-nowrap {
  295. flex-wrap: nowrap;
  296. }
  297. .ss-col-center {
  298. align-items: center;
  299. }
  300. .ss-col-top {
  301. align-items: flex-start;
  302. }
  303. .ss-col-bottom {
  304. align-items: flex-end;
  305. }
  306. .ss-col-stretch {
  307. align-items: stretch;
  308. }
  309. .ss-row-center {
  310. justify-content: center;
  311. }
  312. .ss-row-left {
  313. justify-content: flex-start;
  314. }
  315. .ss-row-right {
  316. justify-content: flex-end;
  317. }
  318. .ss-row-between {
  319. justify-content: space-between;
  320. }
  321. .ss-row-around {
  322. justify-content: space-around;
  323. }
  324. .ss-self-start {
  325. align-self: flex-start;
  326. }
  327. .ss-self-end {
  328. align-self: flex-end;
  329. }
  330. .ss-self-center {
  331. align-self: center;
  332. }
  333. .ss-h-100 {
  334. height: 100%;
  335. }
  336. .ss-w-100 {
  337. width: 100%;
  338. }
  339. /* ==================
  340. 按钮
  341. ==================== */
  342. .ss-reset-button {
  343. padding: 0;
  344. margin: 0;
  345. font-size: inherit;
  346. background-color: transparent;
  347. color: inherit;
  348. position: relative;
  349. border: 0rpx;
  350. /* #ifndef APP-NVUE */
  351. display: flex;
  352. /* #endif */
  353. align-items: center;
  354. justify-content: center;
  355. box-sizing: border-box;
  356. text-align: center;
  357. text-decoration: none;
  358. white-space: nowrap;
  359. vertical-align: baseline;
  360. transform: translate(0, 0);
  361. }
  362. .ss-reset-button.button-hover {
  363. transform: translate(1px, 1px);
  364. background: none;
  365. }
  366. .ss-reset-button::after {
  367. border: none;
  368. }
  369. .login-btn-start {
  370. width: 158rpx;
  371. height: 56rpx;
  372. line-height: normal;
  373. background: #00897B;
  374. border-radius: 28rpx;
  375. font-size: 26rpx;
  376. font-weight: 500;
  377. color: #fff;
  378. }
  379. //页面底部单个按钮
  380. .recomm-button {
  381. width: 85%;
  382. height: 44px;
  383. line-height: 44px;
  384. margin: 20px auto;
  385. background-color: #00897B !important;
  386. // border-radius: 25px;
  387. }
  388. //页面底部两个按钮
  389. .second-button {
  390. width: 50vw;
  391. height: 44px;
  392. margin: 15px;
  393. background-color: #00897B !important;
  394. // border-radius: 25px;
  395. }
  396. .second-button:first-child {
  397. margin: 15px 0 15px 15px;
  398. }
  399. //底部按钮公用定位
  400. .bottom-sticky{
  401. display: flex;
  402. width:100vw;
  403. position: fixed;
  404. bottom:0;
  405. left: 0;
  406. background-image:linear-gradient(rgba(255,255,255,0.8),white);
  407. }
  408. // 主要页面大按钮用这个
  409. .send-button {
  410. width: 90vw;
  411. height:44px;
  412. line-height: 44px;
  413. margin:20px auto;
  414. background-color: #00897B !important;
  415. // border-radius: 25px;
  416. color: #fff;
  417. }
  418. //禁用按钮
  419. .disabled-button {
  420. width: 85%;
  421. height: 44px;
  422. line-height: 44px;
  423. margin: 20px auto;
  424. background-color: grey !important;
  425. // border-radius: 25px;
  426. }