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>
|
|
|
|
<!-- 顶部区域 -->
|
2023-12-05 14:30:22 +08:00
|
|
|
<view class="m-box" v-for="(item,index) in mingList" :key="index">
|
|
|
|
<view class="">
|
|
|
|
<view class="title">积分增加</view>
|
|
|
|
<view class="times">2023-07-30 12:00:00</view>
|
2023-11-30 09:06:08 +08:00
|
|
|
</view>
|
2023-12-05 14:30:22 +08:00
|
|
|
<view class="sr-nmb">+ 7</view>
|
|
|
|
</view>
|
|
|
|
<view class="m-box" v-for="(item,index) in mingList" :key="index">
|
|
|
|
<view class="">
|
|
|
|
<view class="title" style="color: #F52D22;">积分支出</view>
|
|
|
|
<view class="times">2023-07-30 12:00:00</view>
|
2023-11-30 09:06:08 +08:00
|
|
|
</view>
|
2023-12-05 14:30:22 +08:00
|
|
|
<view class="sc-nmb">+ 7</view>
|
|
|
|
</view>
|
|
|
|
<!-- 判断根据实际情况而改 -->
|
|
|
|
<u-empty text="积分明细" v-if="mingList.length == 0" icon="http://cdn.uviewui.com/uview/empty/list.png">
|
|
|
|
</u-empty>
|
|
|
|
|
|
|
|
|
2023-11-27 09:24:16 +08:00
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
title: '',
|
2023-12-05 14:30:22 +08:00
|
|
|
mingList: [
|
|
|
|
"3", "4", "5", "6",
|
|
|
|
],
|
|
|
|
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;
|
|
|
|
}
|
2023-12-05 14:30:22 +08:00
|
|
|
|
|
|
|
.m-box {
|
|
|
|
width: 95%;
|
|
|
|
margin: 10px auto;
|
|
|
|
border-radius: 8px;
|
|
|
|
background: #ffffff;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 10px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
font-size: 18px;
|
|
|
|
color: #0D2E8D;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.times {
|
|
|
|
font-size: 14px;
|
|
|
|
color: #999999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sr-nmb {
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: 500;
|
|
|
|
color: #3CBC6F;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sc-nmb {
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: 500;
|
|
|
|
color: #F52D22;
|
|
|
|
}
|
2023-11-27 09:24:16 +08:00
|
|
|
</style>
|