oil-station/gasStation-uni/pagesHome/PointsMing/PointsMing.vue

84 lines
1.6 KiB
Vue
Raw Normal View History

2023-11-27 09:24:16 +08:00
<template>
<view class="content">
<view class="container">
<view class="my-header">
<view class="my-icons" @click="goback"> <uni-icons type="left" size="16"></uni-icons> </view>
<view class="my-text">积分明细</view>
<view class="my-icons"></view>
</view>
<!-- 顶部区域 -->
<u-empty text="积分明细" icon="http://cdn.uviewui.com/uview/empty/list.png">
</u-empty>
2023-11-30 09:06:08 +08:00
<u-waterfall v-model="flowList">
<template v-slot:left="{leftList}">
<view v-for="(item, index) in leftList" :key="index">
<!-- 这里编写您的内容item为您传递给v-model的数组元素 -->
</view>
</template>
<template v-slot:right="{rightList}">
<view v-for="(item, index) in rightList" :key="index">
<!-- 这里编写您的内容item为您传递给v-model的数组元素 -->
</view>
</template>
</u-waterfall>
2023-11-27 09:24:16 +08:00
</view>
</view>
</template>
<script>
export default {
data() {
return {
title: '',
2023-11-30 09:06:08 +08:00
subTitle: '2020-05-15',
thumb: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg',
2023-11-27 09:24:16 +08:00
}
},
components: {
},
methods: {
goback() {
uni.navigateBack()
}
}
}
</script>
<style scoped lang="scss">
.content {
background: #f4f5f6;
}
.container {
width: 100%;
height: 100vh;
box-sizing: border-box;
padding-top: 88px;
}
.my-header {
width: 100%;
height: 88px;
background: #ffffff;
display: flex;
align-items: center;
justify-content: space-between;
color: #000;
box-sizing: border-box;
padding: 0px 15px;
padding-top: 40px;
.my-icons {
width: 20px;
}
position: fixed;
top: 0px;
}
</style>