index.vue 1.91 KB
Newer Older
程智春 committed
1 2
<template>
    <div class="contact">
程智春 committed
3
        <div class="contact-img">
程智春 committed
4
            <img src="https://mayi-newshop.oss-cn-shanghai.aliyuncs.com/product/HCe2iRXHsP.png" alt="">
程智春 committed
5
        </div>
程智春 committed
6
        <div class="btn-wrap">
程默 committed
7
            <button open-type="contact">
程智春 committed
8 9
                <div class="btn-main">
                    <div class="main-img">
程智春 committed
10
                        <img src="../../../static/images/wx.png" alt="">
程智春 committed
11 12 13
                    </div>
                    <div class="main-text">官方微信客服</div>
                </div>
程智春 committed
14
                <img class="btn-next" src="../../../static/images/next.png" alt="">
程智春 committed
15
            </button>
程智春 committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
        </div>
    </div>
</template>

<script>
export default {
    
}
</script>

<style scoped>
    .contact{
        padding: 10px 22px 0 22px;
    }
    .contact-img{
        width: 100%;
        height: 154px;
        margin-bottom: 24px;
程智春 committed
34 35
        background-color: #ccc;
        border-radius: 8px;
程智春 committed
36
    }
程智春 committed
37 38 39 40
    .contact-img img{
        width: 100%;
        height: 100%;
    }
程智春 committed
41 42 43 44 45 46 47 48
    .btn-wrap{
        width: 100%;
        height: 80px;
        box-sizing: border-box;
    }
    button{
        width: 100%;
        height: 80px;
程智春 committed
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
        border: none;
        padding: 20px 10px 20px 10px;
        background-color: white;
        box-shadow: #eee 0px 0px 5px 4px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .btn-main{
        display: flex;
        height: 40px;
    }
    .main-img{
        width: 54px;
        height: 40px;
        border-right: 1px solid #D7D4D4;
程智春 committed
65 66 67 68 69
        padding-top: 3px;
    }
    .main-img img{
        width: 42px;
        height: 34px;
程智春 committed
70 71 72 73 74 75
    }
    .main-text{
        color: #1C1B1B;
        font-size:17px;
        margin-left: 10px;
    }
程智春 committed
76 77 78 79 80 81 82 83
    .btn-next{
        width: 9px;
        height: 14px;
    }
    .btn-next img{
        width: 100%;
        height: 100%;
    }
程智春 committed
84 85
    button::after{
        border: none;
程智春 committed
86 87
    }
</style>