fix: 增加商品名字展示
This commit is contained in:
parent
65346d8bcc
commit
f9b6799e46
|
@ -54,7 +54,7 @@
|
|||
|
||||
<div v-if="goodsDetail.available!=1" @click="bindAvailable" class="ipt-acc"
|
||||
style="position: relative;z-index: 99;">
|
||||
<h4 class="title" v-if="goodInfo.product_type===2&&goodInfo.card_show==2">{{goodInfo.product_name}}</h4>
|
||||
<h4 class="title">{{goodInfo.product_name}}</h4>
|
||||
<p>
|
||||
<span>账号:</span>
|
||||
<!-- <input type="text" :placeholder="placeholder"> -->
|
||||
|
@ -70,7 +70,7 @@
|
|||
</div>
|
||||
|
||||
<div v-else class="ipt-acc" style="position: relative;z-index: 99;">
|
||||
<h4 class="title" v-if="goodInfo.product_type===2&&goodInfo.card_show==2">{{goodInfo.product_name}}</h4>
|
||||
<h4 class="title">{{goodInfo.product_name}}</h4>
|
||||
<template v-if="goodInfo.product_type===1||goodInfo.product_type===2&&goodInfo.card_show==1">
|
||||
<!-- 京东E卡 -->
|
||||
<template v-if="goodInfo.is_e_card">
|
||||
|
@ -271,7 +271,7 @@
|
|||
},
|
||||
|
||||
/* 获取京东E卡短信 */
|
||||
sendJDSms () {
|
||||
sendJDSms() {
|
||||
if (this.cunt === 60) {
|
||||
req.axiosPost('/key/order/jdSendSms', { code_batch_id: this.goodsDetail.code_batch_id, mobile: this.account })
|
||||
.then((res) => {
|
||||
|
@ -291,7 +291,7 @@
|
|||
}
|
||||
},
|
||||
|
||||
openErrorDialog (tip) {
|
||||
openErrorDialog(tip) {
|
||||
this.maskshow = true;
|
||||
this.popboxtype = '提示';
|
||||
this.tiptext = tip;
|
||||
|
@ -511,12 +511,12 @@
|
|||
|
||||
computed: {
|
||||
/* 手机号验证 */
|
||||
computedAccount () {
|
||||
computedAccount() {
|
||||
return /^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(this.account);
|
||||
},
|
||||
|
||||
/* 兑换按钮验证 */
|
||||
computedExChange () {
|
||||
computedExChange() {
|
||||
return this.exchangeOpen || (this.goodInfo.product_type === 2 && this.goodInfo.card_show == 2) || this.goodInfo.is_e_card && this.computedAccount && this.jd_code.length === 6;
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue