-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
周必川
committed
May 9, 2024
1 parent
7e460c5
commit f7cfbf8
Showing
71 changed files
with
597 additions
and
460 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Button from './src/button.vue' | ||
/* istanbul ignore next */ | ||
Button.install = function (Vue) { | ||
Vue.component(Button.name, Button) | ||
} | ||
export default Button |
6 changes: 3 additions & 3 deletions
6
components/button/button.vue → components/button/src/button-group.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<template> | ||
<div class="vue-button" :class="type" v-bind="$attrs" v-on="$listeners"> | ||
<slot></slot> | ||
</div> | ||
</template> | ||
<script> | ||
export default { | ||
name: "VueButton", | ||
props: { | ||
type: { | ||
type: String, | ||
default: "default", | ||
}, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.vue-button { | ||
display: inline-block; | ||
padding: 5px 20px; | ||
border: 1px solid gray; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
} | ||
.default { | ||
background-color: #FFFFFF; | ||
} | ||
.primary { | ||
background-color: #409eff; | ||
} | ||
.success { | ||
background-color: #67C23A; | ||
} | ||
.warning { | ||
background-color: #E6A23C; | ||
} | ||
.danger { | ||
background-color: #F56C6C; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import CheckBoxGroup from '../checkbox/src/checkbox-group.vue' | ||
/* istanbul ignore next */ | ||
CheckBoxGroup.install = function (Vue) { | ||
Vue.component(CheckBoxGroup.name, CheckBoxGroup) | ||
} | ||
export default CheckBoxGroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import CheckBox from './src/checkbox.vue' | ||
/* istanbul ignore next */ | ||
CheckBox.install = function (Vue) { | ||
Vue.component(CheckBox.name, CheckBox) | ||
} | ||
export default CheckBox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Component from './src/component.vue' | ||
/* istanbul ignore next */ | ||
Component.install = function (Vue) { | ||
Vue.component(Component.name, Component) | ||
} | ||
export default Component |
File renamed without changes.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Display from './src/display.vue' | ||
/* istanbul ignore next */ | ||
Display.install = function (Vue) { | ||
Vue.Display(Display.name, Display) | ||
} | ||
export default Display |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Image from './src/image.vue' | ||
/* istanbul ignore next */ | ||
Image.install = function (Vue) { | ||
Vue.Image(Image.name, Image) | ||
} | ||
export default Image |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import FormItem from '../form/src/form-item.vue' | ||
/* istanbul ignore next */ | ||
FormItem.install = function (Vue) { | ||
Vue.Form(FormItem.name, FormItem) | ||
} | ||
export default FormItem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Form from './src/form.vue' | ||
/* istanbul ignore next */ | ||
Form.install = function (Vue) { | ||
Vue.Form(Form.name, Form) | ||
} | ||
export default Form |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Input from './src/input.vue' | ||
/* istanbul ignore next */ | ||
Input.install = function (Vue) { | ||
Vue.Input(Input.name, Input) | ||
} | ||
export default Input |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Pdf from './src/pdf.vue' | ||
/* istanbul ignore next */ | ||
Pdf.install = function (Vue) { | ||
Vue.component(Pdf.name, Pdf) | ||
} | ||
export default Pdf |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Rich from './src/rich.vue' | ||
/* istanbul ignore next */ | ||
Rich.install = function (Vue) { | ||
Vue.component(Rich.name, Rich) | ||
} | ||
export default Rich |
File renamed without changes.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Table from './src/table.vue' | ||
/* istanbul ignore next */ | ||
Table.install = function (Vue) { | ||
Vue.component(Table.name, Table) | ||
} | ||
export default Table |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Overflow from './src/overflow.vue' | ||
/* istanbul ignore next */ | ||
Overflow.install = function (Vue) { | ||
Vue.component(Overflow.name, Overflow) | ||
} | ||
export default Overflow |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Typer from './src/typer.vue' | ||
/* istanbul ignore next */ | ||
Typer.install = function (Vue) { | ||
Vue.component(Typer.name, Typer) | ||
} | ||
export default Typer |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Tree from './src/tree.vue' | ||
/* istanbul ignore next */ | ||
Tree.install = function (Vue) { | ||
Vue.component(Tree.name, Tree) | ||
} | ||
export default Tree |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// 字体相关 | ||
$--font-path: '~@/assets/fonts' !default; //--font-path为element-ui 字体路径 | ||
$--font-display: 'auto' !default; | ||
$--font-size--sm: 12px; | ||
$--font-size--base: 14px; | ||
$--font-size--xl: 16px; | ||
$--font-size--xxl: 18px; | ||
// 颜色 | ||
$--color-primary: #409EFF !default; | ||
$--color-white: #FFFFFF !default; | ||
$--color-black: #000000 !default; | ||
|
||
$--color-success: #67C23A !default; | ||
$--color-warning: #E6A23C !default; | ||
$--color-danger: #F56C6C !default; | ||
$--color-info: #909399 !default; | ||
$--color-cyan: #40788C !default; | ||
$--color-text-primary: #303133 !default; | ||
$--color-text-regular: #606266 !default; | ||
$--color-text-secondary: #909399 !default; | ||
$--color-text-placeholder: #C0C4CC !default; | ||
$--border-color-base: #DCDFE6 !default; | ||
$--border-color-light: #E4E7ED !default; | ||
$--border-color-lighter: #EBEEF5 !default; | ||
$--border-color-extra-light: #F2F6FC !default; | ||
$--background-color-base: #F5F7FA !default; | ||
|
||
// 字体大小 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Video from './src/video.vue' | ||
/* istanbul ignore next */ | ||
Video.install = function (Vue) { | ||
Vue.component(Video.name, Video) | ||
} | ||
export default Video |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// import VoiceAssistant from './src/VoiceAssistant.vue' | ||
/* istanbul ignore next */ | ||
VoiceAssistant.install = function (Vue) { | ||
Vue.component(VoiceAssistant.name, () => import("./src/VoiceAssistant.vue")) | ||
} | ||
export default VoiceAssistant |
File renamed without changes.
Oops, something went wrong.