hookehuyr

feat(页面配置): 更新页面标题和布局样式

- 为多个页面添加导航栏标题文本
- 统一调整页面头部布局,移除重复标题并扩展搜索栏宽度
- 修改认证页面按钮和标题显示逻辑
/*
* @Date: 2025-07-02 22:18:16
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-07-02 23:00:27
* @LastEditTime: 2025-07-16 11:40:29
* @FilePath: /jgdl/src/pages/goodCarList/index.config.js
* @Description: 文件描述
*/
export default {
navigationBarTitleText: '',
navigationBarTitleText: '特价好车',
usingComponents: {
},
}
......
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-07-16 10:18:58
* @LastEditTime: 2025-07-16 11:40:08
* @FilePath: /jgdl/src/pages/goodCarList/index.vue
* @Description: 特价好车页面
-->
......@@ -10,12 +10,12 @@
<view class="flex flex-col bg-white min-h-screen">
<!-- Header -->
<nut-sticky>
<view class="bg-orange-400 p-4 pt-4 pb-4">
<view class="bg-orange-400">
<nut-row type="flex" justify="center" align="center">
<nut-col span="6">
<!-- <nut-col span="6">
<view class="text-xl font-bold text-white">特价好车</view>
</nut-col>
<nut-col span="18">
</nut-col> -->
<nut-col span="24">
<!-- Search Bar -->
<nut-searchbar v-model="searchValue" placeholder="搜索商品名称、品牌、型号" @blur="onBlurSearch" shape="round" background="transparent" input-background="#ffffff">
<template #leftin>
......
/*
* @Date: 2025-07-01 17:55:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-07-02 14:02:57
* @LastEditTime: 2025-07-16 11:30:49
* @FilePath: /jgdl/src/pages/messages/index.config.js
* @Description: 文件描述
*/
export default {
navigationBarTitleText: ''
navigationBarTitleText: '消息'
}
......
<template>
<view class="messages-page">
<view class="flex flex-col">
<view id="page-header" class="bg-orange-400 p-4 pt-4 pb-4">
<view id="page-header" class="bg-orange-400">
<nut-row type="flex" justify="center" align="center">
<nut-col span="4">
<!-- <nut-col span="4">
<view class="text-xl font-bold text-white">消息</view>
</nut-col>
<nut-col span="20">
</nut-col> -->
<nut-col span="24">
<!-- Search Bar -->
<nut-searchbar v-model="searchValue" placeholder="搜索消息" @blur="onBlurSearch" shape="round"
background="transparent" input-background="#ffffff">
......
/*
* @Date: 2025-07-02 22:16:48
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-07-02 22:17:11
* @LastEditTime: 2025-07-16 11:44:52
* @FilePath: /jgdl/src/pages/newCarList/index.config.js
* @Description: 文件描述
*/
export default {
navigationBarTitleText: '',
navigationBarTitleText: '最新上架',
usingComponents: {
},
}
......
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-07-16 10:27:40
* @LastEditTime: 2025-07-16 11:44:44
* @FilePath: /jgdl/src/pages/newCarList/index.vue
* @Description: 最新上架页面
-->
......@@ -10,12 +10,12 @@
<view class="flex flex-col bg-white min-h-screen">
<!-- Header -->
<nut-sticky>
<view class="bg-orange-400 p-4 pt-4 pb-4">
<view class="bg-orange-400">
<nut-row type="flex" justify="center" align="center">
<nut-col span="6">
<!-- <nut-col span="6">
<view class="text-xl font-bold text-white">最新上架</view>
</nut-col>
<nut-col span="18">
</nut-col> -->
<nut-col span="24">
<!-- Search Bar -->
<nut-searchbar v-model="searchValue" placeholder="搜索商品名称、品牌、型号" @blur="onBlurSearch" shape="round" background="transparent" input-background="#ffffff">
<template #leftin>
......
/*
* @Date: 2025-07-01 17:55:04
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-07-02 14:03:28
* @LastEditTime: 2025-07-16 11:25:29
* @FilePath: /jgdl/src/pages/post/index.config.js
* @Description: 文件描述
*/
export default {
navigationBarTitleText: ''
navigationBarTitleText: '分类'
}
......
......@@ -3,12 +3,12 @@
<view class="flex flex-col bg-white min-h-screen">
<!-- Header -->
<nut-sticky>
<view class="bg-orange-400 p-4 pt-4 pb-4">
<view class="bg-orange-400">
<nut-row type="flex" justify="center" align="center">
<nut-col span="4">
<!-- <nut-col span="0">
<view class="text-xl font-bold text-white">分类</view>
</nut-col>
<nut-col span="20">
</nut-col> -->
<nut-col span="24">
<!-- Search Bar -->
<nut-searchbar v-model="searchValue" placeholder="搜索品牌型号" @blur="onBlurSearch" shape="round" background="transparent" input-background="#ffffff">
<template #leftin>
......
/*
* @Date: 2025-07-02 22:16:48
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-07-02 22:17:11
* @FilePath: /jgdl/src/pages/newCarList/index.config.js
* @LastEditTime: 2025-07-16 11:45:23
* @FilePath: /jgdl/src/pages/recommendCarList/index.config.js
* @Description: 文件描述
*/
export default {
navigationBarTitleText: '',
navigationBarTitleText: '精品推荐',
usingComponents: {
},
}
......
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-07-07 17:04:49
* @LastEditTime: 2025-07-16 11:45:18
* @FilePath: /jgdl/src/pages/recommendCarList/index.vue
* @Description: 精品推荐页面
-->
......@@ -10,12 +10,12 @@
<view class="flex flex-col bg-white min-h-screen">
<!-- Header -->
<nut-sticky>
<view class="bg-orange-400 p-4 pt-4 pb-4">
<view class="bg-orange-400">
<nut-row type="flex" justify="center" align="center">
<nut-col span="6">
<!-- <nut-col span="6">
<view class="text-xl font-bold text-white">精品推荐</view>
</nut-col>
<nut-col span="18">
</nut-col> -->
<nut-col span="24">
<!-- Search Bar -->
<nut-searchbar v-model="searchValue" placeholder="搜索商品名称、品牌、型号" @blur="onBlurSearch" shape="round" background="transparent" input-background="#ffffff">
<template #leftin>
......
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-07-16 09:59:15
* @LastEditTime: 2025-07-16 11:46:14
* @FilePath: /jgdl/src/pages/setAuthCar/index.vue
* @Description: 申请认证
-->
......@@ -129,7 +129,7 @@
<!-- 底部按钮 -->
<view class="bottom-actions">
<nut-button color="#f97316" size="large" block @click="onSubmit">
{{ isEditMode ? '保存修改' : '提交申请' }}
{{ isEditMode ? '提交申请' : '提交申请' }}
</nut-button>
</view>
......@@ -524,7 +524,7 @@ onMounted(async () => {
// 动态修改标题
wx.setNavigationBarTitle({
title: isEditMode.value ? '编辑认证' : '发布认证'
title: isEditMode.value ? '发布认证' : '发布认证'
});
})
</script>
......