shaogen1995 2 天之前
父节点
当前提交
8d2fdbd341

+ 2 - 2
展示端/public/index.html

@@ -15,9 +15,9 @@
 
     <script>
       // 测试环境域名
-      const weiXinLoginBackUrlTemp = 'https://sit-hqbooking.4dage.com'
+      // const weiXinLoginBackUrlTemp = 'https://sit-hqbooking.4dage.com'
       // 甲方域名
-      // const weiXinLoginBackUrlTemp = 'https://healthy.hengqin.gov.cn'
+      const weiXinLoginBackUrlTemp = 'https://healthy.hengqin.gov.cn'
 
       const mapImgArr = ['1.jpg', '2.jpg']
     </script>

+ 1 - 0
展示端/src/pages/Z1login/index.module.scss

@@ -11,6 +11,7 @@
       display: flex;
       justify-content: center;
       align-items: center;
+      flex-direction: column;
     }
   }
 }

+ 5 - 0
展示端/src/pages/Z1login/index.tsx

@@ -8,6 +8,7 @@ import { useParams } from 'react-router-dom'
 import { API_login } from '@/store/action/all'
 import { baseUrlTemp } from '@/utils/http'
 import { domShowFu } from '@/utils/domShow'
+import history from '@/utils/history'
 function Z1login() {
   // 获取地址栏参数 1:课程 2:展馆
   const urlObjTemp: any = useParams()
@@ -74,6 +75,10 @@ function Z1login() {
         <Button size='large' type='primary' onClick={getUserCode}>
           授权微信登录
         </Button>
+        <br /> <br />
+        <Button size='large' onClick={() => history.go(-1)}>
+          取消
+        </Button>
       </div>
     </div>
   )