|
@@ -178,7 +178,7 @@
|
|
<template v-if="bargainingTipsBool">
|
|
<template v-if="bargainingTipsBool">
|
|
<div class="bargaining-amount">
|
|
<div class="bargaining-amount">
|
|
<div class="bargaining-amount-text">
|
|
<div class="bargaining-amount-text">
|
|
- <div> 恭喜您</div>
|
|
|
|
|
|
+ <div>恭喜您</div>
|
|
砍价成功<span>10.52元</span>
|
|
砍价成功<span>10.52元</span>
|
|
</div>
|
|
</div>
|
|
<lottie
|
|
<lottie
|
|
@@ -312,14 +312,15 @@
|
|
为您带来更多精彩的活动和内容。<br />
|
|
为您带来更多精彩的活动和内容。<br />
|
|
</div> -->
|
|
</div> -->
|
|
</van-dialog>
|
|
</van-dialog>
|
|
- <van-dialog style="background: #fff !important" v-model="copyVisble" showCancelButton :showConfirmButton="false">
|
|
|
|
|
|
+ <!-- <van-dialog
|
|
|
|
+ style="background: #fff !important"
|
|
|
|
+ v-model="copyVisble"
|
|
|
|
+ showCancelButton
|
|
|
|
+ :showConfirmButton="false"
|
|
|
|
+ >
|
|
<div class="copy-visble">请手动复制以下内容</div>
|
|
<div class="copy-visble">请手动复制以下内容</div>
|
|
- <van-field
|
|
|
|
- v-model="copyValue"
|
|
|
|
- rows="4"
|
|
|
|
- type="textarea"
|
|
|
|
- />
|
|
|
|
- </van-dialog>
|
|
|
|
|
|
+ <van-field v-model="copyValue" rows="4" type="textarea" />
|
|
|
|
+ </van-dialog> -->
|
|
<Verify
|
|
<Verify
|
|
@success="success"
|
|
@success="success"
|
|
mode="pop"
|
|
mode="pop"
|
|
@@ -339,7 +340,6 @@ import customProgress from './customProgress.vue';
|
|
import loadList from '@/components/loadList';
|
|
import loadList from '@/components/loadList';
|
|
import { fileKeyToUrl } from '@/plugins/file-center.js';
|
|
import { fileKeyToUrl } from '@/plugins/file-center.js';
|
|
import Verify from '@/components/verifition/Verify';
|
|
import Verify from '@/components/verifition/Verify';
|
|
-import { writeToClipboard } from '@/plugins/plugins.js';
|
|
|
|
import lottie from '@/components/lottie';
|
|
import lottie from '@/components/lottie';
|
|
export default {
|
|
export default {
|
|
props: {
|
|
props: {
|
|
@@ -404,8 +404,8 @@ export default {
|
|
species,
|
|
species,
|
|
redPacket,
|
|
redPacket,
|
|
glory,
|
|
glory,
|
|
- copyVisble: false,
|
|
|
|
- copyValue: ''
|
|
|
|
|
|
+ // copyVisble: false,
|
|
|
|
+ // copyValue: '',
|
|
};
|
|
};
|
|
},
|
|
},
|
|
components: {
|
|
components: {
|
|
@@ -757,16 +757,16 @@ export default {
|
|
if (this.$userAgent.isSzx || this.$userAgent.isSzxBrowser) {
|
|
if (this.$userAgent.isSzx || this.$userAgent.isSzxBrowser) {
|
|
this.$native.share(shareInfo);
|
|
this.$native.share(shareInfo);
|
|
} else {
|
|
} else {
|
|
- writeToClipboard(
|
|
|
|
- res.data.link,
|
|
|
|
- () => {
|
|
|
|
|
|
+ this.$copyText(res.data.link).then(
|
|
|
|
+ (e) => {
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
this.$toast('链接复制成功');
|
|
this.$toast('链接复制成功');
|
|
});
|
|
});
|
|
},
|
|
},
|
|
- () => {
|
|
|
|
- this.copyValue = res.data.link
|
|
|
|
- this.copyVisble = true
|
|
|
|
|
|
+ (e) => {
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ this.$toast('链接复制失败');
|
|
|
|
+ });
|
|
},
|
|
},
|
|
);
|
|
);
|
|
}
|
|
}
|