|
@@ -9,16 +9,11 @@
|
|
|
back-icon-color="#ffffff"
|
|
|
>
|
|
|
<view class="slot-wrap">
|
|
|
- <!-- #ifdef H5 -->
|
|
|
- <img :src="$method.splitImgHost(config.h5Logo)" alt="" srcset="" />
|
|
|
- <!-- #endif -->
|
|
|
- <!-- #ifdef MP-WEIXIN -->
|
|
|
<image
|
|
|
:src="$method.splitImgHost(config.h5Logo)"
|
|
|
@load="load"
|
|
|
:style="{ width: imgwidth + 'rpx', height: imgheight + 'rpx' }"
|
|
|
/>
|
|
|
- <!-- #endif -->
|
|
|
</view>
|
|
|
</u-navbar>
|
|
|
</view>
|
|
@@ -47,8 +42,8 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
load(e) {
|
|
|
- this.imgwidth = e.detail.width * 2;
|
|
|
- this.imgheight = e.detail.height * 2;
|
|
|
+ this.imgwidth = e.detail.width;
|
|
|
+ this.imgheight = e.detail.height;
|
|
|
},
|
|
|
},
|
|
|
};
|