Improved ad space function

This commit is contained in:
ben
2022-11-20 17:29:07 +00:00
parent 41aa074350
commit 0c94b159e2
7 changed files with 15 additions and 7 deletions
+10 -3
View File
@@ -388,9 +388,16 @@
{% endif %} {% if AD_SPACE %} {% for ADS in AD_SPACE %} {% set AD =
ADS.split(';') %}
<q-card>
<a href="{{ AD[0] }}"
><img width="100%" src="{{ AD[1] }}"
/></a> </q-card
<q-card-section>
<h6 class="text-subtitle1 q-mt-none q-mb-sm">
{{ AD_TITLE }}
</h6>
</q-card-section>
<q-card-section class="q-pa-none">
<a href="{{ AD[0] }}" style="margin:16px">
<img v-if="($q.dark.isActive)" src="{{ AD[1] }}" />
<img v-else src="{{ AD[2] }}" />
</a> </q-card-section></q-card
>{% endfor %} {% endif %}
</div>
</div>