Page Title
*{
padding:0;
margin:0;
}
html,
body {
overflow: auto;
background-color: #f7f8fa;
}
设置店铺折扣率
{{shi}}
.
{{ge}}
折
const citys ={'1': ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],'2': ['2'],'3': ['3'],'4': ['4'],'5': ['5'],'6': ['6'],'7': ['7'],'8': ['8'],'9': ['9'],
};
let vm= newVue({
el:"#app",
data: {
shi:"",
ge:"",
show:true,
columns: [
{
values: Object.keys(citys),
className:'column1'},
{
values: citys['1'],
className:'column2'}
]
},
template:"#first", //通过该属性可以将自定义的template属性中的内容全部替换app的内容,并且会覆盖里面原有的内容,并且在查看dom结构时没有template标签
methods: {//切换tab
xian() {this.show = true;
},
onCancel() {
}, onConfirm() { }
, onChange() { }
},
mounted() {
}, destroyed() {
},
});