根据uniapp调整工程结构

This commit is contained in:
aixianling
2024-10-31 15:06:02 +08:00
parent 9b524f390c
commit b7d6c222e7
54 changed files with 1 additions and 2 deletions

28
components/AiGap.vue Normal file
View File

@@ -0,0 +1,28 @@
<template>
<section class="AiGap" :style="{height,width}"/>
</template>
<script>
export default {
name: "AiGap",
props: {
h: {default: 30},
w: {default: '100%'}
},
computed: {
height() {
let {h} = this
return /\d/.test(h) ? `${h}rpx` : h
},
width() {
let {w} = this
return /\d/.test(w) ? `${w}rpx` : w
}
}
}
</script>
<style lang="scss" scoped>
.AiGap {
}
</style>