Ben 7 vuotta sitten
vanhempi
commit
cae7b4c4fe

BIN
.vs/miaomiao/v14/.suo


+ 10 - 0
miaomiao/bin/Android/Release/VSBuildInfo.xml

xqd
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--此文件在 VS 生成进程中创建,用于遥测-->
+<VSBuildInfo xmlns="http://schemas.microsoft.com/developer/appx/2012/build">
+  <Metadata>
+    <Item Name="VisualStudio" Version="14.0" />
+    <Item Name="VisualStudioEdition" Value="Microsoft Visual Studio Professional 2015" />
+    <Item Name="OperatingSystem" Version="10.0.14393.0 (rs1_release.160715-1616)" />
+    <Item Name="ProjectGUID" Value="a0ea3796-527a-486c-a017-b40edaebb9a7" />
+  </Metadata>
+</VSBuildInfo>

BIN
miaomiao/bin/Android/Release/android-release-unaligned.apk


BIN
miaomiao/bin/Android/Release/android-release.apk


+ 6 - 0
miaomiao/www/css/style.css

xqd
@@ -31,6 +31,12 @@
 .login input::-webkit-input-placeholder{
     color: #E1E1E1;
 }
+.radiodiv .item-radio{
+    line-height:10px;
+}
+    .radiodiv .item-radio input:checked + .radio-content .item-content {
+        background:url("/img/icon_ok.svg") no-repeat 88%;
+    }
 .lgsocial{
     text-align:center;
     padding:1rem 0;

+ 25 - 0
miaomiao/www/img/icon_man_h.svg

xqd
@@ -0,0 +1,25 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="80" height="80" viewBox="0 0 80 80">
+  <defs>
+    <style>
+      .cls-1 {
+        fill: #00c3da;
+        stroke: #e6e6e6;
+        stroke-linejoin: round;
+        stroke-width: 2px;
+      }
+
+      .cls-2 {
+        fill: #229bcc;
+        fill-rule: evenodd;
+        filter: url(#filter);
+      }
+    </style>
+    <filter id="filter" x="19" y="20" width="42" height="41" filterUnits="userSpaceOnUse">
+      <feFlood result="flood" flood-color="#fff"/>
+      <feComposite result="composite" operator="in" in2="SourceGraphic"/>
+      <feBlend result="blend" in2="SourceGraphic"/>
+    </filter>
+  </defs>
+  <circle id="椭圆_13" data-name="椭圆 13" class="cls-1" cx="40" cy="40" r="40"/>
+  <path id="圆角矩形_6_拷贝_4" data-name="圆角矩形 6 拷贝 4" class="cls-2" d="M59.5,38A1.5,1.5,0,0,1,58,36.5V25.148l-8.521,8.521a17.063,17.063,0,1,1-2.032-2.211L55.9,23H44.5a1.5,1.5,0,0,1,0-3h15A1.5,1.5,0,0,1,61,21.5v15A1.5,1.5,0,0,1,59.5,38ZM36,30A14,14,0,1,0,50,44,14,14,0,0,0,36,30Z"/>
+</svg>

+ 28 - 0
miaomiao/www/img/icon_man_n.svg

xqd
@@ -0,0 +1,28 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="80" height="80" viewBox="0 0 80 80">
+  <defs>
+    <style>
+      .cls-1 {
+        fill: #00c3da;
+        stroke: #e6e6e6;
+        stroke-linejoin: round;
+        stroke-width: 2px;
+        filter: url(#filter);
+      }
+
+      .cls-2 {
+        fill: #229bcc;
+        fill-rule: evenodd;
+      }
+    </style>
+    <filter id="filter" x="0" y="0" width="80" height="80" filterUnits="userSpaceOnUse">
+      <feFlood result="flood" flood-color="#fff"/>
+      <feComposite result="composite" operator="in" in2="SourceGraphic"/>
+      <feBlend result="blend" in2="SourceGraphic"/>
+    </filter>
+  </defs>
+  <g style="fill: #00c3da; filter: url(#filter)">
+    <circle id="椭圆_13" data-name="椭圆 13" class="cls-1" cx="40" cy="40" r="40" style="stroke: inherit; filter: none; fill: inherit"/>
+  </g>
+  <use xlink:href="#椭圆_13" style="stroke: #e6e6e6; filter: none; fill: none"/>
+  <path id="圆角矩形_6_拷贝_4" data-name="圆角矩形 6 拷贝 4" class="cls-2" d="M59.5,38A1.5,1.5,0,0,1,58,36.5V25.148l-8.521,8.521a17.063,17.063,0,1,1-2.032-2.211L55.9,23H44.5a1.5,1.5,0,0,1,0-3h15A1.5,1.5,0,0,1,61,21.5v15A1.5,1.5,0,0,1,59.5,38ZM36,30A14,14,0,1,0,50,44,14,14,0,0,0,36,30Z"/>
+</svg>

+ 11 - 0
miaomiao/www/img/icon_ok.svg

xqd
@@ -0,0 +1,11 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="45" height="45" viewBox="0 0 45 45">
+  <defs>
+    <style>
+      .cls-1 {
+        fill: #00c3da;
+        fill-rule: evenodd;
+      }
+    </style>
+  </defs>
+  <path id="圆角矩形_6_拷贝_2" data-name="圆角矩形 6 拷贝 2" class="cls-1" d="M33.314,16.586L20.586,29.314a1,1,0,0,1-1.414,0l-8.485-8.485A1,1,0,1,1,12.1,19.414l7.778,7.778L31.9,15.172A1,1,0,1,1,33.314,16.586Z"/>
+</svg>

+ 25 - 0
miaomiao/www/img/icon_woman_h.svg

xqd
@@ -0,0 +1,25 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="80" height="80" viewBox="0 0 80 80">
+  <defs>
+    <style>
+      .cls-1 {
+        fill: #00c3da;
+        stroke: #e6e6e6;
+        stroke-linejoin: round;
+        stroke-width: 2px;
+      }
+
+      .cls-2 {
+        fill: #f05379;
+        fill-rule: evenodd;
+        filter: url(#filter);
+      }
+    </style>
+    <filter id="filter" x="23" y="16" width="34" height="49" filterUnits="userSpaceOnUse">
+      <feFlood result="flood" flood-color="#fff"/>
+      <feComposite result="composite" operator="in" in2="SourceGraphic"/>
+      <feBlend result="blend" in2="SourceGraphic"/>
+    </filter>
+  </defs>
+  <circle id="椭圆_13" data-name="椭圆 13" class="cls-1" cx="40" cy="40" r="40"/>
+  <path id="圆角矩形_6_拷贝_5" data-name="圆角矩形 6 拷贝 5" class="cls-2" d="M42,49.872V54h6.5a1.5,1.5,0,0,1,0,3H42v6.5a1.5,1.5,0,0,1-3,0V57H32.5a1.5,1.5,0,0,1,0-3H39V49.95A16.934,16.934,0,1,1,42,49.872ZM40,19A14,14,0,1,0,54,33,14,14,0,0,0,40,19Z"/>
+</svg>

+ 28 - 0
miaomiao/www/img/icon_woman_n.svg

xqd
@@ -0,0 +1,28 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="80" height="80" viewBox="0 0 80 80">
+  <defs>
+    <style>
+      .cls-1 {
+        fill: #00c3da;
+        stroke: #e6e6e6;
+        stroke-linejoin: round;
+        stroke-width: 2px;
+        filter: url(#filter);
+      }
+
+      .cls-2 {
+        fill: #f05379;
+        fill-rule: evenodd;
+      }
+    </style>
+    <filter id="filter" x="0" y="0" width="80" height="80" filterUnits="userSpaceOnUse">
+      <feFlood result="flood" flood-color="#fff"/>
+      <feComposite result="composite" operator="in" in2="SourceGraphic"/>
+      <feBlend result="blend" in2="SourceGraphic"/>
+    </filter>
+  </defs>
+  <g style="fill: #00c3da; filter: url(#filter)">
+    <circle id="椭圆_13" data-name="椭圆 13" class="cls-1" cx="40" cy="40" r="40" style="stroke: inherit; filter: none; fill: inherit"/>
+  </g>
+  <use xlink:href="#椭圆_13" style="stroke: #e6e6e6; filter: none; fill: none"/>
+  <path id="圆角矩形_6_拷贝_5" data-name="圆角矩形 6 拷贝 5" class="cls-2" d="M42,49.872V54h6.5a1.5,1.5,0,0,1,0,3H42v6.5a1.5,1.5,0,0,1-3,0V57H32.5a1.5,1.5,0,0,1,0-3H39V49.95A16.934,16.934,0,1,1,42,49.872ZM40,19A14,14,0,1,0,54,33,14,14,0,0,0,40,19Z"/>
+</svg>

+ 14 - 57
miaomiao/www/templates/home/index.html

xqd xqd
@@ -99,66 +99,23 @@
             <ion-content class="stable-bg has-expanded-header">
                 <ion-list>
                     <ion-item>
-                      <span style="font-weight:bold;font-size:1.2rem">筛选</span>
+                      <span style="font-weight:bold;font-size:1.1rem">性别</span>
 <div class="list">
-    <!--<label class="item item-select item-select-width">
-     <span class="input-label">
-         性别
-     </span>
-     <select name="sex" ng-model="vm.sex">
-         <option value="" selected>所有</option>
-         <option value="0" selected>男</option>
-         <option value="1">女</option>
-     </select>
-    </label>-->
-   <div class="item">
-       <a class="button  {{filter.sex==1?'button-calm':' button-outline'}}" style="min-height:0px;min-width:0px;padding:0;line-height:normal;" ng-click="changeFilter('1')">
-           <img src="img/nan.png" style="width:50%;padding-top:5px"/>
-       </a>
-       <a class="button   {{filter.sex==2?'button-calm':'button-outline'}}" style="min-height:0px;min-width:0px;padding:0;line-height:normal;" ng-click="changeFilter('2')">
-           <img src="img/nv.png" style="width:50%;padding-top:5px" />
-       </a>
+     <div class="item">
+         <img ng-src="{{filter.sex==1?'img/icon_man_h.svg':'img/icon_man_n.svg'}}" ng-click="changeFilter('1')"  style="width:35%;" />
+         <img ng-src="{{filter.sex==2?'img/icon_woman_h.svg':'img/icon_woman_n.svg'}}" ng-click="changeFilter('2')" style="width:35%;margin-left:15px"  />
    </div>
    <div class="item" style="padding:0">
-       <p style="font-weight:bold;font-size:1.2rem">年龄</p>
-       <div class="row">
-           <div class="col">
-               <button class="button button-stable {{filter.age==1?' button-calm':''}}" ng-click="changeFilter('18-21')"  style="min-width:3rem">
-                   18-21
-               </button>
-           </div>
-           <div class="col">
-               <button class="button button-stable {{filter.age==2?'button-calm':''}}" ng-click="changeFilter('22-25')" style="min-width:3rem">
-                   22-25
-               </button>
-           </div>
-          
+       <p style="font-weight:bold;font-size:1.1rem">年龄</p>
+       <div class="list radiodiv">
+           <ion-radio ng-model="filter.age" ng-value="'1'">18-21</ion-radio>
+           <ion-radio ng-model="filter.age" ng-value="'2'">22-25</ion-radio>
+           <ion-radio ng-model="filter.age" ng-value="'3'">26-29</ion-radio>
+           <ion-radio ng-model="filter.age" ng-value="'4'">30-33</ion-radio>
+           <ion-radio ng-model="filter.age" ng-value="'5'">34-37</ion-radio>
+           <ion-radio ng-model="filter.age" ng-value="'6'">>38</ion-radio>
        </div>
-       <div class="row">
-           <div class="col">
-               <button class="button button-stable {{filter.age==3?'button-calm':''}}" ng-click="changeFilter('26-29')" style="min-width:3rem">
-                   26-29
-               </button>
-           </div>
-           <div class="col">
-               <button class="button button-stable  {{filter.age==4?'button-calm':''}}" ng-click="changeFilter('30-33')" style="min-width:3rem">
-                   30-33
-               </button>
-           </div> 
-          
-       </div>
-       <div class="row">
-           <div class="col">
-               <button class="button button-stable {{filter.age==5?'button-calm':''}}" ng-click="changeFilter('34-37')" style="min-width:3rem">
-                   34-37
-               </button>
-           </div>
-           <div class="col">
-               <button class="button button-stable  {{filter.age==6?'button-calm':''}}" ng-click="changeFilter('>38')" style="min-width:3rem">
-                   >38
-               </button>
-           </div> 
-       </div>       
+      
    </div>
   <label class="item item-select item-select-width">
     <span class="input-label">地区</span>
@@ -186,7 +143,7 @@
     </select>
   </label>
     <div class="padding">
-        <button class="button button-block button-calm" menu-close ng-click="doFilter()">
+        <button class="button button-block button-calm" style="border-radius:25px" menu-close ng-click="doFilter()">
             确定
         </button>
     </div>