show.vue 1.1 KB

1234567891011121314151617181920212223
  1. <template>
  2. <q-page-builder v-model:sections="currenSections"
  3. v-model:options="pageConfig"
  4. :editable="pageBuilderEditable"
  5. :loading="pageBuilderLoading" />
  6. </template>
  7. <script>
  8. import { mixinPageOptions } from 'src/mixin/Mixins.js'
  9. export default {
  10. name: 'Admin.Classroom.Show',
  11. mixins: [mixinPageOptions],
  12. data: () => {
  13. return {
  14. sections: [{ data: { rows: [{ cols: [{ widgets: [{ name: 'AdminEventShow', options: { style: {}, classroomType: 'Classroom' } }], options: { style: { paddingTop: '' } } }], options: { className: '', height: 'auto', boxed: true, boxedWidth: 1200, gutterXSize: 'md', gutterYSize: 'md', absolute: 'none', paddingOfBoxedInFullWidth: '10px', alignment: { justifyContent: { global: null, xl: null, lg: null, md: null, sm: null, xs: null }, alignItems: { global: null, xl: null, lg: null, md: null, sm: null, xs: null }, alignContent: { global: null, xl: null, lg: null, md: null, sm: null, xs: null } }, style: { maxWidth: '1200px', width: '1200px' } } }] } }]
  15. }
  16. },
  17. created() {
  18. this.currenSections = this.sections
  19. }
  20. }
  21. </script>