mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 09:56:45 +08:00
lecturer teacher img edit
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<view class="lecturers">
|
||||
<view v-for="( itemes, index) in lecturersList" :key="itemes.id" class="lecturers_item" @click="gotoInfo(itemes)">
|
||||
<view class="avatar">
|
||||
<image :src="`../../../static/images/lecturer/teacher.png`" style="width: 144rpx;height: 144rpx;border-radius: 72rpx;"></image>
|
||||
<image style="width: 144rpx;height: 144rpx;border-radius: 72rpx;" :src="itemes.courseImage&&imageBaseUrl+itemes.courseImage || (itemes.gender==2?'../../../static/images/lecturer/teacher_girl.png':'../../../static/images/lecturer/teacher.png')"></image>
|
||||
</view>
|
||||
<view class="information">
|
||||
<view class="information_1">
|
||||
@@ -21,7 +21,7 @@
|
||||
<view class="information_2">{{itemes.orgPath}}</view>
|
||||
<view class="information_3">
|
||||
<view class="posts">{{ itemes.positionName }}</view>
|
||||
<view class="rank">{{ itemes.bandCode }}</view>
|
||||
<!-- <view class="rank">{{ itemes.bandCode }}</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="itemes.score && itemes.score<=80" class="status" style="color: #FF4040">{{itemes.score}}分</view>
|
||||
@@ -36,12 +36,13 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import config from '@/config/index.js'
|
||||
import apiLecturerCert from "@/api/lecturer/certification.js";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
lecturersList: ''
|
||||
lecturersList: '',
|
||||
imageBaseUrl: config.fileUrl
|
||||
}
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
@@ -92,7 +93,7 @@
|
||||
text-align: center;
|
||||
}
|
||||
.main {
|
||||
height: 100vh;
|
||||
height: calc(100vh - 60px);
|
||||
padding: 10px 13px 10px 16px;
|
||||
background: #ffffff;
|
||||
.tip {
|
||||
@@ -105,10 +106,9 @@
|
||||
}
|
||||
.lecturers{
|
||||
.lecturers_item{
|
||||
padding: 20rpx 0;
|
||||
padding: 20rpx 0 10rpx;
|
||||
border-bottom: 1px solid rgba(83,83,83,0.06);
|
||||
width: 100%;
|
||||
height: 95px;
|
||||
display: flex;
|
||||
.avatar{
|
||||
margin-left: 9px;
|
||||
|
||||
Reference in New Issue
Block a user