项目添加页面导航栏修改

This commit is contained in:
WindowBird 2025-11-18 17:19:03 +08:00
parent 762bdaf71e
commit 49900f16ed
2 changed files with 15 additions and 15 deletions

View File

@ -141,8 +141,8 @@
{
"path": "pages/project/form/index",
"style": {
"navigationBarTitleText": "项目编辑",
"navigationStyle": "custom"
"navigationBarTitleText": "项目编辑"
}
},
{

View File

@ -1,18 +1,18 @@
<template>
<view class="project-form-page">
<view class="custom-navbar">
<view class="navbar-content">
<text class="nav-btn" @click="handleBack">取消</text>
<text class="nav-title">{{ pageTitle }}</text>
<text
class="nav-btn"
:class="{ disabled: !canSubmit || submitting }"
@click="handleSubmit"
>
{{ mode === 'edit' ? '保存' : '创建' }}
</text>
</view>
</view>
<!-- <view class="custom-navbar">-->
<!-- <view class="navbar-content">-->
<!-- <text class="nav-btn" @click="handleBack">取消</text>-->
<!-- <text class="nav-title">{{ pageTitle }}</text>-->
<!-- <text-->
<!-- class="nav-btn"-->
<!-- :class="{ disabled: !canSubmit || submitting }"-->
<!-- @click="handleSubmit"-->
<!-- >-->
<!-- {{ mode === 'edit' ? '保存' : '创建' }}-->
<!-- </text>-->
<!-- </view>-->
<!-- </view>-->
<view class="loading-box" v-if="pageLoading">
<text class="loading-text">加载中...</text>