shaogen1995 9 ay önce
ebeveyn
işleme
75a0909aa7

+ 14 - 12
Code/src/pages/A2visit2/index.tsx

@@ -140,20 +140,22 @@ function A2visit2() {
       />
 
       {/* 全景图页面 */}
-      <div className='A22Pano' style={{ opacity: panoShow ? '1' : '0' }}>
-        <A22Pano />
-        {/* 进入室内 */}
-        <NextPage clickSon={() => setToShi(true)} txt='进入室内' />
+      {window.location.href.includes('r=ren') ? null : (
+        <div className='A22Pano' style={{ opacity: panoShow ? '1' : '0' }}>
+          <A22Pano />
+          {/* 进入室内 */}
+          <NextPage clickSon={() => setToShi(true)} txt='进入室内' />
 
-        {/* 底部按钮 */}
-        <div
-          onClick={() => setBaiXi(true)}
-          className='A22Pbtn'
-          style={{ backgroundImage: `url(${baseURL}chef/chuBtn.png)` }}
-        >
-          观看百戏
+          {/* 底部按钮 */}
+          <div
+            onClick={() => setBaiXi(true)}
+            className='A22Pbtn'
+            style={{ backgroundImage: `url(${baseURL}chef/chuBtn.png)` }}
+          >
+            观看百戏
+          </div>
         </div>
-      </div>
+      )}
 
       {/* 室外看百戏 */}
       <div

+ 1 - 1
Code/src/pages/A6xian/index.tsx

@@ -86,7 +86,7 @@ function A6xian() {
       ) : null}
 
       {/* 全景视频 */}
-      {imgNow ? (
+      {imgNow && !window.location.href.includes('t=xian') ? (
         <div className={classNames('pvBox', cutVideoShow ? '' : 'pvBoxShow')}>
           <A6PanoVideo />
           <div