themes/pc/coupon/index.js

(完整代码) 560B

var app=new Vue({
	el:"#App",
	data:function(){
		return {
			pageData:{},
			pageLoad:false
		}
	},
	created:function(){
		this.getPage();
	},
	methods:{
		
		getPage:function(){
			var that=this;
			$.ajax({
				url:"/index.php?m=coupon&ajax=1",
				dataType:"json",
				success:function(res){
					that.pageData=res.data;
					that.pageLoad=true;
				}
			})
		},
		getCoupon:function(id){
			$.ajax({
				url:"/index.php?m=coupon&a=getcoupon&ajax=1&id="+id,
				dataType:"json",
				success:function(res){
					skyToast(res.message);
				}
			})
		},
	}
})

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。