1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <ion-modal-view>
- <ion-header-bar class="bar bar-header">
- <button class="button button-clear button-calm" ng-click="cancel('vote');">取消</button>
- <h1 class="title">投票</h1>
- <button class="button button-clear button-calm" ng-click="ok('vote');">完成</button>
- </ion-header-bar>
- <ion-content>
- <div class=" item item-divider"></div>
- <div class="list notice-input">
- <label class="item item-input">
- <span class="input-label">标题:</span>
- <input type="text" class="notice-title" placeholder="输入投票标题" ng-model="noticedata.vote_title" ng-if="noticedata.disablededit.showadditem" focus-me="true">
- <label ng-if="!noticedata.disablededit.showadditem">{{noticedata.vote_title}}</label>
- </label>
- <label class="item item-input item-select">
- <div class="input-label">
- 类型
- </div>
- <select ng-model="noticedata.vote_selecttype" ng-options="x.id as x.name for x in selectdatas" ng-disabled="!noticedata.disablededit.showadditem"></select>
- </label>
- <ion-item class="item item-icon-right" type="item-text-wrap" ng-disabled="!noticedata.disablededit.showadditem" ng-click="checkend_dd('vote');">
- 截止日期
- <label class="label-right-text item-note">{{noticedata.vote_enddd | date:"y年MM月dd日"}}</label>
- <i class="icon ion-chevron-right icon-accessory"></i>
- </ion-item>
- <div class=" item item-divider"></div>
- <ion-item class="item item-text-wrap item-icon-left" ng-repeat="_item in noticedata.selectitems track by $index" ng-if="noticedata.disablededit.showadditem">
- <i class="icon ion-android-remove-circle" style="color:red;" ng-click="removeItem($index);"></i>
- <input type="text" placeholder="请输入选项标题" ng-model="_item.text" focus-me="true"/>
- </ion-item>
- <ion-item class="item item-icon-left" ng-click="addItem();" ng-if="noticedata.disablededit.showadditem">
- <i class="icon ion-plus-circled balanced"></i> 选项
- </ion-item>
- <div ng-show="!noticedata.disablededit.showadditem">
- <ion-item class="item item-text-wrap" ng-click="" ng-repeat="_item in editvotedata track by $index">
- {{_item.text}}
- </ion-item>
- </div>
- </div>
- </ion-content>
- <div class="bar bar-footer bar-balanced footer" ng-click='delete("vote");' ng-show="noticedata.showvoteDelete">
- <div class="title">删除</div>
- </div>
- </ion-modal-view>
|