You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
494 B

2 months ago
2 months ago
2 months ago
  1. <template>
  2. <view class="content">
  3. <up-button type="primary" text="点我啊" @click="$goPage('/pages/exercises/chapter/chapter')"></up-button>
  4. <!-- <u-view>点我啊</u-view> -->
  5. </view>
  6. </template>
  7. <script setup>
  8. import { ref,reactive } from 'vue';
  9. import {onLoad,onReady} from "@dcloudio/uni-app"
  10. import { getBannerList } from '@/config/api.js'
  11. async function getBannerListFn() {
  12. const {data: res} = await getBannerList()
  13. console.log(res)
  14. }
  15. getBannerListFn()
  16. </script>