|
@@ -38,8 +38,10 @@
|
|
|
</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view style="margin-left: 20px;" v-if="plusInfo.userPointsLast">
|
|
|
- 去年总积分:{{plusInfo.userPointsLast}}
|
|
|
+ <view style="margin-left: 20px;" >
|
|
|
+ {{lastyear}}年年度积分:{{plusInfo.userPointsLast?plusInfo.userPointsLast:'0'}}
|
|
|
+ <span v-if="plusInfo.userPointsRankLast&&plusInfo.userPointsRankLast!='0'" style="margin-left: 4px;"> , 年度排名:第{{plusInfo.userPointsRankLast}}名</span>
|
|
|
+
|
|
|
</view>
|
|
|
<view class="grid" >
|
|
|
<view class="item" @click="gotoUrl('pages/mine/personalPage')" >
|
|
@@ -230,11 +232,12 @@
|
|
|
userInfo:{},
|
|
|
userPhone:"",
|
|
|
balance: 0,
|
|
|
- isCard: false
|
|
|
+ isCard: false,
|
|
|
+ lastyear:'',
|
|
|
}
|
|
|
},
|
|
|
onLoad() {
|
|
|
-
|
|
|
+ this.lastyear=new Date().getFullYear()-1
|
|
|
this.init()
|
|
|
},
|
|
|
onShow(){
|
|
@@ -282,7 +285,7 @@
|
|
|
this.carhelp.setPersonInfo(response.data.regUser);
|
|
|
this.carhelp.setPersonInfoPlus(response.data)
|
|
|
this.init();
|
|
|
- this.getCardPayAmountList();
|
|
|
+ //this.getCardPayAmountList();
|
|
|
}).catch(error => {
|
|
|
uni.hideLoading();
|
|
|
|