提交 01191881 编写于 作者: xingli.wu's avatar xingli.wu

Merge branch 'feature/wxl' into 'release'

feat: add jump link

See merge request !285
......@@ -153,6 +153,16 @@
>
<img :src="i">
</div>
<div
v-for="(i, ind) in staticINFO2.descList"
:key="ind"
class="bg-img mt20"
>
<img
:src="i"
@click="handleBanner(ind)"
>
</div>
</div>
</div>
<div class="bottom-btn">
......@@ -274,6 +284,10 @@ export default {
staticINFO: {
logoUrlList: [],
},
staticINFO2: {
descList: [],
descBottomList: [],
},
// 太保项目用户信息
inherentUserInfo: null,
openWebAppConfig_without_yunorder:
......@@ -349,6 +363,7 @@ export default {
this.userInfo = userInfo || '';
// this.$loading.show();
this.getBanner(7, rightsNo || projectEquityNo);
this.getBanner2(36, rightsNo || projectEquityNo);
this.getProjectMaterial();
this.loadCardTypes();
this.getUserInfo();
......@@ -441,6 +456,16 @@ export default {
}
});
},
getBanner2(pageType, yunOrderNo) {
const self = this;
self.$loading.show();
getBanner(pageType, yunOrderNo).then((res) => {
if (res.code === '000000') {
self.staticINFO2 = res.data;
self.$loading.hide();
}
});
},
// 创建深圳订单
createOrderSz() {
const { externalOrderNo, projectEquityNo, rightsNo } = this;
......@@ -546,6 +571,11 @@ export default {
initInsurancePath() {
this.openWebAppConfig_without_yunorder = `pagesInsurance/all-entrance/index?insurance_without_yunorder=insurance_without_yunorder&projectEquityNo=${this.projectEquityNo}`;
},
handleBanner(index) {
console.log('index', index);
// window.open(this.staticINFO2.descBottomList[index]);
window.location.href = this.staticINFO2.descBottomList[index];
},
},
};
</script>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册