index.vue 326 B

12345678910111213141516171819202122232425262728
  1. <template>
  2. <view class="home">
  3. 首页
  4. </view>
  5. </template>
  6. <script lang="ts" setup>
  7. import { reactive } from 'vue';
  8. import { onShow } from '@dcloudio/uni-app';
  9. interface State {
  10. };
  11. const state: State = reactive({
  12. });
  13. onShow(() => {
  14. });
  15. </script>
  16. <style lang="scss" scoped>
  17. .home {
  18. padding: 0 20rpx;
  19. }
  20. </style>