Commit ccc9f682 authored by Mac's avatar Mac

1

parent 5e1bf5a0
...@@ -75,6 +75,12 @@ ...@@ -75,6 +75,12 @@
</view> </view>
</view> </view>
<u-empty text="暂无动态" v-if='teacher.teacherResult.DynamicList.length==0 && teacher.teacherResult.DynamicStatus!=4' font-size="36" mode="list" ></u-empty>
<view style="100%;height: 50px;display: flex;align-items: center;justify-content: center;" v-if='teacher.teacherResult.DynamicList.length==0 && teacher.teacherResult.DynamicStatus==4'>
<view style="width: 90px;height: 28px;background: #40766E;font-size: 12px;color: #FFFFFF;border-radius: 12px;display: flex;align-items: center;justify-content: center;" @click="setFollowTeacher(2)">
关注查看更多
</view>
</view>
<view class="ftBox" v-for="(x, i) in teacher.teacherResult.DynamicList" :key="i" @click="godetails(x,i)"> <view class="ftBox" v-for="(x, i) in teacher.teacherResult.DynamicList" :key="i" @click="godetails(x,i)">
<view class="jiazu" v-if="x.YearTime!=''">{{x.YearTime}}</view> <view class="jiazu" v-if="x.YearTime!=''">{{x.YearTime}}</view>
<view class="interDList"> <view class="interDList">
...@@ -329,6 +335,7 @@ ...@@ -329,6 +335,7 @@
data: {ID: that.id,UserId:that.UserId } data: {ID: that.id,UserId:that.UserId }
}, },
res2 => { res2 => {
that.teacher.teacherResult.DynamicList = res2.data.teacherResult.DynamicList
that.teacher.teacherResult.DynamicStatus = res2.data.teacherResult.DynamicStatus that.teacher.teacherResult.DynamicStatus = res2.data.teacherResult.DynamicStatus
that.teacher.teacherResult.Followteacher = res2.data.teacherResult.Followteacher that.teacher.teacherResult.Followteacher = res2.data.teacherResult.Followteacher
that.teacher.teacherResult.FollowteacherNum = res2.data.teacherResult.FollowteacherNum that.teacher.teacherResult.FollowteacherNum = res2.data.teacherResult.FollowteacherNum
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment