From 8f97cd259e1a8748849e60cb5846b51b633e3894 Mon Sep 17 00:00:00 2001
From: liqianjin <949671634@qq.com>
Date: Sat, 1 Apr 2023 18:06:29 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=912023/4/1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/diy-components/diy-member-info.vue | 2 +-
.../goods-detail-view/goods-detail-view.vue | 37 +++++---
pages_rush/futures/order.vue | 55 ++++++++++-
pages_rush/futures/seckill.vue | 91 ++++++++++++++++++-
4 files changed, 166 insertions(+), 19 deletions(-)
diff --git a/components/diy-components/diy-member-info.vue b/components/diy-components/diy-member-info.vue
index a8d6b82..25e1d44 100644
--- a/components/diy-components/diy-member-info.vue
+++ b/components/diy-components/diy-member-info.vue
@@ -99,7 +99,7 @@
- {{ fenxiaoInfo && fenxiaoInfo.diamond != undefined ? fenxiaoInfo.diamond : '--' }}
+ {{ fenxiaoInfo && fenxiaoInfo.diamond != undefined ? parseInt(fenxiaoInfo.diamond) : '--' }}
钻石
diff --git a/components/goods-detail-view/goods-detail-view.vue b/components/goods-detail-view/goods-detail-view.vue
index 2c43d21..17ffb04 100644
--- a/components/goods-detail-view/goods-detail-view.vue
+++ b/components/goods-detail-view/goods-detail-view.vue
@@ -44,18 +44,31 @@
-
- 配送
-
-
-
- {{ item.name }}
-
-
-
-
- 商家未配置配送方式
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 新疆,青海,西藏需补差快递,其余地方快递免费
+
diff --git a/pages_rush/futures/order.vue b/pages_rush/futures/order.vue
index 4d1e08b..a8326b1 100644
--- a/pages_rush/futures/order.vue
+++ b/pages_rush/futures/order.vue
@@ -9,7 +9,7 @@
-
+
-
+
订单号:{{ item.order_no }}
- {{ status_text[item.status] }}
+ {{statusText(item)}}
@@ -91,7 +91,28 @@ export default {
mixins: [],
onLoad(option) {
// 获取需要显示的订单类型
- this.tabs_active = option.status || 'all';
+ if(option.status == 'release'){
+ this.tabs_active = '待付款订单';
+ this.tabs = [
+ {title: '待付款订单', status: '待付款订单'},
+ {title: '商城已完成', status: '商城已完成'},
+ ]
+ }
+ if(option.status == 'all'){
+ this.tabs_active = '采购未付款';
+ this.tabs = [
+ {title: '采购未付款', status: '采购未付款'},
+ {title: '成功完成订单', status: '成功完成订单'},
+ ]
+ }
+ if(option.status == 'stock'){
+ this.tabs_active = '库存订单';
+ this.tabs = [
+ {title: '库存订单', status: '库存订单'},
+ {title: '提货订单', status: '提货订单'},
+ {title: '审核出售', status: '审核出售'},
+ ]
+ }
// 获取页面标题
let pageTitle = this.page_titles[this.tabs_active];
uni.setNavigationBarTitle({
@@ -112,6 +133,32 @@ export default {
}
},
methods: {
+ statusText(item){
+ switch (item.status){
+ case 1:
+ return '库存'
+ case 2:
+ if (item.release_time <= (new Date().getTime() / 1000) ){
+ return '正在销售'
+ }
+ if (item.release_time > (new Date().getTime() / 1000) ){
+ return '审核中'
+ }
+ break
+ case 3:
+ return '已完成'
+ case 4:
+ return '提货中'
+ case 5:
+ return '已提货'
+ case 6:
+ return '待付款'
+ case 7:
+ return '正在销售'
+ case 8:
+ return '已拆单'
+ }
+ },
// 订单搜索
search(){
this.$refs.mescroll.refresh();
diff --git a/pages_rush/futures/seckill.vue b/pages_rush/futures/seckill.vue
index 5af9ed4..534d329 100644
--- a/pages_rush/futures/seckill.vue
+++ b/pages_rush/futures/seckill.vue
@@ -11,6 +11,10 @@
{{ i }}分
{{ s }}秒
+
+ 商品全部实物销售
+ 本区域销售的商品均为商家已经生产并承诺全额补货
+
@@ -56,6 +60,18 @@
+
+
+
+
+
+ {{ regisiterAgreement.title }}
+
+
+
+
+
+