module/flk/themes/index/flk_order/confirm.js

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

var app=new Vue({
	el:"#app",
	data:function(){
		return {
			pageLoad:false,
			shopid:{},
			pageData:{},
			coupon_id:0,
			ksmClass:"",
			flkChoice:0,
			flkPrice:0,
			flkview:0,
			rules:{},
			flk_discount:0,
			sendtype:"",
			express_money:0,
			paymoney:0
		}
	},
	created:function(){
		this.getPage();
		$("#app").show();
		this.getRule();
	},
	methods:{
		getRule:function(){
			var that=this;
			$.ajax({
				url:"/module.php?m=flk&a=rule",
				dataType:"json",
				success:function(res){
					that.rules=res;
				}
			})
		},
		getPage:function(){
			var that=this;
			$.ajax({
				url:"/module.php?m=flk_order&a=confirm&ajax=1",
				data:{
					shopid:shopid
				},
				dataType:"json",
				success:function(res){
					that.pageData=res.data;
					that.pageLoad=true;
					that.coupon_id=res.data.coupon_id;
					that.shop=res.data.shop;
					that.flk_discount=parseInt(res.data.flk_discount*100)/100;
					that.pageData.account_money=parseInt(res.data.account_money*100)/100;
					that.sendtype=res.data.sendtype;
					that.express_money=parseInt(res.data.express_money*100)/100;
				}
			})
		},
		changeAddr:function(user_address_id){
			var that=this;
			$.ajax({
				url:"/module.php?m=flk_order&a=confirm&ajax=1",
				data:{
后面还有 30 行代码,购买后查看完整代码

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

AI 解读 AI

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

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