|
|
|
|
|
|
|
|
<view class="notice-content">您有一笔成功交易,点击查看详情</view> |
|
|
<view class="notice-content">您有一笔成功交易,点击查看详情</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="rights box"> |
|
|
|
|
|
|
|
|
<view class="rights box" v-if="false"> |
|
|
<view class="right-head"> |
|
|
<view class="right-head"> |
|
|
<view class="tit">我的权益</view> |
|
|
<view class="tit">我的权益</view> |
|
|
<view class="more"> |
|
|
<view class="more"> |
|
|
|
|
|
|
|
|
<text>通行消费</text> |
|
|
<text>通行消费</text> |
|
|
<text>总消费</text> |
|
|
<text>总消费</text> |
|
|
</view> |
|
|
</view> |
|
|
<view class="amount m-top"> |
|
|
|
|
|
|
|
|
<!-- <view class="amount m-top"> |
|
|
<text>¥ |
|
|
<text>¥ |
|
|
{{(state.monthFlowingVo.flowingNum ? state.monthFlowingVo.flowingNum : 0) /100}}</text> |
|
|
{{(state.monthFlowingVo.flowingNum ? state.monthFlowingVo.flowingNum : 0) /100}}</text> |
|
|
<text>¥ |
|
|
<text>¥ |
|
|
{{(state.monthFlowingVo.flowingNum ? state.monthFlowingVo.flowingNum : 0)/100}}</text> |
|
|
{{(state.monthFlowingVo.flowingNum ? state.monthFlowingVo.flowingNum : 0)/100}}</text> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> --> |
|
|
<view class="line m-top"> |
|
|
<view class="line m-top"> |
|
|
<view class="line1" |
|
|
|
|
|
|
|
|
<!-- <view class="line1" |
|
|
:style="{width: (state.monthFlowingVo.flowingNum ? state.monthFlowingVo.flowingNum : 0)*100/state.monthFlowingVo.money+'%'}"> |
|
|
:style="{width: (state.monthFlowingVo.flowingNum ? state.monthFlowingVo.flowingNum : 0)*100/state.monthFlowingVo.money+'%'}"> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> --> |
|
|
<view class="line2"></view> |
|
|
<view class="line2"></view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="mileage"> |
|
|
<view class="mileage"> |
|
|
<view class="txt"> |
|
|
<view class="txt"> |
|
|
<text class="tit">通行里程</text> |
|
|
<text class="tit">通行里程</text> |
|
|
<text class="val">{{state.monthFlowingVo.mileage}}km</text> |
|
|
|
|
|
|
|
|
<!-- <text class="val">{{state.monthFlowingVo.mileage}}km</text> --> |
|
|
</view> |
|
|
</view> |
|
|
<view class="txt"> |
|
|
<view class="txt"> |
|
|
<text class="tit">通行时长</text> |
|
|
<text class="tit">通行时长</text> |
|
|
<text class="val">{{state.monthFlowingVo.duration}}</text> |
|
|
|
|
|
|
|
|
<!-- <text class="val">{{state.monthFlowingVo.duration}}</text> --> |
|
|
</view> |
|
|
</view> |
|
|
<view class="txt"> |
|
|
<view class="txt"> |
|
|
<text class="tit ">通行次数</text> |
|
|
<text class="tit ">通行次数</text> |
|
|
<text class="val">{{state.monthFlowingVo.num}}次</text> |
|
|
|
|
|
|
|
|
<!-- <text class="val">{{state.monthFlowingVo.num}}次</text> --> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="detail" |
|
|
<view class="detail" |
|
|
|
|
|
|
|
|
//调用方式 |
|
|
//调用方式 |
|
|
request(userInfoIndex, options) |
|
|
request(userInfoIndex, options) |
|
|
.then((res) => { |
|
|
.then((res) => { |
|
|
|
|
|
console.log('用户信息', res) |
|
|
let data = stringToJson(res.bizContent) |
|
|
let data = stringToJson(res.bizContent) |
|
|
state.accountInfoVo = data.accountInfoVo; |
|
|
state.accountInfoVo = data.accountInfoVo; |
|
|
state.monthFlowingVo = data.monthFlowingVo; |
|
|
state.monthFlowingVo = data.monthFlowingVo; |