daohang.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. /* pages/daohang/daohang.wxss */
  2. .container {
  3. padding: 20rpx;
  4. }
  5. .header {
  6. padding: 30rpx 0;
  7. }
  8. .title {
  9. font-size: 40rpx;
  10. font-weight: bold;
  11. }
  12. .plan-list {
  13. margin-top: 20rpx;
  14. }
  15. .plan-item {
  16. display: flex;
  17. align-items: center;
  18. padding: 25rpx;
  19. margin-bottom: 20rpx;
  20. background: #fff;
  21. border-radius: 12rpx;
  22. box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
  23. }
  24. .spot-image {
  25. width: 120rpx;
  26. height: 120rpx;
  27. border-radius: 8rpx;
  28. margin-right: 20rpx;
  29. }
  30. .spot-info {
  31. flex: 1;
  32. display: flex;
  33. flex-direction: column;
  34. }
  35. .spot-name {
  36. font-size: 32rpx;
  37. margin-bottom: 10rpx;
  38. }
  39. .spot-date {
  40. font-size: 24rpx;
  41. color: #999;
  42. }
  43. .arrow {
  44. margin-left: 20rpx;
  45. }
  46. .empty-tip {
  47. display: flex;
  48. flex-direction: column;
  49. align-items: center;
  50. padding: 100rpx 0;
  51. color: #999;
  52. }
  53. .empty-image {
  54. width: 200rpx;
  55. height: 200rpx;
  56. margin-bottom: 30rpx;
  57. }
  58. /* pages/daohang/daohang.wxss */
  59. /* 原有样式保持不变,添加以下新样式 */
  60. .plan-item {
  61. position: relative; /* 为操作按钮定位做准备 */
  62. }
  63. .actions {
  64. position: absolute;
  65. right: 20rpx;
  66. top: 50%;
  67. transform: translateY(-50%);
  68. display: flex;
  69. flex-direction: column;
  70. gap: 20rpx;
  71. }
  72. .detail-btn, .delete-btn {
  73. width: 60rpx;
  74. height: 60rpx;
  75. display: flex;
  76. align-items: center;
  77. justify-content: center;
  78. background: rgba(255, 255, 255, 0.8);
  79. border-radius: 50%;
  80. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
  81. }
  82. .delete-btn {
  83. background: rgba(255, 77, 79, 0.1);
  84. }
  85. /* pages/daohang/daohang.wxss */
  86. /* AI推荐按钮样式 */
  87. .ai-recommend-btn {
  88. position: fixed;
  89. bottom: 30px;
  90. left: 50%;
  91. transform: translateX(-50%);
  92. width: 80%;
  93. height: 60px;
  94. background: linear-gradient(135deg, #1890ff, #096dd9);
  95. border-radius: 30px;
  96. display: flex;
  97. align-items: center;
  98. justify-content: center;
  99. color: white;
  100. font-size: 18px;
  101. font-weight: bold;
  102. box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
  103. z-index: 100;
  104. }
  105. .ai-icon {
  106. width: 28px;
  107. height: 28px;
  108. margin-right: 10px;
  109. }
  110. .arrow-right {
  111. margin-left: 10px;
  112. font-size: 20px;
  113. font-weight: normal;
  114. }
  115. /* 适配iPhoneX等底部有安全区域的设备 */
  116. @media (bottom: env(safe-area-inset-bottom)) {
  117. .ai-recommend-btn {
  118. bottom: calc(30px + env(safe-area-inset-bottom));
  119. }
  120. }