fix:小程序修复bbug

This commit is contained in:
WJB3
2021-11-18 16:41:09 +08:00
parent 36c0b483ff
commit b8f7fe057d
4 changed files with 7 additions and 25 deletions

View File

@@ -14,8 +14,9 @@ function SpImage(props) {
onError = Fn,
onLoad = Fn,
lazyLoad = Fn
} = this.props
} = props
const imgUrl = `${process.env.APP_IMAGE_CDN}/${src}`
return (
<View
className={classNames(

View File

@@ -316,7 +316,7 @@ export default class GoodsReservate extends Component {
return (
<View className='goods-reservate'>
<View className='goods-reservate__storeinfo'>
{isHasActivityInfo ? (
{(isHasActivityInfo && formdata.header_title)? (
<Text className='goods-reservate__tip'>{formdata.header_title}</Text>
) : null}
{formdata &&

View File

@@ -840,25 +840,6 @@ export default class CartIndex extends Component {
</AtButton>
</SpDefault>
{/* {(!groups.length || this.state.error) && (
<View style={{ textAlign: "center" }}>
<View style="margin-bottom: 20px">
<SpNote img="cart_empty.png">快去给我挑点宝贝吧~</SpNote>
</View>
<View className="btn-go">
<AtButton
type="primary"
onClick={this.navigateTo.bind(
this,
process.env.APP_HOME_PAGE,
true
)}
>
随便逛逛
</AtButton>
</View>
</View>
)} */}
</View>
{invalidList.length > 0 && (