作者 wumengyu

去掉发布定位,改为手动输入地址(非必填),添加城市下拉列表

@@ -18,6 +18,7 @@ Page({ @@ -18,6 +18,7 @@ Page({
18 date:'', 18 date:'',
19 time:'', 19 time:'',
20 address:'', 20 address:'',
  21 + address1:'',
21 address_position:'', 22 address_position:'',
22 over_time:'', 23 over_time:'',
23 is_showRelease_modal:false, 24 is_showRelease_modal:false,
@@ -65,30 +66,34 @@ Page({ @@ -65,30 +66,34 @@ Page({
65 inputAddress(e) { 66 inputAddress(e) {
66 this.setData({address:e.detail.value}) 67 this.setData({address:e.detail.value})
67 }, 68 },
68 - //获取地址  
69 - choosePosition() {  
70 - //选择当前地址,经纬度  
71 - const self = this;  
72 - wx.chooseLocation({  
73 - success(res) {  
74 - // console.log(res);  
75 - self.setData({address_position: res.address !== ''?res.address:res.name,latng:res.latitude + ',' + res.longitude})  
76 - },  
77 - })  
78 - //打开地图导航  
79 - // wx.getLocation({ //获取当前经纬度  
80 - // type: 'wgs84', //返回可以用于wx.openLocation的经纬度,官方提示bug: iOS 6.3.30 type 参数不生效,只会返回 wgs84 类型的坐标信息  
81 - // success: function (res) {  
82 - // console.log('获取当前经纬度', res);  
83 - // wx.openLocation({//​使用微信内置地图查看位置。  
84 - // latitude: res.latitude,//要去的纬度-地址  
85 - // longitude: res.longitude,//要去的经度-地址  
86 - // name: "",  
87 - // address: ""  
88 - // })  
89 - // }  
90 - // }) 69 + //输入地址
  70 + inputAddr(e) {
  71 + this.setData({address1:e.detail.value})
91 }, 72 },
  73 + //获取地址
  74 + // choosePosition() {
  75 + // //选择当前地址,经纬度
  76 + // const self = this;
  77 + // wx.chooseLocation({
  78 + // success(res) {
  79 + // // console.log(res);
  80 + // self.setData({address_position: res.address !== ''?res.address:res.name,latng:res.latitude + ',' + res.longitude})
  81 + // },
  82 + // })
  83 + // //打开地图导航
  84 + // // wx.getLocation({ //获取当前经纬度
  85 + // // type: 'wgs84', //返回可以用于wx.openLocation的经纬度,官方提示bug: iOS 6.3.30 type 参数不生效,只会返回 wgs84 类型的坐标信息
  86 + // // success: function (res) {
  87 + // // console.log('获取当前经纬度', res);
  88 + // // wx.openLocation({//​使用微信内置地图查看位置。
  89 + // // latitude: res.latitude,//要去的纬度-地址
  90 + // // longitude: res.longitude,//要去的经度-地址
  91 + // // name: "",
  92 + // // address: ""
  93 + // // })
  94 + // // }
  95 + // // })
  96 + // },
92 //输入截止时间 97 //输入截止时间
93 inputOverTime(e) { 98 inputOverTime(e) {
94 this.setData({over_time:e.detail.value}); 99 this.setData({over_time:e.detail.value});
@@ -109,20 +114,28 @@ Page({ @@ -109,20 +114,28 @@ Page({
109 // } 114 // }
110 // console.log(this.data.over_time.indexOf('.') !== -1); 115 // console.log(this.data.over_time.indexOf('.') !== -1);
111 }, 116 },
112 - //获取分类 117 + //获取分类、城市
113 getType() { 118 getType() {
114 let url = '/portal/Send/select'; 119 let url = '/portal/Send/select';
115 const list = []; 120 const list = [];
  121 + const list1 = [];
116 app.post(url, {}, {}).then((res) => { 122 app.post(url, {}, {}).then((res) => {
117 // console.log('获取分类', res); 123 // console.log('获取分类', res);
118 res.data.active.forEach((item) => { 124 res.data.active.forEach((item) => {
119 list.push(item.name) 125 list.push(item.name)
120 }); 126 });
121 - this.setData({type_picker_list: list,type_list: res.data.active}) 127 + res.data.addr.forEach((item) => {
  128 + list1.push(item.title)
  129 + });
  130 + this.setData({type_picker_list: list,type_list: res.data.active,city_picker_list: list1,city_list: res.data.addr})
  131 +
122 }) 132 })
123 }, 133 },
124 //确定发布 134 //确定发布
125 confirmRelease(e) { 135 confirmRelease(e) {
  136 + // else if(this.data.address_position === '') {
  137 + // wx.showToast({title:'请定位地址',icon:'none'})
  138 + // }
126 // console.log('e', e,e.detail.formId,'最高人数',this.data.max_num); 139 // console.log('e', e,e.detail.formId,'最高人数',this.data.max_num);
127 if(this.data.title === '') { 140 if(this.data.title === '') {
128 wx.showToast({title:'请填写标题',icon:'none'}) 141 wx.showToast({title:'请填写标题',icon:'none'})
@@ -136,14 +149,14 @@ Page({ @@ -136,14 +149,14 @@ Page({
136 wx.showToast({title:'请填写最高人数',icon:'none'}) 149 wx.showToast({title:'请填写最高人数',icon:'none'})
137 }else if(this.data.current_type === undefined) { 150 }else if(this.data.current_type === undefined) {
138 wx.showToast({title:'请选择类别',icon:'none'}) 151 wx.showToast({title:'请选择类别',icon:'none'})
  152 + }else if(this.data.current_city === undefined) {
  153 + wx.showToast({title:'请选择城市',icon:'none'})
139 }else if(this.data.date === '') { 154 }else if(this.data.date === '') {
140 wx.showToast({title:'请选择日期',icon:'none'}) 155 wx.showToast({title:'请选择日期',icon:'none'})
141 }else if(this.data.time === '') { 156 }else if(this.data.time === '') {
142 wx.showToast({title:'请选择时间',icon:'none'}) 157 wx.showToast({title:'请选择时间',icon:'none'})
143 }else if(this.data.address === '') { 158 }else if(this.data.address === '') {
144 wx.showToast({title:'请填写地点',icon:'none'}) 159 wx.showToast({title:'请填写地点',icon:'none'})
145 - }else if(this.data.address_position === '') {  
146 - wx.showToast({title:'请定位地址',icon:'none'})  
147 }else if(this.data.over_time === '') { 160 }else if(this.data.over_time === '') {
148 wx.showToast({title:'请填写截止时间',icon:'none'}) 161 wx.showToast({title:'请填写截止时间',icon:'none'})
149 }else { 162 }else {
@@ -170,9 +183,11 @@ Page({ @@ -170,9 +183,11 @@ Page({
170 time: this.data.date + ' ' + this.data.time, 183 time: this.data.date + ' ' + this.data.time,
171 addr: this.data.address, 184 addr: this.data.address,
172 address: this.data.address_position, 185 address: this.data.address_position,
173 - latng: this.data.latng, 186 + latng: '',
174 over_time:this.data.over_time,// 报名截止时间 187 over_time:this.data.over_time,// 报名截止时间
175 formId: e.detail.formId, 188 formId: e.detail.formId,
  189 + choose_addr: this.data.city_list[this.data.current_city].title,
  190 + choose_addr_id:this.data.city_list[this.data.current_city].id,
176 }; 191 };
177 app.post(url, params, {}).then((res) => { 192 app.post(url, params, {}).then((res) => {
178 console.log('确定发布', res); 193 console.log('确定发布', res);
@@ -298,6 +313,10 @@ Page({ @@ -298,6 +313,10 @@ Page({
298 bindTypeChange(e) { 313 bindTypeChange(e) {
299 this.setData({current_type: +e.detail.value}) 314 this.setData({current_type: +e.detail.value})
300 }, 315 },
  316 + //选择城市
  317 + bindCityChange(e) {
  318 + this.setData({current_city: +e.detail.value})
  319 + },
301 //选择时间 320 //选择时间
302 bindTimeChange(e) { 321 bindTimeChange(e) {
303 this.setData({time:e.detail.value,hour:e.detail.value.split(':')[0],minute: e.detail.value.split(':')[1]}) 322 this.setData({time:e.detail.value,hour:e.detail.value.split(':')[0],minute: e.detail.value.split(':')[1]})
@@ -47,6 +47,15 @@ @@ -47,6 +47,15 @@
47 </picker> 47 </picker>
48 <text class="iconfont icon-xiangxia min-icon"></text> 48 <text class="iconfont icon-xiangxia min-icon"></text>
49 </view> 49 </view>
  50 + <view class="min-num">
  51 + <text class="title type-title">城市</text>
  52 + <picker bindchange="bindCityChange" value="{{current_city}}" range="{{city_picker_list}}" class="picker">
  53 + <view class="input">
  54 + <text class="variety-text">{{city_picker_list[current_city]}}</text>
  55 + </view>
  56 + </picker>
  57 + <text class="iconfont icon-xiangxia min-icon"></text>
  58 + </view>
50 <view class="time-box"> 59 <view class="time-box">
51 <text class="time-title">时间</text> 60 <text class="time-title">时间</text>
52 <picker mode='date' bindchange="bindDateChange" value='{{date}}' start="{{start_date}}" 61 <picker mode='date' bindchange="bindDateChange" value='{{date}}' start="{{start_date}}"
@@ -84,11 +93,11 @@ @@ -84,11 +93,11 @@
84 <text class="address-title">地点</text> 93 <text class="address-title">地点</text>
85 <input type="text" bindinput="inputAddress" class="input"/> 94 <input type="text" bindinput="inputAddress" class="input"/>
86 </view> 95 </view>
87 - <view class="address-box" bindtap="choosePosition"> 96 + <view class="address-box">
88 <text class="address-title">地址</text> 97 <text class="address-title">地址</text>
89 - <text class="input">{{address_position}}</text>  
90 - <!--<input type="text" bindinput="inputPosition" value="" class="input"/>-->  
91 - <text class="iconfont icon-location"></text> 98 + <input type="text" value="" class="input" bindinput="inputAddr"/>
  99 + <!--<text class="input">{{address_position}}</text>-->
  100 + <!--<text class="iconfont icon-location"></text>-->
92 </view> 101 </view>
93 <view class="time-limit"> 102 <view class="time-limit">
94 <text class="limit-title">活动前</text> 103 <text class="limit-title">活动前</text>
@@ -236,7 +236,7 @@ Page({ @@ -236,7 +236,7 @@ Page({
236 "token": wx.getStorageSync('token') 236 "token": wx.getStorageSync('token')
237 }; 237 };
238 app.post(url, params, {}).then((res) => { 238 app.post(url, params, {}).then((res) => {
239 - // console.log('获取详情', res, app.initTime(res.data.active.surplus)); 239 + console.log('获取详情', res, app.initTime(res.data.active.surplus));
240 if (+res.code === 1) { 240 if (+res.code === 1) {
241 self.setData({ 241 self.setData({
242 detail: res.data.active, 242 detail: res.data.active,
@@ -98,9 +98,10 @@ @@ -98,9 +98,10 @@
98 <text>类别:{{detail.selectName}}</text> 98 <text>类别:{{detail.selectName}}</text>
99 <text>时间:{{end_time}}</text> 99 <text>时间:{{end_time}}</text>
100 <text>地点:{{detail.name}}</text> 100 <text>地点:{{detail.name}}</text>
101 - <view class="position" bindtap="getNavigate"> 101 + <!--<view class="position" bindtap="getNavigate">-->
  102 + <view class="position" wx:if="{{detail.address !== ''}}">
102 <text class="address">地址:{{detail.address}}</text> 103 <text class="address">地址:{{detail.address}}</text>
103 - <text class="iconfont icon-location"></text> 104 + <!--<text class="iconfont icon-location"></text>-->
104 </view> 105 </view>
105 </view> 106 </view>
106 107
@@ -235,7 +235,7 @@ Page({ @@ -235,7 +235,7 @@ Page({
235 "token": wx.getStorageSync('token') 235 "token": wx.getStorageSync('token')
236 }; 236 };
237 app.post(url, params, {}).then((res) => { 237 app.post(url, params, {}).then((res) => {
238 - // console.log('获取详情', res); 238 + console.log('获取详情', res);
239 if (+res.code === 1) { 239 if (+res.code === 1) {
240 self.setData({ 240 self.setData({
241 detail: res.data.active, 241 detail: res.data.active,
@@ -86,9 +86,6 @@ @@ -86,9 +86,6 @@
86 </view> 86 </view>
87 <view class="area-content"> 87 <view class="area-content">
88 <text>{{detail.content}}</text> 88 <text>{{detail.content}}</text>
89 - <!--云峰山风景区坐落于密云水库北不老屯镇,燕落村北三公里,处于-->  
90 - <!--密云区东西两大风景区之间,东靠密云古北口 ──司马台长城──-->  
91 - <!--雾灵山风景区。-->  
92 </view> 89 </view>
93 </view> 90 </view>
94 91
@@ -96,13 +93,12 @@ @@ -96,13 +93,12 @@
96 <view class="detail-box"> 93 <view class="detail-box">
97 <text>时间:{{end_time}}</text> 94 <text>时间:{{end_time}}</text>
98 <text>餐厅:{{detail.name}}</text><!--餐厅--> 95 <text>餐厅:{{detail.name}}</text><!--餐厅-->
99 - <view class="position" bindtap="getNavigate">  
100 - <text class="address">地址:{{detail.address}}</text><!--地址:-->  
101 - <!--侨福芳草地B2 OPERA BOMBANA-->  
102 - <text class="iconfont icon-location"></text> 96 + <!--<view class="position" bindtap="getNavigate">-->
  97 + <view class="position" wx:if="{{detail.address !== ''}}">
  98 + <text class="address">地址:{{detail.address}}</text>
  99 + <!--<text class="iconfont icon-location"></text>-->
103 </view> 100 </view>
104 <text>菜系:{{detail.selectName}}</text> 101 <text>菜系:{{detail.selectName}}</text>
105 - <!--意大利菜-->  
106 </view> 102 </view>
107 103
108 <!--已加入人员--> 104 <!--已加入人员-->
@@ -9,6 +9,7 @@ Page({ @@ -9,6 +9,7 @@ Page({
9 images: [], 9 images: [],
10 images_params:[], 10 images_params:[],
11 type_picker_list:[], 11 type_picker_list:[],
  12 + city_picker_list:[],
12 start_date:app.nowDate(), 13 start_date:app.nowDate(),
13 start_time:'', 14 start_time:'',
14 title:'', 15 title:'',
@@ -18,6 +19,7 @@ Page({ @@ -18,6 +19,7 @@ Page({
18 date:'', 19 date:'',
19 time:'', 20 time:'',
20 address:'', 21 address:'',
  22 + address1:'',
21 address_position:'', 23 address_position:'',
22 over_time:'', 24 over_time:'',
23 is_showRelease_modal:false, 25 is_showRelease_modal:false,
@@ -58,48 +60,60 @@ Page({ @@ -58,48 +60,60 @@ Page({
58 this.setData({max_num:''}); 60 this.setData({max_num:''});
59 } 61 }
60 }, 62 },
61 - //输入地点 63 + //输入餐厅
62 inputAddress(e) { 64 inputAddress(e) {
63 this.setData({address:e.detail.value}) 65 this.setData({address:e.detail.value})
64 }, 66 },
65 - //获取地址  
66 - choosePosition() {  
67 - //选择当前地址,经纬度  
68 - const self = this;  
69 - wx.chooseLocation({  
70 - success(res) {  
71 - console.log(res);  
72 - self.setData({address_position: res.address !== ''?res.address:res.name,latng:res.latitude + ',' + res.longitude})  
73 - },  
74 - })  
75 - //打开地图导航  
76 - // wx.getLocation({ //获取当前经纬度  
77 - // type: 'wgs84', //返回可以用于wx.openLocation的经纬度,官方提示bug: iOS 6.3.30 type 参数不生效,只会返回 wgs84 类型的坐标信息  
78 - // success: function (res) {  
79 - // console.log('获取当前经纬度', res);  
80 - // wx.openLocation({//​使用微信内置地图查看位置。  
81 - // latitude: res.latitude,//要去的纬度-地址  
82 - // longitude: res.longitude,//要去的经度-地址  
83 - // name: "",  
84 - // address: ""  
85 - // })  
86 - // }  
87 - // }) 67 + //输入地址
  68 + inputAddr(e) {
  69 + this.setData({address1:e.detail.value})
88 }, 70 },
  71 + //获取地址
  72 + // choosePosition() {
  73 + // //选择当前地址,经纬度
  74 + // const self = this;
  75 + // wx.chooseLocation({
  76 + // success(res) {
  77 + // console.log(res);
  78 + // self.setData({address_position: res.address !== ''?res.address:res.name,latng:res.latitude + ',' + res.longitude})
  79 + // },
  80 + // })
  81 + // //打开地图导航
  82 + // // wx.getLocation({ //获取当前经纬度
  83 + // // type: 'wgs84', //返回可以用于wx.openLocation的经纬度,官方提示bug: iOS 6.3.30 type 参数不生效,只会返回 wgs84 类型的坐标信息
  84 + // // success: function (res) {
  85 + // // console.log('获取当前经纬度', res);
  86 + // // wx.openLocation({//​使用微信内置地图查看位置。
  87 + // // latitude: res.latitude,//要去的纬度-地址
  88 + // // longitude: res.longitude,//要去的经度-地址
  89 + // // name: "",
  90 + // // address: ""
  91 + // // })
  92 + // // }
  93 + // // })
  94 + // },
89 //获取分类 95 //获取分类
  96 + //获取分类、城市
90 getType() { 97 getType() {
91 let url = '/portal/Send/select'; 98 let url = '/portal/Send/select';
92 const list = []; 99 const list = [];
  100 + const list1 = [];
93 app.post(url, {}, {}).then((res) => { 101 app.post(url, {}, {}).then((res) => {
94 - // console.log('获取分类', res); 102 + console.log('获取分类', res);
95 res.data.meals.forEach((item) => { 103 res.data.meals.forEach((item) => {
96 list.push(item.name) 104 list.push(item.name)
97 }); 105 });
98 - this.setData({type_picker_list: list,type_list: res.data.meals}) 106 + res.data.addr.forEach((item) => {
  107 + list1.push(item.title)
  108 + });
  109 + this.setData({type_picker_list: list,type_list: res.data.meals,city_picker_list: list1,city_list: res.data.addr})
99 }) 110 })
100 }, 111 },
101 //确定发布 112 //确定发布
102 confirmRelease(e) { 113 confirmRelease(e) {
  114 + // else if(this.data.address_position === '') {
  115 + // wx.showToast({title:'请定位地址',icon:'none'})
  116 + // }
103 if(this.data.title === '') { 117 if(this.data.title === '') {
104 wx.showToast({title:'请填写标题',icon:'none'}) 118 wx.showToast({title:'请填写标题',icon:'none'})
105 }else if(this.data.content === '') { 119 }else if(this.data.content === '') {
@@ -112,14 +126,14 @@ Page({ @@ -112,14 +126,14 @@ Page({
112 wx.showToast({title:'请填写最高人数',icon:'none'}) 126 wx.showToast({title:'请填写最高人数',icon:'none'})
113 }else if(this.data.current_type === undefined) { 127 }else if(this.data.current_type === undefined) {
114 wx.showToast({title:'请选择类别',icon:'none'}) 128 wx.showToast({title:'请选择类别',icon:'none'})
  129 + }else if(this.data.current_city === undefined) {
  130 + wx.showToast({title:'请选择城市',icon:'none'})
115 }else if(this.data.date === '') { 131 }else if(this.data.date === '') {
116 wx.showToast({title:'请选择日期',icon:'none'}) 132 wx.showToast({title:'请选择日期',icon:'none'})
117 }else if(this.data.time === '') { 133 }else if(this.data.time === '') {
118 wx.showToast({title:'请选择时间',icon:'none'}) 134 wx.showToast({title:'请选择时间',icon:'none'})
119 }else if(this.data.address === '') { 135 }else if(this.data.address === '') {
120 wx.showToast({title:'请填写餐厅',icon:'none'}) 136 wx.showToast({title:'请填写餐厅',icon:'none'})
121 - }else if(this.data.address_position === '') {  
122 - wx.showToast({title:'请定位地址',icon:'none'})  
123 }else if(this.data.over_time === '') { 137 }else if(this.data.over_time === '') {
124 wx.showToast({title:'请填写截止时间',icon:'none'}) 138 wx.showToast({title:'请填写截止时间',icon:'none'})
125 }else { 139 }else {
@@ -147,9 +161,11 @@ Page({ @@ -147,9 +161,11 @@ Page({
147 time: this.data.date + ' ' + this.data.time, 161 time: this.data.date + ' ' + this.data.time,
148 name: this.data.address, 162 name: this.data.address,
149 address: this.data.address_position, 163 address: this.data.address_position,
150 - latng: this.data.latng, 164 + latng: '',
151 over_time:this.data.over_time,// 报名截止时间 165 over_time:this.data.over_time,// 报名截止时间
152 formId: e.detail.formId, 166 formId: e.detail.formId,
  167 + choose_addr: this.data.city_list[this.data.current_city].title,
  168 + choose_addr_id:this.data.city_list[this.data.current_city].id,
153 }; 169 };
154 var list = []; 170 var list = [];
155 app.post(url, params, {}).then((res) => { 171 app.post(url, params, {}).then((res) => {
@@ -271,6 +287,10 @@ Page({ @@ -271,6 +287,10 @@ Page({
271 bindTypeChange(e) { 287 bindTypeChange(e) {
272 this.setData({current_type: +e.detail.value}) 288 this.setData({current_type: +e.detail.value})
273 }, 289 },
  290 + //选择城市
  291 + bindCityChange(e) {
  292 + this.setData({current_city: +e.detail.value})
  293 + },
274 //选择时间 294 //选择时间
275 bindTimeChange(e) { 295 bindTimeChange(e) {
276 this.setData({time:e.detail.value,hour:e.detail.value.split(':')[0],minute: e.detail.value.split(':')[1]}) 296 this.setData({time:e.detail.value,hour:e.detail.value.split(':')[0],minute: e.detail.value.split(':')[1]})
@@ -48,7 +48,7 @@ @@ -48,7 +48,7 @@
48 <!--</view>--> 48 <!--</view>-->
49 <view class="min-num"> 49 <view class="min-num">
50 <text class="title type-title">类别</text> 50 <text class="title type-title">类别</text>
51 - <picker bindchange="bindTypeChange" value="{{current_sex}}" range="{{type_picker_list}}" class="picker"> 51 + <picker bindchange="bindTypeChange" value="{{current_type}}" range="{{type_picker_list}}" class="picker">
52 <view class="input"> 52 <view class="input">
53 <text class="variety-text">{{type_picker_list[current_type]}}</text> 53 <text class="variety-text">{{type_picker_list[current_type]}}</text>
54 <!--<text class="variety-text" wx:else>{{pet_info.sex===2?'MM':'GG'}}</text>--> 54 <!--<text class="variety-text" wx:else>{{pet_info.sex===2?'MM':'GG'}}</text>-->
@@ -57,6 +57,15 @@ @@ -57,6 +57,15 @@
57 </picker> 57 </picker>
58 <text class="iconfont icon-xiangxia min-icon"></text> 58 <text class="iconfont icon-xiangxia min-icon"></text>
59 </view> 59 </view>
  60 + <view class="min-num">
  61 + <text class="title type-title">城市</text>
  62 + <picker bindchange="bindCityChange" value="{{current_city}}" range="{{city_picker_list}}" class="picker">
  63 + <view class="input">
  64 + <text class="variety-text">{{city_picker_list[current_city]}}</text>
  65 + </view>
  66 + </picker>
  67 + <text class="iconfont icon-xiangxia min-icon"></text>
  68 + </view>
60 <view class="time-box"> 69 <view class="time-box">
61 <text class="time-title">时间</text> 70 <text class="time-title">时间</text>
62 <picker mode='date' bindchange="bindDateChange" value='{{date}}' end='2021-12-31' start="{{start_date}}"> 71 <picker mode='date' bindchange="bindDateChange" value='{{date}}' end='2021-12-31' start="{{start_date}}">
@@ -93,11 +102,11 @@ @@ -93,11 +102,11 @@
93 <text class="address-title">餐厅</text> 102 <text class="address-title">餐厅</text>
94 <input type="text" bindinput="inputAddress" class="input"/> 103 <input type="text" bindinput="inputAddress" class="input"/>
95 </view> 104 </view>
96 - <view class="address-box" bindtap="choosePosition"> 105 + <view class="address-box">
97 <text class="address-title">地址</text> 106 <text class="address-title">地址</text>
98 - <!--<input type="text" bindtap="choosePosition" value="" class="input"/>-->  
99 - <text class="input">{{address_position}}</text>  
100 - <text class="iconfont icon-location"></text> 107 + <input type="text" value="" class="input" bindinput="inputAddr"/>
  108 + <!--<text class="input">{{address_position}}</text>-->
  109 + <!--<text class="iconfont icon-location"></text>-->
101 </view> 110 </view>
102 <view class="time-limit"> 111 <view class="time-limit">
103 <text class="limit-title">开餐前</text> 112 <text class="limit-title">开餐前</text>