feat(uploadClothes): 隐藏页面头部并更新标题配置

- 在页面挂载时隐藏 uni-app 默认头部导航栏- 更新 pages.json 中页面标题文本为 "1234"
- 配置 titleNView选项以关闭 H5 和 app 端的标题栏
- 添加关于换发型功能的文档链接到 README.md
This commit is contained in:
liguigong
2025-10-09 17:42:59 +08:00
parent 738f56caad
commit d0af1f8f8b
3 changed files with 14 additions and 2 deletions
+5 -1
View File
@@ -57,7 +57,7 @@
</template>
<script setup>
import { computed, ref } from 'vue';
import { computed, ref, onMounted } from 'vue';
import { onLoad, onPageScroll, onPullDownRefresh } from '@dcloudio/uni-app';
import sheep from '@/sheep';
import SelectPic from '@/pages/uploadClothes/SelectPic.vue';
@@ -70,6 +70,10 @@
const imageUrl = ref('');
const clothesId = ref('');
const isEdit = ref(false);
onMounted(() => {
const header = document.querySelector('.uni-page-head-hd');
if (header) header.style.display = 'none';
});
function confirmClothes() {
fittingRoomStore