fix: 修改提示

This commit is contained in:
whitechiina 2025-05-13 10:46:56 +08:00
parent cbfc8a7905
commit 6677401d43
15 changed files with 24 additions and 15 deletions

View File

@ -431,7 +431,7 @@
<!-- 下单提示 -->
<u-modal :show="tipShow" title="温馨提示" closeOnClickOverlay @close="tipShow = false" @confirm="tipShow = false" @cancel="tipShow = false">
<template v-slot:default>
<view>下单后不支持退款</view>
<view>出餐后不支持退款如需退款请在出餐前联系客服</view>
</template>
<template v-slot:confirmButton>
<view class="confirmButton">
@ -439,7 +439,7 @@
取消
</view>
<view class="btn confirm" @tap="SureBtn()" :style="Brand()['customStyle']['BtnStyle'][0]">
我已确定
确定
</view>
</view>
</template>

View File

@ -95,7 +95,7 @@
</view>
<view style="background-color: #fff; padding: 20rpx 40rpx; color: darkred; line-height: 50rpx">
<view>温馨提示</view>
<view>1下单后不支持退款</view>
<view>1出餐后不支持退款如需退款请在出餐前联系客服</view>
<view>2 如遇点餐失败1小时内自动退款</view>
</view>
</view>

View File

@ -120,7 +120,7 @@
<view lines="1" class="text_23" style="background-color: #fff; padding: 20rpx 40rpx; color: darkred; line-height: 50rpx">
<view>温馨提示</view>
<view>1下单后不支持退款</view>
<view>1出餐后不支持退款如需退款请在出餐前联系客服</view>
<view>2 如遇点餐失败1小时内自动退款</view>
</view>
<!-- <view lines="1" class="text_23">*温馨提示如遇点餐失败1小时内自动退款</view> -->

View File

@ -130,12 +130,21 @@ class Request {
return
}
if (infor['data']['status'] != 200 && infor['data']['code'] != 7777) {
uni.showToast({
title: infor['data']['msg'],
icon: 'none'
});
reject(infor['data']);
return;
if (infor['data']['msg'] == '产品错误' || infor['data']['msg'] == '产品不存在') {
uni.showToast({
title: '当前餐品不可用',
icon: 'none'
});
reject(infor['data']);
return;
} else {
uni.showToast({
title: infor['data']['msg'],
icon: 'none'
});
reject(infor['data']);
return;
}
}
resolve(infor['data']);

Binary file not shown.

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)'))
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.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/privilege/static/js/chunk-vendors.48d1c479.js></script><script src=/privilege/static/js/index.a19d0ad9.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.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/privilege/static/js/chunk-vendors.48d1c479.js></script><script src=/privilege/static/js/index.ea748e74.js></script></body></html>

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