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