Commit 271255cc authored by Xuguangxing's avatar Xuguangxing

fix

parent 525f56cd
......@@ -223,6 +223,7 @@ export default {
message: '请点击小程序右上角更多进行分享~',
showCancelButton: false,
confirmButtonText: '我知道了哦~',
closeOnClickOverlay: !isApp && !isWxMp ? false : true,
onConfirm: () => {}
});
},
......@@ -248,6 +249,7 @@ export default {
tipDialogMessage() {
this.$dialog({
message: '请在App或小程序中进行分享~',
closeOnClickOverlay: !isApp && !isWxMp ? false : true,
title: '',
showCancelButton: false,
confirmButtonText: '我知道了'
......
......@@ -31,6 +31,7 @@
}
</style>
<script>
import { isApp, isWxMp } from '@/service/validation.service';
export default {
props: {
groupInfo: {
......@@ -44,6 +45,7 @@ export default {
showRules() {
this.$dialog({
messageAlign: 'left',
closeOnClickOverlay: !isApp && !isWxMp ? false : true,
message: this.groupInfo.groupBuyDesc || '',
title: '拼团须知',
showCancelButton: false,
......
......@@ -39,6 +39,7 @@ export default {
this.$dialog({
message: '参与拼团活动需要您先进行登录哦~',
title: '',
closeOnClickOverlay: true,
showCancelButton: false,
confirmButtonText: '登录',
onConfirm: () => {
......@@ -51,6 +52,7 @@ export default {
this.$dialog({
message: '请在App或小程序中参与活动~',
title: '',
closeOnClickOverlay: true,
showCancelButton: false,
confirmButtonText: '我知道了'
});
......
......@@ -171,6 +171,7 @@ export default {
const _this = this;
this.$dialog({
title: '',
closeOnClickOverlay: true,
message: '确认删除该地址?',
onConfirm: function() {
_this.deleteAddr();
......
......@@ -206,6 +206,7 @@ import localStorage from '@/service/localStorage.service';
import goodsCheckMixin from '@/mixins/goodsCheck.mixin';
import { EventBus } from '@/service/utils.service';
import { saTrackEvent } from '@/service/sa.service';
import { isApp, isWxMp } from '@/service/validation.service';
export default {
// eslint-disable-next-line vue/name-property-casing
name: 'goodDetail',
......@@ -346,7 +347,8 @@ export default {
message: checkStatus.failedReason || '',
cancelButtonText: '知道了',
showConfirmButton: false,
cancelButtonColor: '#ec1500'
cancelButtonColor: '#ec1500',
closeOnClickOverlay: !isApp && !isWxMp ? false : true
// confirmButtonText: '返回活动',
// onConfirm: () => {
// this.$router.replace({
......@@ -438,6 +440,7 @@ export default {
this.$dialog({
message: '哎呀,活动太火爆,该商品已经卖光,换一个商品试试吧!',
title: '',
closeOnClickOverlay: !isApp && !isWxMp ? false : true,
showCancelButton: false,
confirmButtonText: '查看其他商品',
onConfirm: () => {
......
......@@ -133,6 +133,7 @@ export default {
this.$dialog({
message,
closeOnClickOverlay: true,
showCancelButton: true,
confirmButtonText,
onConfirm: () => {
......
......@@ -170,6 +170,7 @@ export default {
async handleBuy() {
if (!this.orderInfo.addrReceiverInfo?.addrReceiverId) {
this.$dialog({
closeOnClickOverlay: true,
message: '你还没有选择收货地址哦!',
showCancelButton: false,
confirmButtonText: '去添加',
......
......@@ -191,6 +191,7 @@ export default {
} else {
// todo 处理纯h5情况
this.$dialog({
closeOnClickOverlay: !isApp && !isWxMp ? false : true,
message: '请在App或小程序中参与活动~',
title: '',
showCancelButton: false,
......
......@@ -119,6 +119,7 @@ function havePayingOrder() {
this.$dialog({
message: '您的享花卡额度被其他订单占用,暂时不可使用享花卡支付哦!',
confirmButtonText: '重新选择',
closeOnClickOverlay: true,
showCancelButton: false,
confirmButtonColor: '#EC1500'
});
......
......@@ -448,6 +448,7 @@ export default {
}
if (this.payType === CREDIT_PAY && this.canUseAmount < 0) {
this.$dialog({
closeOnClickOverlay: true,
message: '您的消费额度不足,请更换支付方式!',
confirmButtonText: '知道了',
showCancelButton: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment