Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
ad188cf7
Commit
ad188cf7
authored
Jul 29, 2025
by
weishengfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(postnatalCheckUp, productionCalendar): 更新产后检查和生产日历功能
- 修改产后检查页面的完成状态图标 - 优化生产日历页面的宝宝头像显示逻辑 - 在生产日历页面添加获取用户信息的功能
parent
b3179047
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
postnatalCheckUp.vue
pages/postnatalCheckUp/postnatalCheckUp.vue
+1
-1
productionCalendar.vue
pages/productionCalendar/productionCalendar.vue
+6
-2
No files found.
pages/postnatalCheckUp/postnatalCheckUp.vue
View file @
ad188cf7
...
@@ -165,7 +165,7 @@ const getSrcUrl = (status) => {
...
@@ -165,7 +165,7 @@ const getSrcUrl = (status) => {
const
imageMap
=
{
const
imageMap
=
{
'pending'
:
`
${
$baseUrl
}
chanjianTool/1001/icon4.png`
,
'pending'
:
`
${
$baseUrl
}
chanjianTool/1001/icon4.png`
,
'expired'
:
`
${
$baseUrl
}
chanjianTool/1001/icon5.png`
,
'expired'
:
`
${
$baseUrl
}
chanjianTool/1001/icon5.png`
,
'completed'
:
`
${
$baseUrl
}
chanjianTool/1001/icon
6
.png`
'completed'
:
`
${
$baseUrl
}
chanjianTool/1001/icon
30
.png`
};
};
return
imageMap
[
status
];
return
imageMap
[
status
];
...
...
pages/productionCalendar/productionCalendar.vue
View file @
ad188cf7
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<image
@
tap=
"backHandler"
class=
"btnback"
:src=
"`$
{$baseUrl}chanjianTool/1001/back.png`">
</image>
<image
@
tap=
"backHandler"
class=
"btnback"
:src=
"`$
{$baseUrl}chanjianTool/1001/back.png`">
</image>
<view
class=
"page_title"
>
<view
class=
"page_title"
>
<view
class=
"info-l"
>
<view
class=
"info-l"
>
<image
:src=
"$baseUrl + 'common/default_avatar.png'"
></image>
<image
:src=
"
babyInfo?.content?.babyAvatar ||
$baseUrl + 'common/default_avatar.png'"
></image>
</view>
</view>
<view
class=
"info-r"
>
<view
class=
"info-r"
>
<view
class=
"info-r-t"
>
<view
class=
"info-r-t"
>
...
@@ -122,6 +122,7 @@ import {
...
@@ -122,6 +122,7 @@ import {
onLoad
,
onLoad
,
onShow
onShow
}
from
'@dcloudio/uni-app'
}
from
'@dcloudio/uni-app'
import
{
useUserStore
}
from
"@/stores/user"
;
import
{
import
{
throttleTap
,
throttleTap
,
dateFormatter
dateFormatter
...
@@ -130,7 +131,10 @@ import {
...
@@ -130,7 +131,10 @@ import {
import
{
import
{
getInfo
getInfo
}
from
'../../api/obstetric.js'
;
}
from
'../../api/obstetric.js'
;
import
{
console
}
from
'inspector'
;
// 获取用户信息
const
userStore
=
useUserStore
();
const
babyInfo
=
ref
(
userStore
?.
babyInfo
||
{})
// 新增日历组件 start-------
// 新增日历组件 start-------
const
currentSelectedDate
=
ref
(
''
)
const
currentSelectedDate
=
ref
(
''
)
const
currentDate
=
ref
(
new
Date
())
const
currentDate
=
ref
(
new
Date
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment