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
3.4 KiB
1 lines
3.4 KiB
<view><view style="height:90%;overflow:scroll;"><block wx:for="{{lineList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view style="width:95%;height:250rpx;margin:20rpx auto 0;line-height:50rpx;border:2px solid #eee;border-radius:20rpx;padding:10px;"><view>{{"出发站:"+item.goStation}}</view><view>{{"到达站:"+item.arrivalStation}}</view><view>{{"费用规则:"+item.transitFee}}</view><view style="display:flex;float:right;"><view data-event-opts="{{[['tap',[['editPeople',['edit','$0'],[[['lineList','',index]]]]]]]}}" bindtap="__e"><u-icon vue-id="{{'f51b095a-1-'+index}}" name="edit-pen-fill" size="28" bind:__l="__l"></u-icon></view><view data-event-opts="{{[['tap',[['delItem',['$0'],[[['lineList','',index]]]]]]]}}" bindtap="__e"><u-icon vue-id="{{'f51b095a-2-'+index}}" name="trash-fill" size="28" bind:__l="__l"></u-icon></view></view></view></block></view><view style="position:fixed;bottom:0;width:100%;display:flex;height:140rpx;padding-top:20rpx;"><view data-event-opts="{{[['tap',[['editPeople',['add']]]]]}}" class="bottom-btn" style="width:95%;" bindtap="__e">新增一条</view></view><uni-popup class="vue-ref" vue-id="f51b095a-3" background-color="#fff" is-mask-click="{{true}}" data-ref="inputDialog" bind:__l="__l" vue-slots="{{['default']}}"><view class="type-popup"><block wx:if="{{addType=='add'}}"><view style="height:120rpx;font-size:36rpx;font-weight:bold;line-height:120rpx;text-align:center;"> 新增中转 </view></block><block wx:if="{{addType=='edit'}}"><view style="height:120rpx;font-size:36rpx;font-weight:bold;line-height:120rpx;text-align:center;"> 编辑信息 </view></block><uni-forms-item vue-id="{{('f51b095a-4')+','+('f51b095a-3')}}" label="出发站" labelWidth="80px" name="goStation" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('f51b095a-5')+','+('f51b095a-4')}}" type="text" placeholder="请输入出发站" value="{{addForm.goStation}}" data-event-opts="{{[['^input',[['__set_model',['$0','goStation','$event',[]],['addForm']]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('f51b095a-6')+','+('f51b095a-3')}}" label="到达站" labelWidth="80px" name="arrivalStation" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('f51b095a-7')+','+('f51b095a-6')}}" type="text" placeholder="请输入到达站" value="{{addForm.arrivalStation}}" data-event-opts="{{[['^input',[['__set_model',['$0','arrivalStation','$event',[]],['addForm']]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('f51b095a-8')+','+('f51b095a-3')}}" label="费用规则" labelWidth="80px" name="transitFee" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('f51b095a-9')+','+('f51b095a-8')}}" type="digit" placeholder="请输入费用规则" value="{{addForm.transitFee}}" data-event-opts="{{[['^input',[['__set_model',['$0','transitFee','$event',[]],['addForm']]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><view style="width:100%;height:90rpx;line-height:90rpx;text-align:center;border-radius:0;background:linear-gradient(90deg, #60F3FF, #088FEB);color:#fff;display:flex;"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" style="width:50%;" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['onDotClick']]]]}}" style="width:50%;background:linear-gradient(90deg, #FF9797, #FFC1E0);" bindtap="__e">确认</view></view></view></uni-popup></view>
|