|
@@ -1,6 +1,9 @@
|
|
|
<template>
|
|
|
<view style="padding: 30rpx;">
|
|
|
- <view @click="jump(item)" v-for="(item, index) in courseList" :key="index" style="margin-bottom: 30rpx;">
|
|
|
+ <view v-if="!courseList.length">
|
|
|
+ <u-empty text="暂无课程" mode="list"></u-empty>
|
|
|
+ </view>
|
|
|
+ <view v-else @click="jump(item)" v-for="(item, index) in courseList" :key="index" style="margin-bottom: 30rpx;">
|
|
|
<view class="class_item">
|
|
|
<image :src="$method.splitImgHost(item.coverUrl, true)" style="height: 316rpx;width: 100%;border-radius: 24rpx;"></image>
|
|
|
<view style="color: #333333;font-weight: bold;font-size: 32rpx;">{{ item.courseName }}</view>
|