update i18n

This commit is contained in:
2023-07-17 15:47:45 +08:00
parent 2bc08f4a39
commit 1f3f9d7b31
94 changed files with 1215 additions and 478 deletions

View File

@ -55,7 +55,14 @@
</template>
<script setup>
import { defineComponent, getCurrentInstance, onMounted, reactive } from "vue";
import {
defineComponent,
getCurrentInstance,
onMounted,
reactive,
ref,
shallowRef,
} from "vue";
import {
countExpertByArea,
countExpertByCity,
@ -243,7 +250,7 @@ onMounted(() => {
};
state.district = new AMap.DistrictSearch(state.opts); //注意:需要使用插件同步下发功能才能这样直接使用
state.district.search("中国", (status, result) => {
if (status == "complete") {
if (status === "complete") {
getData(result.districtList[0], "", 100000);
}
});
@ -254,7 +261,7 @@ function goBack() {
state.isShowGoBack = false;
loading.value = true;
state.district.search("中国", async (status, result) => {
if (status == "complete") {
if (status === "complete") {
await getData(result.districtList[0], "", 100000);
// snapTree.value = formatData(treeData.count);
snapTree.value = treeData.count;

View File

@ -63,6 +63,7 @@ import {
countDemandByProvince,
countDemandByCity,
countDemandByArea,
banner,
} from "@/api/website/home/index";
import RegionPagine from "./RegionPagine.vue";
import { useI18n } from "vue-i18n";
@ -174,6 +175,7 @@ const state = reactive({
loading: false,
isShowGoBack: false,
nameType: "",
banner: "",
// cityName: "中国",
cityName: "china",
areaCode: 10000,
@ -460,6 +462,7 @@ function loadMap(mapName, data) {
width: 100%;
height: 100%;
position: relative;
background: linear-gradient(0deg, #010101, #041744);
.tit {
position: absolute;
@ -467,16 +470,16 @@ function loadMap(mapName, data) {
width: 100%;
text-align: center;
font-size: 36px;
font-family: Source Han Sans CN;
font-family: Source Han Sans CN, sans-serif;
font-weight: 300;
color: #333333;
color: #fff;
}
}
.map {
width: 100%;
height: 100%;
// background-image: url(./img/lightEffect.png);
background-image: url(./img/lightEffect.png);
background-size: 644px 272px;
background-repeat: no-repeat;
background-position: center top;
@ -523,21 +526,21 @@ function loadMap(mapName, data) {
min-width: 200px;
max-height: 256px;
// overflow: hidden;
border: 1px solid #dcdcdc;
color: #666666;
border: 1px solid #0054ff;
color: rgba(161, 192, 255, 1);
& > div {
display: flex;
}
.head {
border-bottom: 1px solid #dcdcdc;
color: #333333;
border-bottom: 1px solid #0054ff;
color: #ffffff;
}
.a {
flex: 1;
border-right: 1px solid #dcdcdc;
border-right: 1px solid #0054ff;
text-align: center;
line-height: 42px;
overflow: hidden;