浏览代码

2023年7月25日14:34:29

yxb
wq 1年前
父节点
当前提交
02d25539e8
共有 1 个文件被更改,包括 8 次插入5 次删除
  1. 8
    5
      pages/user/user.vue

+ 8
- 5
pages/user/user.vue 查看文件

@@ -5,7 +5,7 @@
<image :src="`${$imgUrl}user/bg-user-2.png`" class="bg-head" mode="widthFix"></image>
<!-- <view class="bar" :style="{ top: top, height: height, lineHeight: height }">我的-九州ETC</view> -->
<view class="content" :style="{ top: margin + 'px' }">
<!-- <view class="content"> -->
<!-- <view class="content"> -->
<view class="head" :style="{ marinTop: margin + 'px' }">
<view class="avatar">
<image :src="`${$imgUrl}user/icon-avatar.png`" :class="!state.data.opId ? 'unlogin' : ''">
@@ -127,12 +127,14 @@
<text>总消费</text>
</view>
<view class="amount m-top">
<text>¥ {{state.monthFlowingVo.flowingNum/100}}</text>
<text>¥ {{state.monthFlowingVo.money/100}}</text>
<text>¥
{{(state.monthFlowingVo.flowingNum ? state.monthFlowingVo.flowingNum : 0) /100}}</text>
<text>¥
{{(state.monthFlowingVo.flowingNum ? state.monthFlowingVo.flowingNum : 0)/100}}</text>
</view>
<view class="line m-top">
<view class="line1"
:style="{width: state.monthFlowingVo.flowingNum*100/state.monthFlowingVo.money+'%'}">
:style="{width: (state.monthFlowingVo.flowingNum ? state.monthFlowingVo.flowingNum : 0)*100/state.monthFlowingVo.money+'%'}">
</view>
<view class="line2"></view>
</view>
@@ -300,7 +302,7 @@
console.log("state.list", state.list, data.length)
})
.catch((err) => {
console.log('输出内容',err)
console.log('输出内容', err)
});
}
const getUserInfo = () => {
@@ -374,6 +376,7 @@
filter: grayscale(100%);
opacity: 0.7;
}

.wrapper {
position: relative;
background: #fff;

正在加载...
取消
保存