修改detail展示画面
This commit is contained in:
@@ -38,13 +38,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="detail_modal_model_content" :class="{active:body}">
|
||||
<div class="detail_modal_item_back" :class="{active:body}" v-for="item,index in frontBack.back" :style="item.style">
|
||||
<img class="detail_modal_model" :src="designItemDetail.designItemUrl" alt="">
|
||||
<!-- <div class="detail_modal_item_back" :class="{active:body}" v-for="item,index in frontBack.back" :style="item.style">
|
||||
<img :src="item.imageUrl" alt="">
|
||||
</div>
|
||||
<img class="detail_modal_model" :src="frontBack.body?.layersObject[0]?.imageUrl" alt="">
|
||||
<div class="detail_modal_item_front Guide_1_19" :class="{active:body}" v-for="item,index in frontBack.front" :style="item.style" @click.stop="clothesOpen(index)">
|
||||
</div> -->
|
||||
<!-- <img class="detail_modal_model" :src="frontBack.body?.layersObject[0]?.imageUrl" alt=""> -->
|
||||
<!-- <div class="detail_modal_item_front Guide_1_19" :class="{active:body}" v-for="item,index in frontBack.front" :style="item.style" @click.stop="clothesOpen(index)">
|
||||
<img :src="item.imageUrl" alt="">
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -427,7 +428,7 @@ export default defineComponent({
|
||||
this.designItemId = data.design.designItemId
|
||||
this.designOutfitId = data.design.designOutfitId
|
||||
let url = Https.httpUrls.getDesignDetail + `?designItemId=${data.design.designItemId}&designPythonOutfitId=${data.design.designOutfitId}`
|
||||
// let url = Https.httpUrls.getDesignDetail + `?designItemId=45192&designPythonOutfitId=44898`
|
||||
// let url = Https.httpUrls.getDesignDetail + `?designItemId=40660&designPythonOutfitId=40366`
|
||||
this.parentData = data
|
||||
this.loadingShow = true
|
||||
Https.axiosGet(url).then(
|
||||
@@ -1194,6 +1195,9 @@ export default defineComponent({
|
||||
position: relative;
|
||||
width: auto;
|
||||
max-height: 100%;
|
||||
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
&.active{
|
||||
width: 100%;
|
||||
|
||||
@@ -626,6 +626,7 @@ export default defineComponent({
|
||||
|
||||
//设置导出
|
||||
let setExport = async () => {
|
||||
initAligningGuidelines(canvas,false)
|
||||
var imageDataURL = canvas.toDataURL({
|
||||
format: "png", // 导出格式为 PNG
|
||||
quality: 1, // 图片质量为 1(最高质量)
|
||||
@@ -724,10 +725,13 @@ export default defineComponent({
|
||||
if(driver__.value.driver){
|
||||
driverObj__.moveNext()
|
||||
}
|
||||
initAligningGuidelines(canvas,true)
|
||||
|
||||
})
|
||||
.catch((res) => {
|
||||
// message.warning(t('HomeView.jsContent3'));
|
||||
isShowMark = false;
|
||||
initAligningGuidelines(canvas,true)
|
||||
});
|
||||
};
|
||||
//关闭画布
|
||||
|
||||
@@ -55,7 +55,7 @@ export default {
|
||||
HDExport:'UpScale',
|
||||
Export:'Export',
|
||||
SR:'Please select the picture that requires upscale',
|
||||
requiresCredits:'Performing upscale image requires a {data} integral',
|
||||
requiresCredits:'Performing upscale image requires a {data} credits',
|
||||
Scale:'Scale',
|
||||
Cancel:'Cancel',
|
||||
jsContent1:'Canvas edit content is not saved, whether to leave the page',
|
||||
|
||||
Reference in New Issue
Block a user