feat: 调整项目结构
105
manifest.json
@@ -1,105 +0,0 @@
|
|||||||
{
|
|
||||||
"name" : "YGTianmuCS",
|
|
||||||
"appid" : "__UNI__BB03E8A",
|
|
||||||
"description" : "",
|
|
||||||
"versionName" : "1.0.0",
|
|
||||||
"versionCode" : "100",
|
|
||||||
"transformPx" : false,
|
|
||||||
/* 5+App特有相关 */
|
|
||||||
"app-plus" : {
|
|
||||||
"usingComponents" : true,
|
|
||||||
"nvueStyleCompiler" : "uni-app",
|
|
||||||
"compilerVersion" : 3,
|
|
||||||
"splashscreen" : {
|
|
||||||
"alwaysShowBeforeRender" : true,
|
|
||||||
"waiting" : true,
|
|
||||||
"autoclose" : true,
|
|
||||||
"delay" : 0
|
|
||||||
},
|
|
||||||
"safearea" : {
|
|
||||||
"bottom" : {
|
|
||||||
"offset" : "auto" // 自动适配安全区域
|
|
||||||
}
|
|
||||||
},
|
|
||||||
/* 模块配置 */
|
|
||||||
"modules" : {},
|
|
||||||
/* 应用发布信息 */
|
|
||||||
"distribute" : {
|
|
||||||
/* android打包配置 */
|
|
||||||
"android" : {
|
|
||||||
"permissions" : [
|
|
||||||
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
|
|
||||||
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
|
|
||||||
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
/* ios打包配置 */
|
|
||||||
"ios" : {},
|
|
||||||
/* SDK配置 */
|
|
||||||
"sdkConfigs" : {
|
|
||||||
"oauth" : {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
/* 快应用特有相关 */
|
|
||||||
"quickapp" : {},
|
|
||||||
/* 小程序特有相关 同时更改 project.config.json文件
|
|
||||||
智念:wx5e79df5996572539
|
|
||||||
朵花:wx23f86d809ae80259
|
|
||||||
*/
|
|
||||||
"mp-weixin" : {
|
|
||||||
"appid" : "wx0be424e1d22065a9",
|
|
||||||
"setting" : {
|
|
||||||
"urlCheck" : false
|
|
||||||
},
|
|
||||||
"usingComponents" : true,
|
|
||||||
"requiredPrivateInfos" : [ "getLocation" ],
|
|
||||||
"permission" : {
|
|
||||||
"scope.userLocation" : {
|
|
||||||
"desc" : "用于获取当前所在城市信息"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"plugins" : {
|
|
||||||
"WechatSI" : {
|
|
||||||
"version" : "0.3.6",
|
|
||||||
"provider" : "wx069ba97219f66d99"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"__usePrivacyCheck__" : true
|
|
||||||
},
|
|
||||||
"mp-alipay" : {
|
|
||||||
"usingComponents" : true
|
|
||||||
},
|
|
||||||
"mp-baidu" : {
|
|
||||||
"usingComponents" : true
|
|
||||||
},
|
|
||||||
"mp-toutiao" : {
|
|
||||||
"usingComponents" : true,
|
|
||||||
"usePrivacyCheck" : true
|
|
||||||
},
|
|
||||||
"uniStatistics" : {
|
|
||||||
"enable" : false
|
|
||||||
},
|
|
||||||
"vueVersion" : "3",
|
|
||||||
"h5" : {
|
|
||||||
"router" : {
|
|
||||||
"base" : "./",
|
|
||||||
"mode" : "hash"
|
|
||||||
},
|
|
||||||
"devServer" : {
|
|
||||||
"https" : false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
41
package.json
@@ -40,33 +40,38 @@
|
|||||||
"build:quickapp-webview-union": "uni build -p quickapp-webview-union"
|
"build:quickapp-webview-union": "uni build -p quickapp-webview-union"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@dcloudio/uni-app": "3.0.0-4000720240327002",
|
"@dcloudio/uni-app": "3.0.0-4070620250821001",
|
||||||
"@dcloudio/uni-app-plus": "3.0.0-4000720240327002",
|
"@dcloudio/uni-app-harmony": "3.0.0-4070620250821001",
|
||||||
"@dcloudio/uni-components": "3.0.0-4000720240327002",
|
"@dcloudio/uni-app-plus": "3.0.0-4070620250821001",
|
||||||
"@dcloudio/uni-h5": "3.0.0-4000720240327002",
|
"@dcloudio/uni-components": "3.0.0-4070620250821001",
|
||||||
"@dcloudio/uni-mp-alipay": "3.0.0-4000720240327002",
|
"@dcloudio/uni-h5": "3.0.0-4070620250821001",
|
||||||
"@dcloudio/uni-mp-baidu": "3.0.0-4000720240327002",
|
"@dcloudio/uni-mp-alipay": "3.0.0-4070620250821001",
|
||||||
"@dcloudio/uni-mp-jd": "3.0.0-4000720240327002",
|
"@dcloudio/uni-mp-baidu": "3.0.0-4070620250821001",
|
||||||
"@dcloudio/uni-mp-kuaishou": "3.0.0-4000720240327002",
|
"@dcloudio/uni-mp-harmony": "3.0.0-4070620250821001",
|
||||||
"@dcloudio/uni-mp-lark": "3.0.0-4000720240327002",
|
"@dcloudio/uni-mp-jd": "3.0.0-4070620250821001",
|
||||||
"@dcloudio/uni-mp-qq": "3.0.0-4000720240327002",
|
"@dcloudio/uni-mp-kuaishou": "3.0.0-4070620250821001",
|
||||||
"@dcloudio/uni-mp-toutiao": "3.0.0-4000720240327002",
|
"@dcloudio/uni-mp-lark": "3.0.0-4070620250821001",
|
||||||
"@dcloudio/uni-mp-weixin": "3.0.0-4000720240327002",
|
"@dcloudio/uni-mp-qq": "3.0.0-4070620250821001",
|
||||||
"@dcloudio/uni-mp-xhs": "3.0.0-4000720240327002",
|
"@dcloudio/uni-mp-toutiao": "3.0.0-4070620250821001",
|
||||||
"@dcloudio/uni-quickapp-webview": "3.0.0-4000720240327002",
|
"@dcloudio/uni-mp-weixin": "3.0.0-4070620250821001",
|
||||||
|
"@dcloudio/uni-mp-xhs": "3.0.0-4070620250821001",
|
||||||
|
"@dcloudio/uni-quickapp-webview": "3.0.0-4070620250821001",
|
||||||
|
"glob": "^11.0.3",
|
||||||
"md5-hash": "^1.0.1",
|
"md5-hash": "^1.0.1",
|
||||||
|
"pinia": "^3.0.3",
|
||||||
"pinia-plugin-unistorage": "^0.1.2",
|
"pinia-plugin-unistorage": "^0.1.2",
|
||||||
"vue": "^3.4.21",
|
"vue": "^3.4.21",
|
||||||
"vue-i18n": "^9.1.9"
|
"vue-i18n": "^9.1.9"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@dcloudio/types": "^3.4.8",
|
"@dcloudio/types": "^3.4.8",
|
||||||
"@dcloudio/uni-automator": "3.0.0-4000720240327002",
|
"@dcloudio/uni-automator": "3.0.0-4070620250821001",
|
||||||
"@dcloudio/uni-cli-shared": "3.0.0-4000720240327002",
|
"@dcloudio/uni-cli-shared": "3.0.0-4070620250821001",
|
||||||
"@dcloudio/uni-stacktracey": "3.0.0-4000720240327002",
|
"@dcloudio/uni-stacktracey": "3.0.0-4070620250821001",
|
||||||
"@dcloudio/vite-plugin-uni": "3.0.0-4000720240327002",
|
"@dcloudio/vite-plugin-uni": "3.0.0-4070620250821001",
|
||||||
"@vue/runtime-core": "^3.4.21",
|
"@vue/runtime-core": "^3.4.21",
|
||||||
"@vue/tsconfig": "^0.1.3",
|
"@vue/tsconfig": "^0.1.3",
|
||||||
|
"sass": "^1.93.0",
|
||||||
"vite": "5.2.8"
|
"vite": "5.2.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
@@ -25,5 +25,5 @@ const props = defineProps({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
|
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 100 KiB |
@@ -474,5 +474,5 @@ onBeforeUnmount(() => {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
// 引入样式文件
|
// 引入样式文件
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
@@ -40,5 +40,5 @@ const onChange = () => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
@@ -14,5 +14,5 @@ defineProps({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
|
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 844 B After Width: | Height: | Size: 844 B |
@@ -67,7 +67,11 @@
|
|||||||
<button class="order-button-secondary" @click="viewWorkOrder">
|
<button class="order-button-secondary" @click="viewWorkOrder">
|
||||||
查看工单
|
查看工单
|
||||||
</button>
|
</button>
|
||||||
<button v-if="!isMarkCompleted" class="order-button-primary" @click="markCompleted">
|
<button
|
||||||
|
v-if="!isMarkCompleted"
|
||||||
|
class="order-button-primary"
|
||||||
|
@click="markCompleted"
|
||||||
|
>
|
||||||
已完成
|
已完成
|
||||||
</button>
|
</button>
|
||||||
</view>
|
</view>
|
||||||
@@ -86,59 +90,61 @@
|
|||||||
import { ref, onMounted, nextTick } from "vue";
|
import { ref, onMounted, nextTick } from "vue";
|
||||||
import { SCROLL_TO_BOTTOM } from "@/constant/constant";
|
import { SCROLL_TO_BOTTOM } from "@/constant/constant";
|
||||||
|
|
||||||
|
import {
|
||||||
import { createWorkOrder, workOrderTypeListForBiz } from "@/request/api/OrderApi";
|
createWorkOrder,
|
||||||
const workOrderTypeId = ref('')
|
workOrderTypeListForBiz,
|
||||||
const workOrderTypeName = ref('')
|
} from "@/request/api/OrderApi";
|
||||||
const roomId = ref('')
|
const workOrderTypeId = ref("");
|
||||||
|
const workOrderTypeName = ref("");
|
||||||
|
const roomId = ref("");
|
||||||
const contactName = ref("");
|
const contactName = ref("");
|
||||||
const contactPhone = ref("");
|
const contactPhone = ref("");
|
||||||
const isCallSuccess = ref(false); // 呼叫成功状态
|
const isCallSuccess = ref(false); // 呼叫成功状态
|
||||||
const workOrderId = ref(0); // 工单ID
|
const workOrderId = ref(0); // 工单ID
|
||||||
const workOrderTypeList = ref([])
|
const workOrderTypeList = ref([]);
|
||||||
const workOrderTypeListSelectData = ref([])
|
const workOrderTypeListSelectData = ref([]);
|
||||||
const isMarkCompleted = ref(false)
|
const isMarkCompleted = ref(false);
|
||||||
|
|
||||||
const changeWorkOrderType = (index) => {
|
const changeWorkOrderType = (index) => {
|
||||||
if (index < 0 || index >= workOrderTypeListSelectData.value.length) {
|
if (index < 0 || index >= workOrderTypeListSelectData.value.length) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const item = workOrderTypeList.value[index]
|
const item = workOrderTypeList.value[index];
|
||||||
console.log("item:", item)
|
console.log("item:", item);
|
||||||
workOrderTypeId.value = item.id
|
workOrderTypeId.value = item.id;
|
||||||
workOrderTypeName.value = item.workOrderTypeName
|
workOrderTypeName.value = item.workOrderTypeName;
|
||||||
}
|
};
|
||||||
|
|
||||||
const handleCall = async () => {
|
const handleCall = async () => {
|
||||||
// 验证输入
|
// 验证输入
|
||||||
if (!roomId.value.trim()) {
|
if (!roomId.value.trim()) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '请填写房间号',
|
title: "请填写房间号",
|
||||||
icon: 'none',
|
icon: "none",
|
||||||
duration: 2000
|
duration: 2000,
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!contactName.value.trim()) {
|
if (!contactName.value.trim()) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '请填写联系人',
|
title: "请填写联系人",
|
||||||
icon: 'none',
|
icon: "none",
|
||||||
duration: 2000
|
duration: 2000,
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!contactPhone.value.trim()) {
|
if (!contactPhone.value.trim()) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '请填写联系电话',
|
title: "请填写联系电话",
|
||||||
icon: 'none',
|
icon: "none",
|
||||||
duration: 2000
|
duration: 2000,
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
sendCreateWorkOrder()
|
sendCreateWorkOrder();
|
||||||
};
|
};
|
||||||
|
|
||||||
/// 创建工单
|
/// 创建工单
|
||||||
@@ -159,52 +165,52 @@ const sendCreateWorkOrder = async () => {
|
|||||||
isCallSuccess.value = true;
|
isCallSuccess.value = true;
|
||||||
|
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '工单创建成功',
|
title: "工单创建成功",
|
||||||
icon: 'success',
|
icon: "success",
|
||||||
duration: 2000
|
duration: 2000,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.message || '创建工单失败',
|
title: res.message || "创建工单失败",
|
||||||
icon: 'none',
|
icon: "none",
|
||||||
duration: 2000
|
duration: 2000,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('创建工单失败:', error);
|
console.error("创建工单失败:", error);
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '网络错误,请重试',
|
title: "网络错误,请重试",
|
||||||
icon: 'none',
|
icon: "none",
|
||||||
duration: 2000
|
duration: 2000,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
/// 获取工单类型
|
/// 获取工单类型
|
||||||
const getWorkOrderType = async () => {
|
const getWorkOrderType = async () => {
|
||||||
const res = await workOrderTypeListForBiz()
|
const res = await workOrderTypeListForBiz();
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
workOrderTypeList.value = res.data
|
workOrderTypeList.value = res.data;
|
||||||
workOrderTypeList.value.forEach((item, index) => {
|
workOrderTypeList.value.forEach((item, index) => {
|
||||||
workOrderTypeListSelectData.value.push({
|
workOrderTypeListSelectData.value.push({
|
||||||
value: index,
|
value: index,
|
||||||
text: item.workOrderTypeName,
|
text: item.workOrderTypeName,
|
||||||
})
|
});
|
||||||
})
|
});
|
||||||
|
|
||||||
if (workOrderTypeList.value.length > 0) {
|
if (workOrderTypeList.value.length > 0) {
|
||||||
workOrderTypeId.value = workOrderTypeList.value[0].id
|
workOrderTypeId.value = workOrderTypeList.value[0].id;
|
||||||
workOrderTypeName.value = workOrderTypeList.value[0].workOrderTypeName
|
workOrderTypeName.value = workOrderTypeList.value[0].workOrderTypeName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
// 查看工单
|
// 查看工单
|
||||||
const viewWorkOrder = () => {
|
const viewWorkOrder = () => {
|
||||||
console.log("查看工单:", workOrderId.value);
|
console.log("查看工单:", workOrderId.value);
|
||||||
// 这里可以跳转到工单详情页面
|
// 这里可以跳转到工单详情页面
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/order/list?id=${workOrderId.value}`
|
url: `/pages-order/order/list?id=${workOrderId.value}`,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -212,19 +218,19 @@ const viewWorkOrder = () => {
|
|||||||
const markCompleted = () => {
|
const markCompleted = () => {
|
||||||
console.log("标记工单已完成:", workOrderId.value);
|
console.log("标记工单已完成:", workOrderId.value);
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '确认完成',
|
title: "确认完成",
|
||||||
content: '确认标记此工单为已完成吗?',
|
content: "确认标记此工单为已完成吗?",
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
isMarkCompleted.value = true
|
isMarkCompleted.value = true;
|
||||||
// 这里可以调用API标记工单完成
|
// 这里可以调用API标记工单完成
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '工单已完成',
|
title: "工单已完成",
|
||||||
icon: 'success',
|
icon: "success",
|
||||||
duration: 2000
|
duration: 2000,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -236,15 +242,15 @@ const makePhoneCall = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
getWorkOrderType()
|
getWorkOrderType();
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.$emit(SCROLL_TO_BOTTOM, true)
|
uni.$emit(SCROLL_TO_BOTTOM, true);
|
||||||
}, 200)
|
}, 200);
|
||||||
});
|
});
|
||||||
})
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
@@ -3,5 +3,5 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
|
Before Width: | Height: | Size: 844 B After Width: | Height: | Size: 844 B |
@@ -122,7 +122,7 @@ const viewWorkOrder = () => {
|
|||||||
console.log("查看工单:", workOrderId.value);
|
console.log("查看工单:", workOrderId.value);
|
||||||
// 这里可以跳转到工单详情页面
|
// 这里可以跳转到工单详情页面
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/order/list?id=${workOrderId.value}`,
|
url: `/pages-order/order/list?id=${workOrderId.value}`,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -136,5 +136,5 @@ onMounted(() => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 764 B After Width: | Height: | Size: 764 B |
@@ -175,5 +175,5 @@ defineExpose({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 130 KiB |
@@ -155,5 +155,5 @@ const handleSwiperChange = (e) => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
@@ -48,5 +48,5 @@ const openMap = () => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
@@ -42,5 +42,5 @@ const openMap = () => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
@@ -15,5 +15,5 @@ defineProps({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import './styles/index.scss';
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 917 B After Width: | Height: | Size: 917 B |
@@ -48,5 +48,5 @@ const orderStatusText = computed(() => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
@@ -75,5 +75,5 @@ const handleOpenPrivacyContract = () => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import './styles/index.scss'
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
|
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 72 KiB |
@@ -17,5 +17,5 @@ defineProps({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
@@ -7,5 +7,5 @@
|
|||||||
<script setup></script>
|
<script setup></script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 494 B After Width: | Height: | Size: 494 B |
@@ -36,5 +36,5 @@ const handleClick = (type) => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
@@ -59,5 +59,5 @@ const increase = () => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@@ -25,5 +25,5 @@ defineProps({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
@@ -7,13 +7,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
const tags = [
|
const tags = ["门票套餐", "民俗活动", "车程路况"];
|
||||||
'门票套餐',
|
|
||||||
'民俗活动',
|
|
||||||
'车程路况'
|
|
||||||
];
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped lang="scss">
|
||||||
@import './styles/index.scss';
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
@@ -129,5 +129,5 @@ const handleBack = () => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "./styles/index.scss";
|
@use "./styles/index.scss";
|
||||||
</style>
|
</style>
|
||||||
@@ -36,6 +36,6 @@ export const CLIENT_CONFIGS = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// 获取当前用户端配置
|
// 获取当前用户端配置
|
||||||
export const getCurrentConfig = () => CLIENT_CONFIGS.duohua;
|
export const getCurrentConfig = () => CLIENT_CONFIGS.tianmu;
|
||||||
export const clientId = getCurrentConfig().clientId;
|
export const clientId = getCurrentConfig().clientId;
|
||||||
export const appId = getCurrentConfig().appId;
|
export const appId = getCurrentConfig().appId;
|
||||||