ソースを参照

删除多余代码

songlin3 3 年 前
コミット
43e826f4f2

+ 0 - 14
2020/trail/aiot/.env.demo

@ -1,14 +0,0 @@
1
#演示环境
2
3
#模式
4
NODE_ENV = 'demo'
5
#通过"VUE_APP_MODE"变量来区分环境
6
VUE_APP_MODE = 'demo'
7
#主站后台URL
8
VUE_APP_API_URL = 'http://60.205.219.67:18001/website-server'
9
#license的URL
10
VUE_APP_LICENSE_URL = 'http://60.205.219.67:18003/licenseService/mobile'
11
#应用市场的URL
12
VUE_APP_MARKET_URL = 'http://appstore.aiipu.com/ipu-home/appstore'
13
#编译文件输出目录
14
outputDir = './build/demo/dist'

+ 0 - 10
2020/trail/aiot/.env.development

@ -1,10 +0,0 @@
1
#模式
2
NODE_ENV = 'development'
3
#通过"VUE_APP_MODE"变量来区分环境
4
VUE_APP_MODE = 'development'
5
#主站后台URL
6
VUE_APP_API_URL = 'http://121.42.183.206:9085/website-server/'
7
#license的URL
8
VUE_APP_LICENSE_URL = 'http://121.42.183.206:10091/licenseService/mobile'
9
#应用市场的URL
10
VUE_APP_MARKET_URL = 'http://appstore.aiipu.com/ipu-home/appstore'

+ 0 - 12
2020/trail/aiot/.env.production

@ -1,12 +0,0 @@
1
#模式
2
NODE_ENV = 'production'
3
#通过"VUE_APP_MODE"变量来区分环境
4
VUE_APP_MODE = 'production'
5
#主站后台URL
6
VUE_APP_API_URL = 'http://www.aiipu.com/website-server'
7
#license的URL
8
VUE_APP_LICENSE_URL = 'http://www.aiipu.com/license-server/mobile'
9
#应用市场的URL
10
VUE_APP_MARKET_URL = 'http://appstore.aiipu.com/ipu-home/appstore'
11
#编译文件输出目录
12
outputDir = './build/production/dist'

+ 0 - 12
2020/trail/aiot/.env.test

@ -1,12 +0,0 @@
1
#模式
2
NODE_ENV = 'production'
3
#通过"VUE_APP_MODE"变量来区分环境
4
VUE_APP_MODE = 'test'
5
#主站后台URL
6
VUE_APP_API_URL = 'http://121.42.183.206:9085/website-server/'
7
#license的URL
8
VUE_APP_LICENSE_URL = 'http://121.42.183.206:10091/licenseService/mobile'
9
#应用市场的URL
10
VUE_APP_MARKET_URL = 'http://appstore.aiipu.com/ipu-home/appstore'
11
#编译文件输出目录
12
outputDir = './build/test/dist'

BIN
2020/trail/aiot/src/assets/2018honor1.png


BIN
2020/trail/aiot/src/assets/2018honor2.png


BIN
2020/trail/aiot/src/assets/2019honor.png


BIN
2020/trail/aiot/src/assets/ipu-m-baas.png


+ 0 - 15
2020/trail/aiot/src/common/rem.js

@ -1,15 +0,0 @@
1
// 基准大小
2
const baseSize = 32
3
// 设置 rem 函数
4
function setRem () {
5
  // 当前页面宽度相对于 750 宽的缩放比例,可根据自己需要修改。
6
  const scale = document.documentElement.clientWidth / 750
7
  // 设置页面根节点字体大小
8
  document.documentElement.style.fontSize = (baseSize * Math.min(scale, 2)) + 'px'
9
}
10
// 初始化
11
setRem()
12
// 改变窗口大小时重新设置 rem
13
window.onresize = function () {
14
  setRem()
15
}