Commit 6d9a8b82 authored by Morson's avatar Morson
parents abffb723 66147a07
......@@ -2,7 +2,7 @@
<template>
<view :style="{'width': fieldsWidth}">
<u-input :type="type" class="input-item" v-model="dataValue" @input="valueChange" :placeholder="placeholder" :placeholder-style="placeholderStyle"
:custom-style="customStyle" :clearable="false" :border="border" border-color="#ECECEC" :maxlength="maxlength"/>
:custom-style="customStyle" :clearable="false" :border="border" border-color="#ECECEC" :maxlength="maxlength" :cursor-spacing="10" hold-keyboard/>
</view>
</template>
......@@ -93,7 +93,11 @@
},
watch: {},
mounted() {},
methods: {}
methods: {
handleFocus() {
console.log('handle focus')
}
}
}
</script>
......
......@@ -16,7 +16,7 @@
</scroll-view>
<view class="form-list">
<view class="form-list" @touchmove="handleTouchstart">
<u-form :model="form" ref="uForm">
<template v-for="(groupItem, groupIndex) in (list.length>0?list[tabIndex].items:[])">
<view class="class-item" :key="groupIndex" v-show="current == groupIndex">
......@@ -674,8 +674,11 @@
}
}
}, 10)
}
}
},
handleTouchstart() {
uni.hideKeyboard()
}
}
}
</script>
......
......@@ -294,11 +294,11 @@
// uni.getLocation({
// type: 'gcj02', //返回可以用于uni.openLocation的经纬度
// success: function (res) {
const latitude = this.contactAddressLatitud //res.latitude;
const longitude =this.contactAddressLongitud //res.longitude;
const latitude = this.order.contactAddressLatitud //res.latitude;
const longitude =this.order.contactAddressLongitud //res.longitude;
uni.openLocation({
latitude: Number(this.contactAddressLatitud),
longitude: Number(this.contactAddressLongitud),
latitude: Number(latitude),
longitude: Number(longitude),
success: function () {
console.log('success');
}
......@@ -580,9 +580,9 @@
// 不同请求类型传递不同数据
if(this.submitType === 'orderAccept'){ // 接单
data.orderId = this.order.orderId
data.channel = 'zypt'
}else if(this.submitType === 'orderGan'){ // 抢单
data.orderId = this.order.orderId
data.channel = 4
}else if(this.submitType === 'workerAppointment'){ // 预约
data.appointmentDatetime =this.appointmentDatetime
if(!data.appointmentDatetime ){
......@@ -602,6 +602,7 @@
return
}
}
data.channel = 4
data.exception = this.isErrorSign
data.coordinate = this.dataValue ? this.dataValue[0]+','+this.dataValue[1]:''
data.url = this.errorSignUrl?this.errorSignUrl:''
......@@ -948,6 +949,7 @@
font-size: 26rpx;
color: #333333;
margin-top: 30rpx;
margin-bottom: 30rpx;
}
.record-line-view {
......
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