+
+ {
+ this.setState(
+ {
+ keyword: v,
+ },
+ () => {
+ this.rebuildIndex();
}
- }, {
- title: "分享给朋友...", onClick: () => {
- WKApp.shared.baseContext.showConversationSelect((channels: Channel[]) => {
- const { selectedItem } = this.state
- if (channels && channels.length > 0) {
- for (const channel of channels) {
- const card = new Card()
- card.uid = selectedItem?.uid || ""
- card.name = selectedItem?.name || ""
- card.vercode = selectedItem?.vercode||""
- WKSDK.shared().chatManager.send(card, channel)
- }
- Toast.success("分享成功!")
- }
- }, "分享名片")
- }
- }]} />
+ );
+ }}
+ >
-
- }
-}
\ No newline at end of file
+
+ {WKApp.endpoints.contactsHeaders().map((view, i) => {
+ return
{view}
;
+ })}
+
+
+ {indexList.map((indexName) => {
+ return this.sectionUI(indexName);
+ })}
+
+