From 162b3abda98bf6c33d60e0846b54febade343274 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期五, 11 四月 2025 17:01:19 +0800 Subject: [PATCH] 界面翻译为俄语 --- pages/basics/matSelect.vue | 23 ++++++++++------------- 1 files changed, 10 insertions(+), 13 deletions(-) diff --git a/pages/basics/matSelect.vue b/pages/basics/matSelect.vue index de4aeff..d3bfd3e 100644 --- a/pages/basics/matSelect.vue +++ b/pages/basics/matSelect.vue @@ -4,17 +4,17 @@ <view class="search-box"> <view class="search-area"> <view class="search-icon"><uni-icons type="search" size="25" color="#a5a5a5"></uni-icons></view> - <input type="text" v-model="condition" placeholder="璇疯緭鍏ュ晢鍝佺紪鐮� / 鍚嶇О"/> + <input type="text" v-model="condition" placeholder="袩芯卸邪谢褍泄褋褌邪, 胁胁械写懈褌械 泻芯写 褌芯胁邪褉邪 / 薪邪蟹胁邪薪懈械."/> <view class="close-icon" @click="reset()"><uni-icons type="closeempty" size="25" color="#a5a5a5"></uni-icons></view> </view> - <view class="search-btn"><button @click="search(condition)" class="cu-btn bg-blue">鎼滅储</button></view> + <view class="search-btn"><button @click="search(condition)" class="cu-btn bg-blue">袩芯懈褋泻</button></view> </view> <checkbox-group @change="checkbox"> <label v-for="(item,index) in tag" :key="index" class="demo-list bg-false" @click="showTag(item.id)"> <view class="demo-list-right"> <view class="tag"> - <view class="cu-tag bg-blue ">褰掔被</view> + <view class="cu-tag bg-blue ">袣谢邪褋褋懈褎懈泻邪褑懈褟</view> </view> <view class="order-ditel"><text class="orderNo">{{item.name}}</text></view> @@ -29,8 +29,9 @@ <view class="tag"> <view class="cu-tag bg-cyan ">鍟嗗搧</view> </view> - <view class="matnr"><text style="width: 400rpx;">{{item.matnr}}</text></view> - <view class="matnr"><text style="width: 400rpx;">{{item.maktx}}</text></view> + <view class="matnr" style="font-size: 16px;"><text style="min-width: 400rpx;font-size: 12px;">{{item.matnr}}</text></view> + <view class="matnr" style="font-size: 16px;"><text style="min-width: 400rpx;font-size: 12px;">{{item.maktx}}</text></view> + <view class="matnr" style="font-size: 16px;"><text style="min-width: 400rpx;font-size: 12px;">{{item.specs}}</text></view> </view> </label> </checkbox-group> @@ -46,10 +47,6 @@ condition:null, tag: [], data: [], - baseHttp:'http://', - baseIP:'', - basePORT:'', - baseUrl:'/lywms' } }, onLoad() { @@ -58,7 +55,7 @@ const eventChannel = this.getOpenerEventChannel(); // 鐩戝惉acceptDataFromOpenerPage浜嬩欢锛岃幏鍙栦笂涓�椤甸潰閫氳繃eventChannel浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹� - eventChannel.on('acceptDataFromOpenerPage', function(data) { + eventChannel.on('commonUrl', function(data) { that.commonUrl = data.commonUrl that.showTag(1) }) @@ -154,7 +151,6 @@ return; } uni.request({ - // url: "http://localhost:8081/jkwms/mat/list/pda/auth", url: that.commonUrl + '/mat/list/pda/auth', data: { tagId: tagId @@ -164,6 +160,7 @@ 'token':uni.getStorageSync('token'), }, success(result) { + console.log(result) that.tag = null var res = result.data if (res.code === 200) { @@ -241,7 +238,7 @@ .search-area { display: inline-block; background-color: #F1F1F1; - width: 75%; + width: 70%; height: 70%; margin: 15rpx; border-radius: 15rpx; @@ -285,7 +282,7 @@ } .demo-list { border-bottom: 1px solid #d8d8d8; - height: 180rpx; + height: 220rpx; margin: 15rpx; border-radius: 20rpx; } -- Gitblit v1.9.1