dev #199

Closed
sora wants to merge 21 commits from dev into master
17 changed files with 299 additions and 198 deletions
Showing only changes of commit 7e0157880b - Show all commits

View File

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