From 6277a1c29f85487a37596bfc524933f5ba063845 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=94=90=E6=98=8E=E6=98=8E?= <970899069@qq.com>
Date: Mon, 17 Jul 2023 11:50:55 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B4=AD=E4=B9=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/empower/info.vue | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/pages/empower/info.vue b/pages/empower/info.vue
index a11a18f..d44a24d 100644
--- a/pages/empower/info.vue
+++ b/pages/empower/info.vue
@@ -31,7 +31,7 @@
@@ -72,6 +72,13 @@
},
methods: {
onBuy(){
+ if(this.count.ing <= 0){
+ uni.showToast({
+ title: '暂无可报名学期',
+ icon : 'none'
+ })
+ return
+ }
this.$Router.push({
name : 'EmpowerBuy',
params : { id: this.id }
@@ -131,5 +138,6 @@
background-color: white;
box-shadow: 0 0 10rpx 10rpx rgba(0, 0, 0, .04);
.footer-btn{ background: $mian-color; color: white; line-height: 100rpx; border-radius: 50rpx; flex: 1; text-align: center; font-weight: bold; font-size: 36rpx; }
+ .footer-btn.in{ opacity: .6; }
}