feat: 解决wgt更新问题

This commit is contained in:
2025-08-19 22:38:55 +08:00
parent 2e76fec9d6
commit 849b25fa3c
7 changed files with 26 additions and 51 deletions
+1 -1
View File
@@ -305,7 +305,6 @@ export default {
const self = this,
localAppVersonName = uni.getStorageSync('version'),
localAppVerson = uni.getStorageSync('versionCode');
// #ifdef APP-PLUS
plus.runtime.getProperty(plus.runtime.appid, function (widgetInfo) {
const params = {
@@ -313,6 +312,7 @@ export default {
versionCode: localAppVerson,
}
checkAppVersion(params).then(res => {
console.log("wgt更新-1", res)
if (res && res.bizcode === 100) {
const data = res.data || {};
// app大版本更新,versionName:1.0.1 versionCode:102
@@ -563,23 +563,36 @@ export default {
.product_info_header_warp {
position: relative;
// .product_info_header_swiper {
// height: 562.5rpx !important;
// ::v-deep(.u-swiper__wrapper) {
// height: 562.5rpx !important;
// .u-swiper__wrapper {
// height: 562.5rpx !important;
// .u-swiper__wrapper__item__wrapper__image {
// height: 562.5rpx !important;
// }
// }
// }
// }
.product_info_header_swiper {
height: 562.5rpx !important;
height: 800rpx !important;
::v-deep(.u-swiper__wrapper) {
height: 562.5rpx !important;
height: 800rpx !important;
.u-swiper__wrapper {
height: 562.5rpx !important;
height: 800rpx !important;
.u-swiper__wrapper__item__wrapper__image {
height: 562.5rpx !important;
height: 800rpx !important;
}
}
}
}
.img_comm {