修复订单退菜弹窗关闭未重置,餐位费退款时限制问题
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
</view>
|
||||
<view class="u-flex u-flex-1 u-row-right">
|
||||
<view>×{{item.num}}</view>
|
||||
<view class="u-m-l-24 u-text-right" :style="computedPriceStyle()">¥{{item.price}}</view>
|
||||
<view class="u-text-right" :style="computedPriceStyle()">¥{{item.price}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -98,8 +98,9 @@
|
||||
if (!item) {
|
||||
return ''
|
||||
}
|
||||
const minW=`${item.price}`.length * priceSize + 15
|
||||
return {
|
||||
'min-width': `${item.price}`.length * priceSize + 'px'
|
||||
'min-width':(minW<36?36:minW) + 'px'
|
||||
}
|
||||
}
|
||||
// const computedPriceStyle = computed(() => {
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
}
|
||||
async function init() {
|
||||
console.log(order.data.query);
|
||||
const {content,totalElements}=await Api.tbOrderInfoData({...order.data.query,page:order.data.query.page,searchText:search.val})
|
||||
const {content,totalElements}=await Api.tbOrderInfoData({...order.data.query,page:order.data.query.page,keyword:search.val})
|
||||
uni.stopPullDownRefresh()
|
||||
order.setVal('list',content)
|
||||
console.log(order.data.list);
|
||||
|
||||
Reference in New Issue
Block a user