You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.0 KiB
85 lines
2.0 KiB
9 months ago
|
<template>
|
||
|
<BaseContainer class="exam-info flex">
|
||
|
<NavBar title="考试信息" />
|
||
|
<view class="exam-list">
|
||
|
<view v-for="(item, index) in examList" :key="index" class="exam-item flex">
|
||
|
<view class="item-top">{{ item.name }}</view>
|
||
|
<view class="item-bottom">{{ item.time }}</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="apply-btn flex flex-center-x" @click="toLink"><view>报名链接</view></view>
|
||
|
</BaseContainer>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
examList: [
|
||
|
{ name: '关于2022年度注册计量师职业资格考试考务工作 有关问题的通知', time: '2023-09-10 12:23:23'},
|
||
|
{ name: '关于2022年度注册计量师职业资格考试考务工作 有关问题的通知', time: '2023-09-10 12:23:23'},
|
||
|
{ name: '关于2022年度注册计量师职业资格考试考务工作 有关问题的通知', time: '2023-09-10 12:23:23'},
|
||
|
],
|
||
|
};
|
||
|
},
|
||
|
methods: {
|
||
|
toLink() {
|
||
|
uni.navigateTo({
|
||
|
url: '/pages/my/applyLink',
|
||
|
});
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss" scoped>
|
||
|
.exam-info {
|
||
|
flex-direction: column;
|
||
|
.exam-list {
|
||
|
flex: 1;
|
||
|
width: 690rpx;
|
||
|
margin: 0 auto ;
|
||
|
padding-top: 20rpx;
|
||
|
.exam-item {
|
||
|
height: 170rpx;
|
||
|
background: #fff;
|
||
|
padding: 24rpx 20rpx 30rpx 30rpx;
|
||
|
margin-bottom: 20rpx;
|
||
|
flex-direction: column;
|
||
|
justify-content: space-between;
|
||
|
.item-top {
|
||
|
font-size: 28rpx;
|
||
|
line-height: 35rpx;
|
||
|
height: 70rpx;
|
||
|
color: #333;
|
||
|
-webkit-line-clamp: 2;
|
||
|
text-overflow: ellipsis;
|
||
|
display: -webkit-box;
|
||
|
-webkit-box-orient: vertical;
|
||
|
}
|
||
|
.item-bottom {
|
||
|
color: #999;
|
||
|
font-size: 24rpx;
|
||
|
line-height: 24rpx;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
.apply-btn {
|
||
|
width: 110rpx;
|
||
|
height: 110rpx;
|
||
|
background: linear-gradient(0deg, #0F74BB 0%, #3293FF 100%);
|
||
|
box-shadow: 0rpx 8rpx 22rpx 5rpx rgba(77,144,190,0.34);
|
||
|
border-radius: 50%;
|
||
|
justify-content: center;
|
||
|
position: fixed;
|
||
|
right: 56rpx;
|
||
|
bottom: 314rpx;
|
||
|
>view {
|
||
|
font-size: 22rpx;
|
||
|
color: #FFFFFF;
|
||
|
font-weight: bold;
|
||
|
width: 44rpx;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</style>
|