|
|
@@ -1,10 +1,13 @@
|
|
|
<template>
|
|
|
<view class="content" >
|
|
|
- <view class="header" :style='"background-image:url("+imgUrl+"/detail/bg.png);background-repeat: no-repeat;background-size: 100% 200%;"'>
|
|
|
+ <view class="header" :style='"background-image:url("+imgUrl+"/detail/bg.png);background-repeat: no-repeat;background-size: 100% 200%;top:-5vh;height:110vh"'>
|
|
|
|
|
|
- <view v-if="isH5" @click='goBack()' style="font-size: 17px;
|
|
|
+ <view v-if="isH5" @click='goBack()' style=" font-size: 16px;
|
|
|
padding-top: 7px;
|
|
|
- position: absolute;">
|
|
|
+ position: absolute;
|
|
|
+ top: 5vh;
|
|
|
+ left: 20px;
|
|
|
+}">
|
|
|
返回
|
|
|
</view>
|
|
|
|
|
|
@@ -1412,6 +1415,10 @@ export default {
|
|
|
}
|
|
|
let imgHeight = windowWidth*0.85;
|
|
|
let imageWidth = windowWidth * 1;
|
|
|
+ if(this.isH5){
|
|
|
+ imgHeight = windowWidth*0.6;
|
|
|
+ imageWidth = windowWidth * 0.8;
|
|
|
+ }
|
|
|
self.productSize = ";width:"+imageWidth+"px;height:"+imgHeight+"px;";
|
|
|
}else{
|
|
|
let rate = 0.35;
|