fix syscfg

This commit is contained in:
devezhao-mbp 2020-12-30 00:53:41 +08:00
parent 8d1736d154
commit efb78b0978
2 changed files with 5 additions and 5 deletions

View file

@ -10,8 +10,8 @@
background-color: #fff;
cursor: default;
}
.syscfg.edit a.img-thumbnail,
.syscfg.edit a.img-thumbnail .logo-img {
.applogo.edit a.img-thumbnail,
.applogo.edit a.img-thumbnail .logo-img {
cursor: pointer;
}
</style>
@ -35,7 +35,7 @@
<tbody>
<tr>
<td width="40%">[[${bundle.L('Name')}]] <sup class="rbv"></sup></td>
<td th:data-id="${commercial >= 0 ? 'AppName' : ''}" th:data-value="${AppName}">[[${AppName}]]</td>
<td th:data-id="${commercial > 0 ? 'AppName' : ''}" th:data-value="${AppName}">[[${AppName}]]</td>
</tr>
<tr>
<td>LOGO <sup class="rbv"></sup></td>

View file

@ -31,7 +31,7 @@ useEditComp = function (name, value) {
)
} else if ('DefaultLanguage' === name) {
// 借用贵宝地
_toggleLogo()
if (rb.commercial > 0) _toggleLogo()
const options = []
for (let k in wpc._LANGS)
@ -49,7 +49,7 @@ useEditComp = function (name, value) {
}
const _toggleLogo = function () {
const $logo = $('.applogo')
const $logo = $('.applogo').addClass('edit')
$logo.find('p').removeClass('hide')
let $current