yjryu / KERIS star
kimgkdud898 2023-10-27
231027 김하영
@1aa43d06db03bb335a330cff1729582b5f93786f
client/resources/css/Main.css
--- client/resources/css/Main.css
+++ client/resources/css/Main.css
@@ -184,7 +184,7 @@
 }
 
 .m-p-c-2 {
-  background: url(../jpg/m-2.png) no-repeat;
+  background: url(../jpg/main-pu.png) no-repeat;
   background-size: cover;
 
   z-index: 1;
@@ -216,18 +216,19 @@
   width: 100%;
   padding-bottom: 2.8rem;
 }
-.m-p-c-3 div img {
-  width: 150px !important;
+.m-p-c-4 div img {
+  width: 110px !important;
   text-align: center;
   margin: 0 auto;
-  padding-top: 5rem;
+  padding-top: 6rem;
   padding-bottom: 2.5rem;
 }
 
 .m-p-c-2 div img,
-.m-p-c-4 div img,
+.m-p-c-3 div img,
+/* .m-p-c-4 d/iv img, */
 .m-p-c-5 div img {
-  width: 60px !important;
+  width: 80px !important;
   text-align: center;
   margin: 0 auto;
   padding-top: 5rem;
@@ -242,7 +243,7 @@
   background: url(../jpg/m4.png) no-repeat;
 }
 .m-p-c-5 {
-  background: url(../jpg/ki.jpg) no-repeat center center;
+  background: url(../jpg/main-pu2.png) no-repeat center center;
   background-size: cover;
 }
 
client/resources/jpg/fille.png (Binary)
--- client/resources/jpg/fille.png
+++ client/resources/jpg/fille.png
Binary file is not shown
 
client/resources/jpg/hss자산 14dfd.png (Binary) (deleted)
--- client/resources/jpg/hss자산 14dfd.png
Binary file is not shown
 
client/resources/jpg/hss자산 15dfd.png (Binary) (deleted)
--- client/resources/jpg/hss자산 15dfd.png
Binary file is not shown
 
client/resources/jpg/hss자산 16dfd.png (Binary) (deleted)
--- client/resources/jpg/hss자산 16dfd.png
Binary file is not shown
 
client/resources/jpg/hss자산 17dfd.png (Binary) (deleted)
--- client/resources/jpg/hss자산 17dfd.png
Binary file is not shown
 
client/resources/jpg/hss자산 19dfd.png (Binary) (deleted)
--- client/resources/jpg/hss자산 19dfd.png
Binary file is not shown
 
client/resources/jpg/hss자산 20dfd.png (Binary) (deleted)
--- client/resources/jpg/hss자산 20dfd.png
Binary file is not shown
 
client/resources/jpg/hss자산 21dfd.png (Binary) (deleted)
--- client/resources/jpg/hss자산 21dfd.png
Binary file is not shown
 
client/resources/jpg/hss자산 23dfd.png (Binary) (deleted)
--- client/resources/jpg/hss자산 23dfd.png
Binary file is not shown
 
client/resources/jpg/hss자산 2dfd.png (Binary) (deleted)
--- client/resources/jpg/hss자산 2dfd.png
Binary file is not shown
 
client/resources/jpg/hss자산 4dfd.png (Binary) (deleted)
--- client/resources/jpg/hss자산 4dfd.png
Binary file is not shown
 
client/resources/jpg/hss자산 6dfd.png (Binary) (deleted)
--- client/resources/jpg/hss자산 6dfd.png
Binary file is not shown
 
client/resources/jpg/hss자산 8dfd.png (Binary) (deleted)
--- client/resources/jpg/hss자산 8dfd.png
Binary file is not shown
 
client/resources/jpg/intro-blue.png (Binary) (added)
+++ client/resources/jpg/intro-blue.png
Binary file is not shown
 
client/resources/jpg/intro-green.png (Binary) (added)
+++ client/resources/jpg/intro-green.png
Binary file is not shown
 
client/resources/jpg/intro-skyblue.png (Binary) (added)
+++ client/resources/jpg/intro-skyblue.png
Binary file is not shown
 
client/resources/jpg/m-1.png (Binary) (deleted)
--- client/resources/jpg/m-1.png
Binary file is not shown
 
client/resources/jpg/m-2.png (Binary) (deleted)
--- client/resources/jpg/m-2.png
Binary file is not shown
 
client/resources/jpg/m-w.png (Binary) (deleted)
--- client/resources/jpg/m-w.png
Binary file is not shown
 
client/resources/jpg/main-box.png (Binary) (added)
+++ client/resources/jpg/main-box.png
Binary file is not shown
 
client/resources/jpg/main-pu.png (Binary) (added)
+++ client/resources/jpg/main-pu.png
Binary file is not shown
 
client/resources/jpg/main-pu2.png (Binary) (added)
+++ client/resources/jpg/main-pu2.png
Binary file is not shown
 
client/resources/jpg/main-pu3.png (Binary) (added)
+++ client/resources/jpg/main-pu3.png
Binary file is not shown
 
client/resources/jpg/main-pu4.png (Binary) (added)
+++ client/resources/jpg/main-pu4.png
Binary file is not shown
 
client/resources/jpg/swiper.png (Binary) (deleted)
--- client/resources/jpg/swiper.png
Binary file is not shown
 
client/resources/jpg/swiper2.png (Binary) (deleted)
--- client/resources/jpg/swiper2.png
Binary file is not shown
client/views/layout/Menu.vue
--- client/views/layout/Menu.vue
+++ client/views/layout/Menu.vue
@@ -64,7 +64,7 @@
                 },
                 {
                     text: "자료실",
-                    link: "/Guide.page",
+                    link: "/Technology.page",
                     isHovered: false,
                     subMenu: [
                         // { text: "AI 디지털교과서개발 가이드라인", link: "/Guide.page" },
client/views/pages/AppRouter.js
--- client/views/pages/AppRouter.js
+++ client/views/pages/AppRouter.js
@@ -8,11 +8,13 @@
 import Joinsub from "../pages/user/Join/Joinsub.vue";
 import Introduction from "../pages/user/introduction/Introduction.vue";
 import Technology from "../pages/user/Data/Technology.vue";
+import TechnologyDtail from "../pages/user/Data/TechnologyDtail.vue";
 import Notice from "../pages/user/community/Notice.vue";
 import News from "../pages/user/community/News.vue";
 import Info from "../pages/user/mypage/Info.vue";
 import Infosub from "../pages/user/mypage/Infosub.vue";
 import Guide from "../pages/user/Data/Guide.vue";
+import DataDtali from "../pages/user/Data/DataDtali.vue";
 
 /* 관리자 */
 import AdminMain from "../pages/admin/main/Main.vue";
@@ -33,6 +35,12 @@
   { path: "/Guide.page", name: "Guide", component: Guide },
   { path: "/Infosub.page", name: "Infosub", component: Infosub },
   { path: "/News.page", name: "News", component: News },
+  { path: "/DataDtali.page", name: "DataDtali", component: DataDtali },
+  {
+    path: "/TechnologyDtail.page",
+    name: "TechnologyDtail",
+    component: TechnologyDtail,
+  },
   /* 관리자 */
   { path: "/adm.page", name: "AdminMain", component: AdminMain },
   { path: "/adm/user.page", name: "AdminUser", component: AdminUser },
client/views/pages/user/Data/Data.vue
--- client/views/pages/user/Data/Data.vue
+++ client/views/pages/user/Data/Data.vue
@@ -26,23 +26,32 @@
                         <!-- 윗쪽 아이콘 -->
                         <div class="data-b-1 da1">
                             <p>AI 디지털교과서<br><span>정책자료</span></p>
-                            <ul>
-                                <li>· 개발 지원 정책 문서</li>
-                                <li>· 법·제도 문서 등</li>
-                            </ul>
+                            <div class="data-t">
+
+                                <p>· 개발 지원 정책 문서</p>
+                                <p>· 법·제도 문서 등</p>
+                            </div>
                         </div>
                         <div class="data-b-2 da1">
                             <p>AI 디지털교과서<br><span>연구자료</span></p>
-                            <ul>
-                                <li>· 서비스 모델, 프로토타입 연구·보고서 등</li>
-                            </ul>
+                            <div class="data-t data-t2">
+                                <p>· 서비스 모델, 프로토타입 연구·보고서 등</p>
+                            </div>
                         </div>
                         <div class="data-b-3 da1">
-                            <p>AI 디지털교과서<br><span>활용자료</span></p>
-                            <ul>
-                                <li>· API, 패키지, 프로그램 등<br> 공동개발자원 활용 가이드
-                                </li>
-                            </ul>
+                            <p>AI 디지털교과서<br><span>가이드라인</span></p>
+                            <div class="data-t">
+
+                                <div class="guide-logo-bt">
+
+                                    <a style="font-size: 15px;" class="down-btn-1"
+                                        href="https://webst.edunet.net/AIDT/AI 디지털교과서 개발 가이드라인.pdf" target='_blank'
+                                        download>
+                                        <i class="fa-solid fa-circle-down guide_i"
+                                            style="font-size: 20px; margin-right: 10px;"></i>가이드라인
+                                        다운받기</a>
+                                </div>
+                            </div>
                         </div>
                     </div>
                 </div>
@@ -75,7 +84,13 @@
                             <th>날짜</th>
                             <th>조회수</th>
 
-                            <tr>
+                            <tr v-for="(post, index) in posts" :key="post.id" @click="goToDetailPage(post.id)">
+                                <td>{{ index + 1 }}</td>
+                                <td>{{ post.title }}</td>
+                                <td>{{ post.date }}</td>
+                                <td>{{ post.views }}</td>
+                            </tr>
+                            <!-- <tr>
                                 <td>588</td>
                                 <td>[자료집] K-MOOC 마이크로러닝 강좌 개발 가이드라인</td>
                                 <td>2023/10/19</td>
@@ -123,14 +138,7 @@
                                 <td>2023/10/19</td>
                                 <td>588</td>
 
-                            </tr>
-                            <tr>
-                                <td>588</td>
-                                <td>[자료집] K-MOOC 마이크로러닝 강좌 개발 가이드라인</td>
-                                <td>2023/10/19</td>
-                                <td>588</td>
-
-                            </tr>
+                            </tr> -->
                         </table>
                     </div>
                 </div>
@@ -140,13 +148,24 @@
 </template>
 
 <script>
+
+import { useRouter } from 'vue-router';
 export default {
     data() {
         return {
+            posts: [
+                { id: 1, title: '첫 번째 게시글', date: '2023/10/19', views: 588 },
+                { id: 2, title: '두 번째 게시글', date: '2023/10/20', views: 789 },
+                { id: 3, title: '세 번째 게시글', date: '2023/10/21', views: 123 },
+
+                // 추가적인 게시글 데이터
+            ]
         }
     },
     methods: {
-
+        goToDetailPage(postId) {
+            this.$router.push('/DataDtali.page');
+        }
     },
     watch: {
 
@@ -158,4 +177,34 @@
         console.log('Data mounted');
     }
 }
-</script>
(No newline at end of file)
+</script>
+
+<style scoped>
+.data-t p {
+    width: 70%;
+    padding: 0rem 0rem 1rem 3rem !important;
+
+}
+
+.data-t2 p {
+
+    padding: 0rem 0rem 0rem 0rem !important;
+    margin: 0 auto;
+}
+
+.guide-logo-bt {
+    float: right;
+    /* margin: 0 auto; */
+    font-size: 3rem;
+    width: 70%;
+    padding-right: 3rem;
+    font-family: SBaggroM;
+    text-align: right;
+
+    cursor: pointer;
+}
+
+.guide-logo-bt a {
+    color: #e07e27;
+}
+</style>
(No newline at end of file)
 
client/views/pages/user/Data/DataDtali.vue (added)
+++ client/views/pages/user/Data/DataDtali.vue
@@ -0,0 +1,124 @@
+<template>
+    <div class="w1400">
+
+        <div class="Data-dtail">
+            <section>
+
+                <h1>{{ post.title }}</h1>
+                <p>작성일: {{ post.date }}</p>
+                <p>조회수: {{ post.views }}</p>
+            </section>
+
+            <section class="dtail-ing">
+
+                <div>{{ post.content }}</div>
+                <div>
+                    <i class="fa-regular fa-heart fa-lg" style="color: #3f87f7;"></i>
+                    {{ post.pick }}
+                </div>
+            </section>
+
+            <section class="dtail-button">
+
+                <button @click="uploadFile">파일 업로드</button>
+                <input type="file" @change="handleFileUpload" />
+            </section>
+
+
+            <section class="dtail-navigation">
+                <button v-if="previousPostId" @click="navigateToPreviousPost">이전글</button>
+                <button v-if="nextPostId" @click="navigateToNextPost">다음글</button>
+            </section>
+            <!-- <hr> -->
+        </div>
+    </div>
+</template>
+  
+<script>
+export default {
+    data() {
+        return {
+            post: {}
+        };
+    },
+    mounted() {
+        // 게시글 데이터를 가져오는 로직을 구현해야 합니다.
+        const postId = this.$route.params.id;
+        this.fetchPostData(postId);
+    },
+    methods: {
+        fetchPostData(postId) {
+            // postId를 기반으로 게시글 데이터를 가져오는 비동기 요청을 처리합니다.
+            // 예를 들어, API를 호출하거나 데이터베이스에서 데이터를 조회하는 로직을 작성합니다.
+            // 이 예시에서는 더미 데이터를 사용합니다.
+            const dummyData = {
+                id: postId,
+                title: '	[공유] AI 디지털교과서 개발 가이드라인 설명회 발표자료(230907)',
+                date: '2023/10/27',
+                views: 1234,
+                content: '안녕하세요. 한국교육학술 정보원입니다. 9.7(목) 진행한 AI디저털교과서 개발 가이드라인 설명회의 발표자료를 공유드립니다. 감사합니다',
+                pick: '155'
+            };
+            this.post = dummyData;
+        }
+
+    }
+}
+</script>
+
+<style scoped>
+section {
+    border-bottom: 1px solid #007aff;
+}
+
+.Data-dtail {
+    width: 100%;
+    /* border: 1px solid red; */
+    padding: 12rem 3rem;
+}
+
+.Data-dtail section:nth-child(1) {
+    border-top: 1px solid #007aff;
+
+}
+
+.Data-dtail section:nth-child(1) {
+    display: grid;
+    grid-template-columns: 70% 15% 15%;
+}
+
+.Data-dtail section:nth-child(3) {
+    padding: 3rem;
+    font-size: 1.7rem;
+}
+
+.Data-dtail h1 {
+    padding: 3rem;
+}
+
+.Data-dtail p {
+    font-size: 1.5rem;
+    padding: 4rem 0rem 0rem 4rem;
+    /* border: 1px solid red; */
+}
+
+.dtail-ing {
+    padding: 3rem;
+    height: 50rem;
+    display: grid;
+    grid-template-columns: 1fr;
+    align-content: space-between;
+}
+
+.dtail-ing div {
+    font-size: 1.7rem;
+}
+
+.dtail-button {
+    padding: 3rem;
+}
+
+hr {
+    border: 0.5px solid #007aff;
+}
+</style>(No newline at end of file)
client/views/pages/user/Data/Guide.vue
--- client/views/pages/user/Data/Guide.vue
+++ client/views/pages/user/Data/Guide.vue
@@ -3,7 +3,6 @@
         <div class="w1400">
             <div class="guide-bos">
                 <section class="guide-logo page-logo">
-                    <!-- <img src="../../../../resources/jpg/info-logo.png" alt=""> -->
 
                     <h1>AI 디지털교과서 개발 가이드라인</h1>
                     <div class="guide-logo-bt">
@@ -61,7 +60,6 @@
 
 .guide-logo {
     width: 100%;
-    /* padding: 6rem; */
     display: grid;
     grid-template-columns: 80% 20%;
 }
@@ -71,7 +69,6 @@
     margin: 0 auto;
     padding: 1.5rem;
     border-radius: 2rem;
-    /* width: 20%; */
     text-align: center;
 }
 
client/views/pages/user/Data/Technology.vue
--- client/views/pages/user/Data/Technology.vue
+++ client/views/pages/user/Data/Technology.vue
@@ -220,7 +220,7 @@
 .tech-box-sec {
     padding: 2rem;
     /* border-radius: 2rem; */
-    background-color: #ffff;
+    background-color: #f9f9f9;
     box-shadow: 2px 2px 5px rgba(191, 191, 191, 0.447);
     /* border: 1px solid rgb(191, 191, 191); */
 }
@@ -278,6 +278,7 @@
         width: 90%;
         grid-template-columns: 1fr;
     }
