123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- .all-trips {
- min-height: 100vh;
- background: linear-gradient(to bottom, #dbf0ff 0%, #e3f4ff 40%, #f0f9ff 100%);
- padding-bottom: 30rpx;
- }
- .navbar {
- display: flex;
- align-items: center;
- height: 90rpx;
- padding: 0 30rpx;
- background-color: rgba(255, 255, 255, 0.8);
- border-bottom: 1rpx solid #eaeaea;
- position: relative;
- }
- .back-btn {
- display: flex;
- align-items: center;
- position: absolute;
- left: 30rpx;
- }
- .back-icon {
- font-size: 40rpx;
- }
- .back-text {
- font-size: 28rpx;
- margin-left: 6rpx;
- }
- .navbar .title {
- flex: 1;
- text-align: center;
- font-size: 32rpx;
- font-weight: 500;
- }
- .container {
- padding: 20rpx;
- }
- /* 行程卡片样式 */
- .trip-list {
- display: flex;
- flex-direction: column;
- gap: 30rpx;
- margin-top: 15rpx;
- }
- .trip-card {
- background-color: #fff;
- border-radius: 20rpx;
- display: flex;
- overflow: hidden;
- position: relative;
- box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.1);
- transition: all 0.3s ease;
- }
- /* 行程卡片背景图片 */
- .trip-background-image {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- object-fit: cover;
- z-index: 1;
- }
- .trip-overlay {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
- z-index: 2;
- }
- .card-shadow {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- height: 8rpx;
- background: linear-gradient(to right, #4facfe, #00f2fe);
- border-radius: 0 0 20rpx 20rpx;
- z-index: 5;
- }
- .trip-info {
- flex: 1;
- padding: 30rpx;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- position: relative;
- z-index: 3;
- }
- .trip-location {
- display: flex;
- align-items: flex-start;
- margin-bottom: 30rpx;
- }
- .location-icon {
- width: 40rpx;
- height: 40rpx;
- margin-right: 15rpx;
- margin-top: 6rpx;
- }
- .trip-main-info {
- flex: 1;
- }
- /* 修改文本颜色以适应图片背景 */
- .trip-name {
- font-size: 32rpx;
- font-weight: bold;
- color: #ffffff;
- margin-bottom: 15rpx;
- line-height: 1.4;
- text-shadow: 1rpx 1rpx 3rpx rgba(0, 0, 0, 0.5);
- }
- .trip-date {
- font-size: 28rpx;
- color: #f0f0f0;
- text-shadow: 1rpx 1rpx 2rpx rgba(0, 0, 0, 0.5);
- }
- .trip-date-wrap {
- display: flex;
- align-items: center;
- }
- .trip-date-label {
- font-size: 26rpx;
- color: #e0e0e0;
- margin-right: 10rpx;
- text-shadow: 1rpx 1rpx 2rpx rgba(0, 0, 0, 0.5);
- }
- .trip-date-value {
- font-size: 26rpx;
- color: #ffffff;
- background-color: rgba(0, 0, 0, 0.3);
- padding: 4rpx 16rpx;
- border-radius: 100rpx;
- }
- .trip-members {
- display: flex;
- align-items: center;
- }
- .member-icon {
- width: 40rpx;
- height: 40rpx;
- margin-right: 15rpx;
- }
- .member-count {
- font-size: 26rpx;
- color: #f0f0f0;
- text-shadow: 1rpx 1rpx 2rpx rgba(0, 0, 0, 0.5);
- }
- .trip-stats {
- width: 200rpx;
- background: linear-gradient(to bottom, rgba(182, 230, 255, 0.9), rgba(132, 212, 255, 0.9));
- padding: 30rpx 20rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- position: relative;
- z-index: 3;
- }
- .trip-tag {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin-bottom: 20rpx;
- }
- .tag-title {
- font-size: 24rpx;
- font-weight: bold;
- color: #333;
- }
- .tag-subtitle {
- font-size: 24rpx;
- font-weight: bold;
- color: #333;
- }
- .globe-icon {
- width: 40rpx;
- height: 40rpx;
- margin-top: 10rpx;
- }
- .trip-divider {
- width: 80%;
- height: 2rpx;
- background-color: rgba(51, 51, 51, 0.2);
- margin: 15rpx 0;
- }
- .trip-duration,
- .trip-distance {
- width: 100%;
- display: flex;
- flex-direction: column;
- align-items: flex-end;
- margin-top: 10rpx;
- }
- .stat-label {
- font-size: 24rpx;
- color: #333;
- text-align: right;
- }
- .stat-value {
- font-size: 28rpx;
- font-weight: bold;
- color: #333;
- text-align: right;
- }
- /* 空行程状态样式 */
- .empty-trip {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- background-color: #f9f9f9;
- border-radius: 20rpx;
- padding: 60rpx 0;
- box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.05);
- }
- .empty-icon {
- font-size: 80rpx;
- margin-bottom: 20rpx;
- }
- .empty-text {
- font-size: 32rpx;
- color: #666;
- margin-bottom: 10rpx;
- }
- .empty-subtext {
- font-size: 26rpx;
- color: #999;
- }
|