From 08430d7dfaa2db53abc03cab8a0a6bd539e63b88 Mon Sep 17 00:00:00 2001 From: JING Date: Thu, 1 Aug 2024 18:42:06 +0800 Subject: [PATCH] 111 --- pages/index/index.vue | 8 ++++++++ pages/user/index.vue | 3 +++ pagesA/merge/index.vue | 14 ++++++++++++-- static/img/index/waiting.png | Bin 0 -> 3030 bytes 4 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 static/img/index/waiting.png diff --git a/pages/index/index.vue b/pages/index/index.vue index accaf9d..40d7a11 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -258,6 +258,14 @@ } } }, + //首页跳转到列表页 + merge(item) + { + var _this =this; + uni.navigateTo({ + url:'/pagesA/merge/index?id='+item.id+'&type='+item.type+'&ilk='+item.ilk, + }) + }, } } diff --git a/pages/user/index.vue b/pages/user/index.vue index 2ae46ef..d71ab02 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -232,6 +232,7 @@ export default { //_this.getSceneMenu(); //面部档案 _this.getPortraitList(); + _this.tabChange({index:0}); }, onReachBottom () { @@ -314,6 +315,8 @@ export default { console.log(e); _this.current = e.index; var type = _this.tabList[_this.current].type; + _this.dataList = []; + _this.page = 1; switch(type) { case 1: diff --git a/pagesA/merge/index.vue b/pagesA/merge/index.vue index cd9acf8..9783de3 100644 --- a/pagesA/merge/index.vue +++ b/pagesA/merge/index.vue @@ -149,7 +149,8 @@ - + + @@ -266,7 +267,16 @@ }, } }, - onLoad(){ + onLoad(options){ + var _this =this; + if(!_this.$com.isNull(options.id)) + { + var tabList = _this.tabList; + var this_tab = tabList.findIndex(item => item.type == options.type); + _this.this_tab = this_tab; + _this.checkHave({id:options.id,type:options.type,ilk:options.ilk},options.ilk); + } + console.log('onLoad 参数',options); this.getList(); }, diff --git a/static/img/index/waiting.png b/static/img/index/waiting.png new file mode 100644 index 0000000000000000000000000000000000000000..a0b900264272801a68f164c287e08ba336694d71 GIT binary patch literal 3030 zcmbVO3piA1AD_XXF zDz;LT5~-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