| @@ -41,30 +41,31 @@ | |||||
| <text>选择可用商户:</text> | <text>选择可用商户:</text> | ||||
| <picker style="display: inline-block;" mode="selector" value="{{index}}" range="{{mallList}}" | <picker style="display: inline-block;" mode="selector" value="{{index}}" range="{{mallList}}" | ||||
| range-key="distanceName" disabled="{{false}}" bindchange="setMerchant"> | range-key="distanceName" disabled="{{false}}" bindchange="setMerchant"> | ||||
| <view class="pickerInside"> | |||||
| <view class="pickerInside | |||||
| 请选择 | 请选择 | ||||
| </view> | </view> | ||||
| </picker> | </picker> | ||||
| </view> | </view> | ||||
| <view tt:if="{{ merchantId }}" class="addressPicker"> | |||||
| <picker style="display: inline;" mode="selector" value="{{index}}" range="{{mallList}}" range-key="distanceName" | |||||
| disabled="{{false}}" bindchange="setMerchant"> | |||||
| <text tt:if="{{ !reservationMerchantName }}"> 选择可用商户:<text class="pickerInside">{{ | |||||
| mallList[currentIndex].merchantName }} <text class="distanceFoot">{{ | |||||
| mallList[currentIndex].distance_str }}</text></text></text> | |||||
| <text tt:if="{{ reservationMerchantName }}"> 选择可用商户:<text class="pickerInside">{{ reservationMerchantName | |||||
| }}</text></text> | |||||
| </picker> | |||||
| </view> | |||||
| <view tt:if=" {{ merchantId }}" class="addressPicker"> | |||||
| <picker style="display: inline;" mode="selector" value="{{index}}" range="{{mallList}}" | |||||
| range-key="distanceName" disabled="{{false}}" bindchange="setMerchant"> | |||||
| <text tt:if="{{ !reservationMerchantName }}"> 选择可用商户:<text class="pickerInside">{{ | |||||
| mallList[currentIndex].merchantName }} <text class="distanceFoot">{{ | |||||
| mallList[currentIndex].distance_str }}</text></text></text> | |||||
| <text tt:if="{{ reservationMerchantName }}"> 选择可用商户:<text class="pickerInside">{{ | |||||
| reservationMerchantName | |||||
| }}</text></text> | |||||
| </picker> | |||||
| </view> | |||||
| <view class="describeTextarea"> | |||||
| <textarea class="describe" placeholder="备注:说点什么吧" disabled="{{ !isShowBtns }}" bindinput="describing" | |||||
| value="{{ describeStr }}"></textarea> | |||||
| </view> | |||||
| <view class="describeTextarea"> | |||||
| <textarea class="describe" placeholder="备注:说点什么吧" disabled="{{ !isShowBtns }}" bindinput="describing" | |||||
| value="{{ describeStr }}"></textarea> | |||||
| </view> | |||||
| <block tt:if="{{isShowBtns}}"> | |||||
| <button class="confirm" type="primary" bindtap="confirm">{{ appointmentText }}</button> | |||||
| <!-- <button tt:if="{{ id && status != 1}}" type="primary" bindtap="cancel">取消预约</button> --> | |||||
| </block> | |||||
| </view> | |||||
| <block tt:if="{{isShowBtns}}"> | |||||
| <button class="confirm" type="primary" bindtap="confirm">{{ appointmentText }}</button> | |||||
| <!-- <button tt:if="{{ id && status != 1}}" type="primary" bindtap="cancel">取消预约</button> --> | |||||
| </block> | |||||
| </view> | |||||