如果没有经纬度则给到默认的经纬度

This commit is contained in:
wangxiaowei
2025-12-26 13:25:34 +08:00
parent 434fc0f041
commit dc635de2e9
10 changed files with 56 additions and 41 deletions

View File

@ -182,7 +182,7 @@
<view class="text-[#4C9F44] font-bold text-32rpx leading-44rpx absolute top-[50%] transform translate-y-[-50%] right-22rpx">点击开锁</view>
</view>
<view class="text-[#303133] text-30rpx leading-42rpx mt-16rpx text-center">大门锁</view>
<view class="text-[#606266] text-26rpx leading-48rpx mt-4rpx text-center font-500">手动输入 1052 32#</view>
<view class="text-[#606266] text-26rpx leading-48rpx mt-4rpx text-center font-500">{{ order.is_lockpwd == 1 ? `手动输入 ${order.gate_key}` : '正在生成密码' }}</view>
</view>
<view class="border-r-2rpx border-r-solid border-r-[#F6F7F9] h-224rpx"></view>
<view class="w-224rpx" @click="OrderDetail.handleOpenDoorLock('room')">
@ -191,7 +191,7 @@
<view class="text-[#4C9F44] font-bold text-32rpx leading-44rpx absolute top-[50%] transform translate-y-[-50%] right-22rpx">点击开锁</view>
</view>
<view class="text-[#303133] text-30rpx leading-42rpx mt-16rpx text-center">房间锁</view>
<view class="text-[#606266] text-26rpx leading-48rpx mt-4rpx text-center font-500">手动输入 1052 32#</view>
<view class="text-[#606266] text-26rpx leading-48rpx mt-4rpx text-center font-500">{{ order.is_lockpwd == 1 ? `手动输入 ${order.room_key}` : '正在生成密码' }}</view>
</view>
</view>
</view>
@ -398,7 +398,11 @@
start_time: '',
end_time: '',
renew_price: 0
}
},
is_lockpwd: 0,
gate_key: '',
room_key: ''
})
// 一键续订的时间
@ -660,12 +664,10 @@
console.log('开始转让订单4', res)
uni.removeStorageSync('transferOrder')
toast.success('订单接收成功')
router.switchTab('/pages/my/my', 500)
router.redirectTo('/bundle/order/tea-room/order-list', 500)
})
}
}).catch(() => {
// 点击取消按钮回调事件
})
}).catch(() => {})
},
/**