+
 }
 
 @media all and (min-width: 480px) and (max-width: 767px) {
@@ -294,6 +295,7 @@
 
     .tech-bos {
         width: 90%;
+        gap: 1rem;
         grid-template-columns: 1fr 1fr;
     }
 }
 
client/views/pages/user/Data/TechnologyDtail.vue (added)
+++ client/views/pages/user/Data/TechnologyDtail.vue
@@ -0,0 +1,27 @@
+<template>
+    <div class="w1400">
+
+    </div>
+</template>
+
+<script>
+export default {
+    data() {
+        return {
+        }
+    },
+    methods: {
+
+    },
+    watch: {
+
+    },
+    computed: {
+
+    },
+    mounted() {
+        console.log('Technology mounted');
+    }
+}
+</script>
+
client/views/pages/user/community/News.vue
--- client/views/pages/user/community/News.vue
+++ client/views/pages/user/community/News.vue
@@ -233,6 +233,43 @@
 
     text-align: right;
 }
+
+
+@media all and (max-width: 479px) {
+    .news-bos {
+        grid-template-columns: 1fr;
+
+    }
+
+    .new-logo {
+        width: 100%;
+        text-align: center;
+
+    }
+
+    .new-logo img {
+        margin: 0 auto;
+        text-align: center;
+    }
+}
+
+@media all and (min-width: 480px) and (max-width: 767px) {
+    .news-bos {
+        grid-template-columns: 1fr 1fr;
+
+    }
+
+    .new-logo {
+        width: 100%;
+        text-align: center;
+
+    }
+
+    .new-logo img {
+        margin: 0 auto;
+        text-align: center;
+    }
+}
 </style>
 
 
