首页弹窗关闭按钮

master
blak-kong 2 years ago
parent 402c519c3c
commit a98e3d3e87

Binary file not shown.

@ -82,6 +82,7 @@ export default class PopupPrivacy extends Component<any, any> {
>
{isClose && (
<View
style="color:#fff;"
className="at-icon at-icon-close common-close"
onClick={this.onClose}
></View>

@ -4,3 +4,15 @@
.van-popup {
background-color: transparent;
}
.site-close {
position: absolute;
right: 36rpx;
top: 36rpx;
color: #fff;
font-size: 36rpx;
z-index: 100009;
border: 4px solid #fff;
border-radius: 50%;
padding: 4px;
box-sizing: border-box;
}

@ -127,12 +127,16 @@ export default class PopupSiteSwiper extends Component<any, any> {
<Popup
show={isShow}
closeOnClickOverlay={false}
// closeable={true}
// closeIcon="close"
// closeIconPosition="top-right"
round
overlayStyle="width: 100vw;padding: 0;"
onClick={this.onClickStop}
// onClose={this.onClose}
>
<View
className="at-icon at-icon-close common-close"
className="at-icon at-icon-close site-close"
onClick={this.onClose}
></View>
<View className={classnames("common-box")}>
@ -165,7 +169,7 @@ export default class PopupSiteSwiper extends Component<any, any> {
>
<Image
className="cover"
src={item.image}
src={item.fileUrl}
mode="aspectFit"
></Image>
</View>

@ -85,4 +85,5 @@
top: 36rpx;
color: #000;
font-size: 36rpx;
z-index: 100009;
}

@ -166,7 +166,7 @@ class Index extends Component<any, any> {
// 获取站点管理-弹窗列表 1-首页 2-发现模块 3-活动模块
GetSitePopupList = async () => {
this.intData();
// this.intData();
// return;
let res = await GetSitePopupList(1);
if (res.data.code === 200) {

Loading…
Cancel
Save