init
This commit is contained in:
Binary file not shown.
@@ -0,0 +1 @@
|
||||
.result{text-align:center}.result .success svg{color:#32c682;text-align:center;margin-top:40px}.result .failure svg{color:#f56c6c;text-align:center;margin-top:40px}.result .title{margin-top:25px}.result .desc{margin-top:25px;width:60%;margin-left:20%;color:#00000073}.result .content{margin-top:20px;width:80%;border-radius:10px;background-color:#fff;margin-left:10%}.result .extra{padding-top:10px;border-top:1px whitesmoke solid;margin-top:25px}
|
||||
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<form>
|
||||
<button type="button" @click="add">加</button>
|
||||
<button type="button" @click="sub">减</button>
|
||||
</form>
|
||||
</template>
|
||||
<script setup>
|
||||
const emit = defineEmits(["add", "sub"]);
|
||||
|
||||
const add = () => {
|
||||
emit("add");
|
||||
};
|
||||
|
||||
const sub = () => {
|
||||
emit("sub");
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
form {
|
||||
padding: 10px;
|
||||
}
|
||||
</style>
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -0,0 +1,16 @@
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "RssIcon",
|
||||
};
|
||||
</script>
|
||||
<script setup lang="ts">
|
||||
import LayIcon from "../component/icon/index";
|
||||
|
||||
const props = defineProps<{
|
||||
color?: string;
|
||||
size?: string;
|
||||
}>();
|
||||
</script>
|
||||
<template>
|
||||
<lay-icon :color="props.color" :size="props.size" type="layui-icon-rss" />
|
||||
</template>
|
||||
Reference in New Issue
Block a user