fix: 更新点餐

This commit is contained in:
whitechiina 2026-06-25 10:36:29 +08:00
parent 7f3a2a6669
commit e113c1919f
89 changed files with 67 additions and 57 deletions

BIN
.DS_Store vendored

Binary file not shown.

BIN
node_modules/.DS_Store generated vendored

Binary file not shown.

View File

@ -352,7 +352,7 @@
<text class="amount">{{__amount(totalPrice)}}</text> <text class="amount">{{__amount(totalPrice)}}</text>
</view> </view>
</view> </view>
<view class="RX-Cart-right" @tap="create" :class="[Shoplength > 0?'right2':'']"> <view class="RX-Cart-right" @tap="create" :class="[Shoplength > 0?'right2':'']">
{{Shoplength > 0?'结算':'未选择商品'}} {{Shoplength > 0?'结算':'未选择商品'}}
</view> </view>
</view> </view>

View File

@ -21,13 +21,13 @@
<!-- <text class="price">{{RetainDecimalPoint(item['pay_price'])}}</text> --> <!-- <text class="price">{{RetainDecimalPoint(item['pay_price'])}}</text> -->
</view> </view>
<!-- 优惠补贴后的价格 --> <!-- 优惠补贴后的价格 -->
<view class="shop_home-commodity-infor-price shop_home-commodity-infor-bottom"> <view class="shop_home-commodity-infor-price shop_home-commodity-infor-bottom" v-if="!isWx">
<text class="yang">补贴后价格:</text> <text class="yang">补贴后价格:</text>
<text class="price">{{item['bt_price']}}</text> <text class="price">{{item['bt_price']}}</text>
<!-- <text class="price">{{RetainDecimalPoint(item['pay_price'] - item['max_deduction'])}}</text> --> <!-- <text class="price">{{RetainDecimalPoint(item['pay_price'] - item['max_deduction'])}}</text> -->
</view> </view>
<!-- 积分 --> <!-- 积分 -->
<view class="shop_home-commodity-infor-price shop_home-commodity-infor-bottom"> <view class="shop_home-commodity-infor-price shop_home-commodity-infor-bottom" v-if="!isWx">
<text class="yang">预估积分:</text> <text class="yang">预估积分:</text>
<!-- <text class="price">{{RetainDecimalPoint(item['pay_price'] - item['max_deduction'])}}</text> --> <!-- <text class="price">{{RetainDecimalPoint(item['pay_price'] - item['max_deduction'])}}</text> -->
<text class="price">{{item['integral']}}</text> <text class="price">{{item['integral']}}</text>
@ -71,13 +71,13 @@
<text class="price">{{item['product_price']}}</text> <text class="price">{{item['product_price']}}</text>
</view> </view>
<!-- 优惠补贴后的价格 --> <!-- 优惠补贴后的价格 -->
<view class="shop_home-commodity-infor-price shop_home-commodity-infor-bottom"> <view class="shop_home-commodity-infor-price shop_home-commodity-infor-bottom" v-if="!isWx">
<text class="yang">补贴后价格:</text> <text class="yang">补贴后价格:</text>
<!-- <text class="price">{{RetainDecimalPoint(item['pay_price'] - item['max_deduction'])}}</text> --> <!-- <text class="price">{{RetainDecimalPoint(item['pay_price'] - item['max_deduction'])}}</text> -->
<text class="price">{{item['bt_price']}}</text> <text class="price">{{item['bt_price']}}</text>
</view> </view>
<!-- 积分 --> <!-- 积分 -->
<view class="shop_home-commodity-infor-price shop_home-commodity-infor-bottom"> <view class="shop_home-commodity-infor-price shop_home-commodity-infor-bottom" v-if="!isWx">
<text class="yang">预估积分:</text> <text class="yang">预估积分:</text>
<!-- <text class="price">{{RetainDecimalPoint(item['pay_price'] - item['max_deduction'])}}</text> --> <!-- <text class="price">{{RetainDecimalPoint(item['pay_price'] - item['max_deduction'])}}</text> -->
<text class="price">{{item['integral']}}</text> <text class="price">{{item['integral']}}</text>
@ -107,13 +107,13 @@
<text class="price">{{item['product_price']}}</text> <text class="price">{{item['product_price']}}</text>
</view> </view>
<!-- 优惠补贴后的价格 --> <!-- 优惠补贴后的价格 -->
<view class="shop_home-commodity-infor-price shop_home-commodity-infor-bottom"> <view class="shop_home-commodity-infor-price shop_home-commodity-infor-bottom" v-if="!isWx">
<text class="yang">补贴后价格:</text> <text class="yang">补贴后价格:</text>
<!-- <text class="price">{{RetainDecimalPoint(item['pay_price'] - item['max_deduction'])}}</text> --> <!-- <text class="price">{{RetainDecimalPoint(item['pay_price'] - item['max_deduction'])}}</text> -->
<text class="price">{{item['bt_price']}}</text> <text class="price">{{item['bt_price']}}</text>
</view> </view>
<!-- 积分 --> <!-- 积分 -->
<view class="shop_home-commodity-infor-price shop_home-commodity-infor-bottom"> <view class="shop_home-commodity-infor-price shop_home-commodity-infor-bottom" v-if="!isWx">
<text class="yang">预估积分:</text> <text class="yang">预估积分:</text>
<!-- <text class="price">{{RetainDecimalPoint(item['pay_price'] - item['max_deduction'])}}</text> --> <!-- <text class="price">{{RetainDecimalPoint(item['pay_price'] - item['max_deduction'])}}</text> -->
<text class="price">{{item['integral']}}</text> <text class="price">{{item['integral']}}</text>

