feat: 商品详情调整

This commit is contained in:
2025-10-21 21:52:17 +08:00
parent 2f05a40918
commit bd953e9e10
6 changed files with 85 additions and 52 deletions

View File

@@ -1,5 +1,5 @@
<template>
<view class="goods-container">
<view class="goods-container bg-gray">
<TopNavBar title="商品详情" />
<!-- 滚动区域 -->
@@ -29,6 +29,9 @@
:nights="selectedDate.totalDays"
/>
<!-- 商品设施组件 -->
<GoodFacility :goodsData="goodsData" />
<!-- 商品详情组件 -->
<GoodDetail :goodsData="goodsData" />
</view>
@@ -79,6 +82,7 @@ import Calender from "@/components/Calender/index.vue";
import LocationCard from "@/components/LocationCard/index.vue";
import DateSelector from "./components/DateSelector/index.vue";
import GoodDetail from "@/components/GoodDetail/index.vue";
import GoodFacility from "./components/GoodFacility/index.vue";
const calendarVisible = ref(false);
const goodsData = ref({});