Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online
Commits
1f884140
提交
1f884140
authored
8月 02, 2021
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: add prp小程序
上级
2744c3b0
显示空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
15 行增加
和
18 行删除
+15
-18
app.json
learnOnline/app.json
+1
-1
index.wxml
learnOnline/components/main/index.wxml
+1
-4
config.js
learnOnline/config.js
+4
-4
courseContent.json
...Online/pages/learnSystem/courseContent/courseContent.json
+1
-1
home.json
learnOnline/pages/learnSystem/home/home.json
+1
-1
index.js
learnOnline/pages/login/index.js
+1
-1
index.wxml
learnOnline/pages/login/index.wxml
+1
-1
show.json
learnOnline/pages/videoPlayer/show.json
+1
-1
project.config.json
learnOnline/project.config.json
+2
-2
util.js
learnOnline/utils/util.js
+2
-2
没有找到文件。
learnOnline/app.json
浏览文件 @
1f884140
...
...
@@ -22,7 +22,7 @@
"window"
:
{
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
,
"navigationBarTitleText"
:
"
清控紫荆
课堂"
"navigationBarTitleText"
:
"
PRP
课堂"
},
"tabBar"
:
{
"borderStyle"
:
"white"
,
...
...
learnOnline/components/main/index.wxml
浏览文件 @
1f884140
...
...
@@ -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>
learnOnline/config.js
浏览文件 @
1f884140
...
...
@@ -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
'
}
}
learnOnline/pages/learnSystem/courseContent/courseContent.json
浏览文件 @
1f884140
...
...
@@ -2,5 +2,5 @@
"enablePullDownRefresh"
:
true
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
,
"navigationBarTitleText"
:
"
清控紫荆
课堂"
"navigationBarTitleText"
:
"
PRP
课堂"
}
learnOnline/pages/learnSystem/home/home.json
浏览文件 @
1f884140
{
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
,
"navigationBarTitleText"
:
"
清控紫荆
课堂"
"navigationBarTitleText"
:
"
PRP
课堂"
}
learnOnline/pages/login/index.js
浏览文件 @
1f884140
...
...
@@ -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
)
{
...
...
learnOnline/pages/login/index.wxml
浏览文件 @
1f884140
...
...
@@ -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
...
...
learnOnline/pages/videoPlayer/show.json
浏览文件 @
1f884140
{
"navigationBarBackgroundColor"
:
"#3f3f3f"
,
"navigationBarTextStyle"
:
"white"
,
"navigationBarTitleText"
:
"
清控紫荆
课堂"
,
"navigationBarTitleText"
:
"
PRP
课堂"
,
"backgroundColor"
:
"#535353"
,
"disableScroll"
:
true
}
learnOnline/project.config.json
浏览文件 @
1f884140
...
...
@@ -37,8 +37,8 @@
},
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.12.2"
,
"appid"
:
"wx
81555c44ed2d7653
"
,
"projectname"
:
"learnOnline-
enterprise
"
,
"appid"
:
"wx
0c88a31577ed463c
"
,
"projectname"
:
"learnOnline-
prp
"
,
"isGameTourist"
:
false
,
"simulatorType"
:
"wechat"
,
"simulatorPluginLibVersion"
:
{},
...
...
learnOnline/utils/util.js
浏览文件 @
1f884140
...
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论