|
@@ -0,0 +1,119 @@
|
|
|
+<template>
|
|
|
+ <view>
|
|
|
+ <u-navbar title="职教在线">
|
|
|
+
|
|
|
+ </u-navbar>
|
|
|
+ <view class="mainBody">
|
|
|
+ <view class="mainItem" v-for="(item,i) in list" :key="i"
|
|
|
+
|
|
|
+ @click="gotoUrl('pages/videofile/list')"
|
|
|
+
|
|
|
+ >
|
|
|
+ <view class="body">
|
|
|
+ <view class="img">
|
|
|
+ <img src="@/assets/img/JPG.svg">
|
|
|
+ </view>
|
|
|
+ <view class="info">
|
|
|
+ <view class="name">{{item.name}}</view>
|
|
|
+ <view class="text">
|
|
|
+ <view class="time">{{item.time}}</view>
|
|
|
+ <view class="author"><span class="span">{{item.author}}</span>上传</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="left">
|
|
|
+ <u-icon name="arrow-right" color="#B3B3B3"></u-icon>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+ export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ list:[{
|
|
|
+ name:"第二期学习资料第二期学习资料第二期学习资料",
|
|
|
+ url:"",
|
|
|
+ img:"",
|
|
|
+ time:"2023-12-03 19:00:00",
|
|
|
+ author:"周琼"
|
|
|
+ },{
|
|
|
+ name:"第二期",
|
|
|
+ url:"",
|
|
|
+ img:"",
|
|
|
+ time:"2023-12-03 19:00:00",
|
|
|
+ author:"周琼"
|
|
|
+ },{
|
|
|
+ name:"第二期学习资料",
|
|
|
+ url:"",
|
|
|
+ img:"",
|
|
|
+ time:"2023-12-03 19:00:00",
|
|
|
+ author:"周琼"
|
|
|
+ },{
|
|
|
+ name:"第二期学习资料",
|
|
|
+ url:"",
|
|
|
+ img:"",
|
|
|
+ time:"2023-12-03 19:00:00",
|
|
|
+ author:"周琼"
|
|
|
+ },]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+</script>
|
|
|
+
|
|
|
+<style>
|
|
|
+ .mainBody{
|
|
|
+ .mainItem{
|
|
|
+ color: #101010;
|
|
|
+ font-size: 16px;
|
|
|
+ line-height: 20px;
|
|
|
+ border-radius: 8px;
|
|
|
+ background-color: rgba(255, 255, 255, 1);
|
|
|
+ margin: 16px;
|
|
|
+ padding: 12px 16px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ .body{
|
|
|
+ display: flex;
|
|
|
+ width: 100%;
|
|
|
+ align-items: center;
|
|
|
+ .info{
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ .img{
|
|
|
+ margin-right: 8px;
|
|
|
+ }
|
|
|
+ .text{
|
|
|
+ margin-top: 2px;
|
|
|
+ font-size: 12px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ color:#9FA3A6;
|
|
|
+ .author{
|
|
|
+
|
|
|
+ .span{
|
|
|
+ color:#005AD9;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ .name{
|
|
|
+
|
|
|
+ }
|
|
|
+ .left{
|
|
|
+ padding-left: 16px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+</style>
|