feat: 快速预订
This commit is contained in:
@@ -35,7 +35,7 @@ export const JumpType = {
|
|||||||
|
|
||||||
/// 组件的名称
|
/// 组件的名称
|
||||||
export const CompName = {
|
export const CompName = {
|
||||||
// 快速预定卡片
|
// 快速预订卡片
|
||||||
quickBookingCard: "quickBookingCard",
|
quickBookingCard: "quickBookingCard",
|
||||||
// 服务工单卡片
|
// 服务工单卡片
|
||||||
callServiceCard: "callServiceCard",
|
callServiceCard: "callServiceCard",
|
||||||
@@ -83,7 +83,7 @@ export const CompName = {
|
|||||||
export const Command = {
|
export const Command = {
|
||||||
// 通知消息
|
// 通知消息
|
||||||
messageInit: "Command.init",
|
messageInit: "Command.init",
|
||||||
// 快速预定
|
// 快速预订
|
||||||
quickBooking: "Command.quickBooking",
|
quickBooking: "Command.quickBooking",
|
||||||
// 探索发现
|
// 探索发现
|
||||||
discovery: "Command.discovery",
|
discovery: "Command.discovery",
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<z-paging ref="paging" v-model="dataList" use-virtual-list :force-close-inner-list="true" cell-height-mode="dynamic"
|
<z-paging ref="paging" v-model="dataList" use-virtual-list :force-close-inner-list="true" cell-height-mode="dynamic"
|
||||||
safe-area-inset-bottom @query="queryList">
|
safe-area-inset-bottom @query="queryList">
|
||||||
<template #top>
|
<template #top>
|
||||||
<TopNavBar title="快速预定" :background="$theme - color - 100" />
|
<TopNavBar title="快速预订" :background="$theme - color - 100" />
|
||||||
|
|
||||||
<Tabs @change="handleTabChange" />
|
<Tabs @change="handleTabChange" />
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ const AIGC_HOME_URL = "/pages-aigc/home/home";
|
|||||||
const itemList = ref([
|
const itemList = ref([
|
||||||
{
|
{
|
||||||
icon: "",
|
icon: "",
|
||||||
title: "快速预定",
|
title: "快速预订",
|
||||||
type: Command.quickBooking,
|
type: Command.quickBooking,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -57,7 +57,7 @@ const sendReply = (item) => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 快速预定
|
// 快速预订
|
||||||
if (item.type === Command.quickBooking) {
|
if (item.type === Command.quickBooking) {
|
||||||
checkToken().then(() => {
|
checkToken().then(() => {
|
||||||
// uni.navigateTo({ url: "/pages-quick/list" });
|
// uni.navigateTo({ url: "/pages-quick/list" });
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ import { SEND_MESSAGE_COMMAND_TYPE } from "@/constant/constant";
|
|||||||
|
|
||||||
const commandModel = ref({
|
const commandModel = ref({
|
||||||
icon: "",
|
icon: "",
|
||||||
title: "快速预定",
|
title: "快速预订",
|
||||||
type: Command.quickBooking,
|
type: Command.quickBooking,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ const popup = ref(null);
|
|||||||
const list = ref([
|
const list = ref([
|
||||||
{
|
{
|
||||||
icon: "https://oss.nianxx.cn/mp/static/version_101/home/ksyd.png",
|
icon: "https://oss.nianxx.cn/mp/static/version_101/home/ksyd.png",
|
||||||
title: "快速预定",
|
title: "快速预订",
|
||||||
content: "预定门票、房间、餐食",
|
content: "预定门票、房间、餐食",
|
||||||
btnText: "去预定",
|
btnText: "去预定",
|
||||||
type: Command.quickBooking,
|
type: Command.quickBooking,
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ const commodityTypePageList = (args) => {
|
|||||||
return request.post("/hotelBiz/commodity/commodityTypePageList", args);
|
return request.post("/hotelBiz/commodity/commodityTypePageList", args);
|
||||||
};
|
};
|
||||||
|
|
||||||
// 快速预定分页列表
|
// 快速预订分页列表
|
||||||
const quickBookingList = (args) => {
|
const quickBookingList = (args) => {
|
||||||
return request.post("/hotelBiz/mainScene/quickBookingList", args);
|
return request.post("/hotelBiz/mainScene/quickBookingList", args);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import { getServiceUrl } from "../api/GetServiceUrlApi";
|
|||||||
const versionValue = "1.1.3";
|
const versionValue = "1.1.3";
|
||||||
|
|
||||||
/// 是否是测试版本, 测试版本为 true , 发布版本为 false
|
/// 是否是测试版本, 测试版本为 true , 发布版本为 false
|
||||||
const developVersion = true;
|
const developVersion = false;
|
||||||
|
|
||||||
// 获取服务地址
|
// 获取服务地址
|
||||||
const getEvnUrl = async () => {
|
const getEvnUrl = async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user