feat: 提交创建服务工单组件封装
This commit is contained in:
1
unpackage/dist/dev/.sourcemap/mp-weixin/components/create-service-order/index.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/components/create-service-order/index.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sources":["components/create-service-order/index.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvY29tcG9uZW50cy9jcmVhdGUtc2VydmljZS1vcmRlci9pbmRleC52dWU"],"sourcesContent":["<template>\r\n <view class=\"create-service-order\">\r\n <view class=\"create-service-wrapper\">\r\n <view class=\"order-header\">\r\n <text>创建服务工单</text>\r\n </view>\r\n <view class=\"order-content\">\r\n <view class=\"order-item\">\r\n <image src=\"./images/icon_service.png\" class=\"order-icon\"></image>\r\n <text class=\"order-description\">加一台麻将机</text>\r\n </view>\r\n <view class=\"order-line\"></view>\r\n <view class=\"order-details\">\r\n <view class=\"detail-item\">\r\n <text class=\"detail-label\">房间号:</text>\r\n <text class=\"detail-value\">302</text>\r\n </view>\r\n <view class=\"detail-item\">\r\n <text class=\"detail-label\">服务时间:</text>\r\n <text class=\"detail-value\">2025-09-12 12:00</text>\r\n </view>\r\n <view class=\"detail-item\">\r\n <text class=\"detail-label\">联系房客:</text>\r\n <input\r\n class=\"detail-input\"\r\n placeholder=\"请填写联系人\"\r\n v-model=\"contactName\"\r\n />\r\n </view>\r\n <view class=\"detail-item\">\r\n <text class=\"detail-label\">联系电话:</text>\r\n <input\r\n class=\"detail-input\"\r\n placeholder=\"请填写联系电话\"\r\n v-model=\"contactPhone\"\r\n />\r\n </view>\r\n </view>\r\n <button class=\"order-button\" @click=\"handleCall\">立即呼叫</button>\r\n </view>\r\n </view>\r\n\r\n <view class=\"footer-help\">\r\n <image src=\"./images/icon_volume.png\" class=\"help-icon\"></image>\r\n <text class=\"help-text\">没解决问题?给我打电话吧!</text>\r\n <text class=\"help-phone\" @click=\"makePhoneCall\">15185111210</text>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nimport { ref } from \"vue\";\r\n\r\nconst contactName = ref(\"\");\r\nconst contactPhone = ref(\"\");\r\n\r\nconst handleCall = () => {\r\n // Logic to handle the call action\r\n console.log(\"Calling with:\", contactName.value, contactPhone.value);\r\n};\r\n\r\nconst makePhoneCall = () => {\r\n // 使用 uniapp 的 API 拨打电话\r\n uni.makePhoneCall({\r\n phoneNumber: \"15185111210\",\r\n });\r\n};\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@import \"./styles/index.scss\";\r\n</style>\r\n","import Component from 'D:/YGChatCS/components/create-service-order/index.vue'\nwx.createComponent(Component)"],"names":["ref","uni"],"mappings":";;;;;;AAqDA,UAAM,cAAcA,cAAAA,IAAI,EAAE;AAC1B,UAAM,eAAeA,cAAAA,IAAI,EAAE;AAE3B,UAAM,aAAa,MAAM;AAEvBC,0BAAY,MAAA,OAAA,mDAAA,iBAAiB,YAAY,OAAO,aAAa,KAAK;AAAA,IACpE;AAEA,UAAM,gBAAgB,MAAM;AAE1BA,oBAAAA,MAAI,cAAc;AAAA,QAChB,aAAa;AAAA,MACjB,CAAG;AAAA,IACH;;;;;;;;;;;;;;;;ACjEA,GAAG,gBAAgB,SAAS;"}
|
||||
Reference in New Issue
Block a user