feat: 提交创建服务工单组件封装
This commit is contained in:
1 parent
875c60d3ec
commit
fb6c258893
46 files changed
+573
-411
No files matched your search
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["\n\n<script setup>\n import { onLaunch,onShow,onHide } from '@dcloudio/uni-app'\n\n\tonLaunch(() => {\n\t\tconsole.log('App Launch')\n\t})\n\t\n\tonShow(() => {\n\t\tconsole.log('App Show')\n\t})\n\t\n\tonHide(() => {\n\t\tconsole.log('App Hide')\n\t})\n</script>\n\n<style lang=\"scss\">\n\t/* 添加全局样式 */\n\tpage, body, #app {\n\t width: 100vw;\n\t height: 100vh;\n\t}\n\t\n</style>\n","import App from './App'\n\n// #ifndef VUE3\nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n return {\n app\n }\n}\n// #endif"],"names":["onLaunch","uni","onShow","onHide","createSSRApp","App"],"mappings":";;;;;;;;;;AAKCA,kBAAAA,SAAS,MAAM;AACdC,oBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,IAC1B,CAAE;AAEDC,kBAAAA,OAAO,MAAM;AACZD,oBAAAA,MAAA,MAAA,OAAA,iBAAY,UAAU;AAAA,IACxB,CAAE;AAEDE,kBAAAA,OAAO,MAAM;AACZF,oBAAAA,MAAA,MAAA,OAAA,iBAAY,UAAU;AAAA,IACxB,CAAE;;;;;ACAK,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>\nimport { onLaunch, onShow, onHide } from \"@dcloudio/uni-app\";\n\nonLaunch(() => {\n console.log(\"App Launch\");\n});\n\nonShow(() => {\n console.log(\"App Show\");\n});\n\nonHide(() => {\n console.log(\"App Hide\");\n});\n</script>\n\n<style lang=\"scss\">\n/* 添加全局样式 */\npage,\nbody,\n#app {\n font-family: PingFang SC, PingFang SC;\n height: 100vh;\n width: 100vw;\n}\n</style>\n","import App from './App'\n\n// #ifndef VUE3\nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n return {\n app\n }\n}\n// #endif"],"names":["onLaunch","uni","onShow","onHide","createSSRApp","App"],"mappings":";;;;;;;;;;AAGAA,kBAAAA,SAAS,MAAM;AACbC,oBAAAA,MAAA,MAAA,OAAA,gBAAY,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;;;"}
|
||||
@@ -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","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","components/create-service-order/images/icon_service.png","components/create-service-order/images/icon_volume.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__\"","export default \"__VITE_ASSET__86f6117d__\"","export default \"__VITE_ASSET__0bc37c9e__\""],"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,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;;;;;;;;;;;;;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"vendor.js","sources":["node_modules/@vue/shared/dist/shared.esm-bundler.js","node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js","node_modules/@dcloudio/uni-shared/dist/uni-shared.es.js","node_modules/@dcloudio/uni-mp-vue/dist/vue.runtime.esm.js","node_modules/@dcloudio/uni-mp-weixin/dist/uni.api.esm.js","node_modules/@dcloudio/uni-console/dist/mp.esm.js","node_modules/@dcloudio/uni-mp-weixin/dist/uni.mp.esm.js","node_modules/@dcloudio/uni-app/dist/uni-app.es.js"],"sourcesContent":["/**\n* @vue/shared v3.4.21\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\nfunction makeMap(str, expectsLowerCase) {\n const set = new Set(str.split(\",\"));\n return expectsLowerCase ? (val) => set.has(val.toLowerCase()) : (val) => set.has(val);\n}\n\nconst EMPTY_OBJ = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze({}) : {};\nconst EMPTY_ARR = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze([]) : [];\nconst NOOP = () => {\n};\nconst NO = () => false;\nconst isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter\n(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);\nconst isModelListener = (key) => key.startsWith(\"onUpdate:\");\nconst extend = Object.assign;\nconst remove = (arr, el) => {\n const i = arr.indexOf(el);\n if (i > -1) {\n arr.splice(i, 1);\n }\n};\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\nconst isArray = Array.isArray;\nconst isMap = (val) => toTypeString(val) === \"[object Map]\";\nconst isSet = (val) => toTypeString(val) === \"[object Set]\";\nconst isDate = (val) => toTypeString(val) === \"[object Date]\";\nconst isRegExp = (val) => toTypeString(val) === \"[object RegExp]\";\nconst isFunction = (val) => typeof val === \"function\";\nconst isString = (val) => typeof val === \"string\";\nconst isSymbol = (val) => typeof val === \"symbol\";\nconst isObject = (val) => val !== null && typeof val === \"object\";\nconst isPromise = (val) => {\n return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);\n};\nconst objectToString = Object.prototype.toString;\nconst toTypeString = (value) => objectToString.call(value);\nconst toRawType = (value) => {\n return toTypeString(value).slice(8, -1);\n};\nconst isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\nconst isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\nconst isReservedProp = /* @__PURE__ */ makeMap(\n // the leading comma is intentional so empty string \"\" is also included\n \",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"\n);\nconst isBuiltInDirective = /* @__PURE__ */ makeMap(\n \"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\"\n);\nconst cacheStringFunction = (fn) => {\n const cache = /* @__PURE__ */ Object.create(null);\n return (str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n};\nconst camelizeRE = /-(\\w)/g;\nconst camelize = cacheStringFunction((str) => {\n return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n});\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction(\n (str) => str.replace(hyphenateRE, \"-$1\").toLowerCase()\n);\nconst capitalize = cacheStringFunction((str) => {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\nconst toHandlerKey = cacheStringFunction((str) => {\n const s = str ? `on${capitalize(str)}` : ``;\n return s;\n});\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\nconst invokeArrayFns = (fns, arg) => {\n for (let i = 0; i < fns.length; i++) {\n fns[i](arg);\n }\n};\nconst def = (obj, key, value) => {\n Object.defineProperty(obj, key, {\n configurable: true,\n enumerable: false,\n value\n });\n};\nconst looseToNumber = (val) => {\n const n = parseFloat(val);\n return isNaN(n) ? val : n;\n};\nconst toNumber = (val) => {\n const n = isString(val) ? Number(val) : NaN;\n return isNaN(n) ? val : n;\n};\nlet _globalThis;\nconst getGlobalThis = () => {\n return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n};\nconst identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\nfunction genPropsAccessExp(name) {\n return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;\n}\n\nconst PatchFlags = {\n \"TEXT\": 1,\n \"1\": \"TEXT\",\n \"CLASS\": 2,\n \"2\": \"CLASS\",\n \"STYLE\": 4,\n \"4\": \"STYLE\",\n \"PROPS\": 8,\n \"8\": \"PROPS\",\n \"FULL_PROPS\": 16,\n \"16\": \"FULL_PROPS\",\n \"NEED_HYDRATION\": 32,\n \"32\": \"NEED_HYDRATION\",\n \"STABLE_FRAGMENT\": 64,\n Line truncated
|
||||
{"version":3,"file":"vendor.js","sources":["E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/node_modules/@vue/shared/dist/shared.esm-bundler.js","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-shared/dist/uni-shared.es.js","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-mp-vue/dist/vue.runtime.esm.js","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-mp-weixin/dist/uni.api.esm.js","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-console/dist/mp.esm.js","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-mp-weixin/dist/uni.mp.esm.js","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-app/dist/uni-app.es.js"],"sourcesContent":["/**\n* @vue/shared v3.4.21\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\nfunction makeMap(str, expectsLowerCase) {\n const set = new Set(str.split(\",\"));\n return expectsLowerCase ? (val) => set.has(val.toLowerCase()) : (val) => set.has(val);\n}\n\nconst EMPTY_OBJ = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze({}) : {};\nconst EMPTY_ARR = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze([]) : [];\nconst NOOP = () => {\n};\nconst NO = () => false;\nconst isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter\n(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);\nconst isModelListener = (key) => key.startsWith(\"onUpdate:\");\nconst extend = Object.assign;\nconst remove = (arr, el) => {\n const i = arr.indexOf(el);\n if (i > -1) {\n arr.splice(i, 1);\n }\n};\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\nconst isArray = Array.isArray;\nconst isMap = (val) => toTypeString(val) === \"[object Map]\";\nconst isSet = (val) => toTypeString(val) === \"[object Set]\";\nconst isDate = (val) => toTypeString(val) === \"[object Date]\";\nconst isRegExp = (val) => toTypeString(val) === \"[object RegExp]\";\nconst isFunction = (val) => typeof val === \"function\";\nconst isString = (val) => typeof val === \"string\";\nconst isSymbol = (val) => typeof val === \"symbol\";\nconst isObject = (val) => val !== null && typeof val === \"object\";\nconst isPromise = (val) => {\n return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);\n};\nconst objectToString = Object.prototype.toString;\nconst toTypeString = (value) => objectToString.call(value);\nconst toRawType = (value) => {\n return toTypeString(value).slice(8, -1);\n};\nconst isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\nconst isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\nconst isReservedProp = /* @__PURE__ */ makeMap(\n // the leading comma is intentional so empty string \"\" is also included\n \",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"\n);\nconst isBuiltInDirective = /* @__PURE__ */ makeMap(\n \"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\"\n);\nconst cacheStringFunction = (fn) => {\n const cache = /* @__PURE__ */ Object.create(null);\n return (str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n};\nconst camelizeRE = /-(\\w)/g;\nconst camelize = cacheStringFunction((str) => {\n return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n});\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction(\n (str) => str.replace(hyphenateRE, \"-$1\").toLowerCase()\n);\nconst capitalize = cacheStringFunction((str) => {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\nconst toHandlerKey = cacheStringFunction((str) => {\n const s = str ? `on${capitalize(str)}` : ``;\n return s;\n});\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\nconst invokeArrayFns = (fns, arg) => {\n for (let i = 0; i < fns.length; i++) {\n fns[i](arg);\n }\n};\nconst def = (obj, key, value) => {\n Object.defineProperty(obj, key, {\n configurable: true,\n enumerable: false,\n value\n });\n};\nconst looseToNumber = (val) => {\n const n = parseFloat(val);\n return isNaN(n) ? val : n;\n};\nconst toNumber = (val) => {\n const n = isString(val) ? Number(val) : NaN;\n return isNaN(n) ? val : n;\n};\nlet _globalThis;\nconst getGlobalThis = () => {\n return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n};\nconst identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\nfunction genPropsAccessExp(naLine truncated
|
||||
+1
@@ -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;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"ChatCardAI.js","sources":["/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatCardAI.vue?type=component"],"sourcesContent":["import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatCardAI.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"ChatCardAI.js","sources":["E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvcGFnZXMvY2hhdC9DaGF0Q2FyZEFJLnZ1ZQ"],"sourcesContent":["import Component from 'D:/YGChatCS/pages/chat/ChatCardAI.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"ChatCardMine.js","sources":["/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatCardMine.vue?type=component"],"sourcesContent":["import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatCardMine.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"ChatCardMine.js","sources":["E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvcGFnZXMvY2hhdC9DaGF0Q2FyZE1pbmUudnVl"],"sourcesContent":["import Component from 'D:/YGChatCS/pages/chat/ChatCardMine.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"ChatMainList.js","sources":["pages/chat/ChatMainList.vue","/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatMainList.vue?type=component"],"sourcesContent":["<template>\n\t<view class=\"chat-container\" @touchend=\"handleTouchEnd\">\n\t\t<!-- 顶部的背景 -->\n\t\t<chat-top-bg-img class=\"chat-container-bg\"></chat-top-bg-img>\n\t\t\n\t\t<!-- 顶部自定义导航栏 -->\n\t\t<view class=\"nav-bar-container\" :style=\"{\n\t\t paddingTop: statusBarHeight + 'px',\n\t\t backgroundColor: navBgColor,\n\t\t }\">\n\t\t\t<chat-top-nav-bar @openDrawer=\"openDrawer\"></chat-top-nav-bar>\n\t\t</view>\n\t\t\n\t\t<view class=\"chat-container-msg-list\">\n\t\t\t<!-- logo栏 -->\n\t\t\t<chat-top-banner class=\"chat-container-top-bannar\"></chat-top-banner>\n\t\t\t\n\t\t\t<!-- 消息列表(可滚动区域) -->\n\t\t\t<scroll-view\n\t\t\t scroll-y\n\t\t\t :scroll-into-view=\"lastMsgId\"\n\t\t\t :scroll-with-animation=\"true\"\n\t\t\t class=\"area-msg-list\"\n\t\t\t>\n\t\t\t\n\t\t\t<view style=\"padding: 6px 12px;\">\n\t\t\t\t<OneFeelMK001></OneFeelMK001>\n\t\t\t</view>\n\t\t\t<view style=\"padding: 6px 12px;\">\n\t\t\t\t<OneFeelMK001></OneFeelMK001>\n\t\t\t</view>\n\t\t\t<view style=\"padding: 6px 12px;\">\n\t\t\t\t<OneFeelMK001></OneFeelMK001>\n\t\t\t</view>\n\t\t\t\n\t\t\t\n\t\t\t <view class=\"area-msg-list-content\" v-for=\"item in chatMsgList\" :key=\"item.msgId\" :id=\"item.msgId\">\n\t\t\t\t <template v-if=\"item.msgType === MessageRole.AI\">\n\t\t\t\t\t <ChatCardAI class=\"message-item message-item-ai\" :text=\"item.msg\"> \n\t\t\t\t\t \t<image v-if=\"item.msgContent && item.msgContent.type === MessageType.IMAGE\" src=\"/static/logo.png\" style=\"width: 100px;height: 100px;\"></image>\n\t\t\t\t\t\t<OneFeelMK001></OneFeelMK001>\n\t\t\t\t\t\t\n\t\t\t\t\t </ChatCardAI>\t\t\t \n\t\t\t\t </template>\n\t\t\t\t \n\t\t\t\t <template v-else-if=\"item.msgType === MessageRole.ME\">\n\t\t\t\t\t <ChatCardMine class=\"message-item message-item-mine\" :text=\"item.msg\">\n\t\t\t\t\t </ChatCardMine> \n\t\t\t\t </template>\n\t\t\t\t <template v-else>\n\t\t\t\t\t <text class=\"message-item message-item-other\">{{item.msg}}</text>\n\t\t\t\t </template>\t \n\t\t\t </view>\n\t\t\t <!-- 底部锚点(用于滚动到底部) -->\n\t\t\t <view :id=\"lastMsgId\"></view>\n\t\t\t</scroll-view>\n\t\t\t\t\n\t\t\t<!-- 输入框区域 -->\n\t\t\t<view class=\"footer-area\">\n\t\t\t\t<ChatMoreTips @replySent=\"handleReply\"></ChatMoreTips>\n\t\t\t\t<ChatQuickAccess @replySent=\"handleReply\"></ChatQuickAccess>\n\t\t\t\t\n\t\t\t\t<view class=\"area-input\">\n\t\t\t\t <!-- 发送语音 -->\n\t\t\t\t <view class=\"input-container-voice\">\n\t\t\t\t \t<image src='/static/input_voice_icon.png'></image>\n\t\t\t\t </view>\n\t\t\t\t <!-- 输入框 -->\n\t\t\t\t <textarea\n\t\t\t\t class=\"textarea\"\n\t\t\t\t type=\"text\"\n\t\t\t\t\tplaceholder=\"快速订票,呼叫服务\"\n\t\t\t\t cursor-spacing=\"65\"\n\t\t\t\t confirm-type='done'\n\t\t\t\t v-model=\"inputMessage\"\n\t\t\t\t @confirm=\"sendMessage\"\n\t\t\t\t @touchend=\"handleNoHideKeyboard\"\n\t\t\t\t :confirm-hold=\"true\"\n\t\t\t\t auto-height\n\t\t\t\t :show-confirm-bar='false'\n\t\t\t\t :hold-keyboard=\"holdKeyboard\"\n\t\t\t\t maxlength=\"300\"\n\t\t\t\t />\n\t\t\t\t <view class=\"input-container-send\" @click=\"sendMessage\">\n\t\t\t\t \t<image src='/static/input_send_icon.png'></image>\n\t\t\t\t </view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script setup lang=\"ts\">\n\timport { onMounted, getCurrentInstance, nextTick } from 'vue'\n\timport { ref, watch } from 'vue'\n\timport { defineEmits } from 'vue'\n\timport { onLoad } from '@dcloudio/uni-app';\n\timport ChatTopBanner from './ChatTopBanner.vue';\n\timport ChatTopBgImg from './ChatTopBgImg.vue';\n\timport ChatTopNavBar from './ChatTopNavBar.vue';\n\timport ChatCardAI from './ChatCardAI.vue';\n\timport ChatCardMine from './ChatCardMine.vue';\n\timport ChatQuickAccess from './ChatQuickAccess.vue';\n\timport ChatMoreTips from './ChatMoreTips.vue';\n\t\n\timport { MessageRole, ChatModel, MessageType } from '../../model/ChatModel';\n\t\n\timport OneFeelMK001 from '../module/OneFeelMK001.vue';\n\t\n\t\n\tconst instance = getCurrentInstance(); // 获取当前组件实例\n\t\n\t// 导航栏相关\n\tconst statusBarHeight = ref(20);\n\tconst navBgColor = ref('rgba(66, 173, 249, 0)');\n\tconst navOpacity = ref(0);\n\n\tconst timer = ref(null)\n\tconst holdKeyboard = ref(false) // focus时,点击页面的时候不收起键盘\n\tconst holdKeyboardFlag = ref(true) // 是否在键盘弹出,点击界面时关闭键盘\n\t\n\tconst chatMsgList = ref<ChatModel[]>([])\n\tconst inputMessage = ref('')\n\t\n\t// 锚点ID(控制滚动位置)\n\tconst lastMsgId = ref('anchor-bottom');\n\n\t// 针对小程序键盘收起问题处理\n\n\tholdKeyboard.value = true\n\n\t\n\t\n\t// 滚动临界值(根Line truncated
|
||||
{"version":3,"file":"ChatMainList.js","sources":["pages/chat/ChatMainList.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvcGFnZXMvY2hhdC9DaGF0TWFpbkxpc3QudnVl"],"sourcesContent":["<template>\n <view class=\"chat-container\" @touchend=\"handleTouchEnd\">\n <!-- 顶部的背景 -->\n <chat-top-bg-img class=\"chat-container-bg\"></chat-top-bg-img>\n\n <!-- 顶部自定义导航栏 -->\n <view\n class=\"nav-bar-container\"\n :style=\"{\n paddingTop: statusBarHeight + 'px',\n backgroundColor: navBgColor,\n }\"\n >\n <chat-top-nav-bar @openDrawer=\"openDrawer\"></chat-top-nav-bar>\n </view>\n\n <view class=\"chat-container-msg-list\">\n <!-- logo栏 -->\n <chat-top-banner class=\"chat-container-top-bannar\"></chat-top-banner>\n\n <!-- 消息列表(可滚动区域) -->\n <scroll-view\n scroll-y\n :scroll-into-view=\"lastMsgId\"\n :scroll-with-animation=\"true\"\n class=\"area-msg-list\"\n >\n <view style=\"padding: 6px 12px\">\n <OneFeelMK001></OneFeelMK001>\n </view>\n <view style=\"padding: 6px 12px\">\n <OneFeelMK001></OneFeelMK001>\n </view>\n <view style=\"padding: 6px 12px\">\n <OneFeelMK001></OneFeelMK001>\n </view>\n\n <view\n class=\"area-msg-list-content\"\n v-for=\"item in chatMsgList\"\n :key=\"item.msgId\"\n :id=\"item.msgId\"\n >\n <template v-if=\"item.msgType === MessageRole.AI\">\n <ChatCardAI class=\"message-item message-item-ai\" :text=\"item.msg\">\n <image\n v-if=\"\n item.msgContent && item.msgContent.type === MessageType.IMAGE\n \"\n src=\"/static/logo.png\"\n style=\"width: 100px; height: 100px\"\n ></image>\n <OneFeelMK001></OneFeelMK001>\n </ChatCardAI>\n </template>\n\n <template v-else-if=\"item.msgType === MessageRole.ME\">\n <ChatCardMine\n class=\"message-item message-item-mine\"\n :text=\"item.msg\"\n >\n </ChatCardMine>\n </template>\n <template v-else>\n <text class=\"message-item message-item-other\">{{ item.msg }}</text>\n </template>\n </view>\n\n <CreateServiceOrder />\n <!-- 底部锚点(用于滚动到底部) -->\n <view :id=\"lastMsgId\"></view>\n </scroll-view>\n\n <!-- 输入框区域 -->\n <view class=\"footer-area\">\n <ChatMoreTips @replySent=\"handleReply\"></ChatMoreTips>\n <ChatQuickAccess @replySent=\"handleReply\"></ChatQuickAccess>\n\n <view class=\"area-input\">\n <!-- 发送语音 -->\n <view class=\"input-container-voice\">\n <image src=\"/static/input_voice_icon.png\"></image>\n </view>\n <!-- 输入框 -->\n <textarea\n class=\"textarea\"\n type=\"text\"\n placeholder=\"快速订票,呼叫服务\"\n cursor-spacing=\"65\"\n confirm-type=\"done\"\n v-model=\"inputMessage\"\n @confirm=\"sendMessage\"\n @touchend=\"handleNoHideKeyboard\"\n :confirm-hold=\"true\"\n auto-height\n :show-confirm-bar=\"false\"\n :hold-keyboard=\"holdKeyboard\"\n maxlength=\"300\"\n />\n <view class=\"input-container-send\" @click=\"sendMessage\">\n <image src=\"/static/input_send_icon.png\"></image>\n </view>\n </view>\n </view>\n </view>\n </view>\n</template>\n\n<script setup lang=\"ts\">\nimport { onMounted, getCurrentInstance, nextTick } from \"vue\";\nimport { ref, watch } from \"vue\";\nimport { defineEmits } from \"vue\";\nimport { onLoad } from \"@dcloudio/uni-app\";\nimport ChatTopBanner from \"./ChatTopBanner.vue\";\nimport ChatTopBgImg from \"./ChatTopBgImg.vue\";\nimport ChatTopNavBar from \"./ChatTopNavBar.vue\";\nimport ChatCardAI from \"./ChatCardAI.vue\";\nimport ChatCardMine from \"./ChatCardMine.vue\";\nimport ChatQuickAccess from \"./ChatQuickAccess.vue\";\nimport ChatMoreTips from \"./ChatMoreTips.vue\";\nimport { MessageRole, ChatModel, MessageType } from \"../../model/ChatModel\";\nimport OneFeelMK001 from \"../module/OneFeelMK001.vue\";\nimport CreateServiceOrder from \"@/components/create-service-order/index.vue\";\n\nconst instance = getCurrentInstance(); // 获取当前组件实例\n\n// 导航栏相关\nconst statusBarHeight = ref(20);\nconst navBgColor = ref(\"rgba(66, 173, 249, 0)\");\nconst navOpacity = ref(0);\n\nconst timer = ref(null);\nconst holdKeyboard = ref(false); // focus时,点击页面的时候不收起键盘\nconst holdKeyboardFlag = ref(true); // 是否在键盘弹出,点击界面时关闭键盘\nLine truncated
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"ChatMoreTips.js","sources":["pages/chat/ChatMoreTips.vue","/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatMoreTips.vue?type=component"],"sourcesContent":["<template>\n\t<view class=\"more-tips\">\n\t\t<view class=\"more-tips-scroll\">\n\t\t\t<view class=\"more-tips-item\" v-for=\"(item, index) in itemList\" :key=\"index\">\n\t\t\t\t<text class=\"more-tips-item-title\" @click=\"sendReply(item.title)\">{{ item.title }}</text>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script setup>\n\timport { onMounted, ref } from 'vue';\n\tconst itemList = ref([])\n\tconst emits = defineEmits(['replySent']);\n\n\tconst sendReply = (text) => {\n\t\temits('replySent', text); // 向父组件传递数据\n\t}\n\t\n\tonMounted(() => {\n\t\tinitData()\n\t})\n\t\n\tconst initData = () => {\n\t\titemList.value = [\n\t\t\t{\n\t\t\t\ttitle: '定温泉票',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '定酒店',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '优惠套餐',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '亲子玩法',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '了解交通',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '看看酒店',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '看看美食',\n\t\t\t}\n\t\t] \n\t}\n\t\n</script>\n\n<style lang=\"scss\" scoped>\n\t.more-tips {\n\t\twidth: 100%;\n\t\t\n\t\t&-scroll {\n\t\t display: flex;\n\t\t flex-direction: row;\n\t\t overflow-x: auto;\n\t\t white-space: nowrap;\n\t\t -webkit-overflow-scrolling: touch; \n\t\t \n\t\t /* 隐藏滚动条 */\n\t\t scrollbar-width: none; \n\t\t &::-webkit-scrollbar {\n\t\t display: none; \n\t\t }\n\t\t }\n\t\t\n\t\t.more-tips-item {\n\t\t\tborder-radius: 8px;\n\t\t\tmargin: 4px;\n\t\t\tbox-shadow: 0 2px 5px 0px rgba(0,0,0,0.1);\n\t\t\tbackground-color: #FFFFFF;\n\t\t\tpadding: 2px 12px;\n\t\t\tdisplay: flex; \n\t\t\tflex-direction: column;\n\t\t\tmin-width: 46px;\n\t\t\t\n\t\t\t&:first-child {\n\t\t\t\tmargin-left: 12px;\n\t\t\t}\n\t\t\t\t\n\t\t\t&:last-child {\n\t\t\t\tmargin-right: 12px;\n\t\t\t}\n\t\t\t\n\t\t\t.more-tips-item-title {\n\t\t\t\tfont-family: PingFang SC, PingFang SC;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tfont-size: 12px;\n\t\t\t\tcolor: #00A6FF;\n\t\t\t\tline-height: 24px;\n\t\t\t\ttext-align: center;\n\t\t\t}\n\t\t}\n\t}\n</style>\n","import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatMoreTips.vue'\nwx.createComponent(Component)"],"names":["ref","onMounted"],"mappings":";;;;;;AAYC,UAAM,WAAWA,cAAG,IAAC,EAAE;AACvB,UAAM,QAAQ;AAEd,UAAM,YAAY,CAAC,SAAS;AAC3B,YAAM,aAAa,IAAI;AAAA,IACvB;AAEDC,kBAAAA,UAAU,MAAM;AACf,eAAU;AAAA,IACZ,CAAE;AAED,UAAM,WAAW,MAAM;AACtB,eAAS,QAAQ;AAAA,QAChB;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,MACD;AAAA,IACD;;;;;;;;;;;;;;;AC9CF,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"ChatMoreTips.js","sources":["pages/chat/ChatMoreTips.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvcGFnZXMvY2hhdC9DaGF0TW9yZVRpcHMudnVl"],"sourcesContent":["<template>\n\t<view class=\"more-tips\">\n\t\t<view class=\"more-tips-scroll\">\n\t\t\t<view class=\"more-tips-item\" v-for=\"(item, index) in itemList\" :key=\"index\">\n\t\t\t\t<text class=\"more-tips-item-title\" @click=\"sendReply(item.title)\">{{ item.title }}</text>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script setup>\n\timport { onMounted, ref } from 'vue';\n\tconst itemList = ref([])\n\tconst emits = defineEmits(['replySent']);\n\n\tconst sendReply = (text) => {\n\t\temits('replySent', text); // 向父组件传递数据\n\t}\n\t\n\tonMounted(() => {\n\t\tinitData()\n\t})\n\t\n\tconst initData = () => {\n\t\titemList.value = [\n\t\t\t{\n\t\t\t\ttitle: '定温泉票',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '定酒店',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '优惠套餐',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '亲子玩法',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '了解交通',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '看看酒店',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '看看美食',\n\t\t\t}\n\t\t] \n\t}\n\t\n</script>\n\n<style lang=\"scss\" scoped>\n\t.more-tips {\n\t\twidth: 100%;\n\t\t\n\t\t&-scroll {\n\t\t display: flex;\n\t\t flex-direction: row;\n\t\t overflow-x: auto;\n\t\t white-space: nowrap;\n\t\t -webkit-overflow-scrolling: touch; \n\t\t \n\t\t /* 隐藏滚动条 */\n\t\t scrollbar-width: none; \n\t\t &::-webkit-scrollbar {\n\t\t display: none; \n\t\t }\n\t\t }\n\t\t\n\t\t.more-tips-item {\n\t\t\tborder-radius: 8px;\n\t\t\tmargin: 4px;\n\t\t\tbox-shadow: 0 2px 5px 0px rgba(0,0,0,0.1);\n\t\t\tbackground-color: #FFFFFF;\n\t\t\tpadding: 2px 12px;\n\t\t\tdisplay: flex; \n\t\t\tflex-direction: column;\n\t\t\tmin-width: 46px;\n\t\t\t\n\t\t\t&:first-child {\n\t\t\t\tmargin-left: 12px;\n\t\t\t}\n\t\t\t\t\n\t\t\t&:last-child {\n\t\t\t\tmargin-right: 12px;\n\t\t\t}\n\t\t\t\n\t\t\t.more-tips-item-title {\n\t\t\t\tfont-family: PingFang SC, PingFang SC;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tfont-size: 12px;\n\t\t\t\tcolor: #00A6FF;\n\t\t\t\tline-height: 24px;\n\t\t\t\ttext-align: center;\n\t\t\t}\n\t\t}\n\t}\n</style>\n","import Component from 'D:/YGChatCS/pages/chat/ChatMoreTips.vue'\nwx.createComponent(Component)"],"names":["ref","onMounted"],"mappings":";;;;;;AAYC,UAAM,WAAWA,cAAG,IAAC,EAAE;AACvB,UAAM,QAAQ;AAEd,UAAM,YAAY,CAAC,SAAS;AAC3B,YAAM,aAAa,IAAI;AAAA,IACvB;AAEDC,kBAAAA,UAAU,MAAM;AACf,eAAU;AAAA,IACZ,CAAE;AAED,UAAM,WAAW,MAAM;AACtB,eAAS,QAAQ;AAAA,QAChB;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,MACD;AAAA,IACD;;;;;;;;;;;;;;;AC9CF,GAAG,gBAAgB,SAAS;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"ChatQuickAccess.js","sources":["pages/chat/ChatQuickAccess.vue?type=page"],"sourcesContent":["import MiniProgramPage from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatQuickAccess.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,gBAAe,eAAA;"}
|
||||
{"version":3,"file":"ChatQuickAccess.js","sources":["E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvY2hhdC9DaGF0UXVpY2tBY2Nlc3MudnVl"],"sourcesContent":["import MiniProgramPage from 'D:/YGChatCS/pages/chat/ChatQuickAccess.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,gBAAe,eAAA;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"ChatQuickAccess2.js","sources":["/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatQuickAccess.vue?type=page"],"sourcesContent":["import MiniProgramPage from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatQuickAccess.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,gBAAe,eAAA;"}
|
||||
{"version":3,"file":"ChatQuickAccess2.js","sources":["E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniPage:/RDovWUdDaGF0Q1MvcGFnZXMvY2hhdC9DaGF0UXVpY2tBY2Nlc3MudnVl"],"sourcesContent":["import MiniProgramPage from 'D:/YGChatCS/pages/chat/ChatQuickAccess.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,gBAAe,eAAA;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"ChatTopBanner.js","sources":["pages/chat/ChatTopBanner.vue","/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatTopBanner.vue?type=component"],"sourcesContent":["<template>\n\t<view class=\"top-bg-content\" :style=\"{marginTop: marginContentTop + 'px'}\">\n\t\t<view class=\"top-item1\">\n\t\t\t<view class=\"top-item1-left\">\n\t\t\t\t<image src=\"/static/hello_xiaomu_icon@2x.png\"></image>\n\t\t\t\t<text>2025/02/10 多云 -3~6℃</text>\t\t\t\t\t\t \n\t\t\t</view>\n\t\t\t<view class=\"top-item1-right\">\n\t\t\t\t<image src=\"/static/hello_logo_icon@2x.png\" ></image>\n\t\t\t</view>\t\t\t \t\t\t \n\t\t</view>\n\t</view>\n</template>\n\n<script setup>\n\timport { ref } from 'vue';\n\timport { onLoad } from '@dcloudio/uni-app';\n\t\n\tconst statusBarHeight = ref(20);\n\tconst marginContentTop = ref(44) \n\t\n\tonLoad(() => {\n\t uni.getSystemInfo({\n\t success: (res) => {\n\t statusBarHeight.value = res.statusBarHeight || 20;\n\t\t marginContentTop.value += statusBarHeight.value;\n\t }\n\t });\n\t});\n\t\n</script>\n\n<style lang=\"scss\" scoped>\n\t.top-bg-content {\n\t\tdisplay: flex;\n\t\tjustify-content: flex-end;\n\t\talign-items: stretch;\n\t\tflex-direction: column;\n\t}\n\t\n\t.top-item1 {\n\t\tdisplay: flex;\n\t\tflex-direction: row;\n\t\tjustify-content: space-between;\n\t\tmargin: 0 46px 0 32px;\n\t\t\n\t\t.top-item1-left {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\tjustify-content: flex-end;\n\t\t\t\n\t\t\timage {\n\t\t\t\twidth: 118px;\n\t\t\t\theight: 52px;\n\t\t\t}\n\t\t\ttext {\n\t\t\t\tfont-family: PingFang SC, PingFang SC;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 12px;\n\t\t\t\tcolor: #1E4C69;\n\t\t\t\tline-height: 24px;\n\t\t\t\ttext-align: justify;\n\t\t\t\tfont-style: normal;\n\t\t\t\ttext-transform: none;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.top-item1-right {\n\t\t\timage {\n\t\t\t\twidth: 96px;\n\t\t\t\theight: 96px;\n\t\t\t}\n\t\t}\n\t}\n</style>","import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatTopBanner.vue'\nwx.createComponent(Component)"],"names":["ref","onLoad","uni"],"mappings":";;;;;;AAkBC,UAAM,kBAAkBA,kBAAI,EAAE;AAC9B,UAAM,mBAAmBA,cAAG,IAAC,EAAE;AAE/BC,kBAAAA,OAAO,MAAM;AACXC,oBAAAA,MAAI,cAAc;AAAA,QAChB,SAAS,CAAC,QAAQ;AAChB,0BAAgB,QAAQ,IAAI,mBAAmB;AAClD,2BAAiB,SAAS,gBAAgB;AAAA,QACxC;AAAA,MACN,CAAI;AAAA,IACJ,CAAE;;;;;;;;;;;AC3BF,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"ChatTopBanner.js","sources":["pages/chat/ChatTopBanner.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvcGFnZXMvY2hhdC9DaGF0VG9wQmFubmVyLnZ1ZQ"],"sourcesContent":["<template>\n\t<view class=\"top-bg-content\" :style=\"{marginTop: marginContentTop + 'px'}\">\n\t\t<view class=\"top-item1\">\n\t\t\t<view class=\"top-item1-left\">\n\t\t\t\t<image src=\"/static/hello_xiaomu_icon@2x.png\"></image>\n\t\t\t\t<text>2025/02/10 多云 -3~6℃</text>\t\t\t\t\t\t \n\t\t\t</view>\n\t\t\t<view class=\"top-item1-right\">\n\t\t\t\t<image src=\"/static/hello_logo_icon@2x.png\" ></image>\n\t\t\t</view>\t\t\t \t\t\t \n\t\t</view>\n\t</view>\n</template>\n\n<script setup>\n\timport { ref } from 'vue';\n\timport { onLoad } from '@dcloudio/uni-app';\n\t\n\tconst statusBarHeight = ref(20);\n\tconst marginContentTop = ref(44) \n\t\n\tonLoad(() => {\n\t uni.getSystemInfo({\n\t success: (res) => {\n\t statusBarHeight.value = res.statusBarHeight || 20;\n\t\t marginContentTop.value += statusBarHeight.value;\n\t }\n\t });\n\t});\n\t\n</script>\n\n<style lang=\"scss\" scoped>\n\t.top-bg-content {\n\t\tdisplay: flex;\n\t\tjustify-content: flex-end;\n\t\talign-items: stretch;\n\t\tflex-direction: column;\n\t}\n\t\n\t.top-item1 {\n\t\tdisplay: flex;\n\t\tflex-direction: row;\n\t\tjustify-content: space-between;\n\t\tmargin: 0 46px 0 32px;\n\t\t\n\t\t.top-item1-left {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\tjustify-content: flex-end;\n\t\t\t\n\t\t\timage {\n\t\t\t\twidth: 118px;\n\t\t\t\theight: 52px;\n\t\t\t}\n\t\t\ttext {\n\t\t\t\tfont-family: PingFang SC, PingFang SC;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 12px;\n\t\t\t\tcolor: #1E4C69;\n\t\t\t\tline-height: 24px;\n\t\t\t\ttext-align: justify;\n\t\t\t\tfont-style: normal;\n\t\t\t\ttext-transform: none;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.top-item1-right {\n\t\t\timage {\n\t\t\t\twidth: 96px;\n\t\t\t\theight: 96px;\n\t\t\t}\n\t\t}\n\t}\n</style>","import Component from 'D:/YGChatCS/pages/chat/ChatTopBanner.vue'\nwx.createComponent(Component)"],"names":["ref","onLoad","uni"],"mappings":";;;;;;AAkBC,UAAM,kBAAkBA,kBAAI,EAAE;AAC9B,UAAM,mBAAmBA,cAAG,IAAC,EAAE;AAE/BC,kBAAAA,OAAO,MAAM;AACXC,oBAAAA,MAAI,cAAc;AAAA,QAChB,SAAS,CAAC,QAAQ;AAChB,0BAAgB,QAAQ,IAAI,mBAAmB;AAClD,2BAAiB,SAAS,gBAAgB;AAAA,QACxC;AAAA,MACN,CAAI;AAAA,IACJ,CAAE;;;;;;;;;;;AC3BF,GAAG,gBAAgB,SAAS;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"ChatTopBgImg.js","sources":["/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatTopBgImg.vue?type=component"],"sourcesContent":["import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatTopBgImg.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"ChatTopBgImg.js","sources":["E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvcGFnZXMvY2hhdC9DaGF0VG9wQmdJbWcudnVl"],"sourcesContent":["import Component from 'D:/YGChatCS/pages/chat/ChatTopBgImg.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"ChatTopNavBar.js","sources":["pages/chat/ChatTopNavBar.vue","/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatTopNavBar.vue?type=component"],"sourcesContent":["<template>\n\t<view class=\"nav-bar\">\n\t <view class=\"nav-item\" @click=\"openDrawer\">\n\t <image src=\"/static/drawer_icon.png\" mode=\"aspectFit\" class=\"nav-item-icon\"></image>\n\t </view>\n\t</view>\n</template>\n\n<script setup>\n\timport { defineEmits } from 'vue'\n\t\n\tconst emits = defineEmits(['openDrawer'])\n\t\n\tconst openDrawer = () => {\n\t\temits('openDrawer')\n\t\tconsole.log('=============打开抽屉')\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.nav-bar {\n\t display: flex;\n\t align-items: center;\n\t height: 44px;\n\t padding: 0 15px;\n\t \n\t .nav-item {\n\t width: 24px;\n\t height: 24px;\n\t margin-right: 10px;\n\t }\n\t .nav-item-icon {\n\t\t width: 100%;\n\t\t height: 100%;\n\t }\n\t}\n</style>","import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatTopNavBar.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;;;;;;AAWC,UAAM,QAAQ;AAEd,UAAM,aAAa,MAAM;AACxB,YAAM,YAAY;AAClBA,oBAAAA,yDAAY,mBAAmB;AAAA,IAC/B;;;;;;;;;;ACfF,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"ChatTopNavBar.js","sources":["pages/chat/ChatTopNavBar.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvcGFnZXMvY2hhdC9DaGF0VG9wTmF2QmFyLnZ1ZQ"],"sourcesContent":["<template>\n\t<view class=\"nav-bar\">\n\t <view class=\"nav-item\" @click=\"openDrawer\">\n\t <image src=\"/static/drawer_icon.png\" mode=\"aspectFit\" class=\"nav-item-icon\"></image>\n\t </view>\n\t</view>\n</template>\n\n<script setup>\n\timport { defineEmits } from 'vue'\n\t\n\tconst emits = defineEmits(['openDrawer'])\n\t\n\tconst openDrawer = () => {\n\t\temits('openDrawer')\n\t\tconsole.log('=============打开抽屉')\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.nav-bar {\n\t display: flex;\n\t align-items: center;\n\t height: 44px;\n\t padding: 0 15px;\n\t \n\t .nav-item {\n\t width: 24px;\n\t height: 24px;\n\t margin-right: 10px;\n\t }\n\t .nav-item-icon {\n\t\t width: 100%;\n\t\t height: 100%;\n\t }\n\t}\n</style>","import Component from 'D:/YGChatCS/pages/chat/ChatTopNavBar.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;;;;;;AAWC,UAAM,QAAQ;AAEd,UAAM,aAAa,MAAM;AACxB,YAAM,YAAY;AAClBA,oBAAAA,yDAAY,mBAAmB;AAAA,IAC/B;;;;;;;;;;ACfF,GAAG,gBAAgB,SAAS;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"DrawerHome.js","sources":["pages/drawer/DrawerHome.vue","/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/drawer/DrawerHome.vue?type=component"],"sourcesContent":["<template>\n\t<view class=\"drawer-home\"> \n\t\t<view class=\"drawer-home-nav\">\n\t\t\t<text>抽屉页面</text>\n\t\t</view>\n\t\t\n\t\t<button @click=\"closeDrawer\" type=\"default\">关闭</button>\n\t\t<view class=\"drawer-list\">\n\t\t\t<view v-for=\"(item,index) in 100\" :key=\"index\">\n\t\t\t\t<text class=\"message-item\">{{item}}</text>\n\t\t\t</view>\n\t\t</view>\n\t\t\n\t</view>\n</template>\n\n<script setup>\n\timport { defineEmits } from 'vue'\n\tconst emits = defineEmits(['closeDrawer'])\n\t\n\tconst closeDrawer = () => {\n\t\temits('closeDrawer')\n\t\tconsole.log('=============关闭抽屉')\n\t}\n\t\n</script>\n\n<style lang=\"scss\" scoped>\n\t.drawer-home {\n\t\twidth: 100%;\n\t\theight: 100vh;\n\t\tbackground-color: #E9F3F7;\n\t\tpadding-top: 44px;\n\t\t\n\t\t.drawer-home-nav {\n\t\t\tpadding: 12px;\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\t\t\t\n\t\t\ttext {\n\t\t\t\tfont-size: 20px;\n\t\t\t\ttext-align: center;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.drawer-list {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\theight: 100%;\n\t\t\toverflow-y: scroll;\n\t\t}\n\t\t\n\t\t.message-item {\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\t\t\tbackground-color: white;\n\t\t\tmargin: 6px 12px;\n\t\t\tpadding: 8px 24px;\n\t\t\tborder-radius: 4px;\n\t\t\tfont-size: 14px;\n\t\t\tbox-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);\n\t\t\t\n\t\t\ttext {\n\t\t\t\tfont-family: PingFang SC, PingFang SC;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tcolor: #333333;\n\t\t\t}\n\t\t}\n\t}\n</style>","import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/drawer/DrawerHome.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;;;;;AAkBC,UAAM,QAAQ;AAEd,UAAM,cAAc,MAAM;AACzB,YAAM,aAAa;AACnBA,oBAAAA,wDAAY,mBAAmB;AAAA,IAC/B;;;;;;;;;;;;;;;ACtBF,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"DrawerHome.js","sources":["pages/drawer/DrawerHome.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvcGFnZXMvZHJhd2VyL0RyYXdlckhvbWUudnVl"],"sourcesContent":["<template>\n\t<view class=\"drawer-home\"> \n\t\t<view class=\"drawer-home-nav\">\n\t\t\t<text>抽屉页面</text>\n\t\t</view>\n\t\t\n\t\t<button @click=\"closeDrawer\" type=\"default\">关闭</button>\n\t\t<view class=\"drawer-list\">\n\t\t\t<view v-for=\"(item,index) in 100\" :key=\"index\">\n\t\t\t\t<text class=\"message-item\">{{item}}</text>\n\t\t\t</view>\n\t\t</view>\n\t\t\n\t</view>\n</template>\n\n<script setup>\n\timport { defineEmits } from 'vue'\n\tconst emits = defineEmits(['closeDrawer'])\n\t\n\tconst closeDrawer = () => {\n\t\temits('closeDrawer')\n\t\tconsole.log('=============关闭抽屉')\n\t}\n\t\n</script>\n\n<style lang=\"scss\" scoped>\n\t.drawer-home {\n\t\twidth: 100%;\n\t\theight: 100vh;\n\t\tbackground-color: #E9F3F7;\n\t\tpadding-top: 44px;\n\t\t\n\t\t.drawer-home-nav {\n\t\t\tpadding: 12px;\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\t\t\t\n\t\t\ttext {\n\t\t\t\tfont-size: 20px;\n\t\t\t\ttext-align: center;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.drawer-list {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\theight: 100%;\n\t\t\toverflow-y: scroll;\n\t\t}\n\t\t\n\t\t.message-item {\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\t\t\tbackground-color: white;\n\t\t\tmargin: 6px 12px;\n\t\t\tpadding: 8px 24px;\n\t\t\tborder-radius: 4px;\n\t\t\tfont-size: 14px;\n\t\t\tbox-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);\n\t\t\t\n\t\t\ttext {\n\t\t\t\tfont-family: PingFang SC, PingFang SC;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tcolor: #333333;\n\t\t\t}\n\t\t}\n\t}\n</style>","import Component from 'D:/YGChatCS/pages/drawer/DrawerHome.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;;;;;AAkBC,UAAM,QAAQ;AAEd,UAAM,cAAc,MAAM;AACzB,YAAM,aAAa;AACnBA,oBAAAA,wDAAY,mBAAmB;AAAA,IAC/B;;;;;;;;;;;;;;;ACtBF,GAAG,gBAAgB,SAAS;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","sources":["pages/index/index.vue","pages/index/index.vue?type=page"],"sourcesContent":["<template>\n\t<ex-drawer ref='drawer' width=\"488\">\n\t\t<!-- 抽屉页面 -->\n\t\t<view class=\"mian-drawer\" slot=\"drawerContent\">\n\t\t\t<drawer-home @closeDrawer=\"closeDrawer\" ></drawer-home>\n\t\t</view>\n\t\t\n\t\t<!-- 主页面 -->\n\t\t<view class=\"mian-container\" slot=\"containerContent\">\n\t\t\t<chat-main-list @openDrawer=\"openDrawer\"></chat-main-list>\n\t\t</view>\n\t</ex-drawer>\t\n\t\n</template>\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport exDrawer from '@/third/ex-drawer/ex-drawer.vue'\n\timport DrawerHome from '@/pages/drawer/DrawerHome.vue'\n\timport ChatMainList from '../chat/ChatMainList.vue'\n\t\n\tconst drawer = ref()\n\t\n\tconst openDrawer = () => {\n\t\tdrawer.value.open()\n\t}\n\t\n\tconst closeDrawer = () => {\n\t\tdrawer.value.close()\n\t}\n\n</script>\n\n<style lang=\"scss\" scoped>\n\t.mian-drawer{\n\t\theight: 100vh;\n\t\tbackground-color: #ffffff;\n\t}\n\t.mian-container{\n\t\twidth: 100vw;\n\t\theight: 100vh;\n\t\tbackground-color: #ffffff;\n\t}\n</style>","import MiniProgramPage from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/index/index.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref"],"mappings":";;;;;AAiBC,MAAM,WAAW,MAAW;AAC5B,MAAM,aAAa,MAAW;AAC9B,MAAM,eAAe,MAAW;;;;AAEhC,UAAM,SAASA,cAAAA,IAAK;AAEpB,UAAM,aAAa,MAAM;AACxB,aAAO,MAAM,KAAM;AAAA,IACnB;AAED,UAAM,cAAc,MAAM;AACzB,aAAO,MAAM,MAAO;AAAA,IACpB;;;;;;;;;;;;;;;;AC5BF,GAAG,WAAW,eAAe;"}
|
||||
{"version":3,"file":"index.js","sources":["pages/index/index.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvaW5kZXgvaW5kZXgudnVl"],"sourcesContent":["<template>\n\t<ex-drawer ref='drawer' width=\"488\">\n\t\t<!-- 抽屉页面 -->\n\t\t<view class=\"mian-drawer\" slot=\"drawerContent\">\n\t\t\t<drawer-home @closeDrawer=\"closeDrawer\" ></drawer-home>\n\t\t</view>\n\t\t\n\t\t<!-- 主页面 -->\n\t\t<view class=\"mian-container\" slot=\"containerContent\">\n\t\t\t<chat-main-list @openDrawer=\"openDrawer\"></chat-main-list>\n\t\t</view>\n\t</ex-drawer>\t\n\t\n</template>\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport exDrawer from '@/third/ex-drawer/ex-drawer.vue'\n\timport DrawerHome from '@/pages/drawer/DrawerHome.vue'\n\timport ChatMainList from '../chat/ChatMainList.vue'\n\t\n\tconst drawer = ref()\n\t\n\tconst openDrawer = () => {\n\t\tdrawer.value.open()\n\t}\n\t\n\tconst closeDrawer = () => {\n\t\tdrawer.value.close()\n\t}\n\n</script>\n\n<style lang=\"scss\" scoped>\n\t.mian-drawer{\n\t\theight: 100vh;\n\t\tbackground-color: #ffffff;\n\t}\n\t.mian-container{\n\t\twidth: 100vw;\n\t\theight: 100vh;\n\t\tbackground-color: #ffffff;\n\t}\n</style>","import MiniProgramPage from 'D:/YGChatCS/pages/index/index.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref"],"mappings":";;;;;AAiBC,MAAM,WAAW,MAAW;AAC5B,MAAM,aAAa,MAAW;AAC9B,MAAM,eAAe,MAAW;;;;AAEhC,UAAM,SAASA,cAAAA,IAAK;AAEpB,UAAM,aAAa,MAAM;AACxB,aAAO,MAAM,KAAM;AAAA,IACnB;AAED,UAAM,cAAc,MAAM;AACzB,aAAO,MAAM,MAAO;AAAA,IACpB;;;;;;;;;;;;;;;;AC5BF,GAAG,WAAW,eAAe;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"OneFeelMK001.js","sources":["/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/module/OneFeelMK001.vue?type=component"],"sourcesContent":["import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/module/OneFeelMK001.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"OneFeelMK001.js","sources":["E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvcGFnZXMvbW9kdWxlL09uZUZlZWxNSzAwMS52dWU"],"sourcesContent":["import Component from 'D:/YGChatCS/pages/module/OneFeelMK001.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"ex-drawer.js","sources":["third/ex-drawer/ex-drawer.vue","/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/third/ex-drawer/ex-drawer.vue?type=component"],"sourcesContent":["<template>\r\n\t<!-- <view class=\"ex-drawer\" @touchstart=\"containerStart\" @touchend=\"containerEnd\" @touchmove=\"containerMove\"> -->\r\n\t<!-- 移除手势 -->\n\t<view class=\"ex-drawer\"> \r\n\t\t<!-- 抽屉 -->\r\n\t\t<view class=\"ex-drawer-warp\" :class=\"{ move: move }\" :style=\"{ width: `${width}rpx`, left: `-${width}rpx`, transform: `translate3d(${differential}px,0,0)`,backfaceVisibility:`hidden`, }\">\r\n\t\t\t<!-- 抽屉内容插槽 -->\r\n\t\t\t<slot name=\"drawerContent\"></slot>\r\n\t\t</view>\r\n\t\t<!-- 主容器 -->\r\n\t\t<view class=\"ex-container-warp\" :class=\"maskShow == true ? 'container prevent' : 'container'\">\r\n\t\t\t<!-- 遮罩 -->\r\n\t\t\t<view v-show=\"maskShow\" class=\"mask\" @tap=\"close\"></view>\r\n\t\t\t<!-- 主容器内容插槽 -->\r\n\t\t\t<slot name=\"containerContent\"></slot>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tmaskShow: false,\r\n\t\t\tstartX: 0,\r\n\t\t\tstartY: 0,\r\n\t\t\tmoveX: 0,\r\n\t\t\tmoveY: 0,\r\n\t\t\tstartExcursion: 0,\r\n\t\t\tdifferential: 0,\r\n\t\t\tisDirection: null,\r\n\t\t\tiswidth: null,\r\n\t\t\tmove: false\r\n\t\t};\r\n\t},\r\n\tprops: {\r\n\t\twidth: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t}\r\n\t},\r\n\tmethods: {\r\n\t\tcontainerStart(e) {\r\n\t\t\tthis.isDirection = null;\r\n\t\t\tthis.move = false;\r\n\t\t\tthis.startX = e.changedTouches[0].clientX;\r\n\t\t\tthis.startY = e.changedTouches[0].clientY;\r\n\t\t\tthis.startExcursion = this.differential;\r\n\t\t},\r\n\t\tcontainerMove(e) {\r\n\t\t\tthis.moveX = e.changedTouches[0].clientX;\r\n\t\t\tthis.moveY = e.changedTouches[0].clientY;\r\n\t\t\tlet X = Math.abs(this.moveX - this.startX);\r\n\t\t\tlet Y = Math.abs(this.moveY - this.startY);\r\n\t\t\tlet differential = this.startExcursion + this.moveX - this.startX;\r\n\t\t\tdifferential = Math.min(uni.upx2px(this.width), differential);\r\n\t\t\tdifferential = Math.max(0, differential);\r\n\t\t\tthis.isDirection == null ? (this.isDirection = Y / X > Math.sqrt(3) / 3) : ``;\r\n\t\t\tif (!this.isDirection) {\r\n\t\t\t\tthis.differential = differential;\r\n\t\t\t\tif(this.differential == 0 ){\r\n\t\t\t\t\tthis.containerEnd()\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthis.maskShow = true\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tcontainerEnd() {\r\n\t\t\tif (this.isDirection != null) {\r\n\t\t\t\tif (!this.isDirection) {\r\n\t\t\t\t\tthis.iswidth = this.differential > (uni.upx2px(this.width) * 2) / 6;\r\n\t\t\t\t\tthis.differential > 0 && this.differential < uni.upx2px(this.width) ? (this.move = true) : ``;\r\n\t\t\t\t}\r\n\t\t\t\tthis.differential = this.iswidth ? uni.upx2px(this.width) : 0;\r\n\t\t\t\tthis.differential == 0 ? this.maskShow = false : ``;\r\n\t\t\t}\r\n\t\t},\r\n\t\tclose(){\r\n\t\t\tif(this.maskShow){\r\n\t\t\t\tthis.move = true\r\n\t\t\t\tthis.differential = 0;\t\r\n\t\t\t\tif(this.differential == 0 ){\r\n\t\t\t\t\tthis.maskShow = false\r\n\t\t\t\t\tthis.iswidth=false\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\topen(){\r\n\t\t\tif(!this.maskShow){\r\n\t\t\t\tthis.move = true\r\n\t\t\t\tthis.differential = uni.upx2px(this.width);\t\r\n\t\t\t\tif(this.differential == uni.upx2px(this.width) ){\r\n\t\t\t\t\tthis.maskShow = true\r\n\t\t\t\t\tthis.iswidth=true\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\r\n</script>\r\n\r\n<style>\r\n.ex-drawer {\r\n\tdisplay: flex;\r\n\talign-items: flex-start;\r\n\tjustify-content: flex-start;\r\n}\r\n.ex-drawer-warp {\r\n\tposition: fixed;\r\n\tz-index: 1000;\r\n\ttouch-action: none;\r\n}\r\n.mask {\r\n\tposition: fixed;\r\n\tleft: 0rpx;\r\n\twidth: 100vw;\r\n\theight: 100vh;\r\n\tz-index: 999;\r\n\tbackground-color:#000000;filter:Alpha(Opacity=60);opacity:0.3;\r\n}\r\n.prevent {\r\n\ttouch-action: none;\r\n}\r\n.move {\r\n\ttransition: transform 0.3s ease;\r\n}\r\n</style>\n","import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/third/ex-drawer/ex-drawer.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;AAoBA,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,QAAQ;AAAA,MACR,OAAO;AAAA,MACP,OAAO;AAAA,MACP,gBAAgB;AAAA,MAChB,cAAc;AAAA,MACd,aAAa;AAAA,MACb,SAAS;AAAA,MACT,MAAM;AAAA;EAEP;AAAA,EACD,OAAO;AAAA,IACN,OAAO;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA,EACA;AAAA,EACD,SAAS;AAAA,IACR,eAAe,GAAG;AACjB,WAAK,cAAc;AACnB,WAAK,OAAO;AACZ,WAAK,SAAS,EAAE,eAAe,CAAC,EAAE;AAClC,WAAK,SAAS,EAAE,eAAe,CAAC,EAAE;AAClC,WAAK,iBAAiB,KAAK;AAAA,IAC3B;AAAA,IACD,cAAc,GAAG;AAChB,WAAK,QAAQ,EAAE,eAAe,CAAC,EAAE;AACjC,WAAK,QAAQ,EAAE,eAAe,CAAC,EAAE;AACjC,UAAI,IAAI,KAAK,IAAI,KAAK,QAAQ,KAAK,MAAM;AACzC,UAAI,IAAI,KAAK,IAAI,KAAK,QAAQ,KAAK,MAAM;AACzC,UAAI,eAAe,KAAK,iBAAiB,KAAK,QAAQ,KAAK;AAC3D,qBAAe,KAAK,IAAIA,cAAG,MAAC,OAAO,KAAK,KAAK,GAAG,YAAY;AAC5D,qBAAe,KAAK,IAAI,GAAG,YAAY;AACvC,WAAK,Line truncated
|
||||
{"version":3,"file":"ex-drawer.js","sources":["third/ex-drawer/ex-drawer.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvdGhpcmQvZXgtZHJhd2VyL2V4LWRyYXdlci52dWU"],"sourcesContent":["<template>\r\n\t<!-- <view class=\"ex-drawer\" @touchstart=\"containerStart\" @touchend=\"containerEnd\" @touchmove=\"containerMove\"> -->\r\n\t<!-- 移除手势 -->\n\t<view class=\"ex-drawer\"> \r\n\t\t<!-- 抽屉 -->\r\n\t\t<view class=\"ex-drawer-warp\" :class=\"{ move: move }\" :style=\"{ width: `${width}rpx`, left: `-${width}rpx`, transform: `translate3d(${differential}px,0,0)`,backfaceVisibility:`hidden`, }\">\r\n\t\t\t<!-- 抽屉内容插槽 -->\r\n\t\t\t<slot name=\"drawerContent\"></slot>\r\n\t\t</view>\r\n\t\t<!-- 主容器 -->\r\n\t\t<view class=\"ex-container-warp\" :class=\"maskShow == true ? 'container prevent' : 'container'\">\r\n\t\t\t<!-- 遮罩 -->\r\n\t\t\t<view v-show=\"maskShow\" class=\"mask\" @tap=\"close\"></view>\r\n\t\t\t<!-- 主容器内容插槽 -->\r\n\t\t\t<slot name=\"containerContent\"></slot>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tmaskShow: false,\r\n\t\t\tstartX: 0,\r\n\t\t\tstartY: 0,\r\n\t\t\tmoveX: 0,\r\n\t\t\tmoveY: 0,\r\n\t\t\tstartExcursion: 0,\r\n\t\t\tdifferential: 0,\r\n\t\t\tisDirection: null,\r\n\t\t\tiswidth: null,\r\n\t\t\tmove: false\r\n\t\t};\r\n\t},\r\n\tprops: {\r\n\t\twidth: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t}\r\n\t},\r\n\tmethods: {\r\n\t\tcontainerStart(e) {\r\n\t\t\tthis.isDirection = null;\r\n\t\t\tthis.move = false;\r\n\t\t\tthis.startX = e.changedTouches[0].clientX;\r\n\t\t\tthis.startY = e.changedTouches[0].clientY;\r\n\t\t\tthis.startExcursion = this.differential;\r\n\t\t},\r\n\t\tcontainerMove(e) {\r\n\t\t\tthis.moveX = e.changedTouches[0].clientX;\r\n\t\t\tthis.moveY = e.changedTouches[0].clientY;\r\n\t\t\tlet X = Math.abs(this.moveX - this.startX);\r\n\t\t\tlet Y = Math.abs(this.moveY - this.startY);\r\n\t\t\tlet differential = this.startExcursion + this.moveX - this.startX;\r\n\t\t\tdifferential = Math.min(uni.upx2px(this.width), differential);\r\n\t\t\tdifferential = Math.max(0, differential);\r\n\t\t\tthis.isDirection == null ? (this.isDirection = Y / X > Math.sqrt(3) / 3) : ``;\r\n\t\t\tif (!this.isDirection) {\r\n\t\t\t\tthis.differential = differential;\r\n\t\t\t\tif(this.differential == 0 ){\r\n\t\t\t\t\tthis.containerEnd()\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthis.maskShow = true\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tcontainerEnd() {\r\n\t\t\tif (this.isDirection != null) {\r\n\t\t\t\tif (!this.isDirection) {\r\n\t\t\t\t\tthis.iswidth = this.differential > (uni.upx2px(this.width) * 2) / 6;\r\n\t\t\t\t\tthis.differential > 0 && this.differential < uni.upx2px(this.width) ? (this.move = true) : ``;\r\n\t\t\t\t}\r\n\t\t\t\tthis.differential = this.iswidth ? uni.upx2px(this.width) : 0;\r\n\t\t\t\tthis.differential == 0 ? this.maskShow = false : ``;\r\n\t\t\t}\r\n\t\t},\r\n\t\tclose(){\r\n\t\t\tif(this.maskShow){\r\n\t\t\t\tthis.move = true\r\n\t\t\t\tthis.differential = 0;\t\r\n\t\t\t\tif(this.differential == 0 ){\r\n\t\t\t\t\tthis.maskShow = false\r\n\t\t\t\t\tthis.iswidth=false\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\topen(){\r\n\t\t\tif(!this.maskShow){\r\n\t\t\t\tthis.move = true\r\n\t\t\t\tthis.differential = uni.upx2px(this.width);\t\r\n\t\t\t\tif(this.differential == uni.upx2px(this.width) ){\r\n\t\t\t\t\tthis.maskShow = true\r\n\t\t\t\t\tthis.iswidth=true\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\r\n</script>\r\n\r\n<style>\r\n.ex-drawer {\r\n\tdisplay: flex;\r\n\talign-items: flex-start;\r\n\tjustify-content: flex-start;\r\n}\r\n.ex-drawer-warp {\r\n\tposition: fixed;\r\n\tz-index: 1000;\r\n\ttouch-action: none;\r\n}\r\n.mask {\r\n\tposition: fixed;\r\n\tleft: 0rpx;\r\n\twidth: 100vw;\r\n\theight: 100vh;\r\n\tz-index: 999;\r\n\tbackground-color:#000000;filter:Alpha(Opacity=60);opacity:0.3;\r\n}\r\n.prevent {\r\n\ttouch-action: none;\r\n}\r\n.move {\r\n\ttransition: transform 0.3s ease;\r\n}\r\n</style>\n","import Component from 'D:/YGChatCS/third/ex-drawer/ex-drawer.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;AAoBA,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,QAAQ;AAAA,MACR,OAAO;AAAA,MACP,OAAO;AAAA,MACP,gBAAgB;AAAA,MAChB,cAAc;AAAA,MACd,aAAa;AAAA,MACb,SAAS;AAAA,MACT,MAAM;AAAA;EAEP;AAAA,EACD,OAAO;AAAA,IACN,OAAO;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA,EACA;AAAA,EACD,SAAS;AAAA,IACR,eAAe,GAAG;AACjB,WAAK,cAAc;AACnB,WAAK,OAAO;AACZ,WAAK,SAAS,EAAE,eAAe,CAAC,EAAE;AAClC,WAAK,SAAS,EAAE,eAAe,CAAC,EAAE;AAClC,WAAK,iBAAiB,KAAK;AAAA,IAC3B;AAAA,IACD,cAAc,GAAG;AAChB,WAAK,QAAQ,EAAE,eAAe,CAAC,EAAE;AACjC,WAAK,QAAQ,EAAE,eAAe,CAAC,EAAE;AACjC,UAAI,IAAI,KAAK,IAAI,KAAK,QAAQ,KAAK,MAAM;AACzC,UAAI,IAAI,KAAK,IAAI,KAAK,QAAQ,KAAK,MAAM;AACzC,UAAI,eAAe,KAAK,iBAAiB,KAAK,QAAQ,KAAK;AAC3D,qBAAe,KAAK,IAAIA,cAAG,MAAC,OAAO,KAAK,KAAK,GAAG,YAAY;AAC5D,qBAAe,KAAK,IAAI,GAAG,YAAY;AACvC,WAAK,eAAeLine truncated
|
||||
Reference in new issue
Block a user