Commit 9126ede0 by 杨北旺

服务介绍改版

1 parent 3d125381
<template>
<div class="qr-code-components">
<div :style="[{ bottom: bottom + 'px' }]" @mousedown="move" @mouseup="moveEnd" ref="callCenter" @mouseenter="show = true" @mouseleave="show = false" class="right_btn flex_ccc">
<img src="../../assets/contact_icon.png" />
<div :class="[{topclass:top}]" :style="[{ bottom: bottom + 'px' }]" @mousedown="move" @mouseup="moveEnd" ref="callCenter" @mouseenter="show = true" @mouseleave="show = false" class="right_btn flex_ccc">
<img v-if="icon" :src="icon" />
<img v-else src="../../assets/contact_icon.png" />
<div class="contact_text">联系我们</div>
<div v-if="show" class="left_code flex_ccc">
<img :src="codeUrl" />
......@@ -17,10 +18,18 @@
export default {
name: '',
props: {
icon:{
type:String,
default:''
},
bottom: {
type: Number,
default: 64
},
top: {
type: Number,
default: 0
},
codeUrl: {
type: String,
default: 'https://img01.glsx.com.cn/weapp/resource/equity-h5-new/qrcode2.jpg'
......@@ -128,4 +137,7 @@ export default {
}
}
}
.topclass{
top: 154px;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!