Browse Source

no message

feature/v1.1.0
xpz2018 7 years ago
parent
commit
f6d9e00a8a
1 changed files with 2 additions and 6 deletions
  1. 8
      pages/activity_detail/activity_detail.js

8
pages/activity_detail/activity_detail.js

@ -276,17 +276,13 @@ Page({
},
// 图片加载
ruleImageLoad: function (image) {
var app = getApp();
console.log(image)
var imageHeight = app.gw.systemInfo.windowWidth / image.detail.width * image.detail.height;
var imageHeight = getApp().gw.systemInfo.windowWidth / image.detail.width * image.detail.height;
this.setData({
rule_image_height: imageHeight
})
},
detailImageLoad: function (image) {
var app = getApp();
console.log(image)
var imageHeight = app.gw.systemInfo.windowWidth / image.detail.width * image.detail.height;
var imageHeight = getApp().gw.systemInfo.windowWidth / image.detail.width * image.detail.height;
this.setData({
detail_image_height: imageHeight
})

Loading…
Cancel
Save