From bad10e1f9e91992e5b8f9bed7892dca4c2db7181 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期一, 14 四月 2025 16:54:40 +0800 Subject: [PATCH] 界面翻译为俄语 --- pages/basics/stockQuery.vue | 30 +++++++++++++++++++----------- 1 files changed, 19 insertions(+), 11 deletions(-) diff --git a/pages/basics/stockQuery.vue b/pages/basics/stockQuery.vue index 8a5353d..93b0d40 100644 --- a/pages/basics/stockQuery.vue +++ b/pages/basics/stockQuery.vue @@ -5,7 +5,7 @@ <view class="searchBox"> <view class="searchIcon"><uni-icons type="search" size="20" color="#dadada"></uni-icons></view> <view class="searchArea"> - <input v-model="locNo" type="text" placeholder=" 搴撲綅鍙�" @input="searchByLoc" placeholder-style="line-height: 85rpx;"></view> + <input v-model="locNo" type="text" placeholder=" 袧芯屑械褉 屑械褋褌邪" @input="searchByLoc" placeholder-style="line-height: 85rpx;"></view> <view class="closeIcon"><uni-icons type="closeempty" size="20" color="#dadada" @click="removeLocNo"></uni-icons></view> </view> </view> @@ -14,7 +14,7 @@ <view class="searchBox"> <view class="searchIcon"><uni-icons type="search" size="20" color="#dadada"></uni-icons></view> <view class="searchArea"> - <input v-model="matnr" type="text" placeholder=" 鍟嗗搧缂栫爜" @input="searchByMatnr" placeholder-style="line-height: 85rpx;"></view> + <input v-model="matnr" type="text" placeholder=" 袩芯 褍屑芯谢褔邪薪懈褞" @input="searchByMatnr" placeholder-style="line-height: 85rpx;"></view> <view class="closeIcon"><uni-icons type="closeempty" size="20" color="#dadada" @click="removeMatnr"></uni-icons></view> </view> </view> @@ -22,7 +22,7 @@ <view class="square-1"> <view class="square-title"> <view class="title-sign"><view class="sign"></view></view> - <view class="title-text"><text>鍟嗗搧鍒楄〃</text></view> + <view class="title-text"><text>小锌懈褋芯泻褌芯胁邪褉芯胁</text></view> </view> </view> <!-- 鍟嗗搧鍒楄〃 --> @@ -48,11 +48,11 @@ <checkbox :value="item.id+''" :checked="item.checked" style="display: block;" /> </label> <view class="data-list-left"> - <view class="matnr"><text style="width: 700rpx;">缂栫爜锛歿{item.matnr}}</text></view> - <view><text style="width: 700rpx;">鍝佸悕锛歿{item.maktx}}</text></view> - <view><text style="width: 700rpx;">鎵瑰彿锛歿{item.batch}}</text></view> + <view class="matnr"><text style="width: 700rpx;">袣芯写 褌芯胁邪褉邪锛歿{item.matnr}}</text></view> + <view><text style="width: 700rpx;">袧邪懈屑械薪芯胁邪薪懈械 褌芯胁邪褉邪锛歿{item.maktx}}</text></view> + <view><text style="width: 700rpx;">袧芯屑械褉 锌邪褉褌懈懈锛歿{item.batch}}</text></view> <view> - <text style="width: 700rpx;">鏁伴噺锛歿{item.anfme}}</text> + <text style="width: 700rpx;">袣芯谢懈褔械褋褌胁芯锛歿{item.anfme}}</text> </view> </view> <view class="data-list-right"> @@ -64,7 +64,7 @@ </checkbox-group> <!-- 鏃犳暟鎹樉绀� --> <view class="square-none" v-show="matList.length === 0"> - <view class="v-show">鏆傛棤鏇村鏁版嵁...</view> + <view class="v-show">袧械褌 写芯锌芯谢薪懈褌械谢褜薪褘褏 写邪薪薪褘褏...</view> </view> </view> </template> @@ -73,7 +73,8 @@ export default { data () { return { - matList: [], + commonUrl:null, + matList: [{}], locNo: null, matnr: null @@ -84,8 +85,15 @@ this.baseIP = UIP; const UPORT = uni.getStorageSync('UPORT'); this.basePORT = UPORT + const PROJ = uni.getStorageSync('UPROJ'); + this.baseUrl = PROJ + this.getUrl() }, methods: { + // 鑾峰彇url + getUrl() { + this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" +this.baseUrl + }, checkbox: function () { }, @@ -100,7 +108,7 @@ request() { let that = this uni.request({ - url:that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + '/locDetl/list/auth', + url:that.commonUrl + '/locDetl/list/auth', header:{'token':uni.getStorageSync('token')}, data: { curr: 1, @@ -119,7 +127,7 @@ console.log(that.matList) } else { uni.showToast({ - title: "鏆傛棤鏇村鏁版嵁", + title: "鍙嶉��</text>", position: 'top', duration: 1000 }); -- Gitblit v1.9.1