diff --git a/common/http.api.js b/common/http.api.js
index d6e9b05..4618888 100644
--- a/common/http.api.js
+++ b/common/http.api.js
@@ -86,8 +86,8 @@ const install = (Vue, vm) => {
return vm.$u.post("/article/articleInfo",{article_id})
},
// 回复评论
- reply({article_id,pid,content}){
- return vm.$u.post("/article/articleAddComment",{article_id,pid,content})
+ reply({article_id,pid,content,reply_id}){
+ return vm.$u.post("/article/articleAddComment",{article_id,pid,content,reply_id})
},
// 达人是否可以直播
canlive(){
diff --git a/components/order-item/index.vue b/components/order-item/index.vue
index 2192fd1..b825eb4 100644
--- a/components/order-item/index.vue
+++ b/components/order-item/index.vue
@@ -10,14 +10,15 @@
待处理订单
已发货订单
已完成订单
- 申请退款订单
+ 申请退款
已退款订单
- 拒绝退款订单
+ 商家同意
+ 商家拒绝
{{info.extend_order_goods[0].goods_name}}
- 共{{info.extend_order_goods[0].goods_num}}件商品
- 实付¥{{info.extend_order_goods[0].goods_pay_price}}
+ 共{{info.count_number}}件商品
+ 实付¥{{info.order_amount}}
diff --git a/pages.json b/pages.json
index 9643366..11ac68c 100644
--- a/pages.json
+++ b/pages.json
@@ -266,29 +266,28 @@
},
"tabBar": {
"color": "#7A7E83",
- "selectedColor": "#3cc51f",
+ "selectedColor": "#FF780F",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"height": "50px",
- "fontSize": "10px",
"iconWidth": "24px",
"spacing": "3px",
"list": [{
"pagePath": "pages/index/index",
- "iconPath": "",
- "selectedIconPath": "",
+ "iconPath": "static/image/tabbar/index.png",
+ "selectedIconPath": "static/image/tabbar/indexselect.png",
"text": "首页",
"selectedColor": "#FBFBFB"
}, {
"pagePath": "pages/messages/messagesList",
- "iconPath": "",
- "selectedIconPath": "",
+ "iconPath": "static/image/tabbar/info.png",
+ "selectedIconPath": "static/image/tabbar/infoselect.png",
"text": "消息",
"selectedColor": "#FBFBFB"
}, {
"pagePath": "pages/user/index",
- "iconPath": "",
- "selectedIconPath": "",
+ "iconPath": "static/image/tabbar/mine.png",
+ "selectedIconPath": "static/image/tabbar/mineselect.png",
"text": "我的",
"selectedColor": "#FBFBFB"
}]
diff --git a/pages/index/details.vue b/pages/index/details.vue
index e9d40da..17762e6 100644
--- a/pages/index/details.vue
+++ b/pages/index/details.vue
@@ -1,32 +1,38 @@
-
-
-
- {{ info.extend_order_goods[0].goods_name }}
-
- 共{{ info.extend_order_goods[0].goods_num }}件商品
-
- 实付
- ¥{{ info.extend_order_goods[0].goods_pay_price }}
+
+
+
+
+ {{ list.goods_name }}
+
+ 共{{ list.goods_num }}件商品
+
+ 实付
+ ¥{{ list.goods_pay_price }}
+
-
+
-
-
-
- {{ info.extend_order_common.reciver_name }}
+
+
+
+
+ {{ list.goods_name }}
+
+ 共{{ list.goods_num }}件商品
+
+ 实付
+ ¥{{ list.refund_amount }}
+
+
+
+
+
-
-
- {{ info.extend_order_common.reciver_info.mob_phone }}
-
-
-
- {{ info.extend_order_common.reciver_info.address }}
-
-
+
+
收件人信息
@@ -44,6 +50,24 @@
+
+ 收件人信息
+
+
+
+ {{ info.extend_order_common.reciver_name }}
+
+
+
+
+ {{ info.extend_order_common.reciver_info.mob_phone }}
+
+
+
+ {{ info.extend_order_common.reciver_info.address }}
+
+
+
派送方式
@@ -52,6 +76,7 @@
确认
+
物流信息
订单单号:{{ info.order_sn }}
@@ -60,11 +85,16 @@
{{list.kd_time}}
+
+
不处理
确定处理
- 退款状态:{{ type == 5 ? '同意退款,请注意查收' : '拒绝退款,请等待客服联系' }}
+
+ 退款状态:同意退款,请注意查收!
+ 退款状态:商家同意退款,等待后台处理!
+ 退款状态:商家拒绝退款,请等待客服联系!
-
+
+
+
-
+
+
+
@@ -150,6 +154,8 @@ export default {
this.getswiper();
// 获取可投诉列表
this.getcarlist();
+ // 所有订单
+ this.getallorder(0);
const user = uni.getStorageSync('userinfo');
console.log(user)
this.imService.login(user.userId,user.member_avatar,"")
@@ -157,11 +163,6 @@ export default {
// 订单状态: 0:全部 1已付款未发货 2已发货 3已完成 4申请退款/退货 5已退款/退货 6拒绝退款/退货
},
onShow() {
- this.current=0
- // 初始化数据
- this.resetarr()
- // 所有订单
- this.getallorder(0);
this.publishstate = false;
},
onReachBottom() {
@@ -201,7 +202,7 @@ export default {
this.getallorder(3);
} else if (current == 6) {
// 退货订单
- this.getallorder(5);
+ this.getallorder(4);
}
},
// 关闭发布弹窗
@@ -374,9 +375,6 @@ export default {
this.current = index;
this.num = 1;
this.resetarr();
- if (index == 6) {
- this.getallorder(4);
- }
this.reset();
},
// 发布内容跳转页面
diff --git a/pages/index/otherdetails.vue b/pages/index/otherdetails.vue
index 27f360a..a13b39c 100644
--- a/pages/index/otherdetails.vue
+++ b/pages/index/otherdetails.vue
@@ -13,21 +13,9 @@
-
-
-
- {{ info.goods_try_member_name }}
-
-
-
- {{ info.goods_try_member_mobile }}
-
-
-
- {{ info.goods_try_area_info }}
-
-
-
+
+
+
收件人信息
@@ -42,8 +30,29 @@
收货地址
{{ info.goods_try_area_info }}
+
+ 派送方式
+ {{ info.goods_try_deliver_goods_type==1?"人工送达":"骑手" }}
+
+
+
+
+
派送方式
@@ -53,35 +62,44 @@
确认
-
-
+
+
+
+ 人工送达,请等待,货物正在飞速与你接近!
- 确认
- -->
+
+
+ 配送信息
+ 提示信息
+
+
+
+ {{ info.takeawayer_name }}
+
+
+
+ {{ info.takeawayer_mobile }}
+
+
+
+
+
+
+
+ 抱歉,商家正忙无法接单,期待下次为您服务!
+
+
+
+
+
+ 订单配送完成,期待下次为您服务!
+
+
-
-
@@ -135,6 +153,13 @@ export default {
type: 'error'
});
} else {
+ this.$refs.uToast.show({
+ title: res.message,
+ type: 'success'
+ });
+ uni.navigateBack({
+ delta: 1
+ });
}
});
} else {
@@ -150,6 +175,13 @@ export default {
type: 'error'
});
} else {
+ this.$refs.uToast.show({
+ title: res.message,
+ type: 'success'
+ });
+ uni.navigateBack({
+ delta: 1
+ });
}
});
}
@@ -234,6 +266,13 @@ export default {
}
}
}
+ .refunds-title{
+ padding: 25rpx 30rpx;
+ font-weight: 500;
+ color: #333333;
+ background-color: #ffffff;
+ border-bottom: 2rpx solid #ececec;
+ }
.refunds-user {
padding: 25rpx 30rpx;
background-color: #ffffff;
@@ -290,7 +329,7 @@ export default {
border-bottom: 2rpx solid #ececec;
}
.title {
- width: 150rpx;
+ width: 170rpx;
font-size: 30rpx;
margin-right: 10rpx;
}
diff --git a/pages/release/index.vue b/pages/release/index.vue
index ef217e0..8ea3402 100644
--- a/pages/release/index.vue
+++ b/pages/release/index.vue
@@ -32,8 +32,8 @@
标签
- + 新建标签
-
+ + 新建标签
+
{{ item.name }}
@@ -46,10 +46,10 @@
选择商品
-
+
-
+
@@ -164,7 +164,7 @@ export default {
});
},
// 获取商品数组变化
- getshoplist() {
+ getshoplist(id) {
let arr = this.arres_list;
let newarr = this.list;
this.shoplist = [];
@@ -246,11 +246,16 @@ export default {
},
// 选中某个复选框时,由checkbox时触发
checkboxChange(e) {
- let id = e.name;
- if (e.value == true) {
- this.pushes(id);
- } else {
- this.delarr(id);
+ let id = e;
+ for(let num in this.list){
+ if(id==this.list[num].goods_id){
+ if(this.list[num].checked==true){
+ this.delarr(id);
+ }else{
+ this.pushes(id);
+ }
+ this.list[num].checked = !this.list[num].checked
+ }
}
},
// 删除直播商品
@@ -261,7 +266,7 @@ export default {
} else {
let index = that.arres_list.indexOf(id);
that.arres_list.splice(index, 1);
- that.getshoplist();
+ that.getshoplist(id);
}
},
// 增加直播商品
@@ -271,7 +276,7 @@ export default {
console.log('为空');
} else {
that.arres_list.push(id);
- that.getshoplist();
+ that.getshoplist(id);
}
},
tosign() {
@@ -307,7 +312,7 @@ export default {
margin: 0 auto;
.form-view {
- background: rgba(255, 120, 15, 1);
+ background: #CDC7C8;
border-radius: 6rpx;
margin-right: 20rpx;
font-size: 24rpx;
@@ -317,7 +322,7 @@ export default {
color: #fff;
}
.active {
- background: red;
+ background: #FF780F;
}
.scroll {
width: 100%;
diff --git a/pages/release/video.vue b/pages/release/video.vue
index 8b7c613..6f482f1 100644
--- a/pages/release/video.vue
+++ b/pages/release/video.vue
@@ -24,8 +24,8 @@
标签
- + 新建标签
-
+ + 新建标签
+
{{ item.name }}
@@ -37,10 +37,10 @@
选择商品
-
+
-
+
@@ -270,11 +270,15 @@ export default {
},
// 选中某个复选框时,由checkbox时触发
checkboxChange(e) {
- let id = e.name;
- if (e.value == true) {
- this.pushes(id);
- } else {
- this.delarr(id);
+ for(let num in this.list){
+ if(id==this.list[num].goods_id){
+ if(this.list[num].checked==true){
+ this.delarr(id);
+ }else{
+ this.pushes(id);
+ }
+ this.list[num].checked = !this.list[num].checked
+ }
}
},
// 删除直播商品
@@ -433,7 +437,7 @@ export default {
-webkit-line-clamp: 2;
}
.form-view {
- background: rgba(255, 120, 15, 1);
+ background: #CDC7C8;
border-radius: 6rpx;
margin-right: 20rpx;
font-size: 24rpx;
@@ -443,7 +447,7 @@ export default {
color: #fff;
}
.active {
- background: red;
+ background: #FF780F;
}
.titles {
font-size: 30rpx;
diff --git a/pages/user/contentDetails.vue b/pages/user/contentDetails.vue
index 8a63c24..fab43fd 100644
--- a/pages/user/contentDetails.vue
+++ b/pages/user/contentDetails.vue
@@ -31,12 +31,12 @@