|
@@ -48,8 +48,8 @@
|
|
|
<view class="sortPopup">
|
|
|
<view class="sortList" v-for="(item, i) in sortList" :key="i" :class="isSortFlag == i ? 'sortChecked' : ''" @click="chooseSort(i)">{{ item.name }}</view>
|
|
|
<view class="butBox u-flex u-row-between">
|
|
|
- <u-button shape="circle" size="medium" @click="reset">重置</u-button>
|
|
|
- <u-button shape="circle" size="medium" type="primary" @click="handelSort">确定</u-button>
|
|
|
+ <u-button hover-class="none" shape="circle" size="medium" @click="reset">重置</u-button>
|
|
|
+ <u-button hover-class="none" :custom-style="customBtnStyle" shape="circle" size="medium" @click="handelSort">确定</u-button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</u-popup>
|
|
@@ -93,7 +93,13 @@ export default {
|
|
|
noDataText: '暂无数据',
|
|
|
status: 'loading',
|
|
|
totalNum: 0,
|
|
|
- total: 0
|
|
|
+ total: 0,
|
|
|
+ theme:'',
|
|
|
+ customBtnStyle: { // 自定义按钮样式
|
|
|
+ borderColor: this.$config('primaryColor'),
|
|
|
+ backgroundColor: this.$config('primaryColor'),
|
|
|
+ color: '#fff'
|
|
|
+ }
|
|
|
};
|
|
|
},
|
|
|
onLoad(options) {
|
|
@@ -198,6 +204,7 @@ export default {
|
|
|
ajaxData.orderBy = 'xvfp.not_stock_count desc,xp.code asc';
|
|
|
}
|
|
|
this.sortShow = false;
|
|
|
+ console.log('11111:',ajaxData);
|
|
|
this.loadData(ajaxData);
|
|
|
}
|
|
|
},
|
|
@@ -312,7 +319,7 @@ export default {
|
|
|
margin-top: 100rpx;
|
|
|
}
|
|
|
.sortChecked {
|
|
|
- background-color: #189dff;
|
|
|
+ background-color: rgb(0, 122, 255);
|
|
|
color: #ffffff;
|
|
|
}
|
|
|
}
|