2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-22 11:10:36 +03:00

feat: add prop icon-day to set calendar icon day

This commit is contained in:
mengxiong10
2019-10-14 11:04:12 +08:00
parent 864ab835ca
commit 62c3d60dd9
+4 -1
View File
@@ -42,7 +42,7 @@
<line x1="46" x2="46" y1="8" y2="50" /> <line x1="46" x2="46" y1="8" y2="50" />
<line x1="154" x2="154" y1="8" y2="50" /> <line x1="154" x2="154" y1="8" y2="50" />
<line x1="13" x2="187" y1="70" y2="70" /> <line x1="13" x2="187" y1="70" y2="70" />
<text x="50%" y="135" font-size="90" stroke-width="1" text-anchor="middle" dominant-baseline="middle">{{new Date().getDate()}}</text> <text x="50%" y="135" font-size="90" stroke-width="1" text-anchor="middle" dominant-baseline="middle">{{iconDay}}</text>
</svg> </svg>
</slot> </slot>
</span> </span>
@@ -204,6 +204,9 @@ export default {
}, },
popupStyle: { popupStyle: {
type: Object type: Object
},
iconDay: {
type: [Number, String]
} }
}, },
data () { data () {