You've already forked qlg.tsgz.moe
更新资源
This commit is contained in:
28
static/app2/js/trade_rule.js
Normal file
28
static/app2/js/trade_rule.js
Normal 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-09-09 18:09:01"},
|
||||
{id: 2, name: '待我来继续开发呢', announced_at: "2019-09-09 19:09:01"},
|
||||
]
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user