| | |
| | | @Component |
| | | export default class UiField extends Vue { |
| | | |
| | | @Prop() span!: number; |
| | | @Prop() icon!: string; |
| | | @Prop() label!: string; |
| | | @Prop() content!: string; |
| | | @Prop() displayDevice!: 'MOBILE' | 'DESKTOP' | 'ALL'; |
| | | @Prop() |
| | | span!: number; |
| | | |
| | | @Prop() |
| | | icon!: string; |
| | | |
| | | @Prop() |
| | | label!: string; |
| | | |
| | | @Prop() |
| | | content!: string; |
| | | |
| | | @Prop() |
| | | displayDevice!: 'MOBILE' | 'DESKTOP' | 'ALL'; |
| | | |
| | | currentDevice: 'MOBILE' | 'DESKTOP' = 'MOBILE'; |
| | | |
| | | ////////////////////////////////////////////////////////////////// |
| | | |
| | | mounted(): void { |
| | | this.currentDevice = UtilsService.isMobileDevice() ? 'MOBILE' : 'DESKTOP'; |
| | |
| | | } |
| | | .pam-field__content { |
| | | padding-top: 10px; |
| | | display: flex; |
| | | } |
| | | } |
| | | </style> |