12345678910111213141516171819202122232425262728293031323334353637 |
- <template>
- <view class="container">
- <view>定位</view>
- <citySelect @back_city="back_city"></citySelect>
- </view>
- </template>
- <script>
- import citySelect from '@/components/linzq-citySelect/linzq-citySelect.vue';
- export default {
- components: {
- citySelect
- },
- data() {
- return {
- }
- },
- methods: {
- back_city(e) {
- if (e !== 'no') {
- this.region = e.cityName
- this.$refs.popupRef.close();
- } else {
- this.$refs.popupRef.close();
- }
- }
- }
- }
- </script>
- <style>
- .container {
- padding: 20px;
- font-size: 14px;
- line-height: 24px;
- }
- </style>
|