|
@@ -258,7 +258,7 @@ Page({
|
|
Getlocation() {
|
|
Getlocation() {
|
|
// 假设 this.storeList[0].location 是一个 Parse.GeoPoint 对象
|
|
// 假设 this.storeList[0].location 是一个 Parse.GeoPoint 对象
|
|
const storeLocation = this.data.storeList[0].location;
|
|
const storeLocation = this.data.storeList[0].location;
|
|
-
|
|
|
|
|
|
+ console.log();
|
|
// 从 GeoPoint 对象中获取经纬度
|
|
// 从 GeoPoint 对象中获取经纬度
|
|
const latitude = storeLocation.latitude; // 纬度
|
|
const latitude = storeLocation.latitude; // 纬度
|
|
const longitude = storeLocation.longitude; // 经度
|
|
const longitude = storeLocation.longitude; // 经度
|
|
@@ -334,10 +334,10 @@ Page({
|
|
url: `../homestay-order/index?${queryString}`
|
|
url: `../homestay-order/index?${queryString}`
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|
|
- wx.showToast({
|
|
|
|
- title: '请先进行实名认证',
|
|
|
|
- icon: 'none'
|
|
|
|
- })
|
|
|
|
|
|
+ // wx.showToast({
|
|
|
|
+ // title: '请先进行实名认证',
|
|
|
|
+ // icon: 'none'
|
|
|
|
+ // })
|
|
//实名
|
|
//实名
|
|
// wx.navigateTo({
|
|
// wx.navigateTo({
|
|
// url: `/common-page/pages/info/cauth/cauth?themeColor=#FFE300`
|
|
// url: `/common-page/pages/info/cauth/cauth?themeColor=#FFE300`
|