修改样式

This commit is contained in:
Next 2022-07-17 17:36:49 +08:00
parent 6025cfd347
commit 6996762b68
7 changed files with 34 additions and 47 deletions

Binary file not shown.

View File

@ -1,3 +1,3 @@
<script type="module" crossorigin src="/dist/assets/index.5ef8f116.js"></script> <script type="module" crossorigin src="/dist/assets/index.7eaa14f5.js"></script>
<link rel="stylesheet" href="/dist/assets/index.2ee0cb33.css"> <link rel="stylesheet" href="/dist/assets/index.0ba83c26.css">
<div id="app"></div> <div id="app"></div>

View File

@ -1,31 +1,24 @@
<html class="dark"> <html class="dark">
<head>
<head> <link rel="icon" href="./favicon.ico" />
<link rel="icon" href="./favicon.ico" /> <meta charset="utf-8" />
<meta charset="utf-8" /> <title><%=title%></title>
<title> <meta
<%=title%> name="viewport"
</title> content="width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui=true"
<meta name="viewport" />
content="width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui=true" /> <meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="full-screen" content="yes" />
<meta name="full-screen" content="yes" /> <meta name="screen-orientation" content="portrait" />
<meta name="screen-orientation" content="portrait" /> <meta name="x5-fullscreen" content="true" />
<meta name="x5-fullscreen" content="true" /> <meta name="360-fullscreen" content="true" />
<meta name="360-fullscreen" content="true" /> <meta name="renderer" content="webkit" />
<meta name="renderer" content="webkit" /> <meta name="force-rendering" content="webkit" />
<meta name="force-rendering" content="webkit" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <link rel="stylesheet" type="text/css" href="./index.css" />
<link rel="stylesheet" type="text/css" href="./index.css" /> </head>
<link rel="stylesheet" href="https://unpkg.com/element-plus/dist/index.css" /> <body>
<script src="https://unpkg.com/vue@next"></script> <%- include(cocosToolBar, {config: config}) %>
<script src="https://unpkg.com/element-plus"></script>
</head>
<body>
<%- include(cocosToolBar, {config: config}) %>
<div style="flex: auto;display: flex;">
<% include ./dist/index.html %>
<div id="content" class="content"> <div id="content" class="content">
<div class="contentWrap"> <div class="contentWrap">
<div id="GameDiv" class="wrapper"> <div id="GameDiv" class="wrapper">
@ -36,9 +29,7 @@
<div class="progress-bar stripes"><span></span></div> <div class="progress-bar stripes"><span></span></div>
</div> </div>
<div id="bulletin"> <div id="bulletin">
<div id="sceneIsEmpty" class="inner"> <div id="sceneIsEmpty" class="inner"><%=tip_sceneIsEmpty%></div>
<%=tip_sceneIsEmpty%>
</div>
</div> </div>
<div class="error" id="error"> <div class="error" id="error">
<div class="title">Error <i>(Please open the console to see detailed errors)</i></div> <div class="title">Error <i>(Please open the console to see detailed errors)</i></div>
@ -47,12 +38,10 @@
</div> </div>
</div> </div>
<p class="footer"> <p class="footer">
Created with <a href="https://www.cocos.com/products" target="_blank" title="Cocos Creator">Cocos <% include ./dist/index.html %>
Creator</a>
</p> </p>
</div> </div>
</div> <%- include(cocosTemplate, {}) %>
<%- include(cocosTemplate, {}) %> </body>
</body> </html>
</html>

View File

@ -11,8 +11,6 @@ let showTree = ref(false);
<TreePanel :show="showTree"></TreePanel> <TreePanel :show="showTree"></TreePanel>
</vue-final-modal> </vue-final-modal>
<el-button size="small" @click="showTree = !showTree">节点树</el-button> <el-button size="small" @click="showTree = !showTree">节点树</el-button>
<el-button size="small" @click="showTree = !showTree">自定义监听</el-button>
<el-button size="small" @click="showTree = !showTree">设置</el-button>
</div> </div>
</template> </template>

View File

@ -2,7 +2,7 @@
<div style="width: 100%;height: 30px;background-color: #26282f;display: flex;align-items: center;justify-content: center;color: white;" class="modal-drag"> <div style="width: 100%;height: 30px;background-color: #26282f;display: flex;align-items: center;justify-content: center;color: white;" class="modal-drag">
节点树 节点树
</div> </div>
<div style="width: 100%;overflow: auto;" :style="{ height: treeViewHeight }"> <div style="width: 100%;overflow: auto;" :style="{ height: treeViewHeight + 10 }">
<el-tree-v2 ref="treeView" :props="defaultProps" empty-text="正在加载场景" :highlight-current="true" <el-tree-v2 ref="treeView" :props="defaultProps" empty-text="正在加载场景" :highlight-current="true"
:expand-on-click-node="false" :default-expanded-keys="expandedKeys" @current-change="handleCurrentNodeChange" :expand-on-click-node="false" :default-expanded-keys="expandedKeys" @current-change="handleCurrentNodeChange"
@node-expand="handleNodeExpand" @node-collapse="handleNodeCollapse" :height="treeViewHeight"> @node-expand="handleNodeExpand" @node-collapse="handleNodeCollapse" :height="treeViewHeight">