| 1234567891011121314151617181920212223242526272829303132 |
- <template>
- <view class="">
- <button @click="cityShow=!cityShow">打开</button>
- <city-select v-model="cityShow" @city-change="cityChange"></city-select>
- </view>
- </template>
- <script>
- import citySelect from './u-city-select.vue';
- export default {
- components: {
- citySelect
- },
- data() {
- return {
- cityShow:false
- };
- },
- onLoad() {
-
- },
- methods:{
- cityChange(e){
- console.log(e);
- }
- }
- };
- </script>
- <style lang="scss" scoped>
-
- </style>
|