Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | <template>
<q-toolbar class="q-pt-md">
<q-btn flat @click="back()" class="bg-white" round dense>
<span class="material-icons backIcon">
arrow_back
</span>
</q-btn>
<q-toolbar-title class="toolbar-title">
<strong>{{title}}</strong>
</q-toolbar-title>
</q-toolbar>
</template>
<script lang="ts">
import {defineComponent, ref} from 'vue'
import {useRouter} from 'vue-router'
export default defineComponent({
props: {
title: String,
code: String,
},
setup(props:any) {
const router = useRouter()
return {
back() {
router.go(-1)
},
}
}
})
</script>
<style lang="sass" scoped>
.bg-transparant
background: linear-gradient(247.13deg, #F1F8FF 0%, #FFFFFF 100%, #FFFFFF 100%)
.backIcon
font-size: 20px
background: white
border-radius: 20px
padding:5px
.toolbar-title
text-align: -webkit-left
</style>
|