2020-08-13 08:12:57 +00:00
|
|
|
|
<template>
|
|
|
|
|
<view>
|
|
|
|
|
<view class='my-order'>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<!-- 顶部统计 -->
|
|
|
|
|
<view class='header bg-color'>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
<view class='picTxt acea-row row-between-wrapper'>
|
|
|
|
|
<view class='text'>
|
|
|
|
|
<view class='name'>订单信息</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class='pictrue'>
|
|
|
|
|
<image src='../../../static/images/orderTime.png'></image>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class='nav acea-row row-around'>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<view class='item' :class='orderStatus === undefined ? "on": ""' @click="statusClick()">
|
|
|
|
|
<view>全部</view>
|
|
|
|
|
<view class='num'>{{ orderData.allCount || 0}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class='item' :class='orderStatus === 0 ? "on": ""' @click="statusClick(0)">
|
2020-08-13 08:12:57 +00:00
|
|
|
|
<view>待付款</view>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<view class='num'>{{orderData.unpaidCount || 0}}</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<view class='item' :class='orderStatus === 10 ? "on": ""' @click="statusClick(10)">
|
2020-08-13 08:12:57 +00:00
|
|
|
|
<view>待发货</view>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<view class='num'>{{orderData.undeliveredCount || 0}}</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<view class='item' :class='orderStatus === 20 ? "on": ""' @click="statusClick(20)">
|
2020-08-13 08:12:57 +00:00
|
|
|
|
<view>待收货</view>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<view class='num '>{{orderData.deliveredCount || 0}}</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<view class='item' :class='orderStatus === 30 ? "on": ""' @click="statusClick(30, false)">
|
2020-08-13 08:12:57 +00:00
|
|
|
|
<view>待评价</view>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<view class='num'>{{orderData.uncommentedCount || 0}}</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class='list'>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<view class='item' v-for="(order, index) in orderList" :key="index">
|
2023-07-01 13:47:34 +00:00
|
|
|
|
<view @click='goOrderDetails(order.id)'>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
<view class='title acea-row row-between-wrapper'>
|
|
|
|
|
<view class="acea-row row-middle">
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<text class="sign cart-color acea-row row-center-wrapper" v-if="order.typeName">{{ order.typeName }}</text>
|
2023-07-01 13:02:15 +00:00
|
|
|
|
<view>{{ formatDate(order.createTime) }}</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<!-- 订单状态 -->
|
|
|
|
|
<view class='font-color'>{{order.orderStatus}}</view>
|
|
|
|
|
<view v-if="order.status === 0" class="font-color">待付款</view>
|
|
|
|
|
<view v-else-if="order.status === 10 && order.deliveryType === 1" class="font-color">待发货</view>
|
2023-08-13 12:13:00 +00:00
|
|
|
|
<!-- TODO 芋艿:核销逻辑 -->
|
2023-09-23 16:45:48 +00:00
|
|
|
|
<view v-else-if="order.status === 10 && order.deliveryType === 2" class="font-color">待核销</view>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<view v-else-if="order.status === 20" class="font-color">待收货</view>
|
|
|
|
|
<view v-else-if="order.status === 30 && !order.commentStatus" class="font-color">待评价</view>
|
|
|
|
|
<view v-else-if="order.status === 30 && order.commentStatus" class="font-color">已完成</view>
|
|
|
|
|
<view v-else-if="order.status === 40" class="font-color">已关闭</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<!-- 订单项信息 -->
|
|
|
|
|
<view class='item-info acea-row row-between row-top' v-for="(item, index) in order.items" :key="index">
|
2020-08-13 08:12:57 +00:00
|
|
|
|
<view class='pictrue'>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<image :src='item.picUrl'></image>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
|
|
|
|
<view class='text acea-row row-between'>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<view class='name line2'>{{ item.spuName }}</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
<view class='money'>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<view>¥{{ fen2yuan(item.price) }}</view>
|
|
|
|
|
<view>x{{ item.count }}</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<!-- 订单金额 -->
|
|
|
|
|
<view class='totalPrice'>共{{ order.productCount }}件商品,总金额
|
|
|
|
|
<text class='money font-color'>¥{{ fen2yuan(order.payPrice) }}</text>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<!-- 订单操作区 -->
|
|
|
|
|
<view class='bottom acea-row row-right row-middle'>
|
|
|
|
|
<view class='bnt cancelBnt' v-if="order.status === 0" @click='cancelOrder(index, order.id)'>
|
|
|
|
|
取消订单
|
|
|
|
|
</view>
|
|
|
|
|
<view class='bnt bg-color' v-if="order.status === 0" @click='goPay(order.id, order.payOrderId)'>
|
|
|
|
|
立即付款
|
|
|
|
|
</view>
|
|
|
|
|
<view class='bnt bg-color' v-if="order.status === 30 && !order.commentStatus" @click='goOrderDetails(order.id)'>
|
|
|
|
|
去评价
|
|
|
|
|
</view>
|
|
|
|
|
<view class='bnt cancelBnt' v-if="order.status === 40" @click='delOrder(order.id, index)'>
|
|
|
|
|
删除订单
|
|
|
|
|
</view>
|
|
|
|
|
<view class='bnt bg-color' @click='goOrderDetails(order.id)'>
|
|
|
|
|
查看详情
|
|
|
|
|
</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class='loadingicon acea-row row-center-wrapper' v-if="orderList.length>0">
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<text class='loading iconfont icon-jiazai' :hidden='!loading' /> {{loadTitle}}
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<view v-if="orderList.length === 0">
|
2020-08-13 08:12:57 +00:00
|
|
|
|
<emptyPage title="暂无订单~"></emptyPage>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
<view class='noCart' v-if="orderList.length === 0 && page > 1">
|
2020-08-13 08:12:57 +00:00
|
|
|
|
<view class='pictrue'>
|
|
|
|
|
<image src='/images/noOrder.png'></image>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<home></home>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
2023-07-01 10:21:24 +00:00
|
|
|
|
import { openOrderSubscribe } from '@/utils/SubscribeMessage.js';
|
2020-08-13 08:12:57 +00:00
|
|
|
|
import home from '@/components/home';
|
|
|
|
|
import payment from '@/components/payment';
|
2023-07-01 10:21:24 +00:00
|
|
|
|
import { toLogin } from '@/libs/login.js';
|
|
|
|
|
import { mapGetters } from "vuex";
|
2020-08-13 08:12:57 +00:00
|
|
|
|
import emptyPage from '@/components/emptyPage.vue'
|
2023-07-01 10:21:24 +00:00
|
|
|
|
import * as OrderApi from '@/api/trade/order.js';
|
|
|
|
|
import dayjs from '@/plugin/dayjs/dayjs.min.js';
|
|
|
|
|
import * as Util from '@/utils/util.js';
|
|
|
|
|
export default {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
components: {
|
|
|
|
|
payment,
|
|
|
|
|
home,
|
2023-07-01 10:21:24 +00:00
|
|
|
|
emptyPage
|
2020-08-13 08:12:57 +00:00
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
loading: false, //是否加载中
|
|
|
|
|
loadend: false, //是否加载完毕
|
|
|
|
|
loadTitle: '加载更多', //提示语
|
2023-07-01 10:21:24 +00:00
|
|
|
|
orderList: [], // 订单数组
|
|
|
|
|
orderData: {}, // 订单详细统计
|
|
|
|
|
orderStatus: undefined, // Tab 的订单状态
|
|
|
|
|
commentStatus: undefined, // Tab 的评论状态
|
2020-08-13 08:12:57 +00:00
|
|
|
|
page: 1,
|
|
|
|
|
limit: 20,
|
|
|
|
|
};
|
|
|
|
|
},
|
2021-06-11 09:41:16 +00:00
|
|
|
|
computed: mapGetters(['isLogin', 'userInfo']),
|
2020-08-13 08:12:57 +00:00
|
|
|
|
onShow() {
|
2023-07-01 10:21:24 +00:00
|
|
|
|
if (!this.isLogin) {
|
|
|
|
|
toLogin();
|
|
|
|
|
return;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
2023-07-01 10:21:24 +00:00
|
|
|
|
|
|
|
|
|
this.loadend = false;
|
|
|
|
|
this.page = 1;
|
|
|
|
|
this.$set(this, 'orderList', []);
|
|
|
|
|
this.getOrderData();
|
|
|
|
|
this.getOrderList();
|
2020-08-13 08:12:57 +00:00
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
/**
|
|
|
|
|
* 生命周期函数--监听页面加载
|
|
|
|
|
*/
|
|
|
|
|
onLoad: function(options) {
|
2023-07-01 10:21:24 +00:00
|
|
|
|
if (options.status) {
|
|
|
|
|
this.orderStatus = options.status;
|
|
|
|
|
}
|
2020-08-13 08:12:57 +00:00
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 获取订单统计数据
|
|
|
|
|
*/
|
|
|
|
|
getOrderData: function() {
|
2023-07-01 10:21:24 +00:00
|
|
|
|
OrderApi.getOrderCount().then(res => {
|
|
|
|
|
this.$set(this, 'orderData', res.data);
|
2020-08-13 08:12:57 +00:00
|
|
|
|
})
|
|
|
|
|
},
|
2023-07-01 10:21:24 +00:00
|
|
|
|
/**
|
|
|
|
|
* 切换类型
|
|
|
|
|
*/
|
|
|
|
|
statusClick: function(status, commentStatus) {
|
|
|
|
|
if (status === this.orderStatus) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
this.orderStatus = status;
|
|
|
|
|
this.commentStatus = commentStatus;
|
|
|
|
|
this.loadend = false;
|
|
|
|
|
this.page = 1;
|
|
|
|
|
this.$set(this, 'orderList', []);
|
|
|
|
|
this.getOrderList();
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 获取订单列表
|
|
|
|
|
*/
|
|
|
|
|
getOrderList: function() {
|
|
|
|
|
if (this.loadend || this.loading) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
this.loading = true;
|
|
|
|
|
this.loadTitle = "加载更多";
|
|
|
|
|
OrderApi.getOrderPage({
|
|
|
|
|
status: this.orderStatus,
|
|
|
|
|
commentStatus: this.commentStatus,
|
|
|
|
|
pageNo: this.page,
|
|
|
|
|
pageSize: this.limit
|
|
|
|
|
}).then(res => {
|
|
|
|
|
const list = res.data.list || [];
|
|
|
|
|
list.forEach(item => {
|
|
|
|
|
item.typeName = item.type === 1 ? '秒杀'
|
|
|
|
|
: item.type === 2 ? '砍价'
|
|
|
|
|
: item.type === 3 ? '拼团' : undefined;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// 设置结束
|
|
|
|
|
const loadend = list.length < this.limit;
|
|
|
|
|
this.orderList = this.$util.SplitArray(list, this.orderList);
|
|
|
|
|
this.$set(this, 'orderList', this.orderList);
|
|
|
|
|
this.loadend = loadend;
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.loadTitle = loadend ? "我也是有底线的" : '加载更多';
|
|
|
|
|
this.page = this.page + 1;
|
|
|
|
|
}).catch(err => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.loadTitle = "加载更多";
|
|
|
|
|
})
|
|
|
|
|
},
|
2020-08-13 08:12:57 +00:00
|
|
|
|
/**
|
|
|
|
|
* 打开支付组件
|
|
|
|
|
*/
|
2023-07-01 10:21:24 +00:00
|
|
|
|
goPay(id, payOrderId) {
|
2023-07-08 04:43:29 +00:00
|
|
|
|
const returnUrl = encodeURIComponent('/pages/order_pay_status/index?order_id=' + id);
|
2023-07-01 10:21:24 +00:00
|
|
|
|
uni.navigateTo({
|
2023-07-04 15:42:48 +00:00
|
|
|
|
url: `/pages/goods/cashier/index?order_id=${payOrderId}&returnUrl=${returnUrl}`
|
2023-07-01 10:21:24 +00:00
|
|
|
|
})
|
2020-08-13 08:12:57 +00:00
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 去订单详情
|
|
|
|
|
*/
|
|
|
|
|
goOrderDetails: function(order_id) {
|
2023-07-01 10:21:24 +00:00
|
|
|
|
if (!order_id) {
|
|
|
|
|
return this.$util.Tips({
|
|
|
|
|
title: '缺少订单号无法查看订单详情'
|
|
|
|
|
});
|
|
|
|
|
}
|
2020-08-13 08:12:57 +00:00
|
|
|
|
// #ifdef MP
|
|
|
|
|
uni.showLoading({
|
|
|
|
|
title: '正在加载',
|
|
|
|
|
})
|
|
|
|
|
openOrderSubscribe().then(() => {
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/order_details/index?order_id=' + order_id
|
|
|
|
|
})
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
})
|
2023-07-01 10:21:24 +00:00
|
|
|
|
// #endif
|
2020-08-13 08:12:57 +00:00
|
|
|
|
// #ifndef MP
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/order_details/index?order_id=' + order_id
|
|
|
|
|
})
|
|
|
|
|
// #endif
|
|
|
|
|
},
|
2023-07-01 10:21:24 +00:00
|
|
|
|
/**
|
2023-07-01 16:15:10 +00:00
|
|
|
|
* 取消订单
|
2023-07-01 10:21:24 +00:00
|
|
|
|
*/
|
|
|
|
|
cancelOrder: function(index, order_id) {
|
2023-07-01 16:15:10 +00:00
|
|
|
|
uni.showModal({
|
|
|
|
|
title: '提示',
|
|
|
|
|
content: '确认取消该订单?',
|
|
|
|
|
success: res => {
|
|
|
|
|
if (res.confirm) {
|
|
|
|
|
OrderApi.cancelOrder(order_id).then(() => {
|
|
|
|
|
this.$util.Tips({
|
|
|
|
|
title: '取消成功'
|
|
|
|
|
}, () => {
|
|
|
|
|
this.orderList.splice(index, 1);
|
|
|
|
|
this.$set(this, 'orderList', this.orderList);
|
|
|
|
|
this.getOrderData();
|
|
|
|
|
})
|
|
|
|
|
}).catch((err) => {
|
|
|
|
|
this.$util.Tips({
|
|
|
|
|
title: err
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-07-01 10:21:24 +00:00
|
|
|
|
});
|
|
|
|
|
},
|
2020-08-13 08:12:57 +00:00
|
|
|
|
/**
|
2023-07-01 16:15:10 +00:00
|
|
|
|
* 删除订单
|
2020-08-13 08:12:57 +00:00
|
|
|
|
*/
|
|
|
|
|
delOrder: function(order_id, index) {
|
2023-07-01 16:15:10 +00:00
|
|
|
|
uni.showModal({
|
|
|
|
|
title: '提示',
|
|
|
|
|
content: '确认删除该订单?',
|
|
|
|
|
success: res => {
|
|
|
|
|
if (res.confirm) {
|
|
|
|
|
OrderApi.deleteOrder(order_id).then(() => {
|
|
|
|
|
this.$util.Tips({
|
|
|
|
|
title: '删除成功'
|
|
|
|
|
}, () => {
|
|
|
|
|
this.orderList.splice(index, 1);
|
|
|
|
|
this.$set(this, 'orderList', this.orderList);
|
|
|
|
|
this.getOrderData();
|
|
|
|
|
})
|
|
|
|
|
}).catch((err) => {
|
|
|
|
|
this.$util.Tips({
|
|
|
|
|
title: err
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
2020-08-13 08:12:57 +00:00
|
|
|
|
},
|
2023-07-01 10:21:24 +00:00
|
|
|
|
|
|
|
|
|
fen2yuan(price) {
|
|
|
|
|
return Util.fen2yuan(price)
|
|
|
|
|
},
|
|
|
|
|
formatDate: function(date) {
|
|
|
|
|
return dayjs(date).format("YYYY-MM-DD HH:mm:ss");
|
|
|
|
|
}
|
2020-08-13 08:12:57 +00:00
|
|
|
|
},
|
|
|
|
|
onReachBottom: function() {
|
|
|
|
|
this.getOrderList();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
.my-order .header {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
height: 250rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
padding: 0 30rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .header .picTxt {
|
|
|
|
|
height: 190rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .header .picTxt .text {
|
|
|
|
|
color: rgba(255, 255, 255, 0.8);
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
font-family: 'Guildford Pro';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .header .picTxt .text .name {
|
|
|
|
|
font-size: 34rpx;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #fff;
|
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .header .picTxt .pictrue {
|
|
|
|
|
width: 122rpx;
|
|
|
|
|
height: 109rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .header .picTxt .pictrue image {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .nav {
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
width: 690rpx;
|
|
|
|
|
height: 140rpx;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
border-radius: 14rpx;
|
|
|
|
|
margin: -60rpx auto 0 auto;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .nav .item {
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #282828;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
padding: 26rpx 0;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .nav .item.on {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
// font-weight: bold;
|
|
|
|
|
// border-bottom: 5rpx solid #e93323;
|
|
|
|
|
/* #ifdef H5 || MP */
|
2020-08-13 08:12:57 +00:00
|
|
|
|
font-weight: bold;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
/* #endif */
|
|
|
|
|
border-bottom: 5rpx solid $theme-color;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .nav .item .num {
|
|
|
|
|
margin-top: 18rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .list {
|
|
|
|
|
width: 690rpx;
|
|
|
|
|
margin: 14rpx auto 0 auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .list .item {
|
|
|
|
|
background-color: #fff;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
border-radius: 14rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
margin-bottom: 14rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .list .item .title {
|
|
|
|
|
height: 84rpx;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
padding: 0 24rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
border-bottom: 1rpx solid #eee;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #282828;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .list .item .title .sign {
|
|
|
|
|
font-size: 24rpx;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
padding: 0 13rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
height: 36rpx;
|
|
|
|
|
margin-right: 15rpx;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
border-radius: 18rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .list .item .item-info {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
padding: 0 24rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
margin-top: 22rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .list .item .item-info .pictrue {
|
|
|
|
|
width: 120rpx;
|
|
|
|
|
height: 120rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .list .item .item-info .pictrue image {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
border-radius: 14rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .list .item .item-info .text {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
width: 500rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #999;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .list .item .item-info .text .name {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
width: 350rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
color: #282828;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .list .item .item-info .text .money {
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .list .item .totalPrice {
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #282828;
|
|
|
|
|
text-align: right;
|
|
|
|
|
margin: 27rpx 0 0 30rpx;
|
|
|
|
|
padding: 0 30rpx 30rpx 0;
|
|
|
|
|
border-bottom: 1rpx solid #eee;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .list .item .totalPrice .money {
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .list .item .bottom {
|
|
|
|
|
height: 107rpx;
|
|
|
|
|
padding: 0 30rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .list .item .bottom .bnt {
|
|
|
|
|
width: 176rpx;
|
|
|
|
|
height: 60rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 60rpx;
|
|
|
|
|
color: #fff;
|
|
|
|
|
border-radius: 50rpx;
|
|
|
|
|
font-size: 27rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .list .item .bottom .bnt.cancelBnt {
|
|
|
|
|
border: 1rpx solid #ddd;
|
|
|
|
|
color: #aaa;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-order .list .item .bottom .bnt~.bnt {
|
|
|
|
|
margin-left: 17rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.noCart {
|
|
|
|
|
margin-top: 171rpx;
|
|
|
|
|
padding-top: 0.1rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.noCart .pictrue {
|
|
|
|
|
width: 414rpx;
|
|
|
|
|
height: 336rpx;
|
|
|
|
|
margin: 78rpx auto 56rpx auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.noCart .pictrue image {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
</style>
|