style(robotaxi): 优化各页面UI样式,更新图标与订单详情布局
| | |
| | | &-num { |
| | | font-size: 48px; |
| | | line-height: 64px; |
| | | font-weight: 500; |
| | | letter-spacing: normal; |
| | | color: rgba(0, 0, 0, 0.9); |
| | | } |
| | |
| | | &-temp { |
| | | display: flex; |
| | | align-items: flex-start; |
| | | margin-left: -6px; |
| | | font-size: 52px; |
| | | line-height: 48px; |
| | | letter-spacing: normal; |
| | |
| | | height: 17.5px; |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | className="car-time" |
| | | style={{ alignItems: "baseline", paddingBottom: 0 }} |
| | | > |
| | | <View className="car-time-num" style={{ marginBottom: 0 }}> |
| | | <View className="car-time-num"> |
| | | {routeDistance?.value ?? 0} |
| | | </View> |
| | | <View style={{ flexShrink: 0 }}> |
| | | {routeDistance?.unit === "m" ? "米" : "公里"} |
| | | </View> |
| | | <View |
| | | style={{ marginLeft: "2px", marginBottom: 0 }} |
| | | style={{ marginLeft: "2px" }} |
| | | className="car-time-num" |
| | | > |
| | | {durationDisplay.value} |
| | |
| | | |
| | | .car-time-num { |
| | | font-size: 28px; |
| | | line-height: 28rpx; |
| | | font-weight: 500; |
| | | letter-spacing: normal; |
| | | color: #6D7FD9; |
| | | margin-bottom: -4px; |
| | | margin-right: 2px; |
| | | } |
| | | |
| | |
| | | .card-title { |
| | | font-family: PingFang SC; |
| | | font-size: 28px; |
| | | font-weight: normal; |
| | | font-weight: 500; |
| | | line-height: 40px; |
| | | letter-spacing: normal; |
| | | /* 文字色/黑色/重要字 90% */ |
| | |
| | | |
| | | .price-card { |
| | | display: flex; |
| | | align-items: center; |
| | | align-items: flex-end; |
| | | |
| | | .price { |
| | | |
| | |
| | | font-family: PingFang SC; |
| | | font-size: 24px; |
| | | font-weight: normal; |
| | | line-height: 40px; |
| | | line-height: 26px; |
| | | letter-spacing: normal; |
| | | color: rgba(0, 0, 0, 0.9); |
| | | margin: 0 4px; |
| | |
| | | |
| | | font-size: 28px; |
| | | font-weight: normal; |
| | | line-height: 40px; |
| | | line-height: 26px; |
| | | letter-spacing: normal; |
| | | text-decoration: line-through; |
| | | color: rgba(0, 0, 0, 0.4); |
| | |
| | | return; |
| | | } |
| | | const polylineData = [{ |
| | | points: routePath, |
| | | color: '#6D7FD9', |
| | | width: 10, |
| | | arrowLine: true, |
| | | arrowIconPath: 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/line-right.png', |
| | | borderColor: '#FFFFFF', |
| | | }]; |
| | | points: routePath, |
| | | color: '#6D7BC1', |
| | | width: 10, |
| | | dottedLine: false, |
| | | arrowLine: false, |
| | | }, |
| | | { |
| | | points: routePath, |
| | | color: '#7B91FF', |
| | | width: 8, |
| | | dottedLine: false, |
| | | arrowLine: true, |
| | | }]; |
| | | setPolyline(polylineData); |
| | | }; |
| | | |
| | |
| | | <View> |
| | | <View className='car-name'>{orderData.plateNumber}</View> |
| | | <View className='info'> |
| | | <Text className='car-color'>小鹏GX</Text> |
| | | <Text className='info-line'></Text> |
| | | <Text className='car-color'>{orderData.vehicleColor}</Text> |
| | | {/* <Text className='info-line'></Text> |
| | | <Text className='car-code'>车身编码: </Text> |
| | | {/* <Text className='car-code'>车身编码: </Text> |
| | | <Text className='code'>{orderData.vehicleCode}</Text> */} |
| | | </View> |
| | | </View> |
| | |
| | | <View className='line-icon first-icon'></View> |
| | | <Text className='line-text'>{orderData.startAddress}</Text> |
| | | </View> |
| | | <View className='line-address' style={{ marginTop: '8px' }}> |
| | | <View className='line-address'> |
| | | <View className='line-icon'></View> |
| | | <Text className='line-text'>{orderData.endAddress}</Text> |
| | | </View> |
| | |
| | | background: rgba(255, 255, 255, 0.9); |
| | | backdrop-filter: blur(40px); |
| | | box-shadow: 0px 4px 16px 0px rgba(45, 48, 64, 0.2); |
| | | padding: 12px 12px 12px 20px; |
| | | padding: 12px 20px; |
| | | |
| | | .toolTip-txt-content { |
| | | font-size: 24px; |
| | |
| | | justify-content: center; |
| | | |
| | | .fast-item-icon { |
| | | width: 23px; |
| | | height: 22px; |
| | | width: 28px; |
| | | height: 28px; |
| | | margin-right: 8px; |
| | | } |
| | | |
| | |
| | | justify-content: center; |
| | | cursor: pointer; |
| | | height: 70px; |
| | | |
| | | .more-text { |
| | | font-family: PingFang SC; |
| | | font-size: 22px; |
| | |
| | | } |
| | | |
| | | .card-content { |
| | | padding: 16px 0; |
| | | padding: 16px 0 32px 0; |
| | | } |
| | | } |
| | | |
| | |
| | | width: 480px; |
| | | height: 400px; |
| | | } |
| | | } |
| | | } |
| | |
| | | {/* 收藏站点与地图选点 */} |
| | | <View className='fast-box'> |
| | | <View className='fast-item' onClick={() => setShowFavoritePopup(true)}> |
| | | <Image className='fast-item-icon' src="https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/favorite.png"></Image> |
| | | <Image className='fast-item-icon' src="https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/favorite-v2.png"></Image> |
| | | <Text className='fast-item-text'>收藏站点</Text> |
| | | </View> |
| | | <View className='fast-split'></View> |
| | | <View onClick={toSelectSite} className='fast-item'> |
| | | <Image className='fast-item-icon' src="https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/map.png"></Image> |
| | | <Image className='fast-item-icon' src="https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/map-v2.png"></Image> |
| | | <Text className='fast-item-text'>地图选点</Text> |
| | | </View> |
| | | </View> |