Commit 4fa820c2 by 前端

层级

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