diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue
index 4ca1156..defe01d 100644
--- a/src/components/ImageUpload/index.vue
+++ b/src/components/ImageUpload/index.vue
@@ -22,7 +22,18 @@
-
+
+
+ Пожалуйста, загрузите файл
+
+ размером не более {{ fileSize }}МБ
+
+
+ в формате {{ fileType.join("/") }}
+
+
+
+
请上传
大小不超过 {{ fileSize }}MB
@@ -36,7 +47,7 @@
import { getToken } from "@/utils/auth";
+import { useI18n } from "vue-i18n";
+const { locale, t } = useI18n();
const props = defineProps({
modelValue: [String, Object, Array],
// 图片数量限制
diff --git a/src/components/WebsiteHeader/index.vue b/src/components/WebsiteHeader/index.vue
index b84debf..897e560 100644
--- a/src/components/WebsiteHeader/index.vue
+++ b/src/components/WebsiteHeader/index.vue
@@ -29,9 +29,13 @@
:class="
pagePath == `/solution/${item.id}` ? 'x_blue _active' : ''
"
- @click="handlePath(`/solution/${item.id}?name=${item.name}`)"
+ @click="
+ handlePath(
+ `/solution/${item.id}?name=${item[solutionNameField]}`
+ )
+ "
>
- {{ item.name }}
+ {{ item[solutionNameField] }}
+
+
+
+
+
+
{{ t("admin.common.delete") }}
diff --git a/src/views/admin/enterprise/account/bill.vue b/src/views/admin/enterprise/account/bill.vue
index da7081b..fd37bb6 100644
--- a/src/views/admin/enterprise/account/bill.vue
+++ b/src/views/admin/enterprise/account/bill.vue
@@ -190,6 +190,13 @@
>
-->
+
+
+
+
-
-
+
+
+
- {{ t("tips.moveToDraftBox") }}
-
+ -->
diff --git a/src/views/admin/expert/demand/think.vue b/src/views/admin/expert/demand/think.vue
index 3094be4..f3528aa 100644
--- a/src/views/admin/expert/demand/think.vue
+++ b/src/views/admin/expert/demand/think.vue
@@ -108,6 +108,21 @@
:placeholder="t('admin.form.defaultExpertPhone')"
/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -203,11 +221,11 @@ const rules = reactive({
// },
],
idCard: [
- {
- required: true,
- message: computed(() => t("admin.form.placeholder")),
- trigger: "blur",
- },
+ // {
+ // required: true,
+ // message: computed(() => t("admin.form.placeholder")),
+ // trigger: "blur",
+ // },
],
wordAddress: [
{
@@ -224,25 +242,25 @@ const rules = reactive({
},
],
"idImage.0": [
- {
- required: true,
- message: computed(() => t("admin.validation.pleaseUpload")),
- trigger: ["blur", "change"],
- },
+ // {
+ // required: true,
+ // message: computed(() => t("admin.validation.pleaseUpload")),
+ // trigger: ["blur", "change"],
+ // },
],
"idImage.1": [
- {
- required: true,
- message: computed(() => t("admin.validation.pleaseUpload")),
- trigger: ["blur", "change"],
- },
+ // {
+ // required: true,
+ // message: computed(() => t("admin.validation.pleaseUpload")),
+ // trigger: ["blur", "change"],
+ // },
],
"idImage.2": [
- {
- required: true,
- message: computed(() => t("admin.validation.pleaseUpload")),
- trigger: ["blur", "change"],
- },
+ // {
+ // required: true,
+ // message: computed(() => t("admin.validation.pleaseUpload")),
+ // trigger: ["blur", "change"],
+ // },
],
certificatePics: [
{
diff --git a/src/views/components/EnterpriseForm/index.vue b/src/views/components/EnterpriseForm/index.vue
index 33a3c2b..322bb53 100644
--- a/src/views/components/EnterpriseForm/index.vue
+++ b/src/views/components/EnterpriseForm/index.vue
@@ -45,21 +45,13 @@
+
+
@@ -67,6 +59,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- {{ item.title }}
+ {{ item[titleField] }}
@@ -39,12 +39,25 @@ import webFooter from "@/components/webFooter/index.vue";
import request from "@/utils/request";
import { banner } from "@/api/website/home/index";
import { getAboutList } from "../../../api/website/aboutUs";
+import { useI18n } from "vue-i18n";
+import { computed, onMounted, reactive, ref } from "vue";
+
+const { t, locale } = useI18n();
+const titleField = computed(() => {
+ return locale.value === "zh" ? "title" : `${locale.value}Title`;
+});
+
+const contentField = computed(() => {
+ return locale.value === "zh" ? "content" : `${locale.value}Content`;
+});
+
function about() {
return request({
url: "/v1/sys/about",
method: "get",
});
}
+
const loading = ref(true);
const state = reactive({
data: [],
@@ -74,9 +87,11 @@ function getData() {
loading.value = false;
});
}
+
onMounted(() => {
getData();
});
+
function handleActive(id) {
kindId.value = id;
}
@@ -85,13 +100,16 @@ function handleActive(id) {