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