|
|
@@ -38,17 +38,24 @@
|
|
|
</checkbox>
|
|
|
</view>
|
|
|
<view>
|
|
|
- <u-button type="success" size="small" class="u-reset-button" :disabled="!checkListLen" >
|
|
|
+ <u-button type="success" size="small" class="u-reset-button" :disabled="!checkListLen">
|
|
|
<view class="selBtn"> 选择( {{ checkListLen }} ) </view>
|
|
|
</u-button>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
+ <ba-tree-picker ref="treePicker" key="verify" :multiple="false" @select-change="confirm" title="选择分类"
|
|
|
+ :localdata="classificationList" valueKey="id" textKey="name" childrenKey="children" />
|
|
|
+
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+ import baTreePicker from '@/components/ba-tree-picker/ba-tree-picker.vue'
|
|
|
export default {
|
|
|
+ components: {
|
|
|
+ baTreePicker
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
|
|
|
@@ -64,6 +71,8 @@
|
|
|
_seletedAll() {
|
|
|
this.seletedAll = !this.seletedAll
|
|
|
},
|
|
|
+
|
|
|
+ confirm() {},
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
@@ -108,10 +117,10 @@
|
|
|
height: 80rpx;
|
|
|
background: #fff;
|
|
|
padding: 0 32rpx;
|
|
|
-
|
|
|
+
|
|
|
/deep/ .uni-checkbox-input-checked {
|
|
|
background-color: $theme-color !important;
|
|
|
- border-color: $theme-color !important;
|
|
|
+ border-color: $theme-color !important;
|
|
|
}
|
|
|
}
|
|
|
</style>
|