Commit 6bf83988 by zhangleyuan

feat:处理ui验收后的问题

parent 02ffa447
......@@ -23,7 +23,7 @@
.ant-breadcrumb{
display: inline-block;
span{
color: #989898;
color: #333;
font-weight: 400;
}
}
......
......@@ -11,6 +11,7 @@
color:#FF9D14;
line-height: 24px;
height: 20px;
margin-top:4px;
}
p {
color:#666666;
......
......@@ -10,6 +10,7 @@
color: #333;
font-weight: 500;
line-height: 22px;
margin-bottom:8px;
}
.add-live__class-info {
margin-left: 14px;
......
......@@ -223,6 +223,7 @@ class DataList extends React.Component {
size={"small"}
style={{ width: 450 }}
pagination={false}
className="visitor-num-table"
/>
);
};
......@@ -309,7 +310,7 @@ class DataList extends React.Component {
<div className="filter-wrap">
<div className="filter">
<Button
style={{ height: 32, marginLeft: 16 }}
style={{ height: 32}}
onClick={_.debounce(
() => {
if (!studentData.length) {
......@@ -328,6 +329,7 @@ class DataList extends React.Component {
</div>
<Table
bordered
size="small"
scroll={{ y: 600 }}
columns={this.getStudentColumns()}
......
......@@ -59,7 +59,9 @@
.ant-table-small > .ant-table-content .ant-table-header {
background-color: #fafafa !important;
}
.visitor-num-table .ant-table-tbody > tr > td{
border-bottom:none !important;
}
.teacher-course-data {
width: 100%;
height: 90px;
......
......@@ -129,6 +129,7 @@ class PlaybackData extends React.Component {
</a>
<Button onClick={() => {this.handleplaybackExport()}}>导出</Button>
<Table
bordered
size="small"
columns={this.getPlaybackColumns()}
dataSource={playbackData}
......
......@@ -50,7 +50,7 @@
.default-btn {
margin-left: 16px;
color: #FFB714;
color: #5289FA;
cursor: pointer;
&.disabled {
......@@ -72,8 +72,12 @@
.course-catalog{
margin:20px 0 0 14px;
}
}
.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled){
font-weight:normal !important;
color:#FF9D14 !important;
}
#imgCutModalNew {
width: 500px;
height: 300px;
......
......@@ -154,12 +154,7 @@ class AddLiveClass extends React.Component {
</span>
<div>
<div className='select-day'>
已选
<span className="mark-day">
{isLongArr(calendarTime)
? calendarTime.length : 0
}
</span>
已选 <span className="mark-day">{isLongArr(calendarTime) ? calendarTime.length : 0}</span>
</div>
<MultipleDatePicker
selectDateList={calendarTime}
......
......@@ -185,7 +185,7 @@
.select-day {
margin-bottom: 4px;
.mark-day {
color: #FC9C6B;
color: #5289FA;
}
}
}
......
......@@ -246,30 +246,26 @@ class AddLiveIntro extends React.Component {
console.log('liveCourseMediaRequests',liveCourseMediaRequests);
return (
<div className="add-live__intro-info">
<div className="playback">
<div className="playback" >
<span className="label"><span className="require">*</span>直播回放:</span>
<div className="content">
<Radio.Group value={needRecord} onChange={(e) => { this.props.onChange('needRecord', e.target.value) }} disabled={!isEdit ? true: false}>
<Row style={{ marginBottom: '5px' }}>
<Col span={8}>
<Col span={24}>
<Radio value="YES">
自动录制
<span className="playback__text">系统自助进行全程直播录制</span>
</Radio>
</Col>
<Col span={16}>
<span className="playback__text">系统自助进行全程直播录制</span>
</Col>
</Row>
<Row>
<Col span={8}>
<Radio value="NO">
手动录制
<span className="playback__text">讲师手动选择何时开始录制</span>
</Radio>
</Col>
<Col span={16}>
<span className="playback__text">讲师手动选择何时开始录制</span>
</Col>
</Row>
</Radio.Group>
</div>
......@@ -277,15 +273,15 @@ class AddLiveIntro extends React.Component {
<div className="allow-tourist-join">
<span className="label">允许游客加入:</span>
<div className="content">
<Row>
<Col span={3}>
<Switch checked={whetherVisitorsJoin==="YES"? true:false} onChange={this.whetherVisitorsJoinChange}/>
</Col>
<Col span={21}>
<div>开启:用户可直接进入直播间观看直播</div>
<div>关闭:用户需先填写手机号并短信验证,通过后才可进入直播间观看直播</div>
</Col>
</Row>
<div>
<Switch checked={whetherVisitorsJoin==="YES"? true:false} onChange={this.whetherVisitorsJoinChange}/>
</div>
<div>
<div class="instro-text">
<div>开启:用户可直接进入直播间观看直播</div>
<div>关闭:用户需先填写手机号并短信验证,通过后才可进入直播间观看直播</div>
</div>
</div>
</div>
</div>
<div className="warmup">
......@@ -312,7 +308,11 @@ class AddLiveIntro extends React.Component {
})
}}>上传图片/视频</Button>
<div className="tips">建议尺寸1280*720px或16:9。图片最大5M,支持jpg、jpeg和png;视频最大500M,支持mp4。</div>
<div className="tips">
<div>建议尺寸1280*720px或16:9。图片最大5M,支持jpg、jpeg和png;视频最大500M,</div>
<div>支持mp4。</div>
</div>
<Popover content={
<div className="example-wrap">
<p className="title">直播间暖场图示例</p>
......
......@@ -7,6 +7,7 @@
}
&__text {
color: #999;
margin-left:12px;
}
}
......@@ -14,9 +15,18 @@
.introduce {
display: flex;
flex-direction: row;
margin-bottom:16px;
}
.allow-tourist-join{
display:flex;
margin-bottom:16px;
.instro-text{
color:#999;
margin-left:12px;
}
.content{
display:flex;
}
}
.radio {
display: block;
......@@ -126,7 +136,7 @@
}
.checkExample {
width: 60px;
color: #FF7519;
color: #5289FA;
cursor: pointer;
}
.warmup {
......
......@@ -338,7 +338,7 @@ class LiveCourseList extends React.Component {
return confirm({
title: '你确定要删除直播课',
content: '删除后,用户将不能观看直播课/回放',
icon: <QuestionCircleOutlined />,
icon: <span className="icon iconfont default-confirm-icon">&#xe839; </span>,
okText: '删除',
okType: 'danger',
cancelText: '取消',
......
......@@ -39,32 +39,23 @@
.teacher{
font-size: 12px;
color: #666666;
// .teacher-name{
// max-width:60px;
// display:inline-block;
// overflow: hidden;
// text-overflow:ellipsis;
// white-space: nowrap;
// height:16px;
// line-height:16px;
// }
max-width: 96px;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
}
.assistant{
font-size: 12px;
color: #666666;
// .assistant-name{
// max-width:60px;
// display:inline-block;
// overflow: hidden;
// text-overflow:ellipsis;
// white-space: nowrap;
// height:16px;
// line-height:16px;
// }
max-width: 96px;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
}
.split {
margin: 0 4px;
color: #BFBFBF;
display: inline-blcok;
}
}
.categoryName{
......
......@@ -3,7 +3,7 @@
* @Author: zhangyi
* @Date: 2020-05-12 09:43:48
* @LastEditors: zhangleyuan
* @LastEditTime: 2020-12-09 16:22:42
* @LastEditTime: 2020-12-28 15:19:18
*/
import React, { useState, useEffect } from "react";
......
......@@ -323,7 +323,7 @@ class ManageCoursewareModal extends React.Component {
onCancel={() => { }}
>
<span style={{
color: '#FF7519',
color: '#5289FA',
cursor: 'pointer'
}}>删除</span>
</Popconfirm>
......
......@@ -131,13 +131,13 @@ class ShareLiveModal extends React.Component {
</div>
<div className="right">
<div className="share-poster right__item">
<div className="title"> 海报分享</div>
<div className="title"> 海报分享</div>
<div className="sub-title">学生可通过微信识别二维码,报名观看直播</div>
<div className="content" onClick={this.handleDownloadPoster}>下载海报</div>
</div>
<div className="share-url right__item">
<div className="title"> 链接分享</div>
<div className="title"> 链接分享</div>
<div className="sub-title">学生可通过微信打开链接,报名观看直播</div>
<div className="content">
<div className="share-url" id="shareUrl">{shareUrl}</div>
......
......@@ -84,7 +84,7 @@
color: #BFBFBF;
&.correct {
color: #FC9C6B;
color: #FFB714;
}
}
}
......
......@@ -5,7 +5,9 @@ import {
import { Menu} from 'antd';
import { menuList } from '../../routes//config/menuList'
import { XMContext } from '../../store/context';
import _ from 'underscore';
import "./Menu.less";
const { SubMenu } = Menu;
function Aside(props: any) {
const {menuType} = props
......@@ -34,7 +36,7 @@ function Aside(props: any) {
window.RCHistory.push(item.link)
}
function onOpenChange(openKeys:any){
setOpenKeys(openKeys)
setOpenKeys(_.last(openKeys, 1))
}
return (
<div
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment