style:合并

This commit is contained in:
李晓鸽
2022-09-15 09:07:55 +08:00
parent eb3a714396
commit 7d87467535
6 changed files with 182 additions and 0 deletions

4
src/components/index.js Normal file
View File

@@ -0,0 +1,4 @@
import CompulsoryTag from './tag/CompulsoryTag.vue'
export {
CompulsoryTag
}

View File

@@ -0,0 +1,27 @@
<!-- 必修标签 -->
<template>
<div class="compulsoryTag">
<div class="btn">必修</div>
</div>
</template>
<script>
export default {
name: "CompulsoryTag",
};
</script>
<style scoped lang="scss">
.compulsoryTag {
.btn {
width: 80px;
height: 26px;
background: linear-gradient(90deg, #84aad2 0%, #a4c5e9 100%);
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-weight: 500;
color: #ffffff;
}
}
</style>

View File