Commit 1f80e647 by 冷斌

fix bug

parent 7decd4a6
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
</div> </div>
<template v-if="myTab == 1"> <template v-if="myTab == 1">
<div v-for="(item, index) in myCollect" :key="index" class="class_item layout_h"> <div v-for="(item, index) in myCollect" :key="index" class="class_item layout_h">
<div class="zhenti_my_collect_cell layout_v"> <div class="zhenti_my_collect_cell layout_v" @click="showQuestion(item)">
<div class="text_16_600 color_333333" v-html="item.content"></div> <div class="text_16_600 color_333333" v-html="item.content"></div>
<div class="text_12_400 color_999999 zhenti_my_collect_cell_time">{{item.time}}</div> <div class="text_12_400 color_999999 zhenti_my_collect_cell_time">{{item.time}}</div>
</div> </div>
...@@ -404,6 +404,10 @@ ...@@ -404,6 +404,10 @@
} }
} }
}) })
},
showQuestion: function (item) {
let url = "{:U('exams/index/showQuestioninfo')}" + "&question_id=" + item.id;
window.location.href = url
} }
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment