From ba3d748f9eb65a66fca9bd74fc7796b90a0a70ae Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期五, 30 六月 2023 09:06:15 +0800 Subject: [PATCH] Merge branch 'release/v1.1.3发布' --- uniapp/pages/search/searchResult.vue | 26 ++++++++++++++++---------- 1 files changed, 16 insertions(+), 10 deletions(-) diff --git a/uniapp/pages/search/searchResult.vue b/uniapp/pages/search/searchResult.vue index 650f64e..b9ad46e 100644 --- a/uniapp/pages/search/searchResult.vue +++ b/uniapp/pages/search/searchResult.vue @@ -23,8 +23,8 @@ <view class="onlineStore-container rowCen"> <view class="onlineStoreList rowSta" v-if="!showtar || platform!='iOS'"> <block v-for="(items,index) in onlineStoreList" :key="index"> - <view class="store-items colCen" :class="storeCurrent==index?'store-items-active':''" - @click="checkstore(index)"> + <view class="store-items colCen" :class="storeCurrent==items.inde?'store-items-active':''" + @click="checkstore(items.inde)"> <view class="store-name"> {{items.name}} </view> @@ -151,24 +151,30 @@ advertPic: '', onlineStoreList: [{ name: '娣樺疂', - type: 'tb' + type: 'tb', + inde:0 }, { name: '浜笢', - type: 'jd' + type: 'jd', + inde:1 }, { name: '鎷煎澶�', - type: 'pdd' - }, - { - name: '鍞搧浼�', - type: 'wph' + type: 'pdd', + inde:2 }, { name: '鎶栭煶', - type: 'dy' + type: 'dy', + inde:4 + }, + { + name: '鍞搧浼�', + type: 'wph', + inde:3 } + ], sortList: [{ -- Gitblit v1.9.3