shaogen1995 7 月之前
父节点
当前提交
e05a7c3e8b
共有 2 个文件被更改,包括 10 次插入2 次删除
  1. 8 1
      web/src/pages/A4expert/index.module.scss
  2. 2 1
      web/src/pages/A4expert/index.tsx

+ 8 - 1
web/src/pages/A4expert/index.module.scss

@@ -8,12 +8,19 @@
       position: absolute;
       z-index: 99;
       right: calc(5% - 15px);
-      top: 20px;
+      top: 14px;
       & > img {
         margin-right: 15px;
         width: 50px;
         cursor: pointer;
       }
+      .A4btnTxt {
+        position: relative;
+        left: -12%;
+        color: #f58543;
+        font-size: 16px;
+        letter-spacing: 2px;
+      }
     }
 
     .A4top {

+ 2 - 1
web/src/pages/A4expert/index.tsx

@@ -97,7 +97,8 @@ function A4expert() {
 
       {/* 右侧按钮 */}
       <div className='A4btn' hidden={!!editId}>
-        <img src={homeImg} alt='' onClick={() => history.push('/')} title='首页' />
+        <img src={homeImg} alt='' onClick={() => history.push('/')} />
+        <div className='A4btnTxt'>返回首页</div>
         {/* <img src={goodsImg} alt='' onClick={() => history.push('/goods')} title='精品典藏' /> */}
       </div>