fix: navbar commpontents

This commit is contained in:
zzc
2026-01-31 23:31:40 +08:00
parent 4f4a7792cb
commit 6f08363701
11 changed files with 33 additions and 477 deletions

View File

@@ -1,10 +1,6 @@
<template>
<view class="feedback-page" :style="{ paddingTop: getBavBarHeight() + 'px' }">
<!-- Custom Navbar -->
<view class="nav-bar">
<view class="back" @tap="goBack"></view>
<text class="nav-title">意见反馈</text>
</view>
<view class="feedback-page" >
<NavBar title="意见反馈" />
<view class="content-wrap">
<!-- Type Selector -->
@@ -84,9 +80,10 @@
<script setup>
import { ref, computed } from "vue";
import { getBavBarHeight, getDeviceInfo } from "@/utils/system";
import { getDeviceInfo } from "@/utils/system";
import { sendFeedback } from "@/api/mine.js";
import { uploadImage } from "@/utils/common.js";
import NavBar from "@/components/NavBar/NavBar.vue";
const feedbackTypes = [
{ label: "功能建议", value: 1 },
@@ -105,10 +102,6 @@ const isValid = computed(() => {
return formData.value.content.trim().length > 0;
});
const goBack = () => {
uni.navigateBack();
};
const chooseImage = () => {
uni.chooseImage({
count: 3 - formData.value.images.length,