| | |
| | | <template> |
| | | <view> |
| | | <mt-card></mt-card> |
| | | <mt-input></mt-input> |
| | | <hr> |
| | | <view>{{inputVal}}</view> |
| | | <mt-input tips="Tips" v-model="inputVal"></mt-input> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | |
| | | inputVal: '' |
| | | |
| | | } |
| | | }, |
| | |
| | | <view class="tips">{{tips}}</view> |
| | | <view class="input"> |
| | | <uni-icons class="input-icon" type="scan" size="16" color="#a6a6a6" @click="scan" /> |
| | | <input class="input-input" type="text"> |
| | | <input class="input-input" type="text" v-model="data"> |
| | | <uni-icons class="input-icon" type="close" size="16" color="#a6a6a6" @click="clear" /> |
| | | </view> |
| | | <view class="option"></view> |