Browse Source

no message

featrue/v4.5
xpz2018 4 years ago
parent
commit
0347626531
2 changed files with 1 additions and 4 deletions
  1. 3
      pages/home/tab1/index.js
  2. 2
      pages/home/tab1/index.wxml

3
pages/home/tab1/index.js

@ -31,15 +31,12 @@ Page({
this.setData({ ['bidType']: tabIndex }) this.setData({ ['bidType']: tabIndex })
if (this.data.bidType == 1) { if (this.data.bidType == 1) {
this.data.identityTag = '打包厂' this.data.identityTag = '打包厂'
this.submitForm()
} }
if (this.data.bidType == 2) { if (this.data.bidType == 2) {
this.data.identityTag = '废品站' this.data.identityTag = '废品站'
this.submitForm()
} }
if (this.data.bidType == 3) { if (this.data.bidType == 3) {
this.data.identityTag = '废纸厂' this.data.identityTag = '废纸厂'
this.submitForm()
} }
}, },
submitForm: function () { submitForm: function () {

2
pages/home/tab1/index.wxml

@ -62,7 +62,7 @@
</view> </view>
</view> </view>
<view class="cu-bar bg-white foot" style="height:{{120 + safeBottom}}rpx;padding: 32rpx 32rpx {{safeBottom + 32}}rpx 32rpx;" wx:if="{{bidType == 4}}">
<view class="cu-bar bg-white foot" style="height:{{120 + safeBottom}}rpx;padding: 32rpx 32rpx {{safeBottom + 32}}rpx 32rpx;">
<view style="width:100%"> <view style="width:100%">
<wux-button block type="positive" bind:click="submitForm" disabled="{{requesting}}">提交</wux-button> <wux-button block type="positive" bind:click="submitForm" disabled="{{requesting}}">提交</wux-button>
</view> </view>
Loading…
Cancel
Save