Browse Source

no message

featrue/v4.5
xpz2018 4 years ago
parent
commit
ca3a4125cf
4 changed files with 6 additions and 6 deletions
  1. 1
      colorui/main.wxss
  2. 4
      pages/agent/order/index.js
  3. 5
      pages/agent/order/index.wxml
  4. 2
      pages/mall/fragment/index.wxml

1
colorui/main.wxss

@ -712,7 +712,6 @@ button.icon.lg {
font-size: 32rpx;
line-height: 60rpx;
cursor: none;
pointer-events: none;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;

4
pages/agent/order/index.js

@ -31,13 +31,15 @@ Page({
event.on('ProxyMessage', this, this.onEvent)
this.fetchOrderList()
},
backspace: function(){
wx.navigateBack()
},
onEvent: function (message) {
if (message.what == 400) {
this.onRefreshList()
}
},
searchOrder: function(){
console.length('searchOrder>>>>')
wx.navigateTo({url: `/pages/mall/search-list/index?tab=2` })
},
onRefreshList: function () {

5
pages/agent/order/index.wxml

@ -1,15 +1,14 @@
<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content" style="position: relative;">
<text>代卖订单</text>
<view style="position: absolute;right: 0px;top: 0px;padding: 0rpx 24rpx;" catchtap="searchOrder">
<text class="cuIcon-search text-blue"></text>
<view style="position: absolute;right: 0px;top: 8rpx;padding: 0rpx 24rpx;" catchtap="searchOrder">
<image src="/assets/image/icon-search.png" style="height: 40rpx;width: 40rpx;"></image>
</view>
</view>
</cu-custom>
<view class="bg-white" style="height: 90rpx;border-bottom: 1rpx solid #f3f3f3;">
<wux-tabi scroll="{{true}}" tab-data="{{tabList}}" disable="{{requesting}}" tab-index="{{tabIndex}}" bind:change="onTabChange"></wux-tabi>
</view>
<refresh-view bind:refresh="onRefreshList" height="{{height}}" triggered="{{requesting}}" scrollTop="{{top}}" bind:scrolltolower="fetchOrderList">

2
pages/mall/fragment/index.wxml

@ -20,7 +20,7 @@
</view>
<view class="top-bg" style="height: 24rpx;"></view>
<scroll-view scroll-y class="mian-list" style="height: {{height - 124}}rpx;">
<scroll-view scroll-y class="mian-list" style="height: {{height - customHeight}}rpx;">
<view wx:if="{{bannerList.length}}" style="height:270rpx;min-height: 270rpx;margin-top: 16rpx;">
<swiper class="screen-swiper" circular="{{true}}" indicator-dots="{{false}}" autoplay="true" interval="5000" duration="500">
<swiper-item wx:for="{{bannerList}}" wx:key="index">

Loading…
Cancel
Save