From 3d5efbc419d3ddff189d8d0c36cf743887d28eaa Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期一, 29 七月 2024 13:43:44 +0800 Subject: [PATCH] # --- pages/mat/matQuery.vue | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pages/mat/matQuery.vue b/pages/mat/matQuery.vue index e3713f5..3c894de 100644 --- a/pages/mat/matQuery.vue +++ b/pages/mat/matQuery.vue @@ -2,13 +2,13 @@ <view> <!-- 鎼滅储妗� --> <view class="search-bar"> - <uni-search-bar v-model="condition" placeholder=" 鎵爜 / 杈撳叆" bgColor="#EEEEEE" @confirm="search" /> + <uni-search-bar v-model="condition" placeholder=" 鎺冪⒓ / 杓稿叆" bgColor="#EEEEEE" @confirm="search" /> </view> <scroll-view> <view class="tag-list" v-for="(item,i) in tagList" :key="i" @click="showTag(item.id)"> <view class="tag"> <view style="display: flex;"> - <view class="wms-tag" :style="baColor" >鍒嗙被</view> + <view class="wms-tag" :style="baColor" >鍒嗛</view> </view> </view> <view class="tag-item">{{item.name}}</view> @@ -21,9 +21,9 @@ <view class="wms-tag" :style="baColor" >鍟嗗搧</view> </view> </view> - <view class="tag-item">鍟嗗搧缂栧彿锛� {{item.matnr}}</view> - <view class="tag-item">鍟嗗搧鍚嶇О锛� {{item.maktx ? item.maktx : '--'}}</view> - <view class="tag-item">鍟嗗搧瑙勬牸锛� {{item.specs ? item.specs : '--'}}</view> + <view class="tag-item">鍟嗗搧绶ㄨ櫉锛� {{item.matnr}}</view> + <view class="tag-item">鍟嗗搧鍚嶇ū锛� {{item.maktx ? item.maktx : '--'}}</view> + <view class="tag-item">鍟嗗搧瑕忔牸锛� {{item.specs ? item.specs : '--'}}</view> </view> </view> <uni-load-more v-show="matList.length != 0" :status="status" :icon-size="16" :content-text="contentText" /> @@ -41,14 +41,14 @@ curr:1, tag: '鍒嗙被', baColor: "background-color: #0081ff;", - desc: '鍟嗗搧缂栧彿:', + desc: '鍟嗗搧绶ㄨ櫉:', baseUrl: '', token: '', status: 'more', contentText: { - contentdown: '涓婃媺鍔犺浇鏇村', - contentrefresh: '鍔犺浇涓�', - contentnomore: '娌℃湁鏇村' + contentdown: '涓婃媺鍔犺級鏇村', + contentrefresh: '鍔犺級涓�', + contentnomore: '娌掓湁鏇村' }, // 褰撳墠tagId tagIdNow: 1 @@ -91,7 +91,6 @@ 'token':uni.getStorageSync('token'), }, success(result) { - console.log(result); var res = result.data if (res.code === 200 ) { that.matList = res.data @@ -124,6 +123,7 @@ 'token':uni.getStorageSync('token'), }, success(result) { + console.log(result); that.tagList = null that.matList = [] var res = result.data @@ -227,11 +227,11 @@ padding: 4rpx 12rpx; } .tag-item { - width: 100%; min-height: 60rpx; line-height: 2; padding-left: 50rpx; color: #606266; font-size: 14px; + word-wrap: break-word; } </style> \ No newline at end of file -- Gitblit v1.9.1