英文版本配置,部分报错问题修复

This commit is contained in:
2025-08-14 14:41:36 +08:00
parent 79d755fbad
commit de8e81a5e2
19 changed files with 188 additions and 187 deletions

View File

@ -1,6 +1,6 @@
<template>
<view class="search">
<img src="/static/aidex/images/search.png" class="filterImg">
<image src="/static/aidex/images/search.png" class="filterImg"></image>
<u-input v-model="dec" style="width: 100%" type="text" :placeholder="placeholder" :clearable="false" @blur="blur" />
<view class="shaixuan" @click="open" id="search">
<text style="white-space: nowrap">{{ $t('homePage.alarm.sift') }}</text>

View File

@ -16,7 +16,7 @@
<view class="chart-box">
<zero-loading v-if="chartLoading"></zero-loading>
<charts v-else-if="!chartLoading && valData.length" :id="'historyChart'" :options="history_option"></charts>
<view v-else-if="!chartLoading && !valData.length" class="empty">{{this.$t('homePage.home.noData')}}</view>
<view v-else-if="!chartLoading && !valData.length" class="empty">{{$t('homePage.home.noData')}}</view>
</view>
</view>
</view>
@ -123,7 +123,7 @@ export default {
resolve();
})
.catch((err) => {
reject("错误");
reject("error");
});
});
},

View File

@ -1,10 +1,10 @@
<template>
<view class="search" >
<img src="/static/aidex/images/search.png" class="filterImg">
<image src="/static/aidex/images/search.png" class="filterImg"></image>
<u-input v-model="dec" style="width:100%;" type="text" :placeholder="this.$t('homePage.device.inputNameQuery')" :clearable='false'/>
<u-input v-model="dec" style="width:100%;" type="text" :placeholder="$t('homePage.device.inputNameQuery')" :clearable='false'/>
<view class="shaixuan" id="search">
<u-button @click="search" size="mini" shape="circle" :custom-style="{backgroundColor:'#009458',color:'#FFFFFF'}">{{this.$t('homePage.device.query')}}</u-button>
<u-button @click="search" size="mini" shape="circle" :custom-style="{backgroundColor:'#009458',color:'#FFFFFF'}">{{$t('homePage.device.query')}}</u-button>
</view>
<!-- <input type="text" :value="dec" :input-align="right" placeholder="请输入告警内容筛选"/> -->
<!-- <view class="proper" v-if="show_" id="popup">