3
0
Fork 0

fix(mine): fix progress bar style

This commit is contained in:
woody 2025-04-21 20:18:57 +08:00
parent 6280f3b418
commit d101d66417
3 changed files with 24 additions and 30 deletions

View File

@ -129,6 +129,3 @@ export const memberAwards = (params) => http.get('/member/api/member/member-awar
//创客空间收益 //创客空间收益
export const markBonus = (params) => http.post('/bonus/api/bonus/query-mark-bonus-detail', params) export const markBonus = (params) => http.post('/bonus/api/bonus/query-mark-bonus-detail', params)
//基本信息弹框
export const index_repurchase = (params) => http.get('/member/api/member/index_repurchase', { params })

View File

@ -454,24 +454,6 @@ export default {
}, 1000); }, 1000);
}, },
methods: { methods: {
getRepurchase() {
// api.index_repurchase().then((res) => {
// if (res.msg) {
// uni.showModal({
// title: "",
// content: res.msg,
// showCancel: false,
// confirmColor: "#f82c1a",
// success: function (res) {
// if (res.confirm) {
// uni.setStorageSync("showInfo", 1);
// }
// },
// });
// }
// });
},
// index_repurchase
goAreaUrl() { goAreaUrl() {
ban.agreementName().then((res) => { ban.agreementName().then((res) => {
if (res.data == 0) { if (res.data == 0) {

View File

@ -65,7 +65,7 @@
<view class="jugrade_flex"> <view class="jugrade_flex">
<view class="ju_left"> <view class="ju_left">
<view class="yestDay"> <view class="yestDay">
<view class="yes_t">{{ '昨日业绩' }}</view> <view class="yes_t">昨日业绩</view>
<view :class="awards.aNewPv!=0&&awards.bNewPv!=0?'ju_left_bottom1':'ju_left_bottom'"> <view :class="awards.aNewPv!=0&&awards.bNewPv!=0?'ju_left_bottom1':'ju_left_bottom'">
<view <view
class="current-schedule2" class="current-schedule2"
@ -74,10 +74,24 @@
}" }"
></view> ></view>
<view class="cha"> <view class="cha">
左区 {{ awards.aNewPv }}/右区 {{ awards.bNewPv }}</view 左区 {{ awards.aNewPv }}/右区 {{ awards.bNewPv }}
> </view>
</view> </view>
</view> </view>
<!-- <view class="yestDay">
<view class="yes_t">当月业绩</view>
<view :class="awards.aMonthPv!=0&&awards.bMonthPv!=0?'ju_left_bottom1':'ju_left_bottom'">
<view
class="current-schedule2"
:style="{
width: yesPercent(awards.aMonthPv, awards.bMonthPv),
}"
></view>
<view class="cha">
左区 {{ awards.aMonthPv }}/右区 {{ awards.bMonthPv }}
</view>
</view>
</view> -->
<view class="yestDay"> <view class="yestDay">
<view class="yes_t">{{ '历史业绩' }}</view> <view class="yes_t">{{ '历史业绩' }}</view>
<view :class="awards.aSumPv!=0&&awards.bSumPv!=0?'ju_left_bottom1':'ju_left_bottom'"> <view :class="awards.aSumPv!=0&&awards.bSumPv!=0?'ju_left_bottom1':'ju_left_bottom'">
@ -88,7 +102,7 @@
}" }"
></view> ></view>
<view class="cha"> <view class="cha">
左区 {{ awards.aSumPv }}/右区 {{ awards.bSumPv }}</view 左区 {{ awards.aSumPv }}/右区 {{ awards.bSumPv }}</view
> >
</view> </view>
</view> </view>
@ -830,12 +844,13 @@ export default {
border-radius: 20px; border-radius: 20px;
} }
.cha { .cha {
width: 60%; width: 100%;
position: absolute; position: absolute;
top: 50%; top: 60%;
left: 55%; left: 0;
transform: translate(-50%, -50%); transform: translate(0%, -55%);
white-space: nowrap white-space: nowrap;
text-align: center;
} }
.yestDay { .yestDay {
display: flex; display: flex;