module/flk/themes/shop/flk_order/index.js
(完整代码) 834B
var app=new Vue({
el:"#app",
data:function(){
return {
pageData:[],
type:type
}
},
created:function(){
this.getPage();
$("#app").show();
},
methods:{
getPage:function(){
var that=this;
$.ajax({
url:"/moduleshop.php?m=flk_order&ajax=1",
data:{
type:that.type
},
dataType:"json",
success:function(res){
that.pageData=res.data;
}
})
},
goOrder:function(orderid){
window.location="/moduleshop.php?m=flk_order&a=show&orderid="+orderid
},
setType:function(t){
this.type=t;
this.getPage();
},
pay:function(orderid){
$.ajax({
url:"/moduleshop.php?m=flk_order&a=pay&ajax=1&orderid="+orderid,
dataType:"json",
success:function(res){
window.location=res.data.payurl;
}
})
}
}
});
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。