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/offline.vue | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/pages/basics/offline.vue b/pages/basics/offline.vue index fe45e1f..196e8be 100644 --- a/pages/basics/offline.vue +++ b/pages/basics/offline.vue @@ -34,7 +34,7 @@ </view> </view> <view class="square-none" v-show="matList.length === 0"> - <view class="v-show">鏆傛棤鏇村鏁版嵁...</view> + <view class="v-show">袧械褌 写芯锌芯谢薪懈褌械谢褜薪褘褏 写邪薪薪褘褏...</view> </view> <checkbox-group> <view v-for="(item,index) in matList" :key="index" class="data-list bg-false" > @@ -50,10 +50,10 @@ </scroll-view> <view class="footer flex justify-around"> <view> - <button class="cu-btn lg" @click="resst()">閲嶇疆</button> + <button class="cu-btn lg" @click="resst()">小斜褉芯褋</button> </view> <view> - <button class="cu-btn lg pakin-btn bg-blue" @click="comb()">缁勬墭</button> + <button class="cu-btn lg pakin-btn bg-blue" @click="comb()">袚褉褍锌锌懈褉芯胁泻邪 锌芯写写芯薪芯胁</button> </view> </view> <view> @@ -95,6 +95,7 @@ export default { data() { return { + commonUrl:null, barcode: '', barcodeFocus:true, focus:false, @@ -121,8 +122,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 + }, focuss() { // uni.hideKeyboard() }, @@ -202,7 +210,7 @@ } uni.showLoading(); uni.request({ - url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + '/mobile/pack/comb/auth', + url: that.commonUrl + '/mobile/pack/comb/auth', data: JSON.stringify({ barcode: that.barcode, combMats: that.matList @@ -244,7 +252,7 @@ findMat() { let that = this uni.request({ - url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + '/mobile/pack/get/auth', + url: that.commonUrl + '/mobile/pack/get/auth', data: { barcode: that.matNo }, -- Gitblit v1.9.1