顶部导航修改

dev2
Panzihang 2023-08-24 17:06:35 +08:00
parent 5beb2b7f35
commit 72907ea511
26 changed files with 37 additions and 26 deletions

View File

@ -16,11 +16,21 @@
type: {
type: Boolean,
default: () => false
}
},
url: {
type: String,
default: () => ""
},
},
methods: {
toBack() {
uni.navigateBack('-1')
if (this.url != "") {
uni.navigateTo({
url: `${this.url}`
})
} else {
uni.navigateBack('-1')
}
}
}
}

View File

@ -1,5 +1,6 @@
<template>
<view class="details">
<head-view :title="title"></head-view>
<view class="container">
<view class="liBox">
<view class="title">
@ -287,6 +288,7 @@
export default {
data() {
return {
title: "货物详情",
id: 0
}
},

View File

@ -1,6 +1,6 @@
<template>
<view class="abnormal">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/documentList"></head-view>
<view class="container">
<view class="signBox">
<p class="sign" @click="sign"></p>

View File

@ -1,6 +1,6 @@
<template>
<view class="abnormalAdd">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/abnormal"></head-view>
<view class="container">
<view class="ul">
<view class="li">

View File

@ -1,6 +1,6 @@
<template>
<view class="brandDetails">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/documentList"></head-view>
<view class="container">
<view class="topBox">
<view class="searchBox">

View File

@ -1,6 +1,6 @@
<template>
<view class="carDetails">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/brandDetails"></head-view>
<view class="container">
<view class="ul">
<view class="li">船名{{testInfo.vslCnname}}</view>

View File

@ -1,6 +1,6 @@
<template>
<view class="documentList">
<head-view :title="title" :type="true"></head-view>
<head-view :title="title" :type="true" url="/pages/shipWork/index"></head-view>
<uni-notice-bar show-icon single :text="noticeText" />
<view class="container">
<view class="workBox">

View File

@ -1,6 +1,6 @@
<template>
<view class="mafi">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/documentList"></head-view>
<view class="container">
<view class="signBox">
<p class="sign" @click="sign"></p>

View File

@ -1,6 +1,6 @@
<template>
<view class="mafiAdd">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/mafi"></head-view>
<view class="container">
<view class="ul">
<view class="li">

View File

@ -1,6 +1,6 @@
<template>
<view class="mixWork">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/documentList"></head-view>
<view class="container">
<view class="signBox">
<p class="sign" @click="sign"></p>

View File

@ -1,6 +1,6 @@
<template>
<view class="notice">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/documentList"></head-view>
<view class="container">
<view class="signBox">
<p class="sign" @click="sign"></p>

View File

@ -1,6 +1,6 @@
<template>
<view class="noticeAdd">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/notice"></head-view>
<view class="container">
<view class="ul">
<view class="li">

View File

@ -1,6 +1,6 @@
<template>
<view class="opinion">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/documentList"></head-view>
<view class="container">
<view class="signBox">
<p class="sign" @click="sign"></p>

View File

@ -1,6 +1,6 @@
<template>
<view class="opinionAdd">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/opinion"></head-view>
<view class="container">
<view class="ul">
<view class="li">

View File

@ -1,6 +1,6 @@
<template>
<view class="patrol">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/documentList"></head-view>
<view class="container">
<template v-if="infoList.length > 0">
<view class="ul">

View File

@ -1,6 +1,6 @@
<template>
<view class="patrolAdd">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/patrol"></head-view>
<view class="container">
<view class="ul">
<view class="li">

View File

@ -1,6 +1,6 @@
<template>
<view class="peopleAdd">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/mixWork"></head-view>
<view class="container">
<view class="ul">
<view class="li">

View File

@ -1,6 +1,6 @@
<template>
<view class="shipInfo">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/documentList"></head-view>
<view class="container">
<view class="ul">
<view class="li">船名{{shipInfo.vslCnname}}</view>

View File

@ -1,6 +1,6 @@
<template>
<view class="shipPlan">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/documentList"></head-view>
<view class="container">
<p class="title">基本信息</p>
<view class="ul">

View File

@ -50,7 +50,6 @@
uni.getSystemInfo({
success: function(res) {
console.log(res);
that.width = res.windowWidth * 0.8;
that.height = res.windowHeight * 0.85;
}

View File

@ -1,6 +1,6 @@
<template>
<view class="supply">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/documentList"></head-view>
<view class="container">
<view class="signBox">
<p class="sign" @click="sign"></p>

View File

@ -1,6 +1,6 @@
<template>
<view class="supplyAdd">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/supply"></head-view>
<view class="container">
<view class="ul">
<view class="li">

View File

@ -1,6 +1,6 @@
<template>
<view class="untieAdd">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/untieCord"></head-view>
<view class="container">
<view class="ul">
<view class="li">

View File

@ -1,6 +1,6 @@
<template>
<view class="untieCord">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/documentList"></head-view>
<view class="container">
<view class="signBox">
<p class="sign" @click="sign"></p>

View File

@ -1,6 +1,6 @@
<template>
<view class="workAssign">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/documentList"></head-view>
<view class="container">
<view class="signBox">
<p class="sign" @click="sign"></p>

View File

@ -1,6 +1,6 @@
<template>
<view class="workAssignAdd">
<head-view :title="title"></head-view>
<head-view :title="title" url="/pages/shipWork/workAssign"></head-view>
<view class="container">
<view class="ul">
<view class="li">