Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么获取选中之后的时分秒?谢谢大佬 #92

Closed
yyccQQu opened this issue May 28, 2019 · 1 comment
Closed

怎么获取选中之后的时分秒?谢谢大佬 #92

yyccQQu opened this issue May 28, 2019 · 1 comment

Comments

@yyccQQu
Copy link

yyccQQu commented May 28, 2019

<div class="jeitem">
                    <div class="jeinpbox" on-click="openDate('#etime','YYYY-MM-DD hh:mm:ss')">
                        <input type="text" class="jeinput" id="etime" placeholder="结束时间">
                        <div class="icons-jedate jebtns"></div>
                    </div>
                </div>
openDate(dom, format) {
            jeDate(dom, {
                trigger: false,
                format: format,
                theme: {
                    bgcolor: "#5985f7",
                    color: "#ffffff",
                    pnColor: "#5985f7"
                },
                donefun: function (obj) {
                    console.log(jeDate.getLunar(obj.date[0]));
                }
            });
        }

image

@yyccQQu yyccQQu closed this as completed May 28, 2019
@yyccQQu yyccQQu reopened this May 28, 2019
@yyccQQu
Copy link
Author

yyccQQu commented May 28, 2019

@yyccQQu yyccQQu closed this as completed May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant