From a84b0f70cd5b19557067fce886f0654b6853c2e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E5=B9=B3=E8=89=BA?= <52643018@qq.com> Date: Fri, 29 Apr 2022 11:25:14 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AE=8C=E5=96=84=E3=80=91=20?= =?UTF-8?q?=E6=88=91=E7=9A=84=E8=AE=A2=E5=8D=95=E3=80=81=E5=BF=AB=E9=80=9F?= =?UTF-8?q?=E8=AF=84=E7=BA=A7=E3=80=81=E8=AF=84=E7=BA=A7=E6=A0=87=E5=87=86?= =?UTF-8?q?=E3=80=81=E8=AF=84=E5=8D=A1=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BA=A4=E4=BA=92=20=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91=20?= =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E6=B8=B2=E6=9F=93=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/lf-table.vue | 235 ++++++++++++++++++ .../ratingQueryDetail/ratingQueryDetail.vue | 95 +++---- pages/fastRating/fastRating.vue | 10 +- pages/order/order.vue | 106 +++++--- pages/ratingCriteria/ratingCriteria.vue | 15 +- 5 files changed, 345 insertions(+), 116 deletions(-) create mode 100644 components/lf-table.vue diff --git a/components/lf-table.vue b/components/lf-table.vue new file mode 100644 index 0000000..37da317 --- /dev/null +++ b/components/lf-table.vue @@ -0,0 +1,235 @@ + + + + + diff --git a/packages/ratingQueryDetail/ratingQueryDetail.vue b/packages/ratingQueryDetail/ratingQueryDetail.vue index 6ffbbb8..0901bd3 100644 --- a/packages/ratingQueryDetail/ratingQueryDetail.vue +++ b/packages/ratingQueryDetail/ratingQueryDetail.vue @@ -63,63 +63,50 @@ - - - - 评级 - - - - 数量 - - - - 10 - 1 - - - 9.5 - 3 - - - 9 - 10 - - - - 8.5 - 35 - - - 8 - 70 - - - - - 7.5 - - 30 - - - + + 复制拍卖链接 - @@ -190,13 +177,7 @@ .group_16 { padding: 40rpx 0; } - .section_10 { - align-self: center; - background-color: rgb(0, 0, 0); - border-radius: 4rpx; - width: 196rpx; - height: 8rpx; - } + .image_7 { margin-left: 25rpx; } @@ -445,15 +426,7 @@ .text_27 { margin-right: 12rpx; } - .divider { - background-color: rgb(246, 246, 246); - width: 560rpx; - height: 2rpx; - position: absolute; - bottom: 22rpx; - left: 50%; - transform: translateX(-50%); - } + .text_35 { margin-right: 18rpx; } diff --git a/pages/fastRating/fastRating.vue b/pages/fastRating/fastRating.vue index de78e77..ce68d50 100644 --- a/pages/fastRating/fastRating.vue +++ b/pages/fastRating/fastRating.vue @@ -19,7 +19,6 @@ 7day/30rmb - @@ -48,14 +47,7 @@ padding: 40rpx 30rpx 40rpx 32rpx; background-color: rgb(255, 255, 255); } - .section_3 { - margin-top: 1016rpx; - align-self: center; - background-color: rgb(0, 0, 0); - border-radius: 4rpx; - width: 196rpx; - height: 8rpx; - } + .group_6 { margin-top: 50rpx; } diff --git a/pages/order/order.vue b/pages/order/order.vue index ea097f7..f97890a 100644 --- a/pages/order/order.vue +++ b/pages/order/order.vue @@ -9,6 +9,7 @@ :lineWidth="34" :scrollable="false" :itemWidth="100 / tabList.length +'%'" + lineColor="#E7A23F" @change="switchTab" > @@ -25,30 +26,8 @@ 按收货确认时间 - - - 1个月内 - - - 3个月内 - - - 6个月内 - - - 今年 - - - - - 2021年 - - - 2020年 - - - 2019年 - + + {{ item.label }} @@ -56,24 +35,24 @@ 按送评信息 - 输入送评人姓名或手机号 + - 输入标签 + 按送评信息 - 输入评级编号 + - + 重置 - + 确认 @@ -198,7 +177,34 @@ ...publicKey }], tabIndex: 0, - scenic: {} + receivingTimeList: [{ + label: '1个月内', + value: '1' + },{ + label: '3个月内', + value: '2' + },{ + label: '6个月内', + value: '3' + },{ + label: '今年', + value: '4' + },{ + label: '2021年', + value: '5' + },{ + label: '2020年', + value: '6' + },{ + label: '2019年', + value: '7' + }], + filterGather: { + date: '1', + name: '', + label: '', + number: '' + } } }, computed: { @@ -218,10 +224,16 @@ }, onLoad(options){ this.tabIndex = Number(options.current || this.tabIndex); - this.scenic = uni.getStorageSync("scenic_key") || {}; this[ this.tabList[this.tabIndex].requestFunction ](); // 获取当前tab下的数据列表 }, methods: { + confirm(){ + this.$msg('确认'); + this.showFilter = false; + }, + reset(){ + this.filterGather = this.$options.data().filterGather; + }, // 获取数据 getList(options = {}){ let tabItem = this.tabList[this.tabIndex]; @@ -404,7 +416,7 @@ } .text-wrapper_4 { margin-top: 18rpx; - padding: 12rpx 0; + // padding: 12rpx 0; color: rgb(195, 195, 195); font-size: 28rpx; font-weight: 500; @@ -412,6 +424,9 @@ white-space: nowrap; border-radius: 10rpx; border: solid 2rpx rgb(195, 195, 195); + /deep/.u-input{ + width: 100%; + } } .text-wrapper_5 { padding: 24rpx 0; @@ -447,7 +462,7 @@ white-space: nowrap; } .text-wrapper_2 { - padding: 12rpx 0; + // padding: 12rpx 0; flex: 1 1 auto; border-radius: 10rpx; height: 68rpx; @@ -455,7 +470,7 @@ } .text-wrapper_3 { margin-left: 28rpx; - padding: 12rpx 0; + // padding: 12rpx 0; border-radius: 10rpx; width: 308rpx; height: 68rpx; @@ -598,4 +613,27 @@ height: calc( env(safe-area-inset-bottom) + 20rpx ); height: calc( constant(safe-area-inset-bottom) + 20rpx ); } + + .filter-date-item{ + width: 160rpx; + height: 68rpx; + background: #F6F6F6; + border-radius: 10rpx; + font-size: 28rpx; + color: #333333; + margin-right: 16rpx; + display: flex; + justify-content: center; + align-items: center; + &:nth-child(4n){ + margin-right: 0rpx; + } + &:nth-child(n+5){ + margin-top: 16rpx; + } + &.active{ + color: #FFFFFF; + background-color: #E7A23F; + } + } diff --git a/pages/ratingCriteria/ratingCriteria.vue b/pages/ratingCriteria/ratingCriteria.vue index ae2fa10..53fb014 100644 --- a/pages/ratingCriteria/ratingCriteria.vue +++ b/pages/ratingCriteria/ratingCriteria.vue @@ -7,21 +7,21 @@ class="image_6" /> - + 关于我们 - + 卡砖设计 - + 评级标准 - @@ -68,14 +67,6 @@ padding: 100rpx 32rpx 80rpx; background-color: rgb(255, 255, 255); } - .section_3 { - margin-top: 710rpx; - align-self: center; - background-color: rgb(0, 0, 0); - border-radius: 4rpx; - width: 196rpx; - height: 8rpx; - } .image_6 { align-self: center; width: 220rpx;