Browse Source

首页调整

Liuteng 8 months ago
parent
commit
0636d9d8ad
2 changed files with 14 additions and 1 deletions
  1. 2 1
      pages/index/index.wxml
  2. 12 0
      pages/index/index.wxss

+ 2 - 1
pages/index/index.wxml

@@ -31,7 +31,7 @@
     </movable-view>
     <scroll-view class="other-container" scroll-y enhanced show-scrollbar="{{false}}">
         <view class="info-card">
-            <image class="bg" src="https://smzc-1253299035.cos.ap-nanjing.myqcloud.com/pdjh/miniProgrameYyQh/indexCardInfoBg.png" mode="widthFix" />
+            <image class="bg" src="{{hall.bjtPic}}" mode="widthFix" />
             <view class="shiming" wx:if="{{userInfo.phone && userInfo.phone.length>1}}">
                 <view class="shiming-icon">
                     <image src="../../images/index/shiming.png" mode="widthFix" />
@@ -61,6 +61,7 @@
                 <image class="hall-other-box-image" src="https://smzc-1253299035.cos.ap-nanjing.myqcloud.com/pdjh/miniProgrameYyQh/indexHallLogo.png" mode="heightFix" />
             </view>
             <view class="hall-info-box">
+                <image wx:if="{{hall.logoPic}}" class="hall-logo" src="{{hall.logoPic}}" mode="widthFix" />
                 <view class="hall-map">
                     <map enable-scroll="{{false}}" enable-zoom="{{false}}" longitude="{{hall.longitude}}" latitude="{{hall.latitude}}" markers="{{markers}}" scale="15" />
                 </view>

+ 12 - 0
pages/index/index.wxss

@@ -313,9 +313,21 @@ page {
 }
 
 .hall-info-box {
+    position: relative;
     width: 100%;
     min-height: 230rpx;
     display: flex;
+    background: rgba(255,255,255,0.5);
+    backdrop-filter: blur(50rpx); 
+}
+
+.hall-logo {
+    position: absolute;
+    bottom: 20rpx;
+    right: 20rpx;
+    z-index: 0;
+    width: 200rpx;
+    opacity: 0.8;
 }
 
 .hall-map {