|
@@ -1,5 +1,5 @@
|
|
|
<!--
|
|
|
- * @LastEditors: wangcc 1053578651@qq.com
|
|
|
+ * @LastEditors: wangcc
|
|
|
-->
|
|
|
<template>
|
|
|
<div class="pickerAddr u-flex">
|
|
@@ -188,23 +188,24 @@ export default {
|
|
|
label: val.label,
|
|
|
areaId: val.areaId
|
|
|
});
|
|
|
-
|
|
|
}
|
|
|
- this.parentId = val.value.substring(0, 6);
|
|
|
- this.name = level;
|
|
|
- this.$store.dispatch('searchArea', {
|
|
|
- parentId: this.parentId,
|
|
|
- name: val.label,
|
|
|
- mapLevel: level
|
|
|
- });
|
|
|
+ this.parentId = val.value.substring(0, 6);
|
|
|
+ this.name = level;
|
|
|
+ this.$store.dispatch('searchArea', {
|
|
|
+ parentId: this.parentId,
|
|
|
+ name: val.label,
|
|
|
+ mapLevel: level
|
|
|
+ });
|
|
|
},
|
|
|
provinceClick() {
|
|
|
// console.log('provinceClick','provinceClick');
|
|
|
this.$store.dispatch('searchArea', {
|
|
|
- ...this.selectProvince
|
|
|
+ ...this.selectProvince
|
|
|
});
|
|
|
- },
|
|
|
- getSelectModel() {}
|
|
|
+ this.changeSelectCity({});
|
|
|
+ this.changeSelectDistrict({});
|
|
|
+ this.changeSelectStreet({});
|
|
|
+ }
|
|
|
}
|
|
|
};
|
|
|
</script>
|
|
@@ -244,10 +245,15 @@ export default {
|
|
|
// height: 50px;
|
|
|
// line-height: 50px;
|
|
|
color: var(--main-color);
|
|
|
- background: linear-gradient(180deg, rgba(0,250,253,0.3) 0%, rgba(0,250,253,0) 54%, rgba(0,250,253,0.3) 100%);
|
|
|
-border-radius: 0px 0px 0px 0px;
|
|
|
-opacity: 0.9;
|
|
|
-border: 1px solid rgba(0,250,253,0.3);
|
|
|
+ background: linear-gradient(
|
|
|
+ 180deg,
|
|
|
+ rgba(0, 250, 253, 0.3) 0%,
|
|
|
+ rgba(0, 250, 253, 0) 54%,
|
|
|
+ rgba(0, 250, 253, 0.3) 100%
|
|
|
+ );
|
|
|
+ border-radius: 0px 0px 0px 0px;
|
|
|
+ opacity: 0.9;
|
|
|
+ border: 1px solid rgba(0, 250, 253, 0.3);
|
|
|
&::-webkit-input-placeholder {
|
|
|
color: var(--main-color);
|
|
|
}
|