mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-11 03:46:47 +08:00
课程教师只显示一个
This commit is contained in:
@@ -129,9 +129,9 @@
|
|||||||
<view style="color: #999999;min-width: 160upx;text-align: right;font-size: 24upx;">{{formatUserNumber(courseInfo.studys)}}人学习</view>
|
<view style="color: #999999;min-width: 160upx;text-align: right;font-size: 24upx;">{{formatUserNumber(courseInfo.studys)}}人学习</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="desrow" style="justify-content: flex-start;">
|
<view class="desrow" style="justify-content: flex-start;">
|
||||||
<view><text class="desrow-name">讲师:</text></view>
|
<view style="line-height: 60upx;"><text class="desrow-name">讲师:</text></view>
|
||||||
<view style="flex: 1;">
|
<view style="flex: 1;">
|
||||||
<view v-for="tea in teachers" :key="tea.id" style="display: flex;justify-content: space-between;">
|
<view v-for="(tea,teaIdx) in teachers" :key="tea.id" v-if="teaIdx==0" style="display: flex;justify-content: space-between;line-height: 60upx;">
|
||||||
<view>
|
<view>
|
||||||
<text class="desrow-value">{{tea.teacherName}}</text>
|
<text class="desrow-value">{{tea.teacherName}}</text>
|
||||||
<text class="desrow-value" style="font-size: 24upx;margin-left: 6upx;color: #999999;">({{tea.orgInfo}})</text>
|
<text class="desrow-value" style="font-size: 24upx;margin-left: 6upx;color: #999999;">({{tea.orgInfo}})</text>
|
||||||
|
|||||||
Reference in New Issue
Block a user