瀏覽代碼

minsu page

邹能昇 5 天之前
父節點
當前提交
1d3130cd5f

+ 16 - 0
nova-tourism/components/homestay/index.less

@@ -86,6 +86,22 @@
             background-image: url('https://file-cloud.fmode.cn/EbxZUK5lBI/20241121/01atf5032703958.png?imageView2/1/w/200/h/200');
             margin-top: 20rpx;
             margin-bottom: 20rpx;
+            .pic-2{
+                width: 100%;
+                height: 56rpx;
+            }
+            .pic-1{
+                width: 100%;
+                height: 66rpx;
+                padding-left: 126rpx;
+                margin-top: 4rpx;
+                .pic-1tex{
+                    font-size: 26rpx;
+                }
+                .pic-1tex2{
+                    font-size: 20rpx;
+                }
+            }
         }
         .cardbox {
             break-inside: avoid; /* 防止卡片在列之间断裂 */

+ 8 - 1
nova-tourism/components/homestay/index.wxml

@@ -20,7 +20,14 @@
     </view>
     <view class="Legendary-Information">
         <block wx:for="{{6}}">
-            <view class="picbox" wx:if="{{index==2}}">
+            <view class="picbox" wx:if="{{index==1}}">
+                <view class="pic-2"></view>
+                <block wx:for="{{3}}">
+                    <view class="pic-1">
+                        <view class="pic-1tex">望仙乡</view>
+                        <view class="pic-1tex2">35%用户选择</view>
+                    </view>
+                </block>
 
             </view>
             <view class="cardbox">

文件差異過大導致無法顯示
+ 0 - 0
nova-tourism/components/homestay/index.wxss


部分文件因文件數量過多而無法顯示