Index.vue 689 B

12345678910111213141516171819202122232425262728293031323334
  1. <script setup>
  2. import {ref,reactive} from 'vue'
  3. import {apiPPTClassify} from '@/api/ppt'
  4. import MobileClassifyWrap from './components/MobileClassifyWrap.vue'
  5. import { useRouter } from 'vue-router'
  6. const router=useRouter()
  7. // 跳转搜索
  8. function goMobileSearch(){
  9. router.push('/ppt/search')
  10. }
  11. </script>
  12. <template>
  13. <div class="ppt-index-page">
  14. <div class="search-box">
  15. <van-search
  16. shape="round"
  17. readonly
  18. placeholder="请输入搜索关键词"
  19. @click="goMobileSearch"
  20. />
  21. </div>
  22. <MobileClassifyWrap/>
  23. </div>
  24. </template>
  25. <style lang="scss" scoped>
  26. </style>