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
5d293f90
Commit
5d293f90
authored
Jul 08, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:删除注释代码
parent
d719be39
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
4 additions
and
35 deletions
+4
-35
src/components/ImgClipModal.jsx
+0
-9
src/modules/college-manage/CollegeInfoPage.jsx
+0
-1
src/modules/course-manage/components/AddLiveBasic.jsx
+0
-1
src/modules/course-manage/components/AddLiveBasic.less
+0
-6
src/modules/course-manage/graphics-course/AddGraphicsCourse.jsx
+1
-2
src/modules/course-manage/offline-course/AddOfflineCourse.jsx
+0
-1
src/modules/course-manage/video-course/AddVideoCourse.jsx
+1
-3
src/modules/plan-manage/components/BasicInfo.jsx
+0
-1
src/modules/store-manage/StoreH5DecorationTab.jsx
+1
-5
src/modules/store-manage/StoreInfo.jsx
+0
-1
src/modules/store-manage/StoreWebDecorationTab.jsx
+1
-5
No files found.
src/components/ImgClipModal.jsx
View file @
5d293f90
...
...
@@ -88,8 +88,6 @@ class ImgClipModal extends React.Component {
checkOrientation=
{
false
}
cropBoxResizable=
{
false
}
center=
{
true
}
// minCropBoxWidth={cropBoxWidth}
// minCropBoxHeight={cropBoxHeight}
cropBoxMovable=
{
false
}
dragMode=
'move'
onInitialized=
{
(
instance
)
=>
{
...
...
@@ -108,13 +106,6 @@ class ImgClipModal extends React.Component {
console
.
log
(
"ratio++++"
,
ratio
);
this
.
state
.
cropperInstace
.
setCanvasData
({
width
:
500
});
const
that
=
this
;
// const containerData = this.state.cropperInstace.getContainerData();
// // Zoom to 50% from the center of the container.
// this.state.cropperInstace.zoomTo(.5,
{
// x: containerData.width / 2,
// y: containerData.height / 2,
//
});
document
.
querySelector
(
'.cropper__box'
).
addEventListener
(
'dblclick'
,
function
(
e
)
{
that
.
state
.
cropperInstace
.
rotate
(
90
)
...
...
src/modules/college-manage/CollegeInfoPage.jsx
View file @
5d293f90
...
...
@@ -53,7 +53,6 @@ class CollegeInfoPage extends React.Component {
})
}
handleSelectCover
=
(
file
)
=>
{
// this.uploadImage(file);
this
.
setState
({
visible
:
true
,
imageFile
:
file
...
...
src/modules/course-manage/components/AddLiveBasic.jsx
View file @
5d293f90
...
...
@@ -83,7 +83,6 @@ class AddLiveBasic extends React.Component {
visible
:
true
,
imageFile
:
file
});
// this.uploadImage(file);
}
...
...
src/modules/course-manage/components/AddLiveBasic.less
View file @
5d293f90
...
...
@@ -84,9 +84,4 @@
}
.preview-url-box{
overflow: hidden;
// img{
// width:500px !important;
// height:282px !important;
// transform:none !important;
// }
}
\ No newline at end of file
src/modules/course-manage/graphics-course/AddGraphicsCourse.jsx
View file @
5d293f90
...
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2020-08-05 10:07:47
* @LastEditors: Please set LastEditors
* @LastEditTime: 2021-07-0
6 14:46:4
0
* @LastEditTime: 2021-07-0
8 19:32:5
0
* @Description: 图文课新增/编辑页
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -280,7 +280,6 @@ class AddGraphicsCourse extends React.Component {
};
handleSelectCover
=
(
file
)
=>
{
// this.uploadCoverImage(file);
this
.
setState
({
visible
:
true
,
imageFile
:
file
...
...
src/modules/course-manage/offline-course/AddOfflineCourse.jsx
View file @
5d293f90
...
...
@@ -356,7 +356,6 @@ class AddOfflineCourse extends React.Component {
}
handleSelectCover
=
(
file
)
=>
{
// this.uploadCoverImage(file);
this
.
setState
({
visible
:
true
,
imageFile
:
file
...
...
src/modules/course-manage/video-course/AddVideoCourse.jsx
View file @
5d293f90
...
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2020-08-05 10:07:47
* @LastEditors: Please set LastEditors
* @LastEditTime: 2021-07-0
6 14:48
:10
* @LastEditTime: 2021-07-0
8 19:34
:10
* @Description: 视频课新增/编辑页
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -261,7 +261,6 @@ class AddVideoCourse extends React.Component {
_
.
each
(
studentIds
,
(
item
)
=>
{
studentList
.
push
({
studentId
:
item
})
})
// this.setState({ studentModal: null });
this
.
setState
({
studentList
})
this
.
setState
({
studentModal
:
false
})
}
...
...
@@ -427,7 +426,6 @@ class AddVideoCourse extends React.Component {
})
}
handleSelectCover
=
(
file
)
=>
{
// this.uploadImage(file)
this
.
setState
({
visible
:
true
,
imageFile
:
file
...
...
src/modules/plan-manage/components/BasicInfo.jsx
View file @
5d293f90
...
...
@@ -72,7 +72,6 @@ class BasicInfo extends React.Component {
},
1000
);
};
handleSelectCover
=
(
file
)
=>
{
// this.uploadImage(file);
this
.
setState
({
visible
:
true
,
imageFile
:
file
...
...
src/modules/store-manage/StoreH5DecorationTab.jsx
View file @
5d293f90
...
...
@@ -2,7 +2,7 @@
* @Author: wufan
* @Date: 2020-11-30 10:47:38
* @LastEditors: Please set LastEditors
* @LastEditTime: 2021-07-08 1
4:25:58
* @LastEditTime: 2021-07-08 1
9:35:17
* @Description: web学院banner页面
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -210,10 +210,6 @@ class StoreH5Decoration extends React.Component {
// 选择云盘资源
handleSelectImg
=
(
file
)
=>
{
// this.setState({
// showSelectFileModal: false,
// });
// this.uploadImage(file);
if
(
file
){
this
.
setState
({
visible
:
true
,
...
...
src/modules/store-manage/StoreInfo.jsx
View file @
5d293f90
...
...
@@ -74,7 +74,6 @@ class StoreInfo extends React.Component {
})
}
handleSelectCover
=
(
file
)
=>
{
// this.uploadImage(file);
this
.
setState
({
visible
:
true
,
imageFile
:
file
...
...
src/modules/store-manage/StoreWebDecorationTab.jsx
View file @
5d293f90
...
...
@@ -2,7 +2,7 @@
* @Author: wufan
* @Date: 2020-11-30 10:47:38
* @LastEditors: Please set LastEditors
* @LastEditTime: 2021-07-08 1
4:26:11
* @LastEditTime: 2021-07-08 1
9:35:27
* @Description: web学院banner页面
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -209,10 +209,6 @@ class StoreWebDecoration extends React.Component {
// 选择云盘资源
handleSelectImg
=
(
file
)
=>
{
// this.setState({
// showSelectFileModal: false,
// });
// this.uploadImage(file);
if
(
file
){
this
.
setState
({
visible
:
true
,
...
...
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