Commit 32588175 by Jamos

feat: 🎨

parent d35e1579
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: liguokang * @Author: liguokang
* @Date: 2021-07-15 10:43:34 * @Date: 2021-07-15 10:43:34
* @LastEditors: liguokang * @LastEditors: liguokang
* @LastEditTime: 2021-07-29 17:54:02 * @LastEditTime: 2021-08-03 20:30:02
* @Description: * @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有 * @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
*/ */
......
...@@ -2,27 +2,26 @@ ...@@ -2,27 +2,26 @@
* @Author: liguokang * @Author: liguokang
* @Date: 2021-07-29 16:19:43 * @Date: 2021-07-29 16:19:43
* @LastEditors: liguokang * @LastEditors: liguokang
* @LastEditTime: 2021-07-29 16:46:20 * @LastEditTime: 2021-08-03 20:29:54
* @Description: * @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有 * @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
*/ */
const DEPLOY_ENV = process.env.DEPLOY_ENV; let DEPLOY_ENV = process.env.DEPLOY_ENV;
const webDomain = { const webDomains = {
dev: 'https://dev.xiaomai5.com/', dev: 'https://dev.xiaomai5.com/',
rc: 'https://rc.xiaomai5.com/', rc: 'https://rc.xiaomai5.com/',
gray: 'https://rc.xiaomai5.com/', gray: 'https://rc.xiaomai5.com/',
prod: 'https://www.xiaomai5.com/', prod: 'https://www.xiaomai5.com/',
}; };
const apiDomain = { const apiDomains = {
dev: 'https://dev-heimdall.xiaomai5.com/', dev: 'https://dev-heimdall.xiaomai5.com/',
rc: 'https://rc-heimdall.xiaomai5.com/', rc: 'https://rc-heimdall.xiaomai5.com/',
gray: 'https://gray-heimdall.xiaomai5.com/', gray: 'https://gray-heimdall.xiaomai5.com/',
prod: 'https://heimdall.xiaomai5.com/', prod: 'https://heimdall.xiaomai5.com/',
}; };
let webDomain = webDomains[DEPLOY_ENV];
let apiDomain = apiDomains[DEPLOY_ENV];
exports.DOMAIN = { export { webDomain, apiDomain };
webDomain: webDomain[DEPLOY_ENV],
apiDomain: apiDomain[DEPLOY_ENV],
};
/* /*
* @Description: * @Description:
* @Date: 2020-03-18 18:19:52 * @Date: 2020-03-18 18:19:52
* @LastEditTime: 2021-07-29 17:54:33 * @LastEditTime: 2021-08-03 20:00:07
* @LastEditors: liguokang * @LastEditors: liguokang
*/ */
import React from 'react'; import React from 'react';
...@@ -17,6 +17,7 @@ class LaFooter extends React.Component { ...@@ -17,6 +17,7 @@ class LaFooter extends React.Component {
<Link href="/"> <Link href="/">
<div className={style.title_item}> <div className={style.title_item}>
<span>底部底部底部底部底部</span> <span>底部底部底部底部底部</span>
{StaticImg + 'tttttttttttttttttttt'}
<img src={StaticImg + '/logo.png'} width={121} alt="" /> <img src={StaticImg + '/logo.png'} width={121} alt="" />
</div> </div>
</Link> </Link>
......
...@@ -2,17 +2,18 @@ ...@@ -2,17 +2,18 @@
* @Author: liguokang * @Author: liguokang
* @Date: 2021-07-29 16:14:30 * @Date: 2021-07-29 16:14:30
* @LastEditors: liguokang * @LastEditors: liguokang
* @LastEditTime: 2021-07-29 16:46:12 * @LastEditTime: 2021-08-03 20:30:47
* @Description: * @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有 * @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
*/ */
const fs = require('fs'); const fs = require('fs');
const { webDomain, apiDomain } = require('./common/webConfigs'); const { webDomain, apiDomain } = require('./common/webConfigs');
const readStream = fs.createReadStream('./sitemap/sitemap.html', { encoding: 'utf8' }); const readStream = fs.createReadStream('./sitemap/sitemap.html', { encoding: 'utf8' });
const writeStream = fs.createWriteStream('./dist/sitemap.html', { encoding: 'utf8' }); const writeStream = fs.createWriteStream('./dist/sitemap.html', { encoding: 'utf8' });
console.log(webDomain, apiDomain,'222222222222222222222222222222222222222222222222222222222222');
readStream.on('data', (data) => { readStream.on('data', (data) => {
let reData = data.replace(/https\:\/\/www\.xiaomai5\.com\//g, webDomain); let reData = data.replace(/https\:\/\/www\.xiaomai5\.com\//g, webDomain);
reData = reData.replace(/https\:\/\/heimdall\.xiaomai5\.com\//g, apiDomain); reData = reData.replace(/https\:\/\/heimdall\.xiaomai5\.com\//g, apiDomain);
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: liguokang * @Author: liguokang
* @Date: 2021-07-29 16:15:00 * @Date: 2021-07-29 16:15:00
* @LastEditors: liguokang * @LastEditors: liguokang
* @LastEditTime: 2021-07-29 16:16:08 * @LastEditTime: 2021-08-03 20:19:38
* @Description: * @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有 * @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
--> -->
...@@ -175,7 +175,6 @@ ...@@ -175,7 +175,6 @@
contentType: 'application/json;charset=UTF-8', contentType: 'application/json;charset=UTF-8',
dataType: 'json', dataType: 'json',
success: function(data){ success: function(data){
console.log(data)
let rows = []; let rows = [];
if(data.result && data.result.records) { if(data.result && data.result.records) {
for(let i of data.result.records) { for(let i of data.result.records) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment