金诚优选前端代码
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.
 
 
 
 
 

141 lines
3.7 KiB

<template>
<view>
<lf-nav :spreadOut="true" :showIcon="true" bgColor="#F3F8F8" title="个人主页"></lf-nav>
<view class="user-top">
<view class="lf-row-between lf-w-100">
<view class="lf-flex">
<view class="tag-father">
<image src="https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png" mode="aspectFill" class="head-img"></image>
<view class="head-tag">V</view>
</view>
<view class="lf-flex-column lf-m-l-20">
<text class="lf-font-42 lf-color-black lf-font-bold">最新</text>
<text class="lf-font-28 lf-color-black">0 关注 | 0 粉丝</text>
</view>
</view>
<view>
<button class="head-btn">关注</button>
</view>
</view>
</view>
<view class="lf-m-32" @click="$url('/pages/discover/discoverdetails')">
<view class="lf-font-48 lf-color-black lf-font-bold">
08月27日
</view>
<view class="lf-color-777 lf-font-24">
18:39
</view>
<view class="lf-flex-wrap lf-m-t-20">
<image v-for="item in 9" class="qzone-img" src="https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png" mode="aspectFill"></image>
</view>
<view class="lf-m-t-30 lf-row-between lf-p-l-50 lf-p-r-50">
<view class="lf-row-center">
<text class="lf-iconfont icon-shoucang"></text>
<text class="lf-font-24 lf-color-777 lf-m-l-10">379</text>
</view>
<view class="lf-row-center">
<text class="lf-iconfont icon-fabu"></text>
<text class="lf-font-24 lf-color-777 lf-m-l-10">3579</text>
</view>
<view class="lf-row-center">
<text class="lf-iconfont icon-fenxiang"></text>
<text class="lf-font-24 lf-color-777 lf-m-l-10">63</text>
</view>
</view>
</view>
<view class="lf-m-32">
<view class="lf-font-48 lf-color-black lf-font-bold">
08月27日
</view>
<view class="lf-color-777 lf-font-24">
18:39
</view>
<view class="lf-flex-wrap lf-m-t-20">
<image v-for="item in 9" class="qzone-img" src="https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png" mode="aspectFill"></image>
</view>
<view class="lf-m-t-30 lf-row-between lf-p-l-50 lf-p-r-50">
<view class="lf-row-center">
<text class="lf-iconfont icon-shoucang"></text>
<text class="lf-font-24 lf-color-777 lf-m-l-10">379</text>
</view>
<view class="lf-row-center">
<text class="lf-iconfont icon-fabu"></text>
<text class="lf-font-24 lf-color-777 lf-m-l-10">3579</text>
</view>
<view class="lf-row-center">
<text class="lf-iconfont icon-fenxiang"></text>
<text class="lf-font-24 lf-color-777 lf-m-l-10">63</text>
</view>
</view>
</view>
<view style="height: 40rpx;"></view>
</view>
</template>
<script>
</script>
<style>
page {
background-color: white;
}
</style>
<style lang="scss" scoped>
.tag-father {
position: relative;
}
.head-tag {
color: white;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-size: 24rpx;
width: 36rpx;
height: 36rpx;
border-radius: 50%;
background-color: #15716E;
border: 1rpx solid #FFFFFF;
position: absolute;
left: 76rpx;
top: 86rpx;
z-index: 99;
}
.qzone-img {
width: 220rpx;
height: 220rpx;
border-radius: 10rpx;
margin-right: 12rpx;
&:nth-child(3n) {
margin-right: 0;
}
&:nth-child(n + 4) {
margin-top: 12rpx;
}
}
.user-top {
background-color: #F3F8F8;
height: 236rpx;
padding: 60rpx;
display: flex;
align-items: center;
}
.head-img {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
}
.head-btn {
width: 160rpx;
height: 70rpx;
background: #15716E;
display: flex;
align-items: center;
font-size: 28rpx;
color: white;
justify-content: center;
border-radius: 35rpx;
}
</style>