|
@@ -22,7 +22,7 @@
|
|
|
</view>
|
|
|
<!-- 底部 -->
|
|
|
<view class="card-bottom-box">
|
|
|
- <button type="default" class="index-card-btn">课程学习</button>
|
|
|
+ <button type="default" class="index-card-btn" @click="handleStudy(data)">课程学习</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -40,6 +40,12 @@
|
|
|
url:"/pages/client/Kecheng/list?from=shouye"
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
+ function handleStudy(item) {
|
|
|
+ uni.redirectTo({
|
|
|
+ url: `/pages/client/Kecheng/study?kcId=${item.kcId}&from=shouye`
|
|
|
+ })
|
|
|
+ }
|
|
|
</script>
|
|
|
|
|
|
<style>
|