fix
This commit is contained in:
parent
09bfce6ef5
commit
be84013ade
@ -12,43 +12,35 @@
|
||||
{
|
||||
"path": "pages/login/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"app-plus": {
|
||||
"titleNView": false // 禁用原生导航
|
||||
}
|
||||
"navigationBarTitleText": "登录",
|
||||
"enablePullDownRefresh": false
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"app-plus": {
|
||||
"titleNView": false // 禁用原生导航
|
||||
}
|
||||
"navigationBarTitleText": "添加画作",
|
||||
"enablePullDownRefresh": false
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/painting/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"app-plus": {
|
||||
"titleNView": false // 禁用原生导航
|
||||
}
|
||||
"navigationBarTitleText": "入库",
|
||||
"enablePullDownRefresh": false
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/detail/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"app-plus": {
|
||||
"titleNView": false // 禁用原生导航
|
||||
}
|
||||
"enablePullDownRefresh": false
|
||||
|
||||
}
|
||||
},
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
|
@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<navBar v-if="state.boxRelBucketStatus == 1"> 出库 </navBar>
|
||||
<!-- <navBar v-if="state.boxRelBucketStatus == 1"> 出库 </navBar>
|
||||
<navBar
|
||||
v-if="state.boxRelBucketStatus == 2 || state.boxRelBucketStatus == 4"
|
||||
>
|
||||
画筒详情
|
||||
</navBar>
|
||||
</navBar> -->
|
||||
<view class="container-box">
|
||||
<span
|
||||
style="font-weight: bold; text-align: center"
|
||||
@ -76,7 +76,7 @@
|
||||
import { ref, reactive, onBeforeMount } from "vue";
|
||||
import { closeWebview, hasPermission } from "../../../utils/index.js";
|
||||
|
||||
import { onLoad } from "@dcloudio/uni-app";
|
||||
import { onLoad, onShow } from "@dcloudio/uni-app";
|
||||
import useToast from "@/hooks/toast/useToast.js";
|
||||
import { pbDetail, outbound, getRules } from "@/api/login.js";
|
||||
const { showMessage } = useToast();
|
||||
@ -95,6 +95,11 @@ const state = reactive({
|
||||
locateAddress: "",
|
||||
boxUid: "",
|
||||
});
|
||||
onShow(() => {
|
||||
uni.setNavigationBarTitle({
|
||||
title: state.boxRelBucketStatus == 1 ? "出库" : "画筒详情",
|
||||
});
|
||||
});
|
||||
onLoad((options) => {
|
||||
state.id = options.id;
|
||||
state.pid = options.pid;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<navBar> 添加画作 </navBar>
|
||||
<!-- <navBar> 添加画作 </navBar> -->
|
||||
<view class="container-box">
|
||||
<span style="font-weight: bold"> 已扫画筒号:{{ state.pid }} </span>
|
||||
<view style="display: flex; align-items: center">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<navBar> 登录 </navBar>
|
||||
<!-- <navBar> 登录 </navBar> -->
|
||||
<view class="container-box">
|
||||
<view class="title">
|
||||
<span>登录</span>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<navBar> 入库 </navBar>
|
||||
<!-- <navBar> 入库 </navBar> -->
|
||||
<view class="container-box">
|
||||
<span style="font-weight: bold"> 已扫画筒号:{{ state.pid }} </span>
|
||||
<span style="margin-top: 40rpx"> 请放入: </span>
|
||||
|
Loading…
Reference in New Issue
Block a user