|
@@ -18,36 +18,40 @@
|
|
|
<div class="app-color-3">{{ data.id }}</div>
|
|
<div class="app-color-3">{{ data.id }}</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="source-wrap">
|
|
<div class="source-wrap">
|
|
|
- <i
|
|
|
|
|
|
|
+ <i
|
|
|
v-if="data.sourceType == 0"
|
|
v-if="data.sourceType == 0"
|
|
|
- :class="[data.sourceType == 0? 'iconweixinlaiyuanColor' : '']"
|
|
|
|
|
- class="iconfont iconweixinlaiyuan"></i>
|
|
|
|
|
- <i
|
|
|
|
|
|
|
+ :class="[data.sourceType == 0? 'iconweixinlaiyuanColor' : '']"
|
|
|
|
|
+ class="iconfont iconweixinlaiyuan"
|
|
|
|
|
+ ></i>
|
|
|
|
|
+ <i
|
|
|
v-else-if="data.sourceType == 1"
|
|
v-else-if="data.sourceType == 1"
|
|
|
:class="[data.sourceType == 1? 'zhifubaoColor' : '']"
|
|
:class="[data.sourceType == 1? 'zhifubaoColor' : '']"
|
|
|
- class="iconfont iconzhifubao"></i>
|
|
|
|
|
- <i
|
|
|
|
|
|
|
+ class="iconfont iconzhifubao"
|
|
|
|
|
+ ></i>
|
|
|
|
|
+ <i
|
|
|
v-else-if="data.sourceType == 2"
|
|
v-else-if="data.sourceType == 2"
|
|
|
:class="[data.sourceType == 2? 'app-color-4' : '']"
|
|
:class="[data.sourceType == 2? 'app-color-4' : '']"
|
|
|
- class="iconfont iconxiaochengxu1"></i>
|
|
|
|
|
- <i
|
|
|
|
|
|
|
+ class="iconfont iconxiaochengxu1"
|
|
|
|
|
+ ></i>
|
|
|
|
|
+ <i
|
|
|
v-else-if="data.sourceType == 3"
|
|
v-else-if="data.sourceType == 3"
|
|
|
:class="[data.sourceType == 3? 'app-color-4' : '']"
|
|
:class="[data.sourceType == 3? 'app-color-4' : '']"
|
|
|
- class="iconfont iconzhangshangcaifuyemianshoujiban344"></i>
|
|
|
|
|
- <i
|
|
|
|
|
|
|
+ class="iconfont iconzhangshangcaifuyemianshoujiban344"
|
|
|
|
|
+ ></i>
|
|
|
|
|
+ <i
|
|
|
v-else-if="data.sourceType == 4"
|
|
v-else-if="data.sourceType == 4"
|
|
|
- :class="[data.sourceType == 4? 'app-color-4' : '']"
|
|
|
|
|
- class="iconfont iconwaimai"></i>
|
|
|
|
|
- <i
|
|
|
|
|
|
|
+ :class="[data.sourceType == 4? 'app-color-4' : '']"
|
|
|
|
|
+ class="iconfont iconwaimai"
|
|
|
|
|
+ ></i>
|
|
|
|
|
+ <i
|
|
|
v-if="data.sourceType != 1"
|
|
v-if="data.sourceType != 1"
|
|
|
class="iconfont iconweixingongzhonghao"
|
|
class="iconfont iconweixingongzhonghao"
|
|
|
:class="[data.subscribe==1? 'app-color-4' : '']"
|
|
:class="[data.subscribe==1? 'app-color-4' : '']"
|
|
|
- >
|
|
|
|
|
- </i>
|
|
|
|
|
- <i
|
|
|
|
|
|
|
+ ></i>
|
|
|
|
|
+ <i
|
|
|
@click="data.mobile&&callUp(data.mobile)"
|
|
@click="data.mobile&&callUp(data.mobile)"
|
|
|
- :class="['iconfont', 'iconshoujihao1',data.mobile?'mobileColor':'']"></i>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ :class="['iconfont', 'iconshoujihao1',data.mobile?'mobileColor':'']"
|
|
|
|
|
+ ></i>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -263,19 +267,19 @@ export default {
|
|
|
// 用户资金情况
|
|
// 用户资金情况
|
|
|
fundsData: [
|
|
fundsData: [
|
|
|
{
|
|
{
|
|
|
- name: "消费次数",
|
|
|
|
|
|
|
+ name: "成长值",
|
|
|
value: 0
|
|
value: 0
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- name: "累计消费(¥)",
|
|
|
|
|
|
|
+ name: "余额",
|
|
|
value: 0
|
|
value: 0
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- name: "成长值",
|
|
|
|
|
|
|
+ name: "消费次数",
|
|
|
value: 0
|
|
value: 0
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- name: "余额",
|
|
|
|
|
|
|
+ name: "累计消费(¥)",
|
|
|
value: 0
|
|
value: 0
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
@@ -363,19 +367,18 @@ export default {
|
|
|
orderMoreStatus: false,
|
|
orderMoreStatus: false,
|
|
|
// 确认操作提示
|
|
// 确认操作提示
|
|
|
promptRemarkModal: false,
|
|
promptRemarkModal: false,
|
|
|
- promptModalText: "是否要删除该备注?"
|
|
|
|
|
|
|
+ promptModalText: "是否要删除该备注?"
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
...mapGetters({ levelData: "getLevel" })
|
|
...mapGetters({ levelData: "getLevel" })
|
|
|
},
|
|
},
|
|
|
- onLoad() {
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ onLoad() {},
|
|
|
methods: {
|
|
methods: {
|
|
|
- callUp(phone){
|
|
|
|
|
- uni.makePhoneCall({
|
|
|
|
|
|
|
+ callUp(phone) {
|
|
|
|
|
+ uni.makePhoneCall({
|
|
|
phoneNumber: phone //仅为示例
|
|
phoneNumber: phone //仅为示例
|
|
|
- });
|
|
|
|
|
|
|
+ });
|
|
|
},
|
|
},
|
|
|
init() {
|
|
init() {
|
|
|
this._getUserDet();
|
|
this._getUserDet();
|
|
@@ -383,14 +386,14 @@ export default {
|
|
|
},
|
|
},
|
|
|
_getUserDet() {
|
|
_getUserDet() {
|
|
|
getUserDet({ userId: this.option.id }).then(res => {
|
|
getUserDet({ userId: this.option.id }).then(res => {
|
|
|
- if (this.$util.isEmpty(res.data)){
|
|
|
|
|
- return false;
|
|
|
|
|
- }
|
|
|
|
|
- this.data = res.data;
|
|
|
|
|
- this.fundsData[0].value = res.data.userAsset.totalBuyNum;
|
|
|
|
|
- this.fundsData[1].value = res.data.userAsset.totalExpend;
|
|
|
|
|
- this.fundsData[2].value = res.data.userAsset.growth;
|
|
|
|
|
- this.fundsData[3].value = res.data.userAsset.balance;
|
|
|
|
|
|
|
+ if (this.$util.isEmpty(res.data)) {
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }
|
|
|
|
|
+ this.data = res.data;
|
|
|
|
|
+ this.fundsData[0].value = res.data.userAsset.growth;
|
|
|
|
|
+ this.fundsData[1].value = res.data.userAsset.balance;
|
|
|
|
|
+ this.fundsData[2].value = res.data.userAsset.totalBuyNum;
|
|
|
|
|
+ this.fundsData[3].value = res.data.userAsset.totalExpend;
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
_rechargeB() {
|
|
_rechargeB() {
|
|
@@ -546,8 +549,8 @@ export default {
|
|
|
margin-left: 10px;
|
|
margin-left: 10px;
|
|
|
width: 80px;
|
|
width: 80px;
|
|
|
/deep/.vip-text {
|
|
/deep/.vip-text {
|
|
|
- left: 70px;
|
|
|
|
|
- top: 3px;
|
|
|
|
|
|
|
+ left: 70px;
|
|
|
|
|
+ top: 3px;
|
|
|
// top: -2px;
|
|
// top: -2px;
|
|
|
// left: 26px;
|
|
// left: 26px;
|
|
|
// font-weight: 400;
|
|
// font-weight: 400;
|