Skip to content

Commit

Permalink
feat: wx check
Browse files Browse the repository at this point in the history
  • Loading branch information
rayhomie committed Nov 18, 2024
1 parent 5e83be5 commit f50ff41
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 27 deletions.
10 changes: 4 additions & 6 deletions compiled/alipay/demo/pages/Popup/index.axml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
</ant-popup>
<ant-popup
visible="{{customizeVisible}}"
height="{{350}}"
backgroundImage="https://mdn.alipayobjects.com/huamei_ahikbw/afts/img/A*1zlbRZpwRXYAAAAAAAAAAAAADiWwAQ/original"
position="bottom"
showClose="{{true}}"
Expand All @@ -32,18 +31,17 @@
></image>
<ant-button
onTap="handlePopupClose"
style="margin-top: 60rpx;"
style="margin-top: 60rpx;width:100%;"
type="primary"
>去开通</ant-button>
<ant-button
onTap="handlePopupClose"
style="margin-top: 24rpx;"
style="margin-top: 24rpx;width:100%"
>暂不开通</ant-button>
</view>
</ant-popup>
<ant-popup
visible="{{topImageVisible}}"
height="{{450}}"
className="customize-top-image-popup"
backgroundImage="https://mdn.alipayobjects.com/huamei_ahikbw/afts/img/A*jVxmQq4bhoUAAAAAAAAAAAAADiWwAQ/original"
position="bottom"
Expand All @@ -60,12 +58,12 @@
></image>
<ant-button
onTap="handlePopupClose"
style="margin-top: 60rpx;"
style="margin-top: 60rpx;width:100%;"
type="primary"
>去开通</ant-button>
<ant-button
onTap="handlePopupClose"
style="margin-top: 24rpx;"
style="margin-top: 24rpx;width:100%;"
>暂不开通</ant-button>
<view class="customize-content-text">可在其他地方查看</view>
</view>
Expand Down
3 changes: 0 additions & 3 deletions compiled/alipay/demo/pages/Popup/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,4 @@
text-align: center;
padding-top: 30rpx;
}
.ant-button {
width: 100%;
}
}
10 changes: 4 additions & 6 deletions compiled/wechat/demo/pages/Popup/index.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
</ant-popup>
<ant-popup
visible="{{customizeVisible}}"
height="{{350}}"
backgroundImage="https://mdn.alipayobjects.com/huamei_ahikbw/afts/img/A*1zlbRZpwRXYAAAAAAAAAAAAADiWwAQ/original"
position="bottom"
showClose="{{true}}"
Expand All @@ -30,18 +29,17 @@
></image>
<ant-button
bind:tap="handlePopupClose"
style="margin-top: 60rpx;"
style="margin-top: 60rpx;width:100%;"
type="primary"
>去开通</ant-button>
<ant-button
bind:tap="handlePopupClose"
style="margin-top: 24rpx;"
style="margin-top: 24rpx;width:100%"
>暂不开通</ant-button>
</view>
</ant-popup>
<ant-popup
visible="{{topImageVisible}}"
height="{{450}}"
className="customize-top-image-popup"
backgroundImage="https://mdn.alipayobjects.com/huamei_ahikbw/afts/img/A*jVxmQq4bhoUAAAAAAAAAAAAADiWwAQ/original"
position="bottom"
Expand All @@ -58,12 +56,12 @@
></image>
<ant-button
bind:tap="handlePopupClose"
style="margin-top: 60rpx;"
style="margin-top: 60rpx;width:100%;"
type="primary"
>去开通</ant-button>
<ant-button
bind:tap="handlePopupClose"
style="margin-top: 24rpx;"
style="margin-top: 24rpx;width:100%;"
>暂不开通</ant-button>
<view class="customize-content-text">可在其他地方查看</view>
</view>
Expand Down
3 changes: 0 additions & 3 deletions compiled/wechat/demo/pages/Popup/index.wxss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,3 @@
text-align: center;
padding-top: 30rpx;
}
.customize-content .ant-button {
width: 100%;
}
10 changes: 4 additions & 6 deletions demo/pages/Popup/index.axml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
</ant-popup>
<ant-popup
visible="{{ customizeVisible }}"
height="{{ 350 }}"
backgroundImage="https://mdn.alipayobjects.com/huamei_ahikbw/afts/img/A*1zlbRZpwRXYAAAAAAAAAAAAADiWwAQ/original"
position="bottom"
showClose="{{ true }}"
Expand All @@ -24,13 +23,12 @@
onClose="handlePopupClose">
<view class="customize-content">
<image mode="widthFix" class="customize-content-image" src="https://mdn.alipayobjects.com/huamei_ahikbw/afts/img/A*SD-BTaA-k_wAAAAAAAAAAAAADiWwAQ/original" />
<ant-button onTap="handlePopupClose" style="margin-top: 60rpx;" type="primary">去开通</ant-button>
<ant-button onTap="handlePopupClose" style="margin-top: 24rpx;">暂不开通</ant-button>
<ant-button onTap="handlePopupClose" style="margin-top: 60rpx;width:100%;" type="primary">去开通</ant-button>
<ant-button onTap="handlePopupClose" style="margin-top: 24rpx;width:100%">暂不开通</ant-button>
</view>
</ant-popup>
<ant-popup
visible="{{ topImageVisible }}"
height="{{ 450 }}"
className="customize-top-image-popup"
backgroundImage="https://mdn.alipayobjects.com/huamei_ahikbw/afts/img/A*jVxmQq4bhoUAAAAAAAAAAAAADiWwAQ/original"
position="bottom"
Expand All @@ -40,8 +38,8 @@
onClose="handlePopupClose">
<view class="customize-content">
<image mode="widthFix" class="customize-content-image1" src="https://mdn.alipayobjects.com/huamei_ahikbw/afts/img/A*Jly2R5hYEm8AAAAAAAAAAAAADiWwAQ/original" />
<ant-button onTap="handlePopupClose" style="margin-top: 60rpx;" type="primary">去开通</ant-button>
<ant-button onTap="handlePopupClose" style="margin-top: 24rpx;">暂不开通</ant-button>
<ant-button onTap="handlePopupClose" style="margin-top: 60rpx;width:100%;" type="primary">去开通</ant-button>
<ant-button onTap="handlePopupClose" style="margin-top: 24rpx;width:100%;">暂不开通</ant-button>
<view class="customize-content-text">可在其他地方查看</view>
</view>
</ant-popup>
Expand Down
3 changes: 0 additions & 3 deletions demo/pages/Popup/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,4 @@
text-align: center;
padding-top: 30rpx;
}
.ant-button {
width: 100%;
}
}

0 comments on commit f50ff41

Please sign in to comment.