PHP Classes

File: resources/js/components/Layouts/Message.vue

Recommend this page to a friend!
  Classes of Edward Paul  >  Flexible PHP Coupon System  >  resources/js/components/Layouts/Message.vue  >  Download  
File: resources/js/components/Layouts/Message.vue
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Flexible PHP Coupon System
E-commerce system that supports discount coupons
Author: By
Last change:
Date: 1 year ago
Size: 613 bytes
 

Contents

Class file image Download
<template>
    <div class="message" v-if="message">
        {{ message }}
    </div>
</template>

<script>
    import { mapGetters } from 'vuex'
    export default {
        name: "Message",
        computed: {
            ...mapGetters({
                message: 'message'
            })
        }
    }
</script>

<style>
    .message {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2em;
        position: fixed;
        top: 0; right: 0;
        background-color: tomato;
        color: #fff;
        height: 60px;
        width: 25%;
    }
</style>
For more information send a message to info at phpclasses dot org.