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

199 lines
3.8 KiB

<template>
<view class="oppo-box">
<image style="width: 100%; height: 176rpx;" src="@/static/bg (2).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="topth">
如需更改俱乐部材料请联系客服
</view>
<view class="boxcon" v-for="(item,index) in 3" >
<view class="boxcon1">
<image class="boxcon1img" src="@/static/bg (1).png" mode=""></image>
<view >
<view class="dflex">
<view class="boxcon1text">炽能体育公开赛</view>
<view class="shenhe">待审核</view>
</view>
<view class="nerrong">俱乐部简介:马拉松(Marathon)长跑是国际上非常普及的长跑比赛项目,全程距离26英里385码,折合...</view>
<view class="btnflex">
<view class="">积分:100</view>
<button class="btnc" @click="detail">俱乐部详情</button>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
title: '我的俱乐部'
}
},
methods: {
detail(){
uni.navigateTo({
url: "/pages/user/myclub/detail/detail"
})
},
handleBack() {
uni.navigateBack({ delta: 2 })
// console.log(1344444);
// uni.switchTab({
// url: "/pages/user/index"
// })
},
toPage() {
console.log(1111232)
uni.navigateTo({
url: "/pages/user/index"
})
},
}
}
</script>
<style lang="scss" scoped>
.topth{
padding: 23rpx;
font-family: PingFang SC;
font-weight: 500;
font-size: 26rpx;
color: #FF8D2B;
background: #FCE2CD;
}
.btnflex{
display: flex;
margin-top: 50rpx;
}
.btnc{
// width: 250rpx;
margin-top: -20rpx;
width: 180rpx;
height: 66rpx;
background: rgba(202,21,31,0);
border-radius: 33rpx;
border: 1px solid #CA151F;
line-height: 66rpx;
font-family: PingFang SC;
font-weight: 500;
font-size: 26rpx;
color: #CA151F;
margin-right: 30rpx;
}
.nerrong{
width: 393rpx;
height: 96rpx;
font-family: PingFang SC;
font-weight: 500;
font-size: 24rpx;
color: #999999;
line-height: 36rpx;
}
.dflex{
display: flex;
}
.shenhe{
width: 140rpx;
height: 56rpx;
background: #FF8D2B;
margin: 20rpx;
text-align: center;
line-height: 56rpx;
border-radius: 0rpx 20rpx 0rpx 30rpx;
}
.boxcon1text{
width: 230rpx;
font-family: PingFang SC;
font-weight: bold;
font-size: 30rpx;
color: #333333;
margin: 20rpx;
margin-left: 0rpx;
line-height: 40rpx;
}
.boxcon1{
display: flex;
.boxcon1img{
width: 220rpx;
height: 260rpx;
margin: 20rpx;
background: #E9EDED;
border-radius: 10rpx;
}
}
.oppo-box {
width: 100vw !important;
height: 100vh !important;
overflow-x: hidden !important;
overflow-y: auto !important;
}
.text-color{
color: #CA151F;
}
.btntext{
font-family: PingFang SC;
font-weight: 500;
font-size: 26rpx;
color: #CA151F;
line-height: 40rpx;
}
.shijiantext{
font-family: PingFang SC;
font-weight: 500;
font-size: 24rpx;
color: #AAAAAA;
line-height: 60rpx;
}
.toptext{
font-family: PingFang SC;
font-weight: bold;
font-size: 30rpx;
color: #333333;
line-height: 40rpx;
}
.paddingrow{
padding: 20rpx;
}
.boxcon{
width: 702rpx;
height: 300rpx;
background: #FFFFFF;
border-radius: 20rpx;
margin: 24rpx auto;
}
.custom-navigation-bar {
display: flex;
align-items: center;
justify-content: space-between;
// height:220rpx;
// /* #ifdef MP-WEIXIN */
// margin-top: -150rpx;
// /* #endif */
position: absolute;
top: 112rpx;
}
.left-button,
.right-button {
padding: 0 12px;
}
.title {
flex: 1;
// text-align: center;
color: #fff;
font-size: 18px;
font-weight: bold;
}
</style>