活动名不省略(支付页面),用户名省略(首页、个人中心,我发布的页面)

This commit is contained in:
wangzimeng 2025-07-24 11:14:55 +08:00
parent 7034317437
commit 3643bbbe9b
5 changed files with 21 additions and 11 deletions

View File

@ -30,7 +30,7 @@
</view>
</view>
<span class="line"></span>
<span class="line" ></span>
<span class="flex align-items" style="width: 100%;justify-content: space-between;">
<view class="tt1">活动时间</view>
<span style="font-size: 14px;">{{ formattedTime() }}</span>
@ -1136,22 +1136,22 @@ export default {
}
.first-name {
// width: 430rpx auto;
max-width: 470rpx;
display: flex;
justify-content: flex-start;
width: 510rpx;
// height: 77rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 600;
font-size: 28rpx;
color: #323232;
// margin-left: 16rpx;
}
.rbot {
width: 430rpx;
width: 510rpx;
height: 52rpx;
font-size: 26rpx;
color: #323232;
margin-top: 60rpx;
margin-top: 36rpx;
}

View File

@ -98,7 +98,7 @@
style="margin-top: 20rpx; width: 100%;padding-left: 30rpx;">
<image :src="item.user.avatar"
style="width: 36rpx; height: 36rpx;border-radius: 50%;"></image>
<span style="color: #9c9c9c; margin-left: 10rpx;">{{
<span class="white-space" style="color: #9c9c9c; margin-left: 10rpx;width: 210rpx;">{{
item.user.nickname
}}</span>
<view class="white-space" style="width: 60%">

View File

@ -82,7 +82,7 @@ export default {
edit(item){
this.isAdd=0;
this.form.name=item.name;
this.form.idnum=item.idnum;
// this.form.idnum=item.idnum;
this.form.ids=item.id;
this.show=true;
},

View File

@ -78,10 +78,10 @@
style="width: 36rpx;height: 36rpx;border-radius: 80rpx;"></image>
<image v-else :src="item.headimage"
style="width: 36rpx;height: 36rpx;border-radius: 80rpx;"></image>
<span v-if="cate_ids != 1" class="white-space" style="color: #9C9C9C;margin-left: 10rpx;width: 220rpx;">{{
<span v-if="cate_ids != 1" class="white-space" style="color: #9C9C9C;margin-left: 10rpx;width: 210rpx;">{{
item.user.nickname }}</span>
<span v-else class="white-space"
style="color: #9C9C9C;margin-left: 10rpx;width: 220rpx;">{{
style="color: #9C9C9C;margin-left: 10rpx;width: 210rpx;">{{
item.teacher.name }}</span>
<view class="white-space" style="width: 60%;">
<span style="color:#0CA013;margin-left: 20rpx;"

View File

@ -96,7 +96,7 @@
<span class="first-image flex align-items" style="margin-top: 20rpx;width: 100%;">
<image :src="item.user.avatar"
style="width: 36rpx;height: 36rpx;border-radius: 80rpx"></image>
<span style="color: #9C9C9C;margin-left: 10rpx;">{{ item.user.nickname }}</span>
<span class="white-space" style="color: #9C9C9C;margin-left: 10rpx;width: 210rpx;">{{ item.user.nickname }}</span>
<view class="white-space" style="width: 60%;">
<span style="color:#0CA013;margin-left: 20rpx;"
v-for="items_t in item.classes_cate">#{{ items_t }}</span>
@ -895,6 +895,16 @@
</script>
<style lang="scss" scoped>
.white-space {
overflow: hidden;
/* 确保超出容器的文本被隐藏 */
white-space: nowrap;
/* 确保文本在一行内显示 */
text-overflow: ellipsis;
/* 使用省略号表示被截断的文本 */
width: 100%;
}
.myBox {
position: fixed;
padding-top: 200rpx;