Commit 4120b1ca by chenyu

update: update

parent 16cdd879
......@@ -187,12 +187,16 @@
border: 1px solid #e4e7ed;
box-sizing: border-box;
transition: all 0.3s;
&.integral:hover,
&.coupon:hover {
&:hover {
cursor: pointer;
transform: translateY(-5px);
box-shadow: 0 2px 7px rgba(122, 138, 203, 0.2);
}
&.balance.nohover:hover{
cursor: default;
transform: translateY(0);
box-shadow: none;
}
.icon-wrap {
display: flex;
justify-content: center;
......
......@@ -142,8 +142,8 @@
<!-- 资产信息 -->
<template v-if="section.name==='assets'">
<ul class="card-list-wrap max1600">
<li :class="['card-item',item.iconTheme]" v-for="item in section.childrenList"
:key="item" @click="goLink(item.path)">
<li :class="['card-item',item.iconTheme,memberInfo.storedValueFlag?'':'nohover']" v-for="item in section.childrenList"
:key="item" @click="item.iconTheme==='balance'?goStoreValue():goLink(item.path)">
<p :class="['icon-wrap', item.iconTheme]"><i :class="['iconfont', item.icon]"></i>
</p>
<div class="middle">
......
......@@ -348,6 +348,13 @@ export default {
goLink(v) {
if (v) this.$router.push({ path: v, query: { memberId: this.memberId } });
},
goStoreValue() {
if(this.memberInfo.storedValueFlag) {
this.$router.push({ path: '/storedValue', query: { memberId: this.memberId } });
}else {
this.$message.info("未对接储值明细,暂无数据");
}
},
handleSizeChange(v) {
this.logPageParam.pageSize = v;
this.logPageParam.currentPage = 1;
......
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