|
|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
|
- <div class="detail-top">
|
|
|
- <img src="@assets/png-bg-shangping.png" :style="bgImgStyle" class="bg-img" />
|
|
|
+ <div class="detail-top" :style="bgImgStyle">
|
|
|
+ <img src="@assets/png-bg-shangping.png" v-if="windowVertical" class="bg-img" />
|
|
|
|
|
|
- <div class="detail-info">
|
|
|
+ <div class="detail-info" :style="{ paddingBottom: windowVertical ? '50px' : '0px' }">
|
|
|
<three-mode
|
|
|
:info="info.model3d"
|
|
|
:windowVertical="windowVertical"
|
|
|
@@ -66,7 +66,11 @@
|
|
|
</swiper-slide>
|
|
|
</swiper>
|
|
|
|
|
|
- <div class="share-content" v-if="pageType !== 'auction'">
|
|
|
+ <div
|
|
|
+ class="share-content"
|
|
|
+ :style="{ marginTop: windowVertical ? '20px' : '10px' }"
|
|
|
+ v-if="pageType !== 'auction'"
|
|
|
+ >
|
|
|
<div class="setAvatar" @click="setAvatar" v-if="pageType == 'asset' && onlyImg">
|
|
|
<img src="../../assets/icon-sheweitouxiang.png" alt="" />
|
|
|
<span>设为头像</span>
|
|
|
@@ -180,28 +184,26 @@ export default {
|
|
|
return false;
|
|
|
},
|
|
|
bgImgStyle() {
|
|
|
- if (this.windowVertical) {
|
|
|
- return {
|
|
|
- width: '100vw'
|
|
|
- };
|
|
|
- } else {
|
|
|
+ if (!this.windowVertical) {
|
|
|
return {
|
|
|
- height: `calc(${this.appHeight} - ${this.safeTop})`
|
|
|
+ height: `calc(${this.appHeight} - ${this.safeTop})`,
|
|
|
+ width: `calc(${this.appHeight} - ${this.safeTop} - 50px)`
|
|
|
};
|
|
|
}
|
|
|
+ return {};
|
|
|
},
|
|
|
imgWidth() {
|
|
|
if (this.windowVertical) {
|
|
|
return 'calc(100vw - 134px)';
|
|
|
} else {
|
|
|
- return `calc(${this.appHeight} - ${this.safeTop} - 184px)`;
|
|
|
+ return `calc(${this.appHeight} - ${this.safeTop} - 120px)`;
|
|
|
}
|
|
|
},
|
|
|
BannerWidth() {
|
|
|
if (this.windowVertical) {
|
|
|
return 'calc(100vw - 124px)';
|
|
|
} else {
|
|
|
- return `calc(${this.appHeight} - ${this.safeTop} - 174px)`;
|
|
|
+ return `calc(${this.appHeight} - ${this.safeTop} - 110px)`;
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -282,6 +284,7 @@ export default {
|
|
|
}
|
|
|
.bg-img {
|
|
|
display: block;
|
|
|
+ width: 100vw;
|
|
|
}
|
|
|
.mySwiper {
|
|
|
border-radius: @radius;
|