weliam-smartcity智慧城市
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
13 KiB

<view class="hitchSchedule data-v-d61098b4"><view class="logo data-v-d61098b4"><view class="formItem data-v-d61098b4"><view class="formItem-title dis-flex data-v-d61098b4"><view class="left data-v-d61098b4"></view><view class="f-30 f-w data-v-d61098b4">请填写发布信息</view></view><view class="formItem-item data-v-d61098b4"><view class="f-26 headline data-v-d61098b4">发布角色</view><view class="content f-26 data-v-d61098b4"><picker disabled="{{true}}" value="{{index}}" range="{{array}}" range-key="title" data-event-opts="{{[['change',[['bindPickerChange',['$event']]]]]}}" bindchange="__e" class="data-v-d61098b4"><view class="uni-input data-v-d61098b4">{{array[index].title}}</view></picker></view><view class="iconfont icon-right data-v-d61098b4" style="font-size:26rpx;line-height:80rpx;padding-right:30rpx;"></view></view><block wx:if="{{index==0}}"><view class="formItem-item data-v-d61098b4"><view class="f-26 headline data-v-d61098b4"><text class="c-ff4444 data-v-d61098b4" style="float:left;margin-left:10rpx;">*</text>运输类型</view><view class="content f-26 data-v-d61098b4"><picker value="{{carriageArrayindex}}" range="{{carriageArray}}" range-key="title" data-event-opts="{{[['change',[['carriageArrayChange',['$event']]]]]}}" bindchange="__e" class="data-v-d61098b4"><view class="uni-input data-v-d61098b4">{{carriageArray[carriageArrayindex].title}}</view></picker></view><view class="iconfont icon-right data-v-d61098b4" style="font-size:26rpx;line-height:80rpx;padding-right:30rpx;"></view></view></block><block wx:else><view class="formItem-item data-v-d61098b4"><view class="f-26 headline data-v-d61098b4"><text class="c-ff4444 data-v-d61098b4" style="float:left;margin-left:10rpx;">*</text>运输类型</view><view class="content f-26 data-v-d61098b4"><picker value="{{loadingArrayindex}}" range="{{loadingArray}}" range-key="title" data-event-opts="{{[['change',[['loadingArrayChange',['$event']]]]]}}" bindchange="__e" class="data-v-d61098b4"><view class="uni-input data-v-d61098b4">{{loadingArray[loadingArrayindex].title}}</view></picker></view><view class="iconfont icon-right data-v-d61098b4" style="font-size:26rpx;line-height:80rpx;padding-right:30rpx;"></view></view></block><block wx:if="{{index==1}}"><view class="formItem-item data-v-d61098b4"><view class="f-26 headline data-v-d61098b4"><text class="c-ff4444 data-v-d61098b4" style="float:left;margin-left:10rpx;">*</text>班次</view><view class="content f-26 data-v-d61098b4"><picker value="{{classesindex}}" range="{{classes}}" range-key="title" data-event-opts="{{[['change',[['classesChange',['$event']]]]]}}" bindchange="__e" class="data-v-d61098b4"><view class="uni-input data-v-d61098b4">{{classes[classesindex].title}}</view></picker></view><view class="iconfont icon-right data-v-d61098b4" style="font-size:26rpx;line-height:80rpx;padding-right:30rpx;"></view></view></block><block wx:if="{{index==0&&carriageArrayindex==0}}"><view class="formItem-item data-v-d61098b4"><view class="f-26 headline data-v-d61098b4"><text class="c-ff4444 data-v-d61098b4" style="float:left;margin-left:10rpx;">*</text>人数</view><view class="content f-26 data-v-d61098b4"><input class="input data-v-d61098b4" type="number" placeholder="请输入乘车人数" value="{{numberPeople}}" data-event-opts="{{[['input',[['__set_model',['','numberPeople','$event',[]]]]]]}}" bindinput="__e"/></view></view></block><block wx:if="{{index==0&&carriageArrayindex==1}}"><view class="formItem-item data-v-d61098b4"><view class="f-26 headline data-v-d61098b4"><text class="c-ff4444 data-v-d61098b4" style="float:left;margin-left:10rpx;">*</text>重量(kg)</view><view class="content f-26 data-v-d61098b4"><input class="input data-v-d61098b4" type="number" placeholder="请输入货物重量" value="{{numberPeople}}" data-event-opts="{{[['input',[['__set_model',['','numberPeople','$event',[]]]]]]}}" bindinput="__e"/></view></view></block><block wx:if="{{index==1&&loadingArrayindex==0}}"><view class="formItem-item data-v-d61098b4"><view class="f-26 headline data-v-d61098b4"><text class="c-ff4444 data-v-d61098b4" style="float:left;margin-left:10rpx;">*</text>空位</view><view class="content f-26 data-v-d61098b4"><input class="input data-v-d61098b4" type="number" placeholder="请填写空余位置" value="{{numberPeople}}" data-event-opts="{{[['input',[['__set_model',['','numberPeople','$event',[]]]]]]}}" bindinput="__e"/></view></view></block><block wx:if="{{index==1&&loadingArrayindex==1}}"><view class="formItem-item data-v-d61098b4"><view class="f-26 headline data-v-d61098b4"><text class="c-ff4444 data-v-d61098b4" style="float:left;margin-left:10rpx;">*</text>载重(kg)</view><view class="content f-26 data-v-d61098b4"><input class="input data-v-d61098b4" type="number" placeholder="请填写剩余载重" value="{{numberPeople}}" data-event-opts="{{[['input',[['__set_model',['','numberPeople','$event',[]]]]]]}}" bindinput="__e"/></view></view></block></view><view class="formItem data-v-d61098b4"><view class="formItem-title dis-flex data-v-d61098b4"><view class="left data-v-d61098b4"></view><view class="f-30 f-w data-v-d61098b4">请填写路程详情</view></view><view class="formItem-item data-v-d61098b4"><view class="f-26 headline data-v-d61098b4"><text class="c-ff4444 data-v-d61098b4" style="float:left;margin-left:10rpx;">*</text>出发时间</view><view class="content f-26 data-v-d61098b4"><w-picker vue-id="09ff4220-1" visible="{{visible}}" mode="shortTerm" expand="{{90}}" startYear="2021" endYear="2029" value="2020-04-07" current="{{true}}" fields="minute" disabled-after="{{false}}" data-ref="date" data-event-opts="{{[['^updateVisible',[['__set_sync',['$0','visible','$event'],['']]]],['^cancel',[['onCancel']]],['^confirm',[['onConfirm',['$event','date']]]]]}}" bind:updateVisible="__e" bind:cancel="__e" bind:confirm="__e" class="data-v-d61098b4 vue-ref" bind:__l="__l"></w-picker><view data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="{{['data-v-d61098b4',goOff=='请选择出发时间'?'col-9':'col-3']}}" bindtap="__e">{{goOff}}</view></view><view class="iconfont icon-right data-v-d61098b4" style="font-size:26rpx;line-height:80rpx;padding-right:30rpx;"></view></view><view class="formItem-item data-v-d61098b4"><view class="f-26 headline data-v-d61098b4"><text class="c-ff4444 data-v-d61098b4" style="float:left;margin-left:10rpx;">*</text>出发地址</view><view data-event-opts="{{[['tap',[['getLocation',[1]]]]]}}" class="content f-26 data-v-d61098b4" bindtap="__e"><input class="input data-v-d61098b4" disabled="{{true}}" type="text" placeholder="请输入详细地址" value="{{address}}" data-event-opts="{{[['input',[['__set_model',['','address','$event',[]]]]]]}}" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['getLocation',[1]]]]]}}" class="f-26 data-v-d61098b4" style="margin-top:24rpx;padding-right:30rpx;" bindtap="__e"><image src="{{imgfixUrls+'merchant/where.svg'}}" class="data-v-d61098b4"></image><label class="_span data-v-d61098b4">定位</label></view></view><view class="formItem-item data-v-d61098b4"><view class="f-26 headline data-v-d61098b4"><text class="c-ff4444 data-v-d61098b4" style="float:left;margin-left:10rpx;">*</text>终点地址</view><view data-event-opts="{{[['tap',[['getLocation',[2]]]]]}}" class="content f-26 data-v-d61098b4" bindtap="__e"><input class="input data-v-d61098b4" disabled="{{true}}" type="text" placeholder="请输入详细地址" value="{{addressTwo}}" data-event-opts="{{[['input',[['__set_model',['','addressTwo','$event',[]]]]]]}}" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['getLocation',[2]]]]]}}" class="f-26 data-v-d61098b4" style="margin-top:24rpx;padding-right:30rpx;" bindtap="__e"><image src="{{imgfixUrls+'merchant/where.svg'}}" class="data-v-d61098b4"></image><label class="_span data-v-d61098b4">定位</label></view></view><view class="formItem-item data-v-d61098b4"><view class="f-26 headline data-v-d61098b4">途经地点</view><view data-event-opts="{{[['tap',[['openAdd',['$event']]]]]}}" class="content f-26 data-v-d61098b4" style="height:auto;" bindtap="__e"><block wx:if="{{$root.g0==0}}"><view class="input col-9 data-v-d61098b4">请添加途经地点</view></block><block wx:else><block wx:for="{{citys}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="tag-item data-v-d61098b4">{{''+item+''}}<text data-event-opts="{{[['tap',[['deletCity',[index]]]]]}}" class="iconfont icon-close iconclose data-v-d61098b4" catchtap="__e"></text></view></block></block></view><view data-event-opts="{{[['tap',[['openAdd',['$event']]]]]}}" class="iconfont icon-add data-v-d61098b4" style="font-size:30rpx;line-height:80rpx;padding-right:30rpx;" bindtap="__e"></view></view></view><view class="formItem data-v-d61098b4"><view class="formItem-title dis-flex data-v-d61098b4"><view class="left data-v-d61098b4"></view><view class="f-30 f-w data-v-d61098b4">其他信息</view></view><view class="formItem-item data-v-d61098b4"><view class="f-26 headline data-v-d61098b4"><text class="c-ff4444 data-v-d61098b4" style="float:left;margin-left:10rpx;">*</text>联系人</view><view class="content f-26 data-v-d61098b4"><input class="input data-v-d61098b4" type="text" placeholder="请填写联系人姓名" value="{{linkman}}" data-event-opts="{{[['input',[['__set_model',['','linkman','$event',[]]]]]]}}" bindinput="__e"/></view></view><view class="formItem-item data-v-d61098b4"><view class="f-26 headline data-v-d61098b4"><text class="c-ff4444 data-v-d61098b4" style="float:left;margin-left:10rpx;">*</text>联系方式</view><view class="content f-26 data-v-d61098b4"><input class="input data-v-d61098b4" type="number" placeholder="请填写联系方式" maxlength="11" value="{{linkmanPhone}}" data-event-opts="{{[['input',[['__set_model',['','linkmanPhone','$event',[]]]]]]}}" bindinput="__e"/></view></view><view class="formItem-item data-v-d61098b4"><view class="f-26 headline data-v-d61098b4">标签</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="content f-26 data-v-d61098b4" style="height:auto;" bindtap="__e"><block wx:if="{{$root.g1==0}}"><view class="input col-9 data-v-d61098b4">请添加标签信息</view></block><block wx:else><block wx:for="{{tags}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="tag-item data-v-d61098b4">{{''+item.name+''}}</view></block></block></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="iconfont icon-right data-v-d61098b4" style="font-size:26rpx;line-height:80rpx;padding-right:30rpx;" bindtap="__e"></view></view><view class="formItem-item data-v-d61098b4" style="display:block;"><view class="f-26 headline data-v-d61098b4">备注</view><view class="content f-26 data-v-d61098b4" style="padding:0rpx 30rpx 30rpx;height:150rpx;"><textarea class="f-28 textarea data-v-d61098b4" value="{{remark}}" placeholder="填写备注信息" data-event-opts="{{[['input',[['__set_model',['','remark','$event',[]]]]]]}}" bindinput="__e"></textarea></view></view></view><button class="comfia data-v-d61098b4" disabled="{{ifsubmit}}" data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" bindtap="__e">提交</button></view><pop-manager vue-id="09ff4220-2" show="{{midway}}" type="center" data-event-opts="{{[['^clickmask',[['closeAdd']]]]}}" bind:clickmask="__e" class="data-v-d61098b4" bind:__l="__l" vue-slots="{{['default']}}"><view class="midway data-v-d61098b4"><view class="input data-v-d61098b4"><block wx:if="{{midway}}"><input class="f-28 data-v-d61098b4" type="text" placeholder="请输入途经地点" data-event-opts="{{[['input',[['__set_model',['','addSite','$event',[]]]]]]}}" value="{{addSite}}" bindinput="__e"/></block></view><view class="addMidwayBtn data-v-d61098b4"><view data-event-opts="{{[['tap',[['closeAdd',['$event']]]]]}}" class="close data-v-d61098b4" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['addCity',['$event']]]]]}}" class="add data-v-d61098b4" bindtap="__e">确定</view></view></view></pop-manager><pop-manager vue-id="09ff4220-3" show="{{tagsShow}}" type="bottom" data-event-opts="{{[['^clickmask',[['closeTags']]]]}}" bind:clickmask="__e" class="data-v-d61098b4" bind:__l="__l" vue-slots="{{['default']}}"><view class="tagsPop data-v-d61098b4"><view class="tags-title f-34 f-w data-v-d61098b4">标签选择<text data-event-opts="{{[['tap',[['closeTags',['$event']]]]]}}" class="iconfont icon-close_light data-v-d61098b4" style="float:right;" bindtap="__e"></text></view><view class="tagsBox data-v-d61098b4"><block wx:for="{{tagsList}}" wx:for-item="item" wx:for-index="indexs" wx:key="indexs"><block wx:if="{{item.is_passenger=='2'&&index==0&&carriageArrayindex==0||item.is_goods=='2'&&index==0&&carriageArrayindex==1||item.are_passenger=='2'&&index==1&&loadingArrayindex==0||item.are_goods=='2'&&index==1&&loadingArrayindex==1}}"><view data-event-opts="{{[['tap',[['checked',[indexs]]]]]}}" class="{{['data-v-d61098b4',item.check?'checkTagItem':'tagItem']}}" bindtap="__e">{{''+item.name+''}}</view></block></block></view></view></pop-manager><far-bottom vue-id="09ff4220-4" class="data-v-d61098b4" bind:__l="__l"></far-bottom><block wx:if="{{!id}}"><phone-nav-bar vue-id="09ff4220-5" checked="发布行程" page="hitch" class="data-v-d61098b4" bind:__l="__l"></phone-nav-bar></block></view>