From 3967cba687031da7be2623b3b7731b257590df2b Mon Sep 17 00:00:00 2001 From: wangchen Date: Wed, 5 Jul 2023 10:56:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=99=E6=80=81=E9=83=A8=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/sider-bar/slider-bar.vue | 90 +++++++++++------ pages.json | 12 +++ pages/discharge/index.vue | 96 ++++++++++++++++++ pages/index/index.vue | 47 ++++++++- pages/shipWork/index.vue | 150 ++++++++++++++++++++++++++++ style/css/main.css | 2 +- 6 files changed, 362 insertions(+), 35 deletions(-) create mode 100644 pages/discharge/index.vue create mode 100644 pages/shipWork/index.vue diff --git a/components/sider-bar/slider-bar.vue b/components/sider-bar/slider-bar.vue index db3e72b..ab627a5 100644 --- a/components/sider-bar/slider-bar.vue +++ b/components/sider-bar/slider-bar.vue @@ -1,32 +1,60 @@ - + + + diff --git a/pages.json b/pages.json index 1356288..8f274fb 100644 --- a/pages.json +++ b/pages.json @@ -5,6 +5,18 @@ "style": { "navigationBarTitleText": "首页" } + }, + { + "path": "pages/discharge/index", + "style": { + "navigationBarTitleText": "卸船指令" + } + }, + { + "path": "pages/shipWork/index", + "style": { + "navigationBarTitleText": "船舶作业" + } } ], "tabBar": { diff --git a/pages/discharge/index.vue b/pages/discharge/index.vue new file mode 100644 index 0000000..1a44a63 --- /dev/null +++ b/pages/discharge/index.vue @@ -0,0 +1,96 @@ + + + + + diff --git a/pages/index/index.vue b/pages/index/index.vue index b809eeb..2dfeca0 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -2,7 +2,7 @@ - + @@ -10,7 +10,27 @@ - + + + 海王星领袖 + + + ● 作业中 + ● 已完成 + + + + + + 航次:735546 + 贸易类型: 内贸 + + + 进出口: 进口 + 泊位: 一泊位 + + + @@ -74,8 +94,29 @@ width: 32%; margin-top: 15px; margin-right: 2%; - height: 190px; + height: 160px; border: 1px solid #c9cacb; + padding: 22px 15px; + .title { + display: flex; + justify-content: space-between; + font-size: 21px; + margin-bottom: 20px; + font-weight: 700; + } + .status { + font-size: 16px; + font-weight: 400; + } + .row { + display: flex; + justify-content: space-between; + font-size: 18px; + margin: 10px 0; + .text { + display: block; + } + } } .item:nth-child(3n) { margin-right: 0; diff --git a/pages/shipWork/index.vue b/pages/shipWork/index.vue new file mode 100644 index 0000000..e151e1e --- /dev/null +++ b/pages/shipWork/index.vue @@ -0,0 +1,150 @@ + + + + + diff --git a/style/css/main.css b/style/css/main.css index 124692c..fae2f63 100644 --- a/style/css/main.css +++ b/style/css/main.css @@ -2977,7 +2977,7 @@ swiper.round-dot .uni-swiper-dot.uni-swiper-dot-active { } .content{ width: 100vw; - height: 100vh; + min-height: 100vh; } image{ width: 100%;