options移植

This commit is contained in:
xu_yanfeng 2024-01-08 19:53:51 +08:00
parent fb028828f7
commit 2ad5bf6e60
5 changed files with 17 additions and 72 deletions

View File

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 194 KiB

View File

@ -1,5 +1,8 @@
<template>
<div class="options">options</div>
<div class="options">
<div class="text">哈哈让你发现了</div>
<div class="text">不过这里什么都没有</div>
</div>
</template>
<script lang="ts">
import { defineComponent, onMounted, ref, provide, nextTick } from "vue";
@ -7,14 +10,22 @@ export default defineComponent({
name: "options",
components: {},
setup(props, ctx) {
return {};
return {};
},
});
</script>
<style scoped lang="less">
.options {
widows: 10px;
height: 10px;
background-color: rebeccapurple;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.text {
user-select: none;
font-size: 40px;
}
}
</style>
</style>

View File

@ -1,18 +0,0 @@
.layout {
display: flex;
&.vertical {
display: flex;
flex-direction: column;
}
&.horizontal {
display: flex;
flex-direction: row;
}
}
.flex1 {
flex: 1;
}

View File

@ -1,10 +0,0 @@
import Vue from "vue";
import App from "./index.vue";
import "element-ui/lib/theme-chalk/index.css"
import ElementUI from "element-ui";
Vue.config.productionTip = false;
Vue.use(ElementUI, {size: "mini"});
new Vue({
render: (h) => h(App),
}).$mount("#app");

View File

@ -1,38 +0,0 @@
<template>
<div id="options">
<div class="text">
哈哈让你发现了
</div>
<div class="text">
不过这里什么都没有
</div>
</div>
</template>
<script lang="ts">
import {Component, Vue} from "vue-property-decorator";
@Component({
components: {},
})
export default class Index extends Vue {
name: string = "index";
}
</script>
<style scoped lang="less">
#options {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.text {
user-select: none;
font-size: 40px;
}
}
</style>