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
d4bb284f
Commit
d4bb284f
authored
Nov 14, 2025
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed
parent
5fcd2fe2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
13 deletions
+37
-13
.DS_Store
.DS_Store
+0
-0
actList.vue
subPackages/momclub/actList.vue
+8
-5
FormTree.vue
subPackages/momclub/component/FormTree.vue
+10
-3
index.vue
subPackages/momclub/index.vue
+5
-5
sign.vue
subPackages/momclub/sign.vue
+14
-0
No files found.
.DS_Store
View file @
d4bb284f
No preview for this file type
subPackages/momclub/actList.vue
View file @
d4bb284f
...
...
@@ -106,6 +106,7 @@ const searchClick = (itm)=>{
currentPage
.
value
=
1
loadMoreFlag
.
value
=
true
loadMore
.
value
=
false
activityList
.
value
=
[]
getInfo
(
searchType
.
value
)
}
const
formatActivityTime
=
(
startTime
,
endTime
)
=>
{
...
...
@@ -167,9 +168,9 @@ const formatStatus = (item) => {
const
detailClick
=
(
item
)
=>
{
md
.
sensorSignTake
({
bannerClick
:
"true"
,
page
_n
ame
:
"星妈会活动集合页"
,
page
N
ame
:
"星妈会活动集合页"
,
activity_code
:
item
.
activityId
||
''
,
button
_name
:
item
.
activityId
||
''
,
button
Name
:
item
.
activityTitle
||
''
,
crmid
:
uni
.
getStorageSync
(
'memberId'
),
click_time
:
new
Date
().
getTime
()
});
...
...
@@ -214,16 +215,17 @@ onReachBottom(() => {
onLoad
(
async
(
options
)
=>
{
md
.
sensorSignTake
({
hdjhPage
:
"true"
,
page
_n
ame
:
"星妈会活动集合页"
,
page
N
ame
:
"星妈会活动集合页"
,
page_view_time
:
new
Date
().
getTime
(),
crmid
:
uni
.
getStorageSync
(
'memberId'
),
});
loadMoreFlag
.
value
=
true
searchType
.
value
=
options
.
type
?
options
.
type
:
''
isShare
.
value
=
options
.
share
?
options
.
share
:
''
getInfo
(
searchType
.
value
)
})
onShow
(
async
()
=>
{
console
.
log
(
isShare
.
value
,
'onShow'
)
console
.
log
(
isShare
.
value
,
'onShow
---
'
)
if
(
isShare
.
value
==
'true'
){
await
userStore
.
loadUserInfo
()
console
.
log
(
userStore
.
userInfo
,
'userStore.userInfo?.memberId'
)
...
...
@@ -234,8 +236,9 @@ onShow(async()=> {
})
return
}
getInfo
(
searchType
.
value
)
}
getInfo
(
searchType
.
value
)
})
</
script
>
...
...
subPackages/momclub/component/FormTree.vue
View file @
d4bb284f
...
...
@@ -37,11 +37,11 @@
<
/view
>
<!--
手机号类型
-->
<
view
v
-
else
-
if
=
"fieldItem.componentType === 'MOBILE'"
class
=
"form-mobile
"
>
<
view
v
-
else
-
if
=
"fieldItem.componentType === 'MOBILE'"
:
class
=
"isView ? 'form-mobile view-bg' : fieldItem.error ? 'error-border form-mobile' : 'form-mobile'
"
>
<
input
v
-
model
.
trim
=
"fieldItem.fieldValue"
type
=
"number"
maxlength
=
"11"
:
placeholder
=
"fieldItem.placeholder"
@
blur
=
"(e) => emit('mobileInput', { subIndex: '', fieldIndex, e
}
)"
:
class
=
"isView ? 'form-input view-bg' : fieldItem.error ? 'error-border form-input' : 'form-input'
"
class
=
"form-input form-input-short
"
:
disabled
=
"isView"
/>
<
view
v
-
if
=
"fieldItem.fieldValue && !isView"
@
click
=
"emit('updateMobile', { subIndex: '', fieldIndex
}
)"
class
=
"btn"
>
更换手机号
...
...
@@ -368,7 +368,14 @@ const hasFilledOutList = (list) => {
.
form
-
mobile
{
position
:
relative
;
border
-
radius
:
8
rpx
;
width
:
100
%
;
height
:
68
rpx
;
border
:
1
px
solid
#
A8A8A8
;
.
form
-
input
-
short
{
border
:
none
;
width
:
calc
(
100
%
-
120
rpx
);
}
.
btn
{
position
:
absolute
;
color
:
#
A8A8A8
;
...
...
subPackages/momclub/index.vue
View file @
d4bb284f
...
...
@@ -240,9 +240,9 @@ const handleGoBack = () => {
const
onClickButtonFooterJoin
=
(
type
)
=>
{
md
.
sensorSignTake
({
signClick
:
"true"
,
page
_n
ame
:
activityInfo
.
value
.
activityTitle
||
''
,
page
N
ame
:
activityInfo
.
value
.
activityTitle
||
''
,
activity_code
:
activityInfo
.
value
.
activityId
||
''
,
button
_n
ame
:
type
===
0
?
"立即报名"
:
`立即报名(报名需消耗
${
activityInfo
.
value
.
costPoint
}
积分)`
,
button
N
ame
:
type
===
0
?
"立即报名"
:
`立即报名(报名需消耗
${
activityInfo
.
value
.
costPoint
}
积分)`
,
crmid
:
uni
.
getStorageSync
(
'memberId'
),
click_time
:
new
Date
().
getTime
(),
});
...
...
@@ -252,9 +252,9 @@ const onClickButtonFooterJoin = (type) => {
const
onClickButtonFooterView
=
(
type
)
=>
{
md
.
sensorSignTake
({
signClick
:
"true"
,
page
_n
ame
:
activityInfo
.
value
.
activityTitle
||
''
,
page
N
ame
:
activityInfo
.
value
.
activityTitle
||
''
,
activity_code
:
activityInfo
.
value
.
activityId
||
''
,
button
_n
ame
:
type
===
0
?
"查看入选信息"
:
type
===
1
?
"未入选"
:
"已报名"
,
button
N
ame
:
type
===
0
?
"查看入选信息"
:
type
===
1
?
"未入选"
:
"已报名"
,
crmid
:
uni
.
getStorageSync
(
'memberId'
),
click_time
:
new
Date
().
getTime
()
});
...
...
@@ -370,7 +370,7 @@ const init = () => {
onLoad
((
options
)
=>
{
md
.
sensorSignTake
({
bmhdPage
:
"true"
,
page
_n
ame
:
activityInfo
.
value
?.
activityTitle
||
''
,
page
N
ame
:
activityInfo
.
value
?.
activityTitle
||
''
,
activity_code
:
options
?.
activityId
||
activityInfo
.
value
?.
activityId
||
''
,
page_view_time
:
new
Date
().
getTime
(),
crmid
:
uni
.
getStorageSync
(
'memberId'
)
...
...
subPackages/momclub/sign.vue
View file @
d4bb284f
...
...
@@ -168,6 +168,20 @@ const validateFormComponent = ({ required, fieldValue, placeholder, componentTyp
}
}
}
if
(
!
required
){
let
isFormatError
=
false
;
if
(
componentType
===
'MOBILE'
)
{
isFormatError
=
fieldValue
&&
fieldValue
.
length
!=
11
;
}
else
if
(
componentType
===
'ID_CARD'
)
{
isFormatError
=
fieldValue
&&
fieldValue
.
length
!=
18
;
}
if
(
isFormatError
)
{
getFormComponent
(
index
,
subIndex
,
fieldIndex
).
error
=
true
return
false
;
}
else
{
getFormComponent
(
index
,
subIndex
,
fieldIndex
).
error
=
false
}
}
return
true
;
};
//处理入参
...
...
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