feat(uploadClothes): 隐藏页面头部并更新标题配置
- 在页面挂载时隐藏 uni-app 默认头部导航栏- 更新 pages.json 中页面标题文本为 "1234" - 配置 titleNView选项以关闭 H5 和 app 端的标题栏 - 添加关于换发型功能的文档链接到 README.md
This commit is contained in:
@@ -48,3 +48,7 @@ PC的老版本地址: https://puton.meidaojia.com/
|
|||||||
【腾讯文档】PUTON美搭小程序-验收文档
|
【腾讯文档】PUTON美搭小程序-验收文档
|
||||||
https://docs.qq.com/sheet/DS0pybm5Yc1ViakNj
|
https://docs.qq.com/sheet/DS0pybm5Yc1ViakNj
|
||||||
改成所有人可编辑了
|
改成所有人可编辑了
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
换发型: https://leops128e7.feishu.cn/docx/HVCHdCAV8ok4bkxcaXVc6q6enXb
|
||||||
|
|||||||
+5
-1
@@ -100,8 +100,12 @@
|
|||||||
{
|
{
|
||||||
"path": "pages/uploadClothes/index",
|
"path": "pages/uploadClothes/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "123",
|
"navigationBarTitleText": "1234",
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
|
"titleNView": false,
|
||||||
|
"app-plus": {
|
||||||
|
"titleNView": false // 关闭 H5 端的标题栏
|
||||||
|
},
|
||||||
"h5": {
|
"h5": {
|
||||||
"titleNView": false // H5 端直接去掉浏览器默认标题栏
|
"titleNView": false // H5 端直接去掉浏览器默认标题栏
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { computed, ref } from 'vue';
|
import { computed, ref, onMounted } from 'vue';
|
||||||
import { onLoad, onPageScroll, onPullDownRefresh } from '@dcloudio/uni-app';
|
import { onLoad, onPageScroll, onPullDownRefresh } from '@dcloudio/uni-app';
|
||||||
import sheep from '@/sheep';
|
import sheep from '@/sheep';
|
||||||
import SelectPic from '@/pages/uploadClothes/SelectPic.vue';
|
import SelectPic from '@/pages/uploadClothes/SelectPic.vue';
|
||||||
@@ -70,6 +70,10 @@
|
|||||||
const imageUrl = ref('');
|
const imageUrl = ref('');
|
||||||
const clothesId = ref('');
|
const clothesId = ref('');
|
||||||
const isEdit = ref(false);
|
const isEdit = ref(false);
|
||||||
|
onMounted(() => {
|
||||||
|
const header = document.querySelector('.uni-page-head-hd');
|
||||||
|
if (header) header.style.display = 'none';
|
||||||
|
});
|
||||||
|
|
||||||
function confirmClothes() {
|
function confirmClothes() {
|
||||||
fittingRoomStore
|
fittingRoomStore
|
||||||
|
|||||||
Reference in New Issue
Block a user