Преглед на файлове

1.样式兼容调整 2.表单提交问题修复

wangtao преди 4 месеца
родител
ревизия
4edac77fbf

+ 39 - 2
src/assets/styles/common/bootstrap.min.css

@@ -598,7 +598,7 @@ pre code {
 
 @media (min-width:1200px) {
     .container {
-        max-width: 1480px
+        max-width: 1080px
     }
 }
 
@@ -638,7 +638,34 @@ pre code {
     }
 }
 
-@media (min-width:1200px) {
+@media only screen and (min-width: 1200px) and (max-width: 1300px) {
+    .container,
+    .container-lg,
+    .container-md,
+    .container-sm,
+    .container-xl {
+        max-width: 1130px
+    }
+}
+@media only screen and (min-width: 1300px) and (max-width: 1450px) {
+    .container,
+    .container-lg,
+    .container-md,
+    .container-sm,
+    .container-xl {
+        max-width: 1220px
+    }
+}
+@media only screen and (min-width: 1450px) and (max-width: 1600px) {
+    .container,
+    .container-lg,
+    .container-md,
+    .container-sm,
+    .container-xl {
+        max-width: 1380px
+    }
+}
+@media (min-width: 1600px) {
     .container,
     .container-lg,
     .container-md,
@@ -647,6 +674,16 @@ pre code {
         max-width: 1420px
     }
 }
+/* @media  (min-width: 1900px) {
+    .container,
+    .container-lg,
+    .container-md,
+    .container-sm,
+    .container-xl {
+        max-width: 1420px
+    }
+} */
+
 
 .row {
     display: -ms-flexbox;

+ 9 - 9
src/assets/styles/common/style.css

@@ -6873,19 +6873,19 @@
 
             /* 新闻新模板 start */
 
-            .news2-box>div{
+            .job-box>div{
                      box-shadow: 0px 2px 17px 4px rgb(158 158 158 / 15%);
                      padding:10px;
 
             }
-            .news2-box .news-right-list{
+            .job-box .news-right-list{
                 padding:10px 20px 0 20px
 
             }
             .timeRight{
                 float:right
             }
-            .news2-box .news-right-list li:last-child{
+            .job-box .news-right-list li:last-child{
                 border-bottom: 0px dashed #D5D5D5;
 
             }
@@ -6896,18 +6896,18 @@
                 color:#409EFF;
                 cursor: pointer;
             }
-            .news2-box>div ul li{
+            .job-box>div ul li{
                 border-bottom: 1px dashed #D5D5D5;
                 line-height:56px;
                 color:#666666;
                 
 
             }
-            .news2-box>div ul li:hover{
+            .job-box>div ul li:hover{
                 color:#409EFF;
                 cursor: pointer;
             }
-            .news2-box>div .title{
+            .job-box>div .title{
                 font-size:18px;
                 font-weight: 400;
                 line-height:56px;
@@ -6927,7 +6927,7 @@
 
 
             @media(max-width:992px) {
-                .news2-box{
+                .job-box{
                     display:block!important
                 }
                 .news-left-list {
@@ -6954,11 +6954,11 @@
                     overflow: hidden;
                     text-overflow: ellipsis;
                 }
-                .news2-box .news-right-list{
+                .job-box .news-right-list{
                     padding:10px;
                    
                 }
-                .news2-box .title{
+                .job-box .title{
                     text-align:center
                 }
             }

+ 1 - 1
src/components/layout/dialogPersonal.vue

@@ -56,7 +56,6 @@ function ruleformNull(){
         company: '',
         consultContent: "",
     }
-    platName.value = consultationType.value[0].categoryName
 }
 function handle(type:string,e:any){
     if(type == "close"){
@@ -66,6 +65,7 @@ function handle(type:string,e:any){
     if(type == "submit"){
         proxy.$refs["form"].validate((valid:any) => {
             if (valid) {
+                ruleform.value.platName = platName.value
                 siteReview(ruleform.value).then((res:any)=>{
                     if(res?.status == "SUCCESS"){
                         ElMessage({

+ 24 - 6
src/router/index.ts

@@ -7,8 +7,8 @@ const services_Read = () => import('@/views/services/read.vue')
 const news = () => import('@/views/news/index.vue')
 const news_Read = () => import('@/views/news/read.vue')
 const about = () => import('@/views/about/index.vue')
-const news2 = () => import('@/views/news2/index.vue')
-const news2_Read = () => import('@/views/news2/read.vue')
+const job = () => import('@/views/job/index.vue')
+const job_Read = () => import('@/views/job/read.vue')
 import { createRouter, createMemoryHistory, createWebHistory } from 'vue-router'
 const routes = [
     {
@@ -87,23 +87,41 @@ const routes = [
         }
     },
     {
-        path: "/news2",
+        path: "/job",
         name: "新闻动态2",
-        component: news2,
+        component: job,
         meta: {
             title: "新闻动态2",
             keepAlive: false
         }
     },
     {
-        path: "/news2_Read",
+        path: "/job_Read",
         name: "新闻详情2",
-        component: news2_Read,
+        component: job_Read,
         meta: {
             title: "新闻详情",
             keepAlive: false
         }
     },
+    {
+        path: "/job",
+        name: "人才招聘",
+        component: job,
+        meta: {
+            title: "人才招聘",
+            keepAlive: false
+        }
+    },
+    {
+        path: "/job_Read",
+        name: "职位详情",
+        component: job_Read,
+        meta: {
+            title: "职位详情",
+            keepAlive: false
+        }
+    },
 
 ]
 

+ 4 - 4
src/store/index.ts

@@ -125,10 +125,10 @@ export const store = createStore({
                             }
                         }
                         if(data[i].categoryStyle == 6){
-                            data[i].path = "/news2"
+                            data[i].path = "/job"
                             if(data[i].children.length>0){
                                 for(let ii=0;ii<data[i].children.length;ii++){
-                                    data[i].children[ii].path = "/news2?categoryid=" + data[i].children[ii].id
+                                    data[i].children[ii].path = "/job?categoryid=" + data[i].children[ii].id
                                 }
                             }
                         }
@@ -178,10 +178,10 @@ export const store = createStore({
                 //cases页类型活动id
                 if(
                     data.params?.categoryid && (data.index == "/cases"  || 
-                    data.index == "/services") || data.index == "/news" || data.index == "/news2" || 
+                    data.index == "/services") || data.index == "/news" || data.index == "/job" || 
                     data.index == "/news_Read" && data.params.acitve ||
                     data.index == "/services_Read" && data.params.acitve||
-                    data.index == "/news2_Read" && data.params.acitve
+                    data.index == "/job_Read" && data.params.acitve
                     ){
                     commit('setAcitveId',data.params.categoryid)
                 }

+ 2 - 7
src/views/index/index.vue

@@ -61,14 +61,9 @@ export default defineComponent({
 </script>
 <template>
     <div class="pageContain">
-        <div class="video-section">
+        <section class="common-bradcrumb-section">
             <banner />
-            <div class="video-des">
-                
-            </div>
-            <!-- 下拉 -->
-            <!-- <span class="go_down" @click="go_down"></span> -->
-        </div>
+        </section>
         <!-- 主体内容 -->
         <section v-if="store.state.pageContent.length>0" style="width:100vw;">
             <div class="whyUs-section pt-60 pb-60" v-for="(arr,index) in store.state.pageContent"

+ 2 - 2
src/views/news2/index.vue → src/views/job/index.vue

@@ -60,7 +60,7 @@ export default defineComponent({
         //详情页
         function details(item:any){
             let params = {
-                path: `/news2_Read`,
+                path: `/job_Read`,
                 query: {
                     categoryid: item.categoryid,
                     id: item.id,
@@ -129,7 +129,7 @@ export default defineComponent({
 
         <section class="news-content-section pt-70"  >
             <div class="container">
-                <div style="display:flex" class="news2-box">
+                <div style="display:flex" class="job-box">
                     <div class=" news-left-list">
                         <div class="title">热门岗位</div>
                         <ul>

+ 0 - 0
src/views/news2/read.vue → src/views/job/read.vue