fix: navbar commpontents
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user