mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-18 15:26:51 +08:00
style:合并
This commit is contained in:
4
src/components/index.js
Normal file
4
src/components/index.js
Normal file
@@ -0,0 +1,4 @@
|
||||
import CompulsoryTag from './tag/CompulsoryTag.vue'
|
||||
export {
|
||||
CompulsoryTag
|
||||
}
|
||||
27
src/components/tag/CompulsoryTag.vue
Normal file
27
src/components/tag/CompulsoryTag.vue
Normal 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>
|
||||
0
src/components/tag/OnLine.vue
Normal file
0
src/components/tag/OnLine.vue
Normal file
Reference in New Issue
Block a user