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