提交
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<view class="list_item_title">{{item.title}}</view>
|
||||
<view class="list_item_content" v-html="item.content"></view>
|
||||
<view class="list_item_bt">
|
||||
<text class="list_item_study">了解课程</text>
|
||||
<text class="list_item_study" @click="goToDetail(item)">了解课程</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -74,6 +74,11 @@ export default {
|
||||
this.statusNull = true;
|
||||
}
|
||||
});
|
||||
},
|
||||
goToDetail(item){
|
||||
uni.navigateTo({
|
||||
url: `/pages/visitor/detail?navTitle=${item.title}&title=${item.title}&id=${item.id}`,
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user