Skip to content

Danghui 党徽

快速引用一个符合标准的党徽图片,该组件有助于规范化、标准化。

图案颜色

党徽图案一般使用金黄色或者红色。

黄色:R=253 G=207 B=48

红色:R=237 G=44 B=37

需要悬挂非通用尺度党徽的,应当按照通用尺度成比例适当放大或者缩小,与悬挂背景、场合相适应。

基础使用

控制台
 宽度:100px 
vue
<template>
	<gov-danghui :width="width" type="red" />
	<gov-danghui :width="width" type="yellow" />
</template>

<script setup>
import { ref } from "vue";
const width = ref(200);
</script>

Attributes

参数类型默认值描述
widthNumber / String1080团宽度,单位 px。
typeStringred图案颜色,可设置为 'red'、'yellow'。

Released under the MIT License.