filterPagetl.html 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <ion-modal-view style="background-color:rgba(0,0,0,0.5)" title="{{labelTitle}} 相关资源"
  2. class="modal-content half-modal">
  3. <div class="bar bar-header bar-header-blue">
  4. <div class="button button-icon icon pus_blue"></div>
  5. <!--<button class="button button-icon icon goback whiteGoBack noneContent" ng-click="goback()"></button>-->
  6. <h1 class="bar_title" style="color: #fff">资源筛选条件</h1>
  7. <div class="button button-icon icon top-button-close" ng-click="filtertlPageModaltl.hide()">
  8. <i class="icon ion-android-close"></i>
  9. </div>
  10. </div>
  11. <ion-content class="has-header" scroll="true" delegate-handle="privateContent"
  12. style="padding-top:10px;background-color: #fff">
  13. <!-- <div>-->
  14. <!-- <div ng-repeat="list in filterList" ng-init="outerIndex=$index" class="filterlist-box">-->
  15. <!-- <div class="filterlist-title">{{list.title}}</div>-->
  16. <!-- <ul style="margin:10px 0;">-->
  17. <!-- <li ng-repeat="item in list.items track by $index"-->
  18. <!-- ng-class="{'list-item':true,'selected-item':item.selected}"-->
  19. <!-- ng-click="changSelected(item,outerIndex,$index)">{{item.labelName}}-->
  20. <!-- </li>-->
  21. <!-- </ul>-->
  22. <!-- </div>-->
  23. <!-- <div class="filterlist-box">-->
  24. <!-- <div class="filterlist-title">{{sortList.title}}</div>-->
  25. <!-- <ul class="filter-items">-->
  26. <!-- <li ng-repeat="list in sortList.items track by $index"-->
  27. <!-- ng-class="{'list-item':true,'selected-item':list.selected}" ng-click="selectBySort($index)">-->
  28. <!-- {{list.labelName}}-->
  29. <!-- </li>-->
  30. <!-- </ul>-->
  31. <!-- </div>-->
  32. <div ng-repeat="item in selectindex.items track by $index"
  33. ng-if="selectif<=1">
  34. <ion-toggle
  35. style="width: 200px;border: none;display: flex;justify-content: center"
  36. ng-model="item.selected" >
  37. <span >{{item.selected?"是":"否"}}</span>
  38. </ion-toggle>
  39. </div>
  40. <ul class="filter-items" ng-if="selectif>1&&selectif<5">
  41. <li ng-repeat="item in selectindex.items track by $index"
  42. ng-class="{'list-item':true,'selected-item':item.selected}"
  43. ng-click="selectByLabeltl(item, outerIndex,$index)">{{item.labelName}}
  44. </li>
  45. </ul>
  46. <div ng-repeat="item in MoreData" ng-if="selectif==5" style="font-size: 0.3rem;margin: 20px;display: flex;align-items: center;" >
  47. <span>{{item.info}}:</span>
  48. <ion-toggle ng-if="item.choicetype=='whether'"
  49. style="width: 200px;border: none;display: flex;justify-content: center"
  50. ng-model="item.ifshow" ng-checked="item.ifshow">
  51. <span >{{item.ifshow?"是":"否"}}</span>
  52. </ion-toggle>
  53. <div ng-if="item.choicetype=='dropdown'" ng-click="optclcick(item)" >
  54. <div ng-repeat="optitem in item.items" style="margin: 6px" >
  55. <input type="checkbox" ng-model="optitem.content1" >
  56. {{optitem.info}}
  57. </div>
  58. </div>
  59. <select
  60. ng-model="item.content3"
  61. ng-if="item.choicetype=='dropdown/number'||item.choicetype=='number1'"
  62. ng-change="handletypes(item.content3,$index)"
  63. ng-options="x for x in Datedata"
  64. style="height: 43px;margin: 10px;border: none;font-size: 16px">
  65. </select>
  66. <input ng-model="item.content1" style="border: 1px #dcdcdc solid;display: inline-block;height: 35px;border-radius: 5px;" ng-if="item.choicetype=='text'" type="text">
  67. <span ng-if="item.choicetype=='number1'||item.choicetype=='dropdown/number'" style="margin: 0 5px">年</span>
  68. <input ng-model="item.content1" style="border: 1px #dcdcdc solid;display: inline-block;height: 35px;width: 60px;border-radius: 5px;text-align: center" ng-if="item.choicetype=='number2'||item.choicetype=='dropdown/number'" type="text">
  69. <span ng-if="item.choicetype=='number2'||item.choicetype=='dropdown/number'" style="margin: 0 5px">—</span>
  70. <input ng-model="item.content2" style="border: 1px #dcdcdc solid;display: inline-block;height: 35px;width: 60px;border-radius: 5px;text-align: center" class="moreinput" ng-if="item.choicetype=='number2'||item.choicetype=='dropdown/number'" type="text">
  71. <span ng-if="item.choicetype=='dropdown/number'&&item.propertytoes!='feidiarea'" style="margin: 0 5px">万</span>
  72. <span ng-if="item.choicetype=='number2'&&item.propertytoes!='feidiarea'" style="margin: 0 5px">个</span>
  73. <span ng-if="item.propertytoes=='feidiarea'" style="margin: 0 5px">平方</span>
  74. </div>
  75. </div>
  76. <br><br><br><br><br><br><br><br><br><br>
  77. </ion-content>
  78. <div class="submit-box" style="background-color: #fff">
  79. <button ng-click="resetSelectedtl()" class="button button-assertive filter-submit-button">重置</button>
  80. <button ng-click="submitSelected()" class="button button-positive filter-submit-button"
  81. style="background-color:#3B8BD0;">确认
  82. </button>
  83. </div>
  84. </ion-modal-view>
  85. <style>
  86. .top-button-close {
  87. color: #fff;
  88. }
  89. input[type="checkbox"]{
  90. -webkit-appearance: none;
  91. vertical-align:middle;
  92. margin-top:0;
  93. background:#fff;
  94. border:#999 solid 1px;
  95. border-radius: 50%;
  96. min-height: 25px;
  97. min-width: 25px;
  98. }
  99. input[type="checkbox"]:checked {
  100. background: #3190e8;
  101. position: relative;
  102. }
  103. input[type='checkbox']:checked::after{
  104. content: '';
  105. top: 4px;
  106. left: 4px;
  107. position: absolute;
  108. background: transparent;
  109. border: #fff solid 2px;
  110. border-top: none;
  111. border-right: none;
  112. height: 10px;
  113. width: 15px;
  114. -moz-transform: rotate(-45deg);
  115. -ms-transform: rotate(-45deg);
  116. -webkit-transform: rotate(-45deg);
  117. transform: rotate(-45deg);
  118. }
  119. .half-modal{
  120. background-color:rgba(0,0,0,0.5)
  121. }
  122. @media screen and (min-width: 900px) {
  123. .modal-backdrop, .modal-backdrop-bg {
  124. position: absolute;
  125. left: 0;
  126. top: 0;
  127. right: 0;
  128. bottom: 0;
  129. margin: auto;
  130. width: 20.5rem;
  131. }
  132. }
  133. </style>