Browse Source

细节修改

master
Enzo 4 years ago
parent
commit
c00fa592c9
  1. 21
      pages/order/apply-details.vue
  2. 21
      pages/order/apply-refund.vue
  3. 21
      pages/order/confirm-order.vue
  4. 24
      pages/order/order-details.vue
  5. 2
      pages/order/order-item.vue

21
pages/order/apply-details.vue

@ -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">
@ -131,28 +131,9 @@
},
//
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
},
//
downCallback() {

21
pages/order/apply-refund.vue

@ -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">
@ -145,28 +145,9 @@
},
//
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
},
//
downCallback() {

21
pages/order/confirm-order.vue

@ -14,7 +14,7 @@
网红辣椒棒 魔鬼辣椒挑战全网第一辣 网红优惠季
</view>
<view class="flex justify-between">
<text class="block margin-top-sm text-gray text-sm">网红辣椒棒 500g</text>
<text class="block margin-top-sm text-gray text-sm">数量</text>
<view class="flex align-center margin-top-sm">
<text class="cuIcon-move" @tap="reduce"></text>
<input type="number" v-model="num" class="text-center margin-lr-sm radius" style="width: 60rpx; height: 50rpx;background-color: #f7f7fb;" />
@ -145,28 +145,9 @@
},
//
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/pay-success')

24
pages/order/order-details.vue

@ -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')

2
pages/order/order-item.vue

@ -16,7 +16,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">

Loading…
Cancel
Save