Commit 6b48b482 by chenwq

业务切换,排名错误bug

1 parent bf19caa2
...@@ -8,7 +8,10 @@ Component({ ...@@ -8,7 +8,10 @@ Component({
properties: { properties: {
orderObj: { orderObj: {
type: Object, type: Object,
value: () => { } value: () => { },
observer(n) {
this.dealStaffList()
}
}, },
}, },
...@@ -68,12 +71,6 @@ Component({ ...@@ -68,12 +71,6 @@ Component({
}] }]
}, },
lifetimes: {
attached() {
this.dealStaffList()
},
},
/** /**
* 组件的方法列表 * 组件的方法列表
*/ */
......
...@@ -128,6 +128,7 @@ ...@@ -128,6 +128,7 @@
.th, .th,
.td { .td {
width: calc((100% - 116rpx) / 4); width: calc((100% - 116rpx) / 4);
.icon-rank { .icon-rank {
width: 24rpx; width: 24rpx;
height: 24rpx; height: 24rpx;
...@@ -137,6 +138,13 @@ ...@@ -137,6 +138,13 @@
} }
} }
.tr-no-data {
text-align: center;
height: 32rpx;
line-height: 32rpx;
padding-bottom: 16rpx;
}
.btn-more { .btn-more {
height: 56rpx; height: 56rpx;
line-height: 56rpx; line-height: 56rpx;
......
...@@ -48,9 +48,7 @@ ...@@ -48,9 +48,7 @@
</block> </block>
<view wx:if="{{item.staffList.length}}" class="btn-more" bindtap="handleMore" data-idx="{{index}}">查看更多</view> <view wx:if="{{item.staffList.length}}" class="btn-more" bindtap="handleMore" data-idx="{{index}}">查看更多</view>
</view> </view>
<view class="tr" wx:else> <view class="tr-no-data" wx:else>暂无数据</view>
<view>暂无数据</view>
</view>
</view> </view>
</view> </view>
<!-- 诊断 --> <!-- 诊断 -->
...@@ -65,10 +63,6 @@ ...@@ -65,10 +63,6 @@
<view class="step-label">建议{{idx + 1}}</view> <view class="step-label">建议{{idx + 1}}</view>
<view class="step-txt">{{subItem}}</view> <view class="step-txt">{{subItem}}</view>
</view> </view>
<!-- <view class="suggest-step">
<view class="step-label">建议2</view>
<view class="step-txt">触达车主人数太少,建议与4S店关键人沟通注册员工的转发执行情况。</view>
</view> -->
</view> </view>
</view> </view>
</view> </view>
......
...@@ -36,10 +36,12 @@ ...@@ -36,10 +36,12 @@
</view> </view>
</view> </view>
</view> </view>
<view class="isFullSucreen btn" wx:if="{{sceneActive != 1}}"> <view wx:if="{{sceneActive != 1}}">
<view wx:if="{{ activityList[activityActive].productStatus != 2 && !merchantInfo.isSuper}}" class="btn-blue" bindtap="handleJump">点击开通</view> <view class="isFullSucreen btn" wx:if="{{ activityList[activityActive].productStatus != 2 && !merchantInfo.isSuper}}">
<view class="btn-blue" bindtap="handleJump">点击开通</view>
</view> </view>
<view class="isFullSucreen btn" wx:else> </view>
<view class="isFullSucreen btn" wx:if="{{sceneActive == 1}}">
<view class="btn-disabled">点击开通</view> <view class="btn-disabled">点击开通</view>
</view> </view>
</view> </view>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!