订单列表页面添加供应商的显示
This commit is contained in:
parent
db78fe36b0
commit
07ffe842bd
@ -59,9 +59,25 @@ page {
|
|||||||
border-bottom: 1rpx solid #eee;
|
border-bottom: 1rpx solid #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.orderTitle {
|
||||||
|
width: 100%;
|
||||||
|
font-size: 24rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.orderTitleSupplier {
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #333;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom: 10rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
.status {
|
.status {
|
||||||
color: #ff5252;
|
color: #ff5252;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status2 {
|
.status2 {
|
||||||
@ -71,6 +87,7 @@ page {
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: 10rpx;
|
padding: 10rpx;
|
||||||
border-radius: 10rpx;
|
border-radius: 10rpx;
|
||||||
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status2 img {
|
.status2 img {
|
||||||
@ -82,6 +99,13 @@ page {
|
|||||||
.status3 {
|
.status3 {
|
||||||
color: #949494;
|
color: #949494;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
font-size: 24rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.order_status{
|
||||||
|
color: #333;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.goods-list {
|
.goods-list {
|
||||||
|
|||||||
@ -23,7 +23,8 @@
|
|||||||
<view class="contentList">
|
<view class="contentList">
|
||||||
<!-- 订单头部信息 -->
|
<!-- 订单头部信息 -->
|
||||||
<view class="order-header" @click="toDetails(item)">
|
<view class="order-header" @click="toDetails(item)">
|
||||||
<text>提交订单:{{ item.order_time }}</text>
|
<view class="orderTitle">
|
||||||
|
<view class="orderTitleSupplier">{{ item.supplier_name }}
|
||||||
<view v-if="item.order_status == 6 || item.order_status == 5" class="status3">{{
|
<view v-if="item.order_status == 6 || item.order_status == 5" class="status3">{{
|
||||||
getOrderStatus(item.order_status) }}</view>
|
getOrderStatus(item.order_status) }}</view>
|
||||||
<view v-else-if="item.order_status == 7" class="status2">
|
<view v-else-if="item.order_status == 7" class="status2">
|
||||||
@ -34,6 +35,9 @@
|
|||||||
getOrderStatus(item.order_status)
|
getOrderStatus(item.order_status)
|
||||||
}}</view>
|
}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
<text>提交订单:{{ item.order_time }}</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
<!-- 商品列表 -->
|
<!-- 商品列表 -->
|
||||||
<view class="goods-list" @click="toDetails(item)">
|
<view class="goods-list" @click="toDetails(item)">
|
||||||
@ -65,7 +69,7 @@
|
|||||||
<view class="btn-group" v-if="item.order_status === 5">
|
<view class="btn-group" v-if="item.order_status === 5">
|
||||||
<text class="afterSaleNum">{{ item.commodity_order_item_list.length }}笔售后</text>
|
<text class="afterSaleNum">{{ item.commodity_order_item_list.length }}笔售后</text>
|
||||||
<button class="cancel-btn" @click="afterSale(item)">退换/售后</button>
|
<button class="cancel-btn" @click="afterSale(item)">退换/售后</button>
|
||||||
<button class="pay-btn" @click="cancelOrder">评价</button>
|
<button class="pay-btn">评价</button>
|
||||||
</view>
|
</view>
|
||||||
<view class="btn-group" v-if="item.order_status === 6">
|
<view class="btn-group" v-if="item.order_status === 6">
|
||||||
<!-- <button class="cancel-btn" @click="orderEvaluate">
|
<!-- <button class="cancel-btn" @click="orderEvaluate">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user