Files
zhxg_app_v1.0/pages/stuGood/index.vue

100 lines
1.9 KiB
Vue
Raw Normal View History

2025-07-16 15:34:34 +08:00
<template>
<view class="instructor-index">
<view class="panel">
<view class="title">
评优评先
</view>
<view class="grid">
<view class="grid-item" @tap="toScholarship">
<image src="../../static/images/stuGood/scholarship.png" mode="aspectFill"></image>
<text>学业奖学金</text>
</view>
<view class="grid-item" @tap="toGoodstudent">
<image src="../../static/images/stuGood/goodstudent.png" mode="aspectFill"></image>
<text>三好学生</text>
</view>
<view class="grid-item" @tap="toOutstandingStudentLeader">
<image src="../../static/images/stuGood/outstandingStudentLeader.png" mode="aspectFill"></image>
<text>优秀学生干部</text>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
toScholarship() {
uni.navigateTo({
url: "./scholarship/index"
})
},
toGoodstudent() {
uni.navigateTo({
url: "./goodstudent/index"
})
},
toOutstandingStudentLeader() {
uni.navigateTo({
url: "./outstandingStudentLeader/index"
})
}
}
}
</script>
<style scoped lang="scss">
.instructor-index {
height: calc(100vh - 44px);
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;
height: 80rpx;
margin-bottom: 10rpx;
}
}
}
}
}
</style>