Browse Source

Merge branch 'master' of http://git.izouma.com/xiongzhu/raex_front into dev

panhui 3 years ago
parent
commit
b753ccb212
1 changed files with 11 additions and 3 deletions
  1. 11 3
      src/views/hall/Detail.vue

+ 11 - 3
src/views/hall/Detail.vue

@@ -68,7 +68,7 @@
                         'background-image': getBg()
                     }"
                 ></div> -->
-                <img class="user-bg-img" :src="getBg()" alt="" />
+                <img class="user-bg-img" v-if="!isVertical || !windowVertical" :src="getBg()" alt="" />
                 <div class="user">
                     <div class="icon">
                         <van-image
@@ -908,7 +908,6 @@ export default {
         width: 100%;
         height: 100%;
         display: block;
-        background-size: auto 100%;
     }
 }
 .user {
@@ -1323,6 +1322,12 @@ export default {
         }
     }
 
+    .user-bg {
+        .user-bg-img {
+            width: calc(95vh + 0.5px);
+        }
+    }
+
     .bottom {
         bottom: 60px;
         left: 60px;
@@ -1362,9 +1367,12 @@ export default {
         min-height: calc(100vh - 95vw);
         min-height: calc(var(--app-height) - 95vh);
     }
+    .user-bg {
+        height: 95vw;
+    }
     .user-bg-img {
         height: 100vw;
-        width: auto;
+        width: 95vw;
         transform: rotate(90deg) translateX(-100vw);
         transform-origin: left bottom;
     }