From 142f79d5447bca2f48bfeedfc379ae71226f257b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=82=93=E5=B9=B3=E8=89=BA?= <52643018@qq.com>
Date: Tue, 3 May 2022 15:57:52 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AF=B9=E6=8E=A5=E3=80=91=20?=
=?UTF-8?q?=E5=9C=B0=E5=9D=80=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3=20?=
=?UTF-8?q?=E3=80=90=E5=AF=B9=E6=8E=A5=E3=80=91=20=E6=88=91=E7=9A=84?=
=?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=8E=A5=E5=8F=A3=20=E3=80=90=E5=AF=B9?=
=?UTF-8?q?=E6=8E=A5=E3=80=91=20=E8=AF=84=E5=8D=A1=E6=9F=A5=E8=AF=A2?=
=?UTF-8?q?=E7=AD=89=E6=8E=A5=E5=8F=A3=20=E3=80=90=E6=96=B0=E5=A2=9E?=
=?UTF-8?q?=E3=80=91=20=E5=BF=AB=E9=80=92=E5=85=AC=E5=8F=B8json=E5=88=97?=
=?UTF-8?q?=E8=A1=A8=20=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91=20app=E5=94=A4?=
=?UTF-8?q?=E8=B5=B7=E5=88=A4=E6=96=AD=E6=89=93=E5=BC=80=E8=B0=83=E5=BC=8F?=
=?UTF-8?q?=E6=A8=A1=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
App.vue | 5 +
packages/addAddress/addAddress.vue | 25 +++--
packages/address/address.vue | 42 +++++---
pages/fastRating/fastRating.vue | 34 +++---
pages/index/index.vue | 33 +++---
pages/order/order.vue | 162 +++++++++++++++++++++--------
pages/ratingQuery/ratingQuery.vue | 19 +++-
pages/write/baseInfo.vue | 2 +-
pages/write/distribution.vue | 9 +-
pages/write/logistics.json | 33 ++++++
service/address.js | 34 ++++++
service/grading.js | 19 ++++
service/order.js | 10 ++
13 files changed, 314 insertions(+), 113 deletions(-)
create mode 100644 pages/write/logistics.json
create mode 100644 service/order.js
diff --git a/App.vue b/App.vue
index 04c0b21..987696c 100644
--- a/App.vue
+++ b/App.vue
@@ -5,6 +5,11 @@
},
onLaunch: function() {
console.log('App Launch');
+ // 检查非生产环境下是否打开了调试模式,没有打开时自动打开
+ if(process.env.NODE_ENV !== 'production'){
+ let baseInfo = (uni.canIUse('getAppBaseInfo') && uni.getAppBaseInfo()) || {};
+ !baseInfo.enableDebug && uni.setEnableDebug({enableDebug: true});
+ }
},
onShow: function() {
console.log('App Show')
diff --git a/packages/addAddress/addAddress.vue b/packages/addAddress/addAddress.vue
index 5c879ab..242fcc0 100644
--- a/packages/addAddress/addAddress.vue
+++ b/packages/addAddress/addAddress.vue
@@ -43,7 +43,7 @@
@@ -38,13 +35,16 @@
overflow-y: auto;
height: 100%;
}
+ .justify-between{
+ padding: 20rpx 0;
+ }
.group_4 {
padding: 2rpx 0 16rpx;
flex: 1 1 auto;
overflow-y: auto;
}
.section_2 {
- padding: 40rpx 30rpx 40rpx 32rpx;
+ padding: 20rpx 30rpx 20rpx 32rpx;
background-color: rgb(255, 255, 255);
}
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 7f6790a..d2d8e8f 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -150,23 +150,9 @@
class="image_8" />
-
-
- 2021chronic
-
-
-
- 2021chronic
-
-
-
- 2021chronic
+
+
+ {{ item.title }}
@@ -196,7 +182,8 @@
isConsentAgreement: false,
rateIndex: 0,
user: {},
- dots: {}
+ dots: {},
+ evaluated_order: []
};
},
onLoad(){
@@ -207,6 +194,7 @@
let res = await my();
this.user = res.data.datas.user;
this.dots = res.data.datas.dots;
+ this.evaluated_order = res.data.datas.evaluated_order;
},
nextToGrading(){
if(!this.isConsentAgreement) return this.$msg('请先阅读并同意协议');
@@ -416,7 +404,7 @@
.equal-division_1 {
margin-top: 40rpx;
- padding: 0 8rpx;
+ padding: 0 32rpx;
color: rgb(51, 51, 51);
font-size: 28rpx;
font-weight: 500;
@@ -520,7 +508,12 @@
}
.equal-division-item_3 {
- flex: 1 1 244rpx;
+ // flex: 1 1 244rpx;
+ align-items: flex-start;
+ margin-right: 42rpx;
+ &:nth-child(3n){
+ margin-right: 0rpx;
+ }
}
.equal-division-item_4 {
diff --git a/pages/order/order.vue b/pages/order/order.vue
index f97890a..ba1d2a0 100644
--- a/pages/order/order.vue
+++ b/pages/order/order.vue
@@ -27,7 +27,7 @@
按收货确认时间
- {{ item.label }}
+ {{ item.label }}
@@ -45,7 +45,7 @@
按送评信息
-
+
@@ -57,7 +57,7 @@
-
+
@@ -67,7 +67,7 @@
-
+
-
+
@@ -84,27 +84,43 @@
src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497798740970822.png"
class="image_7"
/>
- 在线送评
+ 在线送评 todo
- 待确认
+ {{ ['','待确认','评级中','待付款','待收货'][item.status] }}
- 李丽丽
- 15273936409
+ {{ item.owner }}
+ {{ item.tel }}
- 共5件
+ 共{{ item.num }}件
- 更多
-
-
+
+
+
+
取消
-
+
寄送藏品
+
+
+ 更改地址
+
+
+
+
+ 付款
+
+
+
+
+ 确认收货
+
+
@@ -128,12 +144,13 @@