Commit af457e51 authored by zhengke's avatar zhengke

修改

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