This commit is contained in:
yziiy
2025-08-15 11:07:25 +08:00
parent 125ab7ab9d
commit f77801f9a1
2 changed files with 16 additions and 10 deletions

3
.gitignore vendored
View File

@@ -1 +1,2 @@
node_modules/ node_modules/
unpackage/

View File

@@ -26,7 +26,7 @@
</view> </view>
<view class="w-fill flex-line mt-24"> <view class="w-fill flex-line mt-24">
<view class="" v-for="ele in detailData.user_list"> <view class="" v-for="ele in detailData.user_list">
<view class="image-view"> <view class="image-view" @click="jumpHomePage(ele)">
<img :src="ele.avatar" alt="" /> <img :src="ele.avatar" alt="" />
</view> </view>
<view class="color-9 font-28 mt-24" style="text-align: center;"> <view class="color-9 font-28 mt-24" style="text-align: center;">
@@ -54,14 +54,6 @@
</view> </view>
</view> </view>
</view> </view>
<!-- <view class="edit-notice flex-line w-fill flex-spaceB">
<view class="notice-title">
设置置顶
</view>
<view >
<switch checked color="#457AFF" style="transform:scale(0.7)"/>
</view>
</view> -->
</view> </view>
</view> </view>
</template> </template>
@@ -148,6 +140,19 @@
url: `/pages/union/memberList?guildId=${this.guildId}` url: `/pages/union/memberList?guildId=${this.guildId}`
}); });
}, },
jumpHomePage(data) {
const platform = uni.getSystemInfoSync().platform;
if (platform === 'ios') {
window.webkit.messageHandlers.nativeHandler.postMessage({
'action': 'jumpWebPage',
'data': {
userId: data.user_id
}
});
} else if (platform === 'android') {
window.Android.jumpWebPage(data.user_id);
}
},
async confirmInfo(){ async confirmInfo(){
if (this.guildName === '') { if (this.guildName === '') {
uni.showToast({ uni.showToast({