From fb1577cf51f0785cad842a1ec7748e1b723a7a5f Mon Sep 17 00:00:00 2001 From: zhengshuiqi Date: Sat, 26 Nov 2022 16:25:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DHONLIST2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 1 + components/swipers/swipers.vue | 136 +++++++++++++++++++++++++++++++++ pages.json | 9 +++ pages/account/index.vue | 2 +- pages/category/index.vue | 3 +- pages/index/index.vue | 75 ++++++++++-------- 6 files changed, 192 insertions(+), 34 deletions(-) create mode 100644 components/swipers/swipers.vue diff --git a/App.vue b/App.vue index e2799f8..207eaef 100644 --- a/App.vue +++ b/App.vue @@ -131,4 +131,5 @@ page{ overflow-x: hidden; } + diff --git a/components/swipers/swipers.vue b/components/swipers/swipers.vue new file mode 100644 index 0000000..d32cfdb --- /dev/null +++ b/components/swipers/swipers.vue @@ -0,0 +1,136 @@ + + + + + \ No newline at end of file diff --git a/pages.json b/pages.json index ded9ff7..e7490eb 100644 --- a/pages.json +++ b/pages.json @@ -367,6 +367,15 @@ } } + ,{ + "path" : "components/swipers/swipers", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + } ], "globalStyle": { diff --git a/pages/account/index.vue b/pages/account/index.vue index 426c8da..322fb9c 100644 --- a/pages/account/index.vue +++ b/pages/account/index.vue @@ -509,7 +509,7 @@ } .account_info { - background-color: #000000 !important; + // background-color: #000000 !important; border-bottom: 13.33rpx #F7F7F7 solid; display: flex; diff --git a/pages/category/index.vue b/pages/category/index.vue index 57d8101..fbabc16 100644 --- a/pages/category/index.vue +++ b/pages/category/index.vue @@ -529,7 +529,8 @@ .good_item_img{ display: block; - background-color: #999999; + // background-color: #999999; + background-color: transparent; width: 146.67rpx; height: 146.67rpx; margin-bottom: 22rpx; diff --git a/pages/index/index.vue b/pages/index/index.vue index 2de2390..c273e8c 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -349,6 +349,7 @@ handlechange(e) { this.mycurrent = e.detail.current }, + change(e) { this.index = e let tarbar = this.tarbar @@ -615,7 +616,8 @@ console.log(item.zone_more_link) const i = item.zone_more_link.indexOf('gid=') // console.log(i) - const ids = item.zone_more_link.substring(i + 4, item.zone_more_link + const ids = item.zone_more_link.substring(i + 4, item + .zone_more_link .length) // console.log(ids) // this.bestlist.push(item.blocks) @@ -1080,7 +1082,8 @@ success: (image) => { // //////console.log(res.block_pic) // 计算图片渲染高度 - let showH = (50 * image.height) / image.width + let showH = (50 * image.height) / image + .width // 判断左右盒子高度 if (that.leftH <= that.rightH) { that.leftList.push(res) @@ -1161,7 +1164,7 @@ //console.log(item,'item') ////console.log(item.block_link.includes('dope.youhui')) let goodid - + if (item.goodid) { uni.navigateTo({ @@ -1417,43 +1420,37 @@ --> - - - + - - - - - - - + + + + + + + + + - --> +