base.css 32 KB

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