2025-09-01 11:42:50 +08:00
|
|
|
<template>
|
|
|
|
<view class="content">
|
|
|
|
<view
|
|
|
|
@click="goRouter(item.path)"
|
|
|
|
class="kuaibox"
|
|
|
|
v-for="(item, index) in selfServiceList"
|
|
|
|
:key="index"
|
|
|
|
>
|
|
|
|
<view class="">
|
|
|
|
{{ item.name }}
|
|
|
|
</view>
|
|
|
|
<image class="kuaiimg" :src="item.url" mode=""></image>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import * as sel from '@/config/selfService.js'
|
|
|
|
import { mapGetters } from 'vuex'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
computed: {
|
|
|
|
...mapGetters(['user']),
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
selfServiceList: [
|
2025-09-01 17:25:41 +08:00
|
|
|
{
|
|
|
|
name: '实时奖金',
|
|
|
|
url: '../../static/images/bonus-record.svg',
|
|
|
|
path: '/pages/bonus/real-time',
|
|
|
|
},
|
2025-09-01 11:42:50 +08:00
|
|
|
{
|
|
|
|
name: '奖金明细',
|
|
|
|
url: '../../static/images/mark2.png',
|
|
|
|
path: '/pages/bonus/index',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
userInfo: '',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
onShow() {
|
|
|
|
this.userInfo = uni.getStorageSync('User')
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
goRouter(path) {
|
|
|
|
uni.navigateTo({
|
|
|
|
url: path,
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.content {
|
|
|
|
background-color: #f2f2f2;
|
|
|
|
padding: 4rpx 21rpx 500rpx 21rpx;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
.kuaibox {
|
|
|
|
width: 40%;
|
|
|
|
// height: 150rpx;
|
|
|
|
border-radius: 20rpx;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 60rpx 40rpx 60rpx 22rpx;
|
|
|
|
margin: 13rpx 0rpx;
|
|
|
|
background-color: #ffffff;
|
|
|
|
font-size: 24rpx;
|
|
|
|
font-family: Source Han Sans CN;
|
|
|
|
font-weight: 400;
|
|
|
|
color: #666666;
|
|
|
|
|
|
|
|
.kuaiimg {
|
|
|
|
width: 52rpx;
|
|
|
|
height: 53rpx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|