feat: 拖拽布局-优化问题

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

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

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

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

Loading…
Cancel
Save