HEX
Server: Apache
System: Linux srv-plesk28.ps.kz 5.14.0-284.18.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 29 17:06:27 EDT 2023 x86_64
User: greencl1 (10085)
PHP: 8.1.33
Disabled: apache_setenv,dl,eval,exec,openlog,passthru,pcntl_exec,pcntl_fork,popen,posix_getpwuid,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,socket_create,socket_create_listen,socket_create_pair,syslog,system,socket_listen,stream_socket_server
Upload Files
File: /var/www/vhosts/greenclinic.kz/test.greenclinic.kz/src/views/cabinet/Telephones.vue
<template>
    <div class="telephones">
        <Header />
        <div class="main__base__margin">
            <h1>
                {{$t('telephones__page__title')}}
            </h1>
            <p>
                {{$t('telephones__page__description')}}
            </p>
        </div>
        <div class="telephones__data">
            <div class="telephones__data__margin">
                 <div 
                    class="telephones__block"
                    v-for="item in $t('telephones__page__phones')"
                    :key="item.number"
                    @click="call(item.phone)"
                 >
                     <div class="telephones__block__number__l">
                        <img src="../../assets/icons/phone.svg" alt="">
                        <h3>
                            {{item.number}}
                        </h3>
                     </div>
                     <div class="telephones__block__number__r">
                         <p>
                             {{item.title}}
                         </p>
                     </div>
                 </div>
            </div>
        </div>
    </div>
</template>

<script>
import Header from '../components/Header'

export default {
    components: {
        Header,
    },
    data () {
      return {
        
      }
    },
    methods: {
        call(phone) {
            window.location.href = phone
        }
    }
}
</script>

<style scoped lang="less">
@mobile: 900px;
@planshet: 1200px;

.telephones {
    width: 100%;
    height: 100%;
    background: url('../../assets/all/hotpng_bg.png') no-repeat;
    background-position: right bottom;
    background-size: 15%;
    font-family: "MontserratBold";

    .main__base__margin {
        width: 1200px;
        margin: 0 auto;
        margin-top: 65px;
        @media (max-width: @planshet) {
            width: 95%;
        }
        @media (max-width: @mobile) {
            width: 95%;
            margin-top: 10px;
        }
        h1 {
            font-style: normal;
            font-weight: 500;
            font-size: 48px;
            @media (max-width: @mobile) {
                font-size: 20px;
            }
        }
        p {
            font-style: normal;
            font-weight: 600;
            font-size: 20px;
            line-height: 25px;
            margin: 0;
            margin-top: 10px;
            width: 863px;
            @media (max-width: @mobile) {
                font-size: 12px;
                line-height: 16px;
                margin: 0;
                margin-top: 10px;
                margin-bottom: 10px;
                width: auto;
            }
        }
    }
    .telephones__data {
        width: 100%;
        margin-top: 20px;
        padding-top: 20px;
        padding-bottom: 20px;
        @media (max-width: @mobile) {
            margin-top: 10px;
            padding-top: 10px;
            padding-bottom: 10px;
        }

        .telephones__data__margin {
            width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: flex-start;
            flex-wrap: wrap;
            @media (max-width: @planshet) {
                width: 95%;
            }
            @media (max-width: @mobile) {
                width: 95%;
            }

            .telephones__block {
                width: 446px;
                background: #FFFFFF;
                box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.1);
                border-radius: 15px;
                padding: 25px;
                margin-right: 20px;
                cursor: pointer;
                margin-bottom: 20px;
                display: flex;
                justify-content: space-between;
                @media (max-width: @mobile) {
                    width: 100%;
                    margin-right: 0;
                    padding: 10px;
                    margin-bottom: 10px;
                }
                .telephones__block__number__l {
                    width: 30%;
                    display: flex;
                    align-items: center;
                    justify-content: flex-start;
                    border-right: 1px solid #DADADA;
                    h3 {
                        font-style: normal;
                        font-weight: 750;
                        font-size: 26px;
                        line-height: 32px;
                        margin: 0;
                        margin-left: 15px;
                        @media (max-width: @mobile) {
                            font-size: 20px;
                        }
                    }
                    img {
                        @media (max-width: @mobile) {
                            width: 20px;
                        }
                    }
                }
                .telephones__block__number__r {
                    width: 63%;
                    display: flex;
                    justify-content: flex-start;
                    align-items: center;
                    p {
                        font-style: normal;
                        font-weight: 600;
                        font-size: 16px;
                        line-height: 20px;
                        margin: 0;
                        @media (max-width: @mobile) {
                            font-size: 12px;
                        }
                    }
                }
            }
        }
    }
}


</style>