修复用户指引bug
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
<i class="fi fi-rr-edit" @click.stop="openCurrent(2)"></i>
|
||||
</div>
|
||||
<div class="Guide_1_20" :class="[driver__.driver?'showEvents':'']">
|
||||
<div class="centent_div" v-if="current?.printObject?.prints[0]?.path" @click="openCurrent(2)">
|
||||
<div class="centent_div" v-if="current?.printObject?.prints?.[0]?.path" @click="openCurrent(2)">
|
||||
<img :src="current?.printObject?.prints[0]?.path" alt="">
|
||||
</div>
|
||||
<i v-else class="fi fi-rr-picture centent" @click="openCurrent(2)"></i>
|
||||
@@ -188,6 +188,8 @@ export default defineComponent({
|
||||
let currentIndex:any = ref(0)
|
||||
let current:any = ref({})//点击上衣或者下衣
|
||||
provide('current',current)
|
||||
provide('designItemDetail',designItemDetail)
|
||||
provide('currentIndex',currentIndex)
|
||||
let frontBack:any = ref({})
|
||||
let body = ref(false)
|
||||
let designItemId = ref()
|
||||
@@ -202,6 +204,7 @@ export default defineComponent({
|
||||
return store.state.Guide.guide
|
||||
})
|
||||
provide('driver__',driver__)
|
||||
provide('body',body)
|
||||
let moible:any = isMoible()
|
||||
provide('moible',moible)
|
||||
let {t} = useI18n()
|
||||
@@ -1064,6 +1067,7 @@ export default defineComponent({
|
||||
}
|
||||
&.active{
|
||||
width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
.detail_modal_item_front,.detail_modal_item_back{
|
||||
cursor: pointer;
|
||||
@@ -1071,15 +1075,20 @@ export default defineComponent({
|
||||
img{
|
||||
// width: 100%;
|
||||
max-height: 100%;
|
||||
width: auto;
|
||||
|
||||
}
|
||||
&.active{
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
|
||||
transform: translate(-50%,-50%);
|
||||
img{
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
width: auto;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user