client/views/pages/user/community/Notice.vue
--- client/views/pages/user/community/Notice.vue
+++ client/views/pages/user/community/Notice.vue
@@ -140,10 +140,6 @@
     padding: 3rem;
 }
 
-.noti-sec-table {
-    /* padding: 0 0 8rem 0; */
-}
-
 .noti-sec-table table {
     background-color: white;
     border-bottom: 1px solid #cccccc;
client/views/pages/user/introduction/Introduction.vue
--- client/views/pages/user/introduction/Introduction.vue
+++ client/views/pages/user/introduction/Introduction.vue
@@ -9,11 +9,24 @@
                     <hr>
                 </section>
 
-                <section class="intro-img">
-                    <div>
-                        <img src="../../../../resources/jpg/intro.png" alt="">
-                    </div>
+                <section class="intro-text">
+                    <h3>AI 디지털교과서 통합지원센터 소개</h3>
+                    <p><i class="fa-solid fa-circle fa-2xs"></i>양질의 AI 디지털교과서 개발을 위한 기술 표준과 정책을 연구합니다.</p>
+                    <p><i class="fa-solid fa-circle fa-2xs"></i>개발사 간의 소통하고 협력적인 동반관계를 형성할 수 있도록 네트워킹을 지원합니다.</p>
+                    <p><i class="fa-solid fa-circle fa-2xs"></i>민간 개발사가 개발하는 AI 디지털교과서와 공공에서 제공하는 서비스 간의 원활한 연계 체계를 지원합니다.
+                    </p>
+                    <p><i class="fa-solid fa-circle fa-2xs"></i>AI 디지털교과서 모델과 적용 가능한 최신 기술 동향 정보를 제공합니다. </p>
+                    <p><i class="fa-solid fa-circle fa-2xs"></i>지속적인 AI 디지털교과서 운영 현황 분석 및 개선 방안 도출을 통해 AI 디지털교과서 활용·활성화를
+                        촉진합니다. </p>
                 </section>
+
+                <section class="intro-img">
+                    <img src="../../../../resources/jpg/intro-blue.png" alt="">
+                    <img src="../../../../resources/jpg/intro-green.png" alt="">
+                    <img src="../../../../resources/jpg/intro-skyblue.png" alt="">
+                </section>
+
+
             </div>
         </div>
     </div>
@@ -41,11 +54,6 @@
 </script>
 
 <style scoped>
-div {
-    width: 100%;
-    background-color: white;
-}
-
 .intro {
     width: 100%;
     padding: 6rem;
@@ -63,6 +71,101 @@
     font-weight: 500;
     color: #2c407f;
 }
+
+.intro-text {
+    padding: 3rem;
+}
+
+.intro-text h3 {
+    padding: 1rem 1rem 3rem;
+    font-size: 2rem;
+    color: #00335a;
+    font-family: "Pretendard-Regular";
+
+}
+
+.intro-text i {
+    padding: 1rem;
+    color: #00335a;
+    font-family: "Pretendard-Regular";
+
+
+}
+
+.intro-text p {
+    padding: 1rem;
+    font-size: 1.5rem;
+    color: #00335a;
+    font-family: "Pretendard-Regular";
+
+
+}
+
+.intro-img {
+    padding: 3rem;
+    display: grid;
+    gap: 0;
+    grid-template-columns: 1fr 1fr 1fr;
+}
+
+.intro-img img:nth-child(2) {
+    transform: translateY(-4.8rem);
+}
+
+.intro-img img:nth-child(3) {
+    transform: translateY(-9.7rem);
+}
+
+@media all and (max-width: 479px) {
+
+    .intro {
+        width: 100%;
+        padding: 3rem;
+
+    }
+
+    .intro-logo {
+        width: 100%;
+    }
+
+    .intro-text {
+        width: 100%;
+        padding: 2rem;
+    }
+
+    .intro-img {
+        grid-template-columns: 1fr;
+    }
+
+}
+
+@media all and (min-width: 480px) and (max-width: 767px) {
+    .intro {
+        width: 100%;
+        padding: 3rem;
+
+    }
+
+    .intro-logo {
+        width: 100%;
+    }
+
+    .intro-text {
+        width: 100%;
+        padding: 2rem;
+    }
+
+    .intro-img {
+        grid-template-columns: 1fr;
+    }
+}
+
+@media all and (min-width: 767px) and (max-width: 1023px) {
+
+    .intro-img {
+        grid-template-columns: 1fr;
+    }
+}
 </style>
 
 
client/views/pages/user/main/Main.vue
--- client/views/pages/user/main/Main.vue
+++ client/views/pages/user/main/Main.vue
@@ -86,27 +86,27 @@
                                 <div class="m-p-c-2">
                                     <div>
                                         <img src="../../../../resources/jpg/fille.png" alt="">
-                                        <input type="button" value="매칭서비스" class="m-p-ai">
+                                        <input type="button" value="네트워킹" class="m-p-ai">
 
                                     </div>
                                 </div>
                                 <div class="m-p-c-3">
                                     <div>
-                                        <img src="../../../../resources/jpg/m-p-ai2.png" alt="">
-                                        <input type="button" value="자료집" class="m-p-ai">
+                                        <img src="../../../../resources/jpg/main-box.png" alt="">
+                                        <input type="button" value="가이드라인" class="m-p-ai">
 
                                     </div>
                                 </div>
                                 <div class="m-p-c-4">
                                     <div>
-                                        <img src="../../../../resources/jpg/m-p-ai.png" alt="">
-                                        <input type="button" value="AI 디지털교과서 정책소개 다운" class="m-p-ai">
+                                        <img src="../../../../resources/jpg/main-pu4.png" alt="">
+                                        <input type="button" value="자료집" class="m-p-ai">
 
                                     </div>
                                 </div>
                                 <div class="m-p-c-5">
                                     <div>
-                                        <img src="../../../../resources/jpg/ki-i.png" alt="">
+                                        <img src="../../../../resources/jpg/main-pu3.png" alt="">
                                         <input type="button" value="기술문서" class="m-p-ai">
 
                                     </div>
Add a comment
List