123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <!--单行-->
- <div ng-if="item.t__type == 1">
- <div class="item item-divider"></div>
- <div class="item item-input">
- <span>{{item.name}}</span>
- <label class="input-margin">
- <input type="text" ng-model="item.text" placeholder="{{note}}">
- </label>
- </div>
- </div>
- <!--多行-->
- <div ng-if="item.t__type == 2">
- <div class="item item-divider"></div>
- <div class="item item-input">
- <textarea rows="6" ng-model="item.text" placeholder="{{item.name}}{{note}}"></textarea>
- </div>
- </div>
- <!--日期-->
- <div ng-if="item.t__type == 3">
- <div class="item item-divider"></div>
- <a class="item item-icon-right" ng-click="chooseDate(item.text)">{{item.name}}
- <span class="item-note">{{item.text | date:"yyyy-MM-dd"}}</span>
- <span>{{note}}</span>
- <i class="icon ion-chevron-right icon-accessory"></i>
- </a>
- </div>
- <!--数字-->
- <div ng-if="item.t__type == 4">
- <div class="item item-divider"></div>
- <div class="item item-input">
- <span>{{item.name}}</span>
- <label class="input-margin">
- <input type="number" ng-model="item.text" placeholder="{{note}}">
- </label>
- </div>
- </div>
- <!--单选-->
- <div ng-if="item.t__type == 5">
- <div class="item item-divider"></div>
- <div class="list">
- <label class="item item-input item-select">
- <div class="input-label">
- <span>{{item.name}}</span>
- <span>{{note}}</span>
- </div>
- <select ng-model="item.text" ng-change="selectedChange(item.text)">
- <option ng-repeat="selectitem in selectData track by $index">{{selectitem}}</option>
- </select>
- </label>
- </div>
- </div>
|