1234567891011121314151617181920212223 |
- <view>
- <view class='Modal' wx:if="{{ShowModal}}">
- <view class='Modal_title'>
- {{title}}
- </view>
- <slot>
- <view class='Modal_info' wx:if="{{ModalType === 'text'}}">
- {{content}}
- </view>
- <view class='Modal_info Modal_input' wx:elif="{{ModalType === 'input'}}">
- <view>{{content}}</view>
- <view class='input'>
- <text>手机号:</text>
- <input placeholder='输入您的手机号码' placeholder-style='color: #CCCCCC;' bindinput='inputPhone'></input>
- </view>
- </view>
- </slot>
- <view class='Modal_btn'>
- <button bindtap='saveFun'>{{btnText}}</button>
- </view>
- </view>
- <view class='mask' bindtap='saveFun' wx:if="{{ShowModal}}"></view>
- </view>
|