From ca34ca05a8cb35960791153b53471f1982b756de Mon Sep 17 00:00:00 2001 From: xingyy <373639591@qq.com> Date: Wed, 27 Sep 2023 10:04:50 +0800 Subject: [PATCH] submit --- App.vue | 3 +++ components/uiq-tabbar/uiq-tabbar.vue | 4 ++-- pages/consignment-painting/index.vue | 13 ++++++++++++- pages/order-goods/index.vue | 7 ++++--- pages/order-goods/order-details.vue | 12 ++++++++---- 5 files changed, 29 insertions(+), 10 deletions(-) diff --git a/App.vue b/App.vue index 3ad7d98..d95cd84 100644 --- a/App.vue +++ b/App.vue @@ -26,6 +26,9 @@ export default { justify-content: center; align-items: center; } +.u-tabbar__content{ + height: 166rpx; +} .tm-poup-wk{ height: initial!important; } diff --git a/components/uiq-tabbar/uiq-tabbar.vue b/components/uiq-tabbar/uiq-tabbar.vue index e41e154..8c49656 100644 --- a/components/uiq-tabbar/uiq-tabbar.vue +++ b/components/uiq-tabbar/uiq-tabbar.vue @@ -3,9 +3,9 @@ - + - + diff --git a/pages/consignment-painting/index.vue b/pages/consignment-painting/index.vue index d352a4e..7822211 100644 --- a/pages/consignment-painting/index.vue +++ b/pages/consignment-painting/index.vue @@ -167,7 +167,7 @@ -
+
寄存时限
@@ -256,6 +256,17 @@ export default { this.data = [today.getFullYear(), today.getMonth() + 1, today.getDate()] }, methods: { + openShow1(){ + if (!this.info.artworkSquareSize){ + uni.showToast({ + title: "请先填写画作平尺数", + duration: 2000, + icon: "none", + }); + return + } + this.show_1=true + }, uploadFilePromise(url, type = null) { return new Promise((resolve) => { uni.uploadFile({ diff --git a/pages/order-goods/index.vue b/pages/order-goods/index.vue index 7695d3e..0a1b4b9 100644 --- a/pages/order-goods/index.vue +++ b/pages/order-goods/index.vue @@ -50,7 +50,7 @@
{{ item.artworkSquareSize }}平尺
-
+
{{ item.startAt }}-{{ item.endAt }}
{{item.cycleName}}
@@ -164,11 +164,12 @@ export default { async getDistanceFromTopToPageBottom(classValue) { const {windowHeight, windowWidth} = await uni.getSystemInfo(); const [{top}] = await new Promise(resolve => uni.createSelectorQuery().select(classValue).boundingClientRect().exec(resolve)); - if(uni.getSystemInfoSync().platform === 'ios'){ + this.elementBottom = ((windowHeight - top) / windowWidth) * 750 - 175; + /* if(uni.getSystemInfoSync().platform === 'ios'){ this.elementBottom = ((windowHeight - top) / windowWidth) * 750 - 175; }else { this.elementBottom = ((windowHeight - top) / windowWidth) * 750 - 110; - } + }*/ }, openDelete(item) { this.messageText = `确认删除吗` diff --git a/pages/order-goods/order-details.vue b/pages/order-goods/order-details.vue index 3ee96d0..6afbf3c 100644 --- a/pages/order-goods/order-details.vue +++ b/pages/order-goods/order-details.vue @@ -78,20 +78,24 @@
寄存时限
-
+
{{info.cycleName}}
-
{{`${info.startAt || ''}-${info.endAt || ''}`}}
+
{{`${info.startAt || ''}-${info.endAt || ''}`}}
-
+
剩余天数
- +
+
{{info.levelDays}}天
+
({{info.endAt || ''}}已超时)
+
+