邹能昇 4 月之前
父節點
當前提交
88822ad0d5

+ 9 - 0
nova-tourism/pages/homestay/homestay-detail/index.less

@@ -70,6 +70,15 @@
                 height: auto;
                 margin-left: 10rpx;
             }
+            .info-intr2{
+                margin-top: 10rpx;
+                font-size: 28rpx;
+                width: 100%;
+                height: auto;
+                margin-left: 4rpx;
+                color: skyblue;
+                display: flex;
+            }
             .info-map{
                 width: 100%;
                 display: flex;

+ 2 - 1
nova-tourism/pages/homestay/homestay-detail/index.wxml

@@ -21,8 +21,9 @@
                 <image class="name-pic" wx:if="{{storeList[0].iscollect}}" src="https://file-cloud.fmode.cn/EbxZUK5lBI/20241121/8mp9uj030058190.png?imageView2/1/w/200/h/200"></image>
             </view>
             <view class="info-intr">{{storeList[0].desc}}</view>
+            <view class="info-intr2" bindtap="callMap"><van-icon size='40rpx' name="location-o" /> {{storeList[0].storeAddress}}</view>
             <view class="info-map">
-                <view class="map" bindtap="callMap">
+                <view class="map" >
                     <map class="map" enable-zoom="ture" enable-scroll="true" id="map" longitude="{{longitude}}" latitude="{{latitude}}" scale="20" markers="{{markers}}"></map>
                 </view>
                 <view class="info-call" bindtap="phone" >

File diff suppressed because it is too large
+ 0 - 0
nova-tourism/pages/homestay/homestay-detail/index.wxss


+ 2 - 1
nova-tourism/pages/my/merchant/merchant-home/account/index.js

@@ -138,8 +138,9 @@ Page({
         ShopStore.set("name", this.data.name)
         ShopStore.set("cover", this.data.cover)
         ShopStore.set("image", image)
-        if (this.data.locations) {
+        if (this.data.locations&&this.data.address) {
             ShopStore.set("location", this.data.locations)
+            ShopStore.set("storeAddress", this.data.address)
         } else {
             wx.showToast({
                 title: '请选择民宿地址',

Some files were not shown because too many files changed in this diff