|
@@ -41,7 +41,11 @@
|
|
<span class="label">订单号:</span>
|
|
<span class="label">订单号:</span>
|
|
<span class="value">
|
|
<span class="value">
|
|
<i>{{ orderDetail.order_number }}</i>
|
|
<i>{{ orderDetail.order_number }}</i>
|
|
- <a href="javascript:;">复制</a>
|
|
|
|
|
|
+ <a
|
|
|
|
+ href="javascript:;"
|
|
|
|
+ data-clipboard-toast="复制成功"
|
|
|
|
+ :data-clipboard-text="orderDetail.order_number"
|
|
|
|
+ v-copy>复制</a>
|
|
</span>
|
|
</span>
|
|
</p>
|
|
</p>
|
|
<p>
|
|
<p>
|
|
@@ -76,9 +80,11 @@
|
|
<script>
|
|
<script>
|
|
import { DropdownMenu, DropdownItem, Popup } from 'vant'
|
|
import { DropdownMenu, DropdownItem, Popup } from 'vant'
|
|
import Main from './child/main'
|
|
import Main from './child/main'
|
|
|
|
+import fbtClipboard from '@/mixin/fbtClipboard'
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name: 'index',
|
|
name: 'index',
|
|
|
|
+ mixins: [fbtClipboard],
|
|
components: {
|
|
components: {
|
|
'van-dropdown-menu': DropdownMenu,
|
|
'van-dropdown-menu': DropdownMenu,
|
|
'van-dropdown-item': DropdownItem,
|
|
'van-dropdown-item': DropdownItem,
|
|
@@ -193,6 +199,7 @@ h2 {
|
|
span {
|
|
span {
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
line-height: 20px;
|
|
|
|
+ white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
|
|
.label {
|
|
.label {
|