|
|
@@ -79,7 +79,7 @@ |
|
|
|
<div class="item-list"> |
|
|
|
<span class="itemSpan1">邀请码</span> |
|
|
|
<span class="itemSpan2" style="color: #178cf8">YT23694</span> |
|
|
|
<el-button @click="setInvitationCode" type="primary" size="mini" icon="el-icon-edit" plain |
|
|
|
<el-button @click="setInvitation('设置邀请码')" type="primary" size="mini" icon="el-icon-edit" plain |
|
|
|
>自定义邀请码</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
@@ -87,7 +87,7 @@ |
|
|
|
<div class="item-list"> |
|
|
|
<span class="itemSpan1">支付宝账号</span> |
|
|
|
<span class="itemSpan2">******</span> |
|
|
|
<el-button type="danger" size="mini" icon="el-icon-bank-card" plain |
|
|
|
<el-button @click="setInvitation('修改绑定的支付宝')" type="danger" size="mini" icon="el-icon-bank-card" plain |
|
|
|
>更改绑定账号</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
@@ -95,7 +95,7 @@ |
|
|
|
<div class="item-list"> |
|
|
|
<span class="itemSpan1">会员等级</span> |
|
|
|
<span class="itemSpan2" style="color: #178cf8">普通会员</span> |
|
|
|
<el-button type="primary" size="mini" icon="el-icon-edit" plain |
|
|
|
<el-button @click="setInvitation('设置等级')" type="primary" size="mini" icon="el-icon-edit" plain |
|
|
|
>设置等级</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
@@ -104,7 +104,7 @@ |
|
|
|
<div class="item-list"> |
|
|
|
<span class="itemSpan1">余额变动</span> |
|
|
|
<span class="itemSpan2" style="color: #ff4242">0.0000</span> |
|
|
|
<el-button type="primary" size="mini" icon="el-icon-edit" plain |
|
|
|
<el-button @click="setInvitation('调整余额')" type="primary" size="mini" icon="el-icon-edit" plain |
|
|
|
>调整</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
@@ -112,7 +112,7 @@ |
|
|
|
<div class="item-list"> |
|
|
|
<span class="itemSpan1">积分变动</span> |
|
|
|
<span class="itemSpan2" style="color: #ff4242">0.0000</span> |
|
|
|
<el-button type="primary" size="mini" icon="el-icon-edit" plain |
|
|
|
<el-button @click="setInvitation('调整积分')" type="primary" size="mini" icon="el-icon-edit" plain |
|
|
|
>调整</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
@@ -130,8 +130,10 @@ |
|
|
|
</el-footer> |
|
|
|
|
|
|
|
<OtherSettingsDialog |
|
|
|
:showDialog="true" |
|
|
|
:dialogTitle="'设置等级'" |
|
|
|
:showDialog="isOtherSettings" |
|
|
|
:dialogTitle="othoerItem.title" |
|
|
|
:selectItem="othoerItem.data" |
|
|
|
@handle-close="OtherClose" |
|
|
|
></OtherSettingsDialog> |
|
|
|
</Dialog> |
|
|
|
</template> |
|
|
@@ -174,6 +176,8 @@ export default { |
|
|
|
rules: {}, |
|
|
|
|
|
|
|
// |
|
|
|
isOtherSettings: false, |
|
|
|
othoerItem: {}, |
|
|
|
|
|
|
|
options: [ |
|
|
|
{ |
|
|
@@ -235,12 +239,19 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
// 自定义邀请码 |
|
|
|
setInvitationCode(){ |
|
|
|
this.setItemData = { |
|
|
|
title: '自定义邀请码', |
|
|
|
setInvitation(title){ |
|
|
|
|
|
|
|
this.othoerItem = { |
|
|
|
title: title, |
|
|
|
data: [] |
|
|
|
} |
|
|
|
this.isOtherSettings = true |
|
|
|
}, |
|
|
|
|
|
|
|
OtherClose(){ |
|
|
|
console.log(123) |
|
|
|
this.isOtherSettings = false |
|
|
|
} |
|
|
|
}, |
|
|
|
}; |
|
|
|
</script> |
|
|
|