feat:订单详情页面组件封装

This commit is contained in:
duanshuwen
2025-07-13 12:17:41 +08:00
parent 34a62d2f3e
commit 8766bb3720
88 changed files with 1021 additions and 47 deletions

View File

@@ -1 +1 @@
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script setup>\r\nimport { onLaunch, onShow, onHide } from \"@dcloudio/uni-app\";\r\n\r\nonLaunch(() => {\r\n console.log(\"App Launch\");\r\n});\r\n\r\nonShow(() => {\r\n console.log(\"App Show\");\r\n});\r\n\r\nonHide(() => {\r\n console.log(\"App Hide\");\r\n});\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n/* 添加全局样式 */\r\npage,\r\nbody,\r\n#app {\r\n font-family: PingFang SC, PingFang SC;\r\n height: 100vh;\r\n width: 100vw;\r\n}\r\n</style>\r\n","import App from './App'\r\n\r\n// #ifndef VUE3\r\nimport Vue from 'vue'\r\nimport './uni.promisify.adaptor'\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n ...App\r\n})\r\napp.$mount()\r\n// #endif\r\n\r\n// #ifdef VUE3\r\nimport { createSSRApp } from 'vue'\r\nexport function createApp() {\r\n const app = createSSRApp(App)\r\n return {\r\n app\r\n }\r\n}\r\n// #endif"],"names":["onLaunch","uni","onShow","onHide","createSSRApp","App"],"mappings":";;;;;;;;;;AAGAA,kBAAAA,SAAS,MAAM;AACbC,oBAAAA,MAAY,MAAA,OAAA,gBAAA,YAAY;AAAA,IAC1B,CAAC;AAEDC,kBAAAA,OAAO,MAAM;AACXD,oBAAAA,MAAA,MAAA,OAAA,gBAAY,UAAU;AAAA,IACxB,CAAC;AAEDE,kBAAAA,OAAO,MAAM;AACXF,oBAAAA,MAAA,MAAA,OAAA,iBAAY,UAAU;AAAA,IACxB,CAAC;;;;;ACEM,SAAS,YAAY;AAC1B,QAAM,MAAMG,cAAY,aAACC,SAAG;AAC5B,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;"}
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script setup>\r\nimport { onLaunch, onShow, onHide } from \"@dcloudio/uni-app\";\r\n\r\nonLaunch(() => {\r\n console.log(\"App Launch\");\r\n});\r\n\r\nonShow(() => {\r\n console.log(\"App Show\");\r\n});\r\n\r\nonHide(() => {\r\n console.log(\"App Hide\");\r\n});\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n/* 添加全局样式 */\r\npage,\r\nbody,\r\n#app {\r\n font-family: PingFang SC, PingFang SC;\r\n background-color: #E9F3F7;\r\n height: 100vh;\r\n width: 100vw;\r\n}\r\n\r\n.mb12 {\r\n margin-bottom: 12px;\r\n}\r\n</style>\r\n","import App from './App'\r\n\r\n// #ifndef VUE3\r\nimport Vue from 'vue'\r\nimport './uni.promisify.adaptor'\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n ...App\r\n})\r\napp.$mount()\r\n// #endif\r\n\r\n// #ifdef VUE3\r\nimport { createSSRApp } from 'vue'\r\nexport function createApp() {\r\n const app = createSSRApp(App)\r\n return {\r\n app\r\n }\r\n}\r\n// #endif"],"names":["onLaunch","uni","onShow","onHide","createSSRApp","App"],"mappings":";;;;;;;;;;;;AAGAA,kBAAAA,SAAS,MAAM;AACbC,oBAAAA,MAAY,MAAA,OAAA,gBAAA,YAAY;AAAA,IAC1B,CAAC;AAEDC,kBAAAA,OAAO,MAAM;AACXD,oBAAAA,MAAA,MAAA,OAAA,gBAAY,UAAU;AAAA,IACxB,CAAC;AAEDE,kBAAAA,OAAO,MAAM;AACXF,oBAAAA,MAAA,MAAA,OAAA,iBAAY,UAAU;AAAA,IACxB,CAAC;;;;;ACEM,SAAS,YAAY;AAC1B,QAAM,MAAMG,cAAY,aAACC,SAAG;AAC5B,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;"}

