From f714a5be34f60a467931a3c6fd5e05ef3917c0c2 Mon Sep 17 00:00:00 2001 From: donqi Date: Sat, 1 Apr 2023 20:36:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/uni-rate/my-uni-rate.vue | 376 ++++++++++++++++++++++++++++ pages/index/home.vue | 16 +- pages/index/index.vue | 2 +- pages/index/worker-home.vue | 15 +- 4 files changed, 397 insertions(+), 12 deletions(-) create mode 100644 components/uni-rate/my-uni-rate.vue diff --git a/components/uni-rate/my-uni-rate.vue b/components/uni-rate/my-uni-rate.vue new file mode 100644 index 0000000..0dbf985 --- /dev/null +++ b/components/uni-rate/my-uni-rate.vue @@ -0,0 +1,376 @@ + + + + + diff --git a/pages/index/home.vue b/pages/index/home.vue index 328b6e6..a2490c7 100644 --- a/pages/index/home.vue +++ b/pages/index/home.vue @@ -96,7 +96,7 @@ - + @@ -110,7 +110,7 @@ - + @@ -487,6 +487,7 @@ let rowsLength = res[1].data.rows.length; if (rowsLength > 0) { this[resContainer] = this[resContainer].concat(res[1].data.rows); + console.log(this[resContainer]) this[pageNumName]++; if (rowsLength === this[pageSizeName]) { this.$refs[loadStatusBarRefName].showLoadMore(); @@ -536,12 +537,17 @@ } .waterfall-grid { - column-count: 2; - column-gap: 15rpx; + /* column-count: 2; + column-gap: 15rpx; */ + display: flex; + flex-wrap: wrap; + justify-content: space-between; } .waterfall-grid-item { - break-inside: avoid; + /* break-inside: avoid; + margin-bottom: 15rpx; */ + width: 49%; margin-bottom: 15rpx; } diff --git a/pages/index/index.vue b/pages/index/index.vue index 5774f38..12c1c35 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -166,7 +166,7 @@ console.log(res.subscriptionsSetting) if (!res.subscriptionsSetting.mainSwitch || !res.subscriptionsSetting.itemSettings - || res.subscriptionsSetting.itemSettings['yqd3p4qsqn1RiyUb8kO4dPqoGKipRQg_y99nGw0jtLE'] !== 'accept') { + || res.subscriptionsSetting.itemSettings['JtsGFPDjYhL2GbHfKxvTJaR_lLp8xLyw8VeR01Y0JHM'] !== 'accept') { // 提示授权订单进度消息提示 _this.$refs.vertifySubscribe.showModal(); } diff --git a/pages/index/worker-home.vue b/pages/index/worker-home.vue index 8c57d0a..57fc11d 100644 --- a/pages/index/worker-home.vue +++ b/pages/index/worker-home.vue @@ -1,5 +1,5 @@