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