fix: qr code
This commit is contained in:
parent
7ea4146d7f
commit
1fe26c297f
4 changed files with 8 additions and 8 deletions
|
|
@ -9,12 +9,12 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a class="text-secondary" href="lightning:{{ lnurl }}">
|
<a class="text-secondary" href="lightning:{{ lnurl }}">
|
||||||
<q-responsive :ratio="1" class="q-mx-md">
|
<q-responsive :ratio="1" class="q-mx-md">
|
||||||
<qrcode
|
<lnbits-qrcode
|
||||||
:value="this.here + '/?lightning={{lnurl }}'"
|
:value="this.here + '/?lightning={{lnurl }}'"
|
||||||
:options="{width: 800}"
|
:options="{width: 800}"
|
||||||
class="rounded-borders"
|
class="rounded-borders"
|
||||||
>
|
>
|
||||||
</qrcode>
|
</lnbits-qrcode>
|
||||||
</q-responsive>
|
</q-responsive>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -409,11 +409,11 @@
|
||||||
<q-dialog v-model="qrCodeDialog.show" position="top">
|
<q-dialog v-model="qrCodeDialog.show" position="top">
|
||||||
<q-card v-if="qrCodeDialog.data" class="q-pa-lg lnbits__dialog-card">
|
<q-card v-if="qrCodeDialog.data" class="q-pa-lg lnbits__dialog-card">
|
||||||
<q-responsive :ratio="1" class="q-mx-xl q-mb-md">
|
<q-responsive :ratio="1" class="q-mx-xl q-mb-md">
|
||||||
<qrcode
|
<lnbits-qrcode
|
||||||
:value="qrCodeDialog.data.url + '/?lightning=' + qrCodeDialog.data.lnurl"
|
:value="qrCodeDialog.data.url + '/?lightning=' + qrCodeDialog.data.lnurl"
|
||||||
:options="{width: 800}"
|
:options="{width: 800}"
|
||||||
class="rounded-borders"
|
class="rounded-borders"
|
||||||
></qrcode>
|
></lnbits-qrcode>
|
||||||
{% raw %}
|
{% raw %}
|
||||||
</q-responsive>
|
</q-responsive>
|
||||||
<p style="word-break: break-all">
|
<p style="word-break: break-all">
|
||||||
|
|
|
||||||
|
|
@ -10,10 +10,10 @@
|
||||||
{% for one in threes %}
|
{% for one in threes %}
|
||||||
<td style="width: 105mm">
|
<td style="width: 105mm">
|
||||||
<center>
|
<center>
|
||||||
<qrcode
|
<lnbits-qrcode
|
||||||
:value="theurl + '/?lightning={{one}}'"
|
:value="theurl + '/?lightning={{one}}'"
|
||||||
:options="{width: 150}"
|
:options="{width: 150}"
|
||||||
></qrcode>
|
></lnbits-qrcode>
|
||||||
</center>
|
</center>
|
||||||
</td>
|
</td>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
|
|
@ -9,10 +9,10 @@
|
||||||
<img src="{{custom_url}}" alt="..." />
|
<img src="{{custom_url}}" alt="..." />
|
||||||
<span>{{ amt }} sats</span>
|
<span>{{ amt }} sats</span>
|
||||||
<div class="lnurlw">
|
<div class="lnurlw">
|
||||||
<qrcode
|
<lnbits-qrcode
|
||||||
:value="theurl + '/?lightning={{one}}'"
|
:value="theurl + '/?lightning={{one}}'"
|
||||||
:options="{width: 95, margin: 1}"
|
:options="{width: 95, margin: 1}"
|
||||||
></qrcode>
|
></lnbits-qrcode>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue