优化页面

This commit is contained in:
pengxiaolong
2025-06-09 23:02:05 +08:00
parent c5042d08c3
commit 8c70c2c850
605 changed files with 661 additions and 945 deletions

View File

@@ -1 +1 @@
{"version":3,"file":"message-call-group.js","sources":["TUIKit/plugins/plugin-components/message-call/message-call-group.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9UVUlLaXQvcGx1Z2lucy9wbHVnaW4tY29tcG9uZW50cy9tZXNzYWdlLWNhbGwvbWVzc2FnZS1jYWxsLWdyb3VwLnZ1ZQ"],"sourcesContent":["<template>\n <div\n v-if=\"isCallMessage && conversationType === TYPES.CONV_GROUP\"\n :class=\"{ 'blink-text': isBlink }\"\n >\n {{ custom }}\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed } from '../../../adapter-vue';\nimport TUIChatEngine, { IMessageModel } from '@tencentcloud/chat-uikit-engine';\n\ninterface IProps {\n message: IMessageModel;\n signalingInfo: any;\n customContent: any;\n blinkMessageIDList?: string[];\n}\n\nconst props = withDefaults(defineProps<IProps>(), {\n message: () => ({}) as IMessageModel,\n signalingInfo: () => ({}),\n customContent: () => ({}),\n blinkMessageIDList: () => [],\n});\n\nconst TYPES = TUIChatEngine.TYPES;\nconst isCallMessage = computed(() => !!props.signalingInfo);\nconst conversationType = computed(() => props.message?.conversationType);\nconst custom = computed(() => props.customContent?.custom);\n\nconst isBlink = computed(() => {\n if (props.message?.ID) {\n return props.blinkMessageIDList?.includes(props.message.ID);\n }\n return false;\n});\n</script>\n\n<style scoped lang=\"scss\">\n@keyframes blink-text {\n 50% {\n color: #ff9c19;\n }\n}\n\n.blink-text {\n animation: blinkText 1s linear 3;\n}\n</style>\n","import Component from 'D:/项目/tk-mini-program/TUIKit/plugins/plugin-components/message-call/message-call-group.vue'\nwx.createComponent(Component)"],"names":["TUIChatEngine","computed"],"mappings":";;;;;;;;;;;;AAoBA,UAAM,QAAQ;AAOd,UAAM,QAAQA,cAAc,GAAA;AAC5B,UAAM,gBAAgBC,cAAAA,SAAS,MAAM,CAAC,CAAC,MAAM,aAAa;AAC1D,UAAM,mBAAmBA,cAAAA,SAAS,MAAA;;AAAM,yBAAM,YAAN,mBAAe;AAAA,KAAgB;AACvE,UAAM,SAASA,cAAAA,SAAS,MAAA;;AAAM,yBAAM,kBAAN,mBAAqB;AAAA,KAAM;AAEnD,UAAA,UAAUA,cAAAA,SAAS,MAAM;;AACzB,WAAA,WAAM,YAAN,mBAAe,IAAI;AACrB,gBAAO,WAAM,uBAAN,mBAA0B,SAAS,MAAM,QAAQ;AAAA,MAC1D;AACO,aAAA;AAAA,IAAA,CACR;;;;;;;;;;;;ACpCD,GAAG,gBAAgB,SAAS;"}
{"version":3,"file":"message-call-group.js","sources":["TUIKit/plugins/plugin-components/message-call/message-call-group.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9UVUlLaXQvcGx1Z2lucy9wbHVnaW4tY29tcG9uZW50cy9tZXNzYWdlLWNhbGwvbWVzc2FnZS1jYWxsLWdyb3VwLnZ1ZQ"],"sourcesContent":["<template>\r\n <div\r\n v-if=\"isCallMessage && conversationType === TYPES.CONV_GROUP\"\r\n :class=\"{ 'blink-text': isBlink }\"\r\n >\r\n {{ custom }}\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { computed } from '../../../adapter-vue';\r\nimport TUIChatEngine, { IMessageModel } from '@tencentcloud/chat-uikit-engine';\r\n\r\ninterface IProps {\r\n message: IMessageModel;\r\n signalingInfo: any;\r\n customContent: any;\r\n blinkMessageIDList?: string[];\r\n}\r\n\r\nconst props = withDefaults(defineProps<IProps>(), {\r\n message: () => ({}) as IMessageModel,\r\n signalingInfo: () => ({}),\r\n customContent: () => ({}),\r\n blinkMessageIDList: () => [],\r\n});\r\n\r\nconst TYPES = TUIChatEngine.TYPES;\r\nconst isCallMessage = computed(() => !!props.signalingInfo);\r\nconst conversationType = computed(() => props.message?.conversationType);\r\nconst custom = computed(() => props.customContent?.custom);\r\n\r\nconst isBlink = computed(() => {\r\n if (props.message?.ID) {\r\n return props.blinkMessageIDList?.includes(props.message.ID);\r\n }\r\n return false;\r\n});\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@keyframes blink-text {\r\n 50% {\r\n color: #ff9c19;\r\n }\r\n}\r\n\r\n.blink-text {\r\n animation: blinkText 1s linear 3;\r\n}\r\n</style>\r\n","import Component from 'D:/项目/tk-mini-program/TUIKit/plugins/plugin-components/message-call/message-call-group.vue'\nwx.createComponent(Component)"],"names":["TUIChatEngine","computed"],"mappings":";;;;;;;;;;;;AAoBA,UAAM,QAAQ;AAOd,UAAM,QAAQA,cAAc,GAAA;AAC5B,UAAM,gBAAgBC,cAAAA,SAAS,MAAM,CAAC,CAAC,MAAM,aAAa;AAC1D,UAAM,mBAAmBA,cAAAA,SAAS,MAAA;;AAAM,yBAAM,YAAN,mBAAe;AAAA,KAAgB;AACvE,UAAM,SAASA,cAAAA,SAAS,MAAA;;AAAM,yBAAM,kBAAN,mBAAqB;AAAA,KAAM;AAEnD,UAAA,UAAUA,cAAAA,SAAS,MAAM;;AACzB,WAAA,WAAM,YAAN,mBAAe,IAAI;AACrB,gBAAO,WAAM,uBAAN,mBAA0B,SAAS,MAAM,QAAQ;AAAA,MAC1D;AACO,aAAA;AAAA,IAAA,CACR;;;;;;;;;;;;ACpCD,GAAG,gBAAgB,SAAS;"}