feat: 解决wgt更新问题
This commit is contained in:
+4
-3
@@ -2,8 +2,8 @@
|
||||
"name" : "信任桥",
|
||||
"appid" : "__UNI__4910728",
|
||||
"description" : "信任桥优品是一款集线上商城、线下联盟商家的DAO聚合商城;通过“有趣”“有利”“有希望”的卖货玩法,吸引消费者、推广者、商家、投资人参与生态,共同打造共创共享的全球产业生态。",
|
||||
"versionName" : "1.0.2",
|
||||
"versionCode" : 127,
|
||||
"versionName" : "1.0.1",
|
||||
"versionCode" : 128,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
@@ -46,7 +46,8 @@
|
||||
},
|
||||
/* ios打包配置 */
|
||||
"ios" : {
|
||||
"dSYMs" : false
|
||||
"dSYMs" : false,
|
||||
"idfa" : false
|
||||
},
|
||||
/* SDK配置 */
|
||||
"sdkConfigs" : {
|
||||
|
||||
+1
-1
@@ -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 {
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
// 文档教程: https://uniapp.dcloud.net.cn/uniCloud/schema
|
||||
{
|
||||
"bsonType": "object",
|
||||
"required": ["name"],
|
||||
"permission": {
|
||||
"read": true,
|
||||
"create": true,
|
||||
"update": true,
|
||||
"delete": true
|
||||
},
|
||||
"properties": {
|
||||
"_id": {
|
||||
"description": "ID"
|
||||
},
|
||||
"name": {
|
||||
"bsonType": "string",
|
||||
"label": "%name%",
|
||||
"minLength": 1,
|
||||
"maxLength": 8,
|
||||
"errorMessage": {
|
||||
"format": "{label}%name.format%",
|
||||
"minLength": "{label}%name.minLength%",
|
||||
"maxLength": "{label}%name.maxLength%"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"name": "Name",
|
||||
"name.format": " invalid format",
|
||||
"name.minLength": "{label} length cannot be less than {{minLength}}",
|
||||
"name.maxLength": "{label} length cannot exceed {{maxLength}}"
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"name": "姓名",
|
||||
"name.format": "格式无效",
|
||||
"name.minLength": "{label}不能小于{{minLength}}个字符",
|
||||
"name.maxLength": "{label}不能大于{{maxLength}}个字符"
|
||||
}
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
// export const BASE_URL="http://cl55un59859.vicp.fun:24346"; // 测试环境
|
||||
|
||||
export const BASE_URL = "https://api.tbmall.xin"; //生产
|
||||
// export const BASE_URL ='http://www.hm.a-d.work/api' //测试
|
||||
// export const BASE_URL ='http://api.hm.a-d.work' // 测试
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user