Przeglądaj źródła

测试

测试不用命令行push
wanghuan 4 lat temu
rodzic
commit
c4a46a276e
1 zmienionych plików z 0 dodań i 48 usunięć
  1. 0 48
      pages/index/index.js

+ 0 - 48
pages/index/index.js

@@ -2,41 +2,12 @@ const app = getApp()
 var util = require("../../utils/util.js")
 Page({
 	data: {
-		pushCont: {
-			wc_showtime: '',
-			wct_frequency: '',
-			wc_type: ''
-		},
-		isSetstatus: false,
-		plindex: '-1',
-		touchStart: 0,
-		touchEnd: 0,
-		showmask: false,
-		bigimagecurrent: 0,
-		changeAnimation: 1, //1--开启动画,0--关闭动画
-		showAnimation: {}, //列表动画
-		autoplay: true,
-		interval: 5000,
 		duration: 500,
-		evaluateList: [],
-		evaluateListNew: [],
-		lastX: 0, //滑动开始x轴位置
-		lastY: 0, //滑动开始y轴位置
-		text: "没有滑动",
-		currentGesture: 0, //标识手势
-		animationData: {},
-		pmshow: false,
-		mode: "scaleToFill",
-		mktnum: undefined,
-		map: undefined,
 		latitude: undefined,
 		longitude: undefined,
 		name: undefined,
 		address: undefined,
-		trafficList: [],
 		arr: [],
-		eqArray: [],
-		pmArray: [],
 		mktarr: [],
 		mktList: [
 			"https://api.zhumi.tech/MiniProgram/mkt/mkt1.png",
@@ -48,27 +19,8 @@ Page({
 			"https://api.zhumi.tech/MiniProgram/mkt/mkt7.png"
 		],
 		mktImgage: "https://api.zhumi.tech/MiniProgram/mkt/mkt1.png",
-		leaseurl: undefined,
-		promotionurl: undefined,
-		userInfo: {},
-		hasUserInfo: false,
-		autoplayYPTJ: false,
-		indicatorDotsYPTJ: false,
-		circular: false,
-		canIUse: wx.canIUse('button.open-type.getUserInfo')
 	},
 	onLoad: function(options) {
-		if (options.skip == 1) {
-			if (options.para == null) {
-				wx.navigateTo({
-					url: options.path
-				})
-			} else {
-				wx.navigateTo({
-					url: options.path + '?para=' + options.para
-				})
-			}
-		}
 		this.init(options)
 	},
 	init(options) {