| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774 |
- /* 重置样式 */
- * {
- 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 组件样式 结束 ==================== */
|