提交 3d339b3f 编写于 作者: 张敬贤's avatar 张敬贤

add

上级 f910e5fd
......@@ -322,8 +322,8 @@ export default {
});
geolocation.getCurrentPosition((status, result) => {
console.log('geolocation,', status, result);
that.position.latitude = result.position.lat;
that.position.longitude = result.position.lng;
that.position.latitude = result.position.lat || '';
that.position.longitude = result.position.lng || '';
const data = {
projectEquityNo: that.projectEquityNo,
latitude: that.position.latitude,
......
......@@ -122,6 +122,14 @@
>
重新预约
</div>
<van-action-sheet
v-model="showSsheet"
:actions="actions"
cancel-text="取消"
close-on-click-action
@cancel="onCancel"
@select="selectItem"
/>
</div>
</template>
......@@ -133,13 +141,15 @@ export default {
return {
picaWechat:window._picaWechat,
headerInfo: {
title: '检测服务',
title: '预约详情',
isBlack: true,
backMethod: 'web',
style: 'backgroundColor:#ffffff;zIndex:100;',
background: '',
},
actions: [{ name: '高德地图' }, { name: '腾讯地图' }, { name: '百度地图' }],
detailInfo: {},
showSsheet:false,
yunOrderNo: '',
query:{},
// 状态 0=待预约,1=已预约 ,2=已出报告 4=已取消 5=已过期
......@@ -179,8 +189,19 @@ export default {
},
reAppoint() {
},
selectItem() {
const address = '上海市浦东新区兰花路333';
const url = 'https://uri.amap.com/marker?&name=' + address + '&callnative=1';
window.open(url);
},
bindingCode() {
this.$router.push({
path:'/insuranceBindCode'
});
},
navigation() {
this.showSsheet = true;
},
// 复制快递单号
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册