修改样式

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>
<link rel="stylesheet" href="/dist/assets/index.2ee0cb33.css">
<script type="module" crossorigin src="/dist/assets/index.7eaa14f5.js"></script>
<link rel="stylesheet" href="/dist/assets/index.0ba83c26.css">
<div id="app"></div>

View File

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

View File

@ -11,8 +11,6 @@ let showTree = ref(false);
<TreePanel :show="showTree"></TreePanel>
</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>
</div>
</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>
<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"
:expand-on-click-node="false" :default-expanded-keys="expandedKeys" @current-change="handleCurrentNodeChange"
@node-expand="handleNodeExpand" @node-collapse="handleNodeCollapse" :height="treeViewHeight">