更新羽声语音h5
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="view-page" :style="{backgroundImage : `url('${ThemeData?.app_bg ?? 'https://vespa.qxmier.com/image/bg.png'}')`}">
|
||||
<view class="view-page" :style="{backgroundImage : `url('${ThemeData?.app_bg || $config.PRIMARY_BGURL}')`}">
|
||||
<!-- <headerHeight /> -->
|
||||
<navBar :style="{marginTop: `${statusBarHeight}${uni.getSystemInfoSync().platform === 'ios' ? 'px': 'dp'}`}" :navTitle="'群聊设置'" :emitBack="true" @backEvent="back">
|
||||
</navBar>
|
||||
@@ -24,12 +24,12 @@
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="w-fill flex-line mt-24">
|
||||
<view class="w-fill flex-line mt-24" style="align-items: flex-start;justify-content: space-between;">
|
||||
<view class="" v-for="ele in detailData.user_list">
|
||||
<view class="image-view" @click="jumpHomePage(ele)">
|
||||
<view class="image-view">
|
||||
<img :src="ele.avatar" alt="" />
|
||||
</view>
|
||||
<view class="color-9 font-28 mt-24" style="text-align: center;">
|
||||
<view class="color-9 font-28 mt-24 text-container" style="text-align: center;">
|
||||
{{ele.nickname}}
|
||||
</view>
|
||||
</view>
|
||||
@@ -120,7 +120,7 @@
|
||||
},
|
||||
async getInfo() {
|
||||
http.get('/api/Guild/get_guild_info', {
|
||||
token: uni.getStorageSync('token') ?? '',
|
||||
token: uni.getStorageSync('token') || '',
|
||||
guild_id: this.guildId
|
||||
}).then(response => {
|
||||
const {
|
||||
@@ -140,19 +140,6 @@
|
||||
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(){
|
||||
if (this.guildName === '') {
|
||||
uni.showToast({
|
||||
@@ -217,6 +204,12 @@
|
||||
background-size: 100% 100%;
|
||||
min-height: 100vh;
|
||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||
.text-container {
|
||||
width: 150rpx; /* 指定容器宽度 */
|
||||
white-space: nowrap; /* 防止文本换行 */
|
||||
overflow: hidden; /* 隐藏溢出的文本 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
}
|
||||
.footer {
|
||||
// background: #f0f0f0;
|
||||
padding: 20rpx;
|
||||
@@ -233,8 +226,8 @@
|
||||
height: 84rpx;
|
||||
border-radius: 106rpx;
|
||||
line-height: 84rpx;
|
||||
background-color: #0DFFB9;
|
||||
color: #333;
|
||||
background: var(--primary-color);
|
||||
color: var(--font-button-color);
|
||||
text-align: center;
|
||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||
font-weight: 400;
|
||||
|
||||
Reference in New Issue
Block a user