首页去掉活动

main
wwl 2024-04-10 16:13:27 +08:00
parent 929ccc429e
commit ebdcaad967
5 changed files with 6 additions and 11 deletions

View File

@ -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

View File

@ -1096,7 +1096,7 @@ function CartCheckout (props) {
/>
)}
{!bargain_id && (
{process.env.NODE_ENV === "development" && !bargain_id && (
<View style={{ marginBottom: '40rpx' }}>
<SpCell
isLink

View File

@ -188,11 +188,6 @@ function Home () {
})
const init = async () => {
if (swiperList?.length) {
setState((draft) => {
draft.loading = false
})
}
fetchLocation()
// 非云店
if (!VERSION_STANDARD) {

View File

@ -313,7 +313,7 @@ export default class TradeItem extends Component {
</Button>
) : null} */}
{
!info.aftersales_bn && info.is_rate != 1 && (
info.can_apply_aftersales === 1 && !info.aftersales_bn && info.is_rate != 1 && (
<Button
className='btn-action'
style={`box-shadow: 0 0 0 1PX ${colors.data[0].primary}; color: ${colors.data[0].primary}`}

View File

@ -273,7 +273,7 @@ export default class TradeList extends Component {
handleClickItemBtn = async (trade, type) => {
console.log(trade)
// return this.handleClickDelivery(true, {})
// return this.handleClickDelivery(true, { delivery_id: 'SF1651636948873' })
const { tid, aftersales_bn } = trade
let detailUrl = `/subpage/pages/trade/detail?id=${tid}`