diff --git a/pages/index/index - 副本.vue b/pages/index/index - 副本.vue
deleted file mode 100644
index 676697a..0000000
--- a/pages/index/index - 副本.vue
+++ /dev/null
@@ -1,898 +0,0 @@
-
-
-
-
- 惠农批发
-
-
-
-
-
-
-
-
- 购物车
-
-
-
- 我的订单
-
-
-
- 个人中心
-
-
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
-
- 全
- 部
-
-
-
-
-
- 全部分类
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
-
-
-
- 综合
- 价格
- 销量
-
-
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.store_name}}
-
- {{item.spec}}
-
-
-
-
-
-
- ¥{{item.price}}
-
-
-
-
-
-
-
-
-
-
-
-
-
- 合计
- ¥{{cartInfo.total_price}}
-
-
-
-
- 结算
-
-
-
- {{cartInfo.count}}
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pages/index/test.vue b/pages/index/test.vue
deleted file mode 100644
index cfea4a8..0000000
--- a/pages/index/test.vue
+++ /dev/null
@@ -1,349 +0,0 @@
-
-
-
-
- 搜索
-
-
-
-
-
-
-
-
- {{item.name}}
-
- 可自提
- 可配送
-
-
-
- {{item.detailed_address || '-'}}
-
-
-
- {{item.day_start + '-' + item.day_end}}
- 9:00-18:00
-
-
-
- 距离{{parseDistance(item.distance)}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pages/my/my.vue b/pages/my/my.vue
index 928be91..c3cd4ba 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -71,7 +71,7 @@
待核销
- {{orderCount.receiving}}
+ {{orderCount.waiting}}
@@ -82,9 +82,10 @@
-
+
- 全部订单
+ 售后/退款
+ {{orderCount.applyRefund}}
@@ -126,7 +127,8 @@
const orderCount = ref({
no_pay: 0,
receiving: 0,
- waiting: 0
+ waiting: 0,
+ applyRefund: 0
})
const getOrderCount = () => {
orderCountApi().then(res => {
@@ -136,8 +138,6 @@
// 返回下单 或者充值
const handleBack = (e) => {
- console.log(userInfo.user_ship);
-
if (e > 0) {
uni.navigateTo({
url: "/pages/charge/charge"
diff --git a/pagesOrder/order/order.vue b/pagesOrder/order/order.vue
index 04c56a3..601263e 100644
--- a/pagesOrder/order/order.vue
+++ b/pagesOrder/order/order.vue
@@ -74,16 +74,16 @@
swiperCurrent.value = index;
}
const tablist = ref([{
- name: '全部'
- },
- {
- name: '待付款'
- },
- {
- name: '待收货'
- },
- // { name: '退款/售后' },
- ]);
+ name: '全部'
+ }, {
+ name: '待付款'
+ }, {
+ name: '待核销'
+ }, {
+ name: '已核销'
+ }, {
+ name: '退款/售后'
+ }]);
const swiperCurrent = ref(0);
const animationfinish = ({
diff --git a/pagesOrder/settle/settle.vue b/pagesOrder/settle/settle.vue
index 9650784..824bfc6 100644
--- a/pagesOrder/settle/settle.vue
+++ b/pagesOrder/settle/settle.vue
@@ -89,12 +89,26 @@
支付方式
+
+
+
+
+ 微信支付
+
+
+
+
+
+
+
微信支付
-
-
-
+ style="margin-right: 10rpx;">
+ 余额支付
+
+
+
+
@@ -167,7 +181,12 @@
const isAddress = ref(false);
const toastAddressShow = ref(false);
+ const payType = ref('');
+ const onChoosePaytype = (e) => {
+ console.log(e);
+ payType.value = e;
+ }
// 选择地址
const addressRef = ref(null);
@@ -496,6 +515,7 @@
.icon-text {
display: flex;
+ align-items: center;
}
.icon {
diff --git a/static/icon/back.webp b/static/icon/back.webp
new file mode 100644
index 0000000..62e9dad
Binary files /dev/null and b/static/icon/back.webp differ