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

feat: add prp小程序

上级 2744c3b0
......@@ -22,7 +22,7 @@
"window": {
"navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "清控紫荆课堂"
"navigationBarTitleText": "PRP课堂"
},
"tabBar": {
"borderStyle": "white",
......
......@@ -2,8 +2,5 @@
<view wx:if="{{ show }}">
<slot></slot>
</view>
<web-view
src="https://pages.ezijing.com/gothroughedu/web/edu/index.html"
wx:else
></web-view>
<web-view src="https://webapp-pub.ezijing.com/index.html" wx:else></web-view>
</view>
......@@ -3,14 +3,14 @@ const env = 'production'
if (env === 'production') {
module.exports = {
appVersion: 'enterprise_v3.3.1',
appVersion: 'prp_v3.3.1',
apiBaseURL: 'https://wechat-api.ezijing.com', // 接口请求地址
tenant: 'classes'
tenant: 'prp'
}
} else {
module.exports = {
appVersion: 'enterprise_v3.3.1',
appVersion: 'prp_v3.3.1',
apiBaseURL: 'https://wechat-api2.ezijing.com', // 接口请求地址
tenant: 'classes'
tenant: 'prp'
}
}
......@@ -2,5 +2,5 @@
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "清控紫荆课堂"
"navigationBarTitleText": "PRP课堂"
}
{
"navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "清控紫荆课堂"
"navigationBarTitleText": "PRP课堂"
}
......@@ -58,7 +58,7 @@ Page({
// 获取用户信息
this.getUserInfo(user => {
const { encryptedData, iv } = user
api.wechatLogin({ encryptedData, iv, code, identity: 'classes-mini' }).then(response => {
api.wechatLogin({ encryptedData, iv, code, identity: 'prp-mini' }).then(response => {
if (response.code === 0) {
this.handleSuccess(response.data)
} else if (response.code === 2) {
......
......@@ -3,7 +3,7 @@
<image src="../../assets/images/bg.png" mode="aspectFill" class="bg"></image>
<view class="top">
<image class="logo" src="../../assets/images/hd-logo.png" mode="aspectFit"></image>
<view class="title">清控紫荆课堂</view>
<view class="title">PRP课堂</view>
</view>
<view class="login">
<button
......
{
"navigationBarBackgroundColor": "#3f3f3f",
"navigationBarTextStyle": "white",
"navigationBarTitleText": "清控紫荆课堂",
"navigationBarTitleText": "PRP课堂",
"backgroundColor": "#535353",
"disableScroll": true
}
......@@ -37,8 +37,8 @@
},
"compileType": "miniprogram",
"libVersion": "2.12.2",
"appid": "wx81555c44ed2d7653",
"projectname": "learnOnline-enterprise",
"appid": "wx0c88a31577ed463c",
"projectname": "learnOnline-prp",
"isGameTourist": false,
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
......
......@@ -5,14 +5,14 @@ const url_test = {
URL_PATH1: 'https://wechat-api2.ezijing.com/api/lms', // 正式域名 - 由于项目变动域名
URL_PATH2: 'https://wechat-api2.ezijing.com/api', // 正式域名 - 由于项目变动域名
outSiteLink: 'https://e-learning.ezijing.com', // 正式外链
tenant: 'classes',
tenant: 'prp',
version: '3.2.2'
}
const url_online = {
URL_PATH1: 'https://wechat-api.ezijing.com/api/lms-ep', // 正式域名 - 由于项目变动域名
URL_PATH2: 'https://wechat-api.ezijing.com/api', // 正式域名 - 由于项目变动域名
outSiteLink: 'https://e-learning.ezijing.com', // 正式外链
tenant: 'classes',
tenant: 'prp',
version: '3.2.2'
}
let config = url_online
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论