From cb623fcefa72d5b54b1e536aa84c3f3851743975 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期三, 20 十一月 2024 11:01:43 +0800 Subject: [PATCH] update 打印可能的空白(不能确定是不是纸张大小超出还是空数据的问题,已经提交了 --- sub_pages/customer/self/history.vue | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/sub_pages/customer/self/history.vue b/sub_pages/customer/self/history.vue index f855a3b..3e8a408 100644 --- a/sub_pages/customer/self/history.vue +++ b/sub_pages/customer/self/history.vue @@ -222,23 +222,30 @@ <view class="trade-list-container"> <view class="trade-info-container flex" :class="[dto.status!=='UP'?'OFF':'']" v-for="(dto,index) of list" :key="index"> - <image class="img img100 br-4 m-r-10" :class="[!dto.stock?'component-stock-zero':'']" + <image class="img img100 br-4 m-r-10" :class="[!dto.stock?'component-stock-zero':'',dto.status!=='UP'?'component-status-zero':'']" :src="dto.url||dto.cover" @click.stop="toDetail(dto)"></image> <view class="flex1"> <view class="flex" @click.stop="toDetail(dto)"> <view class="title"> - <span class="m-r-5" style="display: inline-block;" - v-if="dto.categoryStr">{{dto.categoryStr||''}}</span> + <!-- <span class="m-r-5" style="display: inline-block;" --> + <!-- v-if="dto.categoryStr">{{dto.categoryStr||''}}</span> --> <span v-if="dto.levelStr" class="m-r-5" style="display: inline-block;">{{ dto.levelStr || '' }}</span> {{ dto.name || '-' }} </view> - <view class="price m-l-a m-r-0"> - ¥{{ dto.price || '-' }}/扎 + + <view class="price m-l-a m-r-0 component-price-new"> + <span class="tip">会员价</span>¥<span class="p">{{ dto.priceMember || dto.price || '-' }}</span>/扎 + <view class="component-price-old"> + ¥{{dto.price}}/扎 + </view> </view> + </view> <view class="flex"> <view class="desc p-t-12 flex" @click.stop="toDetail(dto)"> + <view class="m-r-15"> 已售:{{ ((dto.sales||0) +(dto.realSales||0)) || 0 }} </view> + <view class="m-r-15">剩余:{{ dto.stock || 0 }}</view> <view class="m-r-15">颜色:{{ dto.color || '-' }}</view> </view> -- Gitblit v1.9.3