mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-09-03 04:03:46 +08:00
1. 编辑器扩展 - 自动生成框架模板功能
2. 编辑器扩展 - Tinypng 纹理压缩功能
This commit is contained in:
37
static/style/default/index.css
Normal file
37
static/style/default/index.css
Normal file
@@ -0,0 +1,37 @@
|
||||
ui-input {
|
||||
width: 100%;
|
||||
min-width: 100px;
|
||||
min-height: 30px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
ui-button {
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
ui-label {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.f {
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.c {
|
||||
display: inline-flex;
|
||||
width: 100%;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.c ui-button {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.b {
|
||||
text-align: center;
|
||||
padding: 10px 0;
|
||||
margin-top: 5px;
|
||||
}
|
||||
5
static/template/default/index.html
Normal file
5
static/template/default/index.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<div>
|
||||
<div id="app">
|
||||
<my-config></my-config>
|
||||
</div>
|
||||
</div>
|
||||
18
static/template/vue/set_file_name.html
Normal file
18
static/template/vue/set_file_name.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<div id="r">
|
||||
<div class="f">
|
||||
<b><ui-label slot="label" :value="title"></ui-label></b><br>
|
||||
<div slot="content" class="c">
|
||||
<ui-label slot="label" style="width: 70px;">文件名:</ui-label>
|
||||
<ui-input autofocus @input="onInputName" :value="filename"></ui-input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="f" v-if="showModule">
|
||||
<div slot="content" class="c">
|
||||
<ui-label slot="label" style="width: 70px;">模块名:</ui-label> <ui-input autofocus
|
||||
@input="onModuleName"></ui-input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="b">
|
||||
<ui-button @confirm="onConfirm">确认</ui-button>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user