优化代码

This commit is contained in:
wuxw 2024-12-25 21:53:03 +08:00
parent f1e1e64d4d
commit e89c2b3161
3 changed files with 8 additions and 5 deletions

View File

@ -91,6 +91,9 @@
_totalDiscountMoney += parseFloat(Math.abs(disItem.discountPrice)); _totalDiscountMoney += parseFloat(Math.abs(disItem.discountPrice));
disItem.discountPrice = Math.abs(disItem.discountPrice); disItem.discountPrice = Math.abs(disItem.discountPrice);
} }
if(disItem.ruleId == '102020008'){
_totalDiscountMoney = 0;
}
_selectDiscount.push(disItem); _selectDiscount.push(disItem);
}) })
// if(_totalDiscountMoney > 0){ // if(_totalDiscountMoney > 0){

View File

@ -15,16 +15,16 @@ const baseUrl = '/';
// #ifndef H5 // #ifndef H5
//服务器域名 小程序 或者 app 时 后端地址 //服务器域名 小程序 或者 app 时 后端地址
const baseUrl = 'https://xytzjt.vip/'; const baseUrl = 'https://crsdt.cn/';
// #endif // #endif
let commonBaseUrl = 'https://xytzjt.vip/'; let commonBaseUrl = 'https://crsdt.cn/';
//商城的url //商城的url
let mallUrl = 'https://mallapp.xytzjt.vip/'; let mallUrl = 'https://mallapp.crsdt.cn/';
//商城小程序ID //商城小程序ID
let mallMinAppId = "wxa6504363be652e26"; let mallMinAppId = "wx8ded6b260f1b8f63";
//默认的小区ID和名称用户还没有登录时显示的小区信息 //默认的小区ID和名称用户还没有登录时显示的小区信息

View File

@ -59,7 +59,7 @@
"quickapp" : {}, "quickapp" : {},
"mp-weixin" : { "mp-weixin" : {
"usingComponents" : true, "usingComponents" : true,
"appid" : "wxfaeb2d6c35347734", "appid" : "wx44c2329a271b1e29",
"setting" : { "setting" : {
"urlCheck" : false, "urlCheck" : false,
"es6" : false "es6" : false