feat: 用户管理和数字人授权
This commit is contained in:
@@ -4,13 +4,26 @@ const props = defineProps({
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
lineGradientFrom: {
|
||||
type: String,
|
||||
default: 'primary',
|
||||
},
|
||||
lineGradientTo: {
|
||||
type: String,
|
||||
default: 'primary',
|
||||
},
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div
|
||||
class="bg-gradient-to-r from-primary-500/50 to-primary-300/50 rounded-full my-4"
|
||||
:class="{'w-full h-[1px]': !vertical, 'w-[1px] h-full': vertical}"
|
||||
:class="{
|
||||
'w-full h-[1px]': !vertical,
|
||||
'w-[1px] h-full': vertical,
|
||||
[`from-${lineGradientFrom}-500/50`]: true,
|
||||
[`to-${lineGradientTo}-300/50`]: true,
|
||||
}"
|
||||
class="bg-gradient-to-r rounded-full my-4"
|
||||
></div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user