|
|
|
@ -13,7 +13,7 @@ |
|
|
|
<view class="bref-box margin-top-xs"> |
|
|
|
网红辣椒棒 魔鬼辣椒挑战全网第一辣 网红优惠季 |
|
|
|
</view> |
|
|
|
<text class="block margin-top-sm text-gray text-sm">网红辣椒棒 500g <text class="margin-left text-gray">x1</text></text> |
|
|
|
<text class="block margin-top-sm text-gray text-sm">数量 <text class="margin-left text-gray">x1</text></text> |
|
|
|
|
|
|
|
<view class="flex justify-between margin-top-sm"> |
|
|
|
<view class="text-red text-price text-lg"> |
|
|
|
@ -37,7 +37,7 @@ |
|
|
|
<text class="text-gray">订单编号</text> |
|
|
|
<view> |
|
|
|
<text class="margin-right">67432428794847982374</text> |
|
|
|
<text class="text-orange text-sm" @click="copy()">复制</text> |
|
|
|
<text class="text-orange text-sm" @click="copy('67432428794847982374')">复制</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="cu-bar padding-lr solid-bottom"> |
|
|
|
@ -99,7 +99,6 @@ |
|
|
|
mixins: [MescrollMixin], // 使用mixin |
|
|
|
data() { |
|
|
|
return { |
|
|
|
area: '币种地址', |
|
|
|
base64Img: '', // |
|
|
|
skeletonLoading: true, |
|
|
|
payCur: 0, //支付方式下标 |
|
|
|
@ -130,28 +129,9 @@ |
|
|
|
methods: { |
|
|
|
// 点击复制 |
|
|
|
copy(text) { |
|
|
|
//app的复制方法 |
|
|
|
// #ifdef APP-PLUS |
|
|
|
uni.setClipboardData({ |
|
|
|
data: text |
|
|
|
}); |
|
|
|
// #endif |
|
|
|
|
|
|
|
//html的复制方法 |
|
|
|
// #ifdef H5 |
|
|
|
this.$copyText(text) |
|
|
|
.then(res => { |
|
|
|
uni.showToast({ |
|
|
|
title: '复制成功' |
|
|
|
}); |
|
|
|
}) |
|
|
|
.catch(err => { |
|
|
|
uni.showToast({ |
|
|
|
icon: 'none', |
|
|
|
title: '复制失败,您的浏览器不支持' |
|
|
|
}); |
|
|
|
}); |
|
|
|
// #endif |
|
|
|
}, |
|
|
|
submit(){ |
|
|
|
this.$routerGo('/pages/order/order?type=all') |
|
|
|
|