Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-training
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-training
Commits
084ecdea
提交
084ecdea
authored
6月 24, 2021
作者:
pengxiaohui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化更新
上级
3488f4c6
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
18 行增加
和
6 行删除
+18
-6
header.vue
src/components/layout/header.vue
+1
-1
practice1.vue
src/pages/practice/components/practice1.vue
+4
-3
practice2.vue
src/pages/practice/components/practice2.vue
+13
-2
没有找到文件。
src/components/layout/header.vue
浏览文件 @
084ecdea
...
...
@@ -125,7 +125,7 @@ export default {
top
:
0
;
left
:
0
;
height
:
80px
;
z-index
:
99
999
;
z-index
:
1
999
;
box-sizing
:
border-box
;
width
:
100%
;
padding
:
9px
0
0
15px
;
...
...
src/pages/practice/components/practice1.vue
浏览文件 @
084ecdea
...
...
@@ -133,7 +133,7 @@ export default {
})
},
countDomHeight
()
{
// $('.practice-box').css('height', $('.app-main').height() - 145
+ 'px')
$
(
'.practice-box'
).
css
(
'height'
,
$
(
'.app-main'
).
height
()
-
114
+
'px'
)
// $('.item-right .form .setHeight').css('height', $('.item-right').height() - 112 + 'px')
// $('.embed-height').css('height', $('.item-left').height() - $('.item-left .heads').outerHeight() - 50 + 'px')
// $('.pdf-height').css('height', $('.practice-box').height() - ($('.pdf-get-height').outerHeight() + $('.heads').outerHeight()))
...
...
@@ -309,11 +309,12 @@ export default {
}
}
.form
{
// padding: 0 24px;
height
:calc
(
100
%
-
230px
)
;
min-height
:
360px
;
ul
{
background
:
url(https://zws-imgs-pub.ezijing.com/static/public/89898a60e953a3a6c301fa9a6e586ae5.png)
;
background-size
:
100%
100%
;
height
:
360px
;
height
:
100%
;
overflow-y
:
scroll
;
padding
:
0
20px
;
box-sizing
:
border-box
;
...
...
src/pages/practice/components/practice2.vue
浏览文件 @
084ecdea
...
...
@@ -5,7 +5,14 @@
<div
class=
"title"
>
请阅读相关信息,阅读后点击“阅读完毕”按钮,在下一页您需要进行用户分析
</div>
<div
class=
"img-content"
>
<div
class=
"img-content-scroll"
>
<img
class=
"img"
:src=
"data.url"
alt=
""
>
<!--
<img
class=
"img"
:src=
"data.uris[0].uri"
alt=
""
>
-->
<div
class=
"img"
v-if=
"data.uris && data.uris[0]"
>
<el-image
style=
"width: 100%;"
:src=
"(data.uris && data.uris[0]) ? data.uris[0].uri: data.url"
:preview-src-list=
"(data.uris && data.uris[0]) ? data.uris.map(item => item.uri):[data.url]"
>
</el-image>
</div>
</div>
</div>
<div
class=
"btn-box"
>
...
...
@@ -92,7 +99,7 @@
</
template
>
<
template
v-else
>
<!-- 进入下一页 -->
<div
class=
"btn btn-null"
v-if=
"resultCharacteristic.status == 1"
@
click=
"$emit('step2Confirm', score)"
>
进入下一
页
</div>
<div
class=
"btn btn-null"
v-if=
"resultCharacteristic.status == 1"
@
click=
"$emit('step2Confirm', score)"
>
进入下一
步
</div>
<!-- 我在考虑下 -->
<div
class=
"btn btn-null"
@
click=
"isResult = false"
v-if=
"resultCharacteristic.status == 2 || resultCharacteristic.status == 3"
>
我在考虑下
</div>
</
template
>
...
...
@@ -136,6 +143,7 @@ export default {
this
.
countDomHeight
()
const
caseStorageData
=
JSON
.
parse
(
window
.
sessionStorage
.
caseData
)
this
.
data
=
caseStorageData
console
.
log
(
'data'
,
this
.
data
)
this
.
checkboxData
=
caseStorageData
.
characteristics
[
0
].
options
.
map
(
item
=>
{
const
dataArr
=
[]
console
.
log
(
item
)
...
...
@@ -297,6 +305,9 @@ export default {
// height: 60%;
display
:
block
;
margin
:
0
auto
;
::v-deep
.el-image-viewer__mask
{
background
:
#fff
;
}
}
.btn-box
{
// background: #fff;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论