修改弹窗提示

This commit is contained in:
duan
2025-01-09 17:22:03 +08:00
parent 58ad33a494
commit 15f4dc0e73

View File

@@ -247,20 +247,23 @@
</view>
</uni-popup>
<uni-popup ref="alertDialog" type="center" borderRadius="80rpx 80rpx 80rpx 80rpx" background-color="#fff">
<view style="padding: 30rpx;width: 500rpx;height: 280rpx;position: relative;">
<view style="display: flex;align-items: center; justify-content: space-between;">
<uni-popup ref="alertDialog" type="center" background-color="#fff">
<view style="width: 500rpx;position: relative;">
<view style="padding: 20rpx; flex-direction: row; display: flex;align-items: center; justify-content: space-between;">
<view class=""></view>
<view class=""></view>
<image @tap="close" style="width: 20rpx;height: 20rpx;" src="../../static/images/me/closeIconss.png" mode="">
<image @tap="close" style="width: 20rpx;height: 20rpx;" src="../../static/images/me/closeIconss.png"
mode="">
</image>
</view>
<view style="margin-top: 40rpx;text-align: center;">
<view style="margin-top: 20rpx;padding: 20rpx;justify-content: center;align-items: center;">
使用金币解锁此视频
</view>
<view style="position: absolute;bottom: 0;left: 0;display: flex;align-items: center;justify-content: space-between;width: 100%;border-top: 1rpx solid #333333;">
<view style="width: 50%;text-align: center;line-height: 80rpx;border-right: 1px solid #333333;" @tap="dialogConfirm">看免费视频</view>
<view style="width: 50%;text-align: center;line-height: 80rpx;" @tap="dialogClose">去登录</view>
<view
style="align-items: center;flex-direction: row;justify-content: space-between;border-top: 1rpx solid #333333;">
<view style="display: block; height: 80rpx;flex:1; justify-content: center;align-items: center;line-height: 80rpx;border-right: 1px solid #333333;"
@tap="dialogConfirm">去登录</view>
<view style="display: block; height: 80rpx;flex:1;justify-content: center;align-items: center;line-height: 80rpx;" @tap="dialogClose">看免费视频</view>
</view>
</view>
</uni-popup>
@@ -505,8 +508,7 @@
},
methods: {
close() {
this.$refs.popup.close()
this.$refs.alertDialog.close()
},
dialogClose() {
uni.navigateTo({