Commit 4fa820c2 by 前端

层级

1 parent 8b5f8465
......@@ -108,6 +108,7 @@ export default {
props: {
title: String,
detail: Object,
show: Boolean,
},
data () {
return {
......@@ -147,6 +148,12 @@ export default {
console.log(this.detail,19)
},
watch: {
show(n) {
if(n) {
this.popupShow = false
this.posterW = 751
}
},
'detail.productPoster': {
handler(val) {
setTimeout(() => {
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-04-08 11:30:30
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-12-16 18:13:56
* @LastEditTime: 2024-12-19 16:56:32
-->
<template>
<view class="detail-box" @dblclick="dbClick">
......@@ -18,8 +18,8 @@
</view>
</template>
<template v-if="type != 'preview'">
<tool-box ref="toolRef" :data="toolList" :type="type" @choose="choose" @finish="open" :id="id" @toPay="toPay" :showPayBtn="watchPayInfo" />
<view class="pen-box" @click="drawStatus = !drawStatus">
<tool-box v-if="backZindex" ref="toolRef" :data="toolList" :type="type" @choose="choose" @finish="open" :id="id" @toPay="toPay" :showPayBtn="watchPayInfo" />
<view v-if="backZindex" class="pen-box" @click="drawStatus = !drawStatus">
<view :class="['sprite-icon', `${!drawStatus ? 'icon-pen' : 'icon-pen-active'}`]"></view>
</view>
</template>
......@@ -126,7 +126,6 @@ export default {
this.$refs.stepRef.open()
},
handleFull(val) {
console.log(val, 9)
this.backZindex = val ? 0 : 9
},
/**切换素材 */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!