@@ -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 || ''}}已超时)
+
+