zhengyiming
2 天以前 871132b30521ddaeddc92e064b661b7c30481c87
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<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>