View File

@@ -1 +1 @@
{"version":3,"file":"assets.js","sources":["static/quick/quick_icon_bg.png","static/logo.png","static/input_voice_icon.png","static/input_send_icon.png","static/hello_xiaomu_icon@2x.png","static/hello_logo_icon@2x.png","static/top_bg_icon.png","static/drawer_icon.png","static/wave_icon.png","static/test/mk_img_1.png"],"sourcesContent":["export default \"__VITE_ASSET__ff753b35__\"","export default \"__VITE_ASSET__46719607__\"","export default \"__VITE_ASSET__76f969d6__\"","export default \"__VITE_ASSET__e6bd7a29__\"","export default \"__VITE_ASSET__2eba501c__\"","export default \"__VITE_ASSET__51733f19__\"","export default \"__VITE_ASSET__ead16fdc__\"","export default \"__VITE_ASSET__a9576f2b__\"","export default \"__VITE_ASSET__d889f8a8__\"","export default \"__VITE_ASSET__c4efe7df__\""],"names":[],"mappings":";AAAA,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;;;;;;;;;;;"}
{"version":3,"file":"assets.js","sources":["static/quick/quick_icon_bg.png","pages/order/images/back.png","static/logo.png","static/input_voice_icon.png","static/input_send_icon.png","C:/static/icons/clock.png","pages/order/components/GoodsInfo/images/icon_house.png","pages/order/components/NoticeInfo/images/icon_clock.png","pages/order/components/NoticeInfo/images/icon_card.png","pages/order/components/NoticeInfo/images/icon_arrow.png","static/hello_xiaomu_icon@2x.png","static/hello_logo_icon@2x.png","static/top_bg_icon.png","static/drawer_icon.png","static/wave_icon.png","static/test/mk_img_1.png"],"sourcesContent":["export default \"__VITE_ASSET__ff753b35__\"","export default \"__VITE_ASSET__6961004c__\"","export default \"__VITE_ASSET__46719607__\"","export default \"__VITE_ASSET__76f969d6__\"","export default \"__VITE_ASSET__e6bd7a29__\"","export default \"/static/icons/clock.png\"","export default \"__VITE_ASSET__8779a05f__\"","export default \"__VITE_ASSET__50bb3f13__\"","export default \"__VITE_ASSET__c038c52d__\"","export default \"__VITE_ASSET__228274ee__\"","export default \"__VITE_ASSET__2eba501c__\"","export default \"__VITE_ASSET__51733f19__\"","export default \"__VITE_ASSET__ead16fdc__\"","export default \"__VITE_ASSET__a9576f2b__\"","export default \"__VITE_ASSET__d889f8a8__\"","export default \"__VITE_ASSET__c4efe7df__\""],"names":[],"mappings":";AAAA,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;;;;;;;;;;;;;;;;;"}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sources":["pages/order/components/GoodsInfo/index.vue","C:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovd3d3L1lHQ2hhdENTL3BhZ2VzL29yZGVyL2NvbXBvbmVudHMvR29vZHNJbmZvL2luZGV4LnZ1ZQ"],"sourcesContent":["<template>\r\n <view class=\"goods-info mb12\">\r\n <view class=\"hotel-header\">\r\n <image class=\"hotel-icon\" src=\"./images/icon_house.png\"></image>\r\n <text class=\"hotel-name\">天沐温泉酒店</text>\r\n </view>\r\n <view class=\"goods-detail\">\r\n <image class=\"goods-image\" :src=\"goodsImage\"></image>\r\n <view class=\"goods-description\">\r\n <text class=\"goods-title\">温泉早鸟票</text>\r\n <text class=\"goods-date\">预定时间5月1日</text>\r\n </view>\r\n </view>\r\n <view class=\"included-services\">\r\n <text class=\"services-title\">包含服务</text>\r\n <view class=\"service-item\">\r\n <text class=\"service-name\">· 精致下午茶</text>\r\n <text class=\"service-quantity\">1份</text>\r\n </view>\r\n <view class=\"service-item\">\r\n <text class=\"service-name\">· 接机或接站</text>\r\n <text class=\"service-quantity\">1份</text>\r\n </view>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nconst goodsImage = 'https://example.com/path/to/image.jpg'; // Replace with actual image URL\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@import './styles/index.scss';\r\n</style>","import Component from 'D:/www/YGChatCS/pages/order/components/GoodsInfo/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;AA4BA,MAAM,aAAa;;;;;;;;;;;;;AC3BnB,GAAG,gBAAgB,SAAS;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sources":["C:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovd3d3L1lHQ2hhdENTL3BhZ2VzL29yZGVyL2NvbXBvbmVudHMvTm90aWNlSW5mby9pbmRleC52dWU"],"sourcesContent":["import Component from 'D:/www/YGChatCS/pages/order/components/NoticeInfo/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sources":["C:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovd3d3L1lHQ2hhdENTL3BhZ2VzL29yZGVyL2NvbXBvbmVudHMvT3JkZXJJbmZvL2luZGV4LnZ1ZQ"],"sourcesContent":["import Component from 'D:/www/YGChatCS/pages/order/components/OrderInfo/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sources":["C:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovd3d3L1lHQ2hhdENTL3BhZ2VzL29yZGVyL2NvbXBvbmVudHMvT3JkZXJTdGF0dXNJbmZvL2luZGV4LnZ1ZQ"],"sourcesContent":["import Component from 'D:/www/YGChatCS/pages/order/components/OrderStatusInfo/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sources":["pages/order/components/UserInfo/index.vue","C:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovd3d3L1lHQ2hhdENTL3BhZ2VzL29yZGVyL2NvbXBvbmVudHMvVXNlckluZm8vaW5kZXgudnVl"],"sourcesContent":["<template>\r\n <view class=\"user-info mb12\">\r\n <view class=\"user-info-title\">游客信息</view>\r\n <view class=\"user-info-item\">\r\n <text class=\"label\">联系游客:</text>\r\n <text class=\"value\">{{ contactName }}</text>\r\n </view>\r\n <view class=\"user-info-item\">\r\n <text class=\"label\">联系电话:</text>\r\n <text class=\"value\">{{ contactPhone }}</text>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nconst contactName = '李元一';\r\nconst contactPhone = '13172891829';\r\n</script>\r\n\r\n<style scoped>\r\n@import './styles/index.scss';\r\n</style>","import Component from 'D:/www/YGChatCS/pages/order/components/UserInfo/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;AAeA,MAAM,cAAc;AACpB,MAAM,eAAe;;;;;;;;;;;;;ACfrB,GAAG,gBAAgB,SAAS;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"detail.js","sources":["pages/order/detail.vue","C:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvb3JkZXIvZGV0YWlsLnZ1ZQ"],"sourcesContent":["<template>\r\n <view class=\"order-detail-wrapper\">\r\n <image class=\"icon-back\" src=\"./images/back.png\" />\r\n <OrderStatusInfo />\r\n <GoodsInfo />\r\n <UserInfo />\r\n <NoticeInfo />\r\n <OrderInfo />\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nimport OrderStatusInfo from './components/OrderStatusInfo/index.vue'\r\nimport GoodsInfo from './components/GoodsInfo/index.vue'\r\nimport UserInfo from './components/UserInfo/index.vue'\r\nimport NoticeInfo from './components/NoticeInfo/index.vue'\r\nimport OrderInfo from './components/OrderInfo/index.vue'\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n@import './styles/detail.scss';\r\n</style>","import MiniProgramPage from 'D:/www/YGChatCS/pages/order/detail.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;;;;AAYA,MAAM,kBAAkB,MAAW;AACnC,MAAM,YAAY,MAAW;AAC7B,MAAM,WAAW,MAAW;AAC5B,MAAM,aAAa,MAAW;AAC9B,MAAM,YAAY,MAAW;;;;;;;;;;;;ACf7B,GAAG,WAAW,eAAe;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"list.js","sources":["C:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvb3JkZXIvbGlzdC52dWU"],"sourcesContent":["import MiniProgramPage from 'D:/www/YGChatCS/pages/order/list.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;;;;;AACA,GAAG,WAAW,eAAe;"}