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
a499fc25
Commit
a499fc25
authored
Nov 12, 2025
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed
parent
7e926cdc
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
56 additions
and
28 deletions
+56
-28
.DS_Store
.DS_Store
+0
-0
actList.vue
subPackages/momclub/actList.vue
+14
-8
FormTree.vue
subPackages/momclub/component/FormTree.vue
+11
-13
resultDialog.vue
subPackages/momclub/component/resultDialog.vue
+2
-2
sign.vue
subPackages/momclub/sign.vue
+27
-3
My.vue
views/My.vue
+2
-2
No files found.
.DS_Store
View file @
a499fc25
No preview for this file type
subPackages/momclub/actList.vue
View file @
a499fc25
...
...
@@ -28,9 +28,12 @@
</view>
</view>
<view
v-else
class=
"left-two"
>
{{
formatActivityTime
(
item
.
activityStartTime
,
item
.
activityEndTime
).
split
(
','
)[
1
]
}}
<br
/>
{{
formatActivityTime
(
item
.
activityStartTime
,
item
.
activityEndTime
).
split
(
','
)[
2
]
}}
<view>
{{
formatActivityTime
(
item
.
activityStartTime
,
item
.
activityEndTime
).
split
(
','
)[
1
]
}}
</view>
<view>
{{
formatActivityTime
(
item
.
activityStartTime
,
item
.
activityEndTime
).
split
(
','
)[
2
]
}}
</view>
</view>
</view>
<view
class=
"content-main"
>
...
...
@@ -113,10 +116,10 @@ const formatActivityTime = (startTime, endTime) => {
const
[
eMonth
,
eDate
,
eHours
,
eMinutes
]
=
getParts
(
end
);
if
(
sMonth
===
eMonth
&&
sDate
===
eDate
)
{
//不跨日
return
`
${
sMonth
}
/
${
sDate
}
,
${
sHours
}
:
${
sMinutes
}
-
${
eHours
}
:
${
eMinutes
}
`
;
}
else
if
(
sMonth
===
eMonth
)
{
//跨日
return
`
${
sMonth
}
月,
${
sDate
}
日-
${
eDate
}
日`
;
return
`
${
sMonth
}
月
${
sDate
}
日
,
${
sHours
}
:
${
sMinutes
}
-
${
eHours
}
:
${
eMinutes
}
`
;
//
} else if (sMonth === eMonth) {
//
//跨日
//
return `${sMonth}月,${sDate}日-${eDate}日`;
}
else
{
//跨月
return
`,
${
sMonth
}
月
${
sDate
}
日-,
${
eMonth
}
月
${
eDate
}
日`
;
...
...
@@ -349,7 +352,10 @@ onShow(async()=> {
.left-two {
font-size: 24rpx;
font-weight: 500;
line-height: 36rpx;
height: 72rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
}
}
...
...
subPackages/momclub/component/FormTree.vue
View file @
a499fc25
...
...
@@ -165,11 +165,10 @@
<
/view
>
<
/view
>
<
/view
>
<
view
class
=
"white-bg"
><
/view>
<
view
v
-
if
=
"item.subFormList && item.subFormList.length > 0"
v
-
for
=
"(subItm, subIndex) in item.subFormList"
:
key
=
"subIndex"
>
<
view
v
-
if
=
"(!isView && subItm.isShow) || (isView && subItm.hasFilledOut)
"
>
<
view
v
-
if
=
"(!isView && subItm.isShow) || (isView && subItm.hasFilledOut)"
class
=
'line-dash'
><
/view
>
<
view
v
-
if
=
"(!isView && subItm.isShow) || (isView && subItm.hasFilledOut)"
>
<
view
v
-
if
=
"(!isView && subItm.isShow
&& !subItm.isFirstFound
) || (isView && subItm.hasFilledOut)"
class
=
'line-dash'
><
/view
>
<
form
-
tree
v
-
bind
=
"{ item: subItm, index, visible, areaVisible, formData, isView
}
"
@
addSubForm
=
"() => emit('addSubForm', subIndex)"
@
delSubForm
=
"() => emit('delSubForm', subIndex)"
...
...
@@ -191,7 +190,7 @@
<
/template
>
<
script
setup
>
import
{
ref
,
watch
,
onMounted
,
computed
,
toRefs
}
from
'vue'
import
{
toRefs
}
from
'vue'
import
FormTree
from
'./formTree.vue'
const
props
=
defineProps
({
item
:
{
...
...
@@ -251,8 +250,11 @@ const hasFilledOutList = (list)=>{
.
form
-
del
{
color
:
#
C3C3C3
;
background
-
color
:
#
F7F7F7
;
padding
:
8
rpx
40
rpx
;
border
-
radius
:
30
rpx
;
width
:
140
rpx
;
height
:
52
rpx
;
line
-
height
:
52
rpx
;
text
-
align
:
center
;
}
}
...
...
@@ -470,12 +472,12 @@ const hasFilledOutList = (list)=>{
}
.
sub
-
box
{
margin
-
bottom
:
20
rpx
;
.
sub
-
warp
-
one
{
display
:
flex
;
justify
-
content
:
center
;
align
-
items
:
center
;
color
:
#
B27C1E
;
margin
-
bottom
:
20
rpx
;
.
sub
-
item
-
one
{
width
:
520
rpx
;
}
...
...
@@ -485,6 +487,7 @@ const hasFilledOutList = (list)=>{
justify
-
content
:
space
-
between
;
align
-
items
:
center
;
color
:
#
B27C1E
;
margin
-
bottom
:
20
rpx
;
.
sub
-
item
-
two
{
width
:
320
rpx
;
}
...
...
@@ -495,6 +498,7 @@ const hasFilledOutList = (list)=>{
flex
-
wrap
:
wrap
;
color
:
#
B27C1E
;
width
:
calc
(
100
vw
-
59
rpx
);
margin
-
bottom
:
20
rpx
;
.
sub
-
item
-
three
{
width
:
208
rpx
;
margin
-
right
:
17
rpx
;
...
...
@@ -516,17 +520,11 @@ const hasFilledOutList = (list)=>{
border
:
1
px
solid
#
B27C1E
;
background
:
rgba
(
211
,
164
,
88
,
0.1
);
margin
-
top
:
20
rpx
;
margin
-
bottom
:
20
rpx
;
}
.
gray
{
opacity
:
0.2
;
}
.
white
-
bg
{
position
:
relative
;
width
:
100
%
;
height
:
4
rpx
;
background
-
color
:
#
fff
;
top
:
43
rpx
;
}
}
}
<
/style>
\ No newline at end of file
subPackages/momclub/component/resultDialog.vue
View file @
a499fc25
...
...
@@ -197,7 +197,7 @@ defineExpose({
}
.content-pad {
padding-bottom: 40rpx;
//
padding-bottom: 40rpx;
text-align: center;
}
...
...
@@ -272,7 +272,7 @@ defineExpose({
max-width: 564rpx;
border-radius: 38rpx;
background: #FFFFFF;
padding: 15rpx 0rpx 20rpx;
padding: 15rpx
2
0rpx 20rpx;
box-sizing: border-box;
display: flex;
flex-direction: column;
...
...
subPackages/momclub/sign.vue
View file @
a499fc25
...
...
@@ -68,7 +68,7 @@
</
template
>
<
script
setup
>
import
{
ref
,
computed
}
from
'vue'
import
{
ref
,
watch
,
computed
}
from
'vue'
import
{
onLoad
}
from
'@dcloudio/uni-app'
import
{
signupFormApi
,
formCommitApi
,
uploadFileApi
}
from
'@/api/momclub/index.js'
;
import
NoticeDialog
from
'./component/noticeDialog.vue'
...
...
@@ -495,6 +495,32 @@ onLoad(async (options) => {
console
.
log
(
query
.
value
,
'query.value'
)
getInfo
()
})
watch
(()
=>
formData
.
value
,
(
newVal
)
=>
{
if
(
newVal
)
{
console
.
log
(
newVal
,
'fwatch'
)
newVal
.
forEach
(
item
=>
{
if
(
item
.
subFormList
&&
item
.
subFormList
.
length
>
0
)
{
let
flag
=
false
;
item
.
subFormList
.
forEach
(
subItem
=>
{
if
(
subItem
.
isShow
)
{
if
(
!
flag
)
{
subItem
.
isFirstFound
=
true
;
flag
=
true
;
}
else
{
delete
subItem
.
isFirstFound
;
}
}
else
{
delete
subItem
.
isFirstFound
;
}
});
}
})
}
},
{
immediate
:
true
,
deep
:
true
// 添加深度监听
});
</
script
>
<
style
lang=
"less"
scoped
>
...
...
@@ -639,8 +665,6 @@ onLoad(async (options) => {
}
.form-btn {
height: 90rpx;
line-height: 90rpx;
height: 90rpx;
line-height: 90rpx;
border-radius: 40rpx;
...
...
views/My.vue
View file @
a499fc25
...
...
@@ -870,8 +870,8 @@ const handleIntegralClick = () => {
buttonName
:
'积分明细'
,
});
//TODO: 切换环境 需要切换url
//
const urlStr = 'https://momuat.feihe.com/member/mine/newPointDetail?crmId={crmid}&appCode=XMH';
const
urlStr
=
'https://mom.feihe.com/member/mine/newPointDetail?crmId={crmid}&appCode=XMH'
;
const
urlStr
=
'https://momuat.feihe.com/member/mine/newPointDetail?crmId={crmid}&appCode=XMH'
;
//
const urlStr = 'https://mom.feihe.com/member/mine/newPointDetail?crmId={crmid}&appCode=XMH';
const
url
=
urlStr
.
replace
(
'{crmid}'
,
userStore
.
babyInfo
?.
memberId
);
console
.
log
(
'积分明细链接:=='
,
url
);
...
...
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