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

修改bug

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