87 lines
1.6 KiB
Vue
87 lines
1.6 KiB
Vue
<template>
|
|
<view class="instructor-index">
|
|
<view class="panel">
|
|
<view class="title">
|
|
处分管理
|
|
</view>
|
|
<view class="grid">
|
|
<view class="grid-item" @tap="toDisciplinaryApplication">
|
|
<image src="../../static/images/applyrelieve/punishment.png" mode="widthFix"></image>
|
|
<text>处分记录</text>
|
|
</view>
|
|
<view class="grid-item" @tap="toRelieve">
|
|
<image src="../../static/images/applyrelieve/relieve_punishment.png" mode="widthFix"></image>
|
|
<text>解除处分记录</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
|
|
}
|
|
},
|
|
methods: {
|
|
toDisciplinaryApplication(){
|
|
uni.navigateTo({
|
|
url:"./disciplinaryApplication/list"
|
|
})
|
|
},
|
|
toRelieve(){
|
|
uni.navigateTo({
|
|
url:"./relieve/list"
|
|
})
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.instructor-index {
|
|
min-height: 100vh;
|
|
background-color: #F5F5F7;
|
|
padding: 40rpx 40rpx;
|
|
|
|
.panel {
|
|
background-color: white;
|
|
padding: 30rpx 0;
|
|
border-radius: 15rpx;
|
|
|
|
.title {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 0 0 40rpx 40rpx;
|
|
font-weight: bold;
|
|
color: #333;
|
|
&::before {
|
|
content: "";
|
|
display: inline-block;
|
|
height:25rpx;
|
|
border-radius: 20rpx;
|
|
width:8rpx;
|
|
background-color: #1890FF;
|
|
margin-right:8rpx;
|
|
}
|
|
}
|
|
|
|
.grid {
|
|
display: flex;
|
|
&-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 25%;
|
|
font-size: 26rpx;
|
|
image {
|
|
width: 80rpx;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style> |