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/index/detail.vue

124 lines
2.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="boxcon" v-for="(item,index) in 10" style="margin: 20rpx;padding: 20rpx;" >
<!-- <uni-list-chat title="炽能体育公开赛 邯郸站 炽能体育公开赛 邯郸..." clickable @click="detail()" avatar="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png"
note="2020-02-02 20:20" :time="index==1?'取消提醒':index>2?'查看回放':'开播提醒'"></uni-list-chat> -->
<uni-row class="paddingrow">
<uni-col :span="6">
<image style="width: 180rpx; height:130rpx;" src="@/static/bg (2).png"></image>
</uni-col>
<uni-col :span="12" :offset="1">
<uni-row class="toptext">炽能体育公开赛 邯郸站 炽能体育公开赛 邯郸...</uni-row>
<uni-row class="shijiantext">2024-04-13 08:22:20</uni-row>
</uni-col>
<uni-col class="btntext" :span="4" :offset="1">
<text class="text-color">开播提醒</text>
</uni-col>
</uni-row>
</view>
</view>
</template>
<script>
export default {
data() {
return {
title: '比赛回放'
}
},
methods: {
detail(){
uni.navigateTo({
url: "/pages/user/notice/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>
.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: 158rpx;
background: #FFFFFF;
border-radius: 20rpx;
}
.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;
}
</style>