Commit ea4b8522 by 李伟康

commit 提交

1 parent 279a1408
......@@ -901,10 +901,14 @@ export default {
}
}
.under-image {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-size: cover;
background-repeat: no-repeat;
z-index: -1;
}
/* 竖屏 */
......
......@@ -203,8 +203,9 @@ export default {
this.jumpPage(item)
},
jumpPage (item) {
console.log(item)
let { openSceneArr, selectIndex } = this,
{ shopMerchantName, shopMerchantId } = item,
{ merchantName: shopMerchantName, merchantId: shopMerchantId } = item,
userInfo = uni.$storage.get('userInfo')
if (!openSceneArr?.length && !userInfo?.isSuper) return wx.$util.showToast('暂无开通业务,请联系总部管理员')
uni.$storage.set('userInfo', {
......
......@@ -5,12 +5,15 @@
</view>
<view class="content">
<view class="title">问界·商城延保价格明细</view>
<tabs :list="views" />
<tabs
:list="views"
@tabclick="changeView"
/>
<view class="canvas-box">
<template v-for="(i,index) in views">
<view
:class="['canvas-view',{showView:viewIndex == index}]"
:key="index"
v-show="viewIndex == index"
>
<wnCanvas
saveImageType="3"
......@@ -43,6 +46,7 @@ export default {
},
methods: {
changeView (index) {
console.log()
this.viewIndex = index
},
}
......@@ -73,22 +77,6 @@ export default {
padding: 32rpx 0;
text-align: center;
}
.canvas-box {
width: 100%;
// flex-wrap: nowrap;
}
.canvas-view {
z-index: -1;
opacity: 0;
left: 0;
top: 0;
display: none;
width: 100%;
}
.showView {
display: block;
z-index: 2;
}
}
}
</style>
\ No newline at end of file
......@@ -63,7 +63,8 @@ export default {
},
/**切换素材 */
choose (e) {
console.log(e)
this.id = e.id
this.getFindSoureDetail(e.id)
},
async getFindSoureDetail (id) {
try {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!