作者 mxd

班级班规

校纪校规
<template>
<view class="twoClassRules">
<!-- 班级班规 -->
<view class="tel_index_bg"></view>
<!-- <view class="tel_index_bg"></view> -->
<view class="vio_list">
<view class="text-content" v-html="textAll"></view>
</view>
<view v-if="!is_seleShow" class="btom_agree_all flex" @tap="agreeClick">
<view class="operate-wrap" v-if="!is_seleShow">
<view class="btom_agree_all flex" @tap="agreeClick">
<view class="sele_yes">
<view class="sele_yes_img" v-show="seleShow"></view>
</view>
我已详细阅读,并同意和服从管理
</view>
<view v-if="!is_seleShow" class="agree_btn" @tap="agreeTap">
<view class="agree_btn" @tap="agreeTap">
同意
</view>
</view>
</view>
</template>
... ... @@ -117,6 +119,7 @@
<style lang="scss" scoped>
.twoRule {
position: relative;
padding-bottom: 40rpx;
}
.tel_index_bg {
... ... @@ -131,6 +134,7 @@
.vio_list {
width: 100%;
padding: 30rpx 30rpx 0 30rpx;
border-radius: 20rpx;
position: relative;
z-index: 2;
.text-content {
... ... @@ -144,48 +148,52 @@
min-height: 300rpx;
}
}
.btom_agree_all {
.operate-wrap {
width: 100%;
height: 90rpx;
line-height: 90rpx;
justify-content: flex-start;
align-items: center;
padding: 0 30rpx;
// font-size: 24rpx;
// color: #929399;
font-size: 34rpx;
color: #2D81FF;
margin-top: 50rpx;
}
.btom_agree_all {
width: 100%;
font-size: 24rpx;
font-family: PingFang SC;
font-weight: 500;
color: #646464;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20rpx;
.sele_yes {
width: 28rpx;
height: 28rpx;
border: 1px solid #2D81FF;
border: 2px solid #A3C8FF;
border-radius: 50%;
margin-right: 10rpx;
position: relative;
margin-right: 14rpx;
.sele_yes_img {
width: 18rpx;
height: 18rpx;
background-color: #2D81FF;
width: 28rpx;
height: 28rpx;
border: 2px solid #A3C8FF;
border-radius: 50%;
background-color: #2D81FF;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
}
.agree_btn{
width: 576rpx;
width: 100%;
height: 90rpx;
line-height: 90rpx;
background: #2D81FF;
box-shadow: 5rpx 9rpx 30rpx 0rpx rgba(45, 129, 255, 0.2);
border-radius: 45rpx;
margin: 0 auto 30rpx auto;
font-size: 32rpx;
font-size: 34rpx;
font-family: PingFang SC;
font-weight: 400;
color: #FFFFFF;
... ...
... ... @@ -10,16 +10,18 @@
<!-- </scroll-view> -->
</view>
<view v-if="!is_seleShow" class="btom_agree_all flex" @tap="agreeClick">
<view class="operate-wrap" v-if="!is_seleShow">
<view class="btom_agree_all flex" @tap="agreeClick">
<view class="sele_yes">
<view class="sele_yes_img" v-show="seleShow"></view>
</view>
我已详细阅读,并同意和服从管理
</view>
<view v-if="!is_seleShow" class="agree_btn" @tap="agreeTap">
<view class="agree_btn" @tap="agreeTap">
同意
</view>
</view>
</view>
</template>
<script>
... ... @@ -119,7 +121,7 @@
<style lang="scss" scoped>
.twoRule {
position: relative;
padding-bottom: 20rpx;
padding-bottom: 40rpx;
}
.tel_index_bg {
... ... @@ -150,49 +152,52 @@
}
}
.btom_agree_all {
.operate-wrap {
width: 100%;
height: 90rpx;
line-height: 90rpx;
justify-content: flex-start;
align-items: center;
padding: 0 30rpx;
// font-size: 24rpx;
// color: #929399;
font-size: 34rpx;
color: #2D81FF;
margin-top: 50rpx;
}
.btom_agree_all {
width: 100%;
font-size: 24rpx;
font-family: PingFang SC;
font-weight: 500;
color: #646464;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20rpx;
.sele_yes {
width: 28rpx;
height: 28rpx;
border: 1px solid #2D81FF;
border: 2px solid #A3C8FF;
border-radius: 50%;
margin-right: 10rpx;
position: relative;
margin-right: 14rpx;
.sele_yes_img {
width: 18rpx;
height: 18rpx;
background-color: #2D81FF;
width: 28rpx;
height: 28rpx;
border: 2px solid #A3C8FF;
border-radius: 50%;
background-color: #2D81FF;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
}
.agree_btn {
width: 576rpx;
.agree_btn{
width: 100%;
height: 90rpx;
line-height: 90rpx;
background: #2D81FF;
box-shadow: 5rpx 9rpx 30rpx 0rpx rgba(45, 129, 255, 0.2);
border-radius: 45rpx;
margin: 0 auto 30rpx auto;
font-size: 32rpx;
font-size: 34rpx;
font-family: PingFang SC;
font-weight: 400;
color: #FFFFFF;
... ...