lanxin hace 3 semanas
padre
commit
c04a1691d6

+ 41 - 34
src/pages/A6ybwx/A6_2_zxzgh/components/Bwwq/index.module.scss

@@ -90,7 +90,7 @@
         width: 100%;
         height: 90px;
         color: rgba(124, 75, 54, 1);
-        font-size: 22px;
+        font-size: 20px;
         cursor: pointer;
         position: relative;
         z-index: 2;
@@ -103,7 +103,7 @@
           top: 50%;
           left: 50%;
           transform: translate(-50%, -50%);
-          width: 240px;
+          width: 180px;
           height: 100%;
           object-fit: contain;
         }
@@ -263,42 +263,49 @@
       padding: 0 40px;
       height: 100%;
       display: flex;
-      flex-direction: column;
       align-items: center;
       justify-content: center;
-      .closeItemHot {
-        position: absolute;
-        top: 33px;
-        right: 44px;
-        width: 80px;
-        height: 40px;
-        cursor: pointer;
-      }
-      .itemHot_title {
-        width: 100%;
-        height: 30px;
-        font-size: 26px;
-        color: rgba(255, 233, 182, 1);
-        text-align: center;
-      }
-      .itemHot_line {
-        width: 100%;
-        height: 30px;
-        margin: 14px 0;
-        & > img {
+      .containner {
+        width: 730px;
+        height: 400px;
+        display: flex;
+        flex-direction: column;
+        align-items: center;
+        justify-content: center;
+        .closeItemHot {
+          position: absolute;
+          top: 33px;
+          right: 44px;
+          width: 80px;
+          height: 40px;
+          cursor: pointer;
+        }
+        .itemHot_title {
           width: 100%;
-          height: 20px;
-          object-fit: contain;
+          height: 30px;
+          font-size: 26px;
+          color: rgba(255, 233, 182, 1);
+          text-align: center;
+        }
+        .itemHot_line {
+          width: 100%;
+          height: 30px;
+          margin: 14px 0;
+          & > img {
+            width: 100%;
+            height: 20px;
+            object-fit: contain;
+          }
+        }
+        .itemHot_content {
+          width: 100%;
+          height: 50%;
+          font-size: 15px;
+          line-height: 24px;
+          color: rgba(255, 255, 255, 1);
+          white-space: normal;
+          text-align: center;
         }
-      }
-      .itemHot_content {
-        width: 100%;
-        height: 50%;
-        font-size: 15px;
-        line-height: 24px;
-        color: rgba(255, 255, 255, 1);
-        white-space: normal;
-        text-align: center;
       }
     }
   }

+ 8 - 5
src/pages/A6ybwx/A6_2_zxzgh/components/Bwwq/index.tsx

@@ -12,7 +12,7 @@ function Bwwq({ sItem, selectedTime, index, isShowLine, setIsShowLine }: yearTyp
       <>
         <div className='left'>
           <div className='lTop'>{sItem.desc}</div>
-          <div className="itemHotBtn" onClick={() => setIsShowHot(!isShowHot)}>
+          <div className="itemHotBtn songFont" onClick={() => setIsShowHot(!isShowHot)}>
 
             <img src={require('@/assets/img/A6_sangzang_btn2.png')} alt="" />
             知识拓展
@@ -54,10 +54,13 @@ function Bwwq({ sItem, selectedTime, index, isShowLine, setIsShowLine }: yearTyp
         </div>
         {isShowHot && (
           <div className='itemHot '>
-            <div className="closeItemHot" onClick={() => setIsShowHot(!isShowHot)}><img src={require('@/assets/img/closeWithTxt.png')} alt="" /></div>
-            <div className="itemHot_title songFont">{sItem.items[0].title}</div>
-            <div className="itemHot_line"><img src={require('@/assets/img/A6_sinicize_bwwq_line.png')} alt="" /></div>
-            <div className="itemHot_content" dangerouslySetInnerHTML={{ __html: sItem.items[0].txt }}></div>
+            <div className="containner">
+              <div className="closeItemHot" onClick={() => setIsShowHot(!isShowHot)}><img src={require('@/assets/img/closeWithTxt.png')} alt="" /></div>
+              <div className="itemHot_title songFont">{sItem.items[0].title}</div>
+              <div className="itemHot_line"><img src={require('@/assets/img/A6_sinicize_bwwq_line.png')} alt="" /></div>
+              <div className="itemHot_content" dangerouslySetInnerHTML={{ __html: sItem.items[0].txt }}></div>
+            </div>
+
           </div>
         )}
       </>

+ 2 - 2
src/pages/A6ybwx/Sangzang/components/Policy/index.module.scss

@@ -161,7 +161,7 @@
             .from {
               width: 100%;
               color: rgba(124, 75, 54, 1);
-              font-size: 14px;
+              font-size: 11px;
               line-height: 16px;
 
               // &::-webkit-scrollbar {
@@ -215,7 +215,7 @@
                 text-align: center;
                 height: 20%;
                 width: 100%;
-                font-size: 14px;
+                font-size: 11px;
                 line-height: 16px;
                 color: #908c7b;
                 padding-top: 15px;