礼品卡

master
gongfuxiang 2024-07-01 13:00:37 +08:00
parent 3bfe3d8f6d
commit e7889e656a
3 changed files with 29 additions and 1 deletions

View File

@ -323,6 +323,7 @@
"hpq62x": "The pickup code does not exist. Please contact the administrator",
"io6p5k": "Order Mode",
"n18sd2": "Order number",
"yghjkf": "Order Goods",
"yxwu8n": "Order Status",
"23qj7m": "Payment status",
"vg4jb1": "Order unit price",
@ -1865,7 +1866,9 @@
"giftcard-index": {
"hfg2fg": "Cami key",
"fyjnsd": "Card security data",
"87yyj3": "Redemption time",
"8tfgh2": "Card exchange",
"6redfg": "Use data",
"fu3rf1": "Please enter the card password key"
}
}

View File

@ -313,6 +313,7 @@
"hpq62x": "取货码不存在、请联系管理员",
"io6p5k": "订单模式",
"n18sd2": "订单编号",
"yghjkf": "订单商品",
"yxwu8n": "订单状态",
"23qj7m": "支付状态",
"vg4jb1": "订单单价",
@ -1847,7 +1848,9 @@
"giftcard-index": {
"hfg2fg": "卡密key",
"fyjnsd": "卡密数据",
"87yyj3": "兑换时间",
"8tfgh2": "卡密兑换",
"6redfg": "使用数据",
"fu3rf1": "请输入卡密key"
}
}

View File

@ -12,6 +12,23 @@
<text v-if="(fv.unit || null) != null" class="cr-grey">{{ fv.unit }}</text>
</view>
</view>
<view v-if="(item.use_data || null) != null && item.use_data.length > 0">
<view class="margin-top-sm">{{$t('giftcard-index.giftcard-index.6redfg')}}</view>
<view v-for="(uv, uk) in item.use_data" :key="uk">
<view>
<text class="cr-grey-9 margin-right-main">{{$t('user-order-detail.user-order-detail.n18sd2')}}:</text>
<text data-event="copy" :data-value="uv.order_no" @tap="text_event">{{uv.order_no}}</text>
</view>
<view>
<text class="cr-grey-9 margin-right-main">{{$t('user-order-detail.user-order-detail.yghjkf')}}:</text>
<text :data-value="uv.goods_url" @tap="url_event">{{uv.goods_title}}</text>
</view>
<view>
<text class="cr-grey-9 margin-right-main">{{$t('common.use_time')}}:</text>
<text>{{uv.use_time}}</text>
</view>
</view>
</view>
</view>
</view>
@ -54,7 +71,7 @@
content_list: [
{ name: this.$t('giftcard-index.giftcard-index.hfg2fg'), field: 'secret_key' },
{ name: this.$t('giftcard-index.giftcard-index.fyjnsd'), field: 'secret_value_text' },
{ name: this.$t('common.use_time'), field: 'use_time' },
{ name: this.$t('giftcard-index.giftcard-index.87yyj3'), field: 'exchange_time' },
{ name: this.$t('common.add_time'), field: 'add_time' },
{ name: this.$t('common.upd_time'), field: 'upd_time' },
],
@ -208,6 +225,11 @@
// url
url_event(e) {
app.globalData.url_event(e);
},
//
text_event(e) {
app.globalData.text_event_handle(e);
}
},
};