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