Commit af457e51 authored by zhengke's avatar zhengke

修改

parent 28efc9b7
......@@ -199,8 +199,7 @@
<div flex="dir:left cross:center" style="flex-wrap: wrap;">
<div flex="dir:top cross:center main:center" class="text-center"
style="border-right: 1px solid rgb(226, 226, 226); border-bottom: 1px solid rgb(226, 226, 226); width: 125px; height: 110px;">
<img :src="getIconLink(addMsg.DistributionCommissionImage)"
style="width: 35px; height: 35px;">
<img :src="getIconLink(addMsg.DistributionCommissionImage)" style="width: 35px; height: 35px;">
<div style="transform: scale(0.8); font-size: 16px; padding-top: 8px; color: rgb(102, 102, 102);">
{{addMsg.DistributionCommissionName}}
</div>
......@@ -266,8 +265,7 @@
</div>
<div style="margin-top: 8px;"> {{addMsg.WithdrawDetialsName}}</div>
</span>
<span @click="openIcon(6,addMsg.MyTeamName,addMsg.MyTeamImage)"
flex="dir:top main:center cross:center"
<span @click="openIcon(6,addMsg.MyTeamName,addMsg.MyTeamImage)" flex="dir:top main:center cross:center"
style="cursor: pointer; height: 100px; width: 100px; border: 1px solid rgb(227, 227, 227); margin-left: -1px;">
<div class="app-image"
:style="{backgroundImage:'url(' + getIconLink(addMsg.MyTeamImage) + ')',backgroundSize:'cover'}">
......@@ -672,7 +670,7 @@
return {
activeName: 'first',
addMsg: {},
commonIndex:-1,
commonIndex: -1,
HeadImagePath: this.domainManager().ImageUrl + '/Upload/Set/1587968479000.png',
BottomImagePath: this.domainManager().ImageUrl + '/Upload/Set/1587968716000.png',
//分销佣金默认
......@@ -701,7 +699,7 @@
mounted() {},
methods: {
openIcon(index, name, path) {
this.commonIndex=index;
this.commonIndex = index;
this.imgType = index;
this.iconDig = true;
this.iconMsg = {
......@@ -710,28 +708,38 @@
}
},
//点击栏目下栏目编辑恢复默认
getIconMsg(iconMsg){
switch(this.commonIndex){
getIconMsg(iconMsg) {
switch (this.commonIndex) {
case 3:
this.addMsg.DistributionCommissionImage=this.fenxiaoMoren;
iconMsg.Path=this.fenxiaoMoren;
break;
this.addMsg.DistributionCommissionImage = this.fenxiaoMoren;
iconMsg.Path = this.fenxiaoMoren;
this.addMsg.DistributionCommissionName = '分销佣金';
iconMsg.Name = '分销佣金';
break;
case 4:
this.addMsg.DistributionOrderImage=this.fenxiaoOrder;
iconMsg.Path=this.fenxiaoOrder;
break;
this.addMsg.DistributionOrderImage = this.fenxiaoOrder;
iconMsg.Path = this.fenxiaoOrder;
this.addMsg.DistributionOrderName = '分销佣金';
iconMsg.Name = '分销佣金';
break;
case 5:
this.addMsg.WithdrawDetialsImage=this.tixianMoren;
iconMsg.Path=this.tixianMoren;
break;
this.addMsg.WithdrawDetialsImage = this.tixianMoren;
iconMsg.Path = this.tixianMoren;
this.addMsg.WithdrawDetialsName = '提现明细';
iconMsg.Name = '提现明细';
break;
case 6:
this.addMsg.MyTeamImage=this.myTeamMoren;
iconMsg.Path=this.myTeamMoren;
break;
this.addMsg.MyTeamImage = this.myTeamMoren;
iconMsg.Path = this.myTeamMoren;
this.addMsg.MyTeamName = '我的团队';
iconMsg.Name = '我的团队';
break;
case 7:
this.addMsg.PromoteQRCodeImage=this.tuiguangCode;
iconMsg.Path=this.tuiguangCode;
break;
this.addMsg.PromoteQRCodeImage = this.tuiguangCode;
iconMsg.Path = this.tuiguangCode;
this.addMsg.PromoteQRCodeName = '推广二维码';
iconMsg.Name = '推广二维码';
break;
}
},
save() {
......@@ -772,7 +780,7 @@
} else if (this.imgType == 5) {
this.addMsg.WithdrawDetialsImage = msg.url;
} else if (this.imgType == 6) {
this.addMsg.MyTeamImage= msg.url;
this.addMsg.MyTeamImage = msg.url;
} else if (this.imgType == 7) {
this.addMsg.PromoteQRCodeImage = msg.url;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment