提交 bf465e4c authored 作者: 王鹏飞's avatar 王鹏飞

add seg

上级 a1bfbafa
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
"window": { "window": {
"navigationBarBackgroundColor": "#fff", "navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "MBA学习系统" "navigationBarTitleText": "学习系统"
}, },
"tabBar": { "tabBar": {
"borderStyle": "white", "borderStyle": "white",
......
...@@ -2,8 +2,5 @@ ...@@ -2,8 +2,5 @@
<view wx:if="{{ show }}"> <view wx:if="{{ show }}">
<slot></slot> <slot></slot>
</view> </view>
<web-view <web-view src="https://webapp-pub.ezijing.com/index.html" wx:else></web-view>
src="https://alumni.ezijing.com/"
wx:else
></web-view>
</view> </view>
...@@ -3,14 +3,14 @@ const env = 'production' ...@@ -3,14 +3,14 @@ const env = 'production'
if (env === 'production') { if (env === 'production') {
module.exports = { module.exports = {
appVersion: 'sofia_v3.3.4', appVersion: 'seg_v3.3.4',
apiBaseURL: 'https://wechat-api.ezijing.com', // 接口请求地址 apiBaseURL: 'https://wechat-api.ezijing.com', // 接口请求地址
tenant: 'sofia' tenant: 'seg'
} }
} else { } else {
module.exports = { module.exports = {
appVersion: 'sofia_v3.3.4', appVersion: 'seg_v3.3.4',
apiBaseURL: 'https://wechat-api2.ezijing.com', // 接口请求地址 apiBaseURL: 'https://wechat-api2.ezijing.com', // 接口请求地址
tenant: 'sofia' tenant: 'seg'
} }
} }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"enablePullDownRefresh": true, "enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#fff", "navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "MBA学习系统", "navigationBarTitleText": "学习系统",
"usingComponents": { "usingComponents": {
"ec-canvas": "../../../components/ec-canvas/ec-canvas" "ec-canvas": "../../../components/ec-canvas/ec-canvas"
} }
......
{ {
"navigationBarBackgroundColor": "#fff", "navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "MBA学习系统" "navigationBarTitleText": "学习系统"
} }
\ No newline at end of file
...@@ -58,7 +58,7 @@ Page({ ...@@ -58,7 +58,7 @@ Page({
// 获取用户信息 // 获取用户信息
this.getUserInfo(user => { this.getUserInfo(user => {
const { encryptedData, iv } = user const { encryptedData, iv } = user
api.wechatLogin({ encryptedData, iv, code, identity: 'sofia-mini' }).then(response => { api.wechatLogin({ encryptedData, iv, code, identity: 'seg-mini' }).then(response => {
if (response.code === 0) { if (response.code === 0) {
this.handleSuccess(response.data) this.handleSuccess(response.data)
} else if (response.code === 2) { } else if (response.code === 2) {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
} }
.top .logo { .top .logo {
width: 344rpx; width: 344rpx;
height: 47rpx; height: 80rpx;
} }
.top .title { .top .title {
font-size: 54rpx; font-size: 54rpx;
......
{ {
"navigationBarBackgroundColor": "#3f3f3f", "navigationBarBackgroundColor": "#3f3f3f",
"navigationBarTextStyle": "white", "navigationBarTextStyle": "white",
"navigationBarTitleText": "MBA学习系统", "navigationBarTitleText": "学习系统",
"backgroundColor": "#535353", "backgroundColor": "#535353",
"disableScroll": true "disableScroll": true
} }
\ No newline at end of file
...@@ -20,24 +20,22 @@ ...@@ -20,24 +20,22 @@
"compileHotReLoad": false, "compileHotReLoad": false,
"useMultiFrameRuntime": true, "useMultiFrameRuntime": true,
"useApiHook": true, "useApiHook": true,
"useApiHostProcess": false, "useApiHostProcess": true,
"babelSetting": { "babelSetting": {
"ignore": [], "ignore": [],
"disablePlugins": [], "disablePlugins": [],
"outputPath": "" "outputPath": ""
}, },
"bundle": false,
"useIsolateContext": true, "useIsolateContext": true,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"userConfirmedBundleSwitch": false, "userConfirmedBundleSwitch": false,
"packNpmManually": false, "packNpmManually": false,
"packNpmRelationList": [], "packNpmRelationList": [],
"minifyWXSS": true "minifyWXSS": true,
"showES6CompileOption": false
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.12.2", "libVersion": "2.12.2",
"appid": "wx944151f4ea4203a4", "appid": "wxeef6398b18cebb5e",
"projectname": "learnOnline", "projectname": "learnOnline",
"isGameTourist": false, "isGameTourist": false,
"simulatorType": "wechat", "simulatorType": "wechat",
......
...@@ -5,14 +5,14 @@ const url_test = { ...@@ -5,14 +5,14 @@ const url_test = {
URL_PATH1: 'https://wechat-api2.ezijing.com/api/lms', // 正式域名 - 由于项目变动域名 URL_PATH1: 'https://wechat-api2.ezijing.com/api/lms', // 正式域名 - 由于项目变动域名
URL_PATH2: 'https://wechat-api2.ezijing.com/api', // 正式域名 - 由于项目变动域名 URL_PATH2: 'https://wechat-api2.ezijing.com/api', // 正式域名 - 由于项目变动域名
outSiteLink: 'https://e-learning.ezijing.com', // 正式外链 outSiteLink: 'https://e-learning.ezijing.com', // 正式外链
tenant: 'sofia', tenant: 'seg',
version: '3.2.5' version: '3.2.5'
} }
const url_online = { const url_online = {
URL_PATH1: 'https://wechat-api.ezijing.com/api/lms', // 正式域名 - 由于项目变动域名 URL_PATH1: 'https://wechat-api.ezijing.com/api/lms', // 正式域名 - 由于项目变动域名
URL_PATH2: 'https://wechat-api.ezijing.com/api', // 正式域名 - 由于项目变动域名 URL_PATH2: 'https://wechat-api.ezijing.com/api', // 正式域名 - 由于项目变动域名
outSiteLink: 'https://e-learning.ezijing.com', // 正式外链 outSiteLink: 'https://e-learning.ezijing.com', // 正式外链
tenant: 'sofia', tenant: 'seg',
version: '3.2.5' version: '3.2.5'
} }
let config = url_online let config = url_online
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论