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

bug fix

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