diff --git a/constants/index.js b/constants/index.js index dd230f8..b86de01 100644 --- a/constants/index.js +++ b/constants/index.js @@ -12,4 +12,11 @@ const ORDER_STATUS = { WAIT_RECEIVE: 4, // 待收货 }; -export { TOKEN_KEY, ORDER_STATUS }; +// 性别 +const SEX_TYPE = { + MALE: 1, // 男 + FEMALE: 2, // 女 + UNKNOW: 3, // 未知 +}; + +export { TOKEN_KEY, ORDER_STATUS, SEX_TYPE }; diff --git a/pages/account/index/home/index.vue b/pages/account/index/home/index.vue index dd9a5c9..75236aa 100644 --- a/pages/account/index/home/index.vue +++ b/pages/account/index/home/index.vue @@ -27,6 +27,9 @@ > {{ item.label }} +
+ {{ item.count }} +
@@ -39,6 +42,10 @@ \ No newline at end of file +.account-user-info { + width: 1000px; + border: 1px solid #dddddd; + font-size: 14px; + color: #333333; + .account-user-info__label { + height: 42px; + line-height: 42px; + padding-left: 24px; + border-bottom: 1px solid #dddddd; + background: #f8f8f8; + } + .account-user-info__content { + padding: 44px 69px; + background: #ffffff; + /deep/.el-form { + .el-form-item__label { + margin-right: 40px; + color: #333333; + } + .user-info-content__avatar { + margin-top: -13px; + .el-image { + width: 70px; + height: 70px; + margin-right: 30px; + border-radius: 50%; + } + .el-button { + width: 89px; + height: 30px; + border-radius: 15px 15px 15px 15px; + border: 1px solid #eeeeee; + } + } + .user-info-content__nickname { + height: 35px; + width: 210px; + .el-input__inner { + border: 1px solid #eeeeee; + } + } + .ui-button { + width: 136px; + height: 36px; + } + } + } +} + diff --git a/plugins/api/order.js b/plugins/api/order.js index 493d51d..ade221d 100644 --- a/plugins/api/order.js +++ b/plugins/api/order.js @@ -150,6 +150,11 @@ export const ApiGetLogisticsCompanylist = (params) => */ export const ApiPutLogisticsInfo = (data) => ToAsyncAwait(axiosTk.put(`${BASE_URL}/app/refundOrder/completeRefund`, data)); +/** + * 退款订单统计 + */ + export const ApiGetRefundStatistisc= (data) => + ToAsyncAwait(axiosTk.put(`${BASE_URL}/app/refundOrder/statistics`, data));