Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
fed9cc11
Commit
fed9cc11
authored
Jan 08, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:处理文案显示
parent
10c484bd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
src/modules/course-manage/components/AddLiveIntro.jsx
+3
-3
src/modules/course-manage/components/LiveCourseList.jsx
+1
-1
src/modules/course-manage/video-course/components/AddVideoIntro.jsx
+2
-2
src/modules/course-manage/video-course/components/VideoCourseList.jsx
+1
-1
No files found.
src/modules/course-manage/components/AddLiveIntro.jsx
View file @
fed9cc11
...
@@ -271,15 +271,15 @@ class AddLiveIntro extends React.Component {
...
@@ -271,15 +271,15 @@ class AddLiveIntro extends React.Component {
</
div
>
</
div
>
</
div
>
</
div
>
<
div
className=
"allow-tourist-join"
>
<
div
className=
"allow-tourist-join"
>
<
span
className=
"label"
>
允许游客加入
:
</
span
>
<
span
className=
"label"
>
观看设置
:
</
span
>
<
div
className=
"content"
>
<
div
className=
"content"
>
<
div
>
<
div
>
<
Switch
checked=
{
whetherVisitorsJoin
===
"YES"
?
true
:
false
}
onChange=
{
this
.
whetherVisitorsJoinChange
}
/>
<
Switch
checked=
{
whetherVisitorsJoin
===
"YES"
?
true
:
false
}
onChange=
{
this
.
whetherVisitorsJoinChange
}
/>
</
div
>
</
div
>
<
div
>
<
div
>
<
div
class=
"instro-text"
>
<
div
class=
"instro-text"
>
<
div
>
开启:
用户可直接
进入直播间观看直播
</
div
>
<
div
>
开启:
允许未绑定手机号的用户
进入直播间观看直播
</
div
>
<
div
>
关闭:
用户需先填写手机号并短信验证,通过后才可
进入直播间观看直播
</
div
>
<
div
>
关闭:
仅限绑定了手机号的用户可以
进入直播间观看直播
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
src/modules/course-manage/components/LiveCourseList.jsx
View file @
fed9cc11
...
@@ -76,7 +76,7 @@ class LiveCourseList extends React.Component {
...
@@ -76,7 +76,7 @@ class LiveCourseList extends React.Component {
const
_appId
=
appId
;
const
_appId
=
appId
;
const
{
liveCourseId
}
=
item
;
const
{
liveCourseId
}
=
item
;
const
htmlUrl
=
`
${
LIVE_SHARE
}
live_detail/
${
liveCourseId
}
`
;
const
htmlUrl
=
`
${
LIVE_SHARE
}
live_detail/
${
liveCourseId
}
?id=
${
User
.
getStoreId
()}
`
;
const
longUrl
=
htmlUrl
const
longUrl
=
htmlUrl
console
.
log
(
'htmlUrl'
,
htmlUrl
,
longUrl
);
console
.
log
(
'htmlUrl'
,
htmlUrl
,
longUrl
);
...
...
src/modules/course-manage/video-course/components/AddVideoIntro.jsx
View file @
fed9cc11
...
@@ -193,8 +193,8 @@ class AddVideoIntro extends React.Component {
...
@@ -193,8 +193,8 @@ class AddVideoIntro extends React.Component {
</
Col
>
</
Col
>
<
Col
span=
{
21
}
>
<
Col
span=
{
21
}
>
<
div
className=
"desc"
>
<
div
className=
"desc"
>
<
div
>
开启:
仅限绑定了手机号的用户可以观看视频
</
div
>
<
div
>
开启:
允许未绑定手机号的用户进入直播间观看直播
</
div
>
<
div
>
关闭:未绑定手机号的用户也可观看
</
div
>
<
div
>
关闭:仅限绑定了手机号的用户可以进入直播间观看直播
</
div
>
</
div
>
</
div
>
</
Col
>
</
Col
>
</
Row
>
</
Row
>
...
...
src/modules/course-manage/video-course/components/VideoCourseList.jsx
View file @
fed9cc11
...
@@ -237,7 +237,7 @@ class VideoCourseList extends React.Component {
...
@@ -237,7 +237,7 @@ class VideoCourseList extends React.Component {
const
{
id
,
scheduleVideoUrl
}
=
record
;
const
{
id
,
scheduleVideoUrl
}
=
record
;
const
_appId
=
appId
;
const
_appId
=
appId
;
const
htmlUrl
=
`
${
LIVE_SHARE
}
video_detail/
${
id
}
`
;
const
htmlUrl
=
`
${
LIVE_SHARE
}
video_detail/
${
id
}
?id=
${
User
.
getStoreId
()}
`
;
const
longUrl
=
htmlUrl
;
const
longUrl
=
htmlUrl
;
const
{
coverUrl
,
courseName
}
=
record
;
const
{
coverUrl
,
courseName
}
=
record
;
const
shareData
=
{
const
shareData
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment