index.scss 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  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 10px;
  93. margin-top: 10px;
  94. background-color: #fff;
  95. }
  96. .tag-gap{
  97. margin: 10rpx 10rpx 10rpx 0;
  98. }
  99. .tag-gap1{
  100. margin: 10rpx;
  101. }
  102. .viewider{
  103. margin: 0 10rpx;
  104. }
  105. .mt{
  106. margin-top: 10rpx;
  107. }
  108. .mb{
  109. margin-bottom: 10rpx;
  110. }
  111. .ml{
  112. margin-left: 20rpx;
  113. }
  114. .mr {
  115. margin-right: 20rpx;
  116. }
  117. //公司名称
  118. .cer-end{
  119. position: absolute;
  120. top: 85%;
  121. right: 16%;
  122. }
  123. .cer-text{
  124. text-decoration: underline;
  125. margin: 0 5rpx;
  126. }
  127. //一行展示不全...
  128. .dis{
  129. display: flex;
  130. align-items: center;
  131. }
  132. .show-more{
  133. width: 26vw;
  134. white-space: nowrap;
  135. overflow: hidden;
  136. text-overflow: ellipsis;
  137. }
  138. .mr-10{
  139. margin-right: 10rpx;
  140. }
  141. .divider {
  142. color:#e4d4d2;
  143. }
  144. // 高亮
  145. .default-active {
  146. color: var(--v-primary-base) !important;
  147. }
  148. .border-bottom-dashed {
  149. border-bottom: 1px dashed var(--color-ccc);
  150. }
  151. .white-bgc {
  152. background-color: #fff;
  153. }
  154. .ellipsis {
  155. white-space: nowrap;
  156. text-overflow: ellipsis;
  157. overflow: hidden;
  158. }
  159. .head-box {
  160. .head-title {
  161. min-width: 160rpx;
  162. font-size: 36rpx;
  163. font-weight: bold;
  164. color: #333333;
  165. line-height: 36rpx;
  166. }
  167. .head-title-active {
  168. width: 160rpx;
  169. font-size: 32rpx;
  170. font-weight: 600;
  171. color: #999;
  172. line-height: 36rpx;
  173. }
  174. .head-title-animation {
  175. animation-name: title-animation;
  176. animation-duration: 0.1s;
  177. animation-timing-function: ease-out;
  178. animation-fill-mode: forwards;
  179. }
  180. .head-title-line {
  181. position: relative;
  182. &::before {
  183. content: '';
  184. width: 1rpx;
  185. height: 34rpx;
  186. background-color: #e4e7ed;
  187. position: absolute;
  188. left: -30rpx;
  189. top: 50%;
  190. transform: translateY(-50%);
  191. }
  192. }
  193. .head-subtitle {
  194. font-size: 26rpx;
  195. font-weight: 400;
  196. color: #afb6c0;
  197. text-align: left;
  198. display: flex;
  199. }
  200. }
  201. /* ==================
  202. margin padding: 内外边距
  203. ==================== */
  204. @for $i from 0 through 100 {
  205. // 只要双数和能被5除尽的数
  206. @if $i % 2==0 or $i % 5==0 {
  207. // 得出:u-margin-30或者u-m-30
  208. .ss-margin-#{$i},
  209. .ss-m-#{$i} {
  210. margin: $i + rpx;
  211. }
  212. .ss-m-x-#{$i} {
  213. margin-left: $i + rpx;
  214. margin-right: $i + rpx;
  215. }
  216. .ss-m-y-#{$i} {
  217. margin-top: $i + rpx;
  218. margin-bottom: $i + rpx;
  219. }
  220. // 得出:u-padding-30或者u-p-30
  221. .ss-padding-#{$i},
  222. .ss-p-#{$i} {
  223. padding: $i + rpx;
  224. }
  225. .ss-p-x-#{$i} {
  226. padding-left: $i + rpx;
  227. padding-right: $i + rpx;
  228. }
  229. .ss-p-y-#{$i} {
  230. padding-top: $i + rpx;
  231. padding-bottom: $i + rpx;
  232. }
  233. @each $short, $long in l left, t top, r right, b bottom {
  234. // 缩写版,结果如: u-m-l-30
  235. // 定义外边距
  236. .ss-m-#{$short}-#{$i} {
  237. margin-#{$long}: $i + rpx;
  238. }
  239. // 定义内边距
  240. .ss-p-#{$short}-#{$i} {
  241. padding-#{$long}: $i + rpx;
  242. }
  243. // 完整版,结果如:u-margin-left-30
  244. // 定义外边距
  245. .ss-margin-#{$long}-#{$i} {
  246. margin-#{$long}: $i + rpx;
  247. }
  248. // 定义内边距
  249. .ss-padding-#{$long}-#{$i} {
  250. padding-#{$long}: $i + rpx;
  251. }
  252. }
  253. }
  254. }
  255. /* ==================
  256. radius
  257. ==================== */
  258. @for $i from 0 through 100 {
  259. // 只要双数和能被5除尽的数
  260. @if $i % 2==0 or $i % 5==0 {
  261. .ss-radius-#{$i},
  262. .ss-r-#{$i} {
  263. border-radius: $i + rpx;
  264. }
  265. .ss-r-t-#{$i} {
  266. border-top-left-radius: $i + rpx;
  267. border-top-right-radius: $i + rpx;
  268. }
  269. .ss-r-b-#{$i} {
  270. border-bottom-left-radius: $i + rpx;
  271. border-bottom-right-radius: $i + rpx;
  272. }
  273. @each $short, $long in tl 'top-left', tr 'top-right', bl 'bottom-right', br 'bottom-right' {
  274. // 定义外边距
  275. .ss-r-#{$short}-#{$i} {
  276. border-#{$long}-radius: $i + rpx;
  277. }
  278. // 定义内边距
  279. .ss-radius-#{$long}-#{$i} {
  280. border-#{$long}-radius: $i + rpx;
  281. }
  282. }
  283. }
  284. }
  285. /* ==================
  286. flex布局
  287. ==================== */
  288. .ss-flex {
  289. display: flex;
  290. flex-direction: row;
  291. align-items: center;
  292. }
  293. .ss-flex-1 {
  294. flex: 1;
  295. }
  296. .ss-flex-col {
  297. display: flex;
  298. flex-direction: column;
  299. }
  300. .ss-flex-wrap {
  301. flex-wrap: wrap;
  302. }
  303. .ss-flex-nowrap {
  304. flex-wrap: nowrap;
  305. }
  306. .ss-col-center {
  307. align-items: center;
  308. }
  309. .ss-col-top {
  310. align-items: flex-start;
  311. }
  312. .ss-col-bottom {
  313. align-items: flex-end;
  314. }
  315. .ss-col-stretch {
  316. align-items: stretch;
  317. }
  318. .ss-row-center {
  319. justify-content: center;
  320. }
  321. .ss-row-left {
  322. justify-content: flex-start;
  323. }
  324. .ss-row-right {
  325. justify-content: flex-end;
  326. }
  327. .ss-row-between {
  328. justify-content: space-between;
  329. }
  330. .ss-row-around {
  331. justify-content: space-around;
  332. }
  333. .ss-self-start {
  334. align-self: flex-start;
  335. }
  336. .ss-self-end {
  337. align-self: flex-end;
  338. }
  339. .ss-self-center {
  340. align-self: center;
  341. }
  342. .ss-h-100 {
  343. height: 100%;
  344. }
  345. .ss-w-100 {
  346. width: 100%;
  347. }
  348. /* ==================
  349. 按钮
  350. ==================== */
  351. .ss-reset-button {
  352. padding: 0;
  353. margin: 0;
  354. font-size: inherit;
  355. background-color: transparent;
  356. color: inherit;
  357. position: relative;
  358. border: 0rpx;
  359. /* #ifndef APP-NVUE */
  360. display: flex;
  361. /* #endif */
  362. align-items: center;
  363. justify-content: center;
  364. box-sizing: border-box;
  365. text-align: center;
  366. text-decoration: none;
  367. white-space: nowrap;
  368. vertical-align: baseline;
  369. transform: translate(0, 0);
  370. }
  371. .ss-reset-button.button-hover {
  372. transform: translate(1px, 1px);
  373. background: none;
  374. }
  375. .ss-reset-button::after {
  376. border: none;
  377. }
  378. .login-btn-start {
  379. width: 158rpx;
  380. height: 56rpx;
  381. line-height: normal;
  382. background: #00897B;
  383. border-radius: 28rpx;
  384. font-size: 26rpx;
  385. font-weight: 500;
  386. color: #fff;
  387. }
  388. //页面底部单个按钮
  389. .recomm-button {
  390. color: #fff;
  391. width: 85%;
  392. height: 44px;
  393. line-height: 44px;
  394. margin: 20px auto;
  395. background-color: #00897B !important;
  396. // border-radius: 25px;
  397. }
  398. //页面底部两个按钮
  399. .second-button {
  400. width: 50vw;
  401. height: 44px;
  402. margin: 15px;
  403. background-color: #00897B !important;
  404. // border-radius: 25px;
  405. }
  406. .second-button:first-child {
  407. margin: 15px 0 15px 15px;
  408. }
  409. //底部按钮公用定位
  410. .bottom-sticky{
  411. display: flex;
  412. width:100vw;
  413. position: fixed;
  414. bottom:0;
  415. left: 0;
  416. background-image:linear-gradient(rgba(255,255,255,0.8),white);
  417. }
  418. // 主要页面大按钮用这个
  419. .send-button {
  420. width: 90vw;
  421. height:44px;
  422. line-height: 44px;
  423. margin:20px auto;
  424. background-color: #00897B !important;
  425. // border-radius: 25px;
  426. color: #fff;
  427. }
  428. //禁用按钮
  429. .disabled-button {
  430. width: 85%;
  431. height: 44px;
  432. line-height: 44px;
  433. margin: 20px auto;
  434. background-color: grey !important;
  435. // border-radius: 25px;
  436. }
  437. .big-cancel-button {
  438. width: 90vw;
  439. height:44px;
  440. line-height: 44px;
  441. margin:20px auto;
  442. background-color: #fff !important;
  443. color: #b3aeae;
  444. font-size: 28rpx;
  445. }
  446. // 头像
  447. .r-avatar {
  448. width: 40px;
  449. height: 40px;
  450. border-radius: 50%;
  451. // margin: 25rpx;
  452. }
  453. .avatar{
  454. width: 80px;
  455. height: 80px;
  456. border-radius: 50%;
  457. margin: auto;
  458. }
  459. .r-avatar-small {
  460. width: 25px;
  461. height: 25px;
  462. border-radius: 50%;
  463. margin: 20rpx;
  464. }
  465. .title-des {
  466. color: #3f424f;
  467. font-size: 19px;
  468. margin: 10px 0;
  469. }
  470. .scrollBox{
  471. height: 100%;
  472. }