Update src/template/module/view/toast.pug
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
sora-ext 2025-03-10 17:29:33 +01:00
parent 74f681390a
commit 7e0157880b

View File

@ -1,14 +1,14 @@
template template
.overlay.text-dark(v-if="toast.show" @click="") .overlay.text-dark(v-if="toast.data.show" @click="")
.popup.bg-white(@click.stop) .popup.bg-white(@click.stop)
.row .row
.col-auto.text-huge {{ toast.title }} .col-auto.text-huge {{ toast.data.title }}
.row(v-if="toast.desc") .row(v-if="toast.data.desc")
.col-auto.text-medium {{ toast.desc }} .col-auto.text-medium {{ toast.data.desc }}
.row(v-if="toast.special") .row(v-if="toast.data.special")
.col-auto.text-medium .col-auto.text-medium
.input .input
input(v-model="toast.special") input(v-model="toast.data.special")
.row.align .row.align
button.button.bg-white(@click="toast.func" v-if="toast.acceptText") {{ toast.acceptText }} button.button.bg-white(@click="toast.data.func" v-if="toast.data.acceptText") {{ toast.data.acceptText }}
button.button.bg-white(@click="toast.show=false;" v-if="toast.cancelText") {{ toast.cancelText }} button.button.bg-white(@click="toast.data.show=false;" v-if="toast.data.cancelText") {{ toast.data.cancelText }}