This commit is contained in:
闫晓茹 2023-08-17 15:28:08 +08:00
parent efc725c786
commit c0318072e4

View File

@ -76,7 +76,7 @@
</view> </view>
</view> </view>
<view class="btns"> <view class="btns">
<view class="btn1" @tap='maskshow=false'>取消</view> <view class="btn1" @tap='cancellist'>取消</view>
<view class="btn2" @tap='checkeds'>阅读并同意</view> <view class="btn2" @tap='checkeds'>阅读并同意</view>
</view> </view>
</view> </view>
@ -116,6 +116,10 @@
this.data.openId = options.openId this.data.openId = options.openId
}, },
methods: { methods: {
cancellist(){
this.checked = false;
this.maskshow = false
},
// //
checkeds() { checkeds() {
this.checked = true; this.checked = true;
@ -156,6 +160,7 @@
}, },
// //
cancel() { cancel() {
this.maskshow=false
uni.navigateTo({ uni.navigateTo({
url: '/pages/index/index' url: '/pages/index/index'
}) })
@ -165,6 +170,9 @@
</script> </script>
<style lang="scss"> <style lang="scss">
.btns{
display: flex;
}
.text { .text {
margin-top: 40rpx; margin-top: 40rpx;
padding-bottom: 80rpx; padding-bottom: 80rpx;
@ -172,12 +180,15 @@
.btn1, .btn1,
.btn2 { .btn2 {
width: 50%; width: 254rpx;
height: 80rpx; margin-left: 5%;
line-height: 80rpx; margin-bottom: 5%;
height: 69rpx;
background: #F4F5F9;
border-radius: 10rpx;
line-height: 69rpx;
font-size: 28rpx;
text-align: center; text-align: center;
display: inline-block;
background-color: #fff;
} }
.btn2 { .btn2 {
@ -224,6 +235,17 @@
padding: 5% 0 0 0; padding: 5% 0 0 0;
position: relative; position: relative;
.cancel {
width: 254rpx;
margin-left: 5%;
height: 69rpx;
background: #F4F5F9;
border-radius: 10rpx;
line-height: 69rpx;
font-size: 28rpx;
text-align: center;
}
.top { .top {
width: 95%; width: 95%;
margin: 0 auto 0; margin: 0 auto 0;
@ -239,16 +261,7 @@
display: flex; display: flex;
left: 10%; left: 10%;
.cancel {
width: 254rpx;
margin-left: 5%;
height: 69rpx;
background: #F4F5F9;
border-radius: 10rpx;
line-height: 69rpx;
font-size: 28rpx;
text-align: center;
}
.submit { .submit {
width: 254rpx; width: 254rpx;
@ -460,4 +473,4 @@
} }
} }
} }
</style> </style>