fuqj
2026-08-07 cf126c568e34ccaa7bf62694a2ed653618bd07d8
style:修改service-route-change这个文件样式
2个文件已修改
97 ■■■■■ 已修改文件
src/robotaxi/pages/begin-route/components/css-folder/service-route-change.less 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/style/ui-variables.less 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/css-folder/service-route-change.less
@@ -1,8 +1,8 @@
@import '../../../../style/ui-variables.less';
.service-route-change-container {
    background: #FFFFFF;
    border-radius: 40px 40px 0 0;
    padding: 40px 49px 68px 49px;
    background: @gary-theme;
    border-radius: 60px 60px 0 0;
    padding: 40px 40px 80px 40px;
    .service-route-select-container {
        display: flex;
@@ -11,8 +11,8 @@
        .service-route-select-title {
            font-size: 28px;
            font-weight: 500;
            line-height: 40px;
            color: rgba(0, 0, 0, 0.9);
            line-height: 52px;
            color: @black-text-main;
        }
        .service-route-select-preference {
@@ -20,11 +20,10 @@
            align-items: center;
            .service-route-select-preference-text {
                font-size: 24px;
                font-size: 28px;
                font-weight: 500;
                line-height: 40px;
                color: @gold-text;
                font-weight: 500;
                line-height: 52px;
                color: @dark-gold-text;
            }
            image {
@@ -41,28 +40,27 @@
    .service-route-select-content {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        margin-top: 16px;
        gap: 14px;
        margin-top: 34px;
        .service-route-select-content-item {
            flex: 1;
            padding: 16px 24px 30px 24px;
            padding: 24px 24px 28px 24px;
            border-radius: 16px;
            background: #F5F6FA;
            border: 1px solid #F2F3F7;
            background: #FFFFFF;
            .service-route-select-content-item-title {
                font-size: 20px;
                line-height: 20px;
                color: rgba(0, 0, 0, 0.9);
                color: @black-text-04;
            }
            .service-route-select-content-item-time {
                margin-top: 10px;
                margin-top: 18px;
                font-size: 28px;
                font-weight: 500;
                line-height: 40px;
                color: rgba(0, 0, 0, 0.9);
                color: @black-text-main;
            }
            .service-route-select-content-item-distance {
@@ -72,7 +70,7 @@
                margin-top: 12px;
                font-size: 20px;
                line-height: 20px;
                color: rgba(0, 0, 0, 0.9);
                color: @black-text-main;
                .service-traffic-signal-item {
                    display: flex;
@@ -88,36 +86,20 @@
            }
            .service-route-select-content-item-estimate {
                margin-top: 34px;
                margin-top: 38px;
                font-size: 20px;
                line-height: 20px;
                color: #F58900;
                color: @gold-text;
            }
        }
        .active {
            background: linear-gradient(97deg, rgba(255, 209, 129, 0.2) 0%, rgba(223, 179, 105, 0.2) 103%) !important;
           background: rgba(223, 179, 105, 0.2);
            box-sizing: border-box;
            position: relative;
            .service-route-select-content-item-title {
                color: @gold-text;
            }
            &::after {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                border-radius: 16px;
                padding: 1px;
                background: linear-gradient(180deg, @gold-light -10%, rgba(223, 179, 105, 0.0469) 108%, rgba(0, 0, 0, 0) 108%);
                -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
                -webkit-mask-composite: xor;
                mask-composite: exclude;
                pointer-events: none;
            }
        }
    }
@@ -126,30 +108,36 @@
        display: flex;
        justify-content: space-between;
        gap: 22px;
        margin-top: 48px;
        margin-top: 58px;
        font-size: 32px;
        font-weight: 500;
        text-align: center;
        .service-route-select-footer-item-cancel {
            flex: 1;
            color: #141E27;
            border-radius: 1000px;
            box-sizing: border-box;
            border: 4px solid #141E27;
            line-height: 104px;
            height: 104px;
          display: flex;
          align-items: center;
          justify-content: center;
          flex: 1;
          color: @black-text-main;
          border-radius: 1000px;
          box-sizing: border-box;
          border: 4px solid @black-text-main;
          line-height: 104px;
          height: 102px;
        }
        .service-route-select-footer-item-confirm {
            flex: 1;
            color: #FFFFFF;
            border-radius: 1000px;
            line-height: 104px;
            border: 4px solid #141E27;
            box-sizing: border-box;
            height: 104px;
            background: #141E27;
          display: flex;
          align-items: center;
          justify-content: center;
          flex: 1;
          color: #FFFFFF;
          border-radius: 1000px;
          line-height: 104px;
          border: 4px solid @black-text-main;
          box-sizing: border-box;
          height: 102px;
          background: @black-text-main;
        }
    }
}
}
src/robotaxi/style/ui-variables.less
@@ -20,6 +20,7 @@
@gold-text: #A68042;  // 文字金
@gold-light: #DFB369; // 主题金
@dark-gold-text: #8F754A; // 黑金
@black-text-main: #141E27; // 重要文字
@black-text-04: rgba(20, 30, 39, 0.4);  // 次要文字
@gary-theme: #F1F5FA; // 浅色面板