优化功能
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
</view>
|
||||
|
||||
<!-- 进度2-到账成功 -->
|
||||
<view class="mx-98rpx flex" v-if="billDetails.status == 1">
|
||||
<view class="mx-98rpx flex" v-if="billDetails.status > 1">
|
||||
<view class="mr-44rpx">
|
||||
<wd-img width="22rpx" height="260rpx" :src="`${OSS}images/withdraw/withdraw_image2.png`"></wd-img>
|
||||
</view>
|
||||
|
||||
@ -326,9 +326,12 @@
|
||||
},
|
||||
])
|
||||
|
||||
onShow(() => {
|
||||
Index.handleGetTodayOrder()
|
||||
})
|
||||
|
||||
onLoad(() => {
|
||||
calculateProgress()
|
||||
Index.handleGetTodayOrder()
|
||||
})
|
||||
|
||||
// 计算进度百分比
|
||||
@ -410,7 +413,6 @@
|
||||
const date = getCurrentDate().split('-')
|
||||
month.value = Number(date[1])
|
||||
day.value = Number(date[2])
|
||||
console.log("🚀 ~ date:", date)
|
||||
|
||||
// 获取今日日期
|
||||
const filter = {
|
||||
|
||||
@ -76,7 +76,7 @@
|
||||
mobile: string
|
||||
passowrd: string
|
||||
}>({
|
||||
mobile: '', // 12322222222
|
||||
mobile: '', // 15005837859
|
||||
passowrd: ''
|
||||
})
|
||||
|
||||
@ -118,14 +118,9 @@
|
||||
return
|
||||
}
|
||||
|
||||
uni.showLoading({
|
||||
title: '登录中...'
|
||||
})
|
||||
|
||||
try {
|
||||
const userStore = useUserStore()
|
||||
const res = await userStore.mobileLogin(model.mobile, model.passowrd, 1, 1, 1)
|
||||
uni.hideLoading()
|
||||
|
||||
// 这里记录用户账号密码,下次自动填充
|
||||
uni.setStorageSync('loginMobile', model.mobile)
|
||||
@ -136,7 +131,6 @@
|
||||
router.reLaunch('/pages/index/index')
|
||||
}, 1000)
|
||||
} catch (error) {
|
||||
uni.hideLoading()
|
||||
return
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user