2024-08-12 02:18:11 +00:00
|
|
|
|
<template>
|
|
|
|
|
|
<div class="styles">
|
2024-09-03 06:27:36 +00:00
|
|
|
|
<common-styles :value="form.common_style" @update:value="common_styles_update" />
|
2024-08-12 02:18:11 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
2024-10-18 07:57:45 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* @description: 视频 (样式)
|
|
|
|
|
|
* @param value{Object} 样式数据
|
|
|
|
|
|
*/
|
2024-08-12 02:18:11 +00:00
|
|
|
|
const props = defineProps({
|
|
|
|
|
|
value: {
|
|
|
|
|
|
type: Object,
|
|
|
|
|
|
default: () => {
|
|
|
|
|
|
return {};
|
|
|
|
|
|
},
|
|
|
|
|
|
},
|
|
|
|
|
|
});
|
|
|
|
|
|
const emit = defineEmits(['update:value']);
|
|
|
|
|
|
// 默认值
|
|
|
|
|
|
let form = reactive(props.value);
|
2024-10-18 07:57:45 +00:00
|
|
|
|
// 公共样式回调
|
2024-08-12 02:18:11 +00:00
|
|
|
|
const common_styles_update = (val: Object) => {
|
|
|
|
|
|
form.common_style = val;
|
|
|
|
|
|
};
|
|
|
|
|
|
</script>
|
2024-09-03 06:27:36 +00:00
|
|
|
|
<style lang="scss" scoped></style>
|