fix: 修改提示
This commit is contained in:
parent
cbfc8a7905
commit
6677401d43
|
|
@ -431,7 +431,7 @@
|
||||||
<!-- 下单提示 -->
|
<!-- 下单提示 -->
|
||||||
<u-modal :show="tipShow" title="温馨提示" closeOnClickOverlay @close="tipShow = false" @confirm="tipShow = false" @cancel="tipShow = false">
|
<u-modal :show="tipShow" title="温馨提示" closeOnClickOverlay @close="tipShow = false" @confirm="tipShow = false" @cancel="tipShow = false">
|
||||||
<template v-slot:default>
|
<template v-slot:default>
|
||||||
<view>下单后不支持退款</view>
|
<view>出餐后不支持退款,如需退款,请在出餐前联系客服。</view>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:confirmButton>
|
<template v-slot:confirmButton>
|
||||||
<view class="confirmButton">
|
<view class="confirmButton">
|
||||||
|
|
@ -439,7 +439,7 @@
|
||||||
取消
|
取消
|
||||||
</view>
|
</view>
|
||||||
<view class="btn confirm" @tap="SureBtn()" :style="Brand()['customStyle']['BtnStyle'][0]">
|
<view class="btn confirm" @tap="SureBtn()" :style="Brand()['customStyle']['BtnStyle'][0]">
|
||||||
我已确定
|
确定
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view style="background-color: #fff; padding: 20rpx 40rpx; color: darkred; line-height: 50rpx">
|
<view style="background-color: #fff; padding: 20rpx 40rpx; color: darkred; line-height: 50rpx">
|
||||||
<view>温馨提示</view>
|
<view>温馨提示</view>
|
||||||
<view>1、下单后不支持退款;</view>
|
<view>1、出餐后不支持退款,如需退款,请在出餐前联系客服;</view>
|
||||||
<view>2、 如遇点餐失败,1小时内自动退款;</view>
|
<view>2、 如遇点餐失败,1小时内自动退款;</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,7 @@
|
||||||
|
|
||||||
<view lines="1" class="text_23" style="background-color: #fff; padding: 20rpx 40rpx; color: darkred; line-height: 50rpx">
|
<view lines="1" class="text_23" style="background-color: #fff; padding: 20rpx 40rpx; color: darkred; line-height: 50rpx">
|
||||||
<view>温馨提示</view>
|
<view>温馨提示</view>
|
||||||
<view>1、下单后不支持退款;</view>
|
<view>1、出餐后不支持退款,如需退款,请在出餐前联系客服;</view>
|
||||||
<view>2、 如遇点餐失败,1小时内自动退款;</view>
|
<view>2、 如遇点餐失败,1小时内自动退款;</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view lines="1" class="text_23">*温馨提示:如遇点餐失败,1小时内自动退款</view> -->
|
<!-- <view lines="1" class="text_23">*温馨提示:如遇点餐失败,1小时内自动退款</view> -->
|
||||||
|
|
|
||||||
|
|
@ -130,12 +130,21 @@ class Request {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (infor['data']['status'] != 200 && infor['data']['code'] != 7777) {
|
if (infor['data']['status'] != 200 && infor['data']['code'] != 7777) {
|
||||||
uni.showToast({
|
if (infor['data']['msg'] == '产品错误' || infor['data']['msg'] == '产品不存在') {
|
||||||
title: infor['data']['msg'],
|
uni.showToast({
|
||||||
icon: 'none'
|
title: '当前餐品不可用',
|
||||||
});
|
icon: 'none'
|
||||||
reject(infor['data']);
|
});
|
||||||
return;
|
reject(infor['data']);
|
||||||
|
return;
|
||||||
|
} else {
|
||||||
|
uni.showToast({
|
||||||
|
title: infor['data']['msg'],
|
||||||
|
icon: 'none'
|
||||||
|
});
|
||||||
|
reject(infor['data']);
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
resolve(infor['data']);
|
resolve(infor['data']);
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -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.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
1
unpackage/dist/build/web/static/js/pages-restaurant-home-shop_home-shop_home.c0b801e3.js
vendored
Normal file
1
unpackage/dist/build/web/static/js/pages-restaurant-home-shop_home-shop_home.c0b801e3.js
vendored
Normal file
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
Loading…
Reference in New Issue