<template>
|
<button class="customer-service-btn-wrapper" :open-type="'contact'">
|
<!-- <img class="back-top-img" :src="IconBackTop" /> -->
|
<Service size="22" color="#333" />
|
<!-- <div class="customer-service-btn-text">客服</div> -->
|
</button>
|
</template>
|
|
<script setup lang="ts">
|
import { Service } from '@nutui/icons-vue-taro';
|
|
defineOptions({
|
name: 'CustomerServiceButton',
|
});
|
</script>
|
|
<style lang="scss">
|
@import '@/styles/common.scss';
|
|
.customer-service-btn-wrapper {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
width: 92px;
|
height: 92px;
|
border-radius: 50%;
|
background-color: #fff;
|
box-shadow: 0px 0px 28px 0px rgba(0, 0, 0, 0.18);
|
font-size: 24px;
|
position: fixed;
|
right: boleGetCssVar('size', 'body-padding-h');
|
bottom: 390px;
|
|
.customer-service-btn-text {
|
font-weight: 400;
|
font-size: 16px;
|
color: boleGetCssVar('text-color', 'regular');
|
line-height: 22px;
|
text-align: center;
|
}
|
}
|
</style>
|