|
|
@ -275,8 +275,20 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- 顶部提示语 --> |
|
|
|
<div class="register-top" v-if="showAlert && skip"> |
|
|
|
<div class="min-flex flex-between"> |
|
|
|
<div class="register-top-left"> |
|
|
|
<img src="@/assets/register/register-top-left.svg" alt=""> |
|
|
|
<span>设置完这些信息就可以正式售卖啦,也可以选择跳过,先进入后台看看哦 </span> |
|
|
|
</div> |
|
|
|
<div class="register-top-right"> |
|
|
|
<img src="@/assets/register/register-top-close.svg" alt="" @click="hideAlert"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="register-btns"> |
|
|
|
<GuipButton type="system" :btnstyle="{ width: '144px', height: '46px' }" @click="jumpStep">去首页</GuipButton> |
|
|
|
<GuipButton type="system" :btnstyle="{ width: '144px', height: '46px' }" @click="jumpStep">跳过</GuipButton> |
|
|
|
<GuipButton type="primary" :btnstyle="{ width: '144px', height: '46px' }" @click="nextStep">下一步</GuipButton> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -306,6 +318,10 @@ export default { |
|
|
|
type: Boolean, |
|
|
|
default: false |
|
|
|
}, |
|
|
|
skip: { |
|
|
|
type: Boolean, |
|
|
|
required: false |
|
|
|
} |
|
|
|
}, |
|
|
|
components: { |
|
|
|
CustomDropdown, GuipFormItem, |
|
|
@ -315,6 +331,7 @@ export default { |
|
|
|
}, |
|
|
|
data(){ |
|
|
|
return { |
|
|
|
showAlert: false, |
|
|
|
// 收款方式 |
|
|
|
payTypeTaoBao: PAY_TYPE_TAOBAO, |
|
|
|
payTypeWeixin: PAY_TYPE_WEIXIN, |
|
|
@ -367,11 +384,16 @@ export default { |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
if(this.skip && !localStorage.getItem('showAlert')) this.showAlert = true |
|
|
|
this.getSitePayIndex() |
|
|
|
this.getPayList() |
|
|
|
this.getAddablePays() |
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
hideAlert(){ |
|
|
|
this.showAlert = false |
|
|
|
localStorage.setItem('showAlert', false) |
|
|
|
}, |
|
|
|
// 获取支付列表 |
|
|
|
getSitePayIndex() { |
|
|
|
this.$http('POST', '/agentnew/ajax_get_site_pay_index', { |
|
|
@ -627,4 +649,45 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.register-btns { |
|
|
|
position: fixed; |
|
|
|
left: 0; |
|
|
|
bottom: 0; |
|
|
|
width: 100%; |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
justify-content: center; |
|
|
|
background: #FFFFFF; |
|
|
|
padding: 16px 0px; |
|
|
|
/* 蓝色阴影_常规 */ |
|
|
|
box-shadow: 0px 4px 16px 0px rgba(17, 55, 143, 0.12); |
|
|
|
z-index: 999; |
|
|
|
box-sizing: border-box; |
|
|
|
|
|
|
|
button:nth-child(1) { |
|
|
|
margin-right: 56px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.register-top { |
|
|
|
position: fixed; |
|
|
|
left: 0; |
|
|
|
bottom: 78px; |
|
|
|
width: 100%; |
|
|
|
align-items: center; |
|
|
|
padding: 20px 0; |
|
|
|
background: linear-gradient(270deg, #F6EEF7 3%, #EDE9FB 97%); |
|
|
|
color: #23242B; |
|
|
|
letter-spacing: 0.08em; |
|
|
|
line-height: 32px; |
|
|
|
z-index: 999; |
|
|
|
box-sizing: border-box; |
|
|
|
|
|
|
|
.register-top-left { |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
gap: 10px; |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |