diff --git a/src/template/module/view/toast.pug b/src/template/module/view/toast.pug new file mode 100644 index 0000000..57279d6 --- /dev/null +++ b/src/template/module/view/toast.pug @@ -0,0 +1,10 @@ +template + .overlay.text-dark(v-if="toast.show" @click="") + .popup.bg-white(@click.stop) + .row + .col-auto.text-huge {{ toast.title }} + .row + .col-auto.text-medium {{ toast.desc }} + .row.align + button.button.bg-white(@click="toast-accept" v-if="toast.acceptText") {{ toast.acceptText }} + button.button.bg-white(@click="toast.show=false;" v-if="toast.cancelText") {{ toast.cancelText }} \ No newline at end of file