update BUG

This commit is contained in:
qijq 2025-09-01 10:49:32 +08:00
parent 951488cc79
commit 48bf2f4d96
5 changed files with 34 additions and 17 deletions

View File

@ -1,11 +1,11 @@
{
"name" : "小发同城",
"appid" : "__UNI__95F809F",
"package" : "com.xiaofa.shopAdmin",
"package" : "com.gpxscs.shopAdmin",
"description" : "",
//
"versionName" : "1.0.2",
"versionCode" : 102,
"versionName" : "1.0.3",
"versionCode" : 103,
"transformPx" : false,
/* 5+App */
"app-plus" : {
@ -24,9 +24,15 @@
"Camera" : {},
"Record" : {},
"VideoPlayer" : {},
"UIWebview" : {},
"Push" : {}
"Push" : {
"kernel": {
"ios": "WKWebview" // "WKWebview"
}
}
},
"kernel": {
"ios": "WKWebview" // "WKWebview"
},
/* */
"distribute" : {
/* android */
@ -131,6 +137,9 @@
},
"usingComponents" : true
},
"mp-ios" : {
"bundleId" : ""
},
"h5" : {
// "devServer" : {
// "https" : true,

View File

@ -131,7 +131,7 @@
icon="man-add-fill"
title="账号设置"
></u-cell>
<u-cell
<u-cell
iconStyle="marginRight:6px; color: #ff695b"
:border="false"
isLink
@ -236,6 +236,7 @@ export default {
store_info: {
store_id: 1,
store_name: "",
store_biz_state: 1,
},
},
form: {
@ -278,6 +279,7 @@ export default {
if (res && res.status == 200) {
uni.setStorageSync("accountDashboard", res.data);
this.dashboardInfo = res.data;
this.shopStatus = this.dashboardInfo.store_info.store_biz_state;
}
},

View File

@ -58,7 +58,7 @@
disabled
inputAlign="right"
disabledColor="#fff"
color="#5ac725"
:color="form.store_biz_state == 1 ? '#5ac725' : 'red'"
v-model="businessName"
placeholder=""
/>
@ -214,6 +214,8 @@ export default {
res.data.info.store_opening_hours +
"-" +
res.data.info.store_close_hours;
this.businessName = res.data.store_biz_state == 1 ? "营业中" : "停业中";
}
},
skipuContract() {
@ -221,18 +223,16 @@ export default {
url: "/pages/my/contract",
});
},
async updateLogo() {
async updateLogo() {
let that = this;
// #ifdef APP-PLUS
//
let result = await permission.premissionCheck(
"EXTERNAL_STORAGE"
);
let result = await permission.premissionCheck("EXTERNAL_STORAGE");
if (result != 1) {
return result
}
if (result != 1) {
return result;
}
// #endif
uni.chooseImage({

View File

@ -616,6 +616,7 @@ export default {
this.showBackPopup = true;
},
handerPageBack() {
this.isAdd = true;
this.$emit("pageBack");
},
overSize(e) {
@ -822,9 +823,12 @@ export default {
async getCommoditSpecificationBaseInfo(type_id) {
let params = {
type_id: type_id,
product_id: this.productItem.product_id,
};
if (!this.isAdd) {
params.product_id = this.productItem.product_id;
}
let res = await GetCommoditSpecificationBaseInfo(params);
if (res && res.status == 200) {
this.commoditSpecificationBaseInfo = res.data;
@ -872,7 +876,6 @@ export default {
list.length > 1
? list[1].category_virtual_enable
: list[0].category_virtual_enable;
this.typeId = typeId;
this.getCommoditSpecificationBaseInfo(typeId);
},

View File

@ -525,7 +525,10 @@ export default {
JSON.stringify(this.commoditSpecificationBaseInfo)
);
if (this.commoditSpecificationBaseInfo2.specs[0].specItems.length > 0) {
if (
this.commoditSpecificationBaseInfo2 &&
this.commoditSpecificationBaseInfo2.specs[0].specItems.length > 0
) {
console.log(this.commoditSpecificationBaseInfo2);
}