docs(site): add demos Tiny prefix (#2436)

This commit is contained in:
gimmyhehe 2024-10-28 15:42:15 +08:00 committed by GitHub
parent e1e28411c1
commit 1cbf1f2622
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4141 changed files with 14435 additions and 14766 deletions

View File

@ -27,12 +27,12 @@
</template>
<script>
import { ActionSheet, Button, Modal } from '@opentiny/vue'
import { TinyActionSheet, TinyButton, TinyModal } from '@opentiny/vue'
export default {
components: {
TinyActionSheet: ActionSheet,
TinyButton: Button
TinyActionSheet,
TinyButton
},
data() {
return {
@ -43,10 +43,10 @@ export default {
},
methods: {
selectOption(option, index) {
Modal.message(`选择了第${index + 1}项 [${option}]`)
TinyModal.message(`选择了第${index + 1}项 [${option}]`)
},
close() {
Modal.message('点击取消了')
TinyModal.message('点击取消了')
}
}
}

View File

@ -10,12 +10,12 @@
</template>
<script>
import { ActionSheet, Button } from '@opentiny/vue'
import { TinyActionSheet, TinyButton } from '@opentiny/vue'
export default {
components: {
TinyActionSheet: ActionSheet,
TinyButton: Button
TinyActionSheet,
TinyButton
},
data() {
return {

View File

@ -10,18 +10,18 @@
</template>
<script>
import { ActionSheet, Button, Modal } from '@opentiny/vue'
import { TinyActionSheet, TinyButton, TinyModal } from '@opentiny/vue'
export default {
components: {
TinyActionSheet: ActionSheet,
TinyButton: Button
TinyActionSheet,
TinyButton
},
data() {
return {
boxVisibility: false,
beforeCloseFn() {
Modal.message('已拦截关闭动作!')
TinyModal.message('已拦截关闭动作!')
return false
}
}

View File

@ -33,12 +33,12 @@
</template>
<script>
import { ActionSheet, Button } from '@opentiny/vue'
import { TinyActionSheet, TinyButton } from '@opentiny/vue'
export default {
components: {
TinyActionSheet: ActionSheet,
TinyButton: Button
TinyActionSheet,
TinyButton
},
data() {
return {

View File

@ -10,18 +10,18 @@
</template>
<script>
import { ActionSheet, Button, Modal } from '@opentiny/vue'
import { TinyActionSheet, TinyButton, TinyModal } from '@opentiny/vue'
export default {
components: {
TinyActionSheet: ActionSheet,
TinyButton: Button
TinyActionSheet,
TinyButton
},
data() {
return {
boxVisibility: false,
beforeCloseFn() {
Modal.message('已拦截关闭动作!')
TinyModal.message('已拦截关闭动作!')
return false
}
}

View File

@ -11,12 +11,12 @@
</template>
<script>
import { ActionSheet, Button } from '@opentiny/vue'
import { TinyActionSheet, TinyButton } from '@opentiny/vue'
export default {
components: {
TinyActionSheet: ActionSheet,
TinyButton: Button
TinyActionSheet,
TinyButton
},
data() {
return {

View File

@ -11,12 +11,12 @@
</template>
<script>
import { ActionSheet, Button } from '@opentiny/vue'
import { TinyActionSheet, TinyButton } from '@opentiny/vue'
export default {
components: {
TinyActionSheet: ActionSheet,
TinyButton: Button
TinyActionSheet,
TinyButton
},
data() {
return {

View File

@ -32,12 +32,12 @@
</template>
<script>
import { ActionSheet, Button } from '@opentiny/vue'
import { TinyActionSheet, TinyButton } from '@opentiny/vue'
export default {
components: {
TinyActionSheet: ActionSheet,
TinyButton: Button
TinyActionSheet,
TinyButton
},
data() {
const list = [

View File

@ -35,12 +35,12 @@
</template>
<script>
import { ActionSheet, Button } from '@opentiny/vue'
import { TinyActionSheet, TinyButton } from '@opentiny/vue'
export default {
components: {
TinyActionSheet: ActionSheet,
TinyButton: Button
TinyActionSheet,
TinyButton
},
data() {
return {

View File

@ -65,12 +65,12 @@
</template>
<script>
import { ActionSheet, Button } from '@opentiny/vue'
import { TinyActionSheet, TinyButton } from '@opentiny/vue'
export default {
components: {
TinyActionSheet: ActionSheet,
TinyButton: Button
TinyActionSheet,
TinyButton
},
data() {
return {

View File

@ -14,11 +14,11 @@
</template>
<script>
import { Alert } from '@opentiny/vue'
import { TinyAlert } from '@opentiny/vue'
export default {
components: {
TinyAlert: Alert
TinyAlert
}
}
</script>

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Alert } from '@opentiny/vue'
import { TinyAlert } from '@opentiny/vue'
export default {
components: {
TinyAlert: Alert
TinyAlert
}
}
</script>

View File

@ -6,11 +6,11 @@
</template>
<script>
import { Alert } from '@opentiny/vue'
import { TinyAlert } from '@opentiny/vue'
export default {
components: {
TinyAlert: Alert
TinyAlert
}
}
</script>

View File

@ -6,15 +6,15 @@
</template>
<script>
import { Alert, Modal } from '@opentiny/vue'
import { TinyAlert, TinyModal } from '@opentiny/vue'
export default {
components: {
TinyAlert: Alert
TinyAlert
},
methods: {
close() {
Modal('关闭了')
TinyModal('关闭了')
}
}
}

View File

@ -3,15 +3,15 @@
</template>
<script>
import { Alert, Modal } from '@opentiny/vue'
import { TinyAlert, TinyModal } from '@opentiny/vue'
export default {
components: {
TinyAlert: Alert
TinyAlert
},
methods: {
close() {
Modal.message('关闭了')
TinyModal.message('关闭了')
}
}
}

View File

@ -5,11 +5,11 @@
</template>
<script>
import { Alert } from '@opentiny/vue'
import { TinyAlert } from '@opentiny/vue'
export default {
components: {
TinyAlert: Alert
TinyAlert
}
}
</script>

View File

@ -9,11 +9,11 @@
</template>
<script>
import { Alert } from '@opentiny/vue'
import { TinyAlert } from '@opentiny/vue'
export default {
components: {
TinyAlert: Alert
TinyAlert
}
}
</script>

View File

@ -5,12 +5,12 @@
</template>
<script>
import { Alert } from '@opentiny/vue'
import { TinyAlert } from '@opentiny/vue'
import { iconBoat } from '@opentiny/vue-icon'
export default {
components: {
TinyAlert: Alert
TinyAlert
},
data() {
return {

View File

@ -15,12 +15,12 @@
</template>
<script>
import { Alert, Button } from '@opentiny/vue'
import { TinyAlert, TinyButton } from '@opentiny/vue'
export default {
components: {
TinyAlert: Alert,
TinyButton: Button
TinyAlert,
TinyButton
}
}
</script>

View File

@ -9,12 +9,12 @@
</template>
<script>
import { Alert } from '@opentiny/vue'
import { TinyAlert } from '@opentiny/vue'
import { IconBoat } from '@opentiny/vue-icon'
export default {
components: {
TinyAlert: Alert
TinyAlert
},
data() {
return {

View File

@ -32,12 +32,12 @@
</template>
<script>
import { Alert, Link } from '@opentiny/vue'
import { TinyAlert, TinyLink } from '@opentiny/vue'
export default {
components: {
TinyAlert: Alert,
TinyLink: Link
TinyAlert,
TinyLink
},
data() {
return {

View File

@ -6,11 +6,11 @@
</template>
<script>
import { Alert } from '@opentiny/vue'
import { TinyAlert } from '@opentiny/vue'
export default {
components: {
TinyAlert: Alert
TinyAlert
}
}
</script>

View File

@ -6,11 +6,11 @@
</template>
<script>
import { Alert } from '@opentiny/vue'
import { TinyAlert } from '@opentiny/vue'
export default {
components: {
TinyAlert: Alert
TinyAlert
}
}
</script>

View File

@ -38,12 +38,12 @@
</template>
<script>
import { Alert, Button } from '@opentiny/vue'
import { TinyAlert, TinyButton } from '@opentiny/vue'
export default {
components: {
TinyAlert: Alert,
TinyButton: Button
TinyAlert,
TinyButton
},
data() {
return {

View File

@ -9,11 +9,11 @@
</template>
<script>
import { Alert } from '@opentiny/vue'
import { TinyAlert } from '@opentiny/vue'
export default {
components: {
TinyAlert: Alert
TinyAlert
}
}
</script>

View File

@ -14,11 +14,11 @@
</template>
<script>
import { Alert } from '@opentiny/vue'
import { TinyAlert } from '@opentiny/vue'
export default {
components: {
TinyAlert: Alert
TinyAlert
}
}
</script>

View File

@ -6,12 +6,12 @@
</template>
<script>
import { Amount, Button } from '@opentiny/vue'
import { TinyAmount, TinyButton } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount,
TinyButton: Button
TinyAmount,
TinyButton
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Amount } from '@opentiny/vue'
import { TinyAmount } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Amount } from '@opentiny/vue'
import { TinyAmount } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {

View File

@ -8,11 +8,11 @@
</template>
<script>
import { Amount } from '@opentiny/vue'
import { TinyAmount } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Amount, Modal } from '@opentiny/vue'
import { TinyAmount, TinyModal } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {
@ -17,7 +17,7 @@ export default {
},
methods: {
change(val) {
Modal.message({
TinyModal.message({
message: `改变后的值:${JSON.stringify(val)}`,
status: 'info'
})

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Amount, Modal } from '@opentiny/vue'
import { TinyAmount, TinyModal } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {
@ -16,7 +16,7 @@ export default {
},
methods: {
handleChange(value) {
Modal.message({ message: `当前值为 ${value.amount}`, status: 'info' })
TinyModal.message({ message: `当前值为 ${value.amount}`, status: 'info' })
}
}
}

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Amount } from '@opentiny/vue'
import { TinyAmount } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Amount } from '@opentiny/vue'
import { TinyAmount } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {

View File

@ -11,11 +11,11 @@
</template>
<script>
import { Amount, Modal } from '@opentiny/vue'
import { TinyAmount, TinyModal } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {
@ -24,10 +24,10 @@ export default {
},
methods: {
clearHander() {
Modal.message({ message: '清除 事件', status: 'info' })
TinyModal.message({ message: '清除 事件', status: 'info' })
},
changeHander(label) {
Modal.message({ message: 'change 事件' + label, status: 'info' })
TinyModal.message({ message: 'change 事件' + label, status: 'info' })
}
}
}

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Amount } from '@opentiny/vue'
import { TinyAmount } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Amount } from '@opentiny/vue'
import { TinyAmount } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Amount } from '@opentiny/vue'
import { TinyAmount } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Amount } from '@opentiny/vue'
import { TinyAmount } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {

View File

@ -10,11 +10,11 @@
</template>
<script>
import { Amount, Modal } from '@opentiny/vue'
import { TinyAmount, TinyModal } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {
@ -23,7 +23,7 @@ export default {
},
methods: {
handleChange(value) {
Modal.message({ message: `当前值为 ${value.amount}`, status: 'info' })
TinyModal.message({ message: `当前值为 ${value.amount}`, status: 'info' })
}
}
}

View File

@ -12,13 +12,13 @@
</template>
<script>
import { Amount, Form, FormItem } from '@opentiny/vue'
import { TinyAmount, TinyForm, TinyFormItem } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount,
TinyForm: Form,
TinyFormItem: FormItem
TinyAmount,
TinyForm,
TinyFormItem
},
data() {
return {

View File

@ -13,11 +13,11 @@
</template>
<script>
import { Amount } from '@opentiny/vue'
import { TinyAmount } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Amount } from '@opentiny/vue'
import { TinyAmount } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Amount, Modal } from '@opentiny/vue'
import { TinyAmount, TinyModal } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {
@ -17,7 +17,7 @@ export default {
},
methods: {
change(val) {
Modal.message({
TinyModal.message({
message: `改变后的值:${JSON.stringify(val)}`,
status: 'info'
})

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Amount } from '@opentiny/vue'
import { TinyAmount } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {

View File

@ -19,11 +19,11 @@
</template>
<script>
import { Amount } from '@opentiny/vue'
import { TinyAmount } from '@opentiny/vue'
export default {
components: {
TinyAmount: Amount
TinyAmount
},
data() {
return {

View File

@ -9,12 +9,12 @@
</template>
<script>
import { Anchor, Switch } from '@opentiny/vue'
import { TinyAnchor, TinySwitch } from '@opentiny/vue'
export default {
components: {
TinyAnchor: Anchor,
TinySwitch: Switch
TinyAnchor,
TinySwitch
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Anchor, Modal } from '@opentiny/vue'
import { TinyAnchor, TinyModal } from '@opentiny/vue'
export default {
components: {
TinyAnchor: Anchor
TinyAnchor
},
data() {
return {
@ -49,7 +49,7 @@ export default {
},
methods: {
handleChange(link) {
Modal.message({ message: `change${link}`, status: 'info' })
TinyModal.message({ message: `change${link}`, status: 'info' })
}
}
}

View File

@ -9,12 +9,12 @@
</template>
<script>
import { Anchor, Switch } from '@opentiny/vue'
import { TinyAnchor, TinySwitch } from '@opentiny/vue'
export default {
components: {
TinyAnchor: Anchor,
TinySwitch: Switch
TinyAnchor,
TinySwitch
},
data() {
return {

View File

@ -21,13 +21,13 @@
</template>
<script>
import { Anchor, Row, Col } from '@opentiny/vue'
import { TinyAnchor, TinyRow, TinyCol } from '@opentiny/vue'
export default {
components: {
TinyAnchor: Anchor,
TinyRow: Row,
TinyCol: Col
TinyAnchor,
TinyRow,
TinyCol
},
data() {
return {

View File

@ -40,16 +40,16 @@
</template>
<script>
import { Badge } from '@opentiny/vue'
import { UserHead } from '@opentiny/vue'
import { UserContact } from '@opentiny/vue'
import { TinyBadge } from '@opentiny/vue'
import { TinyUserHead } from '@opentiny/vue'
import { TinyUserContact } from '@opentiny/vue'
import { IconSmile } from '@opentiny/vue-icon'
export default {
components: {
TinyBadge: Badge,
TinyUserHead: UserHead,
TinyUserContact: UserContact
TinyBadge,
TinyUserHead,
TinyUserContact
},
data() {
return {

View File

@ -7,12 +7,12 @@
</template>
<script>
import { Badge, Button } from '@opentiny/vue'
import { TinyBadge, TinyButton } from '@opentiny/vue'
export default {
components: {
TinyBadge: Badge,
TinyButton: Button
TinyBadge,
TinyButton
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Badge } from '@opentiny/vue'
import { TinyBadge } from '@opentiny/vue'
export default {
components: {
TinyBadge: Badge
TinyBadge
}
}
</script>

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Badge } from '@opentiny/vue'
import { TinyBadge } from '@opentiny/vue'
export default {
components: {
TinyBadge: Badge
TinyBadge
}
}
</script>

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Badge } from '@opentiny/vue'
import { TinyBadge } from '@opentiny/vue'
export default {
components: {
TinyBadge: Badge
TinyBadge
}
}
</script>

View File

@ -6,11 +6,11 @@
</template>
<script>
import { Badge } from '@opentiny/vue'
import { TinyBadge } from '@opentiny/vue'
export default {
components: {
TinyBadge: Badge
TinyBadge
}
}
</script>

View File

@ -7,11 +7,11 @@
</template>
<script>
import { Badge } from '@opentiny/vue'
import { TinyBadge } from '@opentiny/vue'
export default {
components: {
TinyBadge: Badge
TinyBadge
}
}
</script>

View File

@ -7,11 +7,11 @@
</template>
<script>
import { Badge } from '@opentiny/vue'
import { TinyBadge } from '@opentiny/vue'
export default {
components: {
TinyBadge: Badge
TinyBadge
}
}
</script>

View File

@ -13,11 +13,11 @@
</template>
<script>
import { Badge } from '@opentiny/vue'
import { TinyBadge } from '@opentiny/vue'
export default {
components: {
TinyBadge: Badge
TinyBadge
}
}
</script>

View File

@ -3,11 +3,11 @@
</template>
<script>
import { Badge } from '@opentiny/vue'
import { TinyBadge } from '@opentiny/vue'
export default {
components: {
TinyBadge: Badge
TinyBadge
},
data() {
return {

View File

@ -6,11 +6,11 @@
</template>
<script>
import { ButtonGroup } from '@opentiny/vue'
import { TinyButtonGroup } from '@opentiny/vue'
export default {
components: {
TinyButtonGroup: ButtonGroup
TinyButtonGroup
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { ButtonGroup } from '@opentiny/vue'
import { TinyButtonGroup } from '@opentiny/vue'
export default {
components: {
TinyButtonGroup: ButtonGroup
TinyButtonGroup
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { ButtonGroup } from '@opentiny/vue'
import { TinyButtonGroup } from '@opentiny/vue'
export default {
components: {
TinyButtonGroup: ButtonGroup
TinyButtonGroup
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { ButtonGroup } from '@opentiny/vue'
import { TinyButtonGroup } from '@opentiny/vue'
export default {
components: {
TinyButtonGroup: ButtonGroup
TinyButtonGroup
},
data() {
return {

View File

@ -6,11 +6,11 @@
</template>
<script>
import { ButtonGroup } from '@opentiny/vue'
import { TinyButtonGroup } from '@opentiny/vue'
export default {
components: {
TinyButtonGroup: ButtonGroup
TinyButtonGroup
},
data() {
return {

View File

@ -7,12 +7,12 @@
</template>
<script>
import { Button, ButtonGroup } from '@opentiny/vue'
import { TinyButton, TinyButtonGroup } from '@opentiny/vue'
export default {
components: {
TinyButton: Button,
TinyButtonGroup: ButtonGroup
TinyButton,
TinyButtonGroup
}
}
</script>

View File

@ -3,11 +3,11 @@
</template>
<script>
import { ButtonGroup } from '@opentiny/vue'
import { TinyButtonGroup } from '@opentiny/vue'
export default {
components: {
TinyButtonGroup: ButtonGroup
TinyButtonGroup
},
data() {
return {

View File

@ -6,11 +6,11 @@
</template>
<script>
import { Button } from '@opentiny/vue'
import { TinyButton } from '@opentiny/vue'
export default {
components: {
TinyButton: Button
TinyButton
}
}
</script>

View File

@ -6,11 +6,11 @@
</template>
<script>
import { Button } from '@opentiny/vue'
import { TinyButton } from '@opentiny/vue'
export default {
components: {
TinyButton: Button
TinyButton
}
}
</script>

View File

@ -20,14 +20,14 @@
</template>
<script>
import { Button, Layout, Row } from '@opentiny/vue'
import { TinyButton, TinyLayout, TinyRow } from '@opentiny/vue'
import { IconDel, IconYes, IconEdit, IconMail, IconStarO, IconSearch } from '@opentiny/vue-icon'
export default {
components: {
TinyButton: Button,
TinyLayout: Layout,
TinyRow: Row
TinyButton,
TinyLayout,
TinyRow
},
data() {
return {

View File

@ -6,11 +6,11 @@
</template>
<script>
import { Button } from '@opentiny/vue'
import { TinyButton } from '@opentiny/vue'
export default {
components: {
TinyButton: Button
TinyButton
}
}
</script>

View File

@ -20,14 +20,14 @@
</template>
<script>
import { Button, Layout, Row } from '@opentiny/vue'
import { TinyButton, TinyLayout, TinyRow } from '@opentiny/vue'
import { IconDel, IconYes, IconEdit, IconMail, IconStarO, IconSearch } from '@opentiny/vue-icon'
export default {
components: {
TinyButton: Button,
TinyLayout: Layout,
TinyRow: Row
TinyButton,
TinyLayout,
TinyRow
},
data() {
return {

View File

@ -3,15 +3,15 @@
</template>
<script>
import { Button, Modal } from '@opentiny/vue'
import { TinyButton, TinyModal } from '@opentiny/vue'
export default {
components: {
TinyButton: Button
TinyButton
},
methods: {
click() {
Modal.message('click')
TinyModal.message('click')
}
}
}

View File

@ -17,13 +17,13 @@
</template>
<script>
import { Button, Layout, Row } from '@opentiny/vue'
import { TinyButton, TinyLayout, TinyRow } from '@opentiny/vue'
export default {
components: {
TinyButton: Button,
TinyLayout: Layout,
TinyRow: Row
TinyButton,
TinyLayout,
TinyRow
},
data() {
return {

View File

@ -10,12 +10,12 @@
</template>
<script>
import { Button } from '@opentiny/vue'
import { TinyButton } from '@opentiny/vue'
import { IconDel, IconYes, IconEdit, IconMail, IconStarO, IconSearch } from '@opentiny/vue-icon'
export default {
components: {
TinyButton: Button
TinyButton
},
data() {
return {

View File

@ -6,11 +6,11 @@
</template>
<script>
import { Button } from '@opentiny/vue'
import { TinyButton } from '@opentiny/vue'
export default {
components: {
TinyButton: Button
TinyButton
},
data() {
return {

View File

@ -5,11 +5,11 @@
</template>
<script>
import { Button } from '@opentiny/vue'
import { TinyButton } from '@opentiny/vue'
export default {
components: {
TinyButton: Button
TinyButton
}
}
</script>

View File

@ -10,11 +10,11 @@
</template>
<script>
import { Button } from '@opentiny/vue'
import { TinyButton } from '@opentiny/vue'
export default {
components: {
TinyButton: Button
TinyButton
}
}
</script>

View File

@ -10,11 +10,11 @@
</template>
<script>
import { Button } from '@opentiny/vue'
import { TinyButton } from '@opentiny/vue'
export default {
components: {
TinyButton: Button
TinyButton
}
}
</script>

View File

@ -7,11 +7,11 @@
</template>
<script>
import { Button } from '@opentiny/vue'
import { TinyButton } from '@opentiny/vue'
export default {
components: {
TinyButton: Button
TinyButton
}
}
</script>

View File

@ -10,11 +10,11 @@
</template>
<script>
import { Button } from '@opentiny/vue'
import { TinyButton } from '@opentiny/vue'
export default {
components: {
TinyButton: Button
TinyButton
}
}
</script>

View File

@ -8,11 +8,11 @@
</template>
<script>
import { Button } from '@opentiny/vue'
import { TinyButton } from '@opentiny/vue'
export default {
components: {
TinyButton: Button
TinyButton
}
}
</script>

View File

@ -13,13 +13,13 @@
</template>
<script>
import { Button } from '@opentiny/vue'
import { TinyButton } from '@opentiny/vue'
import { IconUpload } from '@opentiny/vue-icon'
export default {
components: {
IconUpload: IconUpload(),
TinyButton: Button
TinyButton
},
data() {
return {

View File

@ -6,11 +6,11 @@
</template>
<script>
import { Button } from '@opentiny/vue'
import { TinyButton } from '@opentiny/vue'
export default {
components: {
TinyButton: Button
TinyButton
}
}
</script>

View File

@ -11,11 +11,11 @@
</template>
<script>
import { Button } from '@opentiny/vue'
import { TinyButton } from '@opentiny/vue'
export default {
components: {
TinyButton: Button
TinyButton
}
}
</script>

View File

@ -3,11 +3,11 @@
</template>
<script>
import { CalendarBar } from '@opentiny/vue'
import { TinyCalendarBar } from '@opentiny/vue'
export default {
components: {
TinyCalendarBar: CalendarBar
TinyCalendarBar
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { CalendarBar } from '@opentiny/vue'
import { TinyCalendarBar } from '@opentiny/vue'
export default {
components: {
TinyCalendarBar: CalendarBar
TinyCalendarBar
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { CalendarBar } from '@opentiny/vue'
import { TinyCalendarBar } from '@opentiny/vue'
export default {
components: {
TinyCalendarBar: CalendarBar
TinyCalendarBar
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { CalendarBar, Modal } from '@opentiny/vue'
import { TinyCalendarBar, TinyModal } from '@opentiny/vue'
export default {
components: {
TinyCalendarBar: CalendarBar
TinyCalendarBar
},
data() {
return {
@ -17,9 +17,9 @@ export default {
methods: {
expand(expanded) {
if (expanded) {
Modal.message('处于展开状态')
TinyModal.message('处于展开状态')
} else {
Modal.message('处于收起状态')
TinyModal.message('处于收起状态')
}
}
}

View File

@ -3,11 +3,11 @@
</template>
<script>
import { CalendarBar } from '@opentiny/vue'
import { TinyCalendarBar } from '@opentiny/vue'
export default {
components: {
TinyCalendarBar: CalendarBar
TinyCalendarBar
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { CalendarBar } from '@opentiny/vue'
import { TinyCalendarBar } from '@opentiny/vue'
export default {
components: {
TinyCalendarBar: CalendarBar
TinyCalendarBar
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { CalendarBar } from '@opentiny/vue'
import { TinyCalendarBar } from '@opentiny/vue'
export default {
components: {
TinyCalendarBar: CalendarBar
TinyCalendarBar
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { CalendarBar } from '@opentiny/vue'
import { TinyCalendarBar } from '@opentiny/vue'
export default {
components: {
TinyCalendarBar: CalendarBar
TinyCalendarBar
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { CalendarBar } from '@opentiny/vue'
import { TinyCalendarBar } from '@opentiny/vue'
export default {
components: {
TinyCalendarBar: CalendarBar
TinyCalendarBar
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { CalendarView } from '@opentiny/vue'
import { TinyCalendarView } from '@opentiny/vue'
export default {
components: {
TinyCalendarView: CalendarView
TinyCalendarView
},
data() {
return {

View File

@ -11,11 +11,11 @@
</template>
<script>
import { CalendarView } from '@opentiny/vue'
import { TinyCalendarView } from '@opentiny/vue'
export default {
components: {
TinyCalendarView: CalendarView
TinyCalendarView
},
data() {
return {

View File

@ -3,11 +3,11 @@
</template>
<script>
import { CalendarView } from '@opentiny/vue'
import { TinyCalendarView } from '@opentiny/vue'
export default {
components: {
TinyCalendarView: CalendarView
TinyCalendarView
},
data() {
return {

View File

@ -13,11 +13,11 @@
</template>
<script>
import { CalendarView, Modal } from '@opentiny/vue'
import { TinyCalendarView, TinyModal } from '@opentiny/vue'
export default {
components: {
TinyCalendarView: CalendarView
TinyCalendarView
},
data() {
return {
@ -26,19 +26,19 @@ export default {
},
methods: {
prevWeekClick(date) {
Modal.message({ message: `上一周按钮点击事件: ${date[0].value}`, status: 'info' })
TinyModal.message({ message: `上一周按钮点击事件: ${date[0].value}`, status: 'info' })
},
nextWeekClick(date) {
Modal.message({ message: `下一周按钮点击事件: ${date[0].value}`, status: 'info' })
TinyModal.message({ message: `下一周按钮点击事件: ${date[0].value}`, status: 'info' })
},
weekChange(weekDate) {
Modal.message({ message: `周改变事件: ${weekDate[0].value}`, status: 'info' })
TinyModal.message({ message: `周改变事件: ${weekDate[0].value}`, status: 'info' })
},
yearChange(newVal, oldVal) {
Modal.message({ message: `年改变事件: ${newVal}年, ${oldVal}`, status: 'info' })
TinyModal.message({ message: `年改变事件: ${newVal}年, ${oldVal}`, status: 'info' })
},
monthChange(newVal, oldVal) {
Modal.message({ message: `月改变事件: ${newVal}月, ${oldVal}`, status: 'info' })
TinyModal.message({ message: `月改变事件: ${newVal}月, ${oldVal}`, status: 'info' })
}
}
}

View File

@ -4,11 +4,11 @@
</template>
<script>
import { CalendarView } from '@opentiny/vue'
import { TinyCalendarView } from '@opentiny/vue'
export default {
components: {
TinyCalendarView: CalendarView
TinyCalendarView
},
data() {
return {

View File

@ -24,11 +24,11 @@
</template>
<script>
import { CalendarView } from '@opentiny/vue'
import { TinyCalendarView } from '@opentiny/vue'
export default {
components: {
TinyCalendarView: CalendarView
TinyCalendarView
},
data() {
return {

Some files were not shown because too many files have changed in this diff Show More