Browse Source

添加作业静态

zengyicheng 2 years ago
parent
commit
bb23dce479

+ 1 - 1
dist/index.html

@@ -1 +1 @@
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>pbl-student</title><link href=./static/css/app.f488f19212474f7f58810a20be0d6695.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.026c632084ce19e78a6f.js></script><script type=text/javascript src=./static/js/app.4fae2e2fc3b3605639dc.js></script></body></html><script>document.domain = "cocorobo.cn"</script>
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>pbl-student</title><link href=./static/css/app.12a96bf2317510f37e3f0a8bfb6f4410.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.026c632084ce19e78a6f.js></script><script type=text/javascript src=./static/js/app.df15a4c13e0ee97b833f.js></script></body></html><script>document.domain = "cocorobo.cn"</script>

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.12a96bf2317510f37e3f0a8bfb6f4410.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.12a96bf2317510f37e3f0a8bfb6f4410.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.f488f19212474f7f58810a20be0d6695.css.map


BIN
dist/static/img/worksA.ac12ab7.png


BIN
dist/static/img/worksB.3453a03.jpg


BIN
dist/static/img/worksC.d03aadb.jpg


BIN
dist/static/img/worksD.b3a6af7.jpg


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.4fae2e2fc3b3605639dc.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.4fae2e2fc3b3605639dc.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.df15a4c13e0ee97b833f.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.df15a4c13e0ee97b833f.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


BIN
src/assets/icon/works/worksA.png


BIN
src/assets/icon/works/worksB.jpg


BIN
src/assets/icon/works/worksC.jpg


BIN
src/assets/icon/works/worksD.jpg


+ 4 - 1
src/components/courseDetail.vue

@@ -169,6 +169,7 @@ export default {
       id: this.$route.query.courseId,
       userid: this.$route.query.userid,
       oid: this.$route.query.oid,
+      tType: this.$route.query.tType,
       courseDetail: {},
       aStudentName: [],
       chapInfo: [],
@@ -230,7 +231,9 @@ export default {
               "&userid=" +
               this.userid +
               "&oid=" +
-              this.oid
+              this.oid +
+              "&tType=" +
+              this.tType
           );
         })
         .catch((err) => {

+ 363 - 349
src/components/index.vue

@@ -1,363 +1,377 @@
 <template>
-	<div class="pb_content">
-		<div class="pb_content_body">
-			<div class="student_head">
-				<!-- <img src="../assets/banner.png" alt="" /> -->
-				<el-carousel trigger="click" style="width: 100%; height: 300px">
-					<el-carousel-item v-for="item in bannerList" :key="item.id">
-						<!-- <h3 class="small">{{ item }}</h3> -->
-						<img
-							class="imgS"
-							:src="item.poster"
-							alt=""
-							@click.stop="
-								goTo('/courseDetail?courseId=' + item.url + '&userid=' + userid + '&oid=' + oid)
-							"
-						/>
-					</el-carousel-item>
-				</el-carousel>
-			</div>
-			<div class="body_student">
-				<div class="student_body">
-					<div class="top">
-						<div :class="{ active: 0 == zoneListId }" @click="selectAll()">
-							所有课程
-						</div>
-						<div
-							:class="{ active: item.id == zoneListId }"
-							v-for="(item, index) in zoneList"
-							:key="index"
-							@click="checkZone(item.id)"
-						>
-							{{ item.name }}
-						</div>
-					</div>
-					<div>
-						<div class="main_box">
-							<div
-								class="box_course"
-								v-for="(item, index) in zoneClass"
-								:key="index"
-							>
-								<div class="wheel">
-									<img
-										:src="
-											item.cover
-												? JSON.parse(item.cover)[0].url
-												: require('../assets/wheel.png')
-										"
-										alt=""
-									/>
-								</div>
-								<div class="middle_white">
-									<div class="textOverflow">{{ item.title }}</div>
-									<div class="people">
-										<div class="man">
-											<img src="../assets/people.png" alt="" />
-										</div>
-										<div>
-											{{
-												item.pNum != null && item.pNum != "" ? item.pNum : "0"
-											}}人学习
-										</div>
-									</div>
-								</div>
-								<div
-									class="now_study"
-									@click="
-										goTo(
-											'/courseDetail?courseId=' +
-												item.courseId +
-												'&userid=' +
-												userid + '&oid=' + oid
-										)
-									"
-								>
-									立即学习
-								</div>
-							</div>
-							<div class="course_empty" v-if="zoneClass.length == 0">
-								暂无数据
-							</div>
-						</div>
-					</div>
-					<div class="student_page" style="margin: 15px 0 0">
-						<el-pagination
-							background
-							layout="prev, pager, next"
-							:page-size="10"
-							:total="total"
-							v-if="page && zoneListId != 0"
-							@current-change="handleCurrentChange"
-						>
-						</el-pagination>
-						<el-pagination
-							background
-							layout="prev, pager, next"
-							:page-size="10"
-							:total="total"
-							v-if="page && zoneListId == 0"
-							@current-change="handleCurrentChange1"
-						>
-						</el-pagination>
-					</div>
-				</div>
-			</div>
-		</div>
-	</div>
+  <div class="pb_content">
+    <div class="pb_content_body">
+      <div class="student_head">
+        <!-- <img src="../assets/banner.png" alt="" /> -->
+        <el-carousel trigger="click" style="width: 100%; height: 300px">
+          <el-carousel-item v-for="item in bannerList" :key="item.id">
+            <!-- <h3 class="small">{{ item }}</h3> -->
+            <img
+              class="imgS"
+              :src="item.poster"
+              alt=""
+              @click.stop="
+                goTo(
+                  '/courseDetail?courseId=' +
+                    item.url +
+                    '&userid=' +
+                    userid +
+                    '&oid=' +
+                    oid +
+                    '&tType=' +
+                    tType
+                )
+              "
+            />
+          </el-carousel-item>
+        </el-carousel>
+      </div>
+      <div class="body_student">
+        <div class="student_body">
+          <div class="top">
+            <div :class="{ active: 0 == zoneListId }" @click="selectAll()">
+              所有课程
+            </div>
+            <div
+              :class="{ active: item.id == zoneListId }"
+              v-for="(item, index) in zoneList"
+              :key="index"
+              @click="checkZone(item.id)"
+            >
+              {{ item.name }}
+            </div>
+          </div>
+          <div>
+            <div class="main_box">
+              <div
+                class="box_course"
+                v-for="(item, index) in zoneClass"
+                :key="index"
+              >
+                <div class="wheel">
+                  <img
+                    :src="
+                      item.cover
+                        ? JSON.parse(item.cover)[0].url
+                        : require('../assets/wheel.png')
+                    "
+                    alt=""
+                  />
+                </div>
+                <div class="middle_white">
+                  <div class="textOverflow">{{ item.title }}</div>
+                  <div class="people">
+                    <div class="man">
+                      <img src="../assets/people.png" alt="" />
+                    </div>
+                    <div>
+                      {{
+                        item.pNum != null && item.pNum != "" ? item.pNum : "0"
+                      }}人学习
+                    </div>
+                  </div>
+                </div>
+                <div
+                  class="now_study"
+                  @click="
+                    goTo(
+                      '/courseDetail?courseId=' +
+                        item.courseId +
+                        '&userid=' +
+                        userid +
+                        '&oid=' +
+                        oid +
+                        '&tType=' +
+                        tType
+                    )
+                  "
+                >
+                  立即学习
+                </div>
+              </div>
+              <div class="course_empty" v-if="zoneClass.length == 0">
+                暂无数据
+              </div>
+            </div>
+          </div>
+          <div class="student_page" style="margin: 15px 0 0">
+            <el-pagination
+              background
+              layout="prev, pager, next"
+              :page-size="10"
+              :total="total"
+              v-if="page && zoneListId != 0"
+              @current-change="handleCurrentChange"
+            >
+            </el-pagination>
+            <el-pagination
+              background
+              layout="prev, pager, next"
+              :page-size="10"
+              :total="total"
+              v-if="page && zoneListId == 0"
+              @current-change="handleCurrentChange1"
+            >
+            </el-pagination>
+          </div>
+        </div>
+      </div>
+    </div>
+  </div>
 </template>
 
 <script>
-	export default {
-		data() {
-			return {
-				zoneList: [],
-				zoneClass: [],
-				page: 1,
-				total: 0,
-				isListAjax: false,
-				zoneListId: "",
-				bannerList: [],
-				userid: this.$route.query.userid,
-				oid: this.$route.query.oid,
-			};
-		},
-		methods: {
-			goTo(path) {
-				this.$router.push(path);
-			},
-			getZone() {
-				this.ajax
-					.get(this.$store.state.api + "getZone", "")
-					.then((res) => {
-						console.log(res.data[0]);
-						this.zoneList = res.data[0];
-						// this.zoneListId = this.zoneList[0].id;
-						// this.getZoneClass(this.zoneList[0].id);
-						this.selectAll();
-					})
-					.catch((err) => {
-						console.error(err);
-					});
-			},
-			//获取专区下的课程
-			getZoneClass(zid) {
-				this.isListAjax = true;
-				const loading = this.openLoading(document.querySelector(".main_box"));
-				let params = {
-					bid: zid,
-					oid: this.oid,
-					page: this.page,
-				};
-				this.ajax
-					.get(this.$store.state.api + "getZoneClassStudent", params)
-					.then((res) => {
-						loading.close();
-						this.isListAjax = false;
-						this.zoneClass = res.data[0];
-						this.total = res.data[0].length ? res.data[0][0].num : 0;
-						console.log(this.zoneClass);
-					})
-					.catch((err) => {
-						console.error(err);
-					});
-			},
-			selectAll() {
-				this.zoneListId = 0;
-				this.isListAjax = true;
-				const loading = this.openLoading(document.querySelector(".main_box"));
-				let params = {
-					oid: this.oid,
-					page: this.page,
-				};
-				this.ajax
-					.get(this.$store.state.api + "selectAllCourse", params)
-					.then((res) => {
-						loading.close();
-						this.isListAjax = false;
-						this.zoneClass = res.data[0];
-						this.total = res.data[0].length ? res.data[0][0].num : 0;
-						console.log(this.zoneClass);
-					})
-					.catch((err) => {
-						console.error(err);
-					});
-			},
-			checkZone(id) {
-				this.page = 1;
-				this.zoneListId = id;
-				this.getZoneClass(id);
-			},
-			handleCurrentChange(val) {
-				this.page = val;
-				this.getZoneClass(this.zoneListId);
-			},
-			handleCurrentChange1(val) {
-				this.page = val;
-				this.selectAll();
-			},
-			//获取banner
-			getBanner() {
-				this.ajax
-					.get(this.$store.state.api + "getBanner", "")
-					.then((res) => {
-						this.bannerList = res.data[0];
-						console.log(this.bannerList);
-					})
-					.catch((err) => {
-						console.error(err);
-					});
-			},
-		},
-		created() {
-			this.getZone();
-			this.getBanner();
-			document.scrollingElement.scrollTop = 0;
-		},
-	};
+export default {
+  data() {
+    return {
+      zoneList: [],
+      zoneClass: [],
+      page: 1,
+      total: 0,
+      isListAjax: false,
+      zoneListId: "",
+      bannerList: [],
+      userid: this.$route.query.userid,
+      oid: this.$route.query.oid,
+      tType: this.$route.query.tType,
+    };
+  },
+  methods: {
+    goTo(path) {
+      this.$router.push(path);
+    },
+    getZone() {
+      this.ajax
+        .get(this.$store.state.api + "getZone", "")
+        .then((res) => {
+          console.log(res.data[0]);
+          this.zoneList = res.data[0];
+          // this.zoneListId = this.zoneList[0].id;
+          // this.getZoneClass(this.zoneList[0].id);
+          this.selectAll();
+        })
+        .catch((err) => {
+          console.error(err);
+        });
+    },
+    //获取专区下的课程
+    getZoneClass(zid) {
+      this.isListAjax = true;
+      const loading = this.openLoading(document.querySelector(".main_box"));
+      let params = {
+        bid: zid,
+        oid: this.oid,
+        page: this.page,
+      };
+      this.ajax
+        .get(this.$store.state.api + "getZoneClassStudent", params)
+        .then((res) => {
+          loading.close();
+          this.isListAjax = false;
+          this.zoneClass = res.data[0];
+          this.total = res.data[0].length ? res.data[0][0].num : 0;
+          console.log(this.zoneClass);
+        })
+        .catch((err) => {
+          console.error(err);
+        });
+    },
+    selectAll() {
+      this.zoneListId = 0;
+      this.isListAjax = true;
+      const loading = this.openLoading(document.querySelector(".main_box"));
+      let params = {
+        oid: this.oid,
+        page: this.page,
+      };
+      this.ajax
+        .get(this.$store.state.api + "selectAllCourse", params)
+        .then((res) => {
+          loading.close();
+          this.isListAjax = false;
+          this.zoneClass = res.data[0];
+          this.total = res.data[0].length ? res.data[0][0].num : 0;
+          console.log(this.zoneClass);
+        })
+        .catch((err) => {
+          console.error(err);
+        });
+    },
+    checkZone(id) {
+      this.page = 1;
+      this.zoneListId = id;
+      this.getZoneClass(id);
+    },
+    handleCurrentChange(val) {
+      this.page = val;
+      this.getZoneClass(this.zoneListId);
+    },
+    handleCurrentChange1(val) {
+      this.page = val;
+      this.selectAll();
+    },
+    //获取banner
+    getBanner() {
+      this.ajax
+        .get(this.$store.state.api + "getBanner", "")
+        .then((res) => {
+          this.bannerList = res.data[0];
+          console.log(this.bannerList);
+        })
+        .catch((err) => {
+          console.error(err);
+        });
+    },
+  },
+  created() {
+    this.getZone();
+    this.getBanner();
+    document.scrollingElement.scrollTop = 0;
+  },
+};
 </script>
 
 <style scoped>
-	.student_head .imgS {
-		width: 100%;
-		height: 100%;
-		cursor: pointer;
-	}
-	.student_body {
-		width: 100%;
-		height: 100%;
-		margin: 0 auto;
-		background: #fff;
-		padding: 0 0 20px;
-	}
-	.top {
-		padding: 20px 30px 20px 1%;
-		box-sizing: border-box;
-		display: flex;
-		align-items: center;
-	}
+.student_head .imgS {
+  width: 100%;
+  height: 100%;
+  cursor: pointer;
+}
+.student_body {
+  width: 100%;
+  height: 100%;
+  margin: 0 auto;
+  background: #fff;
+  padding: 0 0 20px;
+}
+.top {
+  padding: 20px 30px 20px 1%;
+  box-sizing: border-box;
+  display: flex;
+  align-items: center;
+}
 
-	.top div {
-		cursor: pointer;
-		box-sizing: border-box;
-		height: 35px;
-		line-height: 35px;
-		margin: 0 10px 0 0;
-		padding-bottom: 5px;
-		width: 80px;
-		text-align: center;
-	}
+.top div {
+  cursor: pointer;
+  box-sizing: border-box;
+  height: 35px;
+  line-height: 35px;
+  margin: 0 10px 0 0;
+  padding-bottom: 5px;
+  width: 80px;
+  text-align: center;
+}
 
-	.top .active {
-		border-bottom: 3px solid #0e71e6;
-	}
+.top .active {
+  border-bottom: 3px solid #0e71e6;
+}
 
-	.isactive {
-		border-bottom: 3px solid #0e71e6;
-	}
+.isactive {
+  border-bottom: 3px solid #0e71e6;
+}
 
-	.box_fk {
-		width: 8px;
-		height: 21px;
-		background: #0e71e6;
-		margin-right: 5px;
-	}
-	.wheel {
-		width: 100%;
-		height: 140px;
-	}
-	.man {
-		width: 16px;
-		height: 16px;
-	}
-	.wheel > img,
-	.man > img {
-		width: 100%;
-		height: 100%;
-		object-fit: cover;
-	}
-	.box_course {
-		display: flex;
-		flex-direction: column;
-		flex-wrap: nowrap;
-		margin: 0px 1% 20px;
-		width: 18%;
-		/*border: 1px solid #cecece; */
-		border-radius: 5px;
-		overflow: hidden;
-		box-shadow: 0px 1px 3px 0px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%),
-			0px 2px 1px -1px rgb(0 0 0 / 12%);
-		justify-content: space-between;
-		height: 240px;
-	}
-	.middle_white {
-		font-size: 14px;
-		margin: 5px 0 5px 10px;
-	}
-	.people {
-		display: flex;
-		margin-top: 5px;
-		align-items: center;
-	}
-	.people > div:nth-child(2) {
-		margin-left: 10px;
-	}
-	.now_study {
-		width: 100%;
-		height: 40px;
-		color: #fff;
-		background: #86b8f5;
-		text-align: center;
-		line-height: 40px;
-		font-size: 13px;
-		cursor: pointer;
-	}
-	.now_study:hover {
-		background: #658eeb;
-	}
-	.main_box {
-		width: 100%;
-		display: flex;
-		flex-direction: row;
-		flex-wrap: wrap;
-		justify-content: flex-start;
-		margin: 0 auto;
-	}
-	.right_bottom_flex {
-		width: 219px;
-		height: 144px;
-		margin: auto 0;
-	}
-	.right_bottom_flex > img {
-		width: 100%;
-		height: 100%;
-	}
-	.body_student {
-		margin: 10px auto;
-		width: 98%;
-		height: 100%;
-	}
-	.student_head {
-		width: 100%;
-		height: 30%;
-	}
+.box_fk {
+  width: 8px;
+  height: 21px;
+  background: #0e71e6;
+  margin-right: 5px;
+}
+.wheel {
+  width: 100%;
+  height: 140px;
+}
+.man {
+  width: 16px;
+  height: 16px;
+}
+.wheel > img,
+.man > img {
+  width: 100%;
+  height: 100%;
+  object-fit: cover;
+}
+.box_course {
+  display: flex;
+  flex-direction: column;
+  flex-wrap: nowrap;
+  margin: 0px 1% 20px;
+  width: 18%;
+  /*border: 1px solid #cecece; */
+  border-radius: 5px;
+  overflow: hidden;
+  box-shadow: 0px 1px 3px 0px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%),
+    0px 2px 1px -1px rgb(0 0 0 / 12%);
+  justify-content: space-between;
+  height: 240px;
+}
+.middle_white {
+  font-size: 14px;
+  margin: 5px 0 5px 10px;
+}
+.people {
+  display: flex;
+  margin-top: 5px;
+  align-items: center;
+}
+.people > div:nth-child(2) {
+  margin-left: 10px;
+}
+.now_study {
+  width: 100%;
+  height: 40px;
+  color: #fff;
+  background: #86b8f5;
+  text-align: center;
+  line-height: 40px;
+  font-size: 13px;
+  cursor: pointer;
+}
+.now_study:hover {
+  background: #658eeb;
+}
+.main_box {
+  width: 100%;
+  display: flex;
+  flex-direction: row;
+  flex-wrap: wrap;
+  justify-content: flex-start;
+  margin: 0 auto;
+}
+.right_bottom_flex {
+  width: 219px;
+  height: 144px;
+  margin: auto 0;
+}
+.right_bottom_flex > img {
+  width: 100%;
+  height: 100%;
+}
+.body_student {
+  margin: 10px auto;
+  width: 98%;
+  height: 100%;
+}
+.student_head {
+  width: 100%;
+  height: 30%;
+}
 
