Эх сурвалжийг харах

fix: 临时处理工作台内图片二维码问题

wangkaiyue 1 жил өмнө
parent
commit
46135da990

+ 13 - 1
src/web/staticres/public-pc/css/sub-page.css

@@ -246,13 +246,25 @@ body.in-iframe {
   width: calc(100% - 48px) !important ;
   width: calc(100% - 48px) !important ;
   height: calc(20.3vw - 48px) !important;
   height: calc(20.3vw - 48px) !important;
   margin: auto;
   margin: auto;
-  background: url('/common-module/exhibition/img/work_bg.png?v=1') center center no-repeat;
+  // background: url('/common-module/exhibition/img/work_bg.png?v=1') center center no-repeat;
   background-size: cover;
   background-size: cover;
   border-radius: 8px;
   border-radius: 8px;
 }
 }
 .in-iframe #vm_exhibition .head .content{
 .in-iframe #vm_exhibition .head .content{
   display: none;
   display: none;
 }
 }
+.in-iframe.pc-exhibition-page #vm_exhibition .head{
+  overflow: hidden;
+}
+.in-iframe.pc-exhibition-page #vm_exhibition .head .content .qr{
+  transform: scale(0.6);
+  transform-origin: 0 0;
+  top: 10%;
+  right: 24%;
+}
+.in-iframe.pc-exhibition-page #vm_exhibition .head .content{
+  display: block;
+}
 .in-iframe #vm_exhibition .box{
 .in-iframe #vm_exhibition .box{
   padding-top: 24px !important;
   padding-top: 24px !important;
   padding-bottom: 37px !important;
   padding-bottom: 37px !important;

+ 3 - 3
src/web/templates/exhibition/pc/index.html

@@ -30,7 +30,7 @@
   </style>
   </style>
 </head>
 </head>
 
 
-<body>
+<body class="pc-exhibition-page">
   {{include "/common/pchead.html"}}
   {{include "/common/pchead.html"}}
   <div id="vm_exhibition">
   <div id="vm_exhibition">
     <div class="box">
     <div class="box">
@@ -270,14 +270,14 @@
           openType: '_blank'
           openType: '_blank'
         })
         })
       } else {
       } else {
-        window.open(openHref) 
+        window.open(openHref)
       }
       }
     }
     }
     function golink(link){
     function golink(link){
       if(link){
       if(link){
         window.open(link)
         window.open(link)
       }
       }
-      
+
     }
     }
 
 
   </script>
   </script>