提交 3980d508 authored 作者: lihuihui's avatar lihuihui

修改bug

上级 5d7eaeb7
......@@ -40,6 +40,7 @@ export default {
// transform: translateY(-50%);
width: 750px;
height: 534px;
display: block;
}
.title{
text-align: center;
......
......@@ -134,12 +134,15 @@ export default {
}).catch(() => {
if (proForm) {
this.tabIndex = 0
return false
}
if (fundForm) {
this.tabIndex = 1
return false
}
if (invForm) {
this.tabIndex = 2
return false
}
})
} else {
......
......@@ -54,21 +54,29 @@
<img src="https://zws-imgs-pub.ezijing.com/static/public/14cd9f545600187e8d5be61f6e98cd2c.png" alt="">
</div>
<div class="item-right">
<ul class="setHeight2">
<template v-for="(item, index) in checkboxData">
<li :key="index">
<div class="item-right-scroll">
<div class="name">{{ item.name }}</div>
<div class="checkbox-box">
<!-- <el-checkbox class="mar-none" border :indeterminate="isIndeterminate" v-model="item.answerCount" @change="handleCheckAllChange">全选</el-checkbox> -->
<el-checkbox-group disabled v-model="item.answerCount" @change="handleCheckedCitiesChange">
<el-checkbox border v-for="city in getOptData(item.options)" :label="city.option" :key="city.option_name">{{city.option_name}}</el-checkbox>
</el-checkbox-group>
</div>
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide">
<ul class="setHeight2">
<template v-for="(item, index) in checkboxData">
<li :key="index">
<div class="item-right-scroll">
<div class="name">{{ item.name }}</div>
<div class="checkbox-box">
<!-- <el-checkbox class="mar-none" border :indeterminate="isIndeterminate" v-model="item.answerCount" @change="handleCheckAllChange">全选</el-checkbox> -->
<el-checkbox-group disabled v-model="item.answerCount" @change="handleCheckedCitiesChange">
<el-checkbox border v-for="city in getOptData(item.options)" :label="city.option" :key="city.option_name">{{city.option_name}}</el-checkbox>
</el-checkbox-group>
</div>
</div>
</li>
</template>
</ul>
</div>
</li>
</template>
</ul>
</div>
<!-- 如果需要滚动条 -->
<div class="swiper-scrollbar"></div>
</div>
<div class="foot-btn-box">
<div class="btn-box">
<template v-if="resultCharacteristic.deduct_score_times >= 3">
......@@ -113,15 +121,20 @@ export default {
this.countDomHeight()
const caseStorageData = JSON.parse(window.sessionStorage.caseData)
this.data = caseStorageData
console.log(caseStorageData, '===123')
this.checkboxData = caseStorageData.characteristics[0].options.map(item => {
item.answerCount = []
const dataArr = []
console.log(item)
item.options.map(c => {
dataArr.push(c.option)
})
item.answerCount = dataArr
item.options.map(chi => {
chi.answer = 0
return chi
})
return item
})
console.log(this.checkboxData, '123---123')
},
methods: {
getOptData(item) {
......@@ -376,9 +389,9 @@ export default {
display: flex;
align-items: center;
height: 72px;
&::-webkit-scrollbar{
display:none;
}
// &::-webkit-scrollbar{
// display:none;
// }
}
.name{
min-width: 88px;
......
......@@ -185,7 +185,20 @@ export default {
select2Options: [],
select3Options: [],
select4Options: [],
select5Options: [],
select5Options: [
{
value: 1,
label: '登录'
},
{
value: 2,
label: '点击banner'
},
{
value: 3,
label: '收藏'
}
],
select6Options: []
}
},
......@@ -195,7 +208,7 @@ export default {
this.setArrData(['不再弹出', '限制次数内弹出', '每次弹出'], 'select3Options')
this.setArrData(['天', '小时'], 'select4Options')
this.setArrData(['立即显示弹窗', '在用户后续访问到指定页面时弹窗'], 'select6Options')
this.getUserConfig()
// this.getUserConfig()
},
methods: {
getUserConfig() {
......
......@@ -167,7 +167,16 @@ export default {
}
],
select1Options: [],
select2Options: [],
select2Options: [
{
value: 1,
label: '连续7日未登录'
},
{
value: 2,
label: '连续30日未登录'
}
],
select3Options: [],
select4Options: [],
select5Options: [],
......@@ -184,7 +193,7 @@ export default {
this.setArrData([
'1号', '2号', '3号', '4号', '5号', '6号', '7号', '8号', '9号', '10号', '11号', '12号', '13号', '14号', '15号', '16号', '17号', '18号', '19号', '20号', '21号', '22号', '23号', '24号', '25号', '26号', '27号', '28号'
], 'select7Options')
this.getUserConfig()
// this.getUserConfig()
},
methods: {
getUserConfig() {
......
......@@ -93,7 +93,20 @@ export default {
}
],
select1Options: [],
select2Options: [],
select2Options: [
{
value: 1,
label: '主动发送消息给公众号'
},
{
value: 2,
label: '点击公众号菜单'
},
{
value: 3,
label: '关注公众号'
}
],
select3Options: [],
select4Options: [],
select5Options: [],
......@@ -110,7 +123,7 @@ export default {
this.setArrData([
'1号', '2号', '3号', '4号', '5号', '6号', '7号', '8号', '9号', '10号', '11号', '12号', '13号', '14号', '15号', '16号', '17号', '18号', '19号', '20号', '21号', '22号', '23号', '24号', '25号', '26号', '27号', '28号'
], 'select7Options')
this.getUserConfig()
// this.getUserConfig()
},
methods: {
getUserConfig() {
......
......@@ -185,7 +185,16 @@ export default {
select2Options: [],
select3Options: [],
select4Options: [],
select5Options: [],
select5Options: [
{
value: 1,
label: '小程序分享'
},
{
value: 2,
label: '元素点击'
}
],
select6Options: []
}
},
......@@ -195,7 +204,7 @@ export default {
this.setArrData(['不再弹出', '限制次数内弹出', '每次弹出'], 'select3Options')
this.setArrData(['天', '小时'], 'select4Options')
this.setArrData(['立即显示弹窗', '在用户后续访问到指定页面时弹窗'], 'select6Options')
this.getUserConfig()
// this.getUserConfig()
},
methods: {
getUserConfig() {
......
......@@ -154,7 +154,16 @@ export default {
}
],
select1Options: [],
select2Options: [],
select2Options: [
{
value: 1,
label: '连续7日未登录'
},
{
value: 2,
label: '连续30日未登录'
}
],
select3Options: [],
select4Options: [],
select5Options: [],
......@@ -175,7 +184,7 @@ export default {
this.setArrData([
'无限', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'
], 'select8Options')
this.getUserConfig()
// this.getUserConfig()
},
methods: {
getUserConfig() {
......
......@@ -154,7 +154,16 @@ export default {
}
],
select1Options: [],
select2Options: [],
select2Options: [
{
value: 1,
label: '连续7日未登录'
},
{
value: 2,
label: '连续30日未登录'
}
],
select3Options: [],
select4Options: [],
select5Options: [],
......@@ -175,7 +184,7 @@ export default {
this.setArrData([
'无限', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'
], 'select8Options')
this.getUserConfig()
// this.getUserConfig()
},
methods: {
getUserConfig() {
......
......@@ -161,7 +161,20 @@ export default {
select2Options: [],
select3Options: [],
select4Options: [],
select5Options: [],
select5Options: [
{
value: 1,
label: '登录'
},
{
value: 2,
label: '点击banner'
},
{
value: 3,
label: '收藏'
}
],
select6Options: [],
select7Options: [],
select8Options: []
......@@ -177,7 +190,7 @@ export default {
const opt = ['页面URL', '页面标题', '来源地址', '来源域名', '渠道来源分组', '搜索引擎', '搜索词', '社交媒体', '分享者ID', '社交媒体分享来源', '分享层级', '分享地址', '场景值类型']
this.setArrData(opt, 'select2Options')
this.setArrData(['立即显示弹窗', '在用户后续访问到指定页面时弹窗'], 'select6Options')
this.getUserConfig()
// this.getUserConfig()
},
methods: {
getUserConfig() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论