im-ui-mobile 0.1.1 → 0.1.2
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/components/im-read-receipt/im-read-receipt.vue +2 -2
- package/components/im-tabs/im-tabs.vue +1022 -0
- package/components/im-tabs/tabs-navigation.vue +489 -0
- package/components/im-tabs/utils/helper.ts +181 -0
- package/components/im-tabs-tab-pane/im-tabs-tab-pane.vue +145 -0
- package/index.js +0 -4
- package/package.json +1 -1
- package/types/components/stepper.d.ts +2 -0
- package/types/components/tabs-tab-pane.d.ts +27 -0
- package/types/components/tabs.d.ts +117 -0
- package/types/components.d.ts +2 -0
- package/plugins/uview-plus.js +0 -29
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<im-popup ref="popup" position="bottom">
|
|
3
3
|
<view class="read-receipt">
|
|
4
4
|
<view class="uni-padding-wrap uni-common-mt">
|
|
5
|
-
<
|
|
5
|
+
<im-tabs :current="current" :items="items" :show-bar="false" @change="onClickItem" />
|
|
6
6
|
</view>
|
|
7
7
|
<view class="content">
|
|
8
8
|
<view v-if="current === 0">
|
|
@@ -54,7 +54,7 @@ interface Member {
|
|
|
54
54
|
|
|
55
55
|
const props = defineProps<Props>();
|
|
56
56
|
|
|
57
|
-
const items = ref([{
|
|
57
|
+
const items = ref([{ title: '已读' }, { title: '未读' }]);
|
|
58
58
|
const current = ref(0);
|
|
59
59
|
const readedMembers = ref<Member[]>([]);
|
|
60
60
|
const unreadMembers = ref<Member[]>([]);
|