临时开启视频测试

This commit is contained in:
2022-02-17 17:06:41 +08:00
5 changed files with 59 additions and 52 deletions

View File

@@ -4,16 +4,14 @@
<view :class="['user', {'active': item.targetId === currentUser.targetId}]" @longpress="showAction(item)"
v-for="(item, index) in users" :key="index" @click="toUser(item)">
<view class="avatar">
<u-avatar :size="avatarSize" shape="square" :src="contact(item.targetId).portraitUrl"></u-avatar>
<u-avatar :size="avatarSize" shape="square" :src="contact(item.targetId).portraitUrl" />
<view class="admin" v-if="item.is_admin === 1">管理</view>
<view class="owner" v-if="item.is_admin === 2">群主</view>
</view>
<view class="name">{{ item.name }}</view>
</view>
<view class="user" v-if="isAdmin">
<u-avatar @click="inviteUser" :size="avatarSize" shape="square" icon="plus" bg-color="#eeeeee"
color="#999999">
</u-avatar>
<u-avatar @click="inviteUser" :size="avatarSize" shape="square" icon="plus" bgColor="#f9f9f9" color="#c7c7c7" />
<view class="name">邀请好友</view>
</view>
</view>
@@ -24,8 +22,7 @@
</view>
<u-action-sheet :actions="actionMap" :title="actionTitle" cancelText="取消" @close="hideAction"
@select="handleAction" :show="actionShow">
</u-action-sheet>
@select="handleAction" :show="actionShow" />
</view>
</template>
@@ -282,7 +279,7 @@
background-color: $main-color;
transform: rotate(45deg);
color: #ffffff;
font-size: 12rpx;
font-size: 16rpx;
width: 100rpx;
padding-top: 30rpx;
text-align: center;
@@ -295,7 +292,7 @@
background-color: $text-price;
transform: rotate(45deg);
color: #ffffff;
font-size: 12rpx;
font-size: 16rpx;
width: 100rpx;
padding-top: 30rpx;
text-align: center;
@@ -306,14 +303,16 @@
}
.name {
color: $text-gray-m;
color: 20rpx;
width: 126rpx;
padding-top: 6rpx;
text-align: center;
font-size: 26rpx;
font-size: 22rpx !important;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
word-break: break-word;
color: $text-gray-m !important;
}
}