mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-14 03:04:21 +01:00
This commit is contained in:
parent
7b43396ad5
commit
7ee8ee1a51
1 changed files with 3 additions and 3 deletions
|
|
@ -286,7 +286,7 @@ export const bazaar = {
|
|||
};
|
||||
return `<div data-obj='${JSON.stringify(dataObj)}' class="b3-card b3-card--wrap${hide ? " fn__none" : ""}${item.current ? " b3-card--current" : ""}">
|
||||
<div class="b3-card__img">
|
||||
<img src="${item.iconURL}" onerror="this.src='${item.previewURLThumb}'"/>
|
||||
<img src="${item.iconURL}" onerror="this.src='/stage/images/icon.png'"/>
|
||||
</div>
|
||||
<div class="fn__flex-1 fn__flex-column">
|
||||
<div class="b3-card__info fn__flex-1">
|
||||
|
|
@ -373,7 +373,7 @@ export const bazaar = {
|
|||
});
|
||||
}
|
||||
html += `<div data-obj='${JSON.stringify(dataObj)}' class="b3-card${item.current ? " b3-card--current" : ""}${(window.siyuan.config.bazaar.petalDisabled && bazaarType === "plugins") ? " b3-card--disabled" : ""}">
|
||||
<div class="b3-card__img"><img src="${item.iconURL}" onerror="this.src='${item.previewURLThumb}'"/></div>
|
||||
<div class="b3-card__img"><img src="${item.iconURL}" onerror="this.src='/stage/images/icon.png'"/></div>
|
||||
<div class="fn__flex-1 fn__flex-column">
|
||||
<div class="b3-card__info b3-card__info--left fn__flex-1">
|
||||
${item.preferredName} <span class="ft__on-surface ft__smaller">${item.name}</span>
|
||||
|
|
@ -462,7 +462,7 @@ export const bazaar = {
|
|||
</div>
|
||||
</div>
|
||||
<div class="fn__flex-1"></div>
|
||||
<img class="item__img" src="${data.iconURL}" onerror="this.src='${data.previewURLThumb}'">
|
||||
<img class="item__img" src="${data.iconURL}" onerror="this.src='/stage/images/icon.png'">
|
||||
<a href="${data.repoURL}" target="_blank" class="item__title" title="GitHub Repo">${data.preferredName}</a>
|
||||
<br>
|
||||
<a href="${data.repoURL}" target="_blank" class="ft__on-surface ft__smaller" title="GitHub Repo">${data.name}</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue