Files
cz-app/src/pages/home-index/components/HomeFloatingActions.vue
2026-09-14 17:09:25 +08:00

52 lines
1.2 KiB
Vue

<script setup lang="ts">
function handleQuickSubmit() {
uni.navigateTo({
url: '/pages/home-index/requirement-submit/index',
})
}
function handleCustomerService() {
uni.navigateTo({
url: '/pages/message-center/customer-service/index',
})
}
</script>
<template>
<view class="home-floating-actions">
<view
class="home-floating-actions__item"
@tap="handleQuickSubmit"
>
<view class="home-floating-actions__icon home-floating-actions__icon--submit">
<text class="home-floating-actions__plus">
+
</text>
</view>
<text class="home-floating-actions__label">
快捷提报
</text>
</view>
<view
class="home-floating-actions__item"
@tap="handleCustomerService"
>
<view class="home-floating-actions__icon home-floating-actions__icon--service">
<image
class="home-floating-actions__service-icon"
src="/static/icons/icon-float-service.png"
mode="aspectFit"
/>
</view>
<text class="home-floating-actions__label">
客服中心
</text>
</view>
</view>
</template>
<style scoped lang="scss">
@import './HomeFloatingActions.scss';
</style>