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/record/record.vue

208 lines
4.6 KiB

<template>
<view class="oppo-box">
<view class="topposst">
<view class="top">
记录
</view>
<image class="topimg" style="width: 100%;height: 206rpx;" src="https://sports.njrenzhou.cn/static/bg (2).png"></image>
</view>
<view class="content" v-for="(item,index) in 2" @click="detail">
<image style="width: 447upx;height: 110rpx;margin-left:123upx;margin-top: -50upx;" src="https://sports.njrenzhou.cn/static/彩带.png"></image>
<view class="imgtext">
200米
</view>
<view class="imgtext1">
王美美:排第58名
</view>
<view class="userimg">
<image class="userimg1" src="https://sports.njrenzhou.cn/static/bg (2).png" style="width: 130rpx;height: 130rpx;"></image>
<image class="userimg1" style="margin-left: 54upx;margin-top: 25upx;" src="https://sports.njrenzhou.cn/static/bg (2).png"></image>
<image class="userimg1" style="margin-left: 54upx;width: 130rpx;height: 130rpx;" src="https://sports.njrenzhou.cn/static/bg (2).png"></image>
</view>
<view class="textname">
<view class="taexnaem1" style="margin-left: 80rpx;">王二</view>
<view class="taexnaem1" style="margin-left: 105rpx;margin-top: -50upx;">李大花</view>
<view class="taexnaem1" style="margin-left: 105rpx;">张三</view>
</view>
<view class="textchengji">
<view class="taexnaem1" style="margin-left: -10rpx;">6.79</view>
<view class="taexnaem1" style="margin-left: 60upx;margin-top: -20upx;">6.78</view>
<view class="taexnaem1" style="margin-left: 60upx;">6.81</view>
</view>
<view class="textshijian">
<view class="taexnaem1" style="margin-left: 47rpx;">2023-04-30</view>
<view class="taexnaem1" style="margin-left: 35upx;margin-top: -20upx;">2023-04-30</view>
<view class="taexnaem1" style="margin-left: 40upx;">2023-04-30</view>
</view>
<image style="width: 680upx;height:242rpx;margin-left:10upx;margin-top: -30upx;" src="https://sports.njrenzhou.cn/static/奖台.png"></image>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
detail(){
uni.navigateTo({
url: "/pages/record/detail/detail"
})
}
}
}
</script>
<style lang="scss" scoped>
.topposst{
// position: fixed;
height: 220rpx;
.topimg{
position: fixed;
z-index: 11;
}
}
.top {
position: absolute;
top: 117upx;
left: 25upx;
font-family: PingFang SC;
font-weight: 500;
font-size: 30rpx;
color: #FFFFFF;
z-index: 99;
}
.textshijian{
display: flex;
// justify-content: center;
.taexnaem1{
text-align: center;
width: 180rpx;
height: 54rpx;
color: #999999;
font-size: 22rpx;
// opacity: 0.1;
}
}
.textchengji{
display: flex;
justify-content: center;
.taexnaem1{
text-align: center;
width: 150rpx;
height: 54rpx;
color: #333333;
// opacity: 0.1;
}
}
.textname{
display: flex;
// justify-content: center;
.taexnaem1{
margin-top: -30upx;
text-align: center;
width: 110rpx;
height: 44rpx;
background: #060A11 ;
border-radius: 22rpx;
opacity: 0.5;
font-weight: 500;
color: #fff;
font-size: 26rpx;
opacity: 0.5;
}
}
.userimg{
display: flex;
justify-content:center;
.userimg1{
width: 160rpx;
height: 160rpx;
background: #FFF7EA;
border-radius: 50%;
border: 4px solid #FFBD4B;
margin-top: 70upx;
}
.userimgtext{
text-align: center;
width: 150rpx;
height: 54rpx;
color: #FFF;
background: #060A11;
border-radius: 22rpx;
opacity: 0.5;
position: absolute;
top:620upx;
left:9%;
}
.userimgtexter{
text-align: center;
width: 150rpx;
height: 54rpx;
color: #FFF;
background: #060A11;
border-radius: 22rpx;
opacity: 0.5;
position: absolute;
top:580upx;
left: 40%;
}
.userimgtextsan{
text-align: center;
width: 150rpx;
height: 54rpx;
color: #FFF;
background: #060A11;
border-radius: 22rpx;
opacity: 0.5;
position: absolute;
top:620upx;
left:70%;
}
.userimgtext1{
width: 103rpx;
height: 23rpx;
font-family: PingFang SC;
font-weight: 500;
font-size: 30rpx;
color: black;
}
.userimgtext2{
margin-top: 20upx;
width: 131rpx;
height: 17rpx;
font-family: PingFang SC;
font-weight: 500;
font-size: 22rpx;
color: #999999;
}
}
.content{
margin: 0 auto;
width: 702rpx;
height: 747rpx;
background: #FFFFFF;
border-radius: 20rpx;
margin-top:77upx;
.imgtext{
position: relative;
top:-90upx;
left:42%;
font-size: 32rpx;
color: #FFFFFF;
}
.imgtext1{
width: 256rpx;
height: 31rpx;
font-family: PingFang SC;
font-weight: 500;
font-size: 30rpx;
color: #333333;
margin: 0 auto;
}
}
</style>