feat: 拖拽布局-优化问题

flex-api
lichaojun 2 weeks ago
parent 3c45c4280f
commit 56c2616d20

@ -192,6 +192,14 @@ html {
box-shadow: unset;
}
#go-back .tab-button.active {
background: #fff !important;
color: #000 !important;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
font-weight: bold;
font-size: 18px;
}
.tab-button {
padding: 8px 15px;
border: none;

@ -82,6 +82,16 @@
padding: 0 15px 10px; /* 调整子项内容间距 */
font-size: 12px;
color: #999;
display: flex;
justify-content: space-between;
align-items: center;
}
.list-item-date > span:nth-child(2) {
background: #667eea;
color: #fff;
padding: 2px 5px;
border-radius: 5px;
}
.add-btn {

@ -59,6 +59,7 @@ var userLangConfig = {
edit: '编辑',
apply: '应用',
add: '新建模版',
apply_text: '使用中',
},
},
en_US: {
@ -125,6 +126,7 @@ var userLangConfig = {
edit: 'edit',
apply: 'apply',
add: 'add template',
apply_text: 'using',
},
},
};

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

@ -36,6 +36,7 @@
</div>
<div class="list-item-date">
<span>${userLangConfig[locale].list.update_time}${item.createTime}</span>
${item.type == 1 ? '<span>' + userLangConfig[locale].list.apply_text + '</span>' : ''}
</div>
</div>
`;

Loading…
Cancel
Save