update about api
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<view class="item">
|
||||
<image></image>
|
||||
<image :src="info.complain_goods_image"></image>
|
||||
<view class="people">
|
||||
<view class="status">已受理</view>
|
||||
<view class="goods-name u-line-1">心机小黑裙连衣裙赫本风夏季爆款...</view>
|
||||
<view class="status">{{info.complain_status==0?"未受理":"已审核"}}</view>
|
||||
<view class="goods-name u-line-1">{{info.complain_goods_name}}</view>
|
||||
<view class="info">
|
||||
<view class="name">骑手:李先生</view>
|
||||
<view class="price">¥199.9</view>
|
||||
<view class="name">骑手:{{info.takeawayer_name}}</view>
|
||||
<view class="price">¥{{info.complain_goods_price*info.complain_goods_num}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -16,8 +16,14 @@ export default {
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
methods: {
|
||||
props: {
|
||||
info:{
|
||||
type: Object,
|
||||
default: null
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@@ -35,7 +41,6 @@ export default {
|
||||
height: 160rpx;
|
||||
flex-shrink: 0;
|
||||
margin-right: 25rpx;
|
||||
background-color: aqua;
|
||||
}
|
||||
.people {
|
||||
.status {
|
||||
|
||||
@@ -50,7 +50,7 @@ export default {
|
||||
},
|
||||
toDetailsPage() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/user/contentDetails?current=' + this.cur
|
||||
url: '/pages/user/contentDetails?current=' + this.type+'&id=' + this.info.article_id
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
@@ -2,11 +2,16 @@
|
||||
<view class="item" @click="toDetailsPage">
|
||||
<image :src="info.extend_order_goods[0].goods_image"></image>
|
||||
<view class="goods">
|
||||
<view class="">
|
||||
<view class="box">
|
||||
<view class="">
|
||||
编号:{{info.order_sn}}
|
||||
</view>
|
||||
<view class="status" v-if="cur==4">待处理订单</view>
|
||||
<!-- 1待处理 2已发货 3已完成 4申请退款 5已退款 -->
|
||||
<view class="status" v-if="info.view_type==1">待处理订单</view>
|
||||
<view class="status" v-else-if="info.view_type==2">已发货订单</view>
|
||||
<view class="status" v-else-if="info.view_type==3">已完成订单</view>
|
||||
<view class="status" v-else-if="info.view_type==4">申请退款订单</view>
|
||||
<view class="status" v-else-if="info.view_type==5">已退款订单</view>
|
||||
</view>
|
||||
|
||||
<view class="name u-line-1">{{info.extend_order_goods[0].goods_name}}</view>
|
||||
@@ -50,16 +55,22 @@ export default {
|
||||
height: 160rpx;
|
||||
flex-shrink: 0;
|
||||
margin-right: 25rpx;
|
||||
background-color: aqua;
|
||||
}
|
||||
.goods {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
.box{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.status {
|
||||
width: 120rpx;
|
||||
align-self: flex-end;
|
||||
font-size: 26rpx;
|
||||
font-size: 24rpx;
|
||||
color: rgba(255,49,49,1);
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
|
||||
@@ -3,13 +3,17 @@
|
||||
<image :src="info.goods_pic"></image>
|
||||
<view class="goods">
|
||||
<view class="">
|
||||
<view class="status" v-if="cur==4">待处理订单</view>
|
||||
<!-- 0:待处理订单 20:同意 40:拒绝此订单 -->
|
||||
<view class="status" v-if="info.goods_try_order_status==0">待处理订单</view>
|
||||
<view class="status" v-if="info.goods_try_order_status==20">已接单订单</view>
|
||||
<view class="status" v-if="info.goods_try_order_status==40">已拒绝订单</view>
|
||||
<view class="status" v-if="info.goods_try_order_status==50">已完成订单</view>
|
||||
</view>
|
||||
|
||||
<view class="name u-line-1">{{info.extend_order_goods[0].goods_name}}</view>
|
||||
<view class="name u-line-1">{{info.goods_name}}</view>
|
||||
<view class="info">
|
||||
<view class="num">共{{info.extend_order_goods[0].goods_num}}件商品</view>
|
||||
<view class="price">实付<span>¥{{info.extend_order_goods[0].goods_pay_price}}</span></view>
|
||||
<view class="num">共{{info.goods_try_num}}件商品</view>
|
||||
<view class="price">实付<span>¥{{info.price}}</span></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -47,7 +51,6 @@ export default {
|
||||
height: 160rpx;
|
||||
flex-shrink: 0;
|
||||
margin-right: 25rpx;
|
||||
background-color: aqua;
|
||||
}
|
||||
.goods {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user