|
|
@ -1,7 +1,7 @@ |
|
|
<!-- FloatingBall.vue --> |
|
|
<!-- FloatingBall.vue --> |
|
|
<script setup> |
|
|
<script lang='ts' setup> |
|
|
import { ref, computed } from 'vue' |
|
|
import { ref, computed } from 'vue' |
|
|
|
|
|
import aipng from '@/assets/image/icon_ai.png' |
|
|
const emit = defineEmits(['click']) |
|
|
const emit = defineEmits(['click']) |
|
|
|
|
|
|
|
|
const x = ref(window.innerWidth - 60) |
|
|
const x = ref(window.innerWidth - 60) |
|
|
@ -76,7 +76,7 @@ function onUp() { |
|
|
@touchstart="startDrag" |
|
|
@touchstart="startDrag" |
|
|
@click.stop |
|
|
@click.stop |
|
|
> |
|
|
> |
|
|
<slot>AI</slot> |
|
|
<el-image :src="aipng" /> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
|