module/flk/themes/index/flk_shoplist/index.js
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
var isFirst=true,per_page=0;
var App=new Vue({
el:"#App",
data:function(){
return {
pageLoad:false,
pageData:{},
catid:0,
tabSelectBox:"",
order:"",
sc_id:0,
filter:"",
scarea_label:"区域",
cat_label:"全部",
order_label:"排序",
choice_label:"筛选"
}
},
created:function(){
this.catid=catid;
this.getPage();
},
methods:{
goShop:function(shopid){
window.location="/module.php?m=flk_shop&shopid="+shopid
},
getPage:function(){
var that=this;
$.ajax({
url:"/module.php?m=flk_shoplist&a=list&ajax=1",
data:{
catid:that.catid,
filter:this.filter,
orderby:this.order,
sc_id:this.sc_id
},
dataType:"json",
success:function(res){
per_page=res.data.per_page;
isFirst=false;
that.pageData=res.data;
that.pageLoad=true;
}
})
},
getList:function(){
var that=this;
$.ajax({
url:"/module.php?m=flk_shoplist&a=list&ajax=1",
data:{
catid:that.catid,
filter:this.filter,
orderby:this.order,
sc_id:this.sc_id
},
dataType:"json",
success:function(res){
per_page=res.data.per_page;
that.pageData=res.data;
that.pageLoad=true;
后面还有 37 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。