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.
130 lines
2.3 KiB
130 lines
2.3 KiB
<template>
|
|
<view class="bg">
|
|
<view class="top-box flex-between">
|
|
<view class="top-left">
|
|
<image src="https://static.ticket.sz-trip.com/tourGuide/images/index/topImg.png" mode="" class="avatar"></image>
|
|
<view class="flex-column">
|
|
<view class="top-title">苏小小</view>
|
|
<view class="top-subtitle">大师级导游</view>
|
|
</view>
|
|
</view>
|
|
<view class="top-right">
|
|
个人信息
|
|
<image src="https://static.ticket.sz-trip.com/tourGuide/images/user/rightBlack.png" mode=""></image>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="box">
|
|
<view v-for="(item,index) in list" :key="index" class="flex-between">
|
|
<view class="title">{{item.title}}</view>
|
|
<image src="https://static.ticket.sz-trip.com/tourGuide/images/user/rightGray.png" mode=""></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
list: [
|
|
{
|
|
title: '我的消息',
|
|
path: ''
|
|
},
|
|
{
|
|
title: '我的订单',
|
|
path: ''
|
|
},
|
|
{
|
|
title: '账号密码',
|
|
path: ''
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.bg {
|
|
min-height: 100vh;
|
|
background: #F5F5F5;
|
|
padding: 57rpx 26rpx 0;
|
|
}
|
|
|
|
.top-box {
|
|
height: 169rpx;
|
|
background: #FFFFFF;
|
|
border-radius: 13rpx;
|
|
padding: 0 34rpx;
|
|
|
|
.top-left {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.avatar {
|
|
width: 120rpx;
|
|
height: 120rpx;
|
|
border-radius: 50%;
|
|
margin-right: 15rpx;
|
|
}
|
|
|
|
view {
|
|
padding: 15rpx 0;
|
|
justify-content: space-between;
|
|
|
|
.top-title {
|
|
font-weight: bold;
|
|
font-size: 32rpx;
|
|
color: #000000;
|
|
}
|
|
|
|
.top-subtitle {
|
|
font-weight: 500;
|
|
font-size: 25rpx;
|
|
color: #000000;
|
|
}
|
|
}
|
|
}
|
|
|
|
.top-right {
|
|
font-weight: 500;
|
|
font-size: 25rpx;
|
|
color: #100E0E;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
image {
|
|
width: 11.33rpx;
|
|
height: 20rpx;
|
|
margin-left: 19rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
.box {
|
|
margin-top: 28rpx;
|
|
background: #FFFFFF;
|
|
border-radius: 13rpx;
|
|
|
|
.flex-between {
|
|
height: 106rpx;
|
|
padding: 0 26rpx;
|
|
|
|
.title {
|
|
font-weight: 500;
|
|
font-size: 28rpx;
|
|
color: #000000;
|
|
}
|
|
|
|
image {
|
|
width: 11.33rpx;
|
|
height: 20rpx;
|
|
}
|
|
}
|
|
.flex-between:not(:first-child) {
|
|
border-top: 1rpx solid #D8D8D8;
|
|
}
|
|
}
|
|
</style>
|