Kaynağa Gözat

change bug page

邹能昇 4 ay önce
ebeveyn
işleme
1640858d60

+ 5 - 5
nova-tourism/pages/homestay/homestay-detail/index.js

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

+ 1 - 1
nova-tourism/pages/homestay/homestay-order/index.wxml

@@ -68,7 +68,7 @@
 <!-- 日期选择 default-date="{{date}}"-->
 <van-calendar show="{{ showDate }}" bind:close="closeDate" type="range" bind:unselect="unselectDate"
 	bind:confirm="enterDate" color="#46a9a4" formatter="{{ checkedFormatter }}" bind:select="selectDate" title="请选择日期"
-	default-date="{{null}}" max-range="{{ 28 }}" />
+	default-date="{{[start,end]}}" max-range="{{ 28 }}" />
 <!-- default-date="{{defaultDate}}" -->
 
 <!-- 人数选择 -->