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

322 lines
5.7 KiB

<template>
<view class="oppo-box">
<image style="width: 100%; height: 247rpx;" 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="tuik" @click="record">
退款记录<uni-icons type="right" color="#969293" size="18"></uni-icons>
</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>
<view class="boxcon1shijian">
比赛日期:2024年04月13日
</view>
<view class="boxcon1shijian">
比赛地点:<span class="bo">南京体育中心-体育场</span>
</view>
<view class="buts">
<button class="buts1" @click="tuikuan">申请退款</button>
<button class="buts2" @click="card">参赛证</button>
</view>
</view>
</view>
</view>
<uni-popup ref="popup" background-color="#fff" :is-mask-click ='false'>
<!-- ... -->
<view class="tbox">
<view class="toptitle">
确定退款?
</view>
<view class="topnr">
您确定要申请退出【炽热体育巡回 赛】,确认退款后无法进行比赛, 请谨慎考虑。
</view>
<view class="popbtns">
<button class="popbtns1" @click="qxpop">取消</button>
<button class="popbtns2">确认</button>
</view>
</view>
</uni-popup>
</view>
</template>
<script>
export default {
data() {
return {
title: '报名记录'
}
},
methods: {
record(){
uni.navigateTo({
url: "/pages/user/record/refund/refund"
})
},
card(){
uni.navigateTo({
url: "/pages/user/record/card/card"
})
},
qxpop(){
this.$refs.popup.close('center')
},
tuikuan() {
this.$refs.popup.open('center')
},
detail() {
uni.navigateTo({
url: "/pages/user/myclub/detail/detail"
})
},
handleBack() {
uni.switchTab({
url: "/pages/user/index"
})
},
toPage() {
console.log(1111232)
uni.navigateTo({
url: "/pages/user/index"
})
},
}
}
</script>
<style lang="scss" scoped>
.popbtns{
margin-top: 59rpx;
display: flex;
}
.popbtns1{
margin-left: 40rpx;
width: 250rpx;
height: 90rpx;
background: #EBEBEB;
border-radius: 45rpx;
}
.popbtns2{
margin-right: 40rpx;
width: 250rpx;
height: 90rpx;
background: #CA151F;
border-radius: 45rpx;
color: #FFFFFF;
}
.topnr{
margin: 0 auto;
margin-top: 50rpx;
width: 447rpx;
height: 134rpx;
font-family: PingFang SC;
font-weight: 500;
font-size: 30rpx;
color: #333333;
}
.toptitle{
padding-top: 40rpx;
padding-bottom: 40rpx;
font-family: PingFang SC;
font-weight: 500;
font-size: 32rpx;
color: #333333;
border-bottom: 1px solid #EAEAEA;;
}
.tbox{
text-align: center;
width: 620rpx;
height: 474rpx;
background: #FFFFFF;
border-radius: 20rpx;
}
.tuik {
margin-top: 24rpx;
margin-left: 556rpx;
font-family: PingFang SC;
font-weight: 500;
font-size: 30rpx;
color: #969293;
}
.btnflex {
display: flex;
margin-top: 30rpx;
}
.btnc {
// width: 250rpx;
height: 66rpx;
background: rgba(202, 21, 31, 0);
border-radius: 33rpx;
border: 1px solid #CA151F;
line-height: 66rpx;
}
.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;
border-radius: 0rpx 20rpx 0rpx 30rpx;
}
.boxcon1text {
width: 230rpx;
font-family: PingFang SC;
font-weight: bold;
font-size: 30rpx;
color: #333333;
margin: 19rpx;
line-height: 40rpx;
}
.boxcon1 {
display: flex;
.boxcon1img {
width: 220rpx;
height: 180rpx;
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: 220rpx;
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: -230rpx;
/* #endif */
}
.left-button,
.right-button {
padding: 0 12px;
}
.title {
flex: 1;
// text-align: center;
color: #fff;
font-size: 18px;
font-weight: bold;
}
.boxcon1shijian {
font-family: PingFang SC;
font-weight: 500;
font-size: 24rpx;
color: #AAAAAA;
line-height: 30rpx;
margin-left: 20rpx;
}
.bo {
color: #333333;
}
.buts {
display: flex;
margin-top: 19rpx;
.buts1 {
padding: 0;
width: 141rpx;
height: 57rpx;
background: #FFFFFF;
border-radius: 10rpx;
border: 1px solid #CCCCCC;
font-size: 26rpx;
color: #666666;
text-align: center;
line-height: 57rpx;
}
.buts2 {
padding: 0;
width: 110rpx;
height: 56rpx;
background: #CA151F;
border-radius: 10rpx;
font-size: 26rpx;
color: #FFFFFF;
line-height: 56rpx;
}
}
</style>