feat:你可以这样问我提示词组件封装
This commit is contained in:
1
unpackage/dist/dev/.sourcemap/mp-weixin/components/service-prompt/index.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/components/service-prompt/index.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sources":["components/service-prompt/index.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvY29tcG9uZW50cy9zZXJ2aWNlLXByb21wdC9pbmRleC52dWU"],"sourcesContent":["<template>\r\n <view class=\"service-prompt\">\r\n <view class=\"service-header\">\r\n <text class=\"header-text\">你可以这样问我</text>\r\n <image class=\"header-icon\" src=\"./images/icon_refresh.png\"></image>\r\n </view>\r\n <view class=\"service-buttons\">\r\n <button class=\"service-button\" @click=\"handleClick('bed')\">\r\n 帮我加一张床\r\n </button>\r\n <button class=\"service-button\" @click=\"handleClick('hotWater')\">\r\n 房间热水不够热\r\n </button>\r\n <button class=\"service-button\" @click=\"handleClick('mahjong')\">\r\n 帮忙加一台麻将机\r\n </button>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nimport { ref } from \"vue\";\r\n\r\nconst handleClick = (type) => {\r\n console.log(`Button clicked: ${type}`);\r\n // Add your logic here based on the type (e.g., 'bed', 'hotWater', 'mahjong')\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/service-prompt/index.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;;;;;AAuBA,UAAM,cAAc,CAAC,SAAS;AAC5BA,oBAAA,MAAA,MAAA,OAAA,6CAAY,mBAAmB,IAAI,EAAE;AAAA,IAEvC;;;;;;;;;;;;ACzBA,GAAG,gBAAgB,SAAS;"}
|
||||
Reference in New Issue
Block a user