Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
fashion-ui
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tangfh
fashion-ui
Commits
c2fa0fa3
Commit
c2fa0fa3
authored
May 30, 2024
by
tangfh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
封装 f-pop-date-time-picker 插件(日期、时间 选择弹框),并上传插件市场
parent
2e1d3986
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1424 additions
and
3 deletions
+1424
-3
f-pop-date-time-picker.vue
components/f-pop-date-time-picker/f-pop-date-time-picker.vue
+662
-0
index.vue
pages/index/index.vue
+14
-3
changelog.md
uni_modules/f-pop-date-time-picker/changelog.md
+2
-0
f-pop-date-time-picker.vue
...ponents/f-pop-date-time-picker/f-pop-date-time-picker.vue
+662
-0
package.json
uni_modules/f-pop-date-time-picker/package.json
+83
-0
readme.md
uni_modules/f-pop-date-time-picker/readme.md
+1
-0
No files found.
components/f-pop-date-time-picker/f-pop-date-time-picker.vue
0 → 100644
View file @
c2fa0fa3
This diff is collapsed.
Click to expand it.
pages/index/index.vue
View file @
c2fa0fa3
...
...
@@ -4,6 +4,7 @@
<button
@
click=
"showPopTop"
>
f-pop-top
</button>
<button
@
click=
"showPopCenter"
>
f-pop-center
</button>
<button
@
click=
"showPopBottom"
>
f-pop-bottom
</button>
<button
@
click=
"showPopDatetiemPicker"
>
f-pop-date-time-picker
</button>
<f-pop
position=
"top"
:isShow=
"isShowPopTop"
@
dismiss=
"onPopDismiss"
>
<template
#
top
>
<view
class=
"flex-row row-center-h"
>
...
...
@@ -25,6 +26,8 @@
</view>
</
template
>
</f-pop>
<f-pop-date-time-picker
:isShow=
"isShowPopDatetimePicker"
mode=
"date"
returnType=
"yyyy-MM-dd"
@
change=
"onPopDatetimePickerChange"
@
dismiss=
"onPopDatatimePickerDismiss"
/>
<f-image-01></f-image-01>
<f-text-01
:ui=
"uiAddBtn"
></f-text-01>
<view
style=
"display: block; width: 100%;"
>
...
...
@@ -55,6 +58,7 @@
isShowPopTop
:
false
,
isShowPopCenter
:
false
,
isShowPopBottom
:
false
,
isShowPopDatetimePicker
:
false
,
style
:
{},
statusViewUI
:
{
isShowStatusView
:
true
,
...
...
@@ -109,22 +113,29 @@
},
methods
:
{
showPopTop
()
{
console
.
log
(
"top"
);
this
.
isShowPopTop
=
true
},
showPopCenter
()
{
console
.
log
(
"center"
);
this
.
isShowPopCenter
=
true
},
showPopBottom
()
{
console
.
log
(
"bottom"
);
this
.
isShowPopBottom
=
true
},
showPopDatetiemPicker
()
{
this
.
isShowPopDatetimePicker
=
true
},
onPopDismiss
()
{
this
.
isShowPopTop
=
false
this
.
isShowPopCenter
=
false
this
.
isShowPopBottom
=
false
},
onPopDatatimePickerDismiss
()
{
this
.
isShowPopDatetimePicker
=
false
},
onPopDatetimePickerChange
(
res
)
{
console
.
log
(
'onPopDatetimePickerChange res: '
,
res
);
this
.
onPopDatatimePickerDismiss
()
},
styleInit
()
{
this
.
style
=
{
paddingBottom
:
ui
.
appUI
.
saftBottom
+
"px"
...
...
uni_modules/f-pop-date-time-picker/changelog.md
0 → 100644
View file @
c2fa0fa3
## 1.0.0(2024-05-30)
1.
0.0
uni_modules/f-pop-date-time-picker/components/f-pop-date-time-picker/f-pop-date-time-picker.vue
0 → 100644
View file @
c2fa0fa3
This diff is collapsed.
Click to expand it.
uni_modules/f-pop-date-time-picker/package.json
0 → 100644
View file @
c2fa0fa3
{
"id"
:
"f-pop-date-time-picker"
,
"displayName"
:
"f-pop-date-time-picker"
,
"version"
:
"1.0.0"
,
"description"
:
"日期、时间 选择弹框"
,
"keywords"
:
[
"date-time-picker"
],
"repository"
:
"http://git.guoguodz.com/tangfh/fashion-ui.git"
,
"engines"
:
{
"HBuilderX"
:
"^3.1.0"
},
"dcloudext"
:
{
"type"
:
"component-vue"
,
"sale"
:
{
"regular"
:
{
"price"
:
"0.00"
},
"sourcecode"
:
{
"price"
:
"0.00"
}
},
"contact"
:
{
"qq"
:
""
},
"declaration"
:
{
"ads"
:
"无"
,
"data"
:
"插件不采集任何数据"
,
"permissions"
:
"无"
},
"npmurl"
:
""
},
"uni_modules"
:
{
"dependencies"
:
[],
"encrypt"
:
[],
"platforms"
:
{
"cloud"
:
{
"tcb"
:
"y"
,
"aliyun"
:
"y"
,
"alipay"
:
"y"
},
"client"
:
{
"Vue"
:
{
"vue2"
:
"y"
,
"vue3"
:
"y"
},
"App"
:
{
"app-vue"
:
"u"
,
"app-nvue"
:
"u"
,
"app-uvue"
:
"u"
},
"H5-mobile"
:
{
"Safari"
:
"u"
,
"Android Browser"
:
"u"
,
"微信浏览器(Android)"
:
"u"
,
"QQ浏览器(Android)"
:
"u"
},
"H5-pc"
:
{
"Chrome"
:
"u"
,
"IE"
:
"u"
,
"Edge"
:
"u"
,
"Firefox"
:
"u"
,
"Safari"
:
"u"
},
"小程序"
:
{
"微信"
:
"y"
,
"阿里"
:
"u"
,
"百度"
:
"u"
,
"字节跳动"
:
"u"
,
"QQ"
:
"u"
,
"钉钉"
:
"u"
,
"快手"
:
"u"
,
"飞书"
:
"u"
,
"京东"
:
"u"
},
"快应用"
:
{
"华为"
:
"u"
,
"联盟"
:
"u"
}
}
}
}
}
\ No newline at end of file
uni_modules/f-pop-date-time-picker/readme.md
0 → 100644
View file @
c2fa0fa3
# f-pop-date-time-picker
\ No newline at end of file
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