parent
dd3e5e53fc
commit
6119af35df
@ -124,7 +124,9 @@
|
|||||||
:show="true" prefixIcon="" customStyle=""
|
:show="true" prefixIcon="" customStyle=""
|
||||||
iconStyle="font-size:28rpx;color:#59CB56;margin-right:10rpx;" lines="1" decoration="none">
|
iconStyle="font-size:28rpx;color:#59CB56;margin-right:10rpx;" lines="1" decoration="none">
|
||||||
</up-text>
|
</up-text>
|
||||||
<u-icon slot="right" label-color="#fa4e62" :label="`X${item.number}`"></u-icon>
|
<u-icon v-if="oder_type===1" slot="right" label-color="#fa4e62" :label="`X${item.number}`"></u-icon>
|
||||||
|
|
||||||
|
<u-icon v-else slot="right" label-color="#fa4e62" :label="`X${orderInfo.table_number}`"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
@ -141,7 +143,9 @@
|
|||||||
<view class="title font-size-32">
|
<view class="title font-size-32">
|
||||||
<view>费用合计:</view>
|
<view>费用合计:</view>
|
||||||
<view class="title-tip " >
|
<view class="title-tip " >
|
||||||
<text class="font-size-32 font-bold color-red">¥{{ totalPrice }}元</text>
|
<text v-if="oder_type===1" class="font-size-32 font-bold color-red">¥{{ totalPrice }}元</text>
|
||||||
|
<text v-else class="font-size-32 font-bold color-red">¥{{ matchedItems_sp[0][0].dishes.price *orderInfo.table_number }}元</text>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@ -236,7 +240,6 @@
|
|||||||
</wd-cell-group>
|
</wd-cell-group>
|
||||||
</wd-form>
|
</wd-form>
|
||||||
|
|
||||||
<!-- 一般的,检举内容由承办的党的委员会或纪律检查委员会将处理意见或复议、复查结论同申诉人见面,听取其意见。复议、复查的结论和决定,应交给申诉人一份。 -->
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<!-- <wd-button size="small" plain>查看详情</wd-button> -->
|
<!-- <wd-button size="small" plain>查看详情</wd-button> -->
|
||||||
</template>
|
</template>
|
||||||
|
@ -168,18 +168,14 @@
|
|||||||
<view>3.如若档期冲突订单被厨师取消,定金将原路返回,请放心下单。</view>
|
<view>3.如若档期冲突订单被厨师取消,定金将原路返回,请放心下单。</view>
|
||||||
<view>4.在此,感谢您对此平台以及厨师们的支持,您的支持就是我们前进的最大动力。</view>
|
<view>4.在此,感谢您对此平台以及厨师们的支持,您的支持就是我们前进的最大动力。</view>
|
||||||
|
|
||||||
<wd-form ref="form" :model="orderInfo" errorType="message">
|
|
||||||
<wd-cell-group border>
|
|
||||||
<view class="pb-4" />
|
|
||||||
<wd-button plain hairline custom-style="width: calc(100vw - 100rpx);" @click="payOrder(1)">确定支付</wd-button>
|
|
||||||
<view class="pb-2" />
|
|
||||||
<wd-button hairline custom-style="width: calc(100vw - 100rpx);" @click="payOrder(2)">取消订单</wd-button>
|
|
||||||
</wd-cell-group>
|
|
||||||
</wd-form>
|
|
||||||
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
|
<view class="pb-4" />
|
||||||
|
<wd-button plain hairline custom-style="width: calc(100vw - 120rpx);" @click="payOrder(1)">确定支付</wd-button>
|
||||||
|
<view class="pb-2" />
|
||||||
|
<wd-button hairline custom-style="width: calc(100vw - 120rpx);" @click="payOrder(2)">取消订单</wd-button>
|
||||||
</template>
|
</template>
|
||||||
</wd-card>
|
</wd-card>
|
||||||
|
<view class="p-2"></view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -1,20 +1,3 @@
|
|||||||
<style>
|
|
||||||
.ellipsis {
|
|
||||||
/* 在末尾显示省略号 */
|
|
||||||
width: 420rpx;
|
|
||||||
/* 防止文字换行 */
|
|
||||||
overflow: hidden;
|
|
||||||
/* 隐藏超出部分的文字 */
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap;
|
|
||||||
/* 确保元素有宽度 */
|
|
||||||
}
|
|
||||||
|
|
||||||
html,
|
|
||||||
body {
|
|
||||||
height: 0rpx;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
@ -32,22 +15,29 @@ body {
|
|||||||
v-model="matchedItems_sp" @query="changeSP" class="fv-page flex-col ">
|
v-model="matchedItems_sp" @query="changeSP" class="fv-page flex-col ">
|
||||||
<view v-for="(item, index) in matchedItems_sp" :key="index" @click="orderDetail(item.id)">
|
<view v-for="(item, index) in matchedItems_sp" :key="index" @click="orderDetail(item.id)">
|
||||||
<wd-card >
|
<wd-card >
|
||||||
<!-- <template #title>
|
<template #title>
|
||||||
<view> {{ item.order_sn }}</view>
|
<view class="title">
|
||||||
</template> -->
|
<view> 创建时间:{{ item.create_time }} </view>
|
||||||
<view class="pt-2">订单编号:{{ item.order_sn }} </view>
|
<text v-if="item.paid === 0">
|
||||||
|
<wd-tag custom-class="space" mark>未付款</wd-tag>
|
||||||
|
</text>
|
||||||
|
<text v-else>
|
||||||
|
<wd-tag custom-class="space" type="primary" mark>已付款</wd-tag>
|
||||||
|
</text>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
<view>订单编号:{{ item.order_sn }} </view>
|
||||||
<view class="pt-2">联系人:{{ item.customer_name }}</view>
|
<view class="pt-2">联系人:{{ item.customer_name }}</view>
|
||||||
<view class="pt-2">联系电话:{{ item.phone }}</view>
|
<view class="pt-2">联系电话:{{ item.phone }}</view>
|
||||||
<view class="pt-2">宴席类型:{{ item.banquet_type }}</view>
|
<view class="pt-2">宴席类型:{{ item.banquet_type }}</view>
|
||||||
<view class="pt-2">宴席地址:{{ item.address }}</view>
|
<view class="pt-2">宴席地址:{{ item.address }}</view>
|
||||||
|
<view class="pt-2">支付金额:<text >¥{{ item.final_price }}元</text></view>
|
||||||
|
<view class="pt-2">预付金额:<text >¥{{ item.prepay_price }}元</text></view>
|
||||||
<view class="pt-2">备注:{{ item.remark }}</view>
|
<view class="pt-2">备注:{{ item.remark }}</view>
|
||||||
<view class="pt-2">支付金额:<text class="color-red">¥{{ item.final_price }}元</text></view>
|
|
||||||
<view class="pt-2">预付金额:<text class="color-red">¥{{ item.prepay_price }}元</text></view>
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<view>
|
<!-- <view>
|
||||||
<!-- <wd-button size="small" style="margin-right: 8px;">评价</wd-button> -->
|
|
||||||
<wd-button size="small" plain>查看详情</wd-button>
|
<wd-button size="small" plain>查看详情</wd-button>
|
||||||
</view>
|
</view> -->
|
||||||
</template>
|
</template>
|
||||||
</wd-card>
|
</wd-card>
|
||||||
</view>
|
</view>
|
||||||
|
@ -27,7 +27,9 @@ body {
|
|||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
/* 禁用日期的文字带有删除线 */
|
/* 禁用日期的文字带有删除线 */
|
||||||
}
|
}
|
||||||
|
// .wd-card {
|
||||||
|
// border: 1px solid #e2e2e2;
|
||||||
|
// }
|
||||||
|
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user