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.
 
 
 
 
 
Sports/pages/user/information/information.vue

324 lines
5.7 KiB

<template>
<view class="oppo-box">
<image style="width: 100%; height: 560rpx;" src="@/static/bg (1).png"></image>
<view class="custom-navigation-bar">
<view class="left-button" @click="handleBack">
<uni-icons type="left" color="#fff" size="30"></uni-icons>
</view>
<view class="title">
{{ title }}
</view>
</view>
<view class="top">
<view class="top1">运动员信息</view>
<view class="top11">审核通过</view>
</view>
<view class="topimg">
<image class="topimg1" src="@/static/bg (1).png" mode=""></image>
</view>
<view class="top2">
<view class="top21">
<view class="">
用户ID
</view>
<view class="">
0089768
</view>
</view>
<view class="top21">
<view class="">
真实姓名
</view>
<view class="">
张三
</view>
</view>
<view class="top21">
<view class="">
性别
</view>
<view class="">
</view>
</view>
<view class="top21">
<view class="">
出生日期
</view>
<view class="">
2000-10-21
</view>
</view>
<view class="top21">
<view class="">
证件类型
</view>
<view class="">
身份证
</view>
</view>
<view class="top21">
<view class="">
证件号
</view>
<view class="">
320324200010210980
</view>
</view>
<view class="top21">
<view class="">
来自城市
</view>
<view class="">
江苏省南京市建邺区
</view>
</view>
<view class="top21">
<view class="">
邮箱号
</view>
<view class="">
100000@qq.com
</view>
</view>
<view class="top21">
<view class="">
联系电话
</view>
<view class="">
15809890889
</view>
</view>
</view>
<view class="top3">
用户隐私用户服务协议
</view>
<view class="top4">
<view class="top4t">绑定列表</view>
<view class="top41">
<image v-for="(item,index) in 3" class="top41img" src="@/static/消息.png" mode=""></image>
</view>
<view class="top42">
<view class="top42t" v-for="(item,index) in 3">李大花</view>
</view>
<view class="top43">
<view class="top43t" v-for="(item,index) in 3">解除绑定</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
title: '个人信息',
defaultValue: 'currenttime',
list: [{}, {}],
buttonptions: [{
label: '全部',
value: 'currenttime',
},
{
label: '签到',
value: 'today',
},
{
label: '起跑',
value: 'today1',
},
{
label: '赛中',
value: 'today2',
},
{
label: '颁奖',
value: 'today3',
},
]
}
},
onLoad() {
},
methods: {
updateuser() {
uni.navigateTo({
url: "/pages/user/update/update"
})
},
handleBack() {
uni.navigateBack()
},
notice() {
console.log(1111)
uni.navigateTo({
url: "/pages/user/notice/notice"
})
},
clubs() {
uni.navigateTo({
url: "/pages/user/clubs/clubs"
})
},
toPage(i) {
if (i == 1) {
uni.navigateTo({
url: "/pages/user/pseronal"
})
} else if (i == 4) {
uni.showModal({
title: "温馨提示",
content: "确定要退出吗?",
confirmColor: "#009944",
success(res) {
if (res.confirm) {
uni.showToast({
title: "退出成功"
})
setTimeout(() => {
uni.reLaunch({
url: "/pages/login/index"
})
}, 2000)
}
}
})
}
}
}
}
</script>
<style lang="scss" scoped>
.top43{
display: flex;
.top43t{
margin-top: 18rpx;
text-align: center;
height: 50rpx;
width: 130rpx;
line-height: 50rpx;
margin-right: 35rpx;
font-size: 24rpx;
color: #CA151F;
background: #FFFFFF;
border-radius: 25rpx;
border: 1px solid #CA151F;
}
}
.top42{
display: flex;
.top42t{
margin-top: 18rpx;
text-align: center;
width: 100rpx;
margin-right: 80rpx;
}
}
.top41img{
width: 100rpx;
height: 100rpx;
margin-right: 80rpx;
margin-top: 24rpx;
background: #EAEAEA;
border-radius: 50%;
}
.top4{
padding: 30rpx;
width: 750rpx;
height: 323rpx;
background: #FFFFFF;
.top4t{
font-family: PingFang SC;
font-weight: 500;
font-size: 30rpx;
color: #333333;
}
}
.top3{
margin-top: 30rpx;
margin-bottom: 30rpx;
text-align: center;
font-family: PingFang SC;
font-weight: 500;
font-size: 28rpx;
color: #CA151F;
}
.top2 {
margin-top: 46rpx;
background: #FFFFFF;
.top21 {
height: 60rpx;
padding: 24rpx;
display: flex;
line-height: 60rpx;
border-bottom: 1px solid #EAEAEA;
justify-content: space-between;
}
}
.custom-navigation-bar {
display: flex;
align-items: center;
justify-content: space-between;
height: 180rpx;
/* #ifdef MP-WEIXIN */
margin-top: -537rpx;
/* #endif */
}
.left-button,
.right-button {
padding: 0 12px;
}
.title {
flex: 1;
// text-align: center;
color: #fff;
font-size: 18px;
font-weight: bold;
}
.top {
display: flex;
justify-content: space-between;
.top1 {
font-family: PingFang SC;
font-weight: 500;
font-size: 30rpx;
color: #FFFFFF;
margin-left: 25rpx;
}
.top11 {
text-align: center;
width: 150rpx;
height: 46rpx;
background: #FF8D2B;
border-radius: 0rpx 0rpx 0rpx 40rpx;
font-family: PingFang SC;
font-weight: 500;
font-size: 24rpx;
color: #FFFFFF;
line-height: 46rpx;
}
}
.topimg {
text-align: center;
.topimg1 {
width: 228rpx;
height: 268rpx;
background: #F5E2E5;
border-radius: 5rpx;
border: 4px solid #FFFFFF;
margin: 0 auto;
}
}
</style>