|
|
@ -1,5 +1,5 @@ |
|
|
|
<template> |
|
|
|
<div class="bottom_container"> |
|
|
|
<div :class="isDrag ? 'bottom_container drag' : 'bottom_container'"> |
|
|
|
<div class="online"> |
|
|
|
<img class="img1" :src="A1" alt="" /> |
|
|
|
<span class="text1">在线咨询</span> |
|
|
@ -20,6 +20,11 @@ |
|
|
|
import A1 from '@/static/img/bottom/kefu.png' |
|
|
|
import A2 from '@/static/img/bottom/phone.png' |
|
|
|
import A3 from '@/static/img/bottom/wechat.png' |
|
|
|
const props = defineProps({ |
|
|
|
isDrag: { |
|
|
|
type: Boolean, |
|
|
|
}, |
|
|
|
}) |
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
@ -85,4 +90,10 @@ import A3 from '@/static/img/bottom/wechat.png' |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.drag { |
|
|
|
opacity: 0.3; |
|
|
|
transition-property: all; |
|
|
|
transition-duration: 0.7s; |
|
|
|
animation-fill-mode: forwards; |
|
|
|
} |
|
|
|
</style> |