|
|
@@ -4,7 +4,15 @@
|
|
|
<uni-nav-bar fixed="true" statusBar="true" left-icon="back" title="领料" background-color="#F7F9FA"
|
|
|
color="#404446" @clickLeft="back">
|
|
|
<block slot="right">
|
|
|
- <button @click="openSearch" class="search_btn">搜索</button>
|
|
|
+
|
|
|
+ <u-button
|
|
|
+ type="success"
|
|
|
+ size="small"
|
|
|
+ class="u-reset-button"
|
|
|
+ @click="openSearch"
|
|
|
+ text="搜索"
|
|
|
+ ></u-button>
|
|
|
+
|
|
|
</block>
|
|
|
</uni-nav-bar>
|
|
|
|
|
|
@@ -19,7 +27,23 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="bottom-wrapper">
|
|
|
- <view class="btn_box"></view>
|
|
|
+ <view class="btn_box rx-bc">
|
|
|
+ <view class="zdy_check rx-cc" @click='allChecked = !allChecked' :class="{ check_active : allChecked }">
|
|
|
+ <u-icon size="28" v-if='allChecked' name='checkbox-mark'></u-icon>
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ <view>
|
|
|
+ <u-button
|
|
|
+ type="success"
|
|
|
+ class="u-reset-button"
|
|
|
+ @click="openSearch"
|
|
|
+ text="确定添加"
|
|
|
+ ></u-button>
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ </view>
|
|
|
</view>
|
|
|
|
|
|
|
|
|
@@ -35,7 +59,7 @@
|
|
|
data() {
|
|
|
return {
|
|
|
|
|
|
- show: false,
|
|
|
+ allChecked: false,
|
|
|
searchFrom: {
|
|
|
keyWord: ''
|
|
|
}
|
|
|
@@ -45,7 +69,11 @@
|
|
|
|
|
|
scrolltolower() {},
|
|
|
|
|
|
- openSearch() {},
|
|
|
+ openSearch() {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages/pda/workOrder/search/index'
|
|
|
+ })
|
|
|
+ },
|
|
|
|
|
|
}
|
|
|
}
|
|
|
@@ -62,16 +90,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
- .search_btn {
|
|
|
- width: 120rpx;
|
|
|
- height: 70rpx;
|
|
|
- line-height: 70rpx;
|
|
|
- padding: 0 24rpx;
|
|
|
- background: $theme-color;
|
|
|
- font-size: 32rpx;
|
|
|
- color: #fff;
|
|
|
- margin: 0;
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
.list_box {
|
|
|
flex: 1;
|
|
|
@@ -84,8 +103,28 @@
|
|
|
}
|
|
|
|
|
|
.btn_box {
|
|
|
- width: 750rpx;
|
|
|
height: 112rpx;
|
|
|
background: #fff;
|
|
|
+ padding: 0 32rpx;
|
|
|
+
|
|
|
+ .zdy_check {
|
|
|
+ width: 30rpx;
|
|
|
+ height: 30rpx;
|
|
|
+ border: 2rpx solid #c8c9cc;
|
|
|
+ border-radius: 4rpx;
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .check_active {
|
|
|
+ background: $theme-color;
|
|
|
+ border: 2rpx solid $theme-color;
|
|
|
+
|
|
|
+ /deep/ .u-icon__icon {
|
|
|
+ color: #fff !important;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
</style>
|