EP-WachatApp/eaterplanet_ecommerce/components/fixed-bottom/index.js

12 lines
163 B
JavaScript

var t = getApp();
Component({
data: {
isIpx: false
},
attached: function () {
t.globalData.isIpx && this.setData({
isIpx: true
});
}
});