Commit ebfd1fd6 authored by 和慭琛's avatar 和慭琛

bug fix

parent 0bb1f3ca
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
activeService:'', activeService:'',
demandContent:'', demandContent:'',
isAgree:false, isAgree:false,
isClean:false, isClean:true,
isRefresh:false, isRefresh:false,
isAllInput:false, isAllInput:false,
icon_location:'', icon_location:'',
...@@ -158,7 +158,8 @@ ...@@ -158,7 +158,8 @@
icon_mine:'', icon_mine:'',
icon_trangle_down:'', icon_trangle_down:'',
TimeID:-1, TimeID:-1,
isMineShow:false isMineShow:false,
} }
}, },
...@@ -180,12 +181,22 @@ ...@@ -180,12 +181,22 @@
onShow() { onShow() {
//this.getWorkerType() //this.getWorkerType()
//this.getPerson() //this.getPerson()
this.isClean = true console.log('onShow')
this.checkClean() this.checkClean()
//this.checkClean()
//this.timeProcessing('2020/12/17') //this.timeProcessing('2020/12/17')
//getApp().initAPIneedToken //getApp().initAPIneedToken
}, },
onHide() {
this.isClean = true
},
methods: { methods: {
doNothing:function(){}, doNothing:function(){},
...@@ -223,6 +234,7 @@ ...@@ -223,6 +234,7 @@
console.log('详细地址:' + res.address); console.log('详细地址:' + res.address);
console.log('纬度:' + res.latitude); console.log('纬度:' + res.latitude);
console.log('经度:' + res.longitude); console.log('经度:' + res.longitude);
that.isClean = false
that.location = res.name that.location = res.name
that.address = res.address that.address = res.address
},fail: function (res) { },fail: function (res) {
...@@ -249,13 +261,15 @@ ...@@ -249,13 +261,15 @@
//勾选点击 //勾选点击
agreeClick: function (isAgree) { agreeClick: function (isAgree) {
/*
clearTimeout(this.TimeID); clearTimeout(this.TimeID);
this.TimeID = setTimeout(() => { this.TimeID = setTimeout(() => {
*/
this.isAgree = !isAgree this.isAgree = !isAgree
console.log(this.isAgree) console.log(this.isAgree)
/*
}, 1000); }, 1000);
*/
}, },
...@@ -263,9 +277,10 @@ ...@@ -263,9 +277,10 @@
//服务协议 点击 //服务协议 点击
protocolClick: function () { protocolClick: function () {
/*
clearTimeout(this.TimeID); clearTimeout(this.TimeID);
this.TimeID = setTimeout(() => { this.TimeID = setTimeout(() => {
*/
console.log('服务协议 点击') console.log('服务协议 点击')
uni.showLoading({ uni.showLoading({
title:'加载中' title:'加载中'
...@@ -314,8 +329,9 @@ ...@@ -314,8 +329,9 @@
}) })
} }
}); });
/*
}, 1000); }, 1000);
*/
...@@ -946,7 +962,7 @@ ...@@ -946,7 +962,7 @@
background-color: #FAFAFA; background-color: #FAFAFA;
width: 100%; width: 100%;
height: 100rpx; height: 100rpx;
margin-top: 0rpx; margin-top: 35rpx;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
...@@ -1131,7 +1147,6 @@ ...@@ -1131,7 +1147,6 @@
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
margin-top: 35rpx;
} }
</style> </style>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<view class="itemView" v-if="activeTop == 1" v-for="(item,ikey) in unfinishList":key="ikey"> <view class="itemView" v-if="activeTop == 1" v-for="(item,ikey) in unfinishList":key="ikey">
<view class="orderTypeView"> <view class="orderTypeView">
<text class="orderTypeText" v-if="item.orderTypeText">{{item.orderTypeText}}</text> <text class="orderTypeText" v-if="item.orderTypeText">{{item.orderTypeText}}</text>
<text class="orderCreateTimeText" v-if="item.createDatetime">{{formatDate(item.createDatetime)}}</text> <text class="orderCreateTimeText" v-if="item.createDatetime && item.createDatetime.length && item.createDatetime.length >0">{{formatDate(item.createDatetime)}}</text>
</view> </view>
<view class="nameView" @click="itemClick(item)"> <view class="nameView" @click="itemClick(item)">
<view class="nameLeftView"> <view class="nameLeftView">
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<view class="itemView" v-if="activeTop == 2" @click="itemClick(item)" v-for="(item,ikey) in finishList":key="ikey"> <view class="itemView" v-if="activeTop == 2" @click="itemClick(item)" v-for="(item,ikey) in finishList":key="ikey">
<view class="orderTypeView"> <view class="orderTypeView">
<text class="orderTypeText" v-if="item.orderTypeText">{{item.orderTypeText}}</text> <text class="orderTypeText" v-if="item.orderTypeText">{{item.orderTypeText}}</text>
<text class="orderCreateTimeText" v-if="item.createDatetime">{{formatDate(item.createDatetime)}}</text> <text class="orderCreateTimeText" v-if="item.createDatetime && item.createDatetime.length && item.createDatetime.length>0">{{formatDate(item.createDatetime)}}</text>
</view> </view>
<view class="nameView"> <view class="nameView">
<view class="nameLeftView"> <view class="nameLeftView">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment