Browse Source

no message

feature/v1.4
xpz2018 4 years ago
parent
commit
a55ad74873
3 changed files with 5 additions and 7 deletions
  1. 2
      pages/agent/factory-detail/index.js
  2. 4
      pages/htmls/banner/index.js
  3. 6
      pages/htmls/banner/index.wxml

2
pages/agent/factory-detail/index.js

@ -134,7 +134,7 @@ Scene({
userPushFollowMill(model).then(res => {
this.setData({ hasFollowed: model.follow })
wx.hideLoading()
event.emit('EventMessage', { what: 1101, desc: 'factoryDetails' })
event.emit('EventMessage', { what: 110, desc: 'factoryDetails' })
}).catch(err => {
wx.hideLoading()
util.showToast(err)

4
pages/htmls/banner/index.js

@ -20,7 +20,6 @@ Scene({
wx.navigateBack()
return
}
wx.showLoading({ title: '处理中', mask: true })
this.setData({
fheight: app.globalData.fragmentHeight,
height: app.globalData.fragmentHeight,
@ -35,9 +34,8 @@ Scene({
var height = parseInt(math.divide(detail.height, radio))
this.setData({ height })
}
wx.hideLoading()
},
backPage() {
backPage: function() {
wx.navigateBack()
}
})

6
pages/htmls/banner/index.wxml

@ -1,14 +1,14 @@
<!--pages/message/detail/index.wxml-->
<view class="cu-bar fixed" style="height:{{CustomBar}}px;padding-top:{{StatusBar}}rpx;border-bottom: 0rpx solid #eee">
<view class="cu-bar fixed" style="height:{{CustomBar}}px;padding-top:{{StatusBar}}rpx;box-shadow:none">
<view class="action" bindtap="backPage">
<text class="weui_goback" style="color:white"></text>
</view>
</view>
<wux-image width="750rpx" height="{{height}}rpx" src="{{src}}" fit="fill" bind:load="onImageLoad">
<van-image width="750rpx" height="{{height}}rpx" src="{{src}}" fit="fill" bind:load="onImageLoad">
<view class="flex flex-center" slot="loading" style="height:{{fheight}}rpx;width:750rpx">
<van-loading type="spinner" size="32" />
</view>
</wux-image>
</van-image>
<notification id="qn-notification"/>
Loading…
Cancel
Save