活动页面展示信息优化-立即报名-卡片高度
This commit is contained in:
parent
a30e24b7fe
commit
f61b3f6c80
|
|
@ -46,8 +46,7 @@
|
|||
<!-- 报名按钮 -->
|
||||
<view
|
||||
v-if="
|
||||
showRegisterButton &&
|
||||
activity.status === ACTIVITY_STATUS.REGISTERING
|
||||
showRegisterButton && activity.status !== ACTIVITY_STATUS.FINISHED
|
||||
"
|
||||
class="register-button"
|
||||
@click.stop="handleRegister"
|
||||
|
|
@ -160,7 +159,7 @@ export default {
|
|||
|
||||
.activity-card {
|
||||
width: 684rpx;
|
||||
height: 370rpx;
|
||||
height: 400rpx;
|
||||
border-radius: 24rpx;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
|
|
|||
|
|
@ -67,7 +67,10 @@
|
|||
</view>
|
||||
|
||||
<!-- 底部操作按钮 -->
|
||||
<view class="bottom-actions">
|
||||
<view
|
||||
v-if="formattedActivity.status !== 'finished'"
|
||||
class="bottom-actions"
|
||||
>
|
||||
<view class="action-button phone-button" @click="handlePhoneCall">
|
||||
<image
|
||||
:src="CommonEnum.PHONE"
|
||||
|
|
@ -116,6 +119,7 @@ export default {
|
|||
error: "",
|
||||
activityData: null,
|
||||
actId: "",
|
||||
activityHasFinished: false,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
|
|
@ -183,6 +187,9 @@ export default {
|
|||
// 处理卡片点击
|
||||
handleCardClick(activity) {
|
||||
console.log("点击活动卡片:", activity);
|
||||
if (activity.status === "finished") {
|
||||
this.activityHasFinished = true;
|
||||
}
|
||||
// 在详情页中点击卡片不执行任何操作
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user