| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773 |
- /* 重置样式 */
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- /* 防止Vue模板闪烁 */
- [v-cloak] {
- display: none !important;
- }
- table {
- width: calc(100% - 16px);
- margin: 0 auto;
- border-left: 2px solid #f2f2f2;
- border-top: 2px solid #f2f2f2;
- border-collapse: separate;
- border-spacing: 0;
- }
- tr {
- height: 46px;
- display: flex;
- align-items: center;
- box-sizing: border-box;
- }
- th {
- height: 100%;
- padding-right: 16px;
- background-color: #fafafa;
- align-items: center;
- justify-content: flex-end;
- box-sizing: border-box;
- max-width: 30%;
- min-width: 30%;
- border-bottom: 2px solid #f2f2f2;
- border-right: 2px solid #f2f2f2;
- color: #333333;
- font-size: 16px;
- font-weight: normal;
- display: flex;
- }
- td {
- height: 100%;
- padding-left: 16px;
- padding-right: 16px;
- align-items: flex-start;
- justify-content: flex-start;
- box-sizing: border-box;
- border-bottom: 2px solid #f2f2f2;
- border-right: 2px solid #f2f2f2;
- background: #fff;
- color: #333333;
- font-size: 16px;
- flex: 1;
- min-width: 0;
- width: 100%;
- display: flex;
- align-items: center;
- position: relative; /* 为伪元素定位 */
- }
- i{
- font-style: normal;
- }
- /* ss-input 智能输入组件样式 */
- .ss-input {
- width: 100%;
- position: relative;
- }
- .ss-input__container {
- position: relative;
- width: 100%;
- }
- .ss-input__field {
- width: 100%;
- height: 34px;
- /* padding: 0 16px; */
- font-size: 16px;
- line-height: 35px;
- color: #333;
- background-color: transparent;
- border: none;
- border-radius: 4px;
- outline: none;
- box-sizing: border-box;
- transition: border-color 0.2s ease;
- }
- .ss-input__field::placeholder {
- color: #999;
- font-size: 16px;
- }
- .ss-input__field:invalid,
- .ss-input__field.error {
- border-color: #ff3b30;
- }
- /* 错误提示 */
- .ss-input__error {
- color: #ff3b30;
- font-size: 12px;
- line-height: 18px;
- margin-top: 4px;
- text-align: right;
- position: absolute;
- bottom: 0;
- right: 0;
- }
- /* 校验状态样式 - 作用在td上 */
- td.td-required::before {
- content: '';
- position: absolute;
- left: 0;
- top: 0;
- bottom: 0;
- width: 2px;
- background: #ff3b30;
- z-index: 1;
- }
- td.td-error::after {
- content: '';
- position: absolute;
- left: 0;
- right: 0;
- bottom: 0;
- height: 2px;
- background: #ff3b30;
- z-index: 1;
- }
- td.td-error::before {
- content: '';
- position: absolute;
- left: 0;
- top: 0;
- bottom: 0;
- width: 2px;
- background: #ff3b30;
- z-index: 1;
- }
- /* ss-bottom 底部按钮组件样式 */
- .ss-bottom {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- z-index: 99;
- }
- /* 审核意见区域 */
- .ss-bottom__opinion {
- background-color: #fff;
- }
- .ss-bottom__opinion-table {
- width: 100%;
- margin: 0;
- border-left: 2px solid #f2f2f2;
- border-top: 2px solid #f2f2f2;
- border-collapse: separate;
- border-spacing: 0;
- height: 50px;
- }
- .ss-bottom__opinion-table tr {
- height: 50px;
- display: flex;
- align-items: center;
- box-sizing: border-box;
- }
- .ss-bottom__opinion-label {
- height: 100%;
- padding-right: 16px;
- background-color: #e6e6e6;
- color: #333333;
- align-items: center;
- justify-content: flex-end;
- box-sizing: border-box;
- max-width: 30%;
- min-width: 30%;
- border-bottom: 2px solid #f2f2f2;
- border-right: 2px solid #f2f2f2;
- font-size: 16px;
- font-weight: normal;
- display: flex;
- border: none;
- }
- .ss-bottom__opinion-input {
- height: 100%;
- padding-left: 16px;
- padding-right: 16px;
- align-items: flex-start;
- justify-content: flex-start;
- box-sizing: border-box;
- border-bottom: 2px solid #f2f2f2;
- border-right: 2px solid #f2f2f2;
- }
- /* 按钮区域 */
- .ss-bottom__buttons {
- display: flex;
- justify-content: space-between;
- align-items: center;
- background-color: #fff;
- height: 50px;
- }
- .ss-bottom__buttons--with-border {
- border-top: 1px solid #e6e6e6;
- }
- .ss-bottom__button {
- flex: 1;
- height: 100%;
- line-height: 50px;
- text-align: center;
- font-size: 16px;
- color: #333;
- background-color: #fafafb;
- cursor: pointer;
- transition: background-color 0.2s ease;
- }
- .ss-bottom__button:active {
- background-color: #585e6e;
- color: #fff;
- }
- .ss-bottom__divider {
- width: 1px;
- height: 80%;
- background-color: #e0e0e0;
- }
- /* ========== SsOnoffButton 开关按钮(照抄小程序版本) ========== */
- .ss-onoff-button {
- position: relative;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- padding: 4px 12px;
- border: 1px solid #BFC1C6;
- border-radius: 2px;
- background-color: #fff;
- color: #C3C6CA;
- font-size: 16px;
- cursor: pointer;
- transition: all 0.3s ease;
- margin-right: 4px;
- }
- .ss-onoff-button.checked {
- color: #393D51;
- border-color: #393D51;
- }
- /* 禁用状态 */
- .ss-onoff-button.disabled {
- opacity: 0.6;
- cursor: not-allowed;
- pointer-events: none;
- }
- .ss-onoff-button .button-label {
- flex: 1;
- text-align: center;
- line-height: 1.2;
- }
- .ss-onoff-button .button-mark {
- position: absolute;
- bottom: 0px;
- right: 0px;
- width: 18px;
- height: 18px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: inherit;
- }
- /* 表单组件icon样式 - 完全按照小程序版本实现 */
- .form-icon {
- font-size: 18px;
- font-family: "iconfont";
- }
- .form-icon-onoffbutton-checked::before {
- content: "\e62d";
- }
- .form-icon-onoffbutton-unchecked::before {
- content: "\e62b";
- }
- /* ========== SsDatetimePicker 日期时间选择器(使用 Vant) ========== */
- .ss-datetime-picker {
- position: relative;
- width: 100%;
- }
- /* 禁用状态 */
- .ss-datetime-picker.disabled {
- opacity: 0.6;
- cursor: not-allowed;
- }
- .ss-datetime-picker.disabled .datetime-picker-display {
- cursor: not-allowed;
- pointer-events: none;
- }
- .datetime-picker-display {
- display: flex;
- align-items: center;
- justify-content: space-between;
- height: 36px;
- /* border: 1px solid #e0e0e0; */
- border-radius: 6px;
- background: #fff;
- min-height: 36px;
- transition: border-color 0.2s;
- cursor: pointer;
- }
- .datetime-picker-value {
- flex: 1;
- font-size: 16px;
- color: #333;
- text-align: left;
- }
- .datetime-picker-value.placeholder {
- color: #999;
- }
- .datetime-picker-icon {
- margin-left: 8px;
- font-size: 16px;
- color: #666;
- }
- /* ========== SsConfirm 确认弹窗(照抄小程序版本) ========== */
- .ss-confirm {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: 9999;
- display: flex;
- flex-direction: column;
- overflow: hidden; /* 阻止弹窗内滚动 */
- }
- /* 弹窗显示时阻止 body 滚动 */
- body.modal-open {
- overflow: hidden;
- position: fixed;
- width: 100%;
- }
- /* 遮罩层 */
- .confirm-mask {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- backdrop-filter: blur(2px);
- -webkit-backdrop-filter: blur(2px);
- }
- /* 弹窗内容 */
- .confirm-content {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- background: #f2f3f4;
- border-radius: 5px;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- box-shadow: 6px 5px 3px rgba(0, 0, 0, 0.3);
- width: 90%;
- max-width: 400px;
- }
- /* 头部信息 */
- .confirm-header {
- padding-top: 20px;
- padding-bottom: 10px;
- border-bottom: 1px solid #f2f3f4;
- }
- .confirm-header .header-title {
- font-size: 21px;
- color: #333;
- text-align: center;
- }
- .header-line {
- width: calc(100% - 52px);
- height: 1px;
- background: #e6e6e6;
- margin: 0 auto;
- }
- /* 主要内容区域 */
- .confirm-body {
- flex: 1;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- padding: 16px;
- }
- .confirm-content-text {
- font-size: 15px;
- color: #666;
- line-height: 1.6;
- text-align: center;
- margin-bottom: 8px;
- }
- /* 底部按钮 */
- .confirm-bottom {
- position: relative;
- border-top: 1px solid #eee;
- display: flex;
- }
- .confirm-btn {
- flex: 1;
- height: 50px;
- border: none;
- font-size: 16px;
- cursor: pointer;
- transition: all 0.2s;
- background: #f2f3f4;
- color: #333;
- }
- .confirm-btn:first-child {
- border-right: 1px solid #eee;
- }
- .confirm-btn:hover {
- background: #e8e9ea;
- }
- /* ========== SsCard 卡片组件样式 ========== */
- .ss-card {
- background: #FFFFFF;
- border-radius: 4px;
- overflow: visible;
- padding: 12.5px;
- border: 1px solid #d9d9d9;
- margin-bottom: 15px;
- box-shadow: 1px 3px 3px rgba(4, 0, 0, 0.15);
- box-sizing: border-box;
- position: relative;
- z-index: 1;
- cursor: pointer;
- }
- /* 右上角设置按钮区域 */
- .card-setting-header {
- position: absolute;
- top: 0;
- right: 0;
- width: 40px;
- height: 40px;
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 1001;
- }
- .setting-icon {
- width: 40px;
- height: 40px;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 0 4px 0 4px;
- transition: all 0.3s ease;
- }
- .setting-icon:active {
- background: rgba(0, 0, 0, 0.1);
- }
- /* ========== SsSearchButton 搜索按钮组件样式 ========== */
- .ss-search-button-container {
- position: relative;
- display: inline-block;
- margin: 0 4px 4px 0;
- font-size: 16px;
- }
- .ss-search-button {
- height: 34px;
- padding: 0 16px;
- border: 1px solid #eceded;
- outline: none;
- background-color: #fff;
- text-align: center;
- font-size: 16px;
- color: #585d6e;
- letter-spacing: 2px;
- border-radius: 4px;
- display: flex;
- align-items: center;
- justify-content: center;
- -webkit-appearance: none;
- appearance: none;
- box-sizing: border-box;
- transition: all 0.2s ease;
- cursor: pointer;
- }
- .ss-search-button:active {
- background-color: #eceded;
- color: #fff;
- border-color: #eceded;
- transform: scale(0.98);
- transition: all 0.1s ease;
- }
- .ss-search-button:active .ss-search-button__pre-icon .iconfont,
- .ss-search-button:active .ss-search-button__suffix-icon .iconfont {
- color: #fff !important;
- }
- .ss-search-button:disabled {
- opacity: 0.6;
- cursor: not-allowed;
- }
- .ss-search-button__pre-icon {
- margin-right: 5px;
- display: flex;
- align-items: center;
- }
- .ss-search-button__suffix-icon {
- margin-left: 5px;
- display: flex;
- align-items: center;
- }
- .ss-search-button__text {
- font-size: 16px;
- color: inherit;
- }
- /* 选项弹窗菜单 - 参考小程序ss-select样式 */
- .options-menu {
- position: absolute;
- top: 100%;
- left: 0;
- width: 100%;
- background-color: #393D51;
- z-index: 1003;
- color: #fff;
- border: 2px solid #393D51;
- box-sizing: border-box;
- border-radius: 10px;
- overflow: hidden;
- max-height: 300px;
- overflow-y: auto;
- min-width: 200px;
- }
- .option-item {
- padding: 10px 10px 10px 16px;
- cursor: pointer;
- position: relative;
- display: flex;
- align-items: center;
- }
- .option-item::after {
- content: "";
- position: absolute;
- bottom: 0%;
- left: 50%;
- transform: translateX(-50%);
- width: 80%;
- height: 1px;
- background-color: #303445;
- }
- .option-item:last-child::after {
- display: none;
- }
- .option-item:active {
- background-color: #fff;
- color: #393D51;
- }
- .option-item:active::after {
- display: none;
- }
- /* Icon组件在菜单中的样式 */
- .option-item .iconfont,
- .menu-item .iconfont {
- margin-right: 8px;
- display: inline-flex;
- align-items: center;
- }
- .option-text {
- font-size: 14px;
- color: inherit;
- flex: 1;
- }
- /* ========== SsCard 卡片组件样式 ========== */
- .ss-card {
- background: #FFFFFF;
- border-radius: 4px;
- overflow: visible;
- padding: 12.5px;
- border: 1px solid #d9d9d9;
- margin-bottom: 15px;
- box-shadow: 1px 3px 3px rgba(4, 0, 0, 0.15);
- box-sizing: border-box;
- position: relative;
- z-index: 1;
- cursor: pointer;
- }
- /* .card-content 内容区域不需要额外padding,因为卡片本身已有padding */
- .field-row {
- display: flex;
- margin-bottom: 8px;
- align-items: flex-start;
- }
- .field-row:last-child {
- margin-bottom: 0;
- }
- .field-label {
- color: #666;
- font-size: 14px;
- min-width: 80px;
- margin-right: 12px;
- flex-shrink: 0;
- }
- .field-value {
- color: #333;
- font-size: 14px;
- flex: 1;
- word-break: break-all;
- }
- /* 右上角设置按钮区域 */
- .card-setting-header {
- position: absolute;
- top: 0;
- right: 0;
- width: 40px;
- height: 40px;
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 1001;
- }
- .setting-icon {
- width: 40px;
- height: 40px;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 0 4px 0 4px;
- transition: all 0.3s ease;
- }
- .setting-icon:active {
- background: rgba(0, 0, 0, 0.1);
- }
- /* 按钮弹窗菜单 - 参考小程序ss-select样式 */
- .button-menu {
- position: absolute;
- top: 100%;
- right: 0;
- background-color: #393D51;
- z-index: 10000;
- color: #fff;
- border: 2px solid #393D51;
- box-sizing: border-box;
- border-radius: 10px;
- overflow: hidden;
- max-height: 300px;
- overflow-y: auto;
- min-width: 200px;
- }
- .menu-item {
- padding: 10px 10px 10px 16px;
- cursor: pointer;
- position: relative;
- display: flex;
- align-items: center;
- }
- .menu-item::after {
- content: "";
- position: absolute;
- bottom: 0%;
- left: 50%;
- transform: translateX(-50%);
- width: 80%;
- height: 1px;
- background-color: #303445;
- }
- .menu-item:last-child::after {
- display: none;
- }
- .menu-item:active {
- background-color: #fff;
- color: #393D51;
- }
- .menu-item:active::after {
- display: none;
- }
- .menu-text {
- font-size: 14px;
- color: inherit;
- flex: 1;
- }
- .card-actions {
- border-top: 1px solid #f0f0f0;
- padding: 12px 0 0 0;
- display: flex;
- gap: 8px;
- justify-content: flex-end;
- margin-top: 12px;
- }
- .action-btn {
- background: #40ac6d;
- color: white;
- border: none;
- border-radius: 4px;
- padding: 6px 12px;
- font-size: 12px;
- cursor: pointer;
- transition: background-color 0.2s;
- }
- .action-btn:hover {
- background: #369c5e;
- }
- .action-btn:active {
- background: #2d8a4f;
- }
- /* ========== SsSelect 下拉选择组件样式 ========== */
- .ss-select-container {
- position: relative;
- display: inline-block;
- font-size: 16px;
- display: flex;
- align-items: center;
- cursor: pointer;
- }
- .ss-select {
- padding: 5px 0;
- border-radius: 5px;
- cursor: pointer;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: space-between;
- /* min-height: 40px; */
- box-sizing: border-box;
- }
- .ss-select.disabled {
- opacity: 0.6;
- cursor: not-allowed;
- }
- .ss-select.disabled .select-text {
- color: #ccc;
- }
- .select-text {
- flex: 1;
- color: #333;
- font-size: 16px;
- }
- .select-text.placeholder {
- color: #999;
- }
- .select-arrow {
- display: flex;
- align-items: center;
- transition: transform 0.3s ease;
- margin-left: 10px;
- color: #999;
- font-size: 12px;
- }
- .select-arrow.rotate {
- transform: rotate(180deg);
- }
- .ss-options {
- display: none;
- position: absolute;
- top: 100%;
- left: 0;
- width: 100%;
- background-color: #393D51;
- z-index: 1000;
- color: #fff;
- border: 1px solid #393D51;
- box-sizing: border-box;
- border-radius: 10px;
- overflow: hidden;
- max-height: 300px;
- overflow-y: auto;
- }
- .ss-select-container.open .ss-options {
- display: block;
- }
- .option-item {
- padding: 10px 10px 10px 23px;
- cursor: pointer;
- position: relative;
- }
- .option-item::after {
- content: "";
- position: absolute;
- bottom: 0%;
- left: 50%;
- transform: translateX(-50%);
- width: 80%;
- height: 1px;
- background-color: #303445;
- }
- .option-item:last-child::after,
- .option-item:hover::after,
- .option-item.selected::after {
- display: none;
- }
- .option-item:hover {
- background-color: #fff;
- color: #393D51;
- }
- .option-item.selected {
- background-color: #fff;
- color: #393D51;
- }
- .option-item.selected::before {
- content: "✓";
- position: absolute;
- width: 15px;
- height: 100%;
- left: 5px;
- top: 0;
- color: #393D51;
- display: flex;
- align-items: center;
- }
- .option-item.no-options {
- text-align: center;
- color: #999;
- cursor: default;
- }
- .option-item.no-options:hover {
- background-color: #393D51;
- color: #999;
- }
- .option-item.loading-item {
- text-align: center;
- color: #999;
- cursor: default;
- }
- .option-item.loading-item:hover {
- background-color: #393D51;
- color: #999;
- }
- .loading-text {
- animation: loading-pulse 1.5s ease-in-out infinite;
- }
- @keyframes loading-pulse {
- 0%, 100% { opacity: 0.6; }
- 50% { opacity: 1; }
- }
- /* ========== SsUploadImage 图片上传裁剪组件样式 ========== */
- .ss-upload-image {
- display: inline-block;
- }
- .image-container {
- position: relative;
- overflow: hidden;
- border: 2px solid #e0e0e0;
- cursor: pointer;
- transition: all 0.3s ease;
- }
- .image-container:hover {
- border-color: #40ac6d;
- }
- .image-display {
- width: 100%;
- height: 100%;
- object-fit: cover;
- display: block;
- }
- .image-mask {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(0, 0, 0, 0.5);
- display: flex;
- align-items: center;
- justify-content: center;
- opacity: 0;
- transition: opacity 0.3s ease;
- }
- .image-container:hover .image-mask {
- opacity: 1;
- }
- /* 裁剪页面(全屏) */
- .ss-crop-container {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: #000;
- z-index: 9999;
- display: flex;
- flex-direction: column;
- }
- /* 左上角尺寸显示 */
- .crop-size-display {
- position: absolute;
- top: 15px;
- left: 15px;
- color: #000;
- font-size: 18px;
- line-height: 1.5;
- z-index: 10001;
- font-weight: 500;
- }
- .ss-crop-image-container {
- flex: 1;
- position: relative;
- overflow: hidden;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- #ss-crop-image {
- max-width: 100%;
- max-height: 100%;
- display: block;
- }
- /* 自定义裁剪框样式 - 简洁版 */
- .cropper-view-box {
- outline: 2px solid #00923f;
- outline-color: rgba(64, 172, 109, 0.85);
- box-shadow: none;
- }
- /* 圆形裁剪框 - 只在circle模式下显示 */
- .crop-shape-circle .cropper-view-box,
- .crop-shape-circle .cropper-face {
- border-radius: 50%;
- }
- /* 方形裁剪框 - 默认样式,无圆角 */
- .crop-shape-square .cropper-view-box,
- .crop-shape-square .cropper-face {
- border-radius: 0;
- }
- /* 隐藏所有裁剪点 - 简化界面 */
- .cropper-point {
- display: none;
- }
- /* 隐藏所有线条 */
- .cropper-line {
- display: none;
- }
- /* 遮罩层颜色和模糊效果 */
- .cropper-modal {
- background-color: rgba(0, 0, 0, 0.6);
- backdrop-filter: blur(4px);
- -webkit-backdrop-filter: blur(4px);
- }
- /* 隐藏中心指示器 */
- .cropper-center {
- display: none;
- }
- /* ========== SsImageCropper 裁剪组件样式 ========== */
- .ss-image-cropper-container {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: #000;
- z-index: 9999;
- display: flex;
- flex-direction: column;
- }
- #ss-image-cropper-img {
- max-width: 100%;
- max-height: 100%;
- display: block;
- }
- /* ========== SsUploadImage 多图上传组件样式 ========== */
- .ss-upload-image-multi {
- display: flex;
- flex-wrap: wrap;
- gap: 10px;
- }
- .image-list {
- display: flex;
- flex-wrap: wrap;
- gap: 10px;
- }
- .image-item {
- position: relative;
- overflow: hidden;
- cursor: pointer;
- transition: all 0.3s ease;
- }
- /* 已上传的图片 */
- .image-item img.image-display {
- width: 100%;
- height: 100%;
- object-fit: cover;
- display: block;
- border: 2px solid #e0e0e0;
- border-radius: inherit;
- }
- .image-item:hover img.image-display {
- border-color: #40ac6d;
- }
- /* 删除按钮 */
- .image-delete {
- position: absolute;
- top: 5px;
- right: 5px;
- width: 24px;
- height: 24px;
- background: rgba(0, 0, 0, 0.6);
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- opacity: 0;
- transition: opacity 0.3s ease;
- z-index: 10;
- }
- .image-item:hover .image-delete {
- opacity: 1;
- }
- .image-delete:active {
- background: rgba(255, 0, 0, 0.8);
- }
- /* 添加按钮 */
- .image-add {
- border: 2px dashed #e0e0e0;
- background: #fafafa;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- transition: all 0.3s ease;
- }
- .image-add:hover {
- border-color: #40ac6d;
- background: #f0f9f4;
- }
- .image-add .add-text {
- margin-top: 8px;
- font-size: 12px;
- color: #999;
- }
- /* ========== SsUploadFile 文件上传组件样式 ========== */
- .ss-upload-file {
- width: 100%;
- }
- .file-list {
- display: flex;
- flex-direction: column;
- gap: 10px;
- margin-bottom: 10px;
- }
- .file-item {
- display: flex;
- align-items: center;
- padding: 12px;
- background: #f5f5f5;
- border-radius: 8px;
- border: 1px solid #e0e0e0;
- transition: all 0.3s ease;
- }
- .file-item:hover {
- border-color: #40ac6d;
- background: #f0f9f4;
- }
- .file-icon {
- width: 40px;
- height: 40px;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 24px;
- margin-right: 12px;
- flex-shrink: 0;
- }
- .file-info {
- flex: 1;
- min-width: 0;
- }
- .file-name {
- font-size: 14px;
- color: #333;
- word-break: break-all;
- line-height: 1.4;
- }
- .file-actions {
- display: flex;
- gap: 8px;
- margin-left: 12px;
- flex-shrink: 0;
- }
- .file-download,
- .file-delete {
- width: 32px;
- height: 32px;
- display: flex;
- align-items: center;
- justify-content: center;
- background: rgba(255, 255, 255, 0.8);
- border-radius: 50%;
- cursor: pointer;
- transition: all 0.3s ease;
- font-size: 16px;
- }
- .file-download {
- color: #40ac6d;
- }
- .file-download:active {
- background: #40ac6d;
- color: #fff;
- }
- .file-delete {
- color: #ff3b30;
- }
- .file-delete:active {
- background: #ff3b30;
- color: #fff;
- }
- .file-add-button {
- width: 100%;
- padding: 16px;
- border: 2px dashed #e0e0e0;
- background: #fafafa;
- border-radius: 8px;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- transition: all 0.3s ease;
- }
- .file-add-button:hover {
- border-color: #40ac6d;
- background: #f0f9f4;
- }
- .file-add-button .add-icon {
- font-size: 32px;
- color: #999;
- margin-bottom: 8px;
- }
- .file-add-button .add-text {
- font-size: 14px;
- color: #666;
- margin-bottom: 4px;
- }
- .file-add-button .file-tip {
- font-size: 12px;
- color: #999;
- text-align: center;
- line-height: 1.4;
- }
- /* ========== SsCarCard 车辆卡片组件样式 ========== */
- .car-card {
- background: #FFFFFF;
- border-radius: 4px;
- overflow: visible;
- padding: 17px;
- margin-bottom: 17px;
- box-shadow: 1px 3px 3px rgba(4, 0, 0, 0.15);
- box-sizing: border-box;
- position: relative;
- z-index: 1;
- transition: all 0.3s ease;
- cursor: pointer;
- }
- /* 可预约状态 - 绿色 */
- .car-card.status-available {
- background-color: #c7ffe0;
- }
- /* 已被预约状态 - 橙色 */
- .car-card.status-reserved {
- background-color: #ffb882;
- }
- /* 禁用状态 - 灰色 */
- .car-card.status-disabled {
- background-color: #f5f5f5;
- opacity: 0.6;
- cursor: not-allowed;
- }
- .car-title {
- font-size: 17px;
- font-weight: bold;
- color: #000000;
- margin-bottom: 8.5px;
- text-align: left;
- }
- .car-info {
- display: flex;
- align-items: flex-start;
- gap: 22.5px;
- }
- .car-image-container {
- flex-shrink: 0;
- width: 190px;
- height: 106px;
- border-radius: 4px;
- overflow: hidden;
- background-color: #f8f8f8;
- }
- .car-image {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- .car-details {
- flex: 1;
- display: flex;
- flex-direction: column;
- gap: 4px;
- min-width: 0;
- }
- .detail-item {
- font-size: 17px;
- color: #333;
- line-height: 24px;
- }
- /* 禁用状态下的文字颜色 */
- .status-disabled .car-title,
- .status-disabled .detail-item {
- color: #999 !important;
- }
- .status-disabled .detail-item.seats {
- color: #bbb !important;
- }
- /* ===== 审核节点链组件样式 - PC端完整复制 ===== */
- .verify-nodes {
- flex: 1;
- overflow-y: auto;
- /* padding: 20px 0; */
- margin-right: 6px;
- }
- .verify-nodes .group-item {
- /* margin-bottom: 12px; */
- padding: 20px 0 8px 20px;
- }
- .verify-nodes .group-item {
- position: relative;
- }
- .verify-nodes .group-item:not(:last-child)::after {
- position: absolute;
- content: "";
- width: 0;
- height: calc(100% - 30px);
- border-left: 1px solid #a0a0a0;
- top: 46px;
- left: 30px;
- }
- .verify-nodes .group-item-last-open::after {
- position: absolute;
- content: "";
- width: 0;
- height: var(--group-line-height);
- border-left: 1px solid #a0a0a0;
- top: 46px;
- left: 30px;
- }
- .verify-nodes .group-item-title {
- cursor: pointer;
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
- gap: 10px;
- font-size: 16px;
- }
- .verify-nodes .group-item .icon {
- color: #666666;
- position: relative;
- }
- .verify-nodes .group-item .num {
- position: absolute;
- top: 60%;
- left: 50%;
- transform: translate(-50%, -50%);
- color: #999999;
- font-size: 14px;
- }
- .verify-nodes .group-item-children {
- padding-left: 15px;
- }
- .verify-node-container {
- /* padding: 16px 0; */
- }
- .verify-node-container>.info {
- padding: 0 10px;
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- height: 60px;
- }
- .verify-node-container>.info>.avatar {
- width: 50px;
- height: 50px;
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- }
- .verify-node-container>.info>.desc {
- width: calc(100% - 60px - 60px);
- color: #333333;
- font-size: 16px;
- line-height: 1.6em;
- padding: 0 10px;
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- }
- .verify-node-container>.info>.desc>div {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .verify-node-container>.info>.link {
- width: 60px;
- }
- .verify-node-container>.info>.link>div {
- padding-top: 30px;
- display: flex;
- flex-direction: row;
- justify-content: flex-end;
- margin-right: 5px;
- align-items: center;
- gap: 10px;
- color: #555c6b;
- }
- .verify-node-container .description {
- margin-top: 5px;
- padding: 10px;
- }
- .verify-node-container .description.link {
- position: relative;
- }
- .verify-node-container .description.link::before {
- position: absolute;
- width: 20px;
- content: "";
- height: 0;
- border-bottom: 1px solid #a0a0a0;
- top: 30px;
- left: -10px;
- }
- .verify-node-container .description.link::after {
- position: absolute;
- width: 16px;
- content: attr(data-num);
- height: 16px;
- border-radius: 50%;
- background: #edf1f5;
- border: 1px solid #a0a0a0;
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- color: #666666;
- font-size: 12px;
- left: -13px;
- top: 22px;
- z-index: 1;
- }
- .verify-node-container .description>div {
- width: 100%;
- background: #fff;
- border-radius: 3px;
- position: relative;
- padding: 8px 17px;
- color: #333333;
- font-size: 16px;
- }
- .verify-node-container .description>div::before {
- content: "";
- width: 10px;
- height: 10px;
- background: #fff;
- position: absolute;
- left: 26px;
- top: -5px;
- transform: rotate(45deg);
- border-radius: 2px;
- }
- .verify-node-container .time {
- display: flex;
- flex-direction: row;
- justify-content: flex-end;
- align-items: center;
- color: #666666;
- font-size: 16px;
- padding: 0 10px;
- }
- /* ===== PC端通用图标样式 - 完整搬运 ===== */
- /* 图标相关开始 */
- /* 通用icon */
- .common-icon{
- font-size: 22px;
- font-family: "iconfont";
- }
- .common-icon-add::before{
- content: "\e60d";
- color: #999999;
- }
- .common-icon-setting::before{
- content: "\e630";
- /* color: #999999; */
- }
- /* 减少 */
- .common-icon-reduce::before{
- content: "\e6a2";
- color: #EB6100;
- }
- /* 附件 */
- .common-icon-paper-clip::before{
- content: "\e676";
- color: #999999;
- }
- .common-icon-change::before{
- font-size: 16px;
- content: "→";
- color: red;
- }
- /* 表情 */
- .common-icon-smile::before{
- content: "\e616";
- color: #999999;
- }
- /* 常用语 */
- .common-icon-common-words::before{
- content: "\e69d";
- color: #999999;
- }
- /* 手写 */
- .common-icon-handwriting::before{
- content: "\e6ab";
- color: #999999;
- }
- /* 视频播放 */
- .common-icon-video::before{
- content: "\e699";
- color: #999999;
- }
- /* 文件夹-关闭 */
- .common-icon-folder-close::before{
- content: "\e60b";
- color: #999999;
- }
- /* 文件夹-打开 */
- .common-icon-folder-open::before{
- content: "\e60c";
- color: #999999;
- }
- /* 文件 */
- .common-icon-file::before{
- content: "\e69e";
- color: #999999;
- }
- /* 刷新 */
- .common-icon-refresh::before{
- content: "\e635";
- color: #999;
- }
- /* 待办 */
- .common-icon-todo::before{
- content: "\e65c";
- color: #999;
- }
- /* 催办 */
- .common-icon-urge::before{
- content: "\e664";
- color: #999;
- }
- /* 快捷发起 */
- .common-icon-quick-start::before{
- content: "\e6a6";
- color: #999;
- }
- /* 公告 */
- .common-icon-notice::before{
- content: "\e6ac";
- color: #999;
- }
- /* 统计图 */
- .common-icon-chart::before{
- content: "\e6a5";
- color: #999;
- }
- /* 请假 */
- .common-icon-leave-big::before{
- font-size: 36px;
- content: "\e6af";
- color: #999999;
- }
- /* 收付款 */
- .common-icon-receipt-big::before{
- font-size: 36px;
- content: "\e68e";
- color: #999999;
- }
- /* 考勤 */
- .common-icon-attendance-big::before{
- font-size: 36px;
- content: "\e694";
- color: #999999;
- }
- /* 会议 */
- .common-icon-meeting::before{
- content: "\e692";
- color: #999999;
- }
- /* 一卡通 */
- .common-icon-card::before{
- content: "\e6a0";
- color: #999999;
- }
- /* 个人网站 */
- .common-icon-site::before{
- content: "\e6ae";
- color: #999999;
- }
- .common-icon-arrow-right{
- font-size: 14px;
- }
- .common-icon-arrow-right::before{
- content: "\e640";
- }
- /* 通用icon结束 */
- /* ==================== ss-sub-tab 组件样式 开始 ==================== */
- .ss-sub-tab {
- display: flex;
- flex-direction: column;
- height: 100vh;
- }
- .ss-sub-tab__bar {
- width: 95%;
- margin: 0 auto 10px;
- background: #f5f5f5;
- overflow-x: auto;
- overflow-y: hidden;
- padding-left: 12px;
- -webkit-overflow-scrolling: touch;
- display: flex;
- flex-wrap: nowrap;
- flex-shrink: 0;
- }
- .ss-sub-tab__bar::-webkit-scrollbar {
- display: none;
- }
- .ss-sub-tab__item {
- flex-shrink: 0;
- margin-right: 25px;
- height: 25px;
- line-height: 15px;
- font-size: 15px;
- color: #999;
- position: relative;
- cursor: pointer;
- transition: color 0.3s;
- }
- .ss-sub-tab__item.ss-sub-tab__item--active {
- color: #000000;
- }
- .ss-sub-tab__item.ss-sub-tab__item--active::after {
- content: '';
- position: absolute;
- bottom: 0;
- left: -5px;
- width: calc(100% + 10px);
- height: 3px;
- border-radius: 50px;
- background: #000000;
- }
- .ss-sub-tab__content {
- width: 100%;
- margin: 0 auto;
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .ss-sub-tab__content iframe {
- width: 100%;
- flex: 1;
- border: none;
- /* background: #fff; */
- border-radius: 8px;
- }
- /* ==================== ss-sub-tab 组件样式 结束 ==================== */
|