扩展小程序开发

This commit is contained in:
guorui
2025-03-04 11:19:49 +08:00
parent 5c6daa1edb
commit b7993664d6
295 changed files with 27273 additions and 7 deletions

View File

@@ -0,0 +1,22 @@
<template>
<div>
<svg-icon :icon-class="isFullscreen ? 'exit-fullscreen' : 'fullscreen'" @click="toggle" />
</div>
</template>
<script setup>
import { useFullscreen } from '@vueuse/core'
const { isFullscreen, enter, exit, toggle } = useFullscreen();
</script>
<style lang='scss' scoped>
.screenfull-svg {
display: inline-block;
cursor: pointer;
fill: #5a5e66;
width: 20px;
height: 20px;
vertical-align: 10px;
}
</style>