33 lines
708 B
Vue
33 lines
708 B
Vue
<template>
|
|
<wd-fab :draggable="true" :expandable="false" :gap="{ bottom: 100 }">
|
|
<template #trigger>
|
|
<view class="btn-wrapper" @click="handleClick">
|
|
<image
|
|
class="w-full h-full rounded-full"
|
|
src="/static/images/home/customerService.svg"
|
|
></image>
|
|
</view>
|
|
</template>
|
|
</wd-fab>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
// import useNavbarWeixin from '@/hooks/useNavbarWeixin'
|
|
|
|
// const { safeAreaInsets } = useNavbarWeixin()
|
|
|
|
const handleClick = () => {
|
|
uni.navigateTo({
|
|
url: '/pages-sub/customerService/index/index',
|
|
})
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.btn-wrapper {
|
|
width: 128rpx;
|
|
height: 128rpx;
|
|
border-radius: 50%;
|
|
}
|
|
</style>
|