diff --git a/.env.development b/.env.development index 133da8c..008f505 100755 --- a/.env.development +++ b/.env.development @@ -1,8 +1,8 @@ -APP_BASE_URL=https://slb.birkenstock.net.cn/api/h5app/wxapp -APP_WEBSOCKET=wss://slb.birkenstock.net.cn/ws +APP_BASE_URL=https://test.birkenstock.net.cn/api/h5app/wxapp +APP_WEBSOCKET=wss://test.birkenstock.net.cn/ws APP_COMPANY_ID=1 APP_PLATFORM=standard -APP_CUSTOM_SERVER=https://slb.birkenstock.net.cn/ +APP_CUSTOM_SERVER=https://test.birkenstock.net.cn/ APP_HOME_PAGE=/pages/index APP_TRACK=youshu APP_YOUSHU_TOKEN=bi281e87ab2424481a diff --git a/src/pages/cart/espier-checkout.js b/src/pages/cart/espier-checkout.js index 213c951..ddc80b8 100755 --- a/src/pages/cart/espier-checkout.js +++ b/src/pages/cart/espier-checkout.js @@ -1096,7 +1096,7 @@ function CartCheckout (props) { /> )} - {!bargain_id && ( + {process.env.NODE_ENV === "development" && !bargain_id && ( { - if (swiperList?.length) { - setState((draft) => { - draft.loading = false - }) - } fetchLocation() // 非云店 if (!VERSION_STANDARD) { diff --git a/src/subpage/pages/trade/comps/new-item.js b/src/subpage/pages/trade/comps/new-item.js index 03835e9..a8b4efa 100755 --- a/src/subpage/pages/trade/comps/new-item.js +++ b/src/subpage/pages/trade/comps/new-item.js @@ -313,7 +313,7 @@ export default class TradeItem extends Component { ) : null} */} { - !info.aftersales_bn && info.is_rate != 1 && ( + info.can_apply_aftersales === 1 && !info.aftersales_bn && info.is_rate != 1 && (