Compare commits

..

No commits in common. '750fe27bb950e336e2c966d291d2b51c6acdd9f4' and '57670bb7c7aac84479950d70bf1ef522a3a9cad7' have entirely different histories.

@ -107,21 +107,6 @@ class SocialController extends BaseController
$activity['imageList'] = json_decode($activity['image_list']);
unset($activity['image_list']);
switch ($param['lang']) {
case 'tw':
$activity['title'] = $activity['title1'];
break;
case 'cn':
$activity['title'] = $activity['title2'];
break;
case 'en':
$activity['title'] = $activity['title3'];
break;
default:
$activity['title'] = $activity['title1'];
break;
}
$result = $activity;
return $this->Success($result);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 MiB

@ -24,7 +24,7 @@ const props = defineProps({
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="javascript:;" @click="router.push('/')">HOME</a></li>
<template v-if="props.item.path!=''">
<li class="breadcrumb-item">{{props.item.pageName.toUpperCase()}}</li>
<li class="breadcrumb-item"><a href="javascript:;" @click="router.push(props.item.pageName)">{{props.item.pageName.toUpperCase()}}</a></li>
<li class="breadcrumb-item active" aria-current="page">{{props.item.path}}</li>
</template>
<template v-else>

@ -1,4 +1,5 @@
<script setup>
import { addContact } from '@/api/contact'
const formRef = ref(null)
@ -34,9 +35,7 @@ const submitForm = async (formEl) => {
await formEl.validate(async (valid, fields) => {
if (valid) {
let res = await useRequest('/contact/addContact',"POST",form.value);
let res = await addContact(form.value)
if (res.code === 200) {
form.value = {
company: '',
@ -64,8 +63,10 @@ const submitForm = async (formEl) => {
</div>
<div class="content">
<div>
<el-form ref="formRef" :model="form" :rules="rules" label-width="150px" class="demo-ruleForm"
label-position="top" status-icon>
<el-form ref="formRef" :model="form" :rules="rules"
label-width="150px" class="demo-ruleForm"
label-position="top"
status-icon>
<el-form-item :label="$t('Contact.company')" prop="company">
<el-input v-model="form.company" />
</el-form-item>

@ -3,17 +3,15 @@ import { getCateList } from '@/api/index.js';
import PageBanner from "@/components/PageBanner.vue";
import bannerImg from '@/assets/img/product_bg.jpg';
const { t } = useI18n();
import bannerImg from '@/assets/img/pageBanner/p3.jpg';
const route = useRoute();
const bannerObj = {
"bImg":bannerImg,
"pageName":t('products'),
"pageName":"products",
"path":"",
"title":t('products')
"title":"產品應用"
}
const activeParams = ref({

@ -29,7 +29,7 @@ const bannerObj = computed(() => {
return {
"bImg": bannerImg,
"pageName": t('news'),
"path": '',
"path": path,
"title": title
}
});

Loading…
Cancel
Save