作者 姚富强

合并分支 'dev' 到 'master'

Dev



查看合并请求 !10
  1 +<script setup>
  2 +// import { ref } from 'vue'
  3 +// import Head from '@/components/head.vue'
  4 +// const classList = ref([
  5 +//   {url: '@/static/set.png', name: '形式与政策'},
  6 +//   {url: '@/static/class.jpg', name: '1+X中级认证'},
  7 +// {url: '@/static/class.jpg', name: '交互动效设置'},
  8 +//   {url: '@/static/class.jpg', name: '融媒体制作与策划'},
  9 +// {url: '@/static/class.jpg', name: '形式与政策'},
  10 +//   {url: '@/static/class.jpg', name: '1+X中级认证'},
  11 +// {url: '@/static/class.jpg', name: '交互动效设置'},
  12 +//   {url: '@/static/class.jpg', name: '融媒体制作与策划'},
  13 +
  14 +// ])
  15 +// </script>
1 <template> 16 <template>
2 <div class="counter"> 17 <div class="counter">
3 <div class="hed"> 18 <div class="hed">
@@ -5,49 +20,165 @@ @@ -5,49 +20,165 @@
5 <div class="rightt"> 20 <div class="rightt">
6 <div class="noe"> 21 <div class="noe">
7 <div class="pic"> 22 <div class="pic">
8 - <img src="../static/set.png" alt="">设置 23 + <img src="@/static/set.png" alt="">设置
9 </div> 24 </div>
10 </div> 25 </div>
11 <div class="noe"> 26 <div class="noe">
12 <div class="pic"> 27 <div class="pic">
13 - <img src="../static/ewm.png" alt="">二维码 28 + <img src="@/static/ewm.png" alt="">二维码
14 </div> 29 </div>
15 </div> 30 </div>
16 <div class="noe"> 31 <div class="noe">
17 <div class="pic"> 32 <div class="pic">
18 - <img src="../static/fx.png" alt="">转发 33 + <img src="@/static/fx.png" alt="">转发
  34 + </div>
  35 + </div>
19 </div> 36 </div>
20 </div> 37 </div>
  38 + <div class="bod">
  39 + <div class="n">
  40 + +新建课程
  41 + </div>
  42 + <div class="n">
  43 + 新建文件夹
21 </div> 44 </div>
22 </div> 45 </div>
23 <!-- <div class="ban"> 46 <!-- <div class="ban">
  47 + <div class="bottom">
  48 + <div class="pic" v-for="item in classList" :key="item"><img :src="item.url" alt=""></div>
  49 + <div class="li" v-for="item in classList" :key="item">{{ item.name}}</div>
  50 + </div>
  51 + </div> -->
  52 + <div class="ban">
24 <div class="item"> 53 <div class="item">
25 <div class="class"> 54 <div class="class">
26 - <img src="" alt=""> 55 + <img src="@/static/class.jpg" alt="">
27 </div> 56 </div>
28 <div class="title"> 57 <div class="title">
29 形式与政策 58 形式与政策
30 </div> 59 </div>
31 </div> 60 </div>
32 - </div> --> 61 + <div class="item">
  62 + <div class="class">
  63 + <img src="@/static/class.jpg" alt="">
  64 + </div>
  65 + <div class="title">
  66 + 1+X中级认证
  67 + </div>
  68 + </div>
  69 + <div class="item">
  70 + <div class="class">
  71 + <img src="@/static/class.jpg" alt="">
  72 + </div>
  73 + <div class="title">
  74 + 交互动效设计
  75 + </div>
  76 + </div>
  77 + <div class="item">
  78 + <div class="class">
  79 + <img src="@/static/class.jpg" alt="">
  80 + </div>
  81 + <div class="title">
  82 + 融媒体制作与策划
  83 + </div>
33 </div> 84 </div>
34 - </template> 85 + <div class="item">
  86 + <div class="class">
  87 + <img src="@/static/class.jpg" alt="">
  88 + </div>
  89 + <div class="title">
  90 + 形式与政策
  91 + </div>
  92 + </div>
  93 + <div class="item">
  94 + <div class="class">
  95 + <img src="@/static/class.jpg" alt="">
  96 + </div>
  97 + <div class="title">
  98 + 1+X中级认证
  99 + </div>
  100 + </div>
  101 + <div class="item">
  102 + <div class="class">
  103 + <img src="@/static/class.jpg" alt="">
  104 + </div>
  105 + <div class="title" s>
  106 + 交互动效设计
  107 + </div>
  108 + </div>
  109 + <div class="item">
  110 + <div class="class">
  111 + <img src="@/static/class.jpg" alt="">
  112 + </div>
  113 + <div class="title">
  114 + 融媒体制作与策划
  115 + </div>
  116 + </div>
  117 + </div>
  118 + </div>
  119 +</template>
35 120
36 - <style lang="scss">  
37 - .counter { 121 +<style lang="scss">
  122 +.counter {
38 width: 100%; 123 width: 100%;
39 background-color: #f2f2f2; 124 background-color: #f2f2f2;
  125 +
  126 + .ban {
  127 + display: flex;
  128 + flex-wrap: wrap;
  129 + justify-content: space-around;
  130 + margin-top: 30px;
  131 + .item{
  132 + margin: 50px;
  133 + }
  134 + .title{
  135 + text-align: center;
  136 + margin-top: 10px;
  137 + }
  138 + img {
  139 + height: 125px;
  140 + width: 100%;
  141 + border-radius: 10px;
  142 + }
  143 +
  144 + }
  145 +
  146 +
  147 + .bod {
  148 + display: flex;
  149 + margin-top: 30px;
  150 +
  151 + .n {
  152 + font-size: 8px;
  153 + border-radius: 15px;
  154 + padding: 3px 10px;
  155 + height: 20px;
  156 + line-height: 20px;
  157 + background-color: white;
  158 + border: #189eff 1px solid;
  159 + margin-right: 25px;
  160 + }
  161 + }
  162 +
40 .hed { 163 .hed {
  164 + margin-top: 37px;
41 display: flex; 165 display: flex;
42 justify-content: space-between; 166 justify-content: space-between;
43 - align-items: center; 167 + width: 1277px;
  168 +
  169 + .leftt {
  170 + font-weight: 800;
  171 + }
  172 +
44 .rightt { 173 .rightt {
45 display: flex; 174 display: flex;
  175 +
46 .noe { 176 .noe {
47 width: 70px; 177 width: 70px;
48 display: flex; 178 display: flex;
49 - justify-content: space-between; 179 + justify-content: space-around;
50 align-items: center; 180 align-items: center;
  181 +
51 img { 182 img {
52 width: 15px; 183 width: 15px;
53 height: 15px; 184 height: 15px;
@@ -56,6 +187,4 @@ @@ -56,6 +187,4 @@
56 } 187 }
57 } 188 }
58 } 189 }
59 - }  
60 -  
61 - </style>  
  190 + }</style>