JM-MiniApp/components/aikefu.vue

47 lines
1.3 KiB
Vue
Raw Normal View History

2023-11-14 23:48:34 +08:00
<template>
<view class="aikefuBox">
<!-- 这是ai客服!!!! -->
<unFab ref="fab" :pattern="pattern" horizontal="left" vertical="bottom"
direction="horizontal" @fabClick="fabClick" />
2024-01-14 20:13:09 +08:00
</view>
</template>
2023-11-14 23:48:34 +08:00
<script setup>
import unFab from '@/uni_modules/uni-fab/components/uni-fab/uni-fab.vue'
import { onLoad } from "@dcloudio/uni-app"
// import mySwiper from "@/components/mySwiper.vue"
import {ref,onMounted,nextTick,computed} from "vue"
// import unCombox from '@/uni_modules/uni-combox/components/uni-combox/uni-combox.vue'
import {useStore} from '@/store/index.js'
const store = useStore()
import api from "@/api/index.js"
const pattern = ref({
color: '#7A7E83',
backgroundColor: '#fff',
selectedColor: '#26758d',
buttonColor: '#26758d',
iconColor: '#fff',
icon:'headphones'
})
2024-01-14 20:13:09 +08:00
// const content = ref([{
// iconPath: '/static/image.png',
// selectedIconPath: '/static/image-active.png',
// text: '相册',
// active: false
2023-11-14 23:48:34 +08:00
// }])
function fabClick() {
// uni.showToast({
// title: '点击了悬浮按钮',
// icon: 'none'
// })
uni.navigateTo({
url:"/pages/index/aikefu"
})
2024-01-14 20:13:09 +08:00
}
</script>
2023-11-14 23:48:34 +08:00
<style scoped lang="scss">
.aikefuBox{
margin-top: 200rpx;
2024-01-14 20:13:09 +08:00
}
2023-11-14 23:48:34 +08:00
</style>