瀏覽代碼

update contact image

fengchang 1 年之前
父節點
當前提交
816c55d02f

+ 2 - 2
hichina-main-back/src/main/resources/application-dev.properties

@@ -26,8 +26,8 @@ backend.servicebase.url=http://localhost:9052
 spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
 spring.jackson.time-zone=Asia/Shanghai
 
-spring.servlet.multipart.max-file-size=3MB
-spring.servlet.multipart.max-request-size=3MB
+spring.servlet.multipart.max-file-size=13MB
+spring.servlet.multipart.max-request-size=13MB
 
 logging.level.org.springframework.web=DEBUG
 logging.level.org.hibernate=ERROR

+ 5 - 0
hichina-main-front/src/router/index.js

@@ -121,6 +121,11 @@ const constantRoutes = [
         name: 'login',
         component: () => import('@/views/login')
       },
+      {
+        path: '/survey',
+        name: 'survey',
+        component: () => import('@/views/survey')
+      },
     ]
   }
 ]

+ 1 - 1
hichina-main-front/src/views/contact/index.vue

@@ -8,7 +8,7 @@
     <div class="center-text subtitle">our co-workers will will response ASAP</div>
     <h2 class="center-text contact-us">Also, add us on Wechat/WhatsAPP!</h2>
     <div class="center-text">
-      <v-lazy-image src="https://photoprism.hichinatravel.com/api/v1/t/f62b1535514a0ce49a5ddb32d3d98edf93094606/32mcf2k4/fit_1280" alt="" />
+      <v-lazy-image src="https://photoprism.hichinatravel.com/api/v1/t/d68ee79239386b14869f548a423de4bcc7e3cb31/32mcf2k4/fit_2048" alt="" />
     </div>
 
   </div>

+ 40 - 0
hichina-main-front/src/views/survey/index.vue

@@ -0,0 +1,40 @@
+<template>
+  <div>
+    <Survey :survey="survey" />
+  </div>
+</template>
+
+<script setup>
+  import 'survey-core/defaultV2.min.css';
+  import { Survey } from 'survey-vue-ui';
+  import { Model } from 'survey-core';
+
+  const surveyJson = {
+    elements: [{
+      name: "FirstName",
+      title: "Enter your first name:",
+      type: "text"
+    }, {
+      name: "LastName",
+      title: "Enter your last name:",
+      type: "text"
+    }]
+  };
+  
+  const survey = ref({})
+  function loadSurvey() {
+     survey.value = new Model(surveyJson);
+  }
+
+
+  onMounted(() => {
+    console.log("onload survey page")
+    loadSurvey()
+  })
+
+ 
+</script>
+
+<style scoped lang="scss">
+ 
+</style>