|
|
@@ -38,9 +38,9 @@
|
|
|
{{ info.name }}
|
|
|
</div> -->
|
|
|
<div class="info-title">
|
|
|
- <product-title :isSmall="info.name && info.name.length > 16">{{
|
|
|
- traditionalized(info.name)
|
|
|
- }}</product-title>
|
|
|
+ <product-title :isSmall="info.name && info.name.length > 16">
|
|
|
+ {{ traditionalized(info.name) }}
|
|
|
+ </product-title>
|
|
|
</div>
|
|
|
<!-- <div class="name" v-if="info.salable && startTime">
|
|
|
<div class="name1">首发抢购倒计时</div>
|
|
|
@@ -386,13 +386,13 @@
|
|
|
<template v-else-if="assignment && ((isLogin && userInfo.vipPoint < 1) || !isLogin)">
|
|
|
<div class="btn-assignments" v-if="isLogin && userInfo.vipPurchase && info.openQuota">
|
|
|
<van-button @click="vipAssignment" class="vip" type="danger" block round>
|
|
|
- vip通道
|
|
|
+ {{ traditionalized('vip通道') }}
|
|
|
</van-button>
|
|
|
<van-button style="font-size: 12px" class="no-btn" v-if="!info.openQuota" block round>
|
|
|
- 名额为空
|
|
|
+ {{ traditionalized('名额为空') }}
|
|
|
</van-button>
|
|
|
- <van-button @click="share" v-else-if="info.totalQuota" type="primary" block round
|
|
|
- >邀请获取
|
|
|
+ <van-button @click="share" v-else-if="info.totalQuota" type="primary" block round>
|
|
|
+ {{ traditionalized('邀请获取') }}
|
|
|
</van-button>
|
|
|
</div>
|
|
|
<van-button
|
|
|
@@ -403,7 +403,7 @@
|
|
|
block
|
|
|
round
|
|
|
>
|
|
|
- 活动名额已被抢光
|
|
|
+ {{ traditionalized('活动名额已被抢光') }}
|
|
|
</van-button>
|
|
|
<van-button
|
|
|
style="font-size: 12px"
|
|
|
@@ -413,17 +413,21 @@
|
|
|
block
|
|
|
round
|
|
|
>
|
|
|
- 存在未支付无效订单
|
|
|
+ {{ traditionalized('存在未支付无效订单') }}
|
|
|
+ </van-button>
|
|
|
+ <van-button class="no-btn" v-else-if="!info.totalQuota" block round>
|
|
|
+ {{ traditionalized('结算中') }}
|
|
|
</van-button>
|
|
|
- <van-button class="no-btn" v-else-if="!info.totalQuota" block round> 结算中 </van-button>
|
|
|
|
|
|
- <van-button @click="share" v-else type="primary" block round>邀请获取白名单 </van-button>
|
|
|
+ <van-button @click="share" v-else type="primary" block round>
|
|
|
+ {{ traditionalized('邀请获取白名单') }}
|
|
|
+ </van-button>
|
|
|
</template>
|
|
|
|
|
|
<template v-else-if="assignment && isSale && info.timeDelay">
|
|
|
<van-button class="no-btn" block round>
|
|
|
<div class="appoint">
|
|
|
- <span style="font-size: 12px">任务完成,即将开卖</span>
|
|
|
+ <span style="font-size: 12px">{{ traditionalized('任务完成,即将开卖') }}</span>
|
|
|
<span>{{ saleTime }}</span>
|
|
|
</div>
|
|
|
</van-button>
|
|
|
@@ -435,18 +439,18 @@
|
|
|
block
|
|
|
round
|
|
|
@click="checkBuy"
|
|
|
- >立即购买
|
|
|
+ >{{ traditionalized('立即购买') }}
|
|
|
</van-button>
|
|
|
|
|
|
<van-button v-else type="primary" block round @click="buy">
|
|
|
- {{ info.couponPayment ? '立即兑换' : '立即购买' }}
|
|
|
+ {{ traditionalized(info.couponPayment ? '立即兑换' : '立即购买') }}
|
|
|
</van-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="btn van-safe-area-bottom" v-else>
|
|
|
- <div class="status-text">仅展示</div>
|
|
|
+ <div class="status-text">{{ traditionalized('仅展示') }}</div>
|
|
|
</div>
|
|
|
|
|
|
<!-- <driver /> -->
|
|
|
@@ -620,7 +624,7 @@ export default {
|
|
|
.post('/collection/appointment?id=' + this.info.id)
|
|
|
.then(res => {
|
|
|
this.getProduct();
|
|
|
- this.$toast.success('预约成功');
|
|
|
+ this.$toast.success(this.traditionalized('预约成功'));
|
|
|
})
|
|
|
.catch(e => {
|
|
|
if (e.error) {
|
|
|
@@ -733,8 +737,8 @@ export default {
|
|
|
if (this.$route.name == 'productDetail') {
|
|
|
this.$dialog
|
|
|
.alert({
|
|
|
- title: '提示',
|
|
|
- message: e.error
|
|
|
+ title: this.traditionalized('提示'),
|
|
|
+ message: this.traditionalized(e.error)
|
|
|
})
|
|
|
.then(res => {
|
|
|
this.$router.back();
|
|
|
@@ -745,8 +749,8 @@ export default {
|
|
|
},
|
|
|
showReason() {
|
|
|
this.$dialog.alert({
|
|
|
- title: '提示',
|
|
|
- message: '若存在未支付无效订单,请等待订单自动5分钟内取消,退回白名单资格。'
|
|
|
+ title: this.traditionalized('提示'),
|
|
|
+ message: this.traditionalized('若存在未支付无效订单,请等待订单自动5分钟内取消,退回白名单资格。')
|
|
|
});
|
|
|
},
|
|
|
getCouponList() {
|
|
|
@@ -792,12 +796,12 @@ export default {
|
|
|
if (this.info.couponPayment && this.couponList.length === 0) {
|
|
|
this.$dialog
|
|
|
.alert({
|
|
|
- title: '提示',
|
|
|
- message: '该藏品为特殊藏品,需要使用优惠券才能兑换'
|
|
|
+ title: this.traditionalized('提示'),
|
|
|
+ message: this.traditionalized('该藏品为特殊藏品,需要使用优惠券才能兑换')
|
|
|
})
|
|
|
.then(() => {});
|
|
|
} else if (!this.usedBuy && this.info.source === 'TRANSFER') {
|
|
|
- this.$toast('该通道暂且关闭');
|
|
|
+ this.$toast(this.traditionalized('该通道暂且关闭'));
|
|
|
}
|
|
|
// else if (this.authStatus !== '已认证') {
|
|
|
// this.$dialog
|
|
|
@@ -812,8 +816,8 @@ export default {
|
|
|
else if (this.info.minimumCharge && !this.$store.state.userInfo.canSale) {
|
|
|
this.$dialog
|
|
|
.alert({
|
|
|
- title: '提示',
|
|
|
- message: '未实名或规定时间内绿洲石不满' + this.info.minimumCharge
|
|
|
+ title: this.traditionalized('提示'),
|
|
|
+ message: this.traditionalized('未实名或规定时间内绿洲石不满' + this.info.minimumCharge)
|
|
|
})
|
|
|
.then(() => {});
|
|
|
} else {
|