View File

@ -107,7 +107,7 @@
return { return {
// //
// //
topNotice: '当前3人正在下单获取取餐码等待时间为1-2分钟景区和交通枢纽不支持线上点餐', topNotice: '当前3人正在下单获取取餐码等待时间为1-2分钟景区和交通枢纽不支持线上点餐',
show: false, show: false,
suspend: config['suspend'], suspend: config['suspend'],

View File

@ -85,7 +85,7 @@
<view class="Checkbox" :style="{'--aftercolor':Brand()['ThemeColor']}" :class="{'active-Checkbox': use_broker? true : false}"></view> <view class="Checkbox" :style="{'--aftercolor':Brand()['ThemeColor']}" :class="{'active-Checkbox': use_broker? true : false}"></view>
</view> </view>
</view> --> </view> -->
<view class="Commodity Commodity-Item" style="padding-top: 0rpx;" @click="isCoin()"> <view class="Commodity Commodity-Item" style="padding-top: 0rpx;" @click="isCoin()" v-if="!isWx">
<view class="discount" style="width: 100%; display: flex; justify-content: space-between"> <view class="discount" style="width: 100%; display: flex; justify-content: space-between">
<view> <view>
<text lines="1" class="quantity">抵用券</text> <text lines="1" class="quantity">抵用券</text>
@ -116,7 +116,7 @@
<text lines="1" class="text_24">实际付款</text> <text lines="1" class="text_24">实际付款</text>
<text lines="1" class="text_25" :style="{color:Brand()['ThemeColor']}">{{realPayment}}</text> <text lines="1" class="text_25" :style="{color:Brand()['ThemeColor']}">{{realPayment}}</text>
</view> </view>
<view class="text-wrapper_4 itemamount"> <view class="text-wrapper_4 itemamount" v-if="!isWx">
<text lines="1" class="text_24">积分</text> <text lines="1" class="text_24">积分</text>
<text lines="1" class="text_25" :style="{color:Brand()['ThemeColor']}">{{computedTotal.integral}}</text> <text lines="1" class="text_25" :style="{color:Brand()['ThemeColor']}">{{computedTotal.integral}}</text>
</view> </view>
@ -167,7 +167,7 @@
<template v-slot:default> <template v-slot:default>
<view> <view>
<view class="zero-content"> <view class="zero-content">
<view class="item flex"> <view class="item flex" v-if="!isWx">
<text>抵用券抵扣</text> <text>抵用券抵扣</text>
<text class="blod"> <text class="blod">
<text>-</text> <text>-</text>
@ -181,7 +181,7 @@
<text>{{ZeroData.used_broker}}</text> <text>{{ZeroData.used_broker}}</text>
</text> </text>
</view> --> </view> -->
<view class="know"> <view class="know" v-if="!isWx">
<view class="left"> <view class="left">
<view class="blod">实付</view> <view class="blod">实付</view>
<view class="point" v-if="ZeroData.integral > 0">获得{{ZeroData.integral}} 积分</view> <view class="point" v-if="ZeroData.integral > 0">获得{{ZeroData.integral}} 积分</view>

View File

@ -108,7 +108,7 @@
<view class="Checkbox" :style="{'--aftercolor':Brand()['ThemeColor']}" :class="{'active-Checkbox': use_broker? true : false}"></view> <view class="Checkbox" :style="{'--aftercolor':Brand()['ThemeColor']}" :class="{'active-Checkbox': use_broker? true : false}"></view>
</view> </view>
</view> --> </view> -->
<view class="Commodity Commodity-Item" style="padding-top: 0rpx;" @click="isCoin()"> <view class="Commodity Commodity-Item" style="padding-top: 0rpx;" @click="isCoin()" v-if="!isWx">
<view class="discount" style="width: 100%; display: flex; justify-content: space-between"> <view class="discount" style="width: 100%; display: flex; justify-content: space-between">
<view> <view>
<text lines="1" class="quantity">抵用券</text> <text lines="1" class="quantity">抵用券</text>
@ -135,7 +135,7 @@
<text lines="1" class="text_24">实际付款</text> <text lines="1" class="text_24">实际付款</text>
<text lines="1" class="text_25" :style="{color:Brand()['ThemeColor']}">{{realPayment}}</text> <text lines="1" class="text_25" :style="{color:Brand()['ThemeColor']}">{{realPayment}}</text>
</view> </view>
<view class="text-wrapper_4 itemamount"> <view class="text-wrapper_4 itemamount" v-if="!isWx">
<text lines="1" class="text_24">积分</text> <text lines="1" class="text_24">积分</text>
<text lines="1" class="text_25" :style="{color:Brand()['ThemeColor']}">{{computedTotal.integral}}</text> <text lines="1" class="text_25" :style="{color:Brand()['ThemeColor']}">{{computedTotal.integral}}</text>
</view> </view>

View File

@ -18,7 +18,12 @@ import {
} from '@/static/js/serviceurl.js'; } from '@/static/js/serviceurl.js';
// 公共mixins // 公共mixins
export default { export default {
computed: {}, computed: {
isWx() {
const ua = navigator.userAgent.toLowerCase();
return ua.indexOf('miniprogram') > -1;
}
},
// 方法 // 方法
methods: { methods: {
...mapMutations(['GetState']), ...mapMutations(['GetState']),

Binary file not shown.

View File

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>在线点餐</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>在线点餐</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><script src="https://h5.dhcc.wang/api/apilink-native.min.js?v=20200701"></script><link rel=stylesheet href=/privilege/static/index.883130ca.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/privilege/static/js/chunk-vendors.05bba68b.js></script><script src=/privilege/static/js/index.406d3b32.js></script></body></html> document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><script src="https://h5.dhcc.wang/api/apilink-native.min.js?v=20200701"></script><link rel=stylesheet href=/privilege/static/index.883130ca.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/privilege/static/js/chunk-vendors.05bba68b.js></script><script src=/privilege/static/js/index.5bacb1a8.js></script></body></html>

View File

@ -18,7 +18,12 @@ import {
} from '@/static/js/serviceurl.js'; } from '@/static/js/serviceurl.js';
// 公共mixins // 公共mixins
export default { export default {
computed: {}, computed: {
isWx() {
const ua = navigator.userAgent.toLowerCase();
return ua.indexOf('miniprogram') > -1;
}
},
// 方法 // 方法
methods: { methods: {
...mapMutations(['GetState']), ...mapMutations(['GetState']),

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long