@kyfe/fms-vue2-components 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/css/fms-ks-clamp-text.css +1 -0
- package/dist/assets/css/fms-ks-components.css +1 -0
- package/dist/assets/css/fms-ks-popover.css +1 -0
- package/dist/assets/css/fms-ks-search-tips-new.css +1 -0
- package/dist/assets/css/fms-ks-search-tips.css +1 -0
- package/dist/assets/css/fms-ks-select-box.css +1 -0
- package/dist/assets/css/fms-ks-select.css +1 -0
- package/dist/date-picker-bottom.17e75dc0.js +45 -0
- package/dist/date-picker-dropdown.1d8e9f00.js +34 -0
- package/dist/date-picker-right.b939e886.js +23 -0
- package/dist/date-picker-top.c38046f7.js +23 -0
- package/dist/date-range-select.647edaf6.js +69 -0
- package/dist/date-select.96eb3a9d.js +60 -0
- package/dist/date-week-month.169b98bc.js +57 -0
- package/dist/datetime-popup/index.js +411 -0
- package/dist/filter.c93f4ddb.js +45 -0
- package/dist/fms-copy-box/index.js +1 -1
- package/dist/fms-ks-block-title/index.js +38 -0
- package/dist/fms-ks-block-title/style.css +1 -0
- package/dist/fms-ks-clamp-text/index.js +9 -0
- package/dist/fms-ks-clamp-text.24eb5e8d.js +53 -0
- package/dist/fms-ks-components/index.js +9 -0
- package/dist/fms-ks-components.a5d9329b.js +4392 -0
- package/dist/fms-ks-decrypt/index.js +2 -2
- package/dist/fms-ks-decrypt.2f88e659.js +312 -0
- package/dist/fms-ks-file-upload/index.js +32 -31
- package/dist/fms-ks-file-upload/style.css +1 -1
- package/dist/fms-ks-form-grid/index.js +101 -0
- package/dist/fms-ks-form-grid/style.css +1 -0
- package/dist/fms-ks-more-lines/index.js +31 -0
- package/dist/fms-ks-more-lines/style.css +1 -0
- package/dist/fms-ks-page-popup/index.js +68 -0
- package/dist/fms-ks-page-popup/style.css +1 -0
- package/dist/fms-ks-picker/index.js +9 -0
- package/dist/fms-ks-picker.766b55f9.js +61 -0
- package/dist/fms-ks-popover/index.js +9 -0
- package/dist/fms-ks-popover.55ab4b82.js +95 -0
- package/dist/fms-ks-search-tips/index.js +9 -0
- package/dist/fms-ks-search-tips-new/index.js +9 -0
- package/dist/fms-ks-search-tips-new.7d08f710.js +125 -0
- package/dist/fms-ks-search-tips.d36859c3.js +142 -0
- package/dist/fms-ks-select/index.js +9 -0
- package/dist/fms-ks-select-box/index.js +9 -0
- package/dist/fms-ks-select-box.a00f0f08.js +43 -0
- package/dist/fms-ks-select.59416fd8.js +157 -0
- package/dist/fms-ks-warn-drawer/index.js +37 -0
- package/dist/fms-ks-warn-drawer/style.css +1 -0
- package/dist/fms-scroll-list/index.js +3 -1
- package/dist/index.js +30 -30
- package/dist/mixin.f4bc60f0.js +59 -0
- package/dist/month-range-select.374653da.js +97 -0
- package/dist/month-select.30ae7335.js +71 -0
- package/dist/oa-datetime-picker-new/style.css +1 -0
- package/dist/quarter-select.b6256880.js +73 -0
- package/dist/utils.159fba19.js +64 -0
- package/dist/week-select.27efca5c.js +70 -0
- package/package.json +31 -31
- package/src/assets/images/attachment/icon_default.svg +23 -0
- package/src/assets/images/attachment/icon_default_new.png +0 -0
- package/src/assets/images/attachment/icon_excel.svg +20 -0
- package/src/assets/images/attachment/icon_excel_new.png +0 -0
- package/src/assets/images/attachment/icon_file.png +0 -0
- package/src/assets/images/attachment/icon_pdf_new.png +0 -0
- package/src/assets/images/attachment/icon_ppt.svg +20 -0
- package/src/assets/images/attachment/icon_ppt_new.png +0 -0
- package/src/assets/images/attachment/icon_preview_file.png +0 -0
- package/src/assets/images/attachment/icon_txt.png +0 -0
- package/src/assets/images/attachment/icon_word.svg +19 -0
- package/src/assets/images/attachment/icon_word_new.png +0 -0
- package/src/assets/images/attachment/icon_xmind.png +0 -0
- package/src/assets/images/icon-arrow.png +0 -0
- package/src/assets/images/icon-forewarning.svg +1 -0
- package/src/components/date-picker/index.vue +205 -0
- package/src/components/datetime-picker-general/index.vue +161 -0
- package/src/components/datetime-popup/date-picker.js +217 -0
- package/src/components/datetime-popup/index.js +37 -0
- package/src/components/datetime-popup/index.vue +111 -0
- package/src/components/datetime-popup/mixin.js +125 -0
- package/src/components/datetime-popup/time-picker.js +102 -0
- package/src/components/datetime-popup/utils.js +124 -0
- package/src/components/datetime-popup//347/244/272/344/276/213/345/233/276.png +0 -0
- package/src/components/decrypt/README.md +0 -0
- package/src/components/decrypt/index.vue +73 -0
- package/src/components/fms-ks-block-title/fms-ks-block-title.vue +75 -0
- package/src/components/fms-ks-block-title/index.js +7 -0
- package/src/components/fms-ks-block-title//346/240/207/351/242/230.md +0 -0
- package/src/components/fms-ks-clamp-text/fms-ks-clamp-text.vue +66 -0
- package/src/components/fms-ks-clamp-text/images/icon-clamp.png +0 -0
- package/src/components/fms-ks-clamp-text/index.js +7 -0
- package/src/components/fms-ks-clamp-text//346/226/207/346/234/254/346/224/266/350/265/267/345/261/225/345/274/200.md +0 -0
- package/src/components/fms-ks-components/fms-ks-components.vue +699 -0
- package/src/components/fms-ks-components/index.js +7 -0
- package/src/components/fms-ks-components/money-directive.js +73 -0
- package/src/components/fms-ks-components//350/241/250/345/215/225/351/205/215/347/275/256/347/273/204/344/273/266/350/257/264/346/230/216.md +10 -0
- package/src/components/fms-ks-file-upload/fms-ks-file-upload.vue +8 -1
- package/src/components/fms-ks-form-grid/fields-conversion.js +107 -0
- package/src/components/fms-ks-form-grid/fms-ks-form-grid.vue +127 -0
- package/src/components/fms-ks-form-grid/index.js +7 -0
- package/src/components/fms-ks-more-lines/fms-ks-more-lines.vue +108 -0
- package/src/components/fms-ks-more-lines/index.js +7 -0
- package/src/components/fms-ks-more-lines//346/233/264/345/244/232.md +0 -0
- package/src/components/fms-ks-page-popup/fms-ks-page-popup.vue +153 -0
- package/src/components/fms-ks-page-popup/index.js +7 -0
- package/src/components/fms-ks-page-popup//345/274/271/345/207/272/345/261/202.md +0 -0
- package/src/components/fms-ks-picker/fms-ks-picker.vue +67 -0
- package/src/components/fms-ks-picker/index.js +7 -0
- package/src/components/fms-ks-picker//351/200/211/346/213/251/345/274/271/345/207/272/345/261/202.md +0 -0
- package/src/components/fms-ks-popover/click-outside.js +68 -0
- package/src/components/fms-ks-popover/fms-ks-popover.vue +89 -0
- package/src/components/fms-ks-popover/index.js +7 -0
- package/src/components/fms-ks-popover//345/274/271/345/207/272/345/261/202.md +0 -0
- package/src/components/fms-ks-search-tips/fms-ks-search-tips.vue +296 -0
- package/src/components/fms-ks-search-tips/index.js +7 -0
- package/src/components/fms-ks-search-tips//350/277/234/347/250/213/346/220/234/347/264/242.md +118 -0
- package/src/components/fms-ks-search-tips-new/fms-ks-search-tips-new.vue +242 -0
- package/src/components/fms-ks-search-tips-new/index.js +7 -0
- package/src/components/fms-ks-search-tips-new/style.less +137 -0
- package/src/components/fms-ks-search-tips-new//350/277/234/347/250/213/346/220/234/347/264/242-/346/226/260.md +118 -0
- package/src/components/fms-ks-select/fms-ks-select.vue +421 -0
- package/src/components/fms-ks-select/index.js +7 -0
- package/src/components/fms-ks-select//351/200/211/346/213/251/346/241/206.md +0 -0
- package/src/components/fms-ks-select-box/fms-ks-select-box.vue +84 -0
- package/src/components/fms-ks-select-box/index.js +7 -0
- package/src/components/fms-ks-select-box//344/270/215/351/234/200/350/246/201popup/347/232/204select.md +0 -0
- package/src/components/fms-ks-warn-drawer/fms-ks-warn-drawer.vue +111 -0
- package/src/components/fms-ks-warn-drawer/index.js +7 -0
- package/src/components/fms-ks-warn-drawer//351/242/204/350/255/246/346/217/220/347/244/272.md +0 -0
- package/src/components/ks-decrypt/README.md +140 -0
- package/src/components/ks-decrypt/index.vue +155 -0
- package/src/components/ks-popover/index.vue +483 -0
- package/src/components/ks-popover/mixin.js +28 -0
- package/src/components/ks-popover/utils.js +60 -0
- package/src/components/oa-datetime-picker/index.vue +169 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/README.md +21 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/date-picker-bottom.vue +121 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/date-picker-dropdown.vue +78 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/date-picker-right.vue +86 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/date-picker-top.vue +82 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/date-picker.js +12 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/date-range-select.vue +106 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/date-select.vue +66 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/date-week-month.vue +131 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/index.js +39 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/mixin.js +85 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/month-range-select.vue +127 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/month-select.vue +87 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/quarter-select.vue +95 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/style.less +117 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/utils.js +109 -0
- package/src/components/oa-datetime-picker-new/components/date-picker/week-select.vue +100 -0
- package/src/components/oa-datetime-picker-new/index.vue +212 -0
- package/src/index.js +8 -2
- package/vite.config.js +12 -1
- package/dist/fms-ks-decrypt.bcc12f44.js +0 -335
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { c as s } from "./utils.159fba19.js";
|
|
2
|
+
import { n as c } from "./plugin-vue2_normalizer.ed7092a9.js";
|
|
3
|
+
import './oa-datetime-picker-new/style.css';const d = {
|
|
4
|
+
name: "week-select",
|
|
5
|
+
props: {
|
|
6
|
+
defaultValue: {
|
|
7
|
+
type: [Date, String, Number],
|
|
8
|
+
default: new Date()
|
|
9
|
+
},
|
|
10
|
+
yearRange: {
|
|
11
|
+
type: Array,
|
|
12
|
+
default: () => [new Date().getFullYear() - 2, new Date().getFullYear()]
|
|
13
|
+
},
|
|
14
|
+
horizontal: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !1
|
|
17
|
+
},
|
|
18
|
+
firstDayOfWeek: {
|
|
19
|
+
type: Number,
|
|
20
|
+
default: 1
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
data() {
|
|
24
|
+
return {
|
|
25
|
+
years: s(this.yearRange, this.firstDayOfWeek),
|
|
26
|
+
currentYear: null,
|
|
27
|
+
currentWeek: null,
|
|
28
|
+
currentStart: null,
|
|
29
|
+
currentEnd: null
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
methods: {
|
|
33
|
+
init() {
|
|
34
|
+
let r = new Date(this.defaultValue), e = r.getFullYear(), t = this.years.find((a) => a.year === e), n = t.weeks.findIndex((a) => +a.startDay <= +r && +a.endDay >= +r), l = t.weeks[n];
|
|
35
|
+
this.handleSelect(e, n + 1, l), this.scrollInto();
|
|
36
|
+
},
|
|
37
|
+
scrollInto() {
|
|
38
|
+
setTimeout(() => {
|
|
39
|
+
let r = this.$el.querySelector(".ks-week__selected-day");
|
|
40
|
+
this.$refs.body && (this.$refs.body.scrollTop = r ? r.getBoundingClientRect().top - 100 : 0);
|
|
41
|
+
}, 240);
|
|
42
|
+
},
|
|
43
|
+
handleSelect(r, e, t) {
|
|
44
|
+
this.currentYear = r, this.currentWeek = e, this.currentStart = t.startDay, this.currentEnd = t.endDay, this.$emit("select", { year: r, week: t, num: e });
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
var _ = function() {
|
|
49
|
+
var e = this, t = e._self._c;
|
|
50
|
+
return t("div", { ref: "body", staticClass: "van-calendar__body" }, e._l(e.years, function(n) {
|
|
51
|
+
return t("div", { key: n.year, staticClass: "van-calendar__month" }, [t("div", { staticClass: "van-calendar__month-title" }, [e._v(e._s(n.year) + "\u5E74")]), t("div", { staticClass: "van-calendar__days" }, e._l(n.weeks, function(l, a) {
|
|
52
|
+
return t("div", { key: a, staticClass: "van-calendar__day ks-week__day", class: { "ks-week__selected-day": n.year === e.currentYear && a + 1 === e.currentWeek }, on: { click: function(o) {
|
|
53
|
+
return e.handleSelect(n.year, a + 1, l);
|
|
54
|
+
} } }, [t("div", [e._v(e._s(String(a + 1).length > 1 ? a + 1 : "0" + (a + 1)) + "\u5468(" + e._s(l.startDayStr) + "~" + e._s(l.endDayStr) + ")")])]);
|
|
55
|
+
}), 0)]);
|
|
56
|
+
}), 0);
|
|
57
|
+
}, u = [], i = /* @__PURE__ */ c(
|
|
58
|
+
d,
|
|
59
|
+
_,
|
|
60
|
+
u,
|
|
61
|
+
!1,
|
|
62
|
+
null,
|
|
63
|
+
null,
|
|
64
|
+
null,
|
|
65
|
+
null
|
|
66
|
+
);
|
|
67
|
+
const h = i.exports;
|
|
68
|
+
export {
|
|
69
|
+
h as default
|
|
70
|
+
};
|
package/package.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@kyfe/fms-vue2-components",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/index.js",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"build": "vite build",
|
|
10
|
-
"dev:build": "npm run build && yalc publish && yalc link"
|
|
11
|
-
},
|
|
12
|
-
"keywords": [],
|
|
13
|
-
"author": "",
|
|
14
|
-
"license": "ISC",
|
|
15
|
-
"devDependencies": {
|
|
16
|
-
"@vitejs/plugin-vue2": "^1.1.2",
|
|
17
|
-
"@vitejs/plugin-vue2-jsx": "^1.1.1",
|
|
18
|
-
"vite": "3.2.10",
|
|
19
|
-
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
20
|
-
"vite-plugin-libcss": "^1.1.2"
|
|
21
|
-
},
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"@kyfe/decrypt": "^0.0.7",
|
|
24
|
-
"@kyfe/fms-utils": "
|
|
25
|
-
"dayjs": "^1.11.13",
|
|
26
|
-
"vant": "2.5.6"
|
|
27
|
-
},
|
|
28
|
-
"sideEffects": [
|
|
29
|
-
"**/*.css"
|
|
30
|
-
]
|
|
31
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@kyfe/fms-vue2-components",
|
|
3
|
+
"version": "0.0.5",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "vite build",
|
|
10
|
+
"dev:build": "npm run build && yalc publish && yalc link"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [],
|
|
13
|
+
"author": "",
|
|
14
|
+
"license": "ISC",
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"@vitejs/plugin-vue2": "^1.1.2",
|
|
17
|
+
"@vitejs/plugin-vue2-jsx": "^1.1.1",
|
|
18
|
+
"vite": "3.2.10",
|
|
19
|
+
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
20
|
+
"vite-plugin-libcss": "^1.1.2"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@kyfe/decrypt": "^0.0.7",
|
|
24
|
+
"@kyfe/fms-utils": "1.0.1",
|
|
25
|
+
"dayjs": "^1.11.13",
|
|
26
|
+
"vant": "2.5.6"
|
|
27
|
+
},
|
|
28
|
+
"sideEffects": [
|
|
29
|
+
"**/*.css"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="42px" height="42px" viewBox="0 0 42 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 62 (91390) - https://sketch.com -->
|
|
4
|
+
<title>icon_通用文件</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="页面-3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<g id="10通用申请-申请表单5已撤销" transform="translate(-47.000000, -1919.000000)" fill-rule="nonzero">
|
|
8
|
+
<g id="编组-9备份-2" transform="translate(0.000000, 1880.000000)">
|
|
9
|
+
<g id="icon_通用文件" transform="translate(47.000000, 39.000000)">
|
|
10
|
+
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="42" height="42"></rect>
|
|
11
|
+
<g id="PPT" transform="translate(3.000000, 1.000000)">
|
|
12
|
+
<path d="M36,9.67000003 L28.82,9.67000003 C27.7154305,9.67000003 26.82,8.77456952 26.82,7.67000002 L26.82,0 L2,0 C0.895430507,0 0,0.895430507 0,2 L0,38 C0.00223279535,38.5295769 0.214412225,39.0366497 0.590000016,39.41 C0.958779535,39.792325 1.4688337,40.0057519 2,40.0001134 L34,40.0001134 C35.1045695,40.0001134 36,39.1045695 36,38 L36,9.68000002 L36,9.67000003 Z" id="路径" fill="#978AF9"></path>
|
|
13
|
+
<g id="编组-10" transform="translate(9.000000, 12.000000)">
|
|
14
|
+
<path d="M8.7133758,7.36050955 C8.91974522,7.24585987 9.17197452,7.17707006 9.42420382,7.17707006 C9.67643312,7.17707006 9.92866242,7.24585987 10.1350318,7.36050955 L18.4127389,12.1528662 C18.6191083,12.2675159 18.7796178,12.5197452 18.7796178,12.7719745 C18.7796178,13.0242038 18.6420382,13.2764331 18.4127389,13.3910828 L10.066242,18.2292994 C9.85987261,18.343949 9.60764331,18.4127389 9.35541401,18.4127389 C9.10318471,18.4127389 8.85095541,18.343949 8.64458599,18.2292994 L0.366878981,13.4140127 C0.160509554,13.2993631 3.55271368e-15,13.0471338 3.55271368e-15,12.7949045 C3.55271368e-15,12.5426752 0.137579618,12.2904459 0.366878981,12.1757962 L8.7133758,7.36050955 L8.7133758,7.36050955 Z" id="路径" fill="#BAB0FF"></path>
|
|
15
|
+
<path d="M8.7133758,0.18343949 C8.91974522,0.0687898089 9.17197452,-2.39808173e-14 9.42420382,-2.39808173e-14 C9.67643312,-2.39808173e-14 9.92866242,0.0687898089 10.1350318,0.18343949 L18.4127389,4.97579618 C18.6191083,5.09044586 18.7796178,5.34267516 18.7796178,5.59490446 C18.7796178,5.84713376 18.6420382,6.09936306 18.4127389,6.21401274 L10.066242,11.0522293 C9.85987261,11.166879 9.60764331,11.2356688 9.35541401,11.2356688 C9.10318471,11.2356688 8.85095541,11.166879 8.64458599,11.0522293 L0.366878981,6.25987261 C0.160509554,6.14522293 1.42108547e-14,5.89299363 1.42108547e-14,5.64076433 C1.42108547e-14,5.38853503 0.137579618,5.13630573 0.366878981,5.02165605 L8.7133758,0.18343949 L8.7133758,0.18343949 Z" id="路径" fill="#FFFFFF"></path>
|
|
16
|
+
</g>
|
|
17
|
+
<path d="M36,9.67562498 L28.83,9.67562498 C27.7254305,9.67562498 26.83,8.78019451 26.83,7.67562502 L26.83,0.0156249844 L36,9.67562498 Z" id="路径" fill="#BAB0FF"></path>
|
|
18
|
+
</g>
|
|
19
|
+
</g>
|
|
20
|
+
</g>
|
|
21
|
+
</g>
|
|
22
|
+
</g>
|
|
23
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="42px" height="42px" viewBox="0 0 42 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 62 (91390) - https://sketch.com -->
|
|
4
|
+
<title>icon_excel</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="页面-3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<g id="10通用申请-申请表单支持附件显示" transform="translate(-47.000000, -1874.000000)" fill-rule="nonzero">
|
|
8
|
+
<g id="编组-9备份-2" transform="translate(0.000000, 1844.000000)">
|
|
9
|
+
<g id="icon_excel" transform="translate(47.000000, 30.000000)">
|
|
10
|
+
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="42" height="42"></rect>
|
|
11
|
+
<g id="PPT" transform="translate(3.000000, 1.000000)">
|
|
12
|
+
<path d="M36,9.67000003 L28.82,9.67000003 C27.7154305,9.67000003 26.82,8.77456952 26.82,7.67000002 L26.82,0 L2,0 C0.895430507,0 0,0.895430507 0,2 L0,38 C0.00223279535,38.5295769 0.214412225,39.0366497 0.590000016,39.41 C0.958779535,39.792325 1.4688337,40.0057519 2,40.0001134 L34,40.0001134 C35.1045695,40.0001134 36,39.1045695 36,38 L36,9.68000002 L36,9.67000003 Z" id="路径" fill="#5ACC9B"></path>
|
|
13
|
+
<polygon id="路径" fill="#FFFFFF" points="16.2308917 20.8073248 11.3582803 14 14.7261146 14 17.9148089 18.8726115 21.2468153 14 24.5071656 14 19.5270701 20.8073248 24.7579618 28.044586 21.3542994 28.044586 17.8431529 22.8853503 14.3320064 28.080414 11 28.080414"></polygon>
|
|
14
|
+
<path d="M36,9.67562498 L28.83,9.67562498 C27.7254305,9.67562498 26.83,8.78019451 26.83,7.67562502 L26.83,0.0156249844 L36,9.67562498 Z" id="路径" fill="#BDEBD7"></path>
|
|
15
|
+
</g>
|
|
16
|
+
</g>
|
|
17
|
+
</g>
|
|
18
|
+
</g>
|
|
19
|
+
</g>
|
|
20
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="42px" height="42px" viewBox="0 0 42 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 62 (91390) - https://sketch.com -->
|
|
4
|
+
<title>icon_ppt</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="页面-3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<g id="10通用申请-申请表单支持附件显示" transform="translate(-47.000000, -1670.000000)" fill-rule="nonzero">
|
|
8
|
+
<g id="编组-9" transform="translate(0.000000, 1640.000000)">
|
|
9
|
+
<g id="icon_ppt" transform="translate(47.000000, 30.000000)">
|
|
10
|
+
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="42" height="42"></rect>
|
|
11
|
+
<g id="PPT" transform="translate(3.000000, 1.000000)" fill="#F25B4C">
|
|
12
|
+
<path d="M21.8,17.775625 C21.8,19.475625 20.8,20.285625 18.8,20.315625 L15.65,20.315625 L15.65,15.405625 L18.77,15.405625 C20.76,15.455625 21.73,16.215625 21.8,17.775625 Z" id="路径"></path>
|
|
13
|
+
<path d="M36,9.68562502 L28.82,9.68562502 C27.7154305,9.68562502 26.82,8.79019451 26.82,7.685625 L26.82,0.0156249844 L2,0.0156249844 C0.895430507,0.0156249844 0,0.911055492 0,2.01562498 L0,38.015625 C0.00223279535,38.5452019 0.214412225,39.0522747 0.590000016,39.425625 C0.958779535,39.80795 1.4688337,40.0213769 2,40.0157383 L34,40.0157383 C35.1045695,40.0157383 36,39.1201945 36,38.015625 L36,9.695625 L36,9.68562502 Z M19.06,22.955625 L15.65,22.955625 L15.65,28.585625 L12.53,28.585625 L12.53,12.825625 L19.28,12.825625 C22.86,12.985625 24.78,14.615625 25,17.715625 C25,21.145625 22.94,22.895625 19.06,22.955625 Z" id="形状"></path>
|
|
14
|
+
<path d="M36,9.67562498 L28.83,9.67562498 C27.7254305,9.67562498 26.83,8.78019451 26.83,7.67562502 L26.83,0.0156249844 L36,9.67562498 Z" id="路径" opacity="0.6"></path>
|
|
15
|
+
</g>
|
|
16
|
+
</g>
|
|
17
|
+
</g>
|
|
18
|
+
</g>
|
|
19
|
+
</g>
|
|
20
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="42px" height="42px" viewBox="0 0 42 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 62 (91390) - https://sketch.com -->
|
|
4
|
+
<title>icon_word</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="页面-3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<g id="10通用申请-申请表单支持附件显示" transform="translate(-47.000000, -1772.000000)" fill-rule="nonzero">
|
|
8
|
+
<g id="编组-9备份" transform="translate(0.000000, 1742.000000)">
|
|
9
|
+
<g id="icon_word" transform="translate(47.000000, 30.000000)">
|
|
10
|
+
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="42" height="42"></rect>
|
|
11
|
+
<g id="PPT" transform="translate(3.000000, 1.000000)">
|
|
12
|
+
<path d="M26.82,0.0156249844 L26.82,7.685625 C26.82,8.79019451 27.7154305,9.68562502 28.82,9.68562502 L28.82,9.68562502 L36,9.68562502 L36,38.015625 C36,39.1201945 35.1045695,40.0157383 34,40.0157383 L34,40.0157383 L2,40.0157383 C1.4688337,40.0213769 0.958779535,39.80795 0.590000016,39.425625 C0.214412225,39.0522747 0.00223279535,38.5452019 0,38.015625 L0,38.015625 L0,2.01562498 C0,0.911055492 0.895430507,0.0156249844 2,0.0156249844 L2,0.0156249844 L26.82,0.0156249844 Z M11.2072929,14.0285714 L8.94375,14.0285714 L12.7234072,29.1142857 L14.7832928,29.1142857 L17.78535,18.0427428 L17.9211214,18.0427428 L20.9327786,29.1142857 L22.9830643,29.1142857 L26.7723214,14.0285714 L24.5087786,14.0285714 L21.9435214,25.5808 L21.80775,25.5808 L18.8632929,14.0285714 L16.8431786,14.0285714 L13.9186072,25.5808 L13.7828357,25.5808 L11.2072929,14.0285714 Z" id="形状" fill="#2C97FF"></path>
|
|
13
|
+
<path d="M36,9.67562498 L28.83,9.67562498 C27.7254305,9.67562498 26.83,8.78019451 26.83,7.67562502 L26.83,0.0156249844 L36,9.67562498 Z" id="路径" fill="#80C0FF"></path>
|
|
14
|
+
</g>
|
|
15
|
+
</g>
|
|
16
|
+
</g>
|
|
17
|
+
</g>
|
|
18
|
+
</g>
|
|
19
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="12" height="12.000244140625" viewBox="0 0 12 12.000244140625"><g><path d="M6.50335,0.405392C6.50335,0.180848,6.31453,0,6.08085,0C5.84718,0,5.65836,0.180861,5.65837,0.404183L5.65837,1.85214L6.50335,1.85214L6.50335,0.405392ZM3.27574,1.09094C3.16833,0.900369,2.92996,0.834833,2.74468,0.945285L2.74467,0.945285C2.55822,1.05693,2.4945,1.30211,2.60187,1.49389L3.31585,2.77073L3.99089,2.36899L3.27691,1.09214C3.27574,1.09214,3.27574,1.09094,3.27574,1.09094ZM9.56219,1.49519C9.66959,1.30342,9.60588,1.05702,9.41939,0.945369L9.41704,0.945369C9.23176,0.836137,8.99338,0.901673,8.88718,1.09344L8.1732,2.37028L8.84823,2.77203L9.56219,1.49519ZM2.05547,10.9366L2.05547,7.11387C2.05547,4.82722,3.85751,2.97266,6.08203,2.97266C8.30655,2.97266,10.1086,4.82723,10.1086,7.11387L10.1086,10.9366L11.4831,10.9366C11.7686,10.9366,12,11.1747,12,11.4684C12,11.7621,11.7686,12.0002,11.4831,12.0002L0.516867,12.0002C0.231404,12.0002,0,11.7621,0,11.4684C0,11.1747,0.231404,10.9366,0.516867,10.9366L2.05547,10.9366ZM11.7195,4.01866C11.9059,3.90701,11.9696,3.66061,11.8622,3.46886L11.8622,3.46883C11.8622,3.46762,11.8611,3.46762,11.8611,3.46642C11.7537,3.27586,11.5153,3.21033,11.33,3.32077L10.0932,4.05872L10.4827,4.75539L11.7195,4.01866ZM0.832871,3.32091C0.6464,3.21046,0.408018,3.27722,0.301814,3.469L0.301814,3.46898C0.194412,3.66074,0.258151,3.90714,0.444599,4.01758L1.68137,4.75676L2.0708,4.06008L0.834046,3.32213C0.834046,3.32091,0.832871,3.32091,0.832871,3.32091ZM4.38737,8.00557L6.37352,4.64111L5.9758,7.16446L7.56426,7.16446L5.57812,10.5289L5.97581,8.00557L4.38737,8.00557Z" fill-rule="evenodd" fill="#FD4948" fill-opacity="1"/></g></svg>
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="ksui-datatime">
|
|
3
|
+
<van-field readonly
|
|
4
|
+
name="datetimePicker"
|
|
5
|
+
input-align="right"
|
|
6
|
+
error-message-align="right"
|
|
7
|
+
:required="required"
|
|
8
|
+
:rules="[{ required: required, message: `请选择${label}` }]"
|
|
9
|
+
:value="value | date"
|
|
10
|
+
:label="label"
|
|
11
|
+
right-icon="arrow"
|
|
12
|
+
:placeholder="placeholder"
|
|
13
|
+
@click="show" />
|
|
14
|
+
|
|
15
|
+
<van-popup :value="showPicker"
|
|
16
|
+
position="bottom"
|
|
17
|
+
get-container="body"
|
|
18
|
+
@input="onInput">
|
|
19
|
+
<div class="ksui-datatime-header">
|
|
20
|
+
<span>{{ currentDate | date }}</span>
|
|
21
|
+
<div class="icon-box"
|
|
22
|
+
@click="onClose">
|
|
23
|
+
<van-icon name="cross" />
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
<datetime-picker ref="datetimePicker"
|
|
27
|
+
v-model="currentDate"
|
|
28
|
+
v-bind="$attrs"
|
|
29
|
+
:type="type"
|
|
30
|
+
:max-date="maxDate"
|
|
31
|
+
:min-date="minDate"
|
|
32
|
+
:formatter="formatter"
|
|
33
|
+
:showToolbar="false"
|
|
34
|
+
@change="onChange">
|
|
35
|
+
</datetime-picker>
|
|
36
|
+
<div class="ksui-datatime-footer">
|
|
37
|
+
<van-button type="primary"
|
|
38
|
+
@click="onConfirm"
|
|
39
|
+
size="large">确定</van-button>
|
|
40
|
+
</div>
|
|
41
|
+
</van-popup>
|
|
42
|
+
</div>
|
|
43
|
+
</template>
|
|
44
|
+
|
|
45
|
+
<script>
|
|
46
|
+
const currentYear = new Date().getFullYear()
|
|
47
|
+
|
|
48
|
+
import DatetimePicker from '../datetime-popup/index.js'
|
|
49
|
+
import moment from 'dayjs'
|
|
50
|
+
export default {
|
|
51
|
+
components: {
|
|
52
|
+
DatetimePicker
|
|
53
|
+
},
|
|
54
|
+
props: {
|
|
55
|
+
type: {
|
|
56
|
+
type: String,
|
|
57
|
+
default: 'datetime'
|
|
58
|
+
},
|
|
59
|
+
minDate: {
|
|
60
|
+
type: Date,
|
|
61
|
+
default: () => new Date(currentYear - 10, 0, 1)
|
|
62
|
+
},
|
|
63
|
+
maxDate: {
|
|
64
|
+
type: Date,
|
|
65
|
+
default: () => new Date(currentYear + 10, 11, 31)
|
|
66
|
+
},
|
|
67
|
+
label: String,
|
|
68
|
+
placeholder: String,
|
|
69
|
+
required: Boolean,
|
|
70
|
+
disabled: Boolean,
|
|
71
|
+
value: {
|
|
72
|
+
type: [Date, String, Number],
|
|
73
|
+
default: new Date()
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
model: {
|
|
77
|
+
event: 'input-value',
|
|
78
|
+
prop: 'value'
|
|
79
|
+
},
|
|
80
|
+
data () {
|
|
81
|
+
return {
|
|
82
|
+
showPicker: false,
|
|
83
|
+
currentDate: this.value || new Date()
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
created () {
|
|
87
|
+
console.log('currentDate', this.currentDate)
|
|
88
|
+
},
|
|
89
|
+
methods: {
|
|
90
|
+
formatter (type, val) {
|
|
91
|
+
if (type === 'year') {
|
|
92
|
+
return `${val}年`
|
|
93
|
+
} else if (type === 'month') {
|
|
94
|
+
return `${val}月`
|
|
95
|
+
} else if (type === 'day') {
|
|
96
|
+
return `${val}日`
|
|
97
|
+
} else if (type === 'hour') {
|
|
98
|
+
return `${val}时`
|
|
99
|
+
} else if (type === 'minute') {
|
|
100
|
+
return `${val}分`
|
|
101
|
+
}
|
|
102
|
+
return val
|
|
103
|
+
},
|
|
104
|
+
show () {
|
|
105
|
+
// 禁用选择
|
|
106
|
+
if (this.disabled) {
|
|
107
|
+
return false
|
|
108
|
+
}
|
|
109
|
+
this.showPicker = true
|
|
110
|
+
},
|
|
111
|
+
close () {
|
|
112
|
+
this.showPicker = false
|
|
113
|
+
},
|
|
114
|
+
onInput () {
|
|
115
|
+
this.close()
|
|
116
|
+
this.$emit('input', false)
|
|
117
|
+
},
|
|
118
|
+
onClose () {
|
|
119
|
+
this.close()
|
|
120
|
+
this.$emit('input', false)
|
|
121
|
+
},
|
|
122
|
+
onConfirm () {
|
|
123
|
+
console.log('onConfirmmaxDate', this.maxDate)
|
|
124
|
+
this.close()
|
|
125
|
+
let innerValue = this.$refs.datetimePicker.getInnerValue()
|
|
126
|
+
let formatMap = [
|
|
127
|
+
{
|
|
128
|
+
label: 'year-month',
|
|
129
|
+
value: 'YYYY-MM'
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
label: 'date',
|
|
133
|
+
value: 'YYYY-MM-DD'
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
label: 'datetime',
|
|
137
|
+
value: 'YYYY-MM-DD HH:mm:ss'
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
let format = formatMap.find(t => t.label === this.type)
|
|
141
|
+
console.log('format---', format, innerValue, format.value)
|
|
142
|
+
const value = moment(innerValue).format(format ? format.value : 'YYYY-MM-DD HH:mm:ss')
|
|
143
|
+
this.$emit('input-value', value)
|
|
144
|
+
this.$emit('input', value)
|
|
145
|
+
},
|
|
146
|
+
onChange () {
|
|
147
|
+
let picker = this.$refs.datetimePicker.getPicker()
|
|
148
|
+
this.$emit('change', picker)
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
</script>
|
|
153
|
+
|
|
154
|
+
<style scoped lang="less">
|
|
155
|
+
.ksui-datatime {
|
|
156
|
+
&-header {
|
|
157
|
+
height: 54px;
|
|
158
|
+
font-weight: 500;
|
|
159
|
+
display: flex;
|
|
160
|
+
flex-shrink: 0;
|
|
161
|
+
padding: 0 16px 0 20px;
|
|
162
|
+
font-size: 18px;
|
|
163
|
+
justify-content: space-between;
|
|
164
|
+
align-items: center;
|
|
165
|
+
border-bottom: 1px solid #ededed;
|
|
166
|
+
}
|
|
167
|
+
&-footer {
|
|
168
|
+
padding: 16px;
|
|
169
|
+
position: relative;
|
|
170
|
+
// &::after {
|
|
171
|
+
// position: absolute;
|
|
172
|
+
// box-sizing: border-box;
|
|
173
|
+
// content: ' ';
|
|
174
|
+
// pointer-events: none;
|
|
175
|
+
// right: 0;
|
|
176
|
+
// top: 0;
|
|
177
|
+
// left: 0;
|
|
178
|
+
// border-top: 1px solid #EDEDED;
|
|
179
|
+
// transform: scaleY(0.5);
|
|
180
|
+
// }
|
|
181
|
+
}
|
|
182
|
+
.van-picker {
|
|
183
|
+
padding: 0 20px;
|
|
184
|
+
}
|
|
185
|
+
.van-picker__frame {
|
|
186
|
+
background: rgba(121, 114, 254, 0.1);
|
|
187
|
+
border-radius: 8px;
|
|
188
|
+
}
|
|
189
|
+
.van-hairline-unset--top-bottom:after {
|
|
190
|
+
border: 0;
|
|
191
|
+
}
|
|
192
|
+
.van-cell:after {
|
|
193
|
+
position: absolute;
|
|
194
|
+
content: " ";
|
|
195
|
+
pointer-events: none;
|
|
196
|
+
right: 0;
|
|
197
|
+
bottom: 0;
|
|
198
|
+
left: 16px;
|
|
199
|
+
right: 16px;
|
|
200
|
+
border-bottom: 1px solid #d9d9d9;
|
|
201
|
+
-webkit-transform: scaleY(0.5);
|
|
202
|
+
transform: scaleY(0.5);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
</style>
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="ksui-datatime">
|
|
3
|
+
<van-field readonly
|
|
4
|
+
name="datetimePicker"
|
|
5
|
+
input-align="right"
|
|
6
|
+
error-message-align="right"
|
|
7
|
+
:required="required"
|
|
8
|
+
:rules="[{ required: required, message: `请选择${label}` }]"
|
|
9
|
+
:value="value | date"
|
|
10
|
+
:label="label"
|
|
11
|
+
right-icon="arrow"
|
|
12
|
+
:placeholder="placeholder"
|
|
13
|
+
@click="show" />
|
|
14
|
+
|
|
15
|
+
<van-popup :value="showPicker"
|
|
16
|
+
position="bottom"
|
|
17
|
+
get-container="body"
|
|
18
|
+
@input="onInput">
|
|
19
|
+
<div class="ksui-datatime-header">
|
|
20
|
+
<span>{{ currentDate | date }}</span>
|
|
21
|
+
<div class="icon-box"
|
|
22
|
+
@click="onClose">
|
|
23
|
+
<van-icon name="cross" />
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
<datetime-picker ref="datetimePicker"
|
|
27
|
+
v-model="currentDate"
|
|
28
|
+
v-bind="$attrs"
|
|
29
|
+
:showToolbar="false"
|
|
30
|
+
@change="onChange">
|
|
31
|
+
</datetime-picker>
|
|
32
|
+
<div class="ksui-datatime-footer">
|
|
33
|
+
<van-button type="primary"
|
|
34
|
+
@click="onConfirm"
|
|
35
|
+
size="large">确定</van-button>
|
|
36
|
+
</div>
|
|
37
|
+
</van-popup>
|
|
38
|
+
</div>
|
|
39
|
+
</template>
|
|
40
|
+
|
|
41
|
+
<script>
|
|
42
|
+
import DatetimePicker from '../datetime-popup/index.js'
|
|
43
|
+
import moment from "dayjs"
|
|
44
|
+
|
|
45
|
+
export default {
|
|
46
|
+
components: {
|
|
47
|
+
DatetimePicker
|
|
48
|
+
},
|
|
49
|
+
props: {
|
|
50
|
+
label: String,
|
|
51
|
+
placeholder: String,
|
|
52
|
+
required: Boolean,
|
|
53
|
+
value: {
|
|
54
|
+
type: [Date, String, Number],
|
|
55
|
+
default: new Date()
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
data() {
|
|
59
|
+
return {
|
|
60
|
+
showPicker: false,
|
|
61
|
+
currentDate: this.value ? moment(this.value).toDate() : moment().toDate()
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
filters: {
|
|
65
|
+
date (value, fmt = 'YYYY/MM/DD HH:mm') {
|
|
66
|
+
if (value) {
|
|
67
|
+
return moment(value).format(fmt)
|
|
68
|
+
} else {
|
|
69
|
+
return ''
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
methods: {
|
|
74
|
+
show () {
|
|
75
|
+
this.currentDate = this.value ? moment(this.value).toDate() : moment().toDate()
|
|
76
|
+
this.showPicker = true
|
|
77
|
+
},
|
|
78
|
+
close () {
|
|
79
|
+
this.showPicker = false
|
|
80
|
+
},
|
|
81
|
+
onInput () {
|
|
82
|
+
this.close()
|
|
83
|
+
this.$emit('input', false)
|
|
84
|
+
},
|
|
85
|
+
onClose () {
|
|
86
|
+
this.close()
|
|
87
|
+
this.$emit('input', false)
|
|
88
|
+
},
|
|
89
|
+
onConfirm() {
|
|
90
|
+
this.close()
|
|
91
|
+
let innerValue = this.$refs.datetimePicker.getInnerValue()
|
|
92
|
+
let res = innerValue ? moment(innerValue).format('YYYY-MM-DD HH:mm:ss') : innerValue
|
|
93
|
+
console.log('select time:::', res)
|
|
94
|
+
this.$emit('input', res)
|
|
95
|
+
this.$emit('confirm', res)
|
|
96
|
+
},
|
|
97
|
+
onChange () {
|
|
98
|
+
let picker = this.$refs.datetimePicker.getPicker()
|
|
99
|
+
this.$emit('change', picker)
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
</script>
|
|
104
|
+
|
|
105
|
+
<style scoped lang="less">
|
|
106
|
+
.ksui-datatime {
|
|
107
|
+
&-header {
|
|
108
|
+
height: 54px;
|
|
109
|
+
font-weight: 500;
|
|
110
|
+
display: flex;
|
|
111
|
+
flex-shrink: 0;
|
|
112
|
+
padding: 0 16px 0 20px;
|
|
113
|
+
font-size: 18px;
|
|
114
|
+
justify-content: space-between;
|
|
115
|
+
align-items: center;
|
|
116
|
+
border-bottom: 1px solid #ededed;
|
|
117
|
+
}
|
|
118
|
+
&-footer {
|
|
119
|
+
padding: 16px;
|
|
120
|
+
position: relative;
|
|
121
|
+
// &::after {
|
|
122
|
+
// position: absolute;
|
|
123
|
+
// box-sizing: border-box;
|
|
124
|
+
// content: ' ';
|
|
125
|
+
// pointer-events: none;
|
|
126
|
+
// right: 0;
|
|
127
|
+
// top: 0;
|
|
128
|
+
// left: 0;
|
|
129
|
+
// border-top: 1px solid #EDEDED;
|
|
130
|
+
// transform: scaleY(0.5);
|
|
131
|
+
// }
|
|
132
|
+
}
|
|
133
|
+
.van-picker {
|
|
134
|
+
padding: 0 20px;
|
|
135
|
+
}
|
|
136
|
+
.van-picker__frame {
|
|
137
|
+
background: rgba(121, 114, 254, 0.1);
|
|
138
|
+
border-radius: 8px;
|
|
139
|
+
}
|
|
140
|
+
.van-hairline-unset--top-bottom:after {
|
|
141
|
+
border: 0;
|
|
142
|
+
}
|
|
143
|
+
.van-cell:after {
|
|
144
|
+
position: absolute;
|
|
145
|
+
content: " ";
|
|
146
|
+
pointer-events: none;
|
|
147
|
+
right: 0;
|
|
148
|
+
bottom: 0;
|
|
149
|
+
left: 16px;
|
|
150
|
+
right: 16px;
|
|
151
|
+
border-bottom: 1px solid #ebedf5;
|
|
152
|
+
-webkit-transform: scaleY(0.5);
|
|
153
|
+
transform: scaleY(0.5);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
</style>
|
|
157
|
+
<style lang="less">
|
|
158
|
+
.flow-fms-datetime-week {
|
|
159
|
+
flex: 2
|
|
160
|
+
}
|
|
161
|
+
</style>
|