mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-14 13:26:47 +08:00
167 lines
3.2 KiB
Vue
167 lines
3.2 KiB
Vue
<template>
|
|
<view class="learn_path">
|
|
<view class="path_header">
|
|
<view class="text">成长路径图</view>
|
|
</view>
|
|
<view class="path_body">
|
|
<view class="body_header">
|
|
<view class="left">全岗位路径</view>
|
|
<view class="right">
|
|
<u-switch size="14" v-model="openDown" @change="change"></u-switch>
|
|
<text class="text">高亮显示未完成</text>
|
|
</view>
|
|
</view>
|
|
<view class="body_check">
|
|
<view class="left_check">
|
|
<view class="left"></view>
|
|
<view class="text">必修</view>
|
|
</view>
|
|
<view class="right_check">
|
|
<view class="right"></view>
|
|
<view class="text">选修</view>
|
|
</view>
|
|
</view>
|
|
<view class="end_learn">您的学习之旅已结束</view>
|
|
<view class="learn">
|
|
<view class="aaa"></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
openDown: false,
|
|
}
|
|
},
|
|
mounted() {
|
|
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.learn_path{
|
|
background: #387DF7;
|
|
.path_header{
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-bottom: 38rpx;
|
|
.text{
|
|
margin-top: 26rpx;
|
|
height: 60rpx;
|
|
font-weight: 600;
|
|
font-size: 44rpx;
|
|
color: #FFFFFF;
|
|
line-height: 60rpx;
|
|
}
|
|
}
|
|
.path_body{
|
|
background: #FFFFFF;
|
|
border-radius: 40rpx 40rpx 0rpx 0rpx;
|
|
height: 100vh;
|
|
.body_header{
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
.left{
|
|
width: 204rpx;
|
|
height: 52rpx;
|
|
line-height: 52rpx;
|
|
text-align: center;
|
|
background: #387DF7;
|
|
border-radius: 26rpx;
|
|
font-weight: 500;
|
|
font-size: 28rpx;
|
|
color: #FFFFFF;
|
|
margin-left: 30rpx;
|
|
margin-top: 26rpx;
|
|
}
|
|
.right{
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 32rpx;
|
|
margin-right: 34rpx;
|
|
.text{
|
|
height: 40rpx;
|
|
font-weight: 500;
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
line-height: 40rpx;
|
|
margin-left: 10rpx;
|
|
}
|
|
}
|
|
}
|
|
.body_check{
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 34rpx;
|
|
.left_check{
|
|
display: flex;
|
|
align-items: center;
|
|
.left{
|
|
width: 32rpx;
|
|
height: 32rpx;
|
|
background: #34CA2B;
|
|
border-radius: 4rpx;
|
|
}
|
|
.text{
|
|
height: 40rpx;
|
|
font-weight: 400;
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
line-height: 40rpx;
|
|
margin-left: 18rpx;
|
|
}
|
|
}
|
|
.right_check{
|
|
display: flex;
|
|
align-items: center;
|
|
margin-left: 102rpx;
|
|
.right{
|
|
width: 32rpx;
|
|
height: 32rpx;
|
|
background: #FE9C4A;
|
|
border-radius: 4rpx;
|
|
}
|
|
.text{
|
|
height: 40rpx;
|
|
font-weight: 400;
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
line-height: 40rpx;
|
|
margin-left: 18rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.end_learn{
|
|
text-align: right;
|
|
margin-top: 30rpx;
|
|
margin-right: 24rpx;
|
|
height: 40rpx;
|
|
font-weight: 400;
|
|
font-size: 28rpx;
|
|
color: #387DF7;
|
|
line-height: 40rpx;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
.learn{
|
|
width: 616rpx;
|
|
height: 952rpx;
|
|
background: url("../../static/images/learnpath/7learn.png") no-repeat;
|
|
background-size: 100%;
|
|
.aaa{
|
|
width: 64rpx;
|
|
height: 68rpx;
|
|
background: linear-gradient( 180deg, #66B1FC 0%, #3C82F7 99%);
|
|
}
|
|
}
|
|
}
|
|
</style>
|