|
@@ -19,6 +19,7 @@ function YLQCustom(props: PropsWithChildren<CustomPropsType>) {
|
|
|
let {
|
|
|
adpId,
|
|
|
width,
|
|
|
+ closeIcon,
|
|
|
onEmitOpenMiniProgram,
|
|
|
onError,
|
|
|
onLoad,
|
|
@@ -196,7 +197,8 @@ function YLQCustom(props: PropsWithChildren<CustomPropsType>) {
|
|
|
bidCreativeParam: JSON.stringify(bidCreativeParam || {}), // {}
|
|
|
adpId,
|
|
|
pqtId,
|
|
|
- ownAdSystemType
|
|
|
+ ownAdSystemType,
|
|
|
+ clientTimestamp: new Date().getTime()
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -219,8 +221,8 @@ function YLQCustom(props: PropsWithChildren<CustomPropsType>) {
|
|
|
广告
|
|
|
</View>
|
|
|
{/* 关闭icon */}
|
|
|
- <View className='close-icon' onClick={closeCustom}>
|
|
|
- </View>
|
|
|
+ {closeIcon && <View className='close-icon' onClick={closeCustom}>
|
|
|
+ </View>}
|
|
|
<Custom
|
|
|
width={width}
|
|
|
adData={adData}
|