|
|
|
|
@ -9,11 +9,18 @@ |
|
|
|
|
<view class="form_item"> |
|
|
|
|
<view class="form_item_label">车站名称:</view> |
|
|
|
|
<view class="form_item_input picker"> |
|
|
|
|
<picker :value="railwayNameIndex" :range="stationList" @change="changeRailway"> |
|
|
|
|
<!-- <picker :value="railwayNameIndex" :range="stationList" @change="changeRailway"> |
|
|
|
|
<text class="picker_select" |
|
|
|
|
:style="form.railwayName?'color:#333;':''">{{form.railwayName?form.railwayName:'请选择'}}</text> |
|
|
|
|
<uni-icons type="right" size="16" color="#D4D4D4"></uni-icons> |
|
|
|
|
</picker> --> |
|
|
|
|
<picker v-if="pageType == 'add' && stationList.length > 1" :value="form.railwayNameIndex" |
|
|
|
|
:range="stationList" @change="changeRailway"> |
|
|
|
|
<text class="picker_select" |
|
|
|
|
:style="form.railwayName?'color:#333;':''">{{form.railwayName?form.railwayName:'请选择'}}</text> |
|
|
|
|
<uni-icons type="right" size="16" color="#D4D4D4"></uni-icons> |
|
|
|
|
</picker> |
|
|
|
|
<text v-else>{{form.railwayName}}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="form_item"> |
|
|
|
|
|