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.
99 lines
1.7 KiB
99 lines
1.7 KiB
<template>
|
|
<view class="member">
|
|
<view class="title">
|
|
邀请记录
|
|
</view>
|
|
<view class="tab">
|
|
<view class="tabList">
|
|
<view v-for="(item,index) in tabList" :key="index" class="tabItem">
|
|
<view class="name" :style="{'color':item.value==chosed?'#FF4C4B':'#7A7A7A'}">
|
|
{{item.name}}
|
|
</view>
|
|
<view class="line" v-if="item.value==chosed">
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default{
|
|
data(){
|
|
return{
|
|
chosed:'0',
|
|
tabList:[
|
|
{
|
|
name:'待完成',
|
|
value:'0'
|
|
},{
|
|
name:'已完成',
|
|
value:'1'
|
|
},{
|
|
name:'已完成',
|
|
value:'2'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.member{
|
|
width: 100%;
|
|
height: 1296rpx;
|
|
background: url('../../static/member/merBack.png') 100% no-repeat;
|
|
background-size: 100% 100%;
|
|
padding-top: 120rpx;
|
|
position:relative;
|
|
}
|
|
.title{
|
|
width: 128rpx;
|
|
height: 44rpx;
|
|
font-size: 32rpx;
|
|
font-family: PingFang SC, PingFang SC;
|
|
font-weight: 500;
|
|
color: #424242;
|
|
line-height: 44rpx;
|
|
left: 0;
|
|
right: 0;
|
|
margin: auto;
|
|
}
|
|
.tab{
|
|
width: 682rpx;
|
|
height: 692rpx;
|
|
background: #FFFFFF;
|
|
border-radius: 10rpx 10rpx 10rpx 10rpx;
|
|
opacity: 1;
|
|
margin: 48rpx 0 0 42rpx;
|
|
padding-top: 20rpx;
|
|
.tabList{
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
.tabItem{
|
|
.name{
|
|
width: 96rpx;
|
|
height: 60rpx;
|
|
font-size: 32rpx;
|
|
font-family: PingFang SC, PingFang SC;
|
|
font-weight: 600;
|
|
line-height: 44rpx;
|
|
}
|
|
|
|
.line{
|
|
width: 48rpx;
|
|
height: 6rpx;
|
|
background: #FF4C4B;
|
|
border-radius: 56rpx 56rpx 56rpx 56rpx;
|
|
opacity: 1;
|
|
margin-top: 10rpx;
|
|
margin-left: 24rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style> |