123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798 |
- "use strict";
- const common_vendor = require("../../../../common/vendor.js");
- const uni_modules_uniDatetimePicker_components_uniDatetimePicker_i18n_index = require("./i18n/index.js");
- const calendar = () => "./calendar.js";
- const timePicker = () => "./time-picker.js";
- const {
- t
- } = common_vendor.initVueI18n(uni_modules_uniDatetimePicker_components_uniDatetimePicker_i18n_index.messages);
- const _sfc_main = {
- name: "UniDatetimePicker",
- components: {
- calendar,
- timePicker
- },
- data() {
- return {
- isRange: false,
- hasTime: false,
- mobileRange: false,
- // 单选
- singleVal: "",
- tempSingleDate: "",
- defSingleDate: "",
- time: "",
- // 范围选
- caleRange: {
- startDate: "",
- startTime: "",
- endDate: "",
- endTime: ""
- },
- range: {
- startDate: "",
- // startTime: '',
- endDate: ""
- // endTime: ''
- },
- tempRange: {
- startDate: "",
- startTime: "",
- endDate: "",
- endTime: ""
- },
- // 左右日历同步数据
- startMultipleStatus: {
- before: "",
- after: "",
- data: [],
- fulldate: ""
- },
- endMultipleStatus: {
- before: "",
- after: "",
- data: [],
- fulldate: ""
- },
- visible: false,
- popup: false,
- popover: null,
- isEmitValue: false,
- isPhone: false,
- isFirstShow: true
- };
- },
- props: {
- type: {
- type: String,
- default: "datetime"
- },
- value: {
- type: [String, Number, Array, Date],
- default: ""
- },
- modelValue: {
- type: [String, Number, Array, Date],
- default: ""
- },
- start: {
- type: [Number, String],
- default: ""
- },
- end: {
- type: [Number, String],
- default: ""
- },
- returnType: {
- type: String,
- default: "string"
- },
- placeholder: {
- type: String,
- default: ""
- },
- startPlaceholder: {
- type: String,
- default: ""
- },
- endPlaceholder: {
- type: String,
- default: ""
- },
- rangeSeparator: {
- type: String,
- default: "-"
- },
- border: {
- type: [Boolean],
- default: true
- },
- disabled: {
- type: [Boolean],
- default: false
- },
- clearIcon: {
- type: [Boolean],
- default: true
- },
- hideSecond: {
- type: [Boolean],
- default: false
- }
- },
- watch: {
- type: {
- immediate: true,
- handler(newVal, oldVal) {
- if (newVal.indexOf("time") !== -1) {
- this.hasTime = true;
- } else {
- this.hasTime = false;
- }
- if (newVal.indexOf("range") !== -1) {
- this.isRange = true;
- } else {
- this.isRange = false;
- }
- }
- },
- modelValue: {
- immediate: true,
- handler(newVal, oldVal) {
- if (this.isEmitValue) {
- this.isEmitValue = false;
- return;
- }
- this.initPicker(newVal);
- }
- },
- start: {
- immediate: true,
- handler(newVal, oldVal) {
- if (!newVal)
- return;
- const {
- defDate,
- defTime
- } = this.parseDate(newVal);
- this.caleRange.startDate = defDate;
- if (this.hasTime) {
- this.caleRange.startTime = defTime;
- }
- }
- },
- end: {
- immediate: true,
- handler(newVal, oldVal) {
- if (!newVal)
- return;
- const {
- defDate,
- defTime
- } = this.parseDate(newVal);
- this.caleRange.endDate = defDate;
- if (this.hasTime) {
- this.caleRange.endTime = defTime;
- }
- }
- }
- },
- computed: {
- reactStartTime() {
- const activeDate = this.isRange ? this.tempRange.startDate : this.tempSingleDate;
- const res = activeDate === this.caleRange.startDate ? this.caleRange.startTime : "";
- return res;
- },
- reactEndTime() {
- const activeDate = this.isRange ? this.tempRange.endDate : this.tempSingleDate;
- const res = activeDate === this.caleRange.endDate ? this.caleRange.endTime : "";
- return res;
- },
- reactMobDefTime() {
- const times = {
- start: this.tempRange.startTime,
- end: this.tempRange.endTime
- };
- return this.isRange ? times : this.time;
- },
- mobSelectableTime() {
- return {
- start: this.caleRange.startTime,
- end: this.caleRange.endTime
- };
- },
- datePopupWidth() {
- return this.isRange ? 653 : 301;
- },
- /**
- * for i18n
- */
- singlePlaceholderText() {
- return this.placeholder || (this.type === "date" ? this.selectDateText : t(
- "uni-datetime-picker.selectDateTime"
- ));
- },
- startPlaceholderText() {
- return this.startPlaceholder || this.startDateText;
- },
- endPlaceholderText() {
- return this.endPlaceholder || this.endDateText;
- },
- selectDateText() {
- return t("uni-datetime-picker.selectDate");
- },
- selectTimeText() {
- return t("uni-datetime-picker.selectTime");
- },
- startDateText() {
- return this.startPlaceholder || t("uni-datetime-picker.startDate");
- },
- startTimeText() {
- return t("uni-datetime-picker.startTime");
- },
- endDateText() {
- return this.endPlaceholder || t("uni-datetime-picker.endDate");
- },
- endTimeText() {
- return t("uni-datetime-picker.endTime");
- },
- okText() {
- return t("uni-datetime-picker.ok");
- },
- clearText() {
- return t("uni-datetime-picker.clear");
- },
- showClearIcon() {
- const {
- clearIcon,
- disabled,
- singleVal,
- range
- } = this;
- const bool = clearIcon && !disabled && (singleVal || range.startDate && range.endDate);
- return bool;
- }
- },
- created() {
- this.form = this.getForm("uniForms");
- this.formItem = this.getForm("uniFormsItem");
- },
- mounted() {
- this.platform();
- },
- methods: {
- /**
- * 获取父元素实例
- */
- getForm(name = "uniForms") {
- let parent = this.$parent;
- let parentName = parent.$options.name;
- while (parentName !== name) {
- parent = parent.$parent;
- if (!parent)
- return false;
- parentName = parent.$options.name;
- }
- return parent;
- },
- initPicker(newVal) {
- if (!newVal || Array.isArray(newVal) && !newVal.length) {
- this.$nextTick(() => {
- this.clear(false);
- });
- return;
- }
- if (!Array.isArray(newVal) && !this.isRange) {
- const {
- defDate,
- defTime
- } = this.parseDate(newVal);
- this.singleVal = defDate;
- this.tempSingleDate = defDate;
- this.defSingleDate = defDate;
- if (this.hasTime) {
- this.singleVal = defDate + " " + defTime;
- this.time = defTime;
- }
- } else {
- const [before, after] = newVal;
- if (!before && !after)
- return;
- const defBefore = this.parseDate(before);
- const defAfter = this.parseDate(after);
- const startDate = defBefore.defDate;
- const endDate = defAfter.defDate;
- this.range.startDate = this.tempRange.startDate = startDate;
- this.range.endDate = this.tempRange.endDate = endDate;
- if (this.hasTime) {
- this.range.startDate = defBefore.defDate + " " + defBefore.defTime;
- this.range.endDate = defAfter.defDate + " " + defAfter.defTime;
- this.tempRange.startTime = defBefore.defTime;
- this.tempRange.endTime = defAfter.defTime;
- }
- const defaultRange = {
- before: defBefore.defDate,
- after: defAfter.defDate
- };
- this.startMultipleStatus = Object.assign({}, this.startMultipleStatus, defaultRange, {
- which: "right"
- });
- this.endMultipleStatus = Object.assign({}, this.endMultipleStatus, defaultRange, {
- which: "left"
- });
- }
- },
- updateLeftCale(e) {
- const left = this.$refs.left;
- left.cale.setHoverMultiple(e.after);
- left.setDate(this.$refs.left.nowDate.fullDate);
- },
- updateRightCale(e) {
- const right = this.$refs.right;
- right.cale.setHoverMultiple(e.after);
- right.setDate(this.$refs.right.nowDate.fullDate);
- },
- platform() {
- const systemInfo = common_vendor.index.getSystemInfoSync();
- this.isPhone = systemInfo.windowWidth <= 500;
- this.windowWidth = systemInfo.windowWidth;
- },
- show(event) {
- if (this.disabled) {
- return;
- }
- this.platform();
- if (this.isPhone) {
- this.$refs.mobile.open();
- return;
- }
- this.popover = {
- top: "10px"
- };
- const dateEditor = common_vendor.index.createSelectorQuery().in(this).select(".uni-date-editor");
- dateEditor.boundingClientRect((rect) => {
- if (this.windowWidth - rect.left < this.datePopupWidth) {
- this.popover.right = 0;
- }
- }).exec();
- setTimeout(() => {
- this.popup = !this.popup;
- if (!this.isPhone && this.isRange && this.isFirstShow) {
- this.isFirstShow = false;
- const {
- startDate,
- endDate
- } = this.range;
- if (startDate && endDate) {
- if (this.diffDate(startDate, endDate) < 30) {
- this.$refs.right.next();
- }
- } else {
- this.$refs.right.next();
- this.$refs.right.cale.lastHover = false;
- }
- }
- }, 50);
- },
- close() {
- setTimeout(() => {
- this.popup = false;
- this.$emit("maskClick", this.value);
- }, 20);
- },
- setEmit(value) {
- if (this.returnType === "timestamp" || this.returnType === "date") {
- if (!Array.isArray(value)) {
- if (!this.hasTime) {
- value = value + " 00:00:00";
- }
- value = this.createTimestamp(value);
- if (this.returnType === "date") {
- value = new Date(value);
- }
- } else {
- if (!this.hasTime) {
- value[0] = value[0] + " 00:00:00";
- value[1] = value[1] + " 00:00:00";
- }
- value[0] = this.createTimestamp(value[0]);
- value[1] = this.createTimestamp(value[1]);
- if (this.returnType === "date") {
- value[0] = new Date(value[0]);
- value[1] = new Date(value[1]);
- }
- }
- }
- this.formItem && this.formItem.setValue(value);
- this.$emit("change", value);
- this.$emit("input", value);
- this.$emit("update:modelValue", value);
- this.isEmitValue = true;
- },
- createTimestamp(date) {
- date = this.fixIosDateFormat(date);
- return Date.parse(new Date(date));
- },
- singleChange(e) {
- this.tempSingleDate = e.fulldate;
- if (this.hasTime)
- return;
- this.confirmSingleChange();
- },
- confirmSingleChange() {
- if (!this.tempSingleDate) {
- this.popup = false;
- return;
- }
- if (this.hasTime) {
- this.singleVal = this.tempSingleDate + " " + (this.time ? this.time : "00:00:00");
- } else {
- this.singleVal = this.tempSingleDate;
- }
- this.setEmit(this.singleVal);
- this.popup = false;
- },
- leftChange(e) {
- const {
- before,
- after
- } = e.range;
- this.rangeChange(before, after);
- const obj = {
- before: e.range.before,
- after: e.range.after,
- data: e.range.data,
- fulldate: e.fulldate
- };
- this.startMultipleStatus = Object.assign({}, this.startMultipleStatus, obj);
- },
- rightChange(e) {
- const {
- before,
- after
- } = e.range;
- this.rangeChange(before, after);
- const obj = {
- before: e.range.before,
- after: e.range.after,
- data: e.range.data,
- fulldate: e.fulldate
- };
- this.endMultipleStatus = Object.assign({}, this.endMultipleStatus, obj);
- },
- mobileChange(e) {
- if (this.isRange) {
- const {
- before,
- after
- } = e.range;
- this.handleStartAndEnd(before, after, true);
- if (this.hasTime) {
- const {
- startTime,
- endTime
- } = e.timeRange;
- this.tempRange.startTime = startTime;
- this.tempRange.endTime = endTime;
- }
- this.confirmRangeChange();
- } else {
- if (this.hasTime) {
- this.singleVal = e.fulldate + " " + e.time;
- } else {
- this.singleVal = e.fulldate;
- }
- this.setEmit(this.singleVal);
- }
- this.$refs.mobile.close();
- },
- rangeChange(before, after) {
- if (!(before && after))
- return;
- this.handleStartAndEnd(before, after, true);
- if (this.hasTime)
- return;
- this.confirmRangeChange();
- },
- confirmRangeChange() {
- if (!this.tempRange.startDate && !this.tempRange.endDate) {
- this.popup = false;
- return;
- }
- let start, end;
- if (!this.hasTime) {
- start = this.range.startDate = this.tempRange.startDate;
- end = this.range.endDate = this.tempRange.endDate;
- } else {
- start = this.range.startDate = this.tempRange.startDate + " " + (this.tempRange.startTime ? this.tempRange.startTime : "00:00:00");
- end = this.range.endDate = this.tempRange.endDate + " " + (this.tempRange.endTime ? this.tempRange.endTime : "00:00:00");
- }
- const displayRange = [start, end];
- this.setEmit(displayRange);
- this.popup = false;
- },
- handleStartAndEnd(before, after, temp = false) {
- if (!(before && after))
- return;
- const type = temp ? "tempRange" : "range";
- if (this.dateCompare(before, after)) {
- this[type].startDate = before;
- this[type].endDate = after;
- } else {
- this[type].startDate = after;
- this[type].endDate = before;
- }
- },
- /**
- * 比较时间大小
- */
- dateCompare(startDate, endDate) {
- startDate = new Date(startDate.replace("-", "/").replace("-", "/"));
- endDate = new Date(endDate.replace("-", "/").replace("-", "/"));
- if (startDate <= endDate) {
- return true;
- } else {
- return false;
- }
- },
- /**
- * 比较时间差
- */
- diffDate(startDate, endDate) {
- startDate = new Date(startDate.replace("-", "/").replace("-", "/"));
- endDate = new Date(endDate.replace("-", "/").replace("-", "/"));
- const diff = (endDate - startDate) / (24 * 60 * 60 * 1e3);
- return Math.abs(diff);
- },
- clear(needEmit = true) {
- if (!this.isRange) {
- this.singleVal = "";
- this.tempSingleDate = "";
- this.time = "";
- if (this.isPhone) {
- this.$refs.mobile && this.$refs.mobile.clearCalender();
- } else {
- this.$refs.pcSingle && this.$refs.pcSingle.clearCalender();
- }
- if (needEmit) {
- this.formItem && this.formItem.setValue("");
- this.$emit("change", "");
- this.$emit("input", "");
- this.$emit("update:modelValue", "");
- }
- } else {
- this.range.startDate = "";
- this.range.endDate = "";
- this.tempRange.startDate = "";
- this.tempRange.startTime = "";
- this.tempRange.endDate = "";
- this.tempRange.endTime = "";
- if (this.isPhone) {
- this.$refs.mobile && this.$refs.mobile.clearCalender();
- } else {
- this.$refs.left && this.$refs.left.clearCalender();
- this.$refs.right && this.$refs.right.clearCalender();
- this.$refs.right && this.$refs.right.next();
- }
- if (needEmit) {
- this.formItem && this.formItem.setValue([]);
- this.$emit("change", []);
- this.$emit("input", []);
- this.$emit("update:modelValue", []);
- }
- }
- },
- parseDate(date) {
- date = this.fixIosDateFormat(date);
- const defVal = new Date(date);
- const year = defVal.getFullYear();
- const month = defVal.getMonth() + 1;
- const day = defVal.getDate();
- const hour = defVal.getHours();
- const minute = defVal.getMinutes();
- const second = defVal.getSeconds();
- const defDate = year + "-" + this.lessTen(month) + "-" + this.lessTen(day);
- const defTime = this.lessTen(hour) + ":" + this.lessTen(minute) + (this.hideSecond ? "" : ":" + this.lessTen(second));
- return {
- defDate,
- defTime
- };
- },
- lessTen(item) {
- return item < 10 ? "0" + item : item;
- },
- //兼容 iOS、safari 日期格式
- fixIosDateFormat(value) {
- if (typeof value === "string") {
- value = value.replace(/-/g, "/");
- }
- return value;
- },
- leftMonthSwitch(e) {
- },
- rightMonthSwitch(e) {
- }
- }
- };
- if (!Array) {
- const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
- const _component_time_picker = common_vendor.resolveComponent("time-picker");
- const _component_calendar = common_vendor.resolveComponent("calendar");
- (_easycom_uni_icons2 + _component_time_picker + _component_calendar)();
- }
- const _easycom_uni_icons = () => "../../../uni-icons/components/uni-icons/uni-icons.js";
- if (!Math) {
- _easycom_uni_icons();
- }
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
- return common_vendor.e({
- a: !$data.isRange
- }, !$data.isRange ? {
- b: common_vendor.p({
- type: "calendar",
- color: "#e1e1e1",
- size: "22"
- }),
- c: $options.singlePlaceholderText,
- d: $data.singleVal,
- e: common_vendor.o(($event) => $data.singleVal = $event.detail.value)
- } : {
- f: common_vendor.p({
- type: "calendar",
- color: "#e1e1e1",
- size: "22"
- }),
- g: $options.startPlaceholderText,
- h: $data.range.startDate,
- i: common_vendor.o(($event) => $data.range.startDate = $event.detail.value),
- j: common_vendor.t($props.rangeSeparator),
- k: $options.endPlaceholderText,
- l: $data.range.endDate,
- m: common_vendor.o(($event) => $data.range.endDate = $event.detail.value)
- }, {
- n: $options.showClearIcon
- }, $options.showClearIcon ? {
- o: common_vendor.p({
- type: "clear",
- color: "#e1e1e1",
- size: "18"
- }),
- p: common_vendor.o((...args) => $options.clear && $options.clear(...args))
- } : {}, {
- q: $props.disabled ? 1 : "",
- r: $props.border ? 1 : "",
- s: common_vendor.o((...args) => $options.show && $options.show(...args)),
- t: $data.popup,
- v: common_vendor.o((...args) => $options.close && $options.close(...args)),
- w: !$data.isPhone
- }, !$data.isPhone ? common_vendor.e({
- x: !$data.isRange
- }, !$data.isRange ? common_vendor.e({
- y: $data.hasTime
- }, $data.hasTime ? {
- z: $options.selectDateText,
- A: $data.tempSingleDate,
- B: common_vendor.o(($event) => $data.tempSingleDate = $event.detail.value),
- C: $options.selectTimeText,
- D: !$data.tempSingleDate,
- E: $data.time,
- F: common_vendor.o(($event) => $data.time = $event.detail.value),
- G: common_vendor.o(($event) => $data.time = $event),
- H: common_vendor.p({
- type: "time",
- border: false,
- disabled: !$data.tempSingleDate,
- start: $options.reactStartTime,
- end: $options.reactEndTime,
- hideSecond: $props.hideSecond,
- modelValue: $data.time
- })
- } : {}, {
- I: common_vendor.sr("pcSingle", "2ebed8e0-4"),
- J: common_vendor.o($options.singleChange),
- K: common_vendor.p({
- showMonth: false,
- ["start-date"]: $data.caleRange.startDate,
- ["end-date"]: $data.caleRange.endDate,
- date: $data.defSingleDate
- }),
- L: $data.hasTime
- }, $data.hasTime ? {
- M: common_vendor.t($options.okText),
- N: common_vendor.o((...args) => $options.confirmSingleChange && $options.confirmSingleChange(...args))
- } : {}, {
- O: common_vendor.s($data.popover)
- }) : common_vendor.e({
- P: $data.hasTime
- }, $data.hasTime ? {
- Q: $options.startDateText,
- R: $data.tempRange.startDate,
- S: common_vendor.o(($event) => $data.tempRange.startDate = $event.detail.value),
- T: $options.startTimeText,
- U: !$data.tempRange.startDate,
- V: $data.tempRange.startTime,
- W: common_vendor.o(($event) => $data.tempRange.startTime = $event.detail.value),
- X: common_vendor.o(($event) => $data.tempRange.startTime = $event),
- Y: common_vendor.p({
- type: "time",
- start: $options.reactStartTime,
- border: false,
- disabled: !$data.tempRange.startDate,
- hideSecond: $props.hideSecond,
- modelValue: $data.tempRange.startTime
- }),
- Z: common_vendor.p({
- type: "arrowthinright",
- color: "#999"
- }),
- aa: $options.endDateText,
- ab: $data.tempRange.endDate,
- ac: common_vendor.o(($event) => $data.tempRange.endDate = $event.detail.value),
- ad: $options.endTimeText,
- ae: !$data.tempRange.endDate,
- af: $data.tempRange.endTime,
- ag: common_vendor.o(($event) => $data.tempRange.endTime = $event.detail.value),
- ah: common_vendor.o(($event) => $data.tempRange.endTime = $event),
- ai: common_vendor.p({
- type: "time",
- end: $options.reactEndTime,
- border: false,
- disabled: !$data.tempRange.endDate,
- hideSecond: $props.hideSecond,
- modelValue: $data.tempRange.endTime
- })
- } : {}, {
- aj: common_vendor.sr("left", "2ebed8e0-8"),
- ak: common_vendor.o($options.leftChange),
- al: common_vendor.o($options.updateRightCale),
- am: common_vendor.o($options.leftMonthSwitch),
- an: common_vendor.p({
- showMonth: false,
- ["start-date"]: $data.caleRange.startDate,
- ["end-date"]: $data.caleRange.endDate,
- range: true,
- pleStatus: $data.endMultipleStatus
- }),
- ao: common_vendor.sr("right", "2ebed8e0-9"),
- ap: common_vendor.o($options.rightChange),
- aq: common_vendor.o($options.updateLeftCale),
- ar: common_vendor.o($options.rightMonthSwitch),
- as: common_vendor.p({
- showMonth: false,
- ["start-date"]: $data.caleRange.startDate,
- ["end-date"]: $data.caleRange.endDate,
- range: true,
- pleStatus: $data.startMultipleStatus
- }),
- at: $data.hasTime
- }, $data.hasTime ? {
- av: common_vendor.t($options.clearText),
- aw: common_vendor.o((...args) => $options.clear && $options.clear(...args)),
- ax: common_vendor.t($options.okText),
- ay: common_vendor.o((...args) => $options.confirmRangeChange && $options.confirmRangeChange(...args))
- } : {}, {
- az: common_vendor.s($data.popover)
- }), {
- aA: $data.popup
- }) : {}, {
- aB: common_vendor.sr("mobile", "2ebed8e0-10"),
- aC: $data.isPhone,
- aD: common_vendor.o($options.mobileChange),
- aE: common_vendor.p({
- clearDate: false,
- date: $data.defSingleDate,
- defTime: $options.reactMobDefTime,
- ["start-date"]: $data.caleRange.startDate,
- ["end-date"]: $data.caleRange.endDate,
- selectableTimes: $options.mobSelectableTime,
- pleStatus: $data.endMultipleStatus,
- showMonth: false,
- range: $data.isRange,
- typeHasTime: $data.hasTime,
- insert: false,
- hideSecond: $props.hideSecond
- })
- });
- }
- const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-app/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue"]]);
- wx.createComponent(Component);
|