修改
This commit is contained in:
parent
2d4cc20214
commit
444d10c595
@ -2,7 +2,7 @@
|
|||||||
<view class="app">
|
<view class="app">
|
||||||
<view class="label">
|
<view class="label">
|
||||||
<view class="img">
|
<view class="img">
|
||||||
<image mode="" :src="require('../images/jkm2x.png')"></image>
|
<image mode="" src="@/static/headsculpture.png"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="text">
|
<view class="text">
|
||||||
<view class="name">
|
<view class="name">
|
||||||
@ -238,15 +238,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.img {
|
.img {
|
||||||
width: 120rpx;
|
width: 160rpx;
|
||||||
height: 120rpx;
|
height: 160rpx;
|
||||||
padding-left: 50rpx;
|
padding-left: 30rpx;
|
||||||
padding-top: 50rpx;
|
padding-top: 50rpx;
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 120rpx;
|
width: 160rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
height: 120rpx;
|
height: 160rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.0 KiB |
@ -8,9 +8,6 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="label">
|
<view class="label">
|
||||||
<view class="img">
|
|
||||||
<image mode="" :src="require('../images/jkm2x.png')"></image>
|
|
||||||
</view>
|
|
||||||
<view class="text">
|
<view class="text">
|
||||||
<view class="name">
|
<view class="name">
|
||||||
{{userInfo.sickName}}
|
{{userInfo.sickName}}
|
||||||
@ -27,6 +24,9 @@
|
|||||||
<view class="id">
|
<view class="id">
|
||||||
{{userInfo.identityCardNo}}
|
{{userInfo.identityCardNo}}
|
||||||
</view>
|
</view>
|
||||||
|
<view class="id">
|
||||||
|
行为积分:{{score}}
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="information">
|
<view class="information">
|
||||||
@ -272,11 +272,15 @@
|
|||||||
import {
|
import {
|
||||||
PageData
|
PageData
|
||||||
} from './config/config.js'
|
} from './config/config.js'
|
||||||
|
import {
|
||||||
|
scoretotal
|
||||||
|
} from '@/api/pagesB/Behaviorpoints/index.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
userInfo: '',
|
userInfo: '',
|
||||||
...PageData,
|
...PageData,
|
||||||
|
score: '',
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
@ -310,8 +314,14 @@
|
|||||||
}
|
}
|
||||||
this.userInfo = res.data
|
this.userInfo = res.data
|
||||||
})
|
})
|
||||||
|
this.scoreinfo();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
scoreinfo() {
|
||||||
|
scoretotal(uni.getStorageSync('userinfo').cardNo).then(res => {
|
||||||
|
this.score = res.data
|
||||||
|
})
|
||||||
|
},
|
||||||
resultFormat(list, mylist) {
|
resultFormat(list, mylist) {
|
||||||
if (list.length > 0) {
|
if (list.length > 0) {
|
||||||
list.map(item => {
|
list.map(item => {
|
||||||
@ -429,12 +439,10 @@
|
|||||||
padding-left: 24rpx;
|
padding-left: 24rpx;
|
||||||
border-radius: 20rpx 20rpx 0 0;
|
border-radius: 20rpx 20rpx 0 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 250rpx;
|
height: 280rpx;
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
position: absolute;
|
padding: 40rpx 0 0 25rpx;
|
||||||
top: 60rpx;
|
|
||||||
left: 230rpx;
|
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
font-size: 42rpx;
|
font-size: 42rpx;
|
||||||
@ -470,19 +478,6 @@
|
|||||||
padding-top: 20rpx;
|
padding-top: 20rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.img {
|
|
||||||
width: 120rpx;
|
|
||||||
height: 120rpx;
|
|
||||||
padding-left: 30rpx;
|
|
||||||
padding-top: 60rpx;
|
|
||||||
|
|
||||||
image {
|
|
||||||
width: 120rpx;
|
|
||||||
border-radius: 50%;
|
|
||||||
height: 120rpx;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
Reference in New Issue
Block a user