style:新增字体,修改首页、打车页、运营区域部分样式
| | |
| | | color: @black-text-main; |
| | | |
| | | .select-city-icon { |
| | | width: 28px; |
| | | height: 28px; |
| | | width: 24px; |
| | | height: 24px; |
| | | margin-left: 4px; |
| | | transition: transform 0.2s ease; |
| | | } |
| | |
| | | {hasMultipleCities && ( |
| | | <Image |
| | | className={`select-city-icon ${dropdownVisible ? 'select-city-icon-active' : ''}`} |
| | | src="https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/select-city.png" |
| | | src="https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/select-city-icon-20260722.png" |
| | | /> |
| | | )} |
| | | </View> |
| | |
| | | > |
| | | <View className="content-body"> |
| | | <View className="select-site"> |
| | | <Image className="site-top-bg" src='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/card-bg-20260714.png' /> |
| | | <Image className="site-top-bg" src='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/top-card-bg-20260722.png' /> |
| | | <View className="select-site-content"> |
| | | <View className="site-boarding-point"> |
| | | <View onClick={() => props.onSelectSite('start')} className="now-site"> |
| | |
| | | <View className="split-line"></View> |
| | | <Image onClick={props.onOpenService} className="map-entry-icon" src='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/contact-service-20260716.png' /> |
| | | </View> |
| | | <Image onClick={props.onToCoupon} className="map-entry-icon entry-coupon" src='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/coupon-20260716.png' /> |
| | | <Image onClick={props.onToCoupon} className="map-entry-icon entry-coupon" src='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/coupon-20260722.png' /> |
| | | </View> |
| | | <MapPointer |
| | | showToolTip={props.showToolTip} |
| | |
| | | isOperatingArea={props.isOperatingArea} |
| | | isAdsorbed={props.isAdsorbed} |
| | | currentSite={props.currentSite} |
| | | pointerSrc='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/pointer-20260708.png' |
| | | pointerSrc='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/pointer-20260722.png' |
| | | rightIconSrc='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/map-white-arrow-20260708.png' |
| | | waitingRadarSrc={props.waitingRadarSrc} |
| | | onSelectSite={props.onSelectSite} |
| | |
| | | left: 0; |
| | | right: 0; |
| | | bottom: 0; |
| | | background: rgba(0, 0, 0, 0.5); |
| | | background: rgba(0, 0, 0, 0.8); |
| | | } |
| | | |
| | | .rt-privacy-content { |
| | |
| | | margin-bottom: 32px; |
| | | text-align: center; |
| | | font-size: 36px; |
| | | font-weight: 380; |
| | | font-weight: 500; |
| | | line-height: 52px; |
| | | letter-spacing: normal; |
| | | color: @black-text-main; |
| | |
| | | } |
| | | |
| | | } |
| | | } |
| | | } |
| | |
| | | .select-city-container { |
| | | position: absolute; |
| | | top: 104px; |
| | | left: 20px; |
| | | left: 24px; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: flex-start; |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | width: 72px; |
| | | height: 72px; |
| | | width: 64px; |
| | | height: 64px; |
| | | margin-right: 24px; |
| | | .home-back-icon { |
| | | width: 72px; |
| | | height: 72px; |
| | | width: 64px; |
| | | height: 64px; |
| | | } |
| | | } |
| | | |
| | |
| | | top: 0; |
| | | left: 0; |
| | | width: 100%; |
| | | height: 282px; |
| | | height: 276px; |
| | | } |
| | | |
| | | .placeholder-box { |
| | |
| | | } |
| | | |
| | | .to-site { |
| | | margin-top: 16px; |
| | | margin-top: 32px; |
| | | display: flex; |
| | | align-items: center; |
| | | padding: 32px; |
| | |
| | | } |
| | | |
| | | .activity { |
| | | margin-top: 24px; |
| | | margin-top: 32px; |
| | | .activity-swiper { |
| | | width: 100%; |
| | | height: 190px; |
| | |
| | | .select-site { |
| | | position: relative; |
| | | padding-bottom: 184px; |
| | | padding-top: 84px; |
| | | padding-top: 94px; |
| | | background: @gary-theme; |
| | | border-radius: 60px 60px 0 0; |
| | | .select-site-content { |
| | |
| | | top: 0; |
| | | left: 0; |
| | | width: 100%; |
| | | height: 282px; |
| | | height: 276px; |
| | | } |
| | | |
| | | .site-boarding-point { |
| | |
| | | |
| | | .route-content { |
| | | position: relative; |
| | | margin-top: 28px; |
| | | margin-top: 16px; |
| | | margin-bottom: 24px; |
| | | z-index: 10; |
| | | display: flex; |
| | |
| | | |
| | | .route-content-txt { |
| | | font-size: 24px; |
| | | line-height: 40px; |
| | | letter-spacing: normal; |
| | | color: rgba(0, 0, 0, 0.4); |
| | | } |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | font-size: 24px; |
| | | line-height: 40px; |
| | | letter-spacing: normal; |
| | | color: rgba(0, 0, 0, 0.6); |
| | | |
| | |
| | | |
| | | .discount-amount-text { |
| | | flex-shrink: 0; |
| | | border-radius: 8px; |
| | | border-radius: 200px; |
| | | background: rgba(255, 255, 255, 0); |
| | | box-sizing: border-box; |
| | | border: 1.4px solid @gold-text; |
| | |
| | | font-size: 60px; |
| | | line-height: normal; |
| | | letter-spacing: normal; |
| | | font-family: @font-xpsans-bold; |
| | | color: @black-text-main; |
| | | } |
| | | } |
| | |
| | | width: 328px; |
| | | height: 104px; |
| | | border-radius: 2000px; |
| | | font-size: 28px; |
| | | font-size: 32px; |
| | | font-weight: 500; |
| | | letter-spacing: normal; |
| | | color: #FFFFFF; |
| | |
| | | /> |
| | | )} |
| | | <View className="select-site" style={{ paddingBottom: typeof bottomPaddingHeight === 'number' ? `${bottomPaddingHeight}px` : undefined }}> |
| | | <Image className="site-top-bg" src='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/card-bg-20260714.png' /> |
| | | <Image className="site-top-bg" src='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/top-card-bg-20260722.png' /> |
| | | <View className="select-site-content"> |
| | | <View className="site-boarding-point"> |
| | | {/* 起点 */} |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | width: 80px; |
| | | height: 80px; |
| | | width: 64px; |
| | | height: 64px; |
| | | background: rgba(255, 255, 255, 0.9); |
| | | backdrop-filter: blur(40px); |
| | | // backdrop-filter: blur(40px); |
| | | box-shadow: 0px 4px 16px 0px rgba(84, 92, 143, 0.1); |
| | | border-radius: 50%; |
| | | .back-icon { |
| | | width: 80px; |
| | | height: 80px; |
| | | width: 64px; |
| | | height: 64px; |
| | | } |
| | | } |
| | | |
| | |
| | | onCouponEntry: handleCouponEntry, |
| | | onPersonalCenterEntry: handlePersonalCenterEntry, |
| | | personalCenter: 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/personal-center-20260716.png', |
| | | coupon: 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/coupon-20260716.png', |
| | | coupon: 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/coupon-20260722.png', |
| | | contactService: 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/contact-service-20260716.png', |
| | | shouldShowOrigin, |
| | | originBoxHidden, |
| | |
| | | .top-bar-container { |
| | | position: absolute; |
| | | top: 92px; |
| | | left: 31px; |
| | | left: 24px; |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: flex-start; |
| | | align-items: center; |
| | | z-index: 100; |
| | | |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | width: 72px; |
| | | height: 72px; |
| | | width: 64px; |
| | | height: 64px; |
| | | margin-right: 24px; |
| | | background: rgba(255, 255, 255, 0.9); |
| | | backdrop-filter: blur(40px); |
| | | box-shadow: 0px 4px 16px 0px rgba(84, 92, 143, 0.1); |
| | | border-radius: 50%; |
| | | .back-icon { |
| | | width: 72px; |
| | | height: 72px; |
| | | width: 64px; |
| | | height: 64px; |
| | | } |
| | | } |
| | | |
| | |
| | | font-size: 32px; |
| | | font-weight: 500; |
| | | line-height: 48px; |
| | | color: rgba(0, 0, 0, 0.9); |
| | | margin-top: 32px; |
| | | color: @black-text-main; |
| | | |
| | | .city-name { |
| | | max-width: 200px; |
| | |
| | | .origin-icon { |
| | | position: absolute; |
| | | top: -104rpx; |
| | | right: 324px; |
| | | right: 24px; |
| | | width: 80px; |
| | | height: 80px; |
| | | } |
| | |
| | | toCoupon={selectMapSite.toCoupon} |
| | | toPersonalCenter={selectMapSite.toPersonalCenter} |
| | | personalCenter='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/personal-center-20260716.png' |
| | | coupon='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/coupon-20260716.png' |
| | | coupon='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/coupon-20260722.png' |
| | | contactService='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/contact-service-20260716.png' |
| | | nearbyLoading={selectMapSite.nearbyLoading} |
| | | isAndroid={selectMapSite.isAndroid} |
| | |
| | | tooltipBgSrc={selectMapSite.tooltipBgSrc} |
| | | pageType={selectMapSite.pageType} |
| | | bounce={selectMapSite.bounce} |
| | | pointer='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/pointer-20260708.png' |
| | | pointer='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/pointer-20260722.png' |
| | | toOrigin={selectMapSite.toOrigin} |
| | | originIcon='https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/origin-icon-20260716.png' |
| | | walkingDuration={selectMapSite.walkingDuration} |
| | |
| | | // 字体 |
| | | @font-face { |
| | | font-family: "XPSANS-Bold"; |
| | | src: url("https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/font/XPSANS-Bold.otf") |
| | | format("opentype"); |
| | | font-weight: bold; |
| | | font-style: normal; |
| | | } |
| | | |
| | | @font-face { |
| | | font-family: "XPSANS-Regular"; |
| | | src: url("https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/v2/font/XPSANS-Regular.otf") |
| | | format("opentype"); |
| | | font-weight: normal; |
| | | font-style: normal; |
| | | } |
| | | |
| | | @font-xpsans-bold: "XPSANS-Bold"; // 加粗字体 |
| | | @font-xpsans-regular: "XPSANS-Regular"; // 常规字体 |
| | | |
| | | @gold-text: #A68042; // 文字金 |
| | | @gold-light: #DFB369; // 主题金 |
| | | @black-text-main: #141E27; // 重要文字 |