app_tree_planting/pages/duty/index.vue

233 lines
3.9 KiB
Vue
Raw Normal View History

2023-01-11 19:31:59 +08:00
<template>
<view class="wrap">
<view>尽职尽责</view>
</view>
</template>
<script>
2023-02-01 19:25:51 +08:00
import pageLoading from '@/components/loading/pageLoading.vue';
export default {
components: {
pageLoading
},
data() {
return {
user: {},
loginText: '登录',
showPageLoading: true
};
},
methods: {
}
};
2023-01-11 19:31:59 +08:00
</script>
<style scoped lang="scss">
2023-02-01 19:25:51 +08:00
.top {
/*页面标题*/
.page-title {
display: flex;
justify-content: center;
align-items: center;
height: 90rpx;
text-align: center;
z-index: 9999;
font-size: 38rpx;
font-weight: bold;
color: #ffffff;
2023-01-11 19:31:59 +08:00
}
2023-02-01 19:25:51 +08:00
}
.user {
.base-info {
//background-image: linear-gradient(top, #e4edec 20%, #e4edec 80%);
background: #8cc7b5;
height: 280rpx;
2023-01-11 19:31:59 +08:00
}
2023-02-01 19:25:51 +08:00
.user-info {
padding: 64rpx 32rpx;
2023-01-11 19:31:59 +08:00
display: flex;
2023-02-01 19:25:51 +08:00
align-item: center;
justify-content: space-between;
.avatar {
flex-grow: 0;
flex-shrink: 0;
line-height: 0;
border-radius: 50%;
image {
width: 144rpx;
height: 144rpx;
border-radius: 50%;
border: 1rpx solid #fff;
2023-01-11 19:31:59 +08:00
}
}
2023-02-01 19:25:51 +08:00
.default-avatar {
margin-top: -12rpx;
}
.info {
flex-grow: 1;
flex-shrink: 1;
padding-left: 28rpx;
2023-01-11 19:31:59 +08:00
display: flex;
2023-02-01 19:25:51 +08:00
flex-direction: column;
justify-content: center;
.nickname {
font-size: 44rpx;
color: #ffffff;
margin-top: -14rpx;
}
.mobile {
font-size: 34rpx;
2023-01-11 19:31:59 +08:00
color: #fff;
2023-02-01 19:25:51 +08:00
display: flex;
align-items: center;
line-height: normal;
/deep/ .icon {
margin-left: 30rpx;
font-size: 28rpx;
display: block;
}
2023-01-11 19:31:59 +08:00
}
2023-02-01 19:25:51 +08:00
.user-type {
display: flex;
margin-top: 6rpx;
text {
font-size: 24rpx;
color: #fff;
background-color: #cd8202;
padding: 0 24rpx;
border-radius: 55px;
}
}
.btn-login {
font-size: 42rpx;
background: transparent;
2023-01-11 19:31:59 +08:00
color: #fff;
2023-02-01 19:25:51 +08:00
text-align: left;
width: 200rpx;
}
}
.setting {
flex-grow: 0;
flex-shrink: 0;
.btn-setting {
margin-top: 10rpx;
/deep/ .icon {
color: #fff;
font-size: 48rpx;
}
2023-01-11 19:31:59 +08:00
}
}
}
}
2023-02-01 19:25:51 +08:00
.nav {
margin-top: -15rpx;
margin-bottom: calc(var(--window-bottom) + 20rpx);
.list {
margin-top: 15rpx;
margin-bottom: 20rpx;
.item {
padding-left: 24rpx;
background: #ffffff;
.info {
2023-01-11 19:31:59 +08:00
display: flex;
flex-direction: row;
align-items: center;
2023-02-01 19:25:51 +08:00
justify-content: space-between;
border-bottom: 1rpx solid #e9ebee;
padding: 4rpx 24rpx 4rpx 0;
height: 100rpx;
.name {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
font-size: 34rpx;
2023-01-11 19:31:59 +08:00
line-height: normal;
2023-02-01 19:25:51 +08:00
image {
width: 45rpx;
height: 45rpx;
margin-right: 16rpx;
}
2023-01-11 19:31:59 +08:00
2023-02-01 19:25:51 +08:00
/deep/ .icon {
color: #8cc7b5;
font-size: 44rpx;
margin-right: 16rpx;
line-height: normal;
}
/deep/ .icon-car {
font-size: 35rpx;
margin-right: 14rpx;
}
/deep/ .icon-profile-o {
font-size: 48rpx;
margin-right: 12rpx;
}
/deep/ .icon-user-info {
font-size: 50rpx;
margin-left: -5rpx;
margin-right: 10rpx;
}
/deep/ .icon-favorite {
font-size: 42rpx;
}
/deep/ .icon-about {
font-size: 44rpx;
margin-left: -4rpx;
margin-right: 12rpx;
}
/deep/ .icon-question {
margin-right: 16rpx;
}
2023-01-11 19:31:59 +08:00
}
2023-02-01 19:25:51 +08:00
/deep/ .icon {
color: #c1c4c9;
font-size: 24rpx;
2023-01-11 19:31:59 +08:00
}
}
2023-02-01 19:25:51 +08:00
&:last-child {
.info {
border-bottom: 0;
}
2023-01-11 19:31:59 +08:00
}
}
}
}
2023-02-01 19:25:51 +08:00
.status-bar {
background: #8cc7b5;
}
</style>