feat: ai店铺添加柱状图
This commit is contained in:
@@ -48,7 +48,8 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="flex-row ju-flex-end" v-if="props.index != 5">
|
||||
<view class="discount-row flex-between" v-if="props.index != 5">
|
||||
<view class="size24 c_999">{{ formatCreateTime(props.data.createTime) }}</view>
|
||||
<view class="size24 c32">已优惠¥{{ fen2yuan(props.data.randomDiscountPrice) }}</view>
|
||||
</view>
|
||||
<view class="flex-row ju-flex-end" v-if="props.index != 5">
|
||||
@@ -91,6 +92,7 @@
|
||||
import card_orderBan from '@/components/card_orderBan/card_orderBan.vue';
|
||||
import AiOrderActionBar from '@/components/orderItem/AiOrderActionBar.vue';
|
||||
import AfterSaleApi from '@/sheep/api/trade/afterSale';
|
||||
import sheep from '@/sheep';
|
||||
import {
|
||||
aiDelayedShipment,
|
||||
aiPendingShipment,
|
||||
@@ -118,6 +120,13 @@
|
||||
const onCopy = (no) => {
|
||||
proxy.$sheep.$helper.copyText(no);
|
||||
};
|
||||
const formatCreateTime = (value) => {
|
||||
if (!value) return '';
|
||||
const s = sheep?.$helper?.timeFormat
|
||||
? sheep.$helper.timeFormat(value, 'yyyy-mm-dd hh:MM:ss')
|
||||
: String(value);
|
||||
return s || '';
|
||||
};
|
||||
const onApply = () => {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
@@ -254,6 +263,10 @@
|
||||
margin-bottom: 32rpx;
|
||||
}
|
||||
|
||||
.discount-row {
|
||||
margin-top: 8rpx;
|
||||
}
|
||||
|
||||
.price {
|
||||
color: #ee0a24;
|
||||
font-size: 24rpx;
|
||||
|
||||
Reference in New Issue
Block a user