.foodview {
    height: 89%;
    width: 98%;
    top:3.5rem;
    position: absolute;
    display: block;
    left: 1%;
    overflow: auto;
}
.swiper {
    position: relative;
    display: block;
    width: 100%;
    height: 18rem;
    --swiper-theme-color: #ff6600;/* 设置Swiper风格 */
    --swiper-navigation-color: #00ff33;/* 单独设置按钮颜色 */
    --swiper-navigation-size: 30px;/* 设置按钮大小 */
    --swiper-pagination-color: #00ff33;/* 两种都可以 */
    }
.swiper-slide {
      text-align: center;
      font-size: 18px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
.swiper-slide a {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}
.swiper-slide a img {
      position: absolute;
      display: block;
      width: 100%;
      height: 100%;
      object-fit: fill;
    }
.swiper-slide a title {
    position: absolute;
    display: block;
    width: 100%;
    height: 3rem;
    top:0.5rem;
    font-size: 1.5rem;
    text-align: center;
    color: #2e6da4;
}
.foodview searchfixed {
    height: 3.5rem;
    width: 100%;
    position: fixed;
    display: block;
}

.foodview contentdiv {
    height: 90%;
    width: 100%;
    position: relative;
    display: block;
    top:3.5rem;
    overflow: auto;
}
.foodview contentdiv swiperdiv {
    height: 18rem;
    width: 100%;
    position: relative;
    display: block;
}
.foodview contentdiv foodlist {
    height: 70%;
    width: 100%;
    position: relative;
    display: block;
    top:1rem;
}
.foodview contentdiv foodlist foodcard {
    height: 10rem;
    width: 100%;
    position: relative;
    display: block;
    background: #1b6d85;
}
.foodview contentdiv foodlist foodcard a {
    height: 100%;
    width: 100%;
    position: absolute;
    display: flex;
}
.foodview contentdiv foodlist foodcard a left {
    height: 100%;
    width: 10rem;
    position: relative;
    display: block;
}
.foodview contentdiv foodlist foodcard a right {
    height: 100%;
    width: 68%;
    position: relative;
    display: block;
    left: 1rem;
}

.foodview contentdiv foodlist foodcard a left img {
    height: 100%;
    width: 100%;
    display: block;
    position: relative;
    object-fit: fill;
}
.foodview contentdiv foodlist foodcard a right p {
    height: 4rem;
    width: 100%;
    display: block;
    position: relative;
    text-align: center;
    font-size: 1.7rem;
    color: gold;
}
