mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-06 17:36:45 +08:00
lecturer teacher img edit
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<div class="info">
|
||||
<div class="info_top">
|
||||
<div class="header_img">
|
||||
<img :src="lecturersInfo.courseImage || `../../../static/images/lecturer/teacher.png`"></img>
|
||||
<img style="width: 144rpx;height: 144rpx;border-radius: 72rpx;" :src="lecturersInfo.courseImage&&imageBaseUrl+lecturersInfo.courseImage || (lecturersInfo.gender==2?'../../../static/images/lecturer/teacher_girl.png':'../../../static/images/lecturer/teacher.png')"></img>
|
||||
</div>
|
||||
<div class="base_info">
|
||||
<div class="base_info_1">
|
||||
@@ -15,7 +15,7 @@
|
||||
<div class="base_info_2">{{lecturersInfo.orgPath}}</div>
|
||||
<div class="base_info_3">
|
||||
<div>{{lecturersInfo.positionName}}</div>
|
||||
<div>{{lecturersInfo.bandCode}}</div>
|
||||
<!-- <div>{{lecturersInfo.bandCode}}</div> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -118,10 +118,12 @@
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
import config from '@/config/index.js'
|
||||
import apiLecturerCert from "@/api/lecturer/certification.js";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
imageBaseUrl: config.fileUrl,
|
||||
showFlag: false,
|
||||
lecturersInfo: {},
|
||||
score:{
|
||||
@@ -269,11 +271,11 @@
|
||||
.base_info_2 {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 1;
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: normal;
|
||||
margin: 8px 0;
|
||||
margin: 8px 0 0;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
@@ -300,7 +302,7 @@
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
span{
|
||||
width: 110px;
|
||||
width: 102px;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
BIN
static/images/lecturer/teacher-girl.png
Normal file
BIN
static/images/lecturer/teacher-girl.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 64 KiB |
Reference in New Issue
Block a user