提交 084ecdea authored 作者: pengxiaohui's avatar pengxiaohui

优化更新

上级 3488f4c6
...@@ -125,7 +125,7 @@ export default { ...@@ -125,7 +125,7 @@ export default {
top: 0; top: 0;
left: 0; left: 0;
height: 80px; height: 80px;
z-index: 99999; z-index: 1999;
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
padding: 9px 0 0 15px; padding: 9px 0 0 15px;
......
...@@ -133,7 +133,7 @@ export default { ...@@ -133,7 +133,7 @@ export default {
}) })
}, },
countDomHeight() { 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') // $('.item-right .form .setHeight').css('height', $('.item-right').height() - 112 + 'px')
// $('.embed-height').css('height', $('.item-left').height() - $('.item-left .heads').outerHeight() - 50 + '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())) // $('.pdf-height').css('height', $('.practice-box').height() - ($('.pdf-get-height').outerHeight() + $('.heads').outerHeight()))
...@@ -309,11 +309,12 @@ export default { ...@@ -309,11 +309,12 @@ export default {
} }
} }
.form{ .form{
// padding: 0 24px; height:calc(100% - 230px);
min-height:360px;
ul{ ul{
background: url(https://zws-imgs-pub.ezijing.com/static/public/89898a60e953a3a6c301fa9a6e586ae5.png); background: url(https://zws-imgs-pub.ezijing.com/static/public/89898a60e953a3a6c301fa9a6e586ae5.png);
background-size: 100% 100%; background-size: 100% 100%;
height: 360px; height: 100%;
overflow-y: scroll; overflow-y: scroll;
padding: 0 20px; padding: 0 20px;
box-sizing: border-box; box-sizing: border-box;
......
...@@ -5,7 +5,14 @@ ...@@ -5,7 +5,14 @@
<div class="title">请阅读相关信息,阅读后点击“阅读完毕”按钮,在下一页您需要进行用户分析</div> <div class="title">请阅读相关信息,阅读后点击“阅读完毕”按钮,在下一页您需要进行用户分析</div>
<div class="img-content"> <div class="img-content">
<div class="img-content-scroll"> <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> </div>
<div class="btn-box"> <div class="btn-box">
...@@ -92,7 +99,7 @@ ...@@ -92,7 +99,7 @@
</template> </template>
<template v-else> <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> <div class="btn btn-null" @click="isResult = false" v-if="resultCharacteristic.status == 2 || resultCharacteristic.status == 3">我在考虑下</div>
</template> </template>
...@@ -136,6 +143,7 @@ export default { ...@@ -136,6 +143,7 @@ export default {
this.countDomHeight() this.countDomHeight()
const caseStorageData = JSON.parse(window.sessionStorage.caseData) const caseStorageData = JSON.parse(window.sessionStorage.caseData)
this.data = caseStorageData this.data = caseStorageData
console.log('data', this.data)
this.checkboxData = caseStorageData.characteristics[0].options.map(item => { this.checkboxData = caseStorageData.characteristics[0].options.map(item => {
const dataArr = [] const dataArr = []
console.log(item) console.log(item)
...@@ -297,6 +305,9 @@ export default { ...@@ -297,6 +305,9 @@ export default {
// height: 60%; // height: 60%;
display: block; display: block;
margin: 0 auto; margin: 0 auto;
::v-deep.el-image-viewer__mask{
background:#fff;
}
} }
.btn-box{ .btn-box{
// background: #fff; // background: #fff;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论