|
|
@@ -3,6 +3,8 @@
|
|
|
<search-bar></search-bar>
|
|
|
<section>
|
|
|
<h1 class="sub-title">最近浏览</h1>
|
|
|
+ <c-button @click.native="push()">临时:PDF阅读器链接</c-button>
|
|
|
+ <br>
|
|
|
</section>
|
|
|
<section>
|
|
|
<h1 class="sub-title">课程列表</h1>
|
|
|
@@ -12,8 +14,15 @@
|
|
|
|
|
|
<script>
|
|
|
import SearchBar from '@/components/SearchBar'
|
|
|
+import CButton from '@/components/CButton'
|
|
|
export default {
|
|
|
- components: { SearchBar }
|
|
|
+ components: { CButton, SearchBar },
|
|
|
+ methods: {
|
|
|
+ // todo 临时
|
|
|
+ push () {
|
|
|
+ this.$router.push('/pdf-reader/1')
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</script>
|
|
|
|