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

235 lines
4.5 KiB

8 months ago
<template>
<view>
<view class="top">
成绩
</view>
<image style="width: 100%;height: 282rpx" src="@/static/bg (2).png"></image>
<view class="home-search">
<view class="box">
<image class="search" @click="get_api_cage_list(1)" src="@/static/sousuo@2x.png"></image>
<input type="search" placeholder="搜索赛站名称" v-model="keyword" />
<image class="arrow" @click="get_api_cage_list(1)" src="@/static/jiantou@2x.png"></image>
</view>
</view>
<view class="content3" style="margin-top: 20upx;" v-for="(item,idex) in 4">
<view class="content31">
<image class="img31" src="../../static/bg (1).png" mode=""></image>
</view>
<view class="content32" style="margin-top: 20upx;margin-right: 20upx;" >
<text>炽能体育公开赛 邯郸站炽能体 育公开赛 邯郸站</text>
<view class="text31">
比赛日期2024年04月13日
</view>
<view class="text31">
截止日期2024-04-03 23:59:59
</view>
<view class="icon32" style="margin-top: 20upx;margin-right: 20upx;">
<view class="text32">
<image class="img32" src="../../static/人群.png" mode=""></image>1231
</view>
<!-- <image class="img32" src="../../static/bg (1).png" mode=""></image> -->
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
keyword:''
}
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.top {
position: absolute;
top: 117upx;
left: 25upx;
font-family: PingFang SC;
font-weight: 500;
font-size: 30rpx;
color: #FFFFFF;
}
.content3{
width: 702rpx;
height: 236rpx;
background: #FFFFFF;
border-radius: 20rpx;
margin: 0 auto;
display: flex;
.content31{
.img31{
margin: 30upx;
width: 220rpx;
height: 180rpx;
border-radius: 10rpx;
}
}
}
.icon32{
display: flex;
justify-content:space-between;
}
.text31{
font-family: PingFang SC;
font-weight: 500;
font-size: 24rpx;
color: #AAAAAA;
line-height: 40rpx;
}
.text32{
// width: 100rpx;
// height: 38rpx;
// background: #FF8D2B;
border-radius: 5rpx;
}
.img32{
width: 40rpx;
height: 40rpx;
// background: #CA151F;
border-radius: 50%;
}
.home {
&-add{
pointer-events: none;
width: 100%;
height: calc(100vh - env(safe-area-inset-bottom) - 50px);
position: fixed;
left: 0;
top: 0;
z-index: 99;
.movableView{
pointer-events: auto;
width: 112rpx;
height: 112rpx;
image{
width: 100%;
height: 100%;
}
}
}
&-navbar{
image{
width: 45rpx;
height: 45rpx;
margin-left: 38rpx;
}
}
&-filter{
width: 100%;
background-color: #efefef;
display: flex;
align-items: center;
.item{
line-height: 85rpx;
width: 20%;
text-align: center;
color: #241b17;
font-size: 30rpx;
&-on{
background-color: #009944;
color: #ffffff;
}
}
}
&-search{
width: 100%;
// background-color: #efefef;
// padding: 15rpx 40rpx;
// border: 1px solid #cacaca;
box-sizing: border-box;
.box{
position: absolute;
top: 162rpx;
left:35rpx ;
display: flex;
align-items: center;
height: 85rpx;
width: 90%;
box-sizing: border-box;
padding: 0 25rpx;
text-align: center;
background-color:#fff;
border-radius: 35rpx;
.search{
width: 40rpx;
height: 40rpx;
}
input{
flex: 1;
color: #241b17;
font-size: 30rpx;
text-align: left;
margin-left: 25rpx;
}
.arrow{
width: 19rpx;
height: 33rpx;
}
}
}
&-list{
overflow: hidden;
padding: 0 0 40rpx;
display: flex;
flex-wrap: wrap;
.item{
width: 134rpx;
margin-top: 40rpx;
overflow: hidden;
margin-left: 40rpx;
.box{
width: 134rpx;
height: 134rpx;
background: url(@/static/icon-home-01.png) center top no-repeat;
background-size: 100% auto;
position: relative;
box-shadow: 0 8rpx 15rpx #999;
border-radius: 0 0 18rpx 18rpx;
overflow: hidden;
.title{
text-align: center;
font-size: 22rpx;
line-height: 50rpx;
color: #040909;
}
.desc{
margin-top: 12rpx;
text-align: center;
font-size: 22rpx;
line-height: 50rpx;
color: #040909;
}
image{
width: 124rpx;
height: 10rpx;
background: url(@/static/icon-home-01.png) center top no-repeat;
background-size: 100% auto;
position: absolute;
left: 50%;
margin-left: -62rpx;
bottom: 0;
z-index: 2;
}
}
.sort{
text-align: center;
padding: 10rpx 0 0;
font-size: 27rpx;
color: #040909;
}
}
}
}
</style>