mirror of https://github.com/4xmen/xshop.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
622 B
Vue
45 lines
622 B
Vue
<template>
|
|
<div id="quantity">
|
|
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: "quantity",
|
|
components: {},
|
|
data: () => {
|
|
return {
|
|
modelValue: 1,
|
|
}
|
|
},
|
|
props: {
|
|
min:{
|
|
default: 1,
|
|
type: Number,
|
|
},
|
|
max: {
|
|
default: 99,
|
|
type: Number,
|
|
},
|
|
xname:{
|
|
default: null,
|
|
type: null|String,
|
|
},
|
|
|
|
|
|
},
|
|
mounted() {
|
|
},
|
|
computed: {},
|
|
methods: {}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
#quantity {
|
|
direction: ltr;
|
|
border: 1px solid gray;
|
|
}
|
|
</style>
|