im-ui-mobile 0.0.8 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{src/components → components}/chat-item/index.vue +11 -7
- package/package.json +6 -6
- package/{src/types → types}/components/chat-item/index.vue.d.ts +0 -1
- /package/{src/components → components}/chat-box/index.vue +0 -0
- /package/{src/components → components}/chat-message-item/index.vue +0 -0
- /package/{src/index.js → index.js} +0 -0
- /package/{src/libs → libs}/index.ts +0 -0
- /package/{src/libs → libs}/recorder.ts +0 -0
- /package/{src/libs → libs}/user.ts +0 -0
- /package/{src/types → types}/components/chat-box/index.vue.d.ts +0 -0
- /package/{src/types → types}/components/chat-message-item/index.vue.d.ts +0 -0
- /package/{src/types → types}/index.d.ts +0 -0
- /package/{src/types → types}/libs/index.d.ts +0 -0
- /package/{src/types → types}/libs/recorder.d.ts +0 -0
- /package/{src/types → types}/libs/user.d.ts +0 -0
- /package/{src/types → types}/utils/auth.d.ts +0 -0
- /package/{src/types → types}/utils/datetime.d.ts +0 -0
- /package/{src/types → types}/utils/emotion.d.ts +0 -0
- /package/{src/types → types}/utils/enums.d.ts +0 -0
- /package/{src/types → types}/utils/env.d.ts +0 -0
- /package/{src/types → types}/utils/eventBus/EventBusImpl.d.ts +0 -0
- /package/{src/types → types}/utils/eventBus/EventCallback.d.ts +0 -0
- /package/{src/types → types}/utils/eventBus/GlobalEventCallback.d.ts +0 -0
- /package/{src/types → types}/utils/eventBus/IEventBus.d.ts +0 -0
- /package/{src/types → types}/utils/eventBus/IEventListener.d.ts +0 -0
- /package/{src/types → types}/utils/eventBus/index.d.ts +0 -0
- /package/{src/types → types}/utils/htmlEscape.d.ts +0 -0
- /package/{src/types → types}/utils/index.d.ts +0 -0
- /package/{src/types → types}/utils/messageType.d.ts +0 -0
- /package/{src/types → types}/utils/recorderApp.d.ts +0 -0
- /package/{src/types → types}/utils/recorderH5.d.ts +0 -0
- /package/{src/types → types}/utils/request.d.ts +0 -0
- /package/{src/types → types}/utils/requestx.d.ts +0 -0
- /package/{src/types → types}/utils/url.d.ts +0 -0
- /package/{src/types → types}/utils/useDynamicRefs.d.ts +0 -0
- /package/{src/types → types}/utils/websocket.d.ts +0 -0
- /package/{src/utils → utils}/auth.ts +0 -0
- /package/{src/utils → utils}/datetime.ts +0 -0
- /package/{src/utils → utils}/emotion.ts +0 -0
- /package/{src/utils → utils}/enums.ts +0 -0
- /package/{src/utils → utils}/env.ts +0 -0
- /package/{src/utils → utils}/eventBus/EventBusImpl.ts +0 -0
- /package/{src/utils → utils}/eventBus/EventCallback.ts +0 -0
- /package/{src/utils → utils}/eventBus/GlobalEventCallback.ts +0 -0
- /package/{src/utils → utils}/eventBus/IEventBus.ts +0 -0
- /package/{src/utils → utils}/eventBus/IEventListener.ts +0 -0
- /package/{src/utils → utils}/eventBus/index.ts +0 -0
- /package/{src/utils → utils}/htmlEscape.ts +0 -0
- /package/{src/utils → utils}/index.ts +0 -0
- /package/{src/utils → utils}/messageType.ts +0 -0
- /package/{src/utils → utils}/recorderApp.ts +0 -0
- /package/{src/utils → utils}/recorderH5.ts +0 -0
- /package/{src/utils → utils}/request.ts +0 -0
- /package/{src/utils → utils}/requestx.ts +0 -0
- /package/{src/utils → utils}/url.ts +0 -0
- /package/{src/utils → utils}/useDynamicRefs.ts +0 -0
- /package/{src/utils → utils}/websocket.ts +0 -0
|
@@ -65,15 +65,19 @@ export default {
|
|
|
65
65
|
},
|
|
66
66
|
methods: {
|
|
67
67
|
handleClick() {
|
|
68
|
-
|
|
68
|
+
// 添加更多调试信息
|
|
69
|
+
try {
|
|
70
|
+
uni.showModal({
|
|
71
|
+
title: `点击了 ${this.name}`,
|
|
72
|
+
icon: 'none',
|
|
73
|
+
duration: 2000
|
|
74
|
+
})
|
|
75
|
+
console.log('✅ uni.showToast 调用成功')
|
|
76
|
+
} catch (error) {
|
|
77
|
+
console.error('❌ uni.showToast 调用失败:', error)
|
|
78
|
+
}
|
|
69
79
|
this.$emit('click')
|
|
70
80
|
},
|
|
71
|
-
showToast(message) {
|
|
72
|
-
uni.showToast({
|
|
73
|
-
title: message,
|
|
74
|
-
icon: 'none'
|
|
75
|
-
})
|
|
76
|
-
},
|
|
77
81
|
}
|
|
78
82
|
}
|
|
79
83
|
</script>
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "im-ui-mobile",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "A Vue3.0 + typescript instant messaging component library for Uniapp",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
8
|
+
"components",
|
|
9
|
+
"libs",
|
|
10
|
+
"types",
|
|
11
|
+
"utils",
|
|
12
12
|
"index.js"
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
15
|
"dev": "cd examples && npm run dev:h5",
|
|
16
|
-
"build": "npm run build:types",
|
|
16
|
+
"build": "npm run build:types",
|
|
17
17
|
"build:types": "vue-tsc -p tsconfig.build.json",
|
|
18
18
|
"clean:types": "rmdir /s /q src/types 2>nul # '删除 types 目录'",
|
|
19
19
|
"prepublishOnly": "npm run build"
|
|
@@ -29,7 +29,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
29
|
displayUnreadCount(): number | "99+";
|
|
30
30
|
}, {
|
|
31
31
|
handleClick(): void;
|
|
32
|
-
showToast(message: any): void;
|
|
33
32
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
33
|
type: {
|
|
35
34
|
type: StringConstructor;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|