Commit 96039607 by liuchenxi

update: 记录和账户明细文字进入限制

parent 9738b8d3
......@@ -19,7 +19,8 @@
<span v-if="config.isMoreAccount">(当前所在计费部门:{{ config.departmentName }})</span>
</div>
<p class="fz22 vertical-middle money">
<span @click="$router.push('/recharge/record')">{{ (config.balance / 100) | amount }}<i class="el-icon-arrow-right arrow"/></span>
<span v-if="$getButtonLimit($buttonCode.marketingRechargeBoardRecord)" class="active" @click="$router.push('/recharge/record')">{{ (config.balance / 100) | amount }}<i class="el-icon-arrow-right arrow"/></span>
<span v-else>{{ (config.balance / 100) | amount }}<i class="el-icon-arrow-right arrow"/></span>
</p>
<el-button v-if="$getButtonLimit($buttonCode.marketingRechargeBoardRecharge)" :limit-code="$buttonCode.marketingRechargeBoardRecharge" class="vertical-middle pl20 pr20" type="primary" @click="$router.push('/recharge/do')">充值</el-button>
<el-button v-if="$getButtonLimit($buttonCode.marketingRechargeBoardRecord)" :limit-code="$buttonCode.marketingRechargeBoardRecord" class="vertical-middle pl20 pr20" @click="$router.push('/recharge/record')">记录</el-button>
......@@ -29,7 +30,8 @@
所有账户余额(元)<span class="tip"><i class="iconfont icon-anquanbaozhang" />已开启多账户计费模式</span>
</div>
<p class="fz22 vertical-middle money">
<span @click="$router.push('/recharge/accountDetail')">{{ (config.allDepartmentTotal / 100) | amount }}<i class="el-icon-arrow-right arrow"/></span>
<span v-if="$getButtonLimit($buttonCode.marketingAccountDetail)" class="active" @click="$router.push('/recharge/accountDetail')">{{ (config.allDepartmentTotal / 100) | amount }}<i class="el-icon-arrow-right arrow"/></span>
<span v-else>{{ (config.allDepartmentTotal / 100) | amount }}<i class="el-icon-arrow-right arrow"/></span>
</p>
<!--该按钮待埋点-->
<el-button v-if="$getButtonLimit($buttonCode.marketingAccountDetail)" :limit-code="$buttonCode.marketingAccountDetail" class="vertical-middle" @click="$router.push('/recharge/accountDetail')">账户明细</el-button>
......@@ -477,16 +479,18 @@ export default {
color: #303133;
line-height: 37px;
& span {
cursor: pointer;
font-weight: 600;
i {
position: relative;
top: -4px;
}
&:hover {
color: #1890ff;
.arrow {
&.active {
cursor: pointer;
&:hover {
color: #1890ff;
.arrow {
color: #1890ff;
}
}
}
}
......
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