| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949 |
- @use "sass:color";
- /* 颜色变量 */
- $primary-color: #007aff;
- $primary-dark: #0051a8;
- $success-color: #34c759;
- $warning-color: #ff9500;
- $danger-color: #ff3b30;
- $info-color: #5ac8fa;
- $text-primary-dark: #1c1c1e;
- $text-secondary-dark: #636366;
- $text-tertiary-dark: #8e8e93;
- $border-color: #e5e5ea;
- $background-color: #f2f2f7;
- $card-background: #ffffff;
- $shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
- $shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
- $shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
- $border-radius: 12px;
- $transition: all 0.2s ease;
- /* iOS设计风格颜色变量 */
- $ios-primary: #007aff;
- $ios-primary-dark: #0051a8;
- $ios-secondary: #5856d6;
- $ios-success: #34c759;
- $ios-warning: #ff9500;
- $ios-danger: #ff3b30;
- $ios-background: #f2f2f7;
- $ios-card-background: #ffffff;
- $ios-border: #e5e5ea;
- $ios-text: #1c1c1e;
- $ios-text-secondary: #636366;
- $ios-text-tertiary: #8e8e93;
- $ios-button-background: #f2f2f7;
- /* iOS设计风格圆角变量 */
- $ios-radius-sm: 8px;
- $ios-radius-md: 12px;
- $ios-radius-lg: 16px;
- $ios-radius-xl: 22px;
- /* 企业微信提示动画 */
- @keyframes slideInRight {
- from {
- transform: translateX(100%);
- opacity: 0;
- }
- to {
- transform: translateX(0);
- opacity: 1;
- }
- }
- /* 新增:待跟进尾款项目列表样式 */
- .pending-final-payment-section {
- background: $card-background;
- border-radius: $border-radius;
- padding: 24px;
- margin-bottom: 24px;
- box-shadow: $shadow-sm;
- border: 1px solid $border-color;
- .section-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 20px;
- h3 {
- margin: 0;
- font-size: 18px;
- font-weight: 600;
- color: $text-primary-dark;
- }
- .section-stats {
- display: flex;
- align-items: center;
- gap: 8px;
- .stat-badge {
- background: $danger-color;
- color: white;
- padding: 4px 8px;
- border-radius: 12px;
- font-size: 12px;
- font-weight: 600;
- min-width: 20px;
- text-align: center;
- &.urgent {
- background: $danger-color;
- animation: pulse 2s infinite;
- }
- }
- .stat-label {
- font-size: 14px;
- color: $text-secondary-dark;
- }
- }
- }
- .final-payment-list {
- display: flex;
- flex-direction: column;
- gap: 16px;
- .empty-state {
- text-align: center;
- padding: 40px 20px;
- color: $text-tertiary-dark;
- svg {
- margin-bottom: 16px;
- opacity: 0.5;
- }
- p {
- margin: 0;
- font-size: 14px;
- }
- }
- .final-payment-item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 20px;
- border: 2px solid $border-color;
- border-radius: $ios-radius-lg;
- background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
- position: relative;
- overflow: hidden;
- &::before {
- content: '';
- position: absolute;
- left: 0;
- top: 0;
- bottom: 0;
- width: 4px;
- background: linear-gradient(180deg, $primary-color 0%, lighten($primary-color, 15%) 100%);
- transition: width 0.3s ease;
- }
- &:hover {
- transform: translateY(-2px);
- box-shadow: 0 8px 24px rgba(0, 122, 255, 0.15);
- border-color: $primary-color;
- &::before {
- width: 6px;
- }
- }
- &.overdue {
- border-color: rgba($danger-color, 0.3);
- background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
- &::before {
- background: linear-gradient(180deg, $danger-color 0%, lighten($danger-color, 15%) 100%);
- }
- &:hover {
- box-shadow: 0 8px 24px rgba(255, 59, 48, 0.15);
- border-color: $danger-color;
- }
- }
- .project-info {
- flex: 1;
- .project-header {
- display: flex;
- justify-content: space-between;
- align-items: baseline;
- margin-bottom: 12px;
- .project-name {
- margin: 0;
- font-size: 17px;
- font-weight: 600;
- color: $text-primary-dark;
- letter-spacing: -0.3px;
- }
- .payment-amount {
- font-size: 22px;
- font-weight: 700;
- background: linear-gradient(135deg, $danger-color 0%, darken($danger-color, 10%) 100%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- background-clip: text;
-
- &.highlight {
- animation: priceGlow 2s ease-in-out infinite;
- }
- }
- }
- .customer-info {
- .customer-details {
- display: flex;
- align-items: center;
- gap: 12px;
- margin-bottom: 10px;
- flex-wrap: wrap;
- .icon-user, .icon-phone {
- opacity: 0.6;
- flex-shrink: 0;
- }
- .customer-name {
- font-size: 14px;
- font-weight: 500;
- color: $text-primary-dark;
- display: flex;
- align-items: center;
- gap: 6px;
- }
- .customer-phone {
- font-size: 14px;
- color: $text-secondary-dark;
- display: flex;
- align-items: center;
- gap: 6px;
- font-family: 'SF Mono', Monaco, monospace;
- }
- }
- .project-meta {
- display: flex;
- justify-content: space-between;
- align-items: center;
- gap: 12px;
- .due-date {
- font-size: 13px;
- color: $text-tertiary-dark;
- display: flex;
- align-items: center;
- gap: 6px;
- svg {
- opacity: 0.7;
- }
- }
- .status-badge {
- padding: 6px 12px;
- border-radius: 20px;
- font-size: 12px;
- font-weight: 600;
- display: inline-flex;
- align-items: center;
- gap: 4px;
- transition: all 0.3s ease;
- &.pending {
- background: linear-gradient(135deg, rgba($warning-color, 0.15) 0%, rgba($warning-color, 0.08) 100%);
- color: darken($warning-color, 5%);
- border: 1px solid rgba($warning-color, 0.3);
- }
- &.overdue {
- background: linear-gradient(135deg, rgba($danger-color, 0.15) 0%, rgba($danger-color, 0.08) 100%);
- color: darken($danger-color, 5%);
- border: 1px solid rgba($danger-color, 0.3);
- animation: badgePulse 2s ease-in-out infinite;
- }
- .overdue-days {
- font-size: 11px;
- opacity: 0.9;
- }
- }
- }
- }
- }
- .payment-actions {
- display: flex;
- flex-direction: column;
- gap: 10px;
- margin-left: 20px;
- button {
- &.mini {
- padding: 10px 16px;
- font-size: 13px;
- border-radius: $ios-radius-md;
- white-space: nowrap;
- font-weight: 500;
- display: flex;
- align-items: center;
- gap: 6px;
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
- border: none;
- cursor: pointer;
- letter-spacing: -0.2px;
- svg {
- width: 16px;
- height: 16px;
- stroke-width: 2.5;
- }
- }
- }
- .btn-primary {
- background: linear-gradient(135deg, $primary-color 0%, darken($primary-color, 8%) 100%);
- color: white;
- box-shadow: 0 2px 8px rgba($primary-color, 0.3);
- &:hover:not(:disabled) {
- background: linear-gradient(135deg, darken($primary-color, 5%) 0%, darken($primary-color, 13%) 100%);
- box-shadow: 0 4px 12px rgba($primary-color, 0.4);
- transform: translateY(-1px);
- }
- &:active:not(:disabled) {
- transform: translateY(0);
- }
- &:disabled {
- background: $text-tertiary-dark;
- cursor: not-allowed;
- opacity: 0.6;
- box-shadow: none;
- }
- }
- .btn-secondary {
- background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
- color: $text-primary-dark;
- border: 1px solid $border-color;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
- &:hover:not(:disabled) {
- background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
- transform: translateY(-1px);
- border-color: darken($border-color, 10%);
- }
- &:active:not(:disabled) {
- transform: translateY(0);
- }
- }
- }
- }
- }
- }
- @keyframes pulse {
- 0% {
- transform: scale(1);
- }
- 50% {
- transform: scale(1.05);
- }
- 100% {
- transform: scale(1);
- }
- }
- @keyframes priceGlow {
- 0%, 100% {
- filter: brightness(1);
- text-shadow: 0 0 0 transparent;
- }
- 50% {
- filter: brightness(1.2);
- text-shadow: 0 0 8px rgba(255, 59, 48, 0.3);
- }
- }
- @keyframes badgePulse {
- 0%, 100% {
- transform: scale(1);
- box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4);
- }
- 50% {
- transform: scale(1.05);
- box-shadow: 0 0 0 4px rgba(255, 59, 48, 0);
- }
- }
- @keyframes slideOutRight {
- from {
- transform: translateX(0);
- opacity: 1;
- }
- to {
- transform: translateX(100%);
- opacity: 0;
- }
- }
- /* 企业微信提示样式 */
- .wechat-work-tip {
- .tip-content {
- display: flex;
- flex-direction: column;
- gap: 8px;
- }
-
- .tip-icon {
- font-size: 20px;
- text-align: center;
- }
-
- .tip-text {
- font-weight: 600;
- line-height: 1.4;
- }
-
- .tip-subtext {
- font-size: 12px;
- opacity: 0.9;
- line-height: 1.3;
- }
- }
- /* iOS风格的模态框覆盖层 */
- .ios-modal-overlay {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba(0, 0, 0, 0.5);
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 1000;
- animation: fadeIn 0.3s ease;
- }
- /* iOS风格的面板 */
- .ios-panel {
- background-color: $ios-card-background;
- border-radius: $ios-radius-xl;
- width: 90%;
- max-width: 500px;
- max-height: 80vh;
- overflow: hidden;
- box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
- transform: scale(0.95);
- opacity: 0;
- transition: transform 0.3s ease, opacity 0.3s ease;
- }
- .ios-panel.ios-panel-visible {
- transform: scale(1);
- opacity: 1;
- }
- /* iOS面板头部 */
- .ios-panel-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 16px 20px;
- border-bottom: 1px solid $ios-border;
- }
- .ios-panel-header h3 {
- font-size: 18px;
- font-weight: 600;
- color: $ios-text;
- margin: 0;
- }
- .ios-close-button {
- background: none;
- border: none;
- padding: 8px;
- cursor: pointer;
- color: $ios-text-secondary;
- transition: color 0.2s ease;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .ios-close-button:hover {
- color: $ios-text;
- background-color: $ios-button-background;
- }
- /* iOS面板内容 */
- .ios-panel-content {
- padding: 20px;
- overflow-y: auto;
- max-height: 60vh;
- }
- /* 表单样式 */
- .form-group {
- margin-bottom: 20px;
- }
- .form-group label {
- display: block;
- font-size: 14px;
- font-weight: 500;
- color: $ios-text-secondary;
- margin-bottom: 8px;
- }
- /* iOS风格的表单输入框 */
- .ios-input {
- width: 100%;
- padding: 10px 12px;
- border: 1px solid $border-color;
- border-radius: 8px;
- font-size: 16px;
- background-color: white;
- transition: all 0.3s ease;
- outline: none;
- color: $ios-text;
- &:focus {
- border-color: $primary-color;
- box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
- }
- &::placeholder {
- color: $ios-text-secondary;
- }
- }
- /* 截止时间显示区域 */
- .deadline-display {
- position: relative;
- cursor: pointer;
- padding-right: 30px !important;
- .dropdown-arrow {
- position: absolute;
- right: 12px;
- top: 50%;
- transform: translateY(-50%);
- transition: transform 0.3s ease;
- color: $ios-text-secondary;
- }
- .dropdown-arrow.rotate {
- transform: translateY(-50%) rotate(180deg);
- }
- }
- /* 下拉选择框 */
- .deadline-dropdown {
- position: absolute;
- top: 100%;
- left: 0;
- right: 0;
- margin-top: 5px;
- background-color: white;
- border: 1px solid $border-color;
- border-radius: 8px;
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
- z-index: 1000;
- max-height: 300px;
- overflow-y: auto;
- opacity: 0;
- visibility: hidden;
- transition: all 0.3s ease;
- }
- .deadline-dropdown.visible {
- opacity: 1;
- visibility: visible;
- }
- /* 下拉选项 */
- .dropdown-option {
- padding: 12px 16px;
- cursor: pointer;
- transition: background-color 0.2s ease;
- color: $ios-text;
- &:hover {
- background-color: #f2f2f7;
- }
- &.selected {
- background-color: rgba(0, 122, 255, 0.1);
- color: $primary-color;
- font-weight: 500;
- }
- &.custom-option {
- color: $primary-color;
- font-weight: 500;
- }
- }
- /* 分隔线 */
- .dropdown-divider {
- height: 1px;
- background-color: $border-color;
- margin: 4px 0;
- }
- /* 错误提示信息 */
- .error-message {
- color: #ff3b30;
- font-size: 14px;
- margin-top: 5px;
- padding: 4px 0;
- }
- /* 自定义时间弹窗 */
- .custom-time-modal {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: 2000;
- display: flex;
- align-items: center;
- justify-content: center;
- opacity: 0;
- visibility: hidden;
- transition: opacity 0.3s ease;
- }
- .custom-time-modal.modal-visible {
- opacity: 1;
- visibility: visible;
- }
- /* 弹窗背景 */
- .modal-backdrop {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba(0, 0, 0, 0.5);
- }
- /* 弹窗内容 */
- .modal-content {
- position: relative;
- background-color: white;
- border-radius: 12px;
- width: 90%;
- max-width: 400px;
- max-height: 80vh;
- overflow-y: auto;
- transform: translateY(20px);
- transition: transform 0.3s ease;
- }
- .custom-time-modal.modal-visible .modal-content {
- transform: translateY(0);
- }
- /* 弹窗头部 */
- .modal-header {
- padding: 16px 20px;
- border-bottom: 1px solid $border-color;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .modal-header h3 {
- margin: 0;
- font-size: 18px;
- font-weight: 600;
- color: $ios-text;
- }
- /* 关闭按钮 */
- .close-button {
- background: none;
- border: none;
- font-size: 24px;
- color: $ios-text-secondary;
- cursor: pointer;
- padding: 0;
- width: 30px;
- height: 30px;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 15px;
- transition: all 0.2s ease;
- &:hover {
- background-color: #f2f2f7;
- color: $ios-text;
- }
- }
- /* 弹窗主体 */
- .modal-body {
- padding: 20px;
- }
- /* 日期选择器 */
- .date-picker,
- .time-picker {
- margin-bottom: 16px;
- }
- .date-picker label,
- .time-picker label {
- display: block;
- margin-bottom: 8px;
- font-size: 14px;
- font-weight: 500;
- color: $ios-text;
- }
- /* 弹窗底部 */
- .modal-footer {
- padding: 16px 20px;
- border-top: 1px solid $border-color;
- display: flex;
- justify-content: flex-end;
- gap: 10px;
- }
- /* 按钮样式 */
- .cancel-button,
- .confirm-button {
- padding: 8px 16px;
- border-radius: 8px;
- font-size: 16px;
- font-weight: 500;
- cursor: pointer;
- transition: all 0.2s ease;
- }
- .cancel-button {
- background-color: #f2f2f7;
- color: $ios-text;
- border: none;
- }
- .confirm-button {
- background-color: $primary-color;
- color: white;
- border: none;
- }
- .cancel-button:hover {
- background-color: #e5e5ea;
- }
- .confirm-button:hover {
- background-color: #0066cc;
- }
- /* iOS面板底部 */
- .ios-panel-footer {
- display: flex;
- justify-content: flex-end;
- gap: 12px;
- padding: 16px 20px;
- border-top: 1px solid $ios-border;
- background-color: $ios-background;
- }
- /* iOS风格按钮 */
- .ios-cancel-button,
- .ios-submit-button {
- padding: 10px 20px;
- border: none;
- border-radius: $ios-radius-md;
- font-size: 16px;
- font-weight: 600;
- cursor: pointer;
- transition: all 0.2s ease;
- min-width: 80px;
- }
- .ios-cancel-button {
- background-color: $ios-button-background;
- color: $ios-text;
- }
- .ios-cancel-button:hover {
- background-color: color-mix(in srgb, $ios-button-background 80%, $ios-border 20%);
- }
- .ios-submit-button {
- background-color: $ios-primary;
- color: white;
- }
- .ios-submit-button:hover {
- background-color: $ios-primary-dark;
- }
- /* 动画 */
- @keyframes fadeIn {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
- }
- /* 响应式调整 */
- @media (max-width: 768px) {
- .ios-panel {
- width: 95%;
- margin: 20px;
- }
- }
- /* 数据看板 - iOS风格 */
- .stats-dashboard {
- background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 248, 248, 0.95));
- border-radius: 24px;
- padding: 28px;
- box-shadow:
- 0 8px 32px rgba(0, 0, 0, 0.08),
- inset 0 1px 0 rgba(255, 255, 255, 0.6);
- backdrop-filter: blur(10px);
- border: 1px solid rgba(255, 255, 255, 0.2);
- margin-bottom: 24px;
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
- }
- .stats-dashboard:hover {
- box-shadow:
- 0 12px 40px rgba(0, 0, 0, 0.12),
- inset 0 1px 0 rgba(255, 255, 255, 0.6);
- transform: translateY(-2px);
- }
- .stats-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-bottom: 20px;
- }
- .stats-header h3 {
- font-size: 20px;
- font-weight: 600;
- color: $text-primary-dark;
- margin: 0;
- }
- .stats-grid {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
- gap: 16px;
- margin-bottom: 20px;
- }
- /* 统计卡片 - 现代化iOS风格 */
- .stat-card {
- background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
- border: 2px solid transparent;
- border-radius: 18px;
- padding: 20px;
- display: flex;
- align-items: center;
- gap: 16px;
- transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
- cursor: pointer;
- box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
- position: relative;
- overflow: hidden;
- &::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: linear-gradient(135deg, rgba($primary-color, 0.03) 0%, rgba($primary-color, 0.01) 100%);
- opacity: 0;
- transition: opacity 0.4s ease;
- }
- &:hover {
- border-color: rgba($primary-color, 0.2);
- box-shadow:
- 0 8px 32px rgba($primary-color, 0.12),
- 0 0 0 1px rgba($primary-color, 0.05);
- transform: translateY(-3px) scale(1.02);
-
- &::before {
- opacity: 1;
- }
- .stat-icon {
- transform: scale(1.1) rotate(5deg);
- box-shadow: 0 4px 16px rgba($primary-color, 0.25);
- }
- .stat-value {
- transform: scale(1.05);
- }
- }
- &:active {
- transform: translateY(-1px) scale(1.01);
- }
- }
- .stat-icon {
- width: 52px;
- height: 52px;
- background: linear-gradient(135deg, rgba($primary-color, 0.12), rgba($primary-color, 0.08));
- border-radius: 14px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: $primary-color;
- transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
- flex-shrink: 0;
- box-shadow: 0 2px 8px rgba($primary-color, 0.15);
- svg {
- stroke-width: 2.5;
- }
- &.primary {
- background: linear-gradient(135deg, rgba($primary-color, 0.12), rgba($primary-color, 0.08));
- color: $primary-color;
- box-shadow: 0 2px 8px rgba($primary-color, 0.15);
- }
- &.secondary {
- background: linear-gradient(135deg, rgba($success-color, 0.12), rgba($success-color, 0.08));
- color: $success-color;
- box-shadow: 0 2px 8px rgba($success-color, 0.15);
- }
- &.warning {
- background: linear-gradient(135deg, rgba($warning-color, 0.12), rgba($warning-color, 0.08));
- color: $warning-color;
- box-shadow: 0 2px 8px rgba($warning-color, 0.15);
- }
- &.danger {
- background: linear-gradient(135deg, rgba($danger-color, 0.12), rgba($danger-color, 0.08));
- color: $danger-color;
- box-shadow: 0 2px 8px rgba($danger-color, 0.15);
- }
- &.success {
- background: linear-gradient(135deg, rgba($success-color, 0.12), rgba($success-color, 0.08));
- color: $success-color;
- box-shadow: 0 2px 8px rgba($success-color, 0.15);
- }
- }
- .stat-content {
- flex: 1;
- min-width: 0;
- }
- .stat-value {
- font-size: 32px;
- font-weight: 700;
- color: $text-primary-dark;
- margin-bottom: 4px;
- line-height: 1;
- letter-spacing: -1px;
- transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
- font-variant-numeric: tabular-nums;
- }
- .stat-label {
- font-size: 14px;
- color: $text-secondary-dark;
- margin: 0;
- font-weight: 500;
- letter-spacing: -0.1px;
- line-height: 1.4;
- }
- /* 内容网格 */
- .content-grid {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 20px;
- margin-top: 16px;
- }
- /* 任务列表区块 - iOS风格 */
- .tasks-section {
- background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 248, 248, 0.95));
- border-radius: 24px;
- padding: 28px;
- box-shadow:
- 0 8px 32px rgba(0, 0, 0, 0.08),
- inset 0 1px 0 rgba(255, 255, 255, 0.6);
- backdrop-filter: blur(10px);
- border: 1px solid rgba(255, 255, 255, 0.2);
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
- }
- .tasks-section:hover {
- box-shadow:
- 0 12px 40px rgba(0, 0, 0, 0.12),
- inset 0 1px 0 rgba(255, 255, 255, 0.6);
- transform: translateY(-2px);
- }
- /* 通用区块头部 */
- .section-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-bottom: 20px;
- }
- .section-header h3 {
- font-size: 20px;
- font-weight: 600;
- color: $text-primary-dark;
- margin: 0;
- }
- .section-header .view-all {
- display: flex;
- align-items: center;
- gap: 4px;
- font-size: 14px;
- color: $primary-color;
- text-decoration: none;
- transition: $transition;
- }
- .section-header .view-all:hover {
- color: $primary-dark;
- }
- /* 搜索框样式 */
- .search-box {
- position: relative;
- }
- .search-input {
- padding: 8px 16px;
- border: 1px solid $border-color;
- border-radius: $border-radius;
- font-size: 14px;
- color: $text-primary-dark;
- background-color: $card-background;
- transition: $transition;
- outline: none;
- min-width: 200px;
- }
- .search-input:focus {
- border-color: $primary-color;
- box-shadow: 0 0 0 3px color-mix(in srgb, $primary-color 10%, transparent);
- }
- /* 紧急待办列表 */
- .tasks-list {
- display: flex;
- flex-direction: column;
- gap: 12px;
- }
- .tasks-list.empty {
- text-align: center;
- padding: 40px 20px;
- color: $text-tertiary-dark;
- }
- .tasks-list.empty p {
- font-size: 16px;
- margin: 0;
- }
- /* 任务项目样式 - iOS风格 */
- .task-item {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 20px 24px;
- border-radius: 16px;
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
- margin-bottom: 12px;
- position: relative;
- background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 248, 248, 0.9));
- border: 1px solid rgba(0, 0, 0, 0.05);
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
- }
- .task-item.completed {
- background-color: #e8f5e9;
- border: 1px solid #c8e6c9;
- }
- .task-item.overdue {
- background-color: #ffebee;
- border: 1px solid #ffcdd2;
- }
- .task-item:hover {
- transform: translateY(-3px);
- box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
- background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(252, 252, 252, 0.95));
- border-color: rgba(0, 0, 0, 0.1);
- }
- /* 任务复选框样式 */
- .task-checkbox {
- margin-right: 16px;
- }
- .task-checkbox input[type="checkbox"] {
- width: 20px;
- height: 20px;
- accent-color: $primary-color;
- border-radius: 4px;
- cursor: pointer;
- }
- /* 任务状态标记 */
- .task-status {
- position: absolute;
- top: 12px;
- right: 12px;
- padding: 4px 12px;
- border-radius: 16px;
- font-size: 12px;
- font-weight: 600;
- text-transform: uppercase;
- letter-spacing: 0.5px;
- }
- .task-status.completed {
- background-color: color-mix(in srgb, $success-color 15%, transparent);
- color: $success-color;
- }
- .task-status.pending {
- background-color: color-mix(in srgb, $warning-color 15%, transparent);
- color: $warning-color;
- }
- .task-status.overdue {
- background-color: color-mix(in srgb, $danger-color 15%, transparent);
- color: $danger-color;
- }
- /* 任务内容 */
- .task-content {
- flex: 1;
- }
- .task-title {
- font-size: 18px;
- font-weight: 600;
- color: $text-primary-dark;
- margin-bottom: 4px;
- line-height: 1.3;
- }
- .task-project {
- font-size: 14px;
- color: $text-secondary-dark;
- margin-bottom: 8px;
- }
- .task-meta {
- font-size: 14px;
- color: $text-tertiary-dark;
- }
- /* 任务进度 */
- .task-progress {
- width: 100%;
- height: 8px;
- background-color: $background-color;
- border-radius: 4px;
- overflow: hidden;
- margin-top: 12px;
- box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
- }
- .progress-bar {
- height: 100%;
- background: linear-gradient(90deg, $primary-color, #5e9eff);
- transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
- position: relative;
- overflow: hidden;
- border-radius: 4px;
- }
- .progress-bar::after {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
- animation: shimmer 2s infinite;
- }
- @keyframes shimmer {
- 0% {
- transform: translateX(-100%);
- }
- 100% {
- transform: translateX(100%);
- }
- }
- .progress-text {
- font-size: 12px;
- color: $text-tertiary-dark;
- text-align: right;
- margin-top: 4px;
- font-weight: 500;
- }
- /* 任务处理进度条容器 */
- .task-progress-container {
- width: 100%;
- height: 12px;
- background-color: #f5f5f5;
- border-radius: 6px;
- overflow: hidden;
- margin-top: 12px;
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
- }
- .task-progress-bar {
- height: 100%;
- background: linear-gradient(90deg, $primary-color 0%, #5e9eff 100%);
- transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
- position: relative;
- overflow: hidden;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- padding-right: 8px;
- border-radius: 6px;
- }
- .task-progress-bar::after {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
- animation: shimmer 1.5s infinite;
- }
- .task-progress-text {
- font-size: 10px;
- color: white;
- font-weight: 600;
- text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
- z-index: 1;
- }
- /* 任务操作按钮 */
- .task-actions {
- display: flex;
- align-items: center;
- }
- .task-button {
- padding: 6px 12px;
- border: 1px solid $border-color;
- border-radius: $border-radius;
- font-size: 14px;
- font-weight: 500;
- cursor: pointer;
- transition: $transition;
- background-color: $card-background;
- color: $text-secondary-dark;
- min-width: 60px;
- text-align: center;
- }
- .task-button:hover {
- border-color: $primary-color;
- color: $primary-color;
- }
- .task-button.primary {
- background-color: $primary-color;
- color: white;
- border-color: $primary-color;
- }
- .task-button.primary:hover {
- background-color: $primary-dark;
- border-color: $primary-dark;
- color: white;
- }
- .task-button:disabled {
- opacity: 0.6;
- cursor: not-allowed;
- transform: none;
- }
- /* 搜索框样式 */
- .search-box {
- position: relative;
- }
- .search-input {
- padding: 8px 16px;
- border: 1px solid $border-color;
- border-radius: $border-radius;
- font-size: 14px;
- color: $text-primary-dark;
- background-color: $card-background;
- transition: $transition;
- outline: none;
- min-width: 200px;
- }
- .search-input:focus {
- border-color: $primary-color;
- box-shadow: 0 0 0 3px color-mix(in srgb, $primary-color 10%, transparent);
- }
- /* 项目动态流 - iOS风格 */
- .project-updates-section {
- background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 248, 248, 0.95));
- border-radius: 24px;
- padding: 28px;
- box-shadow:
- 0 8px 32px rgba(0, 0, 0, 0.08),
- inset 0 1px 0 rgba(255, 255, 255, 0.6);
- backdrop-filter: blur(10px);
- border: 1px solid rgba(255, 255, 255, 0.2);
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
- }
- .project-updates-section:hover {
- box-shadow:
- 0 12px 40px rgba(0, 0, 0, 0.12),
- inset 0 1px 0 rgba(255, 255, 255, 0.6);
- transform: translateY(-2px);
- }
- .project-updates-section.empty {
- text-align: center;
- padding: 60px 20px;
- color: $text-tertiary-dark;
- }
- .project-updates-section.empty p {
- font-size: 16px;
- margin: 0;
- }
- .project-updates-list {
- display: flex;
- flex-direction: column;
- gap: 16px;
- }
- .update-item {
- display: flex;
- gap: 16px;
- padding: 20px;
- border: 1px solid $border-color;
- border-radius: $border-radius;
- transition: $transition;
-
- &:hover {
- border-color: $primary-color;
- box-shadow: 0 4px 12px color-mix(in srgb, $primary-color 10%, transparent);
- transform: translateY(-2px);
- }
-
- .update-icon {
- width: 44px;
- height: 44px;
- background-color: $primary-color;
- border-radius: 12px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: white;
- flex-shrink: 0;
- transition: $transition;
- }
-
- .update-content {
- flex: 1;
-
- .update-title {
- font-size: 18px;
- font-weight: 600;
- color: $text-primary-dark;
- margin-bottom: 6px;
- line-height: 1.3;
- }
-
- .update-text {
- font-size: 16px;
- color: $text-secondary-dark;
- margin-bottom: 12px;
- line-height: 1.4;
- }
-
- .update-meta {
- display: flex;
- align-items: center;
- gap: 20px;
-
- .update-time {
- font-size: 14px;
- color: $text-tertiary-dark;
- }
-
- .update-status {
- padding: 4px 12px;
- border-radius: 16px;
- font-size: 14px;
- font-weight: 600;
- transition: $transition;
-
- &.status-active,
- &.status-info {
- background-color: #e3f2fd;
- color: $primary-color;
- border: 1px solid #bbdefb;
- }
-
- &.status-completed,
- &.status-success {
- background-color: #e8f5e9;
- color: $success-color;
- border: 1px solid #c8e6c9;
- }
-
- &.status-warning {
- background-color: #fff3e0;
- color: $warning-color;
- border: 1px solid #ffe0b2;
- }
-
- &.status-danger {
- background-color: #ffebee;
- color: $danger-color;
- border: 1px solid #ffcdd2;
- }
- }
- }
- }
- }
-
- .stats-dashboard .stats-grid {
- grid-template-columns: repeat(2, 1fr);
- }
- /* 欢迎区域 - iOS风格 */
- .welcome-section {
- background: linear-gradient(135deg, #c7d3d9, #d4c5b9);
- color: #4a5568;
- padding: 28px 36px;
- border-radius: 24px;
- margin-bottom: 24px;
- box-shadow:
- 0 8px 32px rgba(0, 0, 0, 0.1),
- inset 0 1px 0 rgba(255, 255, 255, 0.6);
- backdrop-filter: blur(10px);
- border: 1px solid rgba(255, 255, 255, 0.2);
- }
- .welcome-section h2 {
- font-size: 26px;
- font-weight: 700;
- margin: 0 0 8px 0;
- letter-spacing: -0.5px;
- color: #2d3748;
- }
- .welcome-section p {
- font-size: 15px;
- opacity: 0.8;
- margin: 0;
- font-weight: 500;
- color: #4a5568;
- }
- @media (max-width: 768px) {
- .welcome-section {
- margin-bottom: 16px;
-
- h2 {
- font-size: 20px;
- }
- }
-
- .stats-dashboard {
- margin-bottom: 16px;
-
- .stats-grid {
- grid-template-columns: 1fr;
- gap: 12px;
- }
-
- .stat-card {
- padding: 16px;
- }
-
- .stat-number {
- font-size: 20px;
- }
-
- .stat-icon {
- width: 40px;
- height: 40px;
- }
- }
-
- .tasks-section,
- .project-updates-section {
- padding: 16px;
- margin-bottom: 16px;
- }
-
- .task-item,
- .update-item {
- padding: 16px;
- }
-
- .task-actions {
- flex-wrap: wrap;
- }
-
- .task-button {
- font-size: 12px;
- padding: 4px 8px;
- }
- }
- @media (max-width: 480px) {
- .task-item {
- flex-direction: column;
- align-items: flex-start;
-
- .task-actions {
- margin-top: 12px;
- align-self: flex-end;
- }
- }
-
- .update-item {
- .update-icon {
- width: 32px;
- height: 32px;
- }
- }
- }
- /* ========== iOS风格新增样式 ========== */
- .ios-page-transition {
- overflow: hidden;
-
- .stat-card {
- transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
- transform: translateY(20px);
- opacity: 0;
- }
- }
- .stat-card {
- &:active {
- transform: scale(0.98);
- transition: transform 0.1s ease;
- }
-
- perspective: 1000px;
-
- .stat-content {
- transform-style: preserve-3d;
- transition: transform 0.5s ease;
-
- &:hover {
- transform: translateZ(10px);
- }
- }
- }
- .stat-icon {
- position: relative;
- overflow: hidden;
-
- &::after {
- content: '';
- position: absolute;
- top: -50%;
- left: -50%;
- width: 200%;
- }
- }
- /* 莫兰迪色系变量 */
- $morandi-cream: #f5f1eb;
- $morandi-sage: #a8b5a0;
- $morandi-blush: #e8d5d2;
- $morandi-stone: #d4c5b9;
- $morandi-mist: #c7d3d9;
- $morandi-dust: #b8a99a;
- /* iOS风格卡片 - 莫兰迪色系 */
- .ios-card {
- background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 248, 248, 0.9));
- backdrop-filter: blur(10px);
- border: 1px solid rgba(255, 255, 255, 0.2);
- border-radius: 20px;
- box-shadow:
- 0 8px 32px rgba(0, 0, 0, 0.1),
- inset 0 1px 0 rgba(255, 255, 255, 0.6);
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
- overflow: hidden;
-
- &:hover {
- transform: translateY(-4px);
- box-shadow:
- 0 12px 40px rgba(0, 0, 0, 0.15),
- inset 0 1px 0 rgba(255, 255, 255, 0.6);
- }
-
- &:active {
- transform: translateY(-1px);
- box-shadow:
- 0 4px 20px rgba(0, 0, 0, 0.1),
- inset 0 1px 0 rgba(255, 255, 255, 0.6);
- }
- }
- /* iOS风格按钮 */
- .ios-btn {
- background: linear-gradient(135deg, $primary-color, $primary-dark);
- border: none;
- border-radius: 16px;
- color: white;
- font-weight: 600;
- font-size: 16px;
- padding: 12px 24px;
- cursor: pointer;
- transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
- box-shadow:
- 0 4px 12px rgba($primary-color, 0.3),
- inset 0 1px 0 rgba(255, 255, 255, 0.2);
- position: relative;
- overflow: hidden;
-
- &:hover {
- transform: translateY(-2px);
- box-shadow:
- 0 6px 20px rgba($primary-color, 0.4),
- inset 0 1px 0 rgba(255, 255, 255, 0.2);
- }
-
- &:active {
- transform: translateY(0);
- box-shadow:
- 0 2px 8px rgba($primary-color, 0.3),
- inset 0 1px 0 rgba(255, 255, 255, 0.2);
- }
-
- &.mini {
- padding: 8px 16px;
- font-size: 14px;
- border-radius: 12px;
- }
-
- &.outline {
- background: transparent;
- border: 2px solid $primary-color;
- color: $primary-color;
- box-shadow: none;
-
- &:hover {
- background: $primary-color;
- color: white;
- box-shadow: 0 4px 12px rgba($primary-color, 0.3);
- }
- }
-
- &.secondary {
- background: linear-gradient(135deg, $morandi-sage, $morandi-dust);
- box-shadow:
- 0 4px 12px rgba($morandi-sage, 0.3),
- inset 0 1px 0 rgba(255, 255, 255, 0.2);
-
- &:hover {
- box-shadow:
- 0 6px 20px rgba($morandi-sage, 0.4),
- inset 0 1px 0 rgba(255, 255, 255, 0.2);
- }
- }
- }
- /* iOS风格面板 - 紧急事项添加 */
- .ios-modal-overlay {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba(0, 0, 0, 0.5);
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 1000;
- animation: iosFadeIn 0.3s ease;
- }
- @keyframes iosFadeIn {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
- }
- .ios-panel {
- width: 90%;
- max-width: 500px;
- background-color: white;
- border-radius: 16px;
- padding: 28px;
- transform: scale(0.95);
- opacity: 0;
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
- margin: 0 auto;
- max-height: 80vh;
- overflow-y: auto;
- }
- .ios-panel.ios-panel-visible {
- transform: scale(1);
- opacity: 1;
- }
- .ios-panel-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 24px;
- padding-bottom: 16px;
- border-bottom: 1px solid #f0f0f0;
- }
- .ios-panel-header h3 {
- font-size: 18px;
- font-weight: 600;
- color: $text-primary-dark;
- margin: 0;
- }
- .ios-close-button {
- background: none;
- border: none;
- padding: 8px;
- cursor: pointer;
- color: $text-secondary-dark;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 8px;
- transition: background-color 0.2s ease;
- }
- .ios-close-button:hover {
- background-color: #f5f5f5;
- }
- .ios-panel-content {
- max-height: 70vh;
- overflow-y: auto;
- }
- .ios-input, .ios-select {
- width: 100%;
- padding: 12px 16px;
- border: 1px solid #e0e0e0;
- border-radius: 12px;
- font-size: 16px;
- transition: border-color 0.2s ease, box-shadow 0.2s ease;
- background-color: white;
- box-sizing: border-box;
- }
- .ios-input:focus, .ios-select:focus {
- outline: none;
- border-color: $primary-color;
- box-shadow: 0 0 0 3px rgba(99, 172, 255, 0.1);
- }
- .ios-input:disabled, .ios-select:disabled {
- background-color: #f9f9f9;
- color: $text-tertiary-dark;
- border-color: #e0e0e0;
- cursor: not-allowed;
- }
- .form-group {
- margin-bottom: 20px;
- }
- .form-group label {
- display: block;
- margin-bottom: 8px;
- font-size: 14px;
- font-weight: 600;
- color: $text-secondary-dark;
- }
- /* 增强版日期时间选择器 */
- .datetime-picker-container {
- display: flex;
- gap: 12px;
- margin-bottom: 20px;
-
- .date-picker, .time-picker {
- flex: 1;
- position: relative;
-
- label {
- display: block;
- margin-bottom: 8px;
- font-size: 14px;
- font-weight: 500;
- color: $text-secondary-dark;
- }
-
- input {
- width: 100%;
- padding: 12px 16px;
- border: 1px solid $border-color;
- border-radius: 10px;
- font-size: 16px;
- background-color: white;
- transition: all 0.2s ease;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
-
- &:focus {
- border-color: $primary-color;
- box-shadow: 0 0 0 3px rgba($primary-color, 0.1);
- outline: none;
- }
-
- &::-webkit-calendar-picker-indicator {
- background: transparent;
- bottom: 0;
- color: transparent;
- cursor: pointer;
- height: auto;
- left: 0;
- position: absolute;
- right: 0;
- top: 0;
- width: auto;
- }
- }
-
- &::after {
- content: "";
- position: absolute;
- right: 16px;
- top: 38px;
- width: 20px;
- height: 20px;
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23636366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
- background-repeat: no-repeat;
- background-position: center;
- pointer-events: none;
- }
- }
-
- .time-picker {
- input {
- &::-webkit-calendar-picker-indicator {
- background: transparent;
- bottom: 0;
- color: transparent;
- cursor: pointer;
- height: auto;
- left: 0;
- position: absolute;
- right: 0;
- top: 0;
- width: auto;
- }
- }
-
- &::after {
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23636366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
- }
- }
- }
- input[type="datetime-local"]:focus {
- outline: none;
- border-color: $primary-color;
- box-shadow: 0 0 0 3px rgba(99, 172, 255, 0.1);
- }
- input[type="datetime-local"]::-webkit-calendar-picker-indicator {
- background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2363acff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") no-repeat center center;
- width: 24px;
- height: 24px;
- cursor: pointer;
- opacity: 0.7;
- }
- /* iOS风格文本域 */
- .ios-textarea {
- width: 100%;
- padding: 12px 16px;
- border: 1px solid #e0e0e0;
- border-radius: 12px;
- font-size: 16px;
- font-family: inherit;
- resize: vertical;
- min-height: 80px;
- transition: border-color 0.2s ease, box-shadow 0.2s ease;
- background-color: white;
- box-sizing: border-box;
- }
- .ios-textarea:focus {
- outline: none;
- border-color: $primary-color;
- box-shadow: 0 0 0 3px rgba(99, 172, 255, 0.1);
- }
- /* iOS风格面板底部按钮 */
- .ios-panel-footer {
- display: flex;
- justify-content: flex-end;
- gap: 12px;
- margin-top: 24px;
- padding-top: 16px;
- border-top: 1px solid #f0f0f0;
- }
- .ios-cancel-button, .ios-submit-button {
- padding: 10px 20px;
- border-radius: 12px;
- font-size: 16px;
- font-weight: 500;
- cursor: pointer;
- transition: all 0.2s ease;
- border: none;
- box-sizing: border-box;
- min-width: 80px;
- }
- .ios-cancel-button {
- background-color: #f5f5f5;
- color: $text-secondary-dark;
- }
- .ios-cancel-button:hover {
- background-color: #eeeeee;
- }
- .ios-cancel-button:active {
- background-color: #e0e0e0;
- transform: scale(0.98);
- }
- .ios-submit-button {
- background-color: $primary-color;
- color: white;
- }
- .ios-submit-button:hover {
- background-color: $primary-dark;
- }
- .ios-submit-button:active {
- background-color: #4a89dc;
- transform: scale(0.98);
- }
- .ios-submit-button:disabled {
- background-color: #e0e0e0;
- color: $text-tertiary-dark;
- cursor: not-allowed;
- transform: none;
- }
- /* 核心指标渐变卡片 */
- .core-metrics-grid {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- gap: 16px;
- margin-top: 16px;
- }
- .core-metric-card {
- display: flex;
- align-items: center;
- gap: 12px;
- padding: 16px;
- border-radius: 14px;
- color: #fff;
- box-shadow: $shadow-md;
- .metric-icon {
- width: 40px;
- height: 40px;
- border-radius: 12px;
- background: rgba(255,255,255,0.2);
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .metric-content {
- .metric-value { font-size: 22px; font-weight: 700; }
- .metric-label { font-size: 13px; opacity: 0.9; }
- }
- &.gradient-green {
- background: linear-gradient(135deg, #34d399, #10b981);
- }
- &.gradient-orange {
- background: linear-gradient(135deg, #f59e0b, #f97316);
- }
- &.gradient-blue {
- background: linear-gradient(135deg, #60a5fa, #3b82f6);
- }
- }
- /* CRM队列 - iOS风格 */
- .crm-queues {
- margin-bottom: 24px;
- }
- .crm-grid {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 20px;
- }
- .crm-card {
- @extend .ios-card;
- padding: 20px;
- background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 248, 248, 0.95));
- }
- .crm-header {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- margin-bottom: 16px;
- gap: 16px;
- .crm-title-section {
- flex: 1;
-
- h3 {
- margin: 0 0 8px 0;
- font-size: 16px;
- font-weight: 600;
- color: $ios-text;
- }
- }
- .crm-stats {
- display: flex;
- gap: 16px;
- margin-top: 4px;
-
- .stat-item {
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 2px;
-
- .stat-number {
- font-size: 18px;
- font-weight: 700;
- color: $ios-text;
-
- &.success {
- color: $ios-success;
- }
-
- &.warning {
- color: $ios-warning;
- }
-
- &.danger {
- color: $ios-danger;
- }
- }
-
- .stat-label {
- font-size: 11px;
- color: $ios-text-secondary;
- font-weight: 500;
- text-transform: uppercase;
- letter-spacing: 0.5px;
- }
- }
- }
-
- .view-all-link {
- color: $primary-color;
- font-size: 13px;
- cursor: pointer;
- white-space: nowrap;
- margin-top: 4px;
-
- &:hover {
- color: $ios-primary-dark;
- }
- }
- }
- .crm-list {
- display: flex;
- flex-direction: column;
- gap: 10px;
- }
- /* CRM项目 - iOS风格卡片 */
- .crm-item {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- gap: 12px;
- padding: 12px 16px;
- border-radius: 12px;
- border: 1px solid rgba(0, 0, 0, 0.05);
- background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 248, 248, 0.9));
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
- margin-bottom: 8px;
- &:hover {
- background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(252, 252, 252, 0.95));
- box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
- transform: translateY(-2px);
- border-color: rgba(0, 0, 0, 0.1);
- }
- .crm-item-main { display: flex; align-items: flex-start; gap: 12px; }
- .avatar.small {
- width: 32px; height: 32px; border-radius: 50%;
- background: linear-gradient(135deg, $primary-color, $primary-dark);
- color: #fff;
- display: flex;
- align-items: center;
- justify-content: center;
- font-weight: 600;
- flex-shrink: 0;
- box-shadow: 0 2px 8px rgba($primary-color, 0.3);
- transition: all 0.2s ease;
-
- &.alt {
- background: linear-gradient(135deg, $morandi-sage, $morandi-dust);
- box-shadow: 0 2px 8px rgba($morandi-sage, 0.3);
- }
-
- &:hover {
- transform: scale(1.05);
- box-shadow: 0 4px 12px rgba($primary-color, 0.4);
-
- &.alt {
- box-shadow: 0 4px 12px rgba($morandi-sage, 0.4);
- }
- }
- }
- .info {
- .name {
- font-weight: 600;
- color: $text-primary-dark;
- font-size: 15px;
- letter-spacing: -0.2px;
- }
- .meta {
- color: $text-tertiary-dark;
- font-size: 12px;
- display: flex;
- gap: 8px;
- margin-bottom: 8px;
- font-weight: 500;
- }
- .tag {
- background: linear-gradient(135deg, rgba(0,0,0,0.03), rgba(0,0,0,0.06));
- padding: 3px 8px;
- border-radius: 8px;
- font-size: 11px;
- font-weight: 600;
- backdrop-filter: blur(4px);
-
- &.value-tag {
- background: linear-gradient(135deg, #f0fdf4, #dcfce7);
- color: #166534;
- border: 1px solid rgba(22, 101, 52, 0.1);
- }
- &.price-tag {
- background: linear-gradient(135deg, #fffbeb, #fef3c7);
- color: #d97706;
- border: 1px solid rgba(217, 119, 6, 0.1);
- }
- }
- .strategy-info {
- font-size: 12px;
- line-height: 1.5;
- margin-top: 6px;
-
- .recommended-phrase {
- color: $morandi-dust;
- margin-bottom: 4px;
- font-style: italic;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .case-strategy {
- color: $morandi-sage;
- font-size: 11px;
- font-weight: 500;
- background: rgba($morandi-sage, 0.1);
- padding: 2px 6px;
- border-radius: 4px;
- display: inline-block;
- }
- }
- }
- .ios-btn.mini {
- padding: 8px 14px;
- font-size: 13px;
- border-radius: 10px;
- font-weight: 600;
- letter-spacing: -0.2px;
- background: linear-gradient(135deg, $primary-color, $primary-dark);
- box-shadow: 0 2px 8px rgba($primary-color, 0.3);
-
- &:hover {
- transform: translateY(-1px);
- box-shadow: 0 4px 12px rgba($primary-color, 0.4);
- }
-
- &:active {
- transform: translateY(0);
- box-shadow: 0 1px 4px rgba($primary-color, 0.3);
- }
- }
-
- .ios-btn.outline.mini {
- background: transparent;
- border: 2px solid $primary-color;
- color: $primary-color;
- box-shadow: none;
-
- &:hover {
- background: $primary-color;
- color: white;
- box-shadow: 0 2px 8px rgba($primary-color, 0.3);
- }
- }
- }
- .empty-state.small { color: $text-tertiary-dark; font-size: 13px; text-align: center; padding: 8px 0; }
- @media (max-width: 900px) {
- .core-metrics-grid { grid-template-columns: 1fr; }
- .crm-grid { grid-template-columns: 1fr; }
- }
- .core-metric-card:hover {
- border-color: $primary-color;
- box-shadow: 0 4px 12px color-mix(in srgb, $primary-color 10%, transparent);
- transform: translateY(-2px);
- }
- .core-icon {
- width: 48px;
- height: 48px;
- background-color: color-mix(in srgb, $primary-color 15%, transparent);
- border-radius: 12px;
- display: flex;
- align-items: center;
- justify-content: center;
- margin: 0 auto 12px;
- color: $primary-color;
- transition: $transition;
- }
- .core-card:nth-child(2) .core-icon {
- background-color: color-mix(in srgb, $success-color 15%, transparent);
- color: $success-color;
- }
- .core-card:nth-child(3) .core-icon {
- background-color: color-mix(in srgb, $warning-color 15%, transparent);
- color: $warning-color;
- }
- .core-card:nth-child(4) .core-icon {
- background-color: color-mix(in srgb, $danger-color 15%, transparent);
- color: $danger-color;
- }
- .core-number {
- font-size: 24px;
- font-weight: 700;
- color: $text-primary-dark;
- margin-bottom: 6px;
- line-height: 1.2;
- }
- .core-label {
- font-size: 14px;
- color: $text-secondary-dark;
- margin: 0;
- }
- /* 内容网格 */
- .content-grid {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 24px;
- }
- /* 任务列表区块 */
- .tasks-section {
- background-color: $card-background;
- border-radius: $border-radius;
- padding: 24px;
- box-shadow: $shadow-md;
- transition: $transition;
- }
- .tasks-section:hover {
- box-shadow: $shadow-lg;
- }
- /* 通用区块头部 */
- .section-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-bottom: 20px;
- }
- .section-header h3 {
- font-size: 20px;
- font-weight: 600;
- color: $text-primary-dark;
- margin: 0;
- }
- .section-header .view-all {
- display: flex;
- align-items: center;
- gap: 4px;
- font-size: 14px;
- color: $primary-color;
- text-decoration: none;
- transition: $transition;
- }
- .section-header .view-all:hover {
- color: $primary-dark;
- }
- /* 搜索框样式 */
- .search-box {
- position: relative;
- }
- .search-input {
- padding: 8px 16px;
- border: 1px solid $border-color;
- border-radius: $border-radius;
- font-size: 14px;
- color: $text-primary-dark;
- background-color: $card-background;
- transition: $transition;
- outline: none;
- min-width: 200px;
- }
- .search-input:focus {
- border-color: $primary-color;
- box-shadow: 0 0 0 3px color-mix(in srgb, $primary-color 10%, transparent);
- }
- /* 紧急待办列表 */
- .tasks-list {
- display: flex;
- flex-direction: column;
- gap: 12px;
- }
- .tasks-list.empty {
- text-align: center;
- padding: 40px 20px;
- color: $text-tertiary-dark;
- }
- .tasks-list.empty p {
- font-size: 16px;
- margin: 0;
- }
- /* 任务项目样式 */
- .task-item {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 16px 20px;
- border-radius: $border-radius;
- transition: $transition;
- margin-bottom: 12px;
- position: relative;
- }
- .task-item.completed {
- background-color: #e8f5e9;
- border: 1px solid #c8e6c9;
- }
- .task-item.overdue {
- background-color: #ffebee;
- border: 1px solid #ffcdd2;
- }
- .task-item:hover {
- transform: translateY(-1px);
- }
- /* 任务复选框样式 */
- .task-checkbox {
- margin-right: 16px;
- }
- .task-checkbox input[type="checkbox"] {
- width: 20px;
- height: 20px;
- accent-color: $primary-color;
- border-radius: 4px;
- cursor: pointer;
- }
- /* 任务状态标记 */
- .task-status {
- position: absolute;
- top: 12px;
- right: 12px;
- padding: 4px 12px;
- border-radius: 16px;
- font-size: 12px;
- font-weight: 600;
- text-transform: uppercase;
- letter-spacing: 0.5px;
- }
- .task-status.completed {
- background-color: color-mix(in srgb, $success-color 15%, transparent);
- color: $success-color;
- }
- .task-status.pending {
- background-color: color-mix(in srgb, $warning-color 15%, transparent);
- color: $warning-color;
- }
- .task-status.overdue {
- background-color: color-mix(in srgb, $danger-color 15%, transparent);
- color: $danger-color;
- }
- /* 任务内容 */
- .task-content {
- flex: 1;
- }
- .task-title {
- font-size: 18px;
- font-weight: 600;
- color: $text-primary-dark;
- margin-bottom: 4px;
- line-height: 1.3;
- }
- .task-project {
- font-size: 14px;
- color: $text-secondary-dark;
- margin-bottom: 8px;
- }
- .task-meta {
- font-size: 14px;
- color: $text-tertiary-dark;
- }
- /* 任务进度 */
- .task-progress {
- width: 100%;
- height: 8px;
- background-color: $background-color;
- border-radius: 4px;
- overflow: hidden;
- margin-top: 12px;
- box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
- }
- .progress-bar {
- height: 100%;
- background: linear-gradient(90deg, $primary-color, #5e9eff);
- transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
- position: relative;
- overflow: hidden;
- border-radius: 4px;
- }
- .progress-bar::after {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
- animation: shimmer 2s infinite;
- }
- @keyframes shimmer {
- 0% {
- transform: translateX(-100%);
- }
- 100% {
- transform: translateX(100%);
- }
- }
- .progress-text {
- font-size: 12px;
- color: $text-tertiary-dark;
- text-align: right;
- margin-top: 4px;
- font-weight: 500;
- }
- /* 任务处理进度条容器 */
- .task-progress-container {
- width: 100%;
- height: 12px;
- background-color: #f5f5f5;
- border-radius: 6px;
- overflow: hidden;
- margin-top: 12px;
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
- }
- .task-progress-bar {
- height: 100%;
- background: linear-gradient(90deg, $primary-color 0%, #5e9eff 100%);
- transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
- position: relative;
- overflow: hidden;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- padding-right: 8px;
- border-radius: 6px;
- }
- .task-progress-bar::after {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
- animation: shimmer 1.5s infinite;
- }
- .task-progress-text {
- font-size: 10px;
- color: white;
- font-weight: 600;
- text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
- z-index: 1;
- }
- /* 任务操作按钮 */
- .task-actions {
- display: flex;
- align-items: center;
- }
- .task-button {
- padding: 6px 12px;
- border: 1px solid $border-color;
- border-radius: $border-radius;
- font-size: 14px;
- font-weight: 500;
- cursor: pointer;
- transition: $transition;
- background-color: $card-background;
- color: $text-secondary-dark;
- min-width: 60px;
- text-align: center;
- }
- .task-button:hover {
- border-color: $primary-color;
- color: $primary-color;
- }
- .task-button.primary {
- background-color: $primary-color;
- color: white;
- border-color: $primary-color;
- }
- .task-button.primary:hover {
- background-color: $primary-dark;
- border-color: $primary-dark;
- color: white;
- }
- .task-button:disabled {
- opacity: 0.6;
- cursor: not-allowed;
- transform: none;
- }
- /* 搜索框样式 */
- .search-box {
- position: relative;
- }
- .search-input {
- padding: 8px 16px;
- border: 1px solid $border-color;
- border-radius: $border-radius;
- font-size: 14px;
- color: $text-primary-dark;
- background-color: $card-background;
- transition: $transition;
- outline: none;
- min-width: 200px;
- }
- .search-input:focus {
- border-color: $primary-color;
- box-shadow: 0 0 0 3px color-mix(in srgb, $primary-color 10%, transparent);
- }
- /* 项目动态流 */
- .project-updates-section {
- background-color: $card-background;
- border-radius: $border-radius;
- padding: 24px;
- box-shadow: $shadow-md;
- transition: $transition;
- }
- .project-updates-section:hover {
- box-shadow: $shadow-lg;
- }
- .project-updates-section.empty {
- text-align: center;
- padding: 60px 20px;
- color: $text-tertiary-dark;
- }
- .project-updates-section.empty p {
- font-size: 16px;
- margin: 0;
- }
- .project-updates-list {
- display: flex;
- flex-direction: column;
- gap: 16px;
- }
- .update-item {
- display: flex;
- gap: 16px;
- padding: 20px;
- border: 1px solid $border-color;
- border-radius: $border-radius;
- transition: $transition;
-
- &:hover {
- border-color: $primary-color;
- box-shadow: 0 4px 12px color-mix(in srgb, $primary-color 10%, transparent);
- transform: translateY(-2px);
- }
-
- .update-icon {
- width: 44px;
- height: 44px;
- background-color: $primary-color;
- border-radius: 12px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: white;
- flex-shrink: 0;
- transition: $transition;
- }
-
- .update-content {
- flex: 1;
-
- .update-title {
- font-size: 18px;
- font-weight: 600;
- color: $text-primary-dark;
- margin-bottom: 6px;
- line-height: 1.3;
- }
-
- .update-text {
- font-size: 16px;
- color: $text-secondary-dark;
- margin-bottom: 12px;
- line-height: 1.4;
- }
-
- .update-meta {
- display: flex;
- align-items: center;
- gap: 20px;
-
- .update-time {
- font-size: 14px;
- color: $text-tertiary-dark;
- }
-
- .update-status {
- padding: 4px 12px;
- border-radius: 16px;
- font-size: 14px;
- font-weight: 600;
- transition: $transition;
-
- &.status-active,
- &.status-info {
- background-color: #e3f2fd;
- color: $primary-color;
- border: 1px solid #bbdefb;
- }
-
- &.status-completed,
- &.status-success {
- background-color: #e8f5e9;
- color: $success-color;
- border: 1px solid #c8e6c9;
- }
-
- &.status-warning {
- background-color: #fff3e0;
- color: $warning-color;
- border: 1px solid #ffe0b2;
- }
-
- &.status-danger {
- background-color: #ffebee;
- color: $danger-color;
- border: 1px solid #ffcdd2;
- }
- }
- }
- }
- }
- /* 回到顶部按钮 */
- .back-to-top {
- position: fixed;
- bottom: 24px;
- right: 24px;
- width: 48px;
- height: 48px;
- border-radius: 50%;
- background-color: $primary-color;
- color: white;
- border: none;
- display: flex;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- box-shadow: $shadow-md;
- transition: $transition;
- opacity: 0;
- visibility: hidden;
- z-index: 1000;
-
- &.visible {
- opacity: 1;
- visibility: visible;
- }
-
- &:hover {
- background-color: $primary-dark;
- transform: translateY(-2px);
- box-shadow: $shadow-lg;
- }
-
- &:active {
- transform: translateY(0);
- }
- }
- /* 响应式设计 */
- @media (max-width: 1024px) {
- .stats-grid {
- grid-template-columns: repeat(2, 1fr);
- }
-
- .core-metrics-grid {
- grid-template-columns: repeat(2, 1fr);
- }
- }
- @media (max-width: 768px) {
- .welcome-section {
- padding: 16px 20px;
- margin-bottom: 16px;
- }
- .welcome-section h2 {
- font-size: 20px;
- }
- .welcome-section p {
- font-size: 13px;
- }
- .stats-grid {
- grid-template-columns: 1fr;
- gap: 12px;
- }
- .content-grid {
- grid-template-columns: 1fr;
- gap: 16px;
- margin-top: 12px;
- }
- .crm-grid {
- grid-template-columns: 1fr;
- gap: 12px;
- }
- .core-metrics-grid {
- grid-template-columns: 1fr;
- gap: 10px;
- }
- .crm-item {
- padding: 10px 0;
-
- .strategy-info {
- .recommended-phrase {
- font-size: 11px;
- }
-
- .case-strategy {
- font-size: 10px;
- }
- }
- }
- .section-header {
- flex-direction: column;
- align-items: flex-start;
- gap: 12px;
-
- h3 {
- font-size: 18px;
- }
- }
-
- .task-title,
- .update-title {
- font-size: 16px !important;
- }
-
- .task-project,
- .update-text {
- font-size: 14px !important;
- }
- }
- @media (max-width: 480px) {
- .welcome-section {
- padding: 12px 16px;
- }
- .stats-dashboard,
- .crm-queues {
- margin-bottom: 16px;
- }
- .crm-item {
- .avatar.small {
- width: 24px;
- height: 24px;
- font-size: 11px;
- }
-
- .info .name {
- font-size: 14px;
- }
-
- .info .meta {
- font-size: 11px;
- gap: 6px;
- }
- }
- }
|