海南旅游项目 前端仓库
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.
 
 
 
 

74 lines
1.7 KiB

<template>
<view>
<view class="card" v-for="(item, index) in list" :key="index" @click="$url('/pages/message/detail')">
<view class="lf-row-between lf-m-b-20">
<view class="lf-color-black lf-flex">
<text class="hot"></text>
<text class="lf-font-28 lf-m-l-10">收到一条新消息</text>
</view>
<view class="lf-color-gray lf-font-22">2021-7-6 23:34:53 </view>
</view>
<view class="lf-font-24 lf-color-555">南澳站·潮玩旅游胜地 身处亚热带风情/玩转南澳南澳站·潮玩旅游胜地 身处亚热带风情/玩转南澳</view>
</view>
<!-- 加载 -->
<view class="loading-more">
<text v-if="list.length" :class="{'loading-more-text': loadingClass}">{{ loadingText }}</text>
<lf-nocontent v-else></lf-nocontent>
</view>
<!-- 回到顶部 -->
<u-back-top :scroll-top="pageScrollTop" :custom-style="{background: 'rgba(51, 51 51, 0.3)'}"></u-back-top>
</view>
</template>
<script>
export default {
data(){
return {
list: [1, 2],
loadingClass: true,
loadingText: '正在加载中'
}
},
onLoad(){
},
methods: {
},
onReachBottom(){
},
onPullDownRefresh(){
uni.stopPullDownRefresh();
}
}
</script>
<style>
page{
background-color: #F6F6F6;
}
</style>
<style lang="scss" scoped="scoped">
.card{
margin: 0 auto;
margin-top: 30rpx;
width: 686rpx;
height: max-content;
background-color: #FFFFFF;
padding: 20rpx;
border-radius: 20rpx;
box-sizing: border-box;
.hot{
display: inline-block;
margin-right: 10rpx;
width: 15rpx;
height: 15rpx;
border-radius: 50rpx;
background-color: #FF0000;
}
}
.lf-font-22{
font-size: 22rpx;
}
</style>