feat: 拖拽布局-优化问题

flex-api
lichaojun 2 weeks ago
parent 56c2616d20
commit 6776715762

@ -190,6 +190,7 @@ html {
left: 60px;
background-color: unset;
box-shadow: unset;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#go-back .tab-button.active {
@ -200,6 +201,14 @@ html {
font-size: 18px;
}
#go-back > img {
display: block;
width: 28px;
height: 28px;
padding: 4px;
cursor: pointer;
}
.tab-button {
padding: 8px 15px;
border: none;

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

@ -72,7 +72,11 @@
<!-- 画布容器 -->
<div id="canvas-panel">
<div id="go-back">
<button class="tab-button active"><</button>
<img
src="./image/back.png"
alt=""
/>
<!-- <button class="tab-button active"><</button> -->
</div>
<div id="canvas-tabs">
<button

@ -581,7 +581,7 @@
hidePropsPanel();
});
$('#go-back .tab-button').on('click', function () {
$('#go-back img').on('click', function () {
const { confirm_del, tips } = userLangConfig[locale].base;
layer.confirm(confirm_del, { icon: 3, title: tips }, function (index) {
layer.close(index);

Loading…
Cancel
Save