base.css 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863
  1. /* 重置样式 */
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. }
  7. /* 防止Vue模板闪烁 */
  8. [v-cloak] {
  9. display: none !important;
  10. }
  11. table {
  12. width: calc(100% - 16px);
  13. margin: 0 auto;
  14. border-left: 2px solid #f2f2f2;
  15. border-top: 2px solid #f2f2f2;
  16. border-collapse: separate;
  17. border-spacing: 0;
  18. }
  19. tr {
  20. height: 46px;
  21. display: flex;
  22. align-items: center;
  23. box-sizing: border-box;
  24. }
  25. th {
  26. height: 100%;
  27. padding-right: 16px;
  28. background-color: #fafafa;
  29. align-items: center;
  30. justify-content: flex-end;
  31. box-sizing: border-box;
  32. max-width: 30%;
  33. min-width: 30%;
  34. border-bottom: 2px solid #f2f2f2;
  35. border-right: 2px solid #f2f2f2;
  36. color: #333333;
  37. font-size: 16px;
  38. font-weight: normal;
  39. display: flex;
  40. }
  41. td {
  42. height: 100%;
  43. padding-left: 16px;
  44. padding-right: 16px;
  45. align-items: flex-start;
  46. justify-content: flex-start;
  47. box-sizing: border-box;
  48. border-bottom: 2px solid #f2f2f2;
  49. border-right: 2px solid #f2f2f2;
  50. background: #fff;
  51. color: #333333;
  52. font-size: 16px;
  53. flex: 1;
  54. min-width: 0;
  55. width: 100%;
  56. display: flex;
  57. align-items: center;
  58. position: relative; /* 为伪元素定位 */
  59. }
  60. i{
  61. font-style: normal;
  62. }
  63. /* ss-input 智能输入组件样式 */
  64. .ss-input {
  65. width: 100%;
  66. position: relative;
  67. }
  68. .ss-input__container {
  69. position: relative;
  70. width: 100%;
  71. }
  72. .ss-input__field {
  73. width: 100%;
  74. height: 34px;
  75. /* padding: 0 16px; */
  76. font-size: 16px;
  77. line-height: 35px;
  78. color: #333;
  79. background-color: transparent;
  80. border: none;
  81. border-radius: 4px;
  82. outline: none;
  83. box-sizing: border-box;
  84. transition: border-color 0.2s ease;
  85. }
  86. .ss-input__field::placeholder {
  87. color: #999;
  88. font-size: 16px;
  89. }
  90. .ss-input__field:invalid,
  91. .ss-input__field.error {
  92. border-color: #ff3b30;
  93. }
  94. /* 错误提示 */
  95. .ss-input__error {
  96. color: #ff3b30;
  97. font-size: 12px;
  98. line-height: 18px;
  99. margin-top: 4px;
  100. text-align: right;
  101. position: absolute;
  102. bottom: 0;
  103. right: 0;
  104. }
  105. /* 校验状态样式 - 作用在td上 */
  106. td.td-required::before {
  107. content: '';
  108. position: absolute;
  109. left: 0;
  110. top: 0;
  111. bottom: 0;
  112. width: 2px;
  113. background: #ff3b30;
  114. z-index: 1;
  115. }
  116. td.td-error::after {
  117. content: '';
  118. position: absolute;
  119. left: 0;
  120. right: 0;
  121. bottom: 0;
  122. height: 2px;
  123. background: #ff3b30;
  124. z-index: 1;
  125. }
  126. td.td-error::before {
  127. content: '';
  128. position: absolute;
  129. left: 0;
  130. top: 0;
  131. bottom: 0;
  132. width: 2px;
  133. background: #ff3b30;
  134. z-index: 1;
  135. }
  136. /* ss-bottom 底部按钮组件样式 */
  137. .ss-bottom {
  138. position: fixed;
  139. bottom: 0;
  140. left: 0;
  141. width: 100%;
  142. z-index: 99;
  143. }
  144. /* 审核意见区域 */
  145. .ss-bottom__opinion {
  146. background-color: #fff;
  147. }
  148. .ss-bottom__opinion-table {
  149. width: 100%;
  150. margin: 0;
  151. border-left: 2px solid #f2f2f2;
  152. border-top: 2px solid #f2f2f2;
  153. border-collapse: separate;
  154. border-spacing: 0;
  155. height: 50px;
  156. }
  157. .ss-bottom__opinion-table tr {
  158. height: 50px;
  159. display: flex;
  160. align-items: center;
  161. box-sizing: border-box;
  162. }
  163. .ss-bottom__opinion-label {
  164. height: 100%;
  165. padding-right: 16px;
  166. background-color: #e6e6e6;
  167. color: #333333;
  168. align-items: center;
  169. justify-content: flex-end;
  170. box-sizing: border-box;
  171. max-width: 30%;
  172. min-width: 30%;
  173. border-bottom: 2px solid #f2f2f2;
  174. border-right: 2px solid #f2f2f2;
  175. font-size: 16px;
  176. font-weight: normal;
  177. display: flex;
  178. border: none;
  179. }
  180. .ss-bottom__opinion-input {
  181. height: 100%;
  182. padding-left: 16px;
  183. padding-right: 16px;
  184. align-items: center;
  185. justify-content: flex-start;
  186. box-sizing: border-box;
  187. border-bottom: 2px solid #f2f2f2;
  188. border-right: 2px solid #f2f2f2;
  189. }
  190. /* 按钮区域 */
  191. .ss-bottom__buttons {
  192. display: flex;
  193. justify-content: space-between;
  194. align-items: center;
  195. background-color: #fff;
  196. height: 50px;
  197. }
  198. .ss-bottom__buttons--with-border {
  199. border-top: 1px solid #e6e6e6;
  200. }
  201. .ss-bottom__button {
  202. flex: 1;
  203. height: 100%;
  204. line-height: 50px;
  205. text-align: center;
  206. font-size: 16px;
  207. color: #333;
  208. background-color: #fafafb;
  209. cursor: pointer;
  210. transition: background-color 0.2s ease;
  211. }
  212. .ss-bottom__button:active {
  213. background-color: #585e6e;
  214. color: #fff;
  215. }
  216. .ss-bottom__divider {
  217. width: 1px;
  218. height: 80%;
  219. background-color: #e0e0e0;
  220. }
  221. /* ========== SsOnoffButton 开关按钮(照抄小程序版本) ========== */
  222. .ss-onoff-button {
  223. position: relative;
  224. display: inline-flex;
  225. align-items: center;
  226. justify-content: center;
  227. padding: 4px 12px;
  228. border: 1px solid #BFC1C6;
  229. border-radius: 2px;
  230. background-color: #fff;
  231. color: #C3C6CA;
  232. font-size: 16px;
  233. cursor: pointer;
  234. transition: all 0.3s ease;
  235. margin-right: 4px;
  236. }
  237. .ss-onoff-button.checked {
  238. color: #393D51;
  239. border-color: #393D51;
  240. }
  241. /* 禁用状态 */
  242. .ss-onoff-button.disabled {
  243. opacity: 0.6;
  244. cursor: not-allowed;
  245. pointer-events: none;
  246. }
  247. .ss-onoff-button .button-label {
  248. flex: 1;
  249. text-align: center;
  250. line-height: 1.2;
  251. }
  252. .ss-onoff-button .button-mark {
  253. position: absolute;
  254. bottom: 0px;
  255. right: 0px;
  256. width: 18px;
  257. height: 18px;
  258. display: flex;
  259. align-items: center;
  260. justify-content: center;
  261. color: inherit;
  262. }
  263. /* 表单组件icon样式 - 完全按照小程序版本实现 */
  264. .form-icon {
  265. font-size: 18px;
  266. font-family: "iconfont";
  267. }
  268. .form-icon-onoffbutton-checked::before {
  269. content: "\e62d";
  270. }
  271. .form-icon-onoffbutton-unchecked::before {
  272. content: "\e62b";
  273. }
  274. /* ========== SsDatetimePicker 日期时间选择器(使用 Vant) ========== */
  275. .ss-datetime-picker {
  276. position: relative;
  277. width: 100%;
  278. }
  279. /* 禁用状态 */
  280. .ss-datetime-picker.disabled {
  281. opacity: 0.6;
  282. cursor: not-allowed;
  283. }
  284. .ss-datetime-picker.disabled .datetime-picker-display {
  285. cursor: not-allowed;
  286. pointer-events: none;
  287. }
  288. .datetime-picker-display {
  289. display: flex;
  290. align-items: center;
  291. justify-content: space-between;
  292. height: 36px;
  293. /* border: 1px solid #e0e0e0; */
  294. border-radius: 6px;
  295. background: #fff;
  296. min-height: 36px;
  297. transition: border-color 0.2s;
  298. cursor: pointer;
  299. }
  300. .datetime-picker-value {
  301. flex: 1;
  302. font-size: 16px;
  303. color: #333;
  304. text-align: left;
  305. }
  306. .datetime-picker-value.placeholder {
  307. color: #999;
  308. }
  309. .datetime-picker-icon {
  310. margin-left: 8px;
  311. font-size: 16px;
  312. color: #666;
  313. }
  314. /* ========== SsConfirm 确认弹窗(照抄小程序版本) ========== */
  315. .ss-confirm {
  316. position: fixed;
  317. top: 0;
  318. left: 0;
  319. right: 0;
  320. bottom: 0;
  321. z-index: 9999;
  322. display: flex;
  323. flex-direction: column;
  324. overflow: hidden; /* 阻止弹窗内滚动 */
  325. }
  326. /* 弹窗显示时阻止 body 滚动 */
  327. body.modal-open {
  328. overflow: hidden;
  329. position: fixed;
  330. width: 100%;
  331. }
  332. /* 遮罩层 */
  333. .confirm-mask {
  334. position: absolute;
  335. top: 0;
  336. left: 0;
  337. right: 0;
  338. bottom: 0;
  339. backdrop-filter: blur(2px);
  340. -webkit-backdrop-filter: blur(2px);
  341. }
  342. /* 弹窗内容 */
  343. .confirm-content {
  344. position: absolute;
  345. top: 50%;
  346. left: 50%;
  347. transform: translate(-50%, -50%);
  348. background: #f2f3f4;
  349. border-radius: 5px;
  350. overflow: hidden;
  351. display: flex;
  352. flex-direction: column;
  353. box-shadow: 6px 5px 3px rgba(0, 0, 0, 0.3);
  354. width: 90%;
  355. max-width: 400px;
  356. }
  357. /* 头部信息 */
  358. .confirm-header {
  359. padding-top: 20px;
  360. padding-bottom: 10px;
  361. border-bottom: 1px solid #f2f3f4;
  362. }
  363. .confirm-header .header-title {
  364. font-size: 21px;
  365. color: #333;
  366. text-align: center;
  367. }
  368. .header-line {
  369. width: calc(100% - 52px);
  370. height: 1px;
  371. background: #e6e6e6;
  372. margin: 0 auto;
  373. }
  374. /* 主要内容区域 */
  375. .confirm-body {
  376. flex: 1;
  377. overflow: hidden;
  378. display: flex;
  379. flex-direction: column;
  380. padding: 16px;
  381. }
  382. .confirm-content-text {
  383. font-size: 15px;
  384. color: #666;
  385. line-height: 1.6;
  386. text-align: center;
  387. margin-bottom: 8px;
  388. }
  389. /* 底部按钮 */
  390. .confirm-bottom {
  391. position: relative;
  392. border-top: 1px solid #eee;
  393. display: flex;
  394. }
  395. .confirm-btn {
  396. flex: 1;
  397. height: 50px;
  398. border: none;
  399. font-size: 16px;
  400. cursor: pointer;
  401. transition: all 0.2s;
  402. background: #f2f3f4;
  403. color: #333;
  404. }
  405. .confirm-btn:first-child {
  406. border-right: 1px solid #eee;
  407. }
  408. .confirm-btn:hover {
  409. background: #e8e9ea;
  410. }
  411. /* ========== SsCard 卡片组件样式 ========== */
  412. .ss-card-swipe__indicator {
  413. grid-area: 1 / 1;
  414. justify-self: end;
  415. align-self: stretch;
  416. width: 8px;
  417. height: 100%;
  418. z-index: 0;
  419. transition: opacity 0.2s ease;
  420. pointer-events: none;
  421. position: relative;
  422. z-index: 111;
  423. border-radius: 0 4px 4px 0;
  424. }
  425. .ss-card-swipe__actions {
  426. grid-area: 1 / 1;
  427. display: flex;
  428. align-items: stretch;
  429. justify-content: flex-end;
  430. align-self: stretch;
  431. justify-self: end;
  432. }
  433. .ss-card-swipe__action {
  434. width: 66px;
  435. min-width: 66px;
  436. max-width: 66px;
  437. height: 100%;
  438. border: none;
  439. font-size: 16px;
  440. padding: 0;
  441. display: flex;
  442. align-items: center;
  443. justify-content: center;
  444. text-align: center;
  445. word-break: break-all;
  446. }
  447. .ss-card-swipe__action:last-child {
  448. border-radius: 0 4px 4px 0;
  449. }
  450. .ss-card-swipe__action:active {
  451. background: #3f4552;
  452. }
  453. .ss-card-swipe__content {
  454. grid-area: 1 / 1;
  455. position: relative;
  456. z-index: 1;
  457. display: block;
  458. width: 100%;
  459. transition: transform 0.2s ease;
  460. will-change: transform;
  461. }
  462. .ss-card {
  463. background: #FFFFFF;
  464. border-radius: 4px;
  465. overflow: visible;
  466. padding: 0;
  467. border: 1px solid #d9d9d9;
  468. margin-bottom: 15px;
  469. box-shadow: 1px 3px 3px rgba(4, 0, 0, 0.15);
  470. box-sizing: border-box;
  471. position: relative;
  472. z-index: 1;
  473. cursor: pointer;
  474. }
  475. .ss-card--swipeable {
  476. display: grid;
  477. overflow: hidden;
  478. padding: 0;
  479. }
  480. .ss-card-main {
  481. position: relative;
  482. padding: 12.5px;
  483. box-sizing: border-box;
  484. }
  485. .ss-card--swipeable .ss-card-swipe__content {
  486. background: #FFFFFF;
  487. }
  488. /* 右上角设置按钮区域 */
  489. .card-setting-header {
  490. position: absolute;
  491. top: 0;
  492. right: 0;
  493. width: 40px;
  494. height: 40px;
  495. display: flex;
  496. align-items: center;
  497. justify-content: center;
  498. z-index: 1001;
  499. }
  500. .setting-icon {
  501. width: 40px;
  502. height: 40px;
  503. display: flex;
  504. align-items: center;
  505. justify-content: center;
  506. border-radius: 0 4px 0 4px;
  507. transition: all 0.3s ease;
  508. }
  509. .setting-icon:active {
  510. background: rgba(0, 0, 0, 0.1);
  511. }
  512. /* ========== SsSearchButton 搜索按钮组件样式 ========== */
  513. .ss-search-button-container {
  514. position: relative;
  515. display: inline-block;
  516. margin: 0 4px 4px 0;
  517. font-size: 16px;
  518. }
  519. .ss-search-button {
  520. height: 34px;
  521. padding: 0 16px;
  522. border: 1px solid #eceded;
  523. outline: none;
  524. background-color: #fff;
  525. text-align: center;
  526. font-size: 16px;
  527. color: #585d6e;
  528. letter-spacing: 2px;
  529. border-radius: 4px;
  530. display: flex;
  531. align-items: center;
  532. justify-content: center;
  533. -webkit-appearance: none;
  534. appearance: none;
  535. box-sizing: border-box;
  536. transition: all 0.2s ease;
  537. cursor: pointer;
  538. }
  539. .ss-search-button:active {
  540. background-color: #eceded;
  541. color: #fff;
  542. border-color: #eceded;
  543. transform: scale(0.98);
  544. transition: all 0.1s ease;
  545. }
  546. .ss-search-button:active .ss-search-button__pre-icon .iconfont,
  547. .ss-search-button:active .ss-search-button__suffix-icon .iconfont {
  548. color: #fff !important;
  549. }
  550. .ss-search-button:disabled {
  551. opacity: 0.6;
  552. cursor: not-allowed;
  553. }
  554. .ss-search-button__pre-icon {
  555. margin-right: 5px;
  556. display: flex;
  557. align-items: center;
  558. }
  559. .ss-search-button__suffix-icon {
  560. margin-left: 5px;
  561. display: flex;
  562. align-items: center;
  563. }
  564. .ss-search-button__text {
  565. font-size: 16px;
  566. color: inherit;
  567. }
  568. /* 选项弹窗菜单 - 参考小程序ss-select样式 */
  569. .options-menu {
  570. position: absolute;
  571. top: 100%;
  572. right: 0;
  573. left: auto;
  574. width: max-content;
  575. background-color: #393D51;
  576. z-index: 1003;
  577. color: #fff;
  578. border: 2px solid #393D51;
  579. box-sizing: border-box;
  580. border-radius: 10px;
  581. overflow: hidden;
  582. max-height: 300px;
  583. overflow-y: auto;
  584. /* 功能说明:搜索按钮下拉菜单按按钮右侧对齐展开,宽度不再写死 200px,避免右侧按钮超出屏幕 by xu 2026-03-06 */
  585. min-width: 100%;
  586. max-width: calc(100vw - 30px);
  587. }
  588. .option-item {
  589. padding: 10px 10px 10px 16px;
  590. cursor: pointer;
  591. position: relative;
  592. display: flex;
  593. align-items: center;
  594. }
  595. .option-item::after {
  596. content: "";
  597. position: absolute;
  598. bottom: 0%;
  599. left: 50%;
  600. transform: translateX(-50%);
  601. width: 80%;
  602. height: 1px;
  603. background-color: #303445;
  604. }
  605. .option-item:last-child::after {
  606. display: none;
  607. }
  608. .option-item:active {
  609. background-color: #fff;
  610. color: #393D51;
  611. }
  612. .option-item:active::after {
  613. display: none;
  614. }
  615. /* Icon组件在菜单中的样式 */
  616. .option-item .iconfont,
  617. .menu-item .iconfont {
  618. margin-right: 8px;
  619. display: inline-flex;
  620. align-items: center;
  621. }
  622. .option-text {
  623. font-size: 14px;
  624. color: inherit;
  625. flex: 1;
  626. min-width: 0;
  627. overflow: hidden;
  628. text-overflow: ellipsis;
  629. white-space: nowrap;
  630. }
  631. /* ========== SsCard 卡片组件样式 ========== */
  632. .ss-card {
  633. background: #FFFFFF;
  634. border-radius: 4px;
  635. overflow: visible;
  636. padding: 0px;
  637. border: 1px solid #d9d9d9;
  638. margin-bottom: 15px;
  639. box-shadow: 1px 3px 3px rgba(4, 0, 0, 0.15);
  640. box-sizing: border-box;
  641. position: relative;
  642. z-index: 1;
  643. cursor: pointer;
  644. }
  645. /* .card-content 内容区域不需要额外padding,因为卡片本身已有padding */
  646. .field-row {
  647. display: flex;
  648. margin-bottom: 8px;
  649. align-items: flex-start;
  650. }
  651. .field-row:last-child {
  652. margin-bottom: 0;
  653. }
  654. .field-label {
  655. color: #666;
  656. font-size: 14px;
  657. min-width: 80px;
  658. margin-right: 12px;
  659. flex-shrink: 0;
  660. }
  661. .field-value {
  662. color: #333;
  663. font-size: 14px;
  664. flex: 1;
  665. word-break: break-all;
  666. }
  667. /* 右上角设置按钮区域 */
  668. .card-setting-header {
  669. position: absolute;
  670. top: 0;
  671. right: 0;
  672. width: 40px;
  673. height: 40px;
  674. display: flex;
  675. align-items: center;
  676. justify-content: center;
  677. z-index: 1001;
  678. }
  679. .setting-icon {
  680. width: 40px;
  681. height: 40px;
  682. display: flex;
  683. align-items: center;
  684. justify-content: center;
  685. border-radius: 0 4px 0 4px;
  686. transition: all 0.3s ease;
  687. }
  688. .setting-icon:active {
  689. background: rgba(0, 0, 0, 0.1);
  690. }
  691. /* 按钮弹窗菜单 - 参考小程序ss-select样式 */
  692. .button-menu {
  693. position: absolute;
  694. top: 100%;
  695. right: 0;
  696. background-color: #393D51;
  697. z-index: 10000;
  698. color: #fff;
  699. border: 2px solid #393D51;
  700. box-sizing: border-box;
  701. border-radius: 10px;
  702. overflow: hidden;
  703. max-height: 300px;
  704. overflow-y: auto;
  705. min-width: 200px;
  706. }
  707. .menu-item {
  708. padding: 10px 10px 10px 16px;
  709. cursor: pointer;
  710. position: relative;
  711. display: flex;
  712. align-items: center;
  713. }
  714. .menu-item::after {
  715. content: "";
  716. position: absolute;
  717. bottom: 0%;
  718. left: 50%;
  719. transform: translateX(-50%);
  720. width: 80%;
  721. height: 1px;
  722. background-color: #303445;
  723. }
  724. .menu-item:last-child::after {
  725. display: none;
  726. }
  727. .menu-item:active {
  728. background-color: #fff;
  729. color: #393D51;
  730. }
  731. .menu-item:active::after {
  732. display: none;
  733. }
  734. .menu-text {
  735. font-size: 14px;
  736. color: inherit;
  737. flex: 1;
  738. }
  739. .card-actions {
  740. border-top: 1px solid #f0f0f0;
  741. padding: 12px 0 0 0;
  742. display: flex;
  743. gap: 8px;
  744. justify-content: flex-end;
  745. margin-top: 12px;
  746. }
  747. .action-btn {
  748. background: #40ac6d;
  749. color: white;
  750. border: none;
  751. border-radius: 4px;
  752. padding: 6px 12px;
  753. font-size: 12px;
  754. cursor: pointer;
  755. transition: background-color 0.2s;
  756. }
  757. .action-btn:hover {
  758. background: #369c5e;
  759. }
  760. .action-btn:active {
  761. background: #2d8a4f;
  762. }
  763. /* ========== SsSelect 下拉选择组件样式 ========== */
  764. .ss-select-container {
  765. position: relative;
  766. display: inline-block;
  767. font-size: 16px;
  768. display: flex;
  769. align-items: center;
  770. cursor: pointer;
  771. box-sizing: border-box;
  772. max-width: 100%;
  773. }
  774. .ss-select {
  775. padding: 5px 0;
  776. border-radius: 5px;
  777. cursor: pointer;
  778. position: relative;
  779. display: flex;
  780. align-items: center;
  781. justify-content: space-between;
  782. /* min-height: 40px; */
  783. box-sizing: border-box;
  784. width: 100%;
  785. min-width: 0;
  786. }
  787. .ss-select.disabled {
  788. opacity: 0.6;
  789. cursor: not-allowed;
  790. }
  791. .ss-select.disabled .select-text {
  792. color: #ccc;
  793. }
  794. .select-text {
  795. flex: 1;
  796. color: #333;
  797. font-size: 16px;
  798. min-width: 0;
  799. overflow: hidden;
  800. text-overflow: ellipsis;
  801. white-space: nowrap;
  802. }
  803. .select-text.placeholder {
  804. color: #999;
  805. }
  806. .select-arrow {
  807. display: flex;
  808. align-items: center;
  809. transition: transform 0.3s ease;
  810. margin-left: 10px;
  811. color: #999;
  812. font-size: 12px;
  813. }
  814. .select-arrow.rotate {
  815. transform: rotate(180deg);
  816. }
  817. .ss-options {
  818. display: none;
  819. position: absolute;
  820. top: 100%;
  821. left: 0;
  822. /* 功能说明:下拉层宽度跟随组件稳定宽度,不再随 placeholder/选中项来回变化 by xu 2026-03-06 */
  823. width: 100%;
  824. min-width: 100%;
  825. background-color: #393D51;
  826. z-index: 1000;
  827. color: #fff;
  828. border: 1px solid #393D51;
  829. box-sizing: border-box;
  830. border-radius: 10px;
  831. overflow: hidden;
  832. max-height: 300px;
  833. overflow-y: auto;
  834. }
  835. .ss-select-container.open .ss-options {
  836. display: block;
  837. }
  838. .option-item {
  839. padding: 10px 10px 10px 23px;
  840. cursor: pointer;
  841. position: relative;
  842. white-space: nowrap;
  843. }
  844. .option-item::after {
  845. content: "";
  846. position: absolute;
  847. bottom: 0%;
  848. left: 50%;
  849. transform: translateX(-50%);
  850. width: 80%;
  851. height: 1px;
  852. background-color: #303445;
  853. }
  854. .option-item:last-child::after,
  855. .option-item:hover::after,
  856. .option-item.selected::after {
  857. display: none;
  858. }
  859. .option-item:hover {
  860. background-color: #fff;
  861. color: #393D51;
  862. }
  863. .option-item.selected {
  864. background-color: #fff;
  865. color: #393D51;
  866. }
  867. .option-item.selected::before {
  868. content: "✓";
  869. position: absolute;
  870. width: 15px;
  871. height: 100%;
  872. left: 5px;
  873. top: 0;
  874. color: #393D51;
  875. display: flex;
  876. align-items: center;
  877. }
  878. .option-item.no-options {
  879. text-align: center;
  880. color: #999;
  881. cursor: default;
  882. }
  883. .option-item.no-options:hover {
  884. background-color: #393D51;
  885. color: #999;
  886. }
  887. .option-item.loading-item {
  888. text-align: center;
  889. color: #999;
  890. cursor: default;
  891. }
  892. .option-item.loading-item:hover {
  893. background-color: #393D51;
  894. color: #999;
  895. }
  896. .loading-text {
  897. animation: loading-pulse 1.5s ease-in-out infinite;
  898. }
  899. @keyframes loading-pulse {
  900. 0%, 100% { opacity: 0.6; }
  901. 50% { opacity: 1; }
  902. }
  903. /* ========== SsUploadImage 图片上传裁剪组件样式 ========== */
  904. .ss-upload-image {
  905. display: inline-block;
  906. }
  907. .image-container {
  908. position: relative;
  909. overflow: hidden;
  910. border: 2px solid #e0e0e0;
  911. cursor: pointer;
  912. transition: all 0.3s ease;
  913. }
  914. .image-container:hover {
  915. border-color: #40ac6d;
  916. }
  917. .image-display {
  918. width: 100%;
  919. height: 100%;
  920. object-fit: cover;
  921. display: block;
  922. }
  923. .image-mask {
  924. position: absolute;
  925. top: 0;
  926. left: 0;
  927. right: 0;
  928. bottom: 0;
  929. background: rgba(0, 0, 0, 0.5);
  930. display: flex;
  931. align-items: center;
  932. justify-content: center;
  933. opacity: 0;
  934. transition: opacity 0.3s ease;
  935. }
  936. .image-container:hover .image-mask {
  937. opacity: 1;
  938. }
  939. /* 裁剪页面(全屏) */
  940. .ss-crop-container {
  941. position: fixed;
  942. top: 0;
  943. left: 0;
  944. right: 0;
  945. bottom: 0;
  946. background: #000;
  947. z-index: 9999;
  948. display: flex;
  949. flex-direction: column;
  950. }
  951. /* 左上角尺寸显示 */
  952. .crop-size-display {
  953. position: absolute;
  954. top: 15px;
  955. left: 15px;
  956. color: #000;
  957. font-size: 18px;
  958. line-height: 1.5;
  959. z-index: 10001;
  960. font-weight: 500;
  961. }
  962. .ss-crop-image-container {
  963. flex: 1;
  964. position: relative;
  965. overflow: hidden;
  966. display: flex;
  967. align-items: center;
  968. justify-content: center;
  969. }
  970. #ss-crop-image {
  971. max-width: 100%;
  972. max-height: 100%;
  973. display: block;
  974. }
  975. /* 自定义裁剪框样式 - 简洁版 */
  976. .cropper-view-box {
  977. outline: 2px solid #00923f;
  978. outline-color: rgba(64, 172, 109, 0.85);
  979. box-shadow: none;
  980. }
  981. /* 圆形裁剪框 - 只在circle模式下显示 */
  982. .crop-shape-circle .cropper-view-box,
  983. .crop-shape-circle .cropper-face {
  984. border-radius: 50%;
  985. }
  986. /* 方形裁剪框 - 默认样式,无圆角 */
  987. .crop-shape-square .cropper-view-box,
  988. .crop-shape-square .cropper-face {
  989. border-radius: 0;
  990. }
  991. /* 隐藏所有裁剪点 - 简化界面 */
  992. .cropper-point {
  993. display: none;
  994. }
  995. /* 隐藏所有线条 */
  996. .cropper-line {
  997. display: none;
  998. }
  999. /* 遮罩层颜色和模糊效果 */
  1000. .cropper-modal {
  1001. background-color: rgba(0, 0, 0, 0.6);
  1002. backdrop-filter: blur(4px);
  1003. -webkit-backdrop-filter: blur(4px);
  1004. }
  1005. /* 隐藏中心指示器 */
  1006. .cropper-center {
  1007. display: none;
  1008. }
  1009. /* ========== SsImageCropper 裁剪组件样式 ========== */
  1010. .ss-image-cropper-container {
  1011. position: fixed;
  1012. top: 0;
  1013. left: 0;
  1014. right: 0;
  1015. bottom: 0;
  1016. background: #000;
  1017. z-index: 9999;
  1018. display: flex;
  1019. flex-direction: column;
  1020. }
  1021. #ss-image-cropper-img {
  1022. max-width: 100%;
  1023. max-height: 100%;
  1024. display: block;
  1025. }
  1026. /* ========== SsUploadImage 多图上传组件样式 ========== */
  1027. .ss-upload-image-multi {
  1028. display: flex;
  1029. flex-wrap: wrap;
  1030. gap: 10px;
  1031. }
  1032. .image-list {
  1033. display: flex;
  1034. flex-wrap: wrap;
  1035. gap: 10px;
  1036. }
  1037. .image-item {
  1038. position: relative;
  1039. overflow: hidden;
  1040. cursor: pointer;
  1041. transition: all 0.3s ease;
  1042. }
  1043. /* 已上传的图片 */
  1044. .image-item img.image-display {
  1045. width: 100%;
  1046. height: 100%;
  1047. object-fit: cover;
  1048. display: block;
  1049. border: 2px solid #e0e0e0;
  1050. border-radius: inherit;
  1051. }
  1052. .image-item:hover img.image-display {
  1053. border-color: #40ac6d;
  1054. }
  1055. /* 删除按钮 */
  1056. .image-delete {
  1057. position: absolute;
  1058. top: 5px;
  1059. right: 5px;
  1060. width: 24px;
  1061. height: 24px;
  1062. background: rgba(0, 0, 0, 0.6);
  1063. border-radius: 50%;
  1064. display: flex;
  1065. align-items: center;
  1066. justify-content: center;
  1067. opacity: 0;
  1068. transition: opacity 0.3s ease;
  1069. z-index: 10;
  1070. }
  1071. .image-item:hover .image-delete {
  1072. opacity: 1;
  1073. }
  1074. .image-delete:active {
  1075. background: rgba(255, 0, 0, 0.8);
  1076. }
  1077. /* 添加按钮 */
  1078. .image-add {
  1079. border: 2px dashed #e0e0e0;
  1080. background: #fafafa;
  1081. display: flex;
  1082. flex-direction: column;
  1083. align-items: center;
  1084. justify-content: center;
  1085. transition: all 0.3s ease;
  1086. }
  1087. .image-add:hover {
  1088. border-color: #40ac6d;
  1089. background: #f0f9f4;
  1090. }
  1091. .image-add .add-text {
  1092. margin-top: 8px;
  1093. font-size: 12px;
  1094. color: #999;
  1095. }
  1096. /* ========== SsUploadFile 文件上传组件样式 ========== */
  1097. .ss-upload-file {
  1098. width: 100%;
  1099. }
  1100. .file-list {
  1101. display: flex;
  1102. flex-direction: column;
  1103. gap: 10px;
  1104. margin-bottom: 10px;
  1105. }
  1106. .file-item {
  1107. display: flex;
  1108. align-items: center;
  1109. padding: 12px;
  1110. background: #f5f5f5;
  1111. border-radius: 8px;
  1112. border: 1px solid #e0e0e0;
  1113. transition: all 0.3s ease;
  1114. }
  1115. .file-item:hover {
  1116. border-color: #40ac6d;
  1117. background: #f0f9f4;
  1118. }
  1119. .file-icon {
  1120. width: 40px;
  1121. height: 40px;
  1122. display: flex;
  1123. align-items: center;
  1124. justify-content: center;
  1125. font-size: 24px;
  1126. margin-right: 12px;
  1127. flex-shrink: 0;
  1128. }
  1129. .file-info {
  1130. flex: 1;
  1131. min-width: 0;
  1132. }
  1133. .file-name {
  1134. font-size: 14px;
  1135. color: #333;
  1136. word-break: break-all;
  1137. line-height: 1.4;
  1138. }
  1139. .file-actions {
  1140. display: flex;
  1141. gap: 8px;
  1142. margin-left: 12px;
  1143. flex-shrink: 0;
  1144. }
  1145. .file-download,
  1146. .file-delete {
  1147. width: 32px;
  1148. height: 32px;
  1149. display: flex;
  1150. align-items: center;
  1151. justify-content: center;
  1152. background: rgba(255, 255, 255, 0.8);
  1153. border-radius: 50%;
  1154. cursor: pointer;
  1155. transition: all 0.3s ease;
  1156. font-size: 16px;
  1157. }
  1158. .file-download {
  1159. color: #40ac6d;
  1160. }
  1161. .file-download:active {
  1162. background: #40ac6d;
  1163. color: #fff;
  1164. }
  1165. .file-delete {
  1166. color: #ff3b30;
  1167. }
  1168. .file-delete:active {
  1169. background: #ff3b30;
  1170. color: #fff;
  1171. }
  1172. .file-add-button {
  1173. width: 100%;
  1174. padding: 16px;
  1175. border: 2px dashed #e0e0e0;
  1176. background: #fafafa;
  1177. border-radius: 8px;
  1178. display: flex;
  1179. flex-direction: column;
  1180. align-items: center;
  1181. justify-content: center;
  1182. cursor: pointer;
  1183. transition: all 0.3s ease;
  1184. }
  1185. .file-add-button:hover {
  1186. border-color: #40ac6d;
  1187. background: #f0f9f4;
  1188. }
  1189. .file-add-button .add-icon {
  1190. font-size: 32px;
  1191. color: #999;
  1192. margin-bottom: 8px;
  1193. }
  1194. .file-add-button .add-text {
  1195. font-size: 14px;
  1196. color: #666;
  1197. margin-bottom: 4px;
  1198. }
  1199. .file-add-button .file-tip {
  1200. font-size: 12px;
  1201. color: #999;
  1202. text-align: center;
  1203. line-height: 1.4;
  1204. }
  1205. /* ========== SsCarCard 车辆卡片组件样式 ========== */
  1206. .car-card {
  1207. background: #FFFFFF;
  1208. border-radius: 4px;
  1209. overflow: visible;
  1210. padding: 17px;
  1211. margin-bottom: 17px;
  1212. box-shadow: 1px 3px 3px rgba(4, 0, 0, 0.15);
  1213. box-sizing: border-box;
  1214. position: relative;
  1215. z-index: 1;
  1216. transition: all 0.3s ease;
  1217. cursor: pointer;
  1218. }
  1219. /* 可预约状态 - 绿色 */
  1220. .car-card.status-available {
  1221. background-color: #c7ffe0;
  1222. }
  1223. /* 已被预约状态 - 橙色 */
  1224. .car-card.status-reserved {
  1225. background-color: #ffb882;
  1226. }
  1227. /* 禁用状态 - 灰色 */
  1228. .car-card.status-disabled {
  1229. background-color: #f5f5f5;
  1230. opacity: 0.6;
  1231. cursor: not-allowed;
  1232. }
  1233. .car-title {
  1234. font-size: 17px;
  1235. font-weight: bold;
  1236. color: #000000;
  1237. margin-bottom: 8.5px;
  1238. text-align: left;
  1239. }
  1240. .car-info {
  1241. display: flex;
  1242. align-items: flex-start;
  1243. gap: 22.5px;
  1244. }
  1245. .car-image-container {
  1246. flex-shrink: 0;
  1247. width: 190px;
  1248. height: 106px;
  1249. border-radius: 4px;
  1250. overflow: hidden;
  1251. background-color: #f8f8f8;
  1252. }
  1253. .car-image {
  1254. width: 100%;
  1255. height: 100%;
  1256. object-fit: cover;
  1257. }
  1258. .car-details {
  1259. flex: 1;
  1260. display: flex;
  1261. flex-direction: column;
  1262. gap: 4px;
  1263. min-width: 0;
  1264. }
  1265. .detail-item {
  1266. font-size: 17px;
  1267. color: #333;
  1268. line-height: 24px;
  1269. }
  1270. /* 禁用状态下的文字颜色 */
  1271. .status-disabled .car-title,
  1272. .status-disabled .detail-item {
  1273. color: #999 !important;
  1274. }
  1275. .status-disabled .detail-item.seats {
  1276. color: #bbb !important;
  1277. }
  1278. /* ===== 审核节点链组件样式 - PC端完整复制 ===== */
  1279. .verify-nodes {
  1280. flex: 1;
  1281. overflow-y: auto;
  1282. /* padding: 20px 0; */
  1283. margin-right: 6px;
  1284. }
  1285. .verify-nodes .group-item {
  1286. /* margin-bottom: 12px; */
  1287. padding: 20px 0 8px 20px;
  1288. }
  1289. .verify-nodes .group-item {
  1290. position: relative;
  1291. }
  1292. .verify-nodes .group-item:not(:last-child)::after {
  1293. position: absolute;
  1294. content: "";
  1295. width: 0;
  1296. height: calc(100% - 30px);
  1297. border-left: 1px solid #a0a0a0;
  1298. top: 46px;
  1299. left: 30px;
  1300. }
  1301. .verify-nodes .group-item-last-open::after {
  1302. position: absolute;
  1303. content: "";
  1304. width: 0;
  1305. height: var(--group-line-height);
  1306. border-left: 1px solid #a0a0a0;
  1307. top: 46px;
  1308. left: 30px;
  1309. }
  1310. .verify-nodes .group-item-title {
  1311. cursor: pointer;
  1312. display: flex;
  1313. flex-direction: row;
  1314. justify-content: flex-start;
  1315. align-items: center;
  1316. gap: 10px;
  1317. font-size: 16px;
  1318. }
  1319. .verify-nodes .group-item .icon {
  1320. color: #666666;
  1321. position: relative;
  1322. }
  1323. .verify-nodes .group-item .num {
  1324. position: absolute;
  1325. top: 60%;
  1326. left: 50%;
  1327. transform: translate(-50%, -50%);
  1328. color: #999999;
  1329. font-size: 14px;
  1330. }
  1331. .verify-nodes .group-item-children {
  1332. padding-left: 15px;
  1333. }
  1334. .verify-node-container {
  1335. /* padding: 16px 0; */
  1336. }
  1337. .verify-node-container>.info {
  1338. padding: 0 10px;
  1339. display: flex;
  1340. flex-direction: row;
  1341. justify-content: space-between;
  1342. align-items: center;
  1343. height: 60px;
  1344. }
  1345. .verify-node-container>.info>.avatar {
  1346. width: 50px;
  1347. height: 50px;
  1348. display: flex;
  1349. flex-direction: row;
  1350. justify-content: center;
  1351. align-items: center;
  1352. }
  1353. .verify-node-container>.info>.desc {
  1354. width: calc(100% - 60px - 60px);
  1355. color: #333333;
  1356. font-size: 16px;
  1357. line-height: 1.6em;
  1358. padding: 0 10px;
  1359. display: flex;
  1360. flex-direction: column;
  1361. justify-content: flex-end;
  1362. }
  1363. .verify-node-container>.info>.desc>div {
  1364. overflow: hidden;
  1365. text-overflow: ellipsis;
  1366. white-space: nowrap;
  1367. }
  1368. .verify-node-container>.info>.link {
  1369. width: 60px;
  1370. }
  1371. .verify-node-container>.info>.link>div {
  1372. padding-top: 30px;
  1373. display: flex;
  1374. flex-direction: row;
  1375. justify-content: flex-end;
  1376. margin-right: 5px;
  1377. align-items: center;
  1378. gap: 10px;
  1379. color: #555c6b;
  1380. }
  1381. .verify-node-container .description {
  1382. margin-top: 5px;
  1383. padding: 10px;
  1384. }
  1385. .verify-node-container .description.link {
  1386. position: relative;
  1387. }
  1388. .verify-node-container .description.link::before {
  1389. position: absolute;
  1390. width: 20px;
  1391. content: "";
  1392. height: 0;
  1393. border-bottom: 1px solid #a0a0a0;
  1394. top: 30px;
  1395. left: -10px;
  1396. }
  1397. .verify-node-container .description.link::after {
  1398. position: absolute;
  1399. width: 16px;
  1400. content: attr(data-num);
  1401. height: 16px;
  1402. border-radius: 50%;
  1403. background: #edf1f5;
  1404. border: 1px solid #a0a0a0;
  1405. display: flex;
  1406. flex-direction: row;
  1407. justify-content: center;
  1408. align-items: center;
  1409. color: #666666;
  1410. font-size: 12px;
  1411. left: -13px;
  1412. top: 22px;
  1413. z-index: 1;
  1414. }
  1415. .verify-node-container .description>div {
  1416. width: 100%;
  1417. background: #fff;
  1418. border-radius: 3px;
  1419. position: relative;
  1420. padding: 8px 17px;
  1421. color: #333333;
  1422. font-size: 16px;
  1423. }
  1424. .verify-node-container .description>div::before {
  1425. content: "";
  1426. width: 10px;
  1427. height: 10px;
  1428. background: #fff;
  1429. position: absolute;
  1430. left: 26px;
  1431. top: -5px;
  1432. transform: rotate(45deg);
  1433. border-radius: 2px;
  1434. }
  1435. .verify-node-container .time {
  1436. display: flex;
  1437. flex-direction: row;
  1438. justify-content: flex-end;
  1439. align-items: center;
  1440. color: #666666;
  1441. font-size: 16px;
  1442. padding: 0 10px;
  1443. }
  1444. /* ===== PC端通用图标样式 - 完整搬运 ===== */
  1445. /* 图标相关开始 */
  1446. /* 通用icon */
  1447. .common-icon{
  1448. font-size: 22px;
  1449. font-family: "iconfont";
  1450. }
  1451. .common-icon-add::before{
  1452. content: "\e60d";
  1453. color: #999999;
  1454. }
  1455. .common-icon-setting::before{
  1456. content: "\e630";
  1457. /* color: #999999; */
  1458. }
  1459. /* 减少 */
  1460. .common-icon-reduce::before{
  1461. content: "\e6a2";
  1462. color: #EB6100;
  1463. }
  1464. /* 附件 */
  1465. .common-icon-paper-clip::before{
  1466. content: "\e676";
  1467. color: #999999;
  1468. }
  1469. .common-icon-change::before{
  1470. font-size: 16px;
  1471. content: "→";
  1472. color: red;
  1473. }
  1474. /* 表情 */
  1475. .common-icon-smile::before{
  1476. content: "\e616";
  1477. color: #999999;
  1478. }
  1479. /* 常用语 */
  1480. .common-icon-common-words::before{
  1481. content: "\e69d";
  1482. color: #999999;
  1483. }
  1484. /* 手写 */
  1485. .common-icon-handwriting::before{
  1486. content: "\e6ab";
  1487. color: #999999;
  1488. }
  1489. /* 视频播放 */
  1490. .common-icon-video::before{
  1491. content: "\e699";
  1492. color: #999999;
  1493. }
  1494. /* 文件夹-关闭 */
  1495. .common-icon-folder-close::before{
  1496. content: "\e60b";
  1497. color: #999999;
  1498. }
  1499. /* 文件夹-打开 */
  1500. .common-icon-folder-open::before{
  1501. content: "\e60c";
  1502. color: #999999;
  1503. }
  1504. /* 文件 */
  1505. .common-icon-file::before{
  1506. content: "\e69e";
  1507. color: #999999;
  1508. }
  1509. /* 刷新 */
  1510. .common-icon-refresh::before{
  1511. content: "\e635";
  1512. color: #999;
  1513. }
  1514. /* 待办 */
  1515. .common-icon-todo::before{
  1516. content: "\e65c";
  1517. color: #999;
  1518. }
  1519. /* 催办 */
  1520. .common-icon-urge::before{
  1521. content: "\e664";
  1522. color: #999;
  1523. }
  1524. /* 快捷发起 */
  1525. .common-icon-quick-start::before{
  1526. content: "\e6a6";
  1527. color: #999;
  1528. }
  1529. /* 公告 */
  1530. .common-icon-notice::before{
  1531. content: "\e6ac";
  1532. color: #999;
  1533. }
  1534. /* 统计图 */
  1535. .common-icon-chart::before{
  1536. content: "\e6a5";
  1537. color: #999;
  1538. }
  1539. /* 请假 */
  1540. .common-icon-leave-big::before{
  1541. font-size: 36px;
  1542. content: "\e6af";
  1543. color: #999999;
  1544. }
  1545. /* 收付款 */
  1546. .common-icon-receipt-big::before{
  1547. font-size: 36px;
  1548. content: "\e68e";
  1549. color: #999999;
  1550. }
  1551. /* 考勤 */
  1552. .common-icon-attendance-big::before{
  1553. font-size: 36px;
  1554. content: "\e694";
  1555. color: #999999;
  1556. }
  1557. /* 会议 */
  1558. .common-icon-meeting::before{
  1559. content: "\e692";
  1560. color: #999999;
  1561. }
  1562. /* 一卡通 */
  1563. .common-icon-card::before{
  1564. content: "\e6a0";
  1565. color: #999999;
  1566. }
  1567. /* 个人网站 */
  1568. .common-icon-site::before{
  1569. content: "\e6ae";
  1570. color: #999999;
  1571. }
  1572. .common-icon-arrow-right{
  1573. font-size: 14px;
  1574. }
  1575. .common-icon-arrow-right::before{
  1576. content: "\e640";
  1577. }
  1578. /* 通用icon结束 */
  1579. /* ==================== ss-sub-tab 组件样式 开始 ==================== */
  1580. .ss-sub-tab {
  1581. display: flex;
  1582. flex-direction: column;
  1583. height: 100vh;
  1584. }
  1585. .ss-sub-tab__bar {
  1586. width: 95%;
  1587. margin: 10px auto 0px;
  1588. background: #f5f5f5;
  1589. overflow-x: auto;
  1590. overflow-y: hidden;
  1591. padding-left: 12px;
  1592. -webkit-overflow-scrolling: touch;
  1593. display: flex;
  1594. flex-wrap: nowrap;
  1595. flex-shrink: 0;
  1596. }
  1597. .ss-sub-tab__bar::-webkit-scrollbar {
  1598. display: none;
  1599. }
  1600. .ss-sub-tab__item {
  1601. flex-shrink: 0;
  1602. margin-right: 25px;
  1603. height: 25px;
  1604. line-height: 15px;
  1605. font-size: 15px;
  1606. color: #999;
  1607. position: relative;
  1608. cursor: pointer;
  1609. transition: color 0.3s;
  1610. }
  1611. .ss-sub-tab__item.ss-sub-tab__item--active {
  1612. color: #000000;
  1613. }
  1614. .ss-sub-tab__item.ss-sub-tab__item--active::after {
  1615. content: '';
  1616. position: absolute;
  1617. bottom: 0;
  1618. left: -5px;
  1619. width: calc(100% + 10px);
  1620. height: 3px;
  1621. border-radius: 50px;
  1622. background: #000000;
  1623. }
  1624. .ss-sub-tab__content {
  1625. width: 100%;
  1626. margin: 0 auto;
  1627. flex: 1;
  1628. display: flex;
  1629. flex-direction: column;
  1630. }
  1631. .ss-sub-tab__content iframe {
  1632. width: 100%;
  1633. flex: 1;
  1634. border: none;
  1635. /* background: #fff; */
  1636. border-radius: 8px;
  1637. }
  1638. /* ==================== ss-sub-tab 组件样式 结束 ==================== */