-	.textOverflow {
-		padding: 0 5px 0 0px;
-		width: 95%;
-		overflow: hidden;
-		white-space: nowrap;
-		text-overflow: ellipsis;
-	}
+.textOverflow {
+  padding: 0 5px 0 0px;
+  width: 95%;
+  overflow: hidden;
+  white-space: nowrap;
+  text-overflow: ellipsis;
+}
 
-	.student_page {
-		margin-top: 10px;
-	}
-	.course_empty {
-		width: 100%;
-		height: 800px;
-		display: flex;
-		align-items: center;
-		justify-content: center;
-	}
+.student_page {
+  margin-top: 10px;
+}
+.course_empty {
+  width: 100%;
+  height: 800px;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+}
 </style>

+ 105 - 3
src/components/study.vue

@@ -439,7 +439,7 @@
           </div>
 
           <div class="student_body">
-            <div
+            <!-- <div
               class="vedioBox"
               v-if="
                 file.length && file[taskCount] && file[taskCount].length > 0
@@ -465,7 +465,7 @@
                 </div>
               </div>
               <div class="upFile" v-if="type == 3">提交</div>
-            </div>
+            </div> -->
             <div
               class="vedioBox"
               v-if="
@@ -655,6 +655,53 @@
                       </div>
                     </div>
                   </div>
+                  <div v-if="tType && tType == 1" class="worksBox">
+                    <div class="worksBTitle">作业提交情况</div>
+                    <div style="padding-top: 15px; font-size: 18px">
+                      作业预览
+                    </div>
+                    <div class="worksDetailBox">
+                      <div class="works">
+                        <div class="workImg">
+                          <img src="../assets/icon/works/worksA.png" alt="" />
+                        </div>
+                        <div class="worksName">姓名:<span>张三</span></div>
+                      </div>
+                      <div class="works">
+                        <div class="workImg">
+                          <img src="../assets/icon/works/worksB.jpg" alt="" />
+                        </div>
+                        <div class="worksName">姓名:<span>李四</span></div>
+                      </div>
+                      <div class="works">
+                        <div class="workImg">
+                          <img src="../assets/icon/works/worksC.jpg" alt="" />
+                        </div>
+                        <div class="worksName">姓名:<span>王五</span></div>
+                      </div>
+                      <div class="works">
+                        <div class="workImg">
+                          <img src="../assets/icon/works/worksD.jpg" alt="" />
+                        </div>
+                        <div class="worksName">姓名:<span>赵六</span></div>
+                      </div>
+                    </div>
+                    <div
+                      style="
+                        padding-top: 15px;
+                        padding-bottom: 15px;
+                        border-bottom: 1px solid #eeeeee;
+                        font-size: 18px;
+                      "
+                    >
+                      未提交
+                    </div>
+                    <div class="noWorksS">
+                      <div v-for="item in 12" :key="item" class="noWorksName">
+                        李赫
+                      </div>
+                    </div>
+                  </div>
                 </div>
                 <!-- <div class="upload_toolBtn" @click="addImg($event)">
                   上传文件
@@ -1054,6 +1101,7 @@ export default {
       userid: this.$route.query.userid,
       courseTypeLine: this.$route.query.type,
       oid: this.$route.query.oid,
+      tType: this.$route.query.tType,
       courseType: 0,
       pptImgUrl: "",
       type: 1,
@@ -2171,7 +2219,7 @@ export default {
   display: flex;
   flex-wrap: wrap;
   flex-direction: column;
-  padding: 15px 0;
+  padding: 15px 0 25px;
 }
 
 .filebox .tooldetail {
@@ -2984,4 +3032,58 @@ export default {
   padding: 5px 1px 0 1px;
   overflow: auto;
 }
+.worksBox {
+  padding: 80px 0 15px 10px;
+}
+.worksBTitle {
+  font-size: 20px;
+  padding-bottom: 15px;
+  border-bottom: 1px solid #eeeeee;
+}
+.worksDetailBox {
+  display: flex;
+  width: 100%;
+  flex-direction: row;
+  flex-wrap: wrap;
+  align-items: center;
+  justify-content: flex-start;
+}
+.works {
+  padding: 15px 0px;
+  display: flex;
+  flex-direction: column;
+  flex-wrap: nowrap;
+  align-items: flex-start;
+  justify-content: flex-start;
+  align-content: center;
+  width: 20%;
+}
+.workImg {
+  width: 200px;
+  height: 140px;
+}
+.workImg > img {
+  width: 100%;
+  height: 100%;
+}
+.worksName {
+  margin: 5px 0 0 0;
+}
+.noWorksS {
+  padding: 15px 0;
+  display: flex;
+  flex-direction: row;
+  flex-wrap: wrap;
+  align-items: center;
+  justify-content: flex-start;
+}
+.noWorksName {
+  background: #efefef;
+  width: 100px;
+  height: 30px;
+  text-align: center;
+  line-height: 30px;
+  border-radius: 5px;
+  margin: 10px 15px;
+}
 </style>

Some files were not shown because too many files changed in this diff