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.
83 lines
1.7 KiB
83 lines
1.7 KiB
<template>
|
|
<view>
|
|
<uni-nav-bar left-icon="left" right-icon="info"title="Points Details" color="#000000" @clickRight="goto()" @clickLeft="back" :border="false" :statusBar="true" />
|
|
<view class="points">
|
|
<view class="points_item" v-for="(item,index) in 10" :key="index">
|
|
<view class="points_item_title">
|
|
<text>Order return</text>
|
|
<text class="item_title_price">+US$314.00</text>
|
|
</view>
|
|
<text>21/04/2022 15:42:31</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import {defaultRequest} from '../../api/index.js'
|
|
export default {
|
|
data() {
|
|
return {
|
|
query:{
|
|
_action:'getpagedata',pagecode:'006-PERSONALCENTERPAGE'
|
|
}
|
|
}
|
|
},
|
|
methods:{
|
|
back(){
|
|
uni.navigateBack()
|
|
},
|
|
getUserinfo(){
|
|
let data ={
|
|
_action:'getuseraccountlog',page_index:'1',page_size:'20'
|
|
}
|
|
defaultRequest(data).then( res =>{
|
|
console.log( res,'pppp')
|
|
})
|
|
},
|
|
goto(){
|
|
console.log('///////')
|
|
uni.navigateTo({
|
|
url:'../specialTitle/index?id='+'POINTSRULE'
|
|
})
|
|
}
|
|
},
|
|
onLoad() {
|
|
this.getUserinfo()
|
|
defaultRequest(this.query).then( res => {
|
|
console.log(res,'p')
|
|
})
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.uni-navbar{
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
border-bottom: 14.67rpx #F6F5FA solid;
|
|
}
|
|
.points{
|
|
padding: 0 25.33rpx;
|
|
|
|
.points_item{
|
|
padding: 37.33rpx 0;
|
|
color: #999999;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
border-bottom: 1px solid #E2E2E2;
|
|
.points_item_title{
|
|
font-size: 28rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 18rpx;
|
|
color: black;
|
|
|
|
.item_title_price{
|
|
color: #B22234;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
</style>
|