Mike há 7 anos atrás
pai
commit
b0c035bd93

+ 1 - 1
miaomiao/www/js/controllers/home.js

xqd
@@ -172,7 +172,7 @@
                     },
                     function (error) {
                         //扫码失败执行的回调函数
-                        alert("Scanning failed: " + error);
+                        // alert("Scanning failed: " + error);
                     }, {
                         preferFrontCamera: false, // iOS and Android 设置前置摄像头
                         showFlipCameraButton: true, // iOS and Android 显示旋转摄像头按钮

+ 2 - 2
miaomiao/www/templates/home/index.html

xqd xqd
@@ -9,7 +9,7 @@
         <button class="button button-clear" style="height: 30px; width: 30px; margin-top: 6px" ui-sref="app.home_search">
             <img src="img/icon_search.svg" style="height: 67%; width: 100%">
         </button>
-        <button class="button button-clear" style="height: 35px; margin-top: 5.8px" ui-sref="app.message">
+        <button class="button button-clear" style="height: 35px; margin-top:4.8px" ui-sref="app.message">
             <img ng-if="showMessage==1" src="img/icon_message_h.svg" style="height: 60%; width: 100%">
             <img ng-if="showMessage==0" src="img/icon_message_n.svg" style="height: 55%; width: 100%">
         </button>
@@ -112,7 +112,7 @@
   <label class="item item-select item-select-width">
     <span class="input-label">地区</span>
     <select name="city" ng-model="filter.city">
-        <option value="" selected>所有</option>
+        <!-- <option value="" selected>所有</option> -->
         <option value="北京">北京</option>
         <option value="上海">上海</option>
         <option value="广州">广州</option>