|
@@ -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) {
|