交易规则待接口

This commit is contained in:
2019-09-09 16:10:35 +08:00
parent 165bcbece0
commit 12be190601
3 changed files with 80 additions and 0 deletions

28
js/trade_rule.js Normal file
View File

@ -0,0 +1,28 @@
mui.plusReady(function(){
// some ajax
})
const app = new Vue({
el: '#app',
data() {
return {
ruleData: [
]
}
},
created() {
console.log("Vue")
},
methods: {
detail(index){
console.log(this.ruleData[index])
// some jump
}
},
mounted() {
// some ajax
this.ruleData = [
{id: 1, name: '这是一个名字', announced_at: "2019-07-06 18:00:01"},
{id: 2, name: '这是二个名字', announced_at: "2019-07-06 19:00:01"},
]
}
})