Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mt-education-mobile
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王旭
mt-education-mobile
Commits
c4a41410
Commit
c4a41410
authored
Dec 11, 2019
by
刘岩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的资料增加文件图片
部分新建培训代码
parent
f71dbb5b
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
286 additions
and
29 deletions
+286
-29
test.js
src/api/test.js
+10
-1
DOCX.png
src/assets/images/MyInformation/DOCX.png
+0
-0
PPTX.png
src/assets/images/MyInformation/PPTX.png
+0
-0
RAR.png
src/assets/images/MyInformation/RAR.png
+0
-0
XLSX.png
src/assets/images/MyInformation/XLSX.png
+0
-0
resetui.less
src/assets/style/resetui.less
+3
-0
labelMyInformation.vue
src/components/MyInformation/labelMyInformation.vue
+12
-0
hSelector.vue
src/components/addTrain/hSelector.vue
+2
-0
index.vue
src/views/addTrain/index.vue
+259
-28
No files found.
src/api/test.js
View file @
c4a41410
...
@@ -50,7 +50,8 @@ const api = {
...
@@ -50,7 +50,8 @@ const api = {
deleteCourseDiscuss
:
'/bdiscuss/delete'
,
// 删除评论
deleteCourseDiscuss
:
'/bdiscuss/delete'
,
// 删除评论
getMyInfo
:
'/user/queryMyInfo'
,
// 获取当前登陆人信息 我的智学 个人中心
getMyInfo
:
'/user/queryMyInfo'
,
// 获取当前登陆人信息 我的智学 个人中心
learning
:
'/BLesson/learning'
,
// 判断是正在学该课程 643
learning
:
'/BLesson/learning'
,
// 判断是正在学该课程 643
queryCourse
:
'/BCourse/queryCourse'
// 301 查询课程分类
queryCourse
:
'/BCourse/queryCourse'
,
// 301 查询课程分类
imgUpload
:
process
.
env
.
VUE_APP_BASE_API2
+
'/api/oss/v1/file/upload'
// 美腾方面图片上传接口
}
}
export
default
api
export
default
api
...
@@ -352,6 +353,14 @@ export const post = {
...
@@ -352,6 +353,14 @@ export const post = {
method
:
'post'
,
method
:
'post'
,
params
:
params
params
:
params
})
})
},
// 新建培训 图片上传
postImgUpload
:
(
params
)
=>
{
return
axios
({
url
:
api
.
imgUpload
,
method
:
'post'
,
params
:
params
})
}
}
}
}
...
...
src/assets/images/MyInformation/DOCX.png
0 → 100644
View file @
c4a41410
5.33 KB
src/assets/images/MyInformation/PPTX.png
0 → 100644
View file @
c4a41410
4.73 KB
src/assets/images/MyInformation/RAR.png
0 → 100644
View file @
c4a41410
4.66 KB
src/assets/images/MyInformation/XLSX.png
0 → 100644
View file @
c4a41410
5.23 KB
src/assets/style/resetui.less
View file @
c4a41410
...
@@ -270,6 +270,9 @@
...
@@ -270,6 +270,9 @@
color: #cccccc;
color: #cccccc;
}
}
}
}
.form-data-field:active{
background: #ffffff !important;
}
.describe-field{
.describe-field{
display: block;
display: block;
.van-field__control{
.van-field__control{
...
...
src/components/MyInformation/labelMyInformation.vue
View file @
c4a41410
...
@@ -111,6 +111,18 @@ export default {
...
@@ -111,6 +111,18 @@ export default {
case
'zip'
:
case
'zip'
:
this
.
imgName
=
require
(
'@assets/images/MyInformation/ZIP.png'
)
this
.
imgName
=
require
(
'@assets/images/MyInformation/ZIP.png'
)
break
break
case
'docx'
:
this
.
imgName
=
require
(
'@assets/images/MyInformation/DOCX.png'
)
break
case
'pptx'
:
this
.
imgName
=
require
(
'@assets/images/MyInformation/PPTX.png'
)
break
case
'xlsx'
:
this
.
imgName
=
require
(
'@assets/images/MyInformation/XLSX.png'
)
break
case
'rar'
:
this
.
imgName
=
require
(
'@assets/images/MyInformation/RAR.png'
)
break
default
:
default
:
this
.
imgName
=
require
(
'@assets/images/MyInformation/未知.png'
)
this
.
imgName
=
require
(
'@assets/images/MyInformation/未知.png'
)
break
break
...
...
src/components/addTrain/hSelector.vue
View file @
c4a41410
...
@@ -122,6 +122,7 @@ export default {
...
@@ -122,6 +122,7 @@ export default {
white-space: nowrap;
white-space: nowrap;
overflow: hidden;
overflow: hidden;
text-overflow: ellipsis;
text-overflow: ellipsis;
display: none;
}
}
.h-selector-container {
.h-selector-container {
position: absolute;
position: absolute;
...
@@ -129,6 +130,7 @@ export default {
...
@@ -129,6 +130,7 @@ export default {
left: 0;
left: 0;
bottom: 0;
bottom: 0;
width: 100%;
width: 100%;
height: 100%;
background: #fff;
background: #fff;
}
}
.h-selector-layer {
.h-selector-layer {
...
...
src/views/addTrain/index.vue
View file @
c4a41410
This diff is collapsed.
Click to expand it.
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