更新:登录功能
This commit is contained in:
37
uni_modules/wot-design-uni/components/wd-steps/wd-steps.vue
Normal file
37
uni_modules/wot-design-uni/components/wd-steps/wd-steps.vue
Normal file
@@ -0,0 +1,37 @@
|
||||
<!--
|
||||
* @Author: weisheng
|
||||
* @Date: 2023-06-12 18:40:58
|
||||
* @LastEditTime: 2024-03-15 13:42:55
|
||||
* @LastEditors: weisheng
|
||||
* @Description:
|
||||
* @FilePath: \wot-design-uni\src\uni_modules\wot-design-uni\components\wd-steps\wd-steps.vue
|
||||
* 记得注释
|
||||
-->
|
||||
<template>
|
||||
<view :class="`wd-steps ${customClass} ${vertical ? 'is-vertical' : ''}`" :style="customStyle">
|
||||
<slot />
|
||||
</view>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'wd-steps',
|
||||
options: {
|
||||
addGlobalClass: true,
|
||||
virtualHost: true,
|
||||
styleIsolation: 'shared'
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script lang="ts" setup>
|
||||
import { useChildren } from '../composables/useChildren'
|
||||
import { STEPS_KEY, stepsProps } from './types'
|
||||
|
||||
const props = defineProps(stepsProps)
|
||||
|
||||
const { linkChildren } = useChildren(STEPS_KEY)
|
||||
|
||||
linkChildren({ props })
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import './index.scss';
|
||||
</style>
|
||||
Reference in New Issue
Block a user