📝: 更新日志

This commit is contained in:
就眠儀式
2022-05-27 10:16:53 +08:00
parent 2ae3335394
commit b905e478a5
4 changed files with 6 additions and 10 deletions

View File

@@ -26,7 +26,7 @@ const emit = defineEmits(["update:modelValue", "change"]);
const selectedIcon: Ref<string> = ref(props.modelValue as string);
const dropdownRef = ref<any>(null);
const selectIcon = function (icon: string) : void {
const selectIcon = function (icon: string): void {
emit("update:modelValue", icon);
emit("change", icon);
selectedIcon.value = icon;

View File

@@ -1,12 +1,12 @@
<template>
<div
class="layui-notice-bar"
:style="{ 'background': background, 'height': `${height}px` }"
:style="{ background: background, height: `${height}px` }"
v-show="!state.isMode"
>
<div
class="layui-notice-bar-warp"
:style="{ 'color': color , 'font-size': `${size}px` }"
:style="{ color: color, 'font-size': `${size}px` }"
>
<lay-icon
v-if="leftIcon"
@@ -62,12 +62,7 @@ export default {
</script>
<script lang="ts" setup>
import {
onMounted,
reactive,
nextTick,
ref
} from "vue";
import { onMounted, reactive, nextTick, ref } from "vue";
import LayCarousel from "../carousel/index.vue";
import LayCarouselItem from "../carouselItem/index.vue";
import { LayIcon } from "@layui/icons-vue";

View File

@@ -2,4 +2,4 @@ import { withInstall, WithInstallType } from "../../utils";
import Component from "./index.vue";
const component: WithInstallType<typeof Component> = withInstall(Component);
export default component;
export default component;