docs(site): add demos Tiny prefix (#2436)
This commit is contained in:
parent
e1e28411c1
commit
1cbf1f2622
|
@ -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('点击取消了')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -14,11 +14,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Alert } from '@opentiny/vue'
|
||||
import { TinyAlert } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAlert: Alert
|
||||
TinyAlert
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Alert } from '@opentiny/vue'
|
||||
import { TinyAlert } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAlert: Alert
|
||||
TinyAlert
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Alert } from '@opentiny/vue'
|
||||
import { TinyAlert } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAlert: Alert
|
||||
TinyAlert
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -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('关闭了')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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('关闭了')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Alert } from '@opentiny/vue'
|
||||
import { TinyAlert } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAlert: Alert
|
||||
TinyAlert
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Alert } from '@opentiny/vue'
|
||||
import { TinyAlert } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAlert: Alert
|
||||
TinyAlert
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Alert } from '@opentiny/vue'
|
||||
import { TinyAlert } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAlert: Alert
|
||||
TinyAlert
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Alert } from '@opentiny/vue'
|
||||
import { TinyAlert } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAlert: Alert
|
||||
TinyAlert
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Alert } from '@opentiny/vue'
|
||||
import { TinyAlert } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAlert: Alert
|
||||
TinyAlert
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -14,11 +14,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Alert } from '@opentiny/vue'
|
||||
import { TinyAlert } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAlert: Alert
|
||||
TinyAlert
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Amount } from '@opentiny/vue'
|
||||
import { TinyAmount } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAmount: Amount
|
||||
TinyAmount
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Amount } from '@opentiny/vue'
|
||||
import { TinyAmount } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAmount: Amount
|
||||
TinyAmount
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Amount } from '@opentiny/vue'
|
||||
import { TinyAmount } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAmount: Amount
|
||||
TinyAmount
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -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'
|
||||
})
|
||||
|
|
|
@ -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' })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Amount } from '@opentiny/vue'
|
||||
import { TinyAmount } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAmount: Amount
|
||||
TinyAmount
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Amount } from '@opentiny/vue'
|
||||
import { TinyAmount } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAmount: Amount
|
||||
TinyAmount
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -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' })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Amount } from '@opentiny/vue'
|
||||
import { TinyAmount } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAmount: Amount
|
||||
TinyAmount
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Amount } from '@opentiny/vue'
|
||||
import { TinyAmount } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAmount: Amount
|
||||
TinyAmount
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Amount } from '@opentiny/vue'
|
||||
import { TinyAmount } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAmount: Amount
|
||||
TinyAmount
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Amount } from '@opentiny/vue'
|
||||
import { TinyAmount } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAmount: Amount
|
||||
TinyAmount
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -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' })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Amount } from '@opentiny/vue'
|
||||
import { TinyAmount } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAmount: Amount
|
||||
TinyAmount
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Amount } from '@opentiny/vue'
|
||||
import { TinyAmount } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAmount: Amount
|
||||
TinyAmount
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -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'
|
||||
})
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Amount } from '@opentiny/vue'
|
||||
import { TinyAmount } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAmount: Amount
|
||||
TinyAmount
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Amount } from '@opentiny/vue'
|
||||
import { TinyAmount } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyAmount: Amount
|
||||
TinyAmount
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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' })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Badge } from '@opentiny/vue'
|
||||
import { TinyBadge } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyBadge: Badge
|
||||
TinyBadge
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Badge } from '@opentiny/vue'
|
||||
import { TinyBadge } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyBadge: Badge
|
||||
TinyBadge
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Badge } from '@opentiny/vue'
|
||||
import { TinyBadge } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyBadge: Badge
|
||||
TinyBadge
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Badge } from '@opentiny/vue'
|
||||
import { TinyBadge } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyBadge: Badge
|
||||
TinyBadge
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Badge } from '@opentiny/vue'
|
||||
import { TinyBadge } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyBadge: Badge
|
||||
TinyBadge
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Badge } from '@opentiny/vue'
|
||||
import { TinyBadge } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyBadge: Badge
|
||||
TinyBadge
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Badge } from '@opentiny/vue'
|
||||
import { TinyBadge } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyBadge: Badge
|
||||
TinyBadge
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Badge } from '@opentiny/vue'
|
||||
import { TinyBadge } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyBadge: Badge
|
||||
TinyBadge
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { ButtonGroup } from '@opentiny/vue'
|
||||
import { TinyButtonGroup } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButtonGroup: ButtonGroup
|
||||
TinyButtonGroup
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { ButtonGroup } from '@opentiny/vue'
|
||||
import { TinyButtonGroup } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButtonGroup: ButtonGroup
|
||||
TinyButtonGroup
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { ButtonGroup } from '@opentiny/vue'
|
||||
import { TinyButtonGroup } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButtonGroup: ButtonGroup
|
||||
TinyButtonGroup
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { ButtonGroup } from '@opentiny/vue'
|
||||
import { TinyButtonGroup } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButtonGroup: ButtonGroup
|
||||
TinyButtonGroup
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { ButtonGroup } from '@opentiny/vue'
|
||||
import { TinyButtonGroup } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButtonGroup: ButtonGroup
|
||||
TinyButtonGroup
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { ButtonGroup } from '@opentiny/vue'
|
||||
import { TinyButtonGroup } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButtonGroup: ButtonGroup
|
||||
TinyButtonGroup
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Button } from '@opentiny/vue'
|
||||
import { TinyButton } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButton: Button
|
||||
TinyButton
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Button } from '@opentiny/vue'
|
||||
import { TinyButton } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButton: Button
|
||||
TinyButton
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Button } from '@opentiny/vue'
|
||||
import { TinyButton } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButton: Button
|
||||
TinyButton
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Button } from '@opentiny/vue'
|
||||
import { TinyButton } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButton: Button
|
||||
TinyButton
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Button } from '@opentiny/vue'
|
||||
import { TinyButton } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButton: Button
|
||||
TinyButton
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Button } from '@opentiny/vue'
|
||||
import { TinyButton } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButton: Button
|
||||
TinyButton
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Button } from '@opentiny/vue'
|
||||
import { TinyButton } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButton: Button
|
||||
TinyButton
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Button } from '@opentiny/vue'
|
||||
import { TinyButton } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButton: Button
|
||||
TinyButton
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Button } from '@opentiny/vue'
|
||||
import { TinyButton } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButton: Button
|
||||
TinyButton
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Button } from '@opentiny/vue'
|
||||
import { TinyButton } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButton: Button
|
||||
TinyButton
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Button } from '@opentiny/vue'
|
||||
import { TinyButton } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButton: Button
|
||||
TinyButton
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Button } from '@opentiny/vue'
|
||||
import { TinyButton } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyButton: Button
|
||||
TinyButton
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { CalendarBar } from '@opentiny/vue'
|
||||
import { TinyCalendarBar } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyCalendarBar: CalendarBar
|
||||
TinyCalendarBar
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { CalendarBar } from '@opentiny/vue'
|
||||
import { TinyCalendarBar } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyCalendarBar: CalendarBar
|
||||
TinyCalendarBar
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { CalendarBar } from '@opentiny/vue'
|
||||
import { TinyCalendarBar } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyCalendarBar: CalendarBar
|
||||
TinyCalendarBar
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -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('处于收起状态')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { CalendarBar } from '@opentiny/vue'
|
||||
import { TinyCalendarBar } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyCalendarBar: CalendarBar
|
||||
TinyCalendarBar
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { CalendarBar } from '@opentiny/vue'
|
||||
import { TinyCalendarBar } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyCalendarBar: CalendarBar
|
||||
TinyCalendarBar
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { CalendarBar } from '@opentiny/vue'
|
||||
import { TinyCalendarBar } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyCalendarBar: CalendarBar
|
||||
TinyCalendarBar
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { CalendarBar } from '@opentiny/vue'
|
||||
import { TinyCalendarBar } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyCalendarBar: CalendarBar
|
||||
TinyCalendarBar
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { CalendarBar } from '@opentiny/vue'
|
||||
import { TinyCalendarBar } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyCalendarBar: CalendarBar
|
||||
TinyCalendarBar
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { CalendarView } from '@opentiny/vue'
|
||||
import { TinyCalendarView } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyCalendarView: CalendarView
|
||||
TinyCalendarView
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { CalendarView } from '@opentiny/vue'
|
||||
import { TinyCalendarView } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyCalendarView: CalendarView
|
||||
TinyCalendarView
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { CalendarView } from '@opentiny/vue'
|
||||
import { TinyCalendarView } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyCalendarView: CalendarView
|
||||
TinyCalendarView
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -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' })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { CalendarView } from '@opentiny/vue'
|
||||
import { TinyCalendarView } from '@opentiny/vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TinyCalendarView: CalendarView
|
||||
TinyCalendarView
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -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
Loading…
Reference in New Issue