Commit b6c1066f authored by youjie's avatar youjie

no message

parent 36d983b4
<template> <template>
<view class="studentList-box flex"> <view class="studentList-box flex">
<block v-if="dataList && dataList.length>0" > <block v-if="dataList && dataList.length>0" >
<view class="studentList-content" @click="selectStuHandler(item)" v-for="(item,index) in dataList" :key="index"> <view class="studentList-content" v-for="(item,index) in dataList" :key="index"
@click="selectStuHandler(item)">
<view class="studentList flex"> <view class="studentList flex">
<view class="studentList-img"> <view class="studentList-img">
<van-image width="100%" height="100%" fit="cover" class="img" <van-image width="100%" height="100%" fit="cover" class="img"
......
...@@ -15,13 +15,17 @@ ...@@ -15,13 +15,17 @@
<text>学情反馈</text> <text>学情反馈</text>
<view>(共{{workList!=null&&workList.length>0?workList.length:0}}条)</view> <view>(共{{workList!=null&&workList.length>0?workList.length:0}}条)</view>
</view> </view>
<view class="index-student-information"> <view class="index-student-information" v-if="workList.length>0">
<template v-for="(item,index) in workList"> <template v-for="(item,index) in workList">
<JobComponents v-if="item.ResultType==1" :jobData="item"></JobComponents> <JobComponents v-if="item.ResultType==1" :jobData="item"></JobComponents>
<examComponents v-if="item.ResultType==2" :jobData="item"></examComponents> <examComponents v-if="item.ResultType==2" :jobData="item"></examComponents>
<commentsComponents v-if="item.ResultType==3" :jobData="item"></commentsComponents> <commentsComponents v-if="item.ResultType==3" :jobData="item"></commentsComponents>
</template> </template>
</view> </view>
<view class="noData" v-else>
<image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653902791000_806.png" mode="widthFix"></image>
<view>暂无学情反馈信息</view>
</view>
</view> </view>
</template> </template>
...@@ -100,6 +104,21 @@ ...@@ -100,6 +104,21 @@
</script> </script>
<style scoped> <style scoped>
.noData{
text-align: center;
flex:1;
width: 100%;
margin-top: 71rpx;
}
.noData image{
width:200rpx;
margin-bottom: 40rpx;
}
.noData view{
font-size: 24rpx;
color: #cecece;
text-align: center;
}
.student-header-box{ .student-header-box{
padding: 20rpx 42rpx; padding: 20rpx 42rpx;
flex-direction: row; flex-direction: row;
......
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