From 16cf21bce63759261b629ded47d812b497a0bd15 Mon Sep 17 00:00:00 2001 From: jiangnan <389163362@qq.com> Date: Thu, 3 Aug 2023 17:30:25 +0800 Subject: [PATCH] gx --- src/pagesD/wyxx/index.vue | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/src/pagesD/wyxx/index.vue b/src/pagesD/wyxx/index.vue index fef8456..cd03475 100644 --- a/src/pagesD/wyxx/index.vue +++ b/src/pagesD/wyxx/index.vue @@ -63,29 +63,26 @@ - + - - {{ item.title }} + {{ item.title ? item.title : '暂无' }} - 节目:{{ item.teamName }} + 节目:{{ item.teamName ? item.teamName : '暂无' }} - 团队:{{ item.showName }} + 团队:{{ item.showName ? item.showName : '暂无' }} - 开始时间:{{ item.startTime }} + 开始时间:{{ item.startTime ? item.startTime : '暂无' }} - 截止时间:{{ item.endTime }} + 截止时间:{{ item.endTime ? item.endTime : '暂无' }} @@ -108,12 +105,10 @@ export default { villageId: '', team: [], program: [], - loadings: true + loadings: true, + isadmin: false }; }, - onShow () { - // this.getData(); - }, methods: { toTab (val) { this.tabC = val; @@ -172,6 +167,7 @@ export default { } }, async onShow () { + this.isadmin = uni.getStorageSync('isAdmin'); await this.teamandprogram() await this.RuralDevelopmentPlanlist() }, @@ -230,7 +226,7 @@ export default { // overflow-y: auto; .teamBox { - height: 140rpx; + height: 180rpx; padding: 18rpx 10rpx; background-color: #fff; // background-color: rgb(241, 243, 244); @@ -243,7 +239,7 @@ export default { image { width: 180rpx; - height: 130rpx; + height: 180rpx; background-size: contain; } } @@ -287,7 +283,7 @@ export default { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; - -webkit-line-clamp: 2; + -webkit-line-clamp: 3; -webkit-box-orient: vertical; } }