1405/02/12-dev banners feature
This commit is contained in:
@@ -658,11 +658,13 @@ async function initBanners() {
|
||||
function handleBannerClick(banner: IBenefits) {
|
||||
if (banner.typeClick == 'share') {
|
||||
showShare.value = true
|
||||
return;
|
||||
}
|
||||
if (banner.typeClick == 'modal') {
|
||||
if (!banner.modalText) return
|
||||
TextBanner.value = banner.modalText
|
||||
showTextBanner.value = true
|
||||
return;
|
||||
}
|
||||
if (banner.typeClick == 'link') {
|
||||
if (!banner.link) return
|
||||
|
||||
Reference in New Issue
Block a user