Commit 9126ede0 by 杨北旺

服务介绍改版

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