base.css 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875
  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: 24px;
  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. display: flex;
  797. align-items: center;
  798. color: #333;
  799. font-size: 16px;
  800. line-height: 24px;
  801. min-height: 24px;
  802. min-width: 0;
  803. overflow: hidden;
  804. text-overflow: ellipsis;
  805. white-space: nowrap;
  806. }
  807. .select-text > span {
  808. display: block;
  809. width: 100%;
  810. min-height: 24px;
  811. }
  812. .select-text > input {
  813. min-height: 24px;
  814. line-height: 24px;
  815. }
  816. .select-text.placeholder {
  817. color: #999;
  818. }
  819. .select-arrow {
  820. display: flex;
  821. align-items: center;
  822. transition: transform 0.3s ease;
  823. margin-left: 10px;
  824. color: #999;
  825. font-size: 12px;
  826. }
  827. .select-arrow.rotate {
  828. transform: rotate(180deg);
  829. }
  830. .ss-options {
  831. display: none;
  832. position: absolute;
  833. top: 100%;
  834. left: 0;
  835. /* 功能说明:下拉层宽度跟随组件稳定宽度,不再随 placeholder/选中项来回变化 by xu 2026-03-06 */
  836. width: 100%;
  837. min-width: 100%;
  838. background-color: #393d51;
  839. z-index: 1000;
  840. color: #fff;
  841. border: 1px solid #393d51;
  842. box-sizing: border-box;
  843. border-radius: 10px;
  844. overflow: hidden;
  845. max-height: 300px;
  846. overflow-y: auto;
  847. }
  848. .ss-select-container.open .ss-options {
  849. display: block;
  850. }
  851. .option-item {
  852. padding: 10px 10px 10px 23px;
  853. cursor: pointer;
  854. position: relative;
  855. white-space: nowrap;
  856. }
  857. .option-item::after {
  858. content: "";
  859. position: absolute;
  860. bottom: 0%;
  861. left: 50%;
  862. transform: translateX(-50%);
  863. width: 80%;
  864. height: 1px;
  865. background-color: #303445;
  866. }
  867. .option-item:last-child::after,
  868. .option-item:hover::after,
  869. .option-item.selected::after {
  870. display: none;
  871. }
  872. .option-item:hover {
  873. background-color: #fff;
  874. color: #393d51;
  875. }
  876. .option-item.selected {
  877. background-color: #fff;
  878. color: #393d51;
  879. }
  880. .option-item.selected::before {
  881. content: "✓";
  882. position: absolute;
  883. width: 15px;
  884. height: 100%;
  885. left: 5px;
  886. top: 0;
  887. color: #393d51;
  888. display: flex;
  889. align-items: center;
  890. }
  891. .option-item.no-options {
  892. text-align: center;
  893. color: #999;
  894. cursor: default;
  895. }
  896. .option-item.no-options:hover {
  897. background-color: #393d51;
  898. color: #999;
  899. }
  900. .option-item.loading-item {
  901. text-align: center;
  902. color: #999;
  903. cursor: default;
  904. }
  905. .option-item.loading-item:hover {
  906. background-color: #393d51;
  907. color: #999;
  908. }
  909. .loading-text {
  910. animation: loading-pulse 1.5s ease-in-out infinite;
  911. }
  912. @keyframes loading-pulse {
  913. 0%,
  914. 100% {
  915. opacity: 0.6;
  916. }
  917. 50% {
  918. opacity: 1;
  919. }
  920. }
  921. /* ========== SsUploadImage 图片上传裁剪组件样式 ========== */
  922. .ss-upload-image {
  923. display: inline-block;
  924. }
  925. .image-container {
  926. position: relative;
  927. overflow: hidden;
  928. border: 2px solid #e0e0e0;
  929. cursor: pointer;
  930. transition: all 0.3s ease;
  931. }
  932. .image-container:hover {
  933. border-color: #40ac6d;
  934. }
  935. .image-display {
  936. width: 100%;
  937. height: 100%;
  938. object-fit: cover;
  939. display: block;
  940. }
  941. .image-mask {
  942. position: absolute;
  943. top: 0;
  944. left: 0;
  945. right: 0;
  946. bottom: 0;
  947. background: rgba(0, 0, 0, 0.5);
  948. display: flex;
  949. align-items: center;
  950. justify-content: center;
  951. opacity: 0;
  952. transition: opacity 0.3s ease;
  953. }
  954. .image-container:hover .image-mask {
  955. opacity: 1;
  956. }
  957. /* 裁剪页面(全屏) */
  958. .ss-crop-container {
  959. position: fixed;
  960. top: 0;
  961. left: 0;
  962. right: 0;
  963. bottom: 0;
  964. background: #000;
  965. z-index: 9999;
  966. display: flex;
  967. flex-direction: column;
  968. }
  969. /* 左上角尺寸显示 */
  970. .crop-size-display {
  971. position: absolute;
  972. top: 15px;
  973. left: 15px;
  974. color: #000;
  975. font-size: 18px;
  976. line-height: 1.5;
  977. z-index: 10001;
  978. font-weight: 500;
  979. }
  980. .ss-crop-image-container {
  981. flex: 1;
  982. position: relative;
  983. overflow: hidden;
  984. display: flex;
  985. align-items: center;
  986. justify-content: center;
  987. }
  988. #ss-crop-image {
  989. max-width: 100%;
  990. max-height: 100%;
  991. display: block;
  992. }
  993. /* 自定义裁剪框样式 - 简洁版 */
  994. .cropper-view-box {
  995. outline: 2px solid #00923f;
  996. outline-color: rgba(64, 172, 109, 0.85);
  997. box-shadow: none;
  998. }
  999. /* 圆形裁剪框 - 只在circle模式下显示 */
  1000. .crop-shape-circle .cropper-view-box,
  1001. .crop-shape-circle .cropper-face {
  1002. border-radius: 50%;
  1003. }
  1004. /* 方形裁剪框 - 默认样式,无圆角 */
  1005. .crop-shape-square .cropper-view-box,
  1006. .crop-shape-square .cropper-face {
  1007. border-radius: 0;
  1008. }
  1009. /* 隐藏所有裁剪点 - 简化界面 */
  1010. .cropper-point {
  1011. display: none;
  1012. }
  1013. /* 隐藏所有线条 */
  1014. .cropper-line {
  1015. display: none;
  1016. }
  1017. /* 遮罩层颜色和模糊效果 */
  1018. .cropper-modal {
  1019. background-color: rgba(0, 0, 0, 0.6);
  1020. backdrop-filter: blur(4px);
  1021. -webkit-backdrop-filter: blur(4px);
  1022. }
  1023. /* 隐藏中心指示器 */
  1024. .cropper-center {
  1025. display: none;
  1026. }
  1027. /* ========== SsImageCropper 裁剪组件样式 ========== */
  1028. .ss-image-cropper-container {
  1029. position: fixed;
  1030. top: 0;
  1031. left: 0;
  1032. right: 0;
  1033. bottom: 0;
  1034. background: #000;
  1035. z-index: 9999;
  1036. display: flex;
  1037. flex-direction: column;
  1038. }
  1039. #ss-image-cropper-img {
  1040. max-width: 100%;
  1041. max-height: 100%;
  1042. display: block;
  1043. }
  1044. /* ========== SsUploadImage 多图上传组件样式 ========== */
  1045. .ss-upload-image-multi {
  1046. display: flex;
  1047. flex-wrap: wrap;
  1048. gap: 10px;
  1049. }
  1050. .image-list {
  1051. display: flex;
  1052. flex-wrap: wrap;
  1053. gap: 10px;
  1054. }
  1055. .image-item {
  1056. position: relative;
  1057. overflow: hidden;
  1058. cursor: pointer;
  1059. transition: all 0.3s ease;
  1060. }
  1061. /* 已上传的图片 */
  1062. .image-item img.image-display {
  1063. width: 100%;
  1064. height: 100%;
  1065. object-fit: cover;
  1066. display: block;
  1067. border: 2px solid #e0e0e0;
  1068. border-radius: inherit;
  1069. }
  1070. .image-item:hover img.image-display {
  1071. border-color: #40ac6d;
  1072. }
  1073. /* 删除按钮 */
  1074. .image-delete {
  1075. position: absolute;
  1076. top: 5px;
  1077. right: 5px;
  1078. width: 24px;
  1079. height: 24px;
  1080. background: rgba(0, 0, 0, 0.6);
  1081. border-radius: 50%;
  1082. display: flex;
  1083. align-items: center;
  1084. justify-content: center;
  1085. opacity: 0;
  1086. transition: opacity 0.3s ease;
  1087. z-index: 10;
  1088. }
  1089. .image-item:hover .image-delete {
  1090. opacity: 1;
  1091. }
  1092. .image-delete:active {
  1093. background: rgba(255, 0, 0, 0.8);
  1094. }
  1095. /* 添加按钮 */
  1096. .image-add {
  1097. border: 2px dashed #e0e0e0;
  1098. background: #fafafa;
  1099. display: flex;
  1100. flex-direction: column;
  1101. align-items: center;
  1102. justify-content: center;
  1103. transition: all 0.3s ease;
  1104. }
  1105. .image-add:hover {
  1106. border-color: #40ac6d;
  1107. background: #f0f9f4;
  1108. }
  1109. .image-add .add-text {
  1110. margin-top: 8px;
  1111. font-size: 12px;
  1112. color: #999;
  1113. }
  1114. /* ========== SsUploadFile 文件上传组件样式 ========== */
  1115. .ss-upload-file {
  1116. width: 100%;
  1117. }
  1118. .file-list {
  1119. display: flex;
  1120. flex-direction: column;
  1121. gap: 10px;
  1122. margin-bottom: 10px;
  1123. }
  1124. .file-item {
  1125. display: flex;
  1126. align-items: center;
  1127. padding: 12px;
  1128. background: #f5f5f5;
  1129. border-radius: 8px;
  1130. border: 1px solid #e0e0e0;
  1131. transition: all 0.3s ease;
  1132. }
  1133. .file-item:hover {
  1134. border-color: #40ac6d;
  1135. background: #f0f9f4;
  1136. }
  1137. .file-icon {
  1138. width: 40px;
  1139. height: 40px;
  1140. display: flex;
  1141. align-items: center;
  1142. justify-content: center;
  1143. font-size: 24px;
  1144. margin-right: 12px;
  1145. flex-shrink: 0;
  1146. }
  1147. .file-info {
  1148. flex: 1;
  1149. min-width: 0;
  1150. }
  1151. .file-name {
  1152. font-size: 14px;
  1153. color: #333;
  1154. word-break: break-all;
  1155. line-height: 1.4;
  1156. }
  1157. .file-actions {
  1158. display: flex;
  1159. gap: 8px;
  1160. margin-left: 12px;
  1161. flex-shrink: 0;
  1162. }
  1163. .file-download,
  1164. .file-delete {
  1165. width: 32px;
  1166. height: 32px;
  1167. display: flex;
  1168. align-items: center;
  1169. justify-content: center;
  1170. background: rgba(255, 255, 255, 0.8);
  1171. border-radius: 50%;
  1172. cursor: pointer;
  1173. transition: all 0.3s ease;
  1174. font-size: 16px;
  1175. }
  1176. .file-download {
  1177. color: #40ac6d;
  1178. }
  1179. .file-download:active {
  1180. background: #40ac6d;
  1181. color: #fff;
  1182. }
  1183. .file-delete {
  1184. color: #ff3b30;
  1185. }
  1186. .file-delete:active {
  1187. background: #ff3b30;
  1188. color: #fff;
  1189. }
  1190. .file-add-button {
  1191. width: 100%;
  1192. padding: 16px;
  1193. border: 2px dashed #e0e0e0;
  1194. background: #fafafa;
  1195. border-radius: 8px;
  1196. display: flex;
  1197. flex-direction: column;
  1198. align-items: center;
  1199. justify-content: center;
  1200. cursor: pointer;
  1201. transition: all 0.3s ease;
  1202. }
  1203. .file-add-button:hover {
  1204. border-color: #40ac6d;
  1205. background: #f0f9f4;
  1206. }
  1207. .file-add-button .add-icon {
  1208. font-size: 32px;
  1209. color: #999;
  1210. margin-bottom: 8px;
  1211. }
  1212. .file-add-button .add-text {
  1213. font-size: 14px;
  1214. color: #666;
  1215. margin-bottom: 4px;
  1216. }
  1217. .file-add-button .file-tip {
  1218. font-size: 12px;
  1219. color: #999;
  1220. text-align: center;
  1221. line-height: 1.4;
  1222. }
  1223. /* ========== SsCarCard 车辆卡片组件样式 ========== */
  1224. .car-card {
  1225. background: #ffffff;
  1226. border-radius: 4px;
  1227. overflow: visible;
  1228. padding: 17px;
  1229. margin-bottom: 17px;
  1230. box-shadow: 1px 3px 3px rgba(4, 0, 0, 0.15);
  1231. box-sizing: border-box;
  1232. position: relative;
  1233. z-index: 1;
  1234. transition: all 0.3s ease;
  1235. cursor: pointer;
  1236. }
  1237. /* 可预约状态 - 绿色 */
  1238. .car-card.status-available {
  1239. background-color: #c7ffe0;
  1240. }
  1241. /* 已被预约状态 - 橙色 */
  1242. .car-card.status-reserved {
  1243. background-color: #ffb882;
  1244. }
  1245. /* 禁用状态 - 灰色 */
  1246. .car-card.status-disabled {
  1247. background-color: #f5f5f5;
  1248. opacity: 0.6;
  1249. cursor: not-allowed;
  1250. }
  1251. .car-title {
  1252. font-size: 17px;
  1253. font-weight: bold;
  1254. color: #000000;
  1255. margin-bottom: 8.5px;
  1256. text-align: left;
  1257. }
  1258. .car-info {
  1259. display: flex;
  1260. align-items: flex-start;
  1261. gap: 22.5px;
  1262. }
  1263. .car-image-container {
  1264. flex-shrink: 0;
  1265. width: 190px;
  1266. height: 106px;
  1267. border-radius: 4px;
  1268. overflow: hidden;
  1269. background-color: #f8f8f8;
  1270. }
  1271. .car-image {
  1272. width: 100%;
  1273. height: 100%;
  1274. object-fit: cover;
  1275. }
  1276. .car-details {
  1277. flex: 1;
  1278. display: flex;
  1279. flex-direction: column;
  1280. gap: 4px;
  1281. min-width: 0;
  1282. }
  1283. .detail-item {
  1284. font-size: 17px;
  1285. color: #333;
  1286. line-height: 24px;
  1287. }
  1288. /* 禁用状态下的文字颜色 */
  1289. .status-disabled .car-title,
  1290. .status-disabled .detail-item {
  1291. color: #999 !important;
  1292. }
  1293. .status-disabled .detail-item.seats {
  1294. color: #bbb !important;
  1295. }
  1296. /* ===== 审核节点链组件样式 - PC端完整复制 ===== */
  1297. .verify-nodes {
  1298. flex: 1;
  1299. overflow-y: auto;
  1300. /* padding: 20px 0; */
  1301. margin-right: 6px;
  1302. }
  1303. .verify-nodes .group-item {
  1304. /* margin-bottom: 12px; */
  1305. padding: 20px 0 8px 20px;
  1306. }
  1307. .verify-nodes .group-item {
  1308. position: relative;
  1309. }
  1310. .verify-nodes .group-item:not(:last-child)::after {
  1311. position: absolute;
  1312. content: "";
  1313. width: 0;
  1314. height: calc(100% - 30px);
  1315. border-left: 1px solid #a0a0a0;
  1316. top: 46px;
  1317. left: 30px;
  1318. }
  1319. .verify-nodes .group-item-last-open::after {
  1320. position: absolute;
  1321. content: "";
  1322. width: 0;
  1323. height: var(--group-line-height);
  1324. border-left: 1px solid #a0a0a0;
  1325. top: 46px;
  1326. left: 30px;
  1327. }
  1328. .verify-nodes .group-item-title {
  1329. cursor: pointer;
  1330. display: flex;
  1331. flex-direction: row;
  1332. justify-content: flex-start;
  1333. align-items: center;
  1334. gap: 10px;
  1335. font-size: 16px;
  1336. }
  1337. .verify-nodes .group-item .icon {
  1338. color: #666666;
  1339. position: relative;
  1340. }
  1341. .verify-nodes .group-item .num {
  1342. position: absolute;
  1343. top: 60%;
  1344. left: 50%;
  1345. transform: translate(-50%, -50%);
  1346. color: #999999;
  1347. font-size: 14px;
  1348. }
  1349. .verify-nodes .group-item-children {
  1350. padding-left: 15px;
  1351. }
  1352. .verify-node-container {
  1353. /* padding: 16px 0; */
  1354. }
  1355. .verify-node-container > .info {
  1356. padding: 0 10px;
  1357. display: flex;
  1358. flex-direction: row;
  1359. justify-content: space-between;
  1360. align-items: center;
  1361. height: 60px;
  1362. }
  1363. .verify-node-container > .info > .avatar {
  1364. width: 50px;
  1365. height: 50px;
  1366. display: flex;
  1367. flex-direction: row;
  1368. justify-content: center;
  1369. align-items: center;
  1370. }
  1371. .verify-node-container > .info > .desc {
  1372. width: calc(100% - 60px - 60px);
  1373. color: #333333;
  1374. font-size: 16px;
  1375. line-height: 1.6em;
  1376. padding: 0 10px;
  1377. display: flex;
  1378. flex-direction: column;
  1379. justify-content: flex-end;
  1380. }
  1381. .verify-node-container > .info > .desc > div {
  1382. overflow: hidden;
  1383. text-overflow: ellipsis;
  1384. white-space: nowrap;
  1385. }
  1386. .verify-node-container > .info > .link {
  1387. width: 60px;
  1388. }
  1389. .verify-node-container > .info > .link > div {
  1390. padding-top: 30px;
  1391. display: flex;
  1392. flex-direction: row;
  1393. justify-content: flex-end;
  1394. margin-right: 5px;
  1395. align-items: center;
  1396. gap: 10px;
  1397. color: #555c6b;
  1398. }
  1399. .verify-node-container .description {
  1400. margin-top: 5px;
  1401. padding: 10px;
  1402. }
  1403. .verify-node-container .description.link {
  1404. position: relative;
  1405. }
  1406. .verify-node-container .description.link::before {
  1407. position: absolute;
  1408. width: 20px;
  1409. content: "";
  1410. height: 0;
  1411. border-bottom: 1px solid #a0a0a0;
  1412. top: 30px;
  1413. left: -10px;
  1414. }
  1415. .verify-node-container .description.link::after {
  1416. position: absolute;
  1417. width: 16px;
  1418. content: attr(data-num);
  1419. height: 16px;
  1420. border-radius: 50%;
  1421. background: #edf1f5;
  1422. border: 1px solid #a0a0a0;
  1423. display: flex;
  1424. flex-direction: row;
  1425. justify-content: center;
  1426. align-items: center;
  1427. color: #666666;
  1428. font-size: 12px;
  1429. left: -13px;
  1430. top: 22px;
  1431. z-index: 1;
  1432. }
  1433. .verify-node-container .description > div {
  1434. width: 100%;
  1435. background: #fff;
  1436. border-radius: 3px;
  1437. position: relative;
  1438. padding: 8px 17px;
  1439. color: #333333;
  1440. font-size: 16px;
  1441. }
  1442. .verify-node-container .description > div::before {
  1443. content: "";
  1444. width: 10px;
  1445. height: 10px;
  1446. background: #fff;
  1447. position: absolute;
  1448. left: 26px;
  1449. top: -5px;
  1450. transform: rotate(45deg);
  1451. border-radius: 2px;
  1452. }
  1453. .verify-node-container .time {
  1454. display: flex;
  1455. flex-direction: row;
  1456. justify-content: flex-end;
  1457. align-items: center;
  1458. color: #666666;
  1459. font-size: 16px;
  1460. padding: 0 10px;
  1461. }
  1462. /* ===== PC端通用图标样式 - 完整搬运 ===== */
  1463. /* 图标相关开始 */
  1464. /* 通用icon */
  1465. .common-icon {
  1466. font-size: 22px;
  1467. font-family: "iconfont";
  1468. }
  1469. .common-icon-add::before {
  1470. content: "\e60d";
  1471. color: #999999;
  1472. }
  1473. .common-icon-setting::before {
  1474. content: "\e630";
  1475. /* color: #999999; */
  1476. }
  1477. /* 减少 */
  1478. .common-icon-reduce::before {
  1479. content: "\e6a2";
  1480. color: #eb6100;
  1481. }
  1482. /* 附件 */
  1483. .common-icon-paper-clip::before {
  1484. content: "\e676";
  1485. color: #999999;
  1486. }
  1487. .common-icon-change::before {
  1488. font-size: 16px;
  1489. content: "→";
  1490. color: red;
  1491. }
  1492. /* 表情 */
  1493. .common-icon-smile::before {
  1494. content: "\e616";
  1495. color: #999999;
  1496. }
  1497. /* 常用语 */
  1498. .common-icon-common-words::before {
  1499. content: "\e69d";
  1500. color: #999999;
  1501. }
  1502. /* 手写 */
  1503. .common-icon-handwriting::before {
  1504. content: "\e6ab";
  1505. color: #999999;
  1506. }
  1507. /* 视频播放 */
  1508. .common-icon-video::before {
  1509. content: "\e699";
  1510. color: #999999;
  1511. }
  1512. /* 文件夹-关闭 */
  1513. .common-icon-folder-close::before {
  1514. content: "\e60b";
  1515. color: #999999;
  1516. }
  1517. /* 文件夹-打开 */
  1518. .common-icon-folder-open::before {
  1519. content: "\e60c";
  1520. color: #999999;
  1521. }
  1522. /* 文件 */
  1523. .common-icon-file::before {
  1524. content: "\e69e";
  1525. color: #999999;
  1526. }
  1527. /* 刷新 */
  1528. .common-icon-refresh::before {
  1529. content: "\e635";
  1530. color: #999;
  1531. }
  1532. /* 待办 */
  1533. .common-icon-todo::before {
  1534. content: "\e65c";
  1535. color: #999;
  1536. }
  1537. /* 催办 */
  1538. .common-icon-urge::before {
  1539. content: "\e664";
  1540. color: #999;
  1541. }
  1542. /* 快捷发起 */
  1543. .common-icon-quick-start::before {
  1544. content: "\e6a6";
  1545. color: #999;
  1546. }
  1547. /* 公告 */
  1548. .common-icon-notice::before {
  1549. content: "\e6ac";
  1550. color: #999;
  1551. }
  1552. /* 统计图 */
  1553. .common-icon-chart::before {
  1554. content: "\e6a5";
  1555. color: #999;
  1556. }
  1557. /* 请假 */
  1558. .common-icon-leave-big::before {
  1559. font-size: 36px;
  1560. content: "\e6af";
  1561. color: #999999;
  1562. }
  1563. /* 收付款 */
  1564. .common-icon-receipt-big::before {
  1565. font-size: 36px;
  1566. content: "\e68e";
  1567. color: #999999;
  1568. }
  1569. /* 考勤 */
  1570. .common-icon-attendance-big::before {
  1571. font-size: 36px;
  1572. content: "\e694";
  1573. color: #999999;
  1574. }
  1575. /* 会议 */
  1576. .common-icon-meeting::before {
  1577. content: "\e692";
  1578. color: #999999;
  1579. }
  1580. /* 一卡通 */
  1581. .common-icon-card::before {
  1582. content: "\e6a0";
  1583. color: #999999;
  1584. }
  1585. /* 个人网站 */
  1586. .common-icon-site::before {
  1587. content: "\e6ae";
  1588. color: #999999;
  1589. }
  1590. .common-icon-arrow-right {
  1591. font-size: 14px;
  1592. }
  1593. .common-icon-arrow-right::before {
  1594. content: "\e640";
  1595. }
  1596. /* 通用icon结束 */
  1597. /* ==================== ss-sub-tab 组件样式 开始 ==================== */
  1598. .ss-sub-tab {
  1599. display: flex;
  1600. flex-direction: column;
  1601. height: 100vh;
  1602. }
  1603. .ss-sub-tab__bar {
  1604. width: 95%;
  1605. margin: 10px auto 0px;
  1606. background: #f5f5f5;
  1607. overflow-x: auto;
  1608. overflow-y: hidden;
  1609. padding-left: 12px;
  1610. -webkit-overflow-scrolling: touch;
  1611. display: flex;
  1612. flex-wrap: nowrap;
  1613. flex-shrink: 0;
  1614. }
  1615. .ss-sub-tab__bar::-webkit-scrollbar {
  1616. display: none;
  1617. }
  1618. .ss-sub-tab__item {
  1619. flex-shrink: 0;
  1620. margin-right: 25px;
  1621. height: 25px;
  1622. line-height: 15px;
  1623. font-size: 15px;
  1624. color: #999;
  1625. position: relative;
  1626. cursor: pointer;
  1627. transition: color 0.3s;
  1628. }
  1629. .ss-sub-tab__item.ss-sub-tab__item--active {
  1630. color: #000000;
  1631. }
  1632. .ss-sub-tab__item.ss-sub-tab__item--active::after {
  1633. content: "";
  1634. position: absolute;
  1635. bottom: 0;
  1636. left: -5px;
  1637. width: calc(100% + 10px);
  1638. height: 3px;
  1639. border-radius: 50px;
  1640. background: #000000;
  1641. }
  1642. .ss-sub-tab__content {
  1643. width: 100%;
  1644. margin: 0 auto;
  1645. flex: 1;
  1646. display: flex;
  1647. flex-direction: column;
  1648. }
  1649. .ss-sub-tab__content iframe {
  1650. width: 100%;
  1651. flex: 1;
  1652. border: none;
  1653. /* background: #fff; */
  1654. border-radius: 8px;
  1655. }
  1656. /* ==================== ss-sub-tab 组件样式 结束 ==================== */