shaogen1995 4 tuần trước cách đây
mục cha
commit
16b5dc6346

BIN
后台大场景编辑/public/favicon.ico


+ 10 - 8
后台大场景编辑/public/index.html

@@ -9,16 +9,18 @@
     <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
 
     <script>
-      // 甲方地址备份记录
-      // const backUrl="http://124.127.126.120:19546/backstage/index.html"
-      // threeUrl=`https://dev.itfinspread.com:8003/#/sso?redirectUrl=${backUrl}`
-
-      // 甲方服务器域名
-      const backUrl = 'http://192.168.20.55:3001'
+      // 本地调试网址
+      // const backUrl = 'http://192.168.20.55:3000'
+      // 测试网址
       // const backUrl = 'https://sit-beirenbigscene.4dage.com/backstage'
+      // 甲方环境网址
+      const backUrl = 'http://124.127.126.120:19546/backstage/index.html'
 
-      // 第三方网址跳转域名
-      const threeUrl = `https://dev.itfinspread.com:8003/#/sso?redirectUrl=${backUrl}`
+      // ---------第三方网址跳转域名------------
+      // 测试网址
+      // const threeUrl = `https://dev.itfinspread.com:8003/#/sso?redirectUrl=${backUrl}`
+      // 甲方环境网址
+      const threeUrl = `http://124.127.126.120:19551/#/sso?redirectUrl=${backUrl}`
     </script>
 
     <title>北人亦创国际会展中心-场景编辑后台</title>

BIN
后台大场景编辑/src/assets/img/logo2.png


+ 7 - 2
后台大场景编辑/src/pages/Layout/index.module.scss

@@ -24,10 +24,15 @@
           width: 180px;
         }
         .layTxt {
-          padding-left: 50px;
-          font-size: 20px;
+          width: 100%;
+          text-align: right;
+          font-size: 18px;
           color: #fff;
           font-weight: 700;
+          & > img {
+            display: inline-block;
+            margin-right: 5px;
+          }
         }
       }
 

+ 4 - 1
后台大场景编辑/src/pages/Layout/index.tsx

@@ -115,7 +115,10 @@ function Layout() {
       <div className='layoutLeft'>
         <div className='layoutLeftTop'>
           {userInfo.isAdmin === 1 ? <img src={logonImg} alt='' /> : null}
-          <div className='layTxt'>数字孪生建模平台</div>
+          <div className='layTxt'>
+            <img src={require('../../assets/img/logo2.png')} alt='' />
+            数字孪生建模平台
+          </div>
         </div>
         {/* 左边主体 */}
         <div className='layoutLeftMain'>

+ 4 - 4
后台大场景编辑/src/utils/http.ts

@@ -10,8 +10,8 @@ export const isLocal = process.env.NODE_ENV === 'development'
 // 请求基地址
 export const baseURL =
   // 线下的图片地址需要加上/api/
-  isLocal ? 'http://192.168.20.61:8102/api/' : ''
-// isLocal ? 'https://sit-beirenbigscene.4dage.com' : ''
+  // isLocal ? 'http://192.168.20.61:8102/api/' : ''
+  isLocal ? 'https://sit-beirenbigscene.4dage.com' : ''
 
 // 处理  类型“AxiosResponse<any, any>”上不存在属性“code”
 declare module 'axios' {
@@ -24,10 +24,10 @@ declare module 'axios' {
 // 创建 axios 实例
 const http = axios.create({
   // --------线下的地址不用加/api/
-  baseURL: baseURL,
+  // baseURL: baseURL,
 
   // --------打包或线上环境接口需要加上api/
-  // baseURL: baseURL + '/api/',
+  baseURL: baseURL + '/api/',
   timeout: 10000
 })