diff --git a/src/components/Stepper/index.vue b/src/components/Stepper/index.vue
index 158f288..f19b584 100644
--- a/src/components/Stepper/index.vue
+++ b/src/components/Stepper/index.vue
@@ -1,8 +1,10 @@
-
-
- {{ value }}
-
+
+
+
+ {{ value }} {{ unit }}
+
+
@@ -23,6 +25,10 @@ const props = defineProps({
type: Number,
default: 100,
},
+ unit: {
+ type: String,
+ default: "",
+ },
});
// Emit
diff --git a/src/components/Stepper/styles/index.scss b/src/components/Stepper/styles/index.scss
index 2fea26a..ea12a1c 100644
--- a/src/components/Stepper/styles/index.scss
+++ b/src/components/Stepper/styles/index.scss
@@ -1,11 +1,8 @@
.stepper-wrapper {
- display: flex;
- align-items: center;
+ background-color: #f3f9ff;
+ padding: 4px 7px;
}
.stepper-text {
- width: 40px;
- font-size: $uni-font-size-lg;
- color: $uni-text-color;
- text-align: center;
+ width: 30px;
}
diff --git a/src/pages-booking/components/ConactSection/index.vue b/src/pages-booking/components/ConactSection/index.vue
new file mode 100644
index 0000000..845ee13
--- /dev/null
+++ b/src/pages-booking/components/ConactSection/index.vue
@@ -0,0 +1,45 @@
+
+
+
+
+ 选择数量
+
+ 请选择套餐数量
+
+
+
+
+
+
+
+
+
+ 联系方式
+
+ 联系手机
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages-booking/components/UserSection/index.vue b/src/pages-booking/components/UserSection/index.vue
new file mode 100644
index 0000000..aa2ca38
--- /dev/null
+++ b/src/pages-booking/components/UserSection/index.vue
@@ -0,0 +1,45 @@
+
+
+
+ 入住信息
+
+
+
+
+
+
+
+ 住客姓名
+
+
+
+
+
+
+ 联系手机
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages-booking/index.vue b/src/pages-booking/index.vue
new file mode 100644
index 0000000..778d948
--- /dev/null
+++ b/src/pages-booking/index.vue
@@ -0,0 +1,61 @@
+
+
+
+
+ {{ title }}
+
+
+
+
+
+
+ 【温泉季】戏水单人票 +单人简餐
+
+ 温泉早鸟票2张 黄南武辣子鸡2人套餐1份
+
+
+ 使用时间:周一至周日9:00-22:00
+
+ 取消政策
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages-booking/styles/index.scss b/src/pages-booking/styles/index.scss
new file mode 100644
index 0000000..5cd3929
--- /dev/null
+++ b/src/pages-booking/styles/index.scss
@@ -0,0 +1,4 @@
+.booking {
+ background: linear-gradient(180deg, #d9eeff 0%, #f5f7fa 100%) 0 86px / 100%
+ 100px no-repeat;
+}
diff --git a/src/pages-quick/components/Card/index.vue b/src/pages-quick/components/Card/index.vue
index 1576693..f5771b7 100644
--- a/src/pages-quick/components/Card/index.vue
+++ b/src/pages-quick/components/Card/index.vue
@@ -1,19 +1,22 @@
{{ item.commodityName }}
-
- 1 张 1.8 米大床
+
+ {{ item.commodityFacility.join(" ") }}
{{ item.commodityTradeRuleList.join(" / ") }}
@@ -23,12 +26,16 @@
- {{ item.commodityPrice }}
+ {{ item.specificationPrice }}
/{{ item.stockUnitLabel }}
- 订
+ 订
@@ -43,10 +50,10 @@ const props = defineProps({
type: Object,
required: true,
default: () => ({
- commodityIcon: "",
+ commodityPhoto: "",
commodityId: "",
commodityName: "",
- commodityPrice: "",
+ specificationPrice: "",
commodityServices: [],
commodityTags: [], // 商品标签
commodityTradeRuleList: [], // 交易规则列表
@@ -59,6 +66,10 @@ const props = defineProps({
const handleClick = ({ commodityId }) => {
uni.navigateTo({ url: `/pages/goods/index?commodityId=${commodityId}` });
};
+
+const handleBooking = ({ commodityId }) => {
+ uni.navigateTo({ url: `/pages/booking/index?commodityId=${commodityId}` });
+};