|
|
|
|
@ -1095,17 +1095,17 @@ Page({
|
|
|
|
|
},
|
|
|
|
|
onReady() {
|
|
|
|
|
let that = this;
|
|
|
|
|
var query = wx.createSelectorQuery();
|
|
|
|
|
query.select(".navigatorBar").boundingClientRect();
|
|
|
|
|
query.exec(function (res) {
|
|
|
|
|
//res就是 所有标签为v1的元素的信息 的数组
|
|
|
|
|
console.log(res);
|
|
|
|
|
//取高度
|
|
|
|
|
console.log(res[0].height);
|
|
|
|
|
that.setData({
|
|
|
|
|
navigatorBarHeight: res[0].height,
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
// var query = wx.createSelectorQuery();
|
|
|
|
|
// query.select(".navigatorBar").boundingClientRect();
|
|
|
|
|
// query.exec(function (res) {
|
|
|
|
|
// //res就是 所有标签为v1的元素的信息 的数组
|
|
|
|
|
// console.log(res);
|
|
|
|
|
// //取高度
|
|
|
|
|
// console.log(res[0].height);
|
|
|
|
|
// that.setData({
|
|
|
|
|
// navigatorBarHeight: res[0].height,
|
|
|
|
|
// });
|
|
|
|
|
// });
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 智能匹配结束
|
|
|
|
|
@ -1476,17 +1476,17 @@ Page({
|
|
|
|
|
that.data.storeJobListSearchForm.pageNum = 1;
|
|
|
|
|
wx.setStorageSync("BILLFROM", "firstBill");
|
|
|
|
|
|
|
|
|
|
var query = wx.createSelectorQuery();
|
|
|
|
|
query.select(".toppic").boundingClientRect();
|
|
|
|
|
query.exec(function (res) {
|
|
|
|
|
//res就是 所有标签为v1的元素的信息 的数组
|
|
|
|
|
console.log(res);
|
|
|
|
|
//取高度
|
|
|
|
|
console.log(res[0].height);
|
|
|
|
|
that.setData({
|
|
|
|
|
swiperHeight: res[0].height,
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
// var query = wx.createSelectorQuery();
|
|
|
|
|
// query.select(".toppic").boundingClientRect();
|
|
|
|
|
// query.exec(function (res) {
|
|
|
|
|
// //res就是 所有标签为v1的元素的信息 的数组
|
|
|
|
|
// console.log(res);
|
|
|
|
|
// //取高度
|
|
|
|
|
// console.log(res[0].height);
|
|
|
|
|
// that.setData({
|
|
|
|
|
// swiperHeight: res[0].height,
|
|
|
|
|
// });
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
// wx.showTabBar({
|
|
|
|
|
// success(e) {},
|
|
|
|
|
|