Explorar o código

Merge branch '2025北京诚祥' of https://gogs.mtavip.com/wangguoyu/uniProject into 2025北京诚祥

tanxue hai 2 meses
pai
achega
337f560c3d
Modificáronse 2 ficheiros con 9 adicións e 5 borrados
  1. 8 4
      components/listCard/kechengCard.vue
  2. 1 1
      components/listCard/lianxiCard.vue

+ 8 - 4
components/listCard/kechengCard.vue

@@ -3,7 +3,7 @@
 		<!-- card title -->
 		<view class="card-head-box">
 			<view class="card-line-title">课程</view>
-			<view class="card-more">更多<text class="more-num">{{data.count}}</text><icon class="more-jt"></icon></view>
+			<view class="card-more" @click="checkMore">更多<text class="more-num">{{data.count}}</text><icon class="more-jt"></icon></view>
 		</view>
 		<!-- kaoshi title -->
 		<view class="card-name-box">
@@ -22,9 +22,7 @@
 		</view>
 		<!-- 底部 -->
 		<view class="card-bottom-box">
-			<button type="default" class="index-card-btn" v-if="data.status == 1">课程学习</button>
-			<button type="default" class="index-card-btn" v-if="data.status == 3">学习中</button>
-			<button type="default" class="index-card-btn" v-if="data.status == 2">已完成</button>
+			<button type="default" class="index-card-btn">课程学习</button>
 		</view>
 	</view>
 </template>
@@ -36,6 +34,12 @@
 			type: Object,
 		}
 	})
+	
+	function checkMore() {
+		uni.redirectTo({
+			url:"/pages/client/Kecheng/list"
+		})
+	}
 </script>
 
 <style>

+ 1 - 1
components/listCard/lianxiCard.vue

@@ -36,7 +36,7 @@
 		</view>
 		<!-- 底部 -->
 		<view class="card-bottom-box">
-			<button type="default" class="index-card-btn" @click="handleStart(data)">进行考试</button>
+			<button type="default" class="index-card-btn" @click="handleStart(data)">进行练习</button>
 		</view>
 		
 		<!-- 考试须知 -->