diff --git a/components/paymentMethod.vue b/components/paymentMethod.vue
index 3a9d438..d9c3121 100644
--- a/components/paymentMethod.vue
+++ b/components/paymentMethod.vue
@@ -42,6 +42,7 @@
+
@@ -230,11 +231,11 @@ defineExpose({
.paymentMethod {
box-sizing: border-box;
margin-top: 30rpx;
- border-radius: 18rpx;
+ background-color: #fff;
+ border-radius: 20rpx;
+
.paymentMethod_content {
- background-color: #fff;
- border-radius: 22rpx;
padding: 30rpx 30rpx 0 30rpx;
box-sizing: border-box;
@@ -297,6 +298,9 @@ defineExpose({
.method_list:nth-child(odd) {
border-bottom: 2rpx solid #e5e5e5;
}
+ .method_list:nth-child(2) {
+ padding-bottom: 22rpx;
+ }
}
}
\ No newline at end of file
diff --git a/pages/order/components/charge.vue b/pages/order/components/charge.vue
index 536d68d..2913328 100644
--- a/pages/order/components/charge.vue
+++ b/pages/order/components/charge.vue
@@ -1,11 +1,11 @@
-
+
+
{
color: #ff6300;
}
.box {
- background-color: #fdf9f6;
- padding: 30rpx;
- margin-top: 32rpx;
- border-radius: 22rpx;
+ padding:0 30rpx;
overflow: hidden;
}
@@ -174,12 +171,12 @@ onMounted(() => {
.list {
display: flex;
gap: 20rpx;
- padding: 20rpx 0;
+ padding-bottom: 20rpx;
.item {
padding: 36rpx 22rpx;
border-radius: 42rpx;
- background: linear-gradient(180deg, #f5f5f5 58.54%, #fff 104.47%);
+ background: linear-gradient(180deg, #F5F5F5 58.54%, #FFF 104.47%);
display: flex;
flex-direction: column;
justify-content: center;
diff --git a/pages/order/confirm-order.vue b/pages/order/confirm-order.vue
index eab0664..9d3978f 100644
--- a/pages/order/confirm-order.vue
+++ b/pages/order/confirm-order.vue
@@ -101,21 +101,6 @@
@changeFree="changeFree"
>
-
-
- updateChargeSel(e)"
- @updateRechargeId="updateRechargeId"
- @updateIsShow="updateIsShow"
- v-if="listinfo.status == 'unpaid' || !listinfo.id"
- >
-
+ >
+
+
+
+ updateChargeSel(e)"
+ @updateRechargeId="updateRechargeId"
+ @updateIsShow="updateIsShow"
+ v-if="listinfo.status == 'unpaid' || !listinfo.id"
+ >
+
+
+
-
实付金额
¥
@@ -1147,7 +1149,7 @@ async function init(opt) {
let res = await APIgetOrderById({
orderId: listinfo.id,
});
- if (res&&typeof res=='object') {
+ if (res && typeof res == "object") {
setOrder(res);
}
}
@@ -1155,11 +1157,11 @@ async function init(opt) {
const shopInfoRes = await APIusershopInfodetail({
shopId: options.shopId,
});
- if (!isPayBefor()&&options.tableCode) {
+ if (!isPayBefor() && options.tableCode) {
const res = await APIhistoryOrder({
tableCode: options.tableCode || "",
});
- if (res&&typeof res=='object') {
+ if (res && typeof res == "object") {
setOrder(res);
}
}
@@ -1693,14 +1695,13 @@ page {
width: 100%;
padding: 36rpx 36rpx 70rpx 36rpx;
background: #ffffff;
-
+
.fixedview_one {
display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- // align-items: flex-end;
-
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ // align-items: flex-end;
.fixedview_oneone {
font-weight: 400;
diff --git a/pages/product/index - 副本.vue b/pages/product/index - 副本.vue
deleted file mode 100644
index 6f999bb..0000000
--- a/pages/product/index - 副本.vue
+++ /dev/null
@@ -1,2632 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- {{ shopInfo.shopName }}
-
-
-
-
-
-
-
-
- 距离您{{ distance }}
-
-
-
- 营业时间:{{ (shopInfo.businessStartDay || '--') +' 至 '+ (shopInfo.businessEndDay || '--')}}
- {{endTimeref.startTime}} -
- {{endTimeref.endTime < '05'?` 凌晨${endTimeref.endTime}`:endTimeref.endTime}}
-
-
- 查看
-
-
-
-
-
- 本店招牌菜
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
- 本店回头客第{{index+1}}名
-
-
- 招牌
-
- 「{{item.suitNum}}{{item.unitName}}起点」
-
-
-
-
-
-
-
- ¥
-
-
- {{shopInfo.isVip ==1 && shopInfo.isMemberPrice==1?(item.memberPrice||item.salePrice):item.salePrice}}
-
-
- /{{item.unitName}}
-
-
-
-
- 未开售
- 已售罄
-
-
-
-
-
-
-
- ¥
-
-
- {{shopInfo.isVip ==1 && shopInfo.isMemberPrice==1?(item.memberPrice|| item.salePrice):item.salePrice}}
-
- /{{item.unitName}}
-
-
-
-
-
-
-
- 选择套餐
- 选规格
- {{ ifcartNumber(item) <99?ifcartNumber(item):'99+'}}
-
-
-
-
- singleclick(item, '-'), 500)">
-
-
- {{ ifcartNumber(item) }}
-
-
- singleclick(item, '+'), 500)">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
-
-
-
-
-
-
- TOP{{index1+1}}
-
- {{ item1.name }}
-
- 热销
- {{item1.shortTitle?item1.shortTitle:''}}
-
-
- 「{{item1.suitNum}}{{item1.unitName}}起点」
-
-
-
- ¥
-
- {{shopInfo.isVip ==1 && shopInfo.isMemberPrice==1 ?(item1.memberPrice||item1.salePrice):item1.salePrice}}
-
- /{{item1.unitName}}
-
-
-
- 未开售
- 已售罄
-
-
-
-
-
- ¥
-
- {{shopInfo.isVip ==1 && shopInfo.isMemberPrice==1?(item1.memberPrice||item1.salePrice):item1.salePrice}}
-
- /{{item1.unitName}}
-
-
-
-
- 选择套餐
- 选规格
- {{ ifcartNumber(item1) <99?ifcartNumber(item1):'99+'}}
-
-
-
-
-
- singleclick(item1, '-'), 500)">
-
-
-
- {{ ifcartNumber(item1) }}
-
-
- singleclick(item1, '+'), 500)">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{cartLists_count<99?cartLists_count:'99+'}}
-
-
- ¥
- {{totalPrices}}
-
-
- 结算
-
-
-
-
-
-
-
-
-
-
-
-
- {{specifications.item.name}}
-
- {{specifications.item.shortTitle?specifications.item.shortTitle:''}}
-
-
-
-
- {{specType }}
-
-
-
- {{option}}
-
- 售罄
-
-
- 已下架
-
-
-
-
-
-
-
-
-
-
- {{setmenu.title}} {{setmenu.count }} 选{{setmenu.number }}
-
-
-
- {{option.proName}}
- /{{option.unitName}}
-
- 售罄
-
-
-
-
-
-
-
-
-
-
-
- ¥
- {{shopInfo.isVip ==1 && shopInfo.isMemberPrice==1? (specifications.item.result.memberPrice||specifications.item.result.salePrice):specifications.item.result.salePrice}}
- /{{specifications.item.unitName}}
-
- 「{{specifications.item.result.suitNum}}{{specifications.item.result.unitName}}起点」
-
-
-
- ¥
-
- {{shopInfo.isVip ==1 && shopInfo.isMemberPrice==1? (specifications.item.memberPrice||specifications.item.salePrice):specifications.item.salePrice}}
-
-
- /{{specifications.item.unitName}}
-
-
- 「{{specifications.item.suitNum}}{{specifications.item.unitName}}起点」
-
-
-
-
-
-
-
-
-
- {{ shopCartNumber }}
-
-
-
-
-
-
-
-
- {{selectedSpecsStr }}
-
-
- {{skuBtnText}}
-
-
- {{skuBtnText}}
-
-
-
-
-
-
- 已下单菜品
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pages/product/index copy.vue b/pages/product/index copy.vue
new file mode 100644
index 0000000..b9a8b09
--- /dev/null
+++ b/pages/product/index copy.vue
@@ -0,0 +1,3240 @@
+
+
+
+
+
+
+
+
+
+ {{ shopInfo.shopName }}
+
+
+
+
+
+
+
+ 距离您{{ distance }}
+
+
+ 营业时间:{{ (shopInfo.businessStartDay || '--') + ' 至 ' + (shopInfo.businessEndDay || '--') }} {{ endTimeref.startTime }} -
+ {{ endTimeref.endTime < '05' ? ` 凌晨${endTimeref.endTime}` : endTimeref.endTime }}
+
+
+ 查看
+
+
+
+
+ 本店招牌菜
+
+
+
+
+
+ 限时折扣
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+ 本店回头客第{{ index + 1 }}名
+
+ 招牌
+
+ 「{{ item.suitNum }}{{ item.unitName }}起点」
+
+
+
+
+
+
+
+ ¥
+
+
+ {{ shopInfo.isVip == 1 && shopInfo.isMemberPrice == 1 ? item.memberPrice || item.salePrice : item.salePrice }}
+
+
+ /{{ item.unitName }}
+
+ ¥{{ item.salePrice }}
+
+
+
+
+ 未开售
+ 已售罄
+
+
+
+
+
+
+
+ ¥
+
+
+
+
+
+ /{{ item.unitName }}
+ ¥{{ item.salePrice }}
+
+
+
+
+
+
+
+ 选择套餐
+ 选规格
+ {{ ifcartNumber(item) < 99 ? ifcartNumber(item) : '99+' }}
+
+
+
+
+ singleclick(item, '-'), 500)">
+
+ {{ ifcartNumber(item) }}
+
+
+ singleclick(item, '+'), 500)">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+ TOP{{ index1 + 1 }}
+ 限时折扣
+
+ {{ item1.name }}
+
+ 热销
+ {{ item1.shortTitle ? item1.shortTitle : '' }}
+
+
+ 「{{ item1.suitNum }}{{ item1.unitName }}起点」
+
+
+
+ ¥
+
+ {{ shopInfo.isVip == 1 && shopInfo.isMemberPrice == 1 ? item1.memberPrice || item1.salePrice : item1.salePrice }}
+
+ /{{ item1.unitName }}
+
+
+
+ 未开售
+ 已售罄
+
+
+
+
+
+ ¥
+
+
+
+ /{{ item1.unitName }}
+
+ ¥{{ item1.salePrice }}
+
+
+
+
+
+ 选择套餐
+ 选规格
+ {{ ifcartNumber(item1) < 99 ? ifcartNumber(item1) : '99+' }}
+
+
+
+
+
+ singleclick(item1, '-'), 500)">
+
+
+ {{ ifcartNumber(item1) }}
+
+
+ singleclick(item1, '+'), 500)">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ cartLists_count < 99 ? cartLists_count : '99+' }}
+
+
+ ¥
+ {{ totalPrices }}
+
+
+ 结算
+
+
+ 扫码下单
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ specifications.item.name }}
+
+ {{ specifications.item.shortTitle ? specifications.item.shortTitle : '' }}
+
+
+
+
+ {{ specType }}
+
+
+
+ {{ option }}
+
+ 售罄
+
+
+ 已下架
+
+
+
+
+
+
+
+
+
+ {{ setmenu.title }} {{ setmenu.count }} 选{{ setmenu.number }}
+
+
+ {{ option.proName }}
+ /{{ option.unitName }}
+
+ 售罄
+
+
+
+
+
+
+
+
+
+
+ ¥
+
+
+
+
+
+ {{
+ shopInfo.isVip == 1 && shopInfo.isMemberPrice == 1
+ ? specifications.item.result.memberPrice || specifications.item.result.salePrice
+ : specifications.item.result.salePrice
+ }}
+
+ /{{ specifications.item.unitName }}
+ 「{{ specifications.item.result.suitNum }}{{ specifications.item.result.unitName }}起点」
+
+
+ ¥
+
+
+
+
+ {{
+ shopInfo.isVip == 1 && shopInfo.isMemberPrice == 1
+ ? specifications.item.memberPrice || specifications.item.salePrice
+ : specifications.item.salePrice
+ }}
+
+ /{{ specifications.item.unitName }}
+ 「{{ specifications.item.suitNum }}{{ specifications.item.unitName }}起点」
+
+
+
+
+
+
+
+ {{ shopCartNumber }}
+
+
+
+
+
+
+
+ {{ selectedSpecsStr }}
+
+
+
+ {{ skuBtnText }}
+
+
+ {{ skuBtnText }}
+
+
+
+
+ {{ skuBtnText }}
+
+
+
+
+
+
+
+ 已下单菜品
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/product/index.vue b/pages/product/index.vue
index b9a8b09..5f134d0 100644
--- a/pages/product/index.vue
+++ b/pages/product/index.vue
@@ -1,670 +1,1094 @@
-
-
-
-
-
-
-
-
- {{ shopInfo.shopName }}
-
-
-
-
-
-
-
- 距离您{{ distance }}
-
-
- 营业时间:{{ (shopInfo.businessStartDay || '--') + ' 至 ' + (shopInfo.businessEndDay || '--') }} {{ endTimeref.startTime }} -
- {{ endTimeref.endTime < '05' ? ` 凌晨${endTimeref.endTime}` : endTimeref.endTime }}
-
-
- 查看
-
-
-
-
- 本店招牌菜
-
-
-
-
-
+
+
+
+
+ {{ shopInfo.shopName }}
+
+ 距离您{{ distance }}
+
+
+
+ 新客立减¥
+ 10.00
+ 新客可随机减免金额
+
+
+
+ 营业时间:{{
+ (shopInfo.businessStartDay || "--") +
+ " 至 " +
+ (shopInfo.businessEndDay || "--")
+ }}
+ {{ endTimeref.startTime }} -
+ {{
+ endTimeref.endTime < "05"
+ ? ` 凌晨${endTimeref.endTime}`
+ : endTimeref.endTime
+ }}
+
+
+ 查看
+
+
+
+
+ 本店招牌菜
+
+
+
+
+
- 限时折扣
-
-
-
-
-
-
-
-
- {{ item.name }}
-
- 本店回头客第{{ index + 1 }}名
-
- 招牌
-
- 「{{ item.suitNum }}{{ item.unitName }}起点」
-
-
-
-
-
-
- ¥
-
-
- {{ shopInfo.isVip == 1 && shopInfo.isMemberPrice == 1 ? item.memberPrice || item.salePrice : item.salePrice }}
-
-
- /{{ item.unitName }}
+
+
+
+ ¥
+
+
+ {{
+ shopInfo.isVip == 1 && shopInfo.isMemberPrice == 1
+ ? item.memberPrice || item.salePrice
+ : item.salePrice
+ }}
+
+
+ /{{ item.unitName }}
- ¥{{ item.salePrice }}
-
-
-
-
- 未开售
- 已售罄
-
-
-
+ ¥{{ item.salePrice }}
+
+
+
+
+ 未开售
+ 已售罄
+
+
+
-
-
-
- ¥
-
-
-
-
+
+
+
+ ¥
+
+
+
+
- /{{ item.unitName }}
- ¥{{ item.salePrice }}
-
-
-
-
-
-
-
- 选择套餐
- 选规格
- {{ ifcartNumber(item) < 99 ? ifcartNumber(item) : '99+' }}
-
-
-
-
- singleclick(item, '-'), 500)">
-
- {{ ifcartNumber(item) }}
-
-
- singleclick(item, '+'), 500)">
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ 选择套餐
+ 选规格
+ {{
+ ifcartNumber(item) < 99 ? ifcartNumber(item) : "99+"
+ }}
+
+
+
+
+ singleclick(item, '-'), 500)
+ "
+ >
+
+ {{ ifcartNumber(item) }}
+
+
+ singleclick(item, '+'), 500)
+ "
+ >
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+ 限时折扣19:45
+
-
-
-
-
-
-
+
+
+
+
+
+
- TOP{{ index1 + 1 }}
- 限时折扣
-
- {{ item1.name }}
-
- 热销
- {{ item1.shortTitle ? item1.shortTitle : '' }}
+ TOP{{ index1 + 1 }}
-
- 「{{ item1.suitNum }}{{ item1.unitName }}起点」
-
-
-
- ¥
-
- {{ shopInfo.isVip == 1 && shopInfo.isMemberPrice == 1 ? item1.memberPrice || item1.salePrice : item1.salePrice }}
-
- /{{ item1.unitName }}
-
-
-
- 未开售
- 已售罄
-
-
-
-
-
- ¥
-
-
-
- /{{ item1.unitName }}
-
+ 热销
+ {{
+ item1.shortTitle ? item1.shortTitle : ""
+ }}
+
+
+ 「{{ item1.suitNum }}{{ item1.unitName }}起点」
+
+
+
+ ¥
+
+ {{
+ shopInfo.isVip == 1 && shopInfo.isMemberPrice == 1
+ ? item1.memberPrice || item1.salePrice
+ : item1.salePrice
+ }}
+
+ /{{ item1.unitName }}
+
+
+
+ 未开售
+ 已售罄
+
+
+
+
+
+ ¥
+
+
+
+ /{{ item1.unitName }}
+
- ¥{{ item1.salePrice }}
+ ¥{{ item1.salePrice }}
-
-
-
-
- 选择套餐
- 选规格
- {{ ifcartNumber(item1) < 99 ? ifcartNumber(item1) : '99+' }}
-
-
-
-
-
- singleclick(item1, '-'), 500)">
-
+
+
+
+ 选择套餐
+ 选规格
+ {{
+ ifcartNumber(item1) < 99 ? ifcartNumber(item1) : "99+"
+ }}
+
+
+
+
+
+ singleclick(item1, '-'), 500)
+ "
+ >
+
- {{ ifcartNumber(item1) }}
-
-
- singleclick(item1, '+'), 500)">
-
-
-
-
-
-
-
-
-
-
-
+ {{ ifcartNumber(item1) }}
+
+
+ singleclick(item1, '+'), 500)
+ "
+ >
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
- {{ cartLists_count < 99 ? cartLists_count : '99+' }}
-
+
+
+
+
+
+
+ {{
+ cartLists_count < 99 ? cartLists_count : "99+"
+ }}
+
- ¥
- {{ totalPrices }}
-
-
- 结算
-
-
- 扫码下单
-
-
-
+ ¥
+ {{ totalPrices }}
+
+
+ 结算
+
+
+ 扫码下单
+
+
+
+
+ 再买
+ ¥7
+ ,
+ 可在减
+ ¥6
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
- {{ specifications.item.name }}
-
- {{ specifications.item.shortTitle ? specifications.item.shortTitle : '' }}
-
-
-
-
- {{ specType }}
-
-
-
- {{ option }}
-
- 售罄
-
-
- 已下架
-
-
-
-
-
-
-
-
-
- {{ setmenu.title }} {{ setmenu.count }} 选{{ setmenu.number }}
-
-
- {{ option.proName }}
- /{{ option.unitName }}
-
- 售罄
-
-
-
-
-
-
-
-
-
-
- ¥
-
-
-
+ {{ specifications.item.name }}
+
+ {{
+ specifications.item.shortTitle
+ ? specifications.item.shortTitle
+ : ""
+ }}
+
+
+
+
+ {{ specType }}
+
+
+
+ {{ option }}
+
+ 售罄
+
+
+ 已下架
+
+
+
+
+
+
+
+
+
+ {{ setmenu.title }} {{ setmenu.count }} 选{{
+ setmenu.number
+ }}
+
+
+ {{ option.proName }}
+ /{{ option.unitName }}
+
+ 售罄
+
+
+
+
+
+
+
+
+
+
+ ¥
+
+
+
-
- {{
- shopInfo.isVip == 1 && shopInfo.isMemberPrice == 1
- ? specifications.item.result.memberPrice || specifications.item.result.salePrice
- : specifications.item.result.salePrice
- }}
-
- /{{ specifications.item.unitName }}
- 「{{ specifications.item.result.suitNum }}{{ specifications.item.result.unitName }}起点」
-
-
- ¥
-
-
-
-
- {{
- shopInfo.isVip == 1 && shopInfo.isMemberPrice == 1
- ? specifications.item.memberPrice || specifications.item.salePrice
- : specifications.item.salePrice
- }}
-
- /{{ specifications.item.unitName }}
- 「{{ specifications.item.suitNum }}{{ specifications.item.unitName }}起点」
-
+
+ {{
+ shopInfo.isVip == 1 && shopInfo.isMemberPrice == 1
+ ? specifications.item.result.memberPrice ||
+ specifications.item.result.salePrice
+ : specifications.item.result.salePrice
+ }}
+
+ /{{ specifications.item.unitName }}
+ 「{{ specifications.item.result.suitNum
+ }}{{ specifications.item.result.unitName }}起点」
+
+
+ ¥
+
+
+
+
+ {{
+ shopInfo.isVip == 1 && shopInfo.isMemberPrice == 1
+ ? specifications.item.memberPrice ||
+ specifications.item.salePrice
+ : specifications.item.salePrice
+ }}
+
+ /{{ specifications.item.unitName }}
+ 「{{ specifications.item.suitNum
+ }}{{ specifications.item.unitName }}起点」
+
-
-
-
-
-
- {{ shopCartNumber }}
-
-
-
-
-
-
-
- {{ selectedSpecsStr }}
-
-
-
- {{ skuBtnText }}
-
-
- {{ skuBtnText }}
-
-
-
-
- {{ skuBtnText }}
-
-
-
-
-
-
-
- 已下单菜品
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item }}
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ {{ shopCartNumber }}
+
+
+
+
+
+
+
+ {{ selectedSpecsStr }}
+
+
+
+ {{ skuBtnText }}
+
+
+ {{ skuBtnText }}
+
+
+
+
+ {{ skuBtnText }}
+
+
+
+
+
+
+
+ 已下单菜品
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+
+
+
+
+