Browse Source

修复

featrue/v4.2
huziyuan 5 years ago
parent
commit
251083c9df
4 changed files with 33 additions and 29 deletions
  1. 8
      pages/home/attentionPaperList/index.wxml
  2. 2
      pages/home/index/index.js
  3. 26
      pages/home/tab4/index.wxml
  4. 26
      pages/home/tab5/index.wxml

8
pages/home/attentionPaperList/index.wxml

@ -20,10 +20,10 @@
</view>
<scroll-view scroll-y="true" style='height:500rpx;margin-top:15rpx'>
<view class="bg-white list-empty" style="height:{{height}}rpx" wx:if="{{!categoryListone.length}}">
<view class="load-spinner text-gray" style="margin-bottom:24px" wx:if="{{loading}}" />
<image class="img-empty" src="/assets/image/list_empty.png" wx:else></image>
<view class="text-empty">{{loading? '正在加载' : '暂无数据'}}</view>
</view>
<view class="load-spinner text-gray" style="margin-bottom:24px" wx:if="{{loading}}" />
<image class="img-empty" src="/assets/image/list_empty.png" wx:else></image>
<view class="text-empty">{{loading? '正在加载' : '暂无数据'}}</view>
</view>
<view class="bottom">
<view>
<checkbox-group bindchange="checkboxChange">

2
pages/home/index/index.js

@ -48,7 +48,7 @@ Component({
console.log(this.data.height)
if (app.globalData.userInfo && app.globalData.userInfo.memberExpiredAt) {
this.setData({
'userInfo.memberExpiredAt': app.globalData.userInfo.memberExpiredAt.memberExpiredAt
'userInfo.memberExpiredAt': app.globalData.userInfo.memberExpiredAt
})
}
}

26
pages/home/tab4/index.wxml

@ -18,18 +18,20 @@
<view class="mid">
<text>你希望采购的品类是?</text>
</view>
<view class="bottom">
<view>
<wux-accordion-group title="">
<checkbox-group bindchange="checkboxChange">
<wux-accordion wx:for="{{ categoryListone }}" wx:key="index" title="{{index+1+'、'+item.categoryName}}">
<checkbox class="interestthreecheckbox" style="width:100%;margin-top:30rpx" wx:for="{{ item.childCategoryDtoList }}" wx:for-item="cell" wx:key="index" value="{{cell.categoryId}}" checked="{{cell.isSelected}}">{{cell.categoryName}}</checkbox>
</wux-accordion>
</checkbox-group>
</wux-accordion-group>
<scroll-view scroll-y="true" style='height:500rpx;margin-top:15rpx'>
<view class="bottom">
<view>
<wux-accordion-group title="">
<checkbox-group bindchange="checkboxChange">
<wux-accordion wx:for="{{ categoryListone }}" wx:key="index" title="{{index+1+'、'+item.categoryName}}">
<checkbox class="interestthreecheckbox" style="width:100%;margin-top:30rpx" wx:for="{{ item.childCategoryDtoList }}" wx:for-item="cell" wx:key="index" value="{{cell.categoryId}}" checked="{{cell.isSelected}}">{{cell.categoryName}}</checkbox>
</wux-accordion>
</checkbox-group>
</wux-accordion-group>
</view>
</view>
</view>
<view style="width:100%;height:130rpx;padding-top:10rpx;padding-right:10rpx">
<button class="cu-btn offer-btn" disabled="{{loopRequesting}}" bindtap="submitForm">确认</button>
</scroll-view>
<view class="cu-bar bg-white foot" style="height:{{120 + safeBottom}}rpx;padding: 32rpx 32rpx {{safeBottom + 32}}rpx 32rpx;">
<button class="cu-btn bg-red round shadow-blur page-btn" bindtap="submitForm">确认</button>
</view>
</view>

26
pages/home/tab5/index.wxml

@ -18,18 +18,20 @@
<view class="mid">
<text>你希望卖品类是?</text>
</view>
<view class="bottom">
<view>
<wux-accordion-group title="">
<checkbox-group bindchange="checkboxChange">
<wux-accordion wx:for="{{ categoryListone }}" wx:key="index" title="{{index+1+'、'+item.categoryName}}">
<checkbox class="interestthreecheckbox" style="width:100%;margin-top:30rpx" wx:for="{{ item.childCategoryDtoList }}" wx:for-item="cell" wx:key="index" value="{{cell.categoryId}}" checked="{{cell.isSelected}}">{{cell.categoryName}}</checkbox>
</wux-accordion>
</checkbox-group>
</wux-accordion-group>
<scroll-view scroll-y="true" style='height:500rpx;margin-top:15rpx'>
<view class="bottom">
<view>
<wux-accordion-group title="">
<checkbox-group bindchange="checkboxChange">
<wux-accordion wx:for="{{ categoryListone }}" wx:key="index" title="{{index+1+'、'+item.categoryName}}">
<checkbox class="interestthreecheckbox" style="width:100%;margin-top:30rpx" wx:for="{{ item.childCategoryDtoList }}" wx:for-item="cell" wx:key="index" value="{{cell.categoryId}}" checked="{{cell.isSelected}}">{{cell.categoryName}}</checkbox>
</wux-accordion>
</checkbox-group>
</wux-accordion-group>
</view>
</view>
</view>
<view style="width:100%;height:130rpx;padding-top:10rpx;padding-right:10rpx">
<button class="cu-btn offer-btn" disabled="{{loopRequesting}}" bindtap="submitForm">确认</button>
</scroll-view>
<view class="cu-bar bg-white foot" style="height:{{120 + safeBottom}}rpx;padding: 32rpx 32rpx {{safeBottom + 32}}rpx 32rpx;">
<button class="cu-btn bg-red round shadow-blur page-btn" bindtap="submitForm">确认</button>
</view>
</view>
Loading…
Cancel
Save