优化:我的客户 - 增加间推订单和间推人数信息

This commit is contained in:
wuhui_zzw 2024-05-24 14:29:04 +08:00
parent ddad021ff6
commit ce6373143a
2 changed files with 37 additions and 19 deletions

View File

@ -85,23 +85,33 @@
<p style="font-weight: 700; font-size: 15px; line-height: 1.35rem;">{{item.team_bought_total}}</p>
</div>
</template>
<div class="innerbox-li" @click="gotoList('first')">
<p>{{agent.agent_num?agent.agent_num:"客户数量"}}</p>
<p>{{agent.agent_num?agent.agent_num:"直推客户数量"}}()</p>
<p style="font-weight: 700; font-size: 15px; line-height: 1.35rem;">{{ myReferral.child_total }}</p>
</div>
<div class="innerbox-li" @click="gotoList('all')">
<p>{{agent.agent_count?agent.agent_count:"总客户数"}}</p>
<p style="font-weight: 700; font-size: 15px; line-height: 1.35rem;">{{ myReferral.team_total }}</p>
</div>
<div class="innerbox-li" @click.stop="$router.push(fun.getUrl('MyRelationshipOrder',{ order_type: 'agent_order'},{ order_type: 'agent_order'}))">
<p>{{agent.agent_order?agent.agent_order:"客户订单"}}{{ $i18n.t("元") }}</p>
<p>{{agent.agent_order?agent.agent_order:"直推客户订单"}}({{ $i18n.t("元") }})</p>
<p style="font-weight: 700; font-size: 15px; line-height: 1.35rem;">{{ myReferral.child_order_money }}</p>
</div>
<div class="innerbox-li">
<p>间推客户数()</p>
<p style="font-weight: 700; font-size: 15px; line-height: 1.35rem;">{{ myReferral.indirect_total }}</p>
</div>
<div class="innerbox-li">
<p>间推客户订单({{ $i18n.t("元") }})</p>
<p style="font-weight: 700; font-size: 15px; line-height: 1.35rem;">{{ myReferral.indirect_order_money }}</p>
</div>
<div class="innerbox-li" @click="gotoList('all')">
<p>{{agent.agent_count?agent.agent_count:"总客户数"}}()</p>
<p style="font-weight: 700; font-size: 15px; line-height: 1.35rem;">{{ myReferral.team_total }}</p>
</div>
<div class="innerbox-li" @click.stop="$router.push(fun.getUrl('MyRelationshipOrder',{ order_type: 'agent_order_count'},{ order_type: 'agent_order_count'}))">
<p>{{agent.agent_order_count?agent.agent_order_count:"客户总订单"}}{{ $i18n.t("元") }}</p>
<p>{{agent.agent_order_count?agent.agent_order_count:"客户总订单"}}({{ $i18n.t("元") }})</p>
<p style="font-weight: 700; font-size: 15px; line-height: 1.35rem;">{{ myReferral.team_order_money }}</p>
</div>
<!--<div class="innerbox-li">
<p>{{agent.agent_goods_num?agent.agent_goods_num:"客户总支付商品数量"}}</p>
<p style="font-weight: 700; font-size: 15px; line-height: 1.35rem;">{{ myReferral.team_goods_total }}</p>
@ -555,9 +565,13 @@ export default my_relationship_v2_controller;
overflow-x: auto;
text-align: left;
padding: 1rem 0.875rem 0.25rem 0.875rem;
// padding: 5px;
border-radius: 0.625rem;
display: flex;
display: inline-flex;
flex-direction: row;
flex-wrap: wrap;
align-content: center;
justify-content: space-between;
align-items: center;
p {
height: 1.35rem;
@ -566,15 +580,19 @@ export default my_relationship_v2_controller;
}
.innerbox-li {
display: flex;
flex-direction: column;
height: 5rem;
width: calc((100% - 10px) / 2);
margin-bottom: 10px;
padding: 10px;
border-radius: 5px;
//display: flex;
//flex-direction: column;
//height: 5rem;
box-shadow: #ccc 0 0 5px;
padding: 0.625rem;
flex-shrink: 0;
background: url('../../../assets/images/person@2x.png');
background-position: bottom right;
background-repeat: no-repeat;
//padding: 0.625rem;
//flex-shrink: 0;
//background: url('../../../assets/images/person@2x.png');
//background-position: bottom right;
//background-repeat: no-repeat;
background-size: 3rem;
}
}

View File

@ -112,7 +112,7 @@ module.exports = {
},
proxy: {
"/addons/yun_shop/api.php": {
target: "https://shuizhi.test.cdlfjy.com/", //目标接口域名bztang.cdlfjy.com testbzt.cdlfjy.com
target: "https://shuizhi.test.cdlfjy.com/", //目标接口域名
changeOrigin: true, //是否跨域
secure: false
// pathRewrite: {