fix(mine): 当月业绩进度条展示问题修复

This commit is contained in:
woody 2025-04-23 15:36:57 +08:00
parent 1b8742bcc2
commit 7acc462799
3 changed files with 3 additions and 33 deletions

View File

@ -94,9 +94,7 @@
userInfo: uni.getStorageSync('User'), userInfo: uni.getStorageSync('User'),
}; };
}, },
mounted() {
this.getDirectrank();
},
methods: { methods: {
closeTap() { closeTap() {
// //
@ -104,23 +102,7 @@
this.$forceUpdate(); // this.$forceUpdate(); //
this.$emit("callznMethodTrigger"); this.$emit("callznMethodTrigger");
}, },
getDirectrank() {
// const currentDate = new Date();
// this.themonth = currentDate.getMonth() + 1;
// api.getMemberDirectpush().then((res) => {
// if (res.code == 200) {
// if (res.data &&res.data.length > 0) {
// this.popupList = res.data;
// let arr = res.data;
// let newArr = arr.filter((item, index) => index >= 3); // 3
// this.popupList2 = newArr;
// this.noticeFlag = true;
// } else {
// this.$emit("callznMethodTrigger");
// }
// }
// });
},
}, },
}; };
</script> </script>

View File

@ -119,9 +119,6 @@ export const getIndexPopmail = (params) => http.get('/system/api/notice/index-po
//站内信弹窗已读 //站内信弹窗已读
export const getNoticeDetail = (params) => http.get('/system/api/notice/index-detail', { params }) export const getNoticeDetail = (params) => http.get('/system/api/notice/index-detail', { params })
//直推排行弹窗
export const getMemberDirectpush = (params) => http.get('/member/api/member/get-member-direct-push', { params })
//校验服务有效期 //校验服务有效期
export const agreement_expire = (params) => http.get('/member/api/member/agreement_expire', { params }) export const agreement_expire = (params) => http.get('/member/api/member/agreement_expire', { params })

View File

@ -80,7 +80,7 @@
<view <view
class="current-progress" class="current-progress"
:style="{ :style="{
width: '100%', width: yesPercent(awards.aSumPv, awards.bSumPv),
}" }"
></view> ></view>
<view class="cha"> <view class="cha">
@ -104,15 +104,6 @@
</view> </view>
</view> </view>
</view> </view>
<!-- <view class="ju_right">
<image
v-if="userInfo.awardsIcon"
class="ju_img"
:src="userInfo.awardsIcon"
mode=""
></image>
</view> -->
</view> </view>
</view> </view>
<view class="my_order"> <view class="my_order">