|
|
@@ -3,13 +3,31 @@ import { createStore } from "vuex";
|
|
|
const store = createStore({
|
|
|
state: {
|
|
|
isLogin: false,
|
|
|
- currentTabText: "智能交易中心",
|
|
|
+ currentTabText: "环境中心",
|
|
|
cargoOwnerInfo: {
|
|
|
cargoOwnerName: "货主王",
|
|
|
cargo: "石油焦",
|
|
|
tons: "30000",
|
|
|
shipRoute: "秦皇岛-上海",
|
|
|
contractId: 1,
|
|
|
+ data: [
|
|
|
+ {
|
|
|
+ title: "货种",
|
|
|
+ text: "煤炭",
|
|
|
+ icon: "cargo",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "吨位",
|
|
|
+ text: "30",
|
|
|
+ unit: "吨",
|
|
|
+ icon: "ship",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "航线",
|
|
|
+ text: "秦皇岛-上海",
|
|
|
+ icon: "hangxian",
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
shipInfo: {
|
|
|
shipOwnerName: "船东王",
|
|
|
@@ -19,6 +37,47 @@ const store = createStore({
|
|
|
mmsi: "410999888",
|
|
|
length: 100,
|
|
|
width: 30,
|
|
|
+ data: [
|
|
|
+ {
|
|
|
+ title: "MMSI",
|
|
|
+ text: "410998998",
|
|
|
+ icon: "ship-fill",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "船长",
|
|
|
+ text: "30",
|
|
|
+ unit: "米",
|
|
|
+ icon: "ship-length",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "船宽",
|
|
|
+ text: "18",
|
|
|
+ unit: "米",
|
|
|
+ icon: "ship-width",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ damInfo: {
|
|
|
+ data: [
|
|
|
+ {
|
|
|
+ title: "上游前往三峡数量",
|
|
|
+ text: "98700",
|
|
|
+ unit: "艘",
|
|
|
+ icon: "ship-fill",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "三峡等闸船舶数量",
|
|
|
+ text: "88300",
|
|
|
+ unit: "艘",
|
|
|
+ icon: "dam",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "预计等待时间",
|
|
|
+ text: "98700",
|
|
|
+ unit: "分",
|
|
|
+ icon: "clock",
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
capacity: {
|
|
|
status: 0,
|