he2802 3 年 前
コミット
638dc6d1dc
1 ファイル変更10 行追加0 行削除
  1. 10 0
      components/course/courseSection.vue

+ 10 - 0
components/course/courseSection.vue

@@ -25,6 +25,7 @@
 				<view v-if="menuItem.sectionType==null">{{menuItem.name}}</view>
 			</view>
 			<view v-if="isRebuild||menuItem.rebuild>0" class="tagRe">待重修</view>
+			<view v-if="menuItem.learning==1" class="tagGreen">已看完</view>
 		</view>
 		<view v-if="menuItem.tryListen&&!isBuy" class="tryBox">
 			试看
@@ -120,6 +121,15 @@ export default {
 </script>
 
 <style scoped>
+	.tagGreen{
+		width: 80rpx;
+		height: 28rpx;
+		background: #34C759;
+		border-radius: 8rpx;
+		font-size: 20rpx;
+		color: #FFFFFF;
+		text-align: center;
+	}
 	.tagRe{
 		width: 80rpx;
 		height: 28rpx;