Browse Source

----

featrue/v4.3
huziyuan 5 years ago
parent
commit
6048d39651
2 changed files with 5 additions and 3 deletions
  1. 6
      pages/article/newInfo/index.js
  2. 2
      pages/article/newInfo/index.wxml

6
pages/article/newInfo/index.js

@ -26,15 +26,17 @@ Component({
queryWay: 0, queryWay: 0,
priceSort:1 priceSort:1
}, },
factoryList:[]
factoryList:[],
scorllHeight:app.globalData.fragmentHeight
}, },
methods: { methods: {
onRestart: function () { onRestart: function () {
console.log(app.globalData.safeFragmentHeight)
console.log(app.globalData.fragmentHeight)
this.setData({ this.setData({
StatusBar: app.globalData.StatusBar || 40, StatusBar: app.globalData.StatusBar || 40,
CustomBar: app.globalData.CustomBar || (app.globalData.isIos ? 64 : 80), CustomBar: app.globalData.CustomBar || (app.globalData.isIos ? 64 : 80),
scorllHeight:app.globalData.fragmentHeight
}) })
this.data.querFrom.queryWay=0 this.data.querFrom.queryWay=0
this.getPaperMillOfInformationListFct(this.data.querFrom) this.getPaperMillOfInformationListFct(this.data.querFrom)

2
pages/article/newInfo/index.wxml

@ -32,7 +32,7 @@
</view> </view>
</view> </view>
<view style="width:100%;height:15rpx;"></view> <view style="width:100%;height:15rpx;"></view>
<scroll-view scroll-y="true" style='max-height:950rpx;width:100%;background-color:white'>
<scroll-view scroll-y="true" style='max-height:{{scorllHeight-266}}rpx;width:100%;background-color:white'>
<view class="zt"> <view class="zt">
<view class="flex flex-justify" style="width:100%;height:80rpx;lineheight:80rpx;font-size: 28px;color: rgba(0,0,0,0.65);letter-spacing: 0;padding: 0rpx 40rpx 0rpx 40rpx;"> <view class="flex flex-justify" style="width:100%;height:80rpx;lineheight:80rpx;font-size: 28px;color: rgba(0,0,0,0.65);letter-spacing: 0;padding: 0rpx 40rpx 0rpx 40rpx;">
<view class="text-df text-gray" style="flex:1.2;overflow: hidden;">纸厂名称</view> <view class="text-df text-gray" style="flex:1.2;overflow: hidden;">纸厂名称</view>

Loading…
Cancel
Save