更新:登录功能

This commit is contained in:
2025-11-04 12:37:04 +08:00
commit a21fb92916
897 changed files with 51500 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<template>
<view :class="`wd-gap ${safeAreaBottom ? 'wd-gap--safe' : ''} ${customClass}`" :style="rootStyle"></view>
</template>
<script lang="ts">
export default {
name: 'wd-gap',
options: {
addGlobalClass: true,
virtualHost: true,
styleIsolation: 'shared'
}
}
</script>
<script setup lang="ts">
import { type CSSProperties, computed } from 'vue'
import { addUnit, isDef, objToStyle } from '../common/util'
import { gapProps } from './types'
const props = defineProps(gapProps)
const rootStyle = computed(() => {
const rootStyle: CSSProperties = {}
if (isDef(props.bgColor)) {
rootStyle['background'] = props.bgColor
}
if (isDef(props.height)) {
rootStyle['height'] = addUnit(props.height)
}
return `${objToStyle(rootStyle)}${props.customStyle}`
})
</script>
<style lang="scss" scoped>
@import './index.scss';
</style>