邹能昇 преди 4 месеца
родител
ревизия
7473eec6dd

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

@@ -316,19 +316,20 @@ Page({
                             latitude: latitude,
                             longitude: longitude,
                             iconPath: 'https://file-cloud.fmode.cn/13WZ0W7u3l/20240724/7ebg0k104325941.png?imageView2/1/w/200/h/200', // 自定义标记图标
-                            width: 30,
-                            height: 30,
+                            width: 20,
+                            height: 20,
                             callout: {
                                 content: this.data.storeList[0].storeName, // 可以显示解析出的地址
                                 color: '#ffffff',
                                 bgColor: '#7F56B2',
-                                padding: 10,
+                                padding: 2,
+                                fontSize:12,
                                 borderRadius: 5,
                                 display: 'ALWAYS'
                             }
                         }]
                     });
-                    console.log(this.data.address);
+                    // console.log(this.data.address);
                 },
                 fail: function (resq) {
                     wx.showModal({

+ 17 - 20
nova-tourism/pages/homestay/homestay-detail/index.less

@@ -12,7 +12,7 @@
         position: relative;
         .img{
             width: 100%;
-            height: 480rpx;
+            height: 454rpx;
             image{
                 width: 100%;
                 height: 100%;
@@ -21,14 +21,13 @@
         }
         .numberbox{
             position: absolute;
-            bottom: 40rpx;
+            bottom: 60rpx;
             right: 20rpx;
-            border-radius: 45%;
             z-index: 10;
             color: white;
-            width: 70rpx;
-            height: 45rpx;
-            font-size: 24rpx;
+            width: 82rpx;
+            height: 48rpx;
+            font-size: 28rpx;
             display: flex;
             justify-content: center;
             align-items: center;
@@ -40,15 +39,15 @@
         width: 100%;
         height: auto;
         position: absolute;
-        top: 450rpx;
+        top: 432rpx;
         .Legendary-Information{
             width: 100%;
             height: auto;
             background-color: white;
             border-radius: 20px; /* 左上角圆角 */
-            padding-top: 20rpx;
-            padding-left: 35rpx;
-            padding-right: 35rpx;
+            padding-top: 35rpx;
+            padding-left: 40rpx;
+            padding-right: 40rpx;
             padding-bottom: 20rpx;
             .info-name{
                 width: 100%;
@@ -56,7 +55,7 @@
                 display: flex;
                 align-items: center;
                 .name-tex{
-                    font-size: 30rpx;
+                    font-size: 34rpx;
                     font-weight: 600;
                 }
                 .name-pic{
@@ -87,16 +86,16 @@
                 margin-top: 20rpx;
                 .map{
                     width: 480rpx;
-                    height: 270rpx;
+                    height: 180rpx;
                 }
                 .info-call{
                     width: 156rpx;
-                    height: 250rpx;
+                    height: auto;
                     display: flex;
                     justify-content: center;
                     align-items: center;
                     flex-direction: column;
-                    margin-left: 40rpx;
+                    margin-left: 35rpx;
                     image{
                         width: 60rpx;
                         height: 60rpx;
@@ -126,7 +125,7 @@
             align-items: flex-end;
             position: relative;
             padding-left: 10rpx;
-            margin-bottom: 20rpx;
+            margin-bottom: 16rpx;
             padding-bottom: 20rpx;
             padding-top: 20rpx;
             .time{
@@ -158,14 +157,13 @@
             padding-top: 40rpx;
             border-radius: 30rpx;
             margin-bottom: 20rpx;
-            padding-bottom: 20rpx;
             .room-card1{
                 width: 100%;
                 height: auto;
                 display: flex;
                 image{
-                    width: 200rpx;
-                    height: 270rpx;
+                    width: 175rpx;
+                    height: 223rpx;
                     margin-right: 20rpx;
                     border-radius: 15rpx;
                 }
@@ -175,7 +173,7 @@
                     .room-card-textbox-titlebox{
                         display: flex;
                         .room-card-textbox-title{
-                            font-size: 34rpx;
+                            font-size: 32rpx;
                             font-weight: 600;
                         }
                     }
@@ -213,7 +211,6 @@
                 height: 100rpx;
                 display: flex;
                 justify-content: flex-end;
-                margin-top: 20rpx;
                 .no{
                     width: 200rpx;
                     height: 80rpx;

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
nova-tourism/pages/homestay/homestay-detail/index.wxss


Някои файлове не бяха показани, защото твърде много файлове са промени