Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
publich5
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
xuyanwei
publich5
Commits
17768259
提交
17768259
authored
6月 09, 2020
作者:
zhengyadong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
去除console
上级
9ac84006
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
39 行增加
和
21 行删除
+39
-21
prod.env.js
config/prod.env.js
+1
-1
index.html
index.html
+3
-3
dialog.vue
src/components/dialog.vue
+1
-1
textCase.vue
src/components/practice/textCase.vue
+8
-6
main.js
src/main.js
+3
-3
index.vue
src/views/answerRecord/index.vue
+2
-1
index.vue
src/views/collection/index.vue
+7
-1
home.vue
src/views/home/home.vue
+8
-2
index.vue
src/views/moonMatch/index.vue
+3
-1
index.vue
src/views/wrongBook/index.vue
+3
-2
没有找到文件。
config/prod.env.js
浏览文件 @
17768259
...
...
@@ -2,5 +2,5 @@
module
.
exports
=
{
NODE_ENV
:
'"production"'
,
ENV_CONFIG
:
'"prod"'
,
BASE_API
:
'"http://
192.168.2.242:8996/
"'
BASE_API
:
'"http://
yhrs.class.com.cn
"'
}
index.html
浏览文件 @
17768259
...
...
@@ -37,10 +37,10 @@
<meta name="msapplication-tap-highlight" content="no">-->
<title>
公共就业服务平台
</title>
<script
src=
"static/simple-share.js"
></script>
<
script
src=
"static/ckplayer/ckplayer.js"
></script
>
<script
src=
"static/vconsole.min.js"
></script>
<
!-- <script src="static/ckplayer/ckplayer.js"></script> --
>
<
!-- <
script src="static/vconsole.min.js"></script>
<script src="https://cdn.bootcss.com/vConsole/3.2.2/vconsole.min.js"></script>
<script>
var
vConsole
=
new
VConsole
();
</script>
<script>var vConsole = new VConsole();</script>
-->
<!--<link rel="shortcut icon" href="/src/assets/img/favicon.ico" type="image/x-icon" />-->
<script>
~
function
()
{
...
...
src/components/dialog.vue
浏览文件 @
17768259
...
...
@@ -36,7 +36,7 @@ export default {
top: 0;
left: 0;
right: 0;
z-index:
1111
;
z-index:
99999999999999
;
.dialog-wrap{
margin: 2.5rem auto 0;
width: 3.01rem;
...
...
src/components/practice/textCase.vue
浏览文件 @
17768259
...
...
@@ -2,10 +2,12 @@
<div
class=
"type-text"
>
<div
class=
"answer-cnt"
:style=
"
{'height':(open ? autoHeight:'2rem')}">
<div
class=
"detail-cnt"
v-html=
"dataObj.content"
></div>
<!--
<video
class=
"video"
v-if=
"dataObj.video"
:src=
"videoUrl(dataObj.video)"
controls
></video>
-->
<div
class=
"video"
v-if=
"dataObj.video"
>
<video
class=
"video"
v-if=
"dataObj.video"
:src=
"videoUrl(dataObj.video)"
controls=
"controls"
x5-playsinline=
""
playsinline=
"true"
webkit-playsinline=
"true"
x-webkit-airplay=
"true"
x5-video-player-type=
"h5-page"
x5-video-player-fullscreen=
""
x5-video-orientation=
"portraint"
></video>
<!--
<div
class=
"video"
v-if=
"dataObj.video"
>
<div
id=
"mse"
></div>
</div>
</div>
-->
</div>
<div
class=
"answer-text"
>
...
...
@@ -19,7 +21,7 @@
<
script
>
import
{
videoUrl
}
from
'@/utils/global'
import
Player
from
'xgplayer'
//
import Player from 'xgplayer'
export
default
{
name
:
'textCase'
,
props
:{
...
...
@@ -51,8 +53,8 @@ export default {
mounted
()
{
console
.
log
(
this
.
videoUrl
(
this
.
dataObj
.
video
),
11111111
);
this
.
playerConfig
.
url
=
this
.
videoUrl
(
this
.
dataObj
.
video
)
this
.
player
=
new
Player
(
this
.
playerConfig
)
//
this.playerConfig.url = this.videoUrl(this.dataObj.video)
//
this.player = new Player(this.playerConfig)
},
watch
:
{},
methods
:
{
...
...
src/main.js
浏览文件 @
17768259
...
...
@@ -42,9 +42,9 @@ Vue.use(VideoPlayer)
import
valert
from
'./components/alertMess/index.js'
Vue
.
use
(
valert
);
import
Vconsole
from
'vconsole'
;
const
vConsole
=
new
Vconsole
();
export
default
vConsole
;
//
import Vconsole from 'vconsole';
//
const vConsole = new Vconsole();
//
export default vConsole;
/*id图片路径*/
Vue
.
prototype
.
imgLink
=
function
(
id
){
...
...
src/views/answerRecord/index.vue
浏览文件 @
17768259
...
...
@@ -103,7 +103,8 @@ export default {
})
},
backTo
()
{
this
.
$router
.
push
({
name
:
'my'
})
this
.
$router
.
back
(
-
1
)
// this.$router.push({name:'my'})
}
}
};
...
...
src/views/collection/index.vue
浏览文件 @
17768259
...
...
@@ -23,7 +23,7 @@
<h3
:class=
"`color-div$
{index%6+1}`">
{{
index
<
9
?
'0'
+
(
index
+
1
):
index
+
1
}}
</h3>
<div
class=
"word"
>
<p><span>
{{
item
.
name
}}
</span>
<span>
{{
item
.
num
}}
道题
</span></p>
<h2>
查看
</h2>
<h2
@
click=
"toView(item)"
>
查看
</h2>
</div>
</li>
</ul>
...
...
@@ -35,6 +35,7 @@
<
script
>
import
{
getCollectionNumAPI
}
from
'@/api/xywApi.js'
;
import
{
Icon
,
List
,
NavBar
,
Picker
}
from
"vant"
;
import
{
Toast
}
from
'vant'
;
export
default
{
name
:
'HelloWorld'
,
data
()
{
...
...
@@ -64,6 +65,11 @@
}
})
},
toView
(
item
){
console
.
log
(
item
,
1
);
Toast
.
fail
(
'功能开发中'
)
// this.$router.push({name:'myWrongDetail',query:{code:item.code}})
}
},
}
...
...
src/views/home/home.vue
浏览文件 @
17768259
...
...
@@ -18,7 +18,7 @@
<h3>
GO
<img
src=
"../../assets/img/home/triangle.png"
alt=
""
></h3>
</div>
</li>
<li
@
click=
"
$router.push(
{name:'moonMatch'})
">
<h1><img
src=
"../../assets/img/home/icon_kaoshi.png"
alt=
""
></h1>
<li
@
click=
"
toMoon
"
><h1><img
src=
"../../assets/img/home/icon_kaoshi.png"
alt=
""
></h1>
<div
class=
"other"
>
<h2>
在线考试
</h2>
<h3>
GO
<img
src=
"../../assets/img/home/triangle.png"
alt=
""
></h3>
...
...
@@ -39,6 +39,7 @@
<
script
>
import
Foot
from
'../../components/Foot'
;
import
{
Toast
}
from
"vant"
;
export
default
{
name
:
'HelloWorld'
,
data
()
{
...
...
@@ -48,7 +49,12 @@
created
()
{
},
watch
:
{},
methods
:
{},
methods
:
{
toMoon
(){
Toast
.
fail
(
'功能开发中'
)
// this.$router.push({name:'moonMatch'})
}
},
}
</
script
>
...
...
src/views/moonMatch/index.vue
浏览文件 @
17768259
...
...
@@ -24,6 +24,7 @@
import
topHeader
from
"@/components/header/topHeader.vue"
;
import
listFooter
from
'@/components/header/listFooter'
import
{
getMoonListAPI
}
from
'@/api/moon'
import
{
Toast
}
from
'vant'
;
export
default
{
name
:
"moonMatch"
,
components
:
{
...
...
@@ -98,7 +99,8 @@ export default {
'-1'
:()
=>
false
,
'-2'
:()
=>
false
,
}
status
[
item
.
examStatus
]()
// status[item.examStatus]()
Toast
.
fail
(
'功能开发中'
)
// this.$router.push({name:'match',query:{id:item.id, title:item.name}})
}
}
...
...
src/views/wrongBook/index.vue
浏览文件 @
17768259
...
...
@@ -36,7 +36,7 @@
<
script
>
import
{
getErrorbookAPI
}
from
'@/api/xywApi'
;
import
{
Icon
,
List
,
NavBar
,
Picker
}
from
"vant"
;
import
{
Icon
,
List
,
NavBar
,
Picker
,
Toast
}
from
"vant"
;
export
default
{
name
:
'HelloWorld'
,
data
()
{
...
...
@@ -69,7 +69,8 @@
},
toView
(
item
){
console
.
log
(
item
,
1
);
this
.
$router
.
push
({
name
:
'myWrongDetail'
,
query
:{
code
:
item
.
code
}})
Toast
.
fail
(
'功能开发中'
)
// this.$router.push({name:'myWrongDetail',query:{code:item.code}})
}
},
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论