123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <template lang="pug">
- .pos
- form-wizard(title='' subtitle='' finishButtonText='Finalizar' color='#7c7bad' nextButtonText='Continuar' backButtonText='Volver' @on-complete='createSale')
- tab-content(title="Qué productos necesita?") Step 1
- tab-content(title="Quién es el cliente?") Step 2
- tab-content(title="Cómo quieres pagar?") Step 3
- </template>
- <script>
- import { mapActions } from 'vuex'
- import { FormWizard, TabContent } from 'vue-form-wizard'
- export default {
- components: {
- FormWizard,
- TabContent
- },
- methods: mapActions([
- 'initSale',
- 'createSale'
- ]),
- mounted() {
- this.initSale()
- }
- }
- </script>
- <style lang="sass">
- @import './assets/variables'
- .pos
- width: 100%
- height: 100%
- position: absolute
- .vue-form-wizard
- width: 100%
- height: 100%
- padding-bottom: 0
- .wizard-header
- display: none
- .wizard-navigation
- width: 100%
- height: 100%
- .wizard-progress-with-circle
- top: 35px
- .wizard-icon-circle
- width: 60px
- height: 60px
- .wizard-tab-content
- width: 100%
- height: calc(100% - 82px)
- padding: 0
- overflow: hidden
- .wizard-tab-container
- width: calc(100% - 20px)
- height: calc(100% - 20px)
- margin: 10px
- .pos-step
- width: 100%
- height: 100%
- background: #fff
- .wizard-card-footer
- width: 100%
- height: 50px
- position: absolute
- bottom: 0
- .wizard-btn
- width: 160px
- height: 40px
- border-radius: 0
- box-shadow: none
- border: none
- &:hover, &:focus
- background: $app-main-color
- </style>
|