|
@@ -16,11 +16,16 @@
|
|
|
<uni-row>
|
|
|
<uni-col :span="12" :push="1">
|
|
|
<view class="contain-item"><text class="contain-text">学员:</text>{{item.name}}</view>
|
|
|
- </uni-col>
|
|
|
- <uni-col :span="12">
|
|
|
- <view><text class="contain-text">学员性别:</text>{{item.sex}}</view>
|
|
|
+ </uni-col>
|
|
|
+ </uni-row>
|
|
|
+ <uni-row>
|
|
|
+ <uni-col :span="12" :push="1">
|
|
|
+ <view class="contain-item"><text class="contain-text">学员性别:</text>{{item.sex}}</view>
|
|
|
</uni-col>
|
|
|
</uni-row>
|
|
|
+ <view class="stuImgWrapper">
|
|
|
+ <image class="stuImg" src="../../static/boy.png"></image>
|
|
|
+ </view>
|
|
|
<uni-row>
|
|
|
<uni-col :push="1" :span="18">
|
|
|
<view class="contain-item"><text class="contain-text">需求科目:</text>{{item.subjectBig}}/{{item.subjectSmall}}</view>
|
|
@@ -308,4 +313,17 @@
|
|
|
border-radius: 50rpx;
|
|
|
color: white;
|
|
|
}
|
|
|
+ // 学员头像
|
|
|
+ .stuImgWrapper{
|
|
|
+ position: absolute;
|
|
|
+ width:220rpx;
|
|
|
+ height: 220rpx;
|
|
|
+ top: 50rpx;
|
|
|
+ right: 30rpx;
|
|
|
+ }
|
|
|
+ .stuImg{
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ border-radius: 20rpx;
|
|
|
+ }
|
|
|
</style>
|