YanaDH 7 years ago
parent
commit
ff31ba7e34

+ 0 - 4
.idea/blade.xml

xqd
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="BladeInjectionConfiguration" escapedTextEnd="!!}" escapedTextStart="{!!" />
-</project>

+ 0 - 3
.idea/copyright/profiles_settings.xml

xqd
@@ -1,3 +0,0 @@
-<component name="CopyrightManager">
-  <settings default="" />
-</component>

+ 0 - 6
.idea/encodings.xml

xqd
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="Encoding">
-    <file url="PROJECT" charset="UTF-8" />
-  </component>
-</project>

+ 0 - 18
.idea/miao.iml

xqd
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module type="WEB_MODULE" version="4">
-  <component name="NewModuleRootManager">
-    <content url="file://$MODULE_DIR$" />
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="module-library">
-      <library name="PHARS">
-        <CLASSES>
-          <root url="phar://$MODULE_DIR$/server/vendor/phpunit/phpunit/tests/_files/phpunit-example-extension/tools/phpunit.d/phpunit-example-extension-1.0.0.phar/" />
-        </CLASSES>
-        <SOURCES>
-          <root url="phar://$MODULE_DIR$/server/vendor/phpunit/phpunit/tests/_files/phpunit-example-extension/tools/phpunit.d/phpunit-example-extension-1.0.0.phar/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-  </component>
-</module>

+ 0 - 13
.idea/misc.xml

xqd
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="ProjectLevelVcsManager" settingsEditedManually="false">
-    <OptionsSetting value="true" id="Add" />
-    <OptionsSetting value="true" id="Remove" />
-    <OptionsSetting value="true" id="Checkout" />
-    <OptionsSetting value="true" id="Update" />
-    <OptionsSetting value="true" id="Status" />
-    <OptionsSetting value="true" id="Edit" />
-    <ConfirmationsSetting value="0" id="Add" />
-    <ConfirmationsSetting value="0" id="Remove" />
-  </component>
-</project>

+ 0 - 8
.idea/modules.xml

xqd
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="ProjectModuleManager">
-    <modules>
-      <module fileurl="file://$PROJECT_DIR$/.idea/miao.iml" filepath="$PROJECT_DIR$/.idea/miao.iml" />
-    </modules>
-  </component>
-</project>

+ 0 - 6
.idea/vcs.xml

xqd
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="VcsDirectoryMappings">
-    <mapping directory="$PROJECT_DIR$" vcs="Git" />
-  </component>
-</project>

+ 5 - 72
.idea/workspace.xml

xqd xqd xqd xqd
@@ -21,74 +21,7 @@
     <favorites_list name="miao" />
   </component>
   <component name="FileEditorManager">
-    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
-      <file leaf-file-name="index.html" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/miaomiao/www/templates/add/index.html">
-          <provider selected="true" editor-type-id="text-editor">
-            <state vertical-scroll-proportion="-1.9310344">
-              <caret line="30" column="52" selection-start-line="30" selection-start-column="49" selection-end-line="30" selection-end-column="52" />
-              <folding>
-                <element signature="n#style#0;n#label#0;n#div#1;n#div#0;n#ion-content#0;n#ion-view#0;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#img#0;n#a#1;n#div#5;n#div#0;n#ion-content#0;n#ion-view#0;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#em#0;n#a#1;n#div#5;n#div#0;n#ion-content#0;n#ion-view#0;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#img#0;n#a#2;n#div#5;n#div#0;n#ion-content#0;n#ion-view#0;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#em#0;n#a#2;n#div#5;n#div#0;n#ion-content#0;n#ion-view#0;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#div#6;n#div#0;n#ion-content#0;n#ion-view#0;n#!!top" expanded="true" />
-              </folding>
-            </state>
-          </provider>
-        </entry>
-      </file>
-      <file leaf-file-name="add.js" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/miaomiao/www/js/controllers/add.js">
-          <provider selected="true" editor-type-id="text-editor">
-            <state vertical-scroll-proportion="0.0">
-              <caret line="66" column="15" selection-start-line="56" selection-start-column="14" selection-end-line="66" selection-end-column="15" />
-              <folding />
-            </state>
-          </provider>
-        </entry>
-      </file>
-      <file leaf-file-name="my-account-add.html" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/miaomiao/www/templates/my/my-account-add.html">
-          <provider selected="true" editor-type-id="text-editor">
-            <state vertical-scroll-proportion="-6.357143">
-              <caret line="65" column="108" selection-start-line="65" selection-start-column="104" selection-end-line="65" selection-end-column="108" />
-              <folding>
-                <element signature="n#style#0;n#div#0;n#div#0;n#ion-content#0;n#ion-view#0;n#ion-tab#0;n#ion-tabs#0;n#ion-pane#0;n#ion-view#0;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#div#1;n#div#0;n#ion-content#0;n#ion-view#0;n#ion-tab#0;n#ion-tabs#0;n#ion-pane#0;n#ion-view#0;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#input#0;n#div#1;n#div#0;n#ion-content#0;n#ion-view#0;n#ion-tab#0;n#ion-tabs#0;n#ion-pane#0;n#ion-view#0;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#div#2;n#div#0;n#ion-content#0;n#ion-view#0;n#ion-tab#0;n#ion-tabs#0;n#ion-pane#0;n#ion-view#0;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#div#0;n#div#0;n#ion-content#0;n#ion-view#0;n#ion-tab#1;n#ion-tabs#0;n#ion-pane#0;n#ion-view#0;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#div#1;n#div#0;n#ion-content#0;n#ion-view#0;n#ion-tab#1;n#ion-tabs#0;n#ion-pane#0;n#ion-view#0;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#img#0;n#a#1;n#div#1;n#div#0;n#ion-content#0;n#ion-view#0;n#ion-tab#1;n#ion-tabs#0;n#ion-pane#0;n#ion-view#0;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#em#0;n#a#1;n#div#1;n#div#0;n#ion-content#0;n#ion-view#0;n#ion-tab#1;n#ion-tabs#0;n#ion-pane#0;n#ion-view#0;n#!!top" expanded="true" />
-              </folding>
-            </state>
-          </provider>
-        </entry>
-      </file>
-      <file leaf-file-name="my.js" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/miaomiao/www/js/controllers/my.js">
-          <provider selected="true" editor-type-id="text-editor">
-            <state vertical-scroll-proportion="0.0">
-              <caret line="260" column="67" selection-start-line="260" selection-start-column="67" selection-end-line="260" selection-end-column="67" />
-              <folding />
-            </state>
-          </provider>
-        </entry>
-      </file>
-      <file leaf-file-name="home.js" pinned="false" current-in-tab="true">
-        <entry file="file://$PROJECT_DIR$/miaomiao/www/js/controllers/home.js">
-          <provider selected="true" editor-type-id="text-editor">
-            <state vertical-scroll-proportion="0.5978836">
-              <caret line="679" column="23" selection-start-line="679" selection-start-column="23" selection-end-line="679" selection-end-column="23" />
-              <folding />
-            </state>
-          </provider>
-        </entry>
-      </file>
-    </leaf>
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300" />
   </component>
   <component name="FileTemplateManagerImpl">
     <option name="RECENT_TEMPLATES">
@@ -170,7 +103,7 @@
     <panes />
   </component>
   <component name="PropertiesComponent">
-    <property name="last_opened_file_path" value="$PROJECT_DIR$/../quanzhouda/receive/receive" />
+    <property name="last_opened_file_path" value="$PROJECT_DIR$/.." />
     <property name="WebServerToolWindowFactoryState" value="false" />
     <property name="HbShouldOpenHtmlAsHb" value="" />
     <property name="js-jscs-nodeInterpreter" value="D:\HPE\Note.js\Install\node.exe" />
@@ -245,7 +178,7 @@
   </component>
   <component name="ToolWindowManager">
     <frame x="349" y="0" width="1018" height="728" extended-state="0" />
-    <editor active="true" />
+    <editor active="false" />
     <layout>
       <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.16016427" sideWeight="0.49460918" order="0" side_tool="false" content_ui="combo" />
       <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
@@ -683,8 +616,8 @@
     </entry>
     <entry file="file://$PROJECT_DIR$/miaomiao/www/js/controllers/home.js">
       <provider selected="true" editor-type-id="text-editor">
-        <state vertical-scroll-proportion="0.5978836">
-          <caret line="679" column="23" selection-start-line="679" selection-start-column="23" selection-end-line="679" selection-end-column="23" />
+        <state vertical-scroll-proportion="0.9664903">
+          <caret line="690" column="15" selection-start-line="690" selection-start-column="15" selection-end-line="690" selection-end-column="15" />
           <folding />
         </state>
       </provider>

+ 30 - 5
miaomiao/www/css/style.css

xqd xqd xqd xqd xqd xqd
@@ -66,7 +66,7 @@ a.tab-item-add {
     position: relative;
     height: 70px;
     flex: none;
-    top: -40px;
+    top: -30px;
     opacity: 1;
 }
 a.tab-item-add .icon {
@@ -76,6 +76,15 @@ a.tab-item-add .icon {
     line-height: 40px;
     font-size: 60px;
 }
+.tab-item-home{
+    height: 200px;
+}
+.tabs{
+    height: 52px;
+}
+.tab-item .icon{
+    font-size: 23px;
+}
 /*add*/
 .addcontent .item{
     border:0;
@@ -218,13 +227,13 @@ overflow:auto;
         display:inline-block;
         color: #5A5A5A;
         width: 100px;
-        padding-top: 5px;
+        padding-top: 4px;
         margin-left: 5px;
         float: left;
     }
 .mysecond {
     color: #BEBEBE;
-    margin-top:5px;
+    margin-top:1px;
     font-size: 15px;
 }
 .swiper-pagination-bullet{
@@ -255,6 +264,10 @@ overflow:auto;
     color: #fff;
     /*font-family: 宋体;*/
 }
+.popup-buttons .button:last-child{
+    margin: 0 20%;
+
+}
 
 /*my-html*/
 
@@ -487,9 +500,7 @@ a:visited,a:link{
 }
 
 .detail-like .send div{
-    /*position:relative;*/
     color: #929292;
-    top:15px;
 }
 .detail-like .send img{
     width: 30px;
@@ -583,6 +594,20 @@ a:visited,a:link{
 .top1{
     text-align: center; float:left; height: 111px; width: 111px;color: #6B6B6B;font-size: 14px;
 }
+.dreamButton{
+    /*border: 1px solid red;*/
+    text-align: center;
+}
+.dreamButton button{
+    background: #fff;
+    height: 40px;
+    line-height: 15px;
+    border-radius:30px;
+}
+.button{
+    min-width: 100px;
+    min-height: 10px;
+}
 /*seach.html*/
 .search-hot {
     font-size:1rem;

+ 28 - 11
miaomiao/www/js/controllers/home.js

xqd xqd xqd xqd xqd xqd
@@ -154,6 +154,8 @@
                 msg.hide();
                 console.log(result);
                 $scope.dream = result.data.data;
+                var reg = new RegExp("\n", "g");
+                $scope.dream.about = $scope.dream.about.replace(reg, "<br/>");
                 var end_time = new Date($scope.dream.end_time.replace(/-/g, "/"));
                 var date = new Date();
                 var inter = (end_time.getTime() - date.getTime()) / 1000;
@@ -255,16 +257,19 @@
             var h=parseInt(countDown/(60*60)%24);
             var m=parseInt(countDown/60%60);
             var s=parseInt(countDown%60); 
-            $scope.timer=(h<10?'0'+h:h)+'时'+(m<10?'0'+m:m)+'分'+(s<10?'0'+s:s)+'秒';
-            if(day>0) $scope.timer = day+'天'+ $scope.timer;
+            //$scope.timer=(h<10?'0'+h:h)+'时'+(m<10?'0'+m:m)+'分'+(s<10?'0'+s:s)+'秒';
+            if(day>0) $scope.timer = day+'天';
+            if(day<0 && h>0) $scope.timer = h+'小时';
+            if(day<0 && h<0 && m>0) $scope.timer = m+'分钟';
+            if(day<0 && h<0 && m<0) $scope.timer = '结束';
             
-            if($scope.leftTimer)$interval.cancel($scope.leftTimer);
+           /* if($scope.leftTimer)$interval.cancel($scope.leftTimer);
             $scope.leftTimer = $interval(function () {
                 if (countDown >= 1) leftTimer(countDown - 1);
-            },1000);
-            if(countDown<=0){
+            },1000);*/
+           /* if(countDown<=0){
               $scope.timer='结束'; 
-            }
+            }*/
         };
         $scope.changeIndex = function (index) {
             $scope.index = index;
@@ -372,6 +377,9 @@
                 $scope.closeModal();
             })
         };
+            $scope.seePic = function(){
+
+            };
         $scope.addpict = function () {
             common.chooseImage().then(function (img) {
                 common.uploadFiles(img,1).then(function (result) {
@@ -553,8 +561,13 @@
                 var h=parseInt(countDown/(60*60)%24);
                 var m=parseInt(countDown/60%60);
                 var s=parseInt(countDown%60);
-                $scope.timer=(h<10?'0'+h:h)+'时'+(m<10?'0'+m:m)+'分'+(s<10?'0'+s:s)+'秒';
-                if(day>0) $scope.timer = day+'天'+ $scope.timer;
+                //$scope.timer=(h<10?'0'+h:h)+'时'+(m<10?'0'+m:m)+'分'+(s<10?'0'+s:s)+'秒';
+                if(day>0) $scope.timer = day+'天';
+                if(day<0 && h>0) $scope.timer = h+'小时';
+                if(day<0 && h<0 && m>0) $scope.timer = m+'分钟';
+                if(day<0 && h<0 && m<0) $scope.timer = '结束';
+
+                /*if(day>0) $scope.timer = day+'天'+ $scope.timer;
 
                 if($scope.leftTimer)$interval.cancel($scope.leftTimer);
                 $scope.leftTimer = $interval(function () {
@@ -562,7 +575,7 @@
                 },1000);
                 if(countDown<=0){
                     $scope.timer='结束';
-                }
+                }*/
             };
             $scope.changeIndex = function (index) {
                 $scope.index = index;
@@ -787,11 +800,15 @@
         }]);
     app.controller('oldDreamCtrl', ["$scope","homeService", "$stateParams","$state", "msg"
         , function ($scope,homeService,$stateParams, $state, msg) {
-
+            $scope.toDetail = function(){
+                $state.go("app.home_userDetail")
+            }
         }]);
     app.controller('supportDreamCtrl', ["$scope","homeService", "$stateParams","$state", "msg"
         , function ($scope,homeService,$stateParams, $state, msg) {
-
+            $scope.toDetail = function(){
+                $state.go("app.home_userDetail")
+            }
         }]);
     app.controller('searchCtrl', ["$scope","homeService", "$state", "msg", "$ionicTabsDelegate", "$ionicNavBarDelegate"
         , function ($scope,homeService, $state, msg, $ionicTabsDelegate, $ionicNavBarDelegate) {

+ 56 - 47
miaomiao/www/templates/home/dream-detail.html

xqd xqd xqd xqd xqd xqd
@@ -7,19 +7,22 @@
             <img src="img/icon_share.svg" style="height: 16px; width: 20px;">
         </button>
     </ion-nav-buttons>
-    <div ng-if="type==1" style="position: fixed; bottom: -8px; width: 100%; z-index: 5;background: #fff;border-top: 1px solid #ECF2F7;height: 68px">
+    <div ng-if="type==1 && user.id != dream.user_id" style="position: fixed; bottom: -8px; width: 100%; z-index: 5;background: #fff;border-top: 1px solid #ECF2F7;height: 68px">
         <div class="row">
-            <div class="col">
-                <button ng-click="openSupport()" class="button button-outline button-calm" style="width:100%; background: #fff; border-radius:30px; white-space:normal;line-height:20px; border: 1px solid #00C3DA">支持乘数×{{multi.result}}</button>
+            <div class="col dreamButton">
+                <button ng-click="openSupport()" class="button button-outline button-calm" style="border: 1px solid #00C3DA">
+                    支持乘数<br>
+                    ×{{multi.result}}
+                </button>
             </div>
-            <div class="col">
-                <button class="button button-calm" style="width:100%; border-radius:30px; font-size: 20px;" ng-click="support($event)">支持</button>
+            <div class="col dreamButton">
+                <button class="button button-calm" ng-click="support($event)">支持</button>
             </div>
-            <div class="col" ng-if="dream.is_collection==0">
-                <button class="button button-outline button-calm" style="width:100%; border-radius:30px; border: 1px solid #00C3DA" ng-click="collectionDream(1)">+关注</button>
+            <div class="col dreamButton" ng-if="dream.is_collection==0">
+                <button class="button button-outline button-calm" style="border: 1px solid #00C3DA" ng-click="collectionDream(1)">+关注</button>
             </div>
-            <div class="col" ng-if="dream.is_collection==1">
-                <button class="button button-outline" style="width:100%; background: #fff; border-radius:30px; border: 1px solid #A3A3A3"  ng-click="collectionDream(0)">已关注</button>
+            <div class="col dreamButton" ng-if="dream.is_collection==1">
+                <button class="button button-outline" style="background: #fff; border: 1px solid #A3A3A3"  ng-click="collectionDream(0)">已关注</button>
             </div>
         </div>
     </div>
@@ -51,7 +54,7 @@
                         </ion-slide-page>
                     </ion-slides>
                 </div>
-                <div class="item">
+                <div class="item" style="padding: 0 16px">
                     <p style="font-size: 17px; color: #000">{{dream.name}}</p>
                     <p style="font-size: 13px;" ng-style="aboutStyle">
                         {{dream.about}}
@@ -110,6 +113,12 @@
                     </div>
                 </div>
             </div>
+            <div>
+                <a class="btn-file-up" style="margin: 0 0 10px 37%">
+                    <!--<img src="img/icon_photo.svg" style="height: 40px; width: 40px; text-align: center; line-height: 40px" /><br>-->
+                    <em style="font-size: 16px">二维码</em>
+                </a>
+            </div>
         </div>
         <div ng-if="type==2" class="hdcontent">
             <div style="color: red">
@@ -121,12 +130,12 @@
                         </a>
                     </div>
                     <div class="item" style="border-bottom:15px solid #F2F2F2;" ng-click="add_comment()" ng-repeat="interaction in dream.interactions">
-                        <img class="head" ng-src="{{dream.user.avatar}}" />
-                        <span class="utitle">{{dream.user.nickname}}</span>
+                        <img ng-click="replay($event,dream.user.nickname)" class="head" ng-src="{{dream.user.avatar}}" />
+                        <span ng-click="replay($event,dream.user.nickname)" class="utitle">{{dream.user.nickname}}</span>
                         <span class="utitle kz">剩余{{dream.end_time | lastDate}}天</span>
-                        <p class="subtile"  style="white-space:normal; color: #666666">{{interaction.title}}</p>
-                        <div class="picts item" ng-click="replay($event,dream.user.nickname)">
-                            <img class="slt" ng-src="{{interaction.pic1}}" ng-if="interaction.pic1"/>
+                        <p ng-click="replay($event,dream.user.nickname)" class="subtile"  style="white-space:normal; color: #666666">{{interaction.title}}</p>
+                        <div class="picts item">
+                            <img class="slt" ng-click="seePic()" ng-src="{{interaction.pic1}}" ng-if="interaction.pic1"/>
                             <img class="slt" ng-src="{{interaction.pic2}}" ng-if="interaction.pic2"/>
                             <img class="slt" ng-src="{{interaction.pic3}}" ng-if="interaction.pic3"/>
                             <img class="slt" ng-src="{{interaction.pic4}}" ng-if="interaction.pic4"/>
@@ -303,79 +312,79 @@
     </script>
     </ion-content>
         <div class="detail-like" ng-if="tosupport">
-            <div style="text-align: center; border-bottom: 3px solid #1E1D1C">
+            <div style="text-align: center; border-bottom: 3px solid #8D8D8E">
                 <img src="img/img_miao.png" style="width: 25%; height: 55px;margin-bottom: -13px">
             </div>
             <div style="background: #fff;">
                 <div class="coin">
                     <div class="row">
                         <div class="col box {{index==2?'selected':''}}" ng-click="changeIndex(2)" ng-model="coin">
-                            <div style="float:left; width: 40%; margin-right: 8%">
+                            <div style="float:left; width: 35%;  margin-top: 2%; margin-left: 5%">
                                 <img src="img/icon_kiss.png" style="width: 100%;">
                             </div>
-                            <div style="float:left; color: #000;font-size: 16px; margin-top: 12%; margin-right: 3%">
-                                20
-                            </div>
-                            <div style="float:left; width: 20%; margin-top: 5%;">
+                            <div style="float:right; width: 20%; margin-top: 5%; margin-right: 5px">
                                 <img src="img/icon_gold.svg" style="width: 100%">
                             </div>
+                            <div style="float:right; color: #000;font-size: 16px; margin-top: 12%; margin-right: 3%">
+                                20
+                            </div>
                         </div>
                         <div class="col box {{index==5?'selected':''}}" ng-click="changeIndex(5)" ng-model="coin">
-                            <div style="float:left; width: 40%; margin-right: 8%">
+                            <div style="float:left; width: 35%;  margin-top: 2%; margin-left: 5%">
                                 <img src="img/icon_candy.png" style="width: 100%;">
                             </div>
-                            <div style="float:left; color: #000;font-size: 16px; margin-top: 12%; margin-right: 3%">
-                                50
-                            </div>
-                            <div style="float:left; width: 20%; margin-top: 5%;">
+                            <div style="float:right; width: 20%; margin-top: 5%; margin-right: 5px">
                                 <img src="img/icon_gold.svg" style="width: 100%">
                             </div>
+                            <div style="float:right; color: #000;font-size: 16px; margin-top: 12%; margin-right: 3%">
+                                50
+                            </div>
                         </div>
                         <div class="col box {{index==10?'selected':''}}" ng-click="changeIndex(10)" ng-model="coin">
-                            <div style="float:left; width: 40%; margin-right: 2%">
+                            <div style="float:left; width: 35%;  margin-top: 2%; margin-left: 5%">
                                 <img src="img/icon_balloon.png" style="width: 100%;">
                             </div>
-                            <div style="float:left; color: #000;font-size: 16px; margin-top: 12%; margin-right: 3%">
-                                100
-                            </div>
-                            <div style="float:left; width: 20%; margin-top: 5%;">
+                            <div style="float:right; width: 20%; margin-top: 5%; margin-right: 5px">
                                 <img src="img/icon_gold.svg" style="width: 100%">
                             </div>
+                            <div style="float:right; color: #000;font-size: 16px; margin-top: 12%; margin-right: 3%">
+                                100
+                            </div>
                         </div>
                     </div>
                     <div class="row">
                         <div class="col box {{index==20?'selected':''}}" ng-click="changeIndex(20)" ng-model="coin">
-                            <div style="float:left; width: 40%; margin-right: 0.5%">
+                            <div style="float:left; width: 35%; margin-top: 2%; margin-left: 5%">
                                 <img src="img/icon_rose.png" style="width: 100%;">
                             </div>
-                            <div style="float:left; color: #000;font-size: 16px; margin-top: 12%; margin-right: 3%">
-                                200
-                            </div>
-                            <div style="float:left; width: 20%; margin-top: 5%;">
+                            <div style="float:right; width: 20%; margin-top: 5%; margin-right: 5px">
                                 <img src="img/icon_gold.svg" style="width: 100%">
                             </div>
+                            <div style="float:right; color: #000;font-size: 16px; margin-top: 12%; margin-right: 3%">
+                                200
+                            </div>
                         </div>
                         <div class="col box {{index==30?'selected':''}}" ng-click="changeIndex(30)" ng-model="coin">
-                            <div style="float:left; width: 40%; margin-right: 0.5%">
+                            <div style="float:left; width: 35%; margin-top: 3%; margin-left: 5%">
                                 <img src="img/icon_haert.png" style="width: 100%;">
                             </div>
-                            <div style="float:left; color: #000;font-size: 16px; margin-top: 12%; margin-right: 3%">
-                                300
-                            </div>
-                            <div style="float:left; width: 20%; margin-top: 5%;">
+                            <div style="float:right; width: 20%; margin-top: 5%; margin-right: 5px">
                                 <img src="img/icon_gold.svg" style="width: 100%">
                             </div>
+                            <div style="float:right; color: #000;font-size: 16px; margin-top: 12%; margin-right: 3%">
+                                300
+                            </div>
                         </div>
                         <div class="col box {{index==50?'selected':''}}" ng-click="changeIndex(50)" ng-model="coin">
-                            <div style="float:left; width: 40%; margin-right: 2.3%">
+                            <div style="float:left; width: 35%; margin-top: 2%; margin-left: 5%">
                                 <img src="img/icon_diamond.png" style="width: 100%;">
                             </div>
-                            <div style="float:left; color: #000;font-size: 16px; margin-top: 12%; margin-right: 3%">
-                                500
-                            </div>
-                            <div style="float:left; width: 20%; margin-top: 5%;">
+                            <div style="float:right; width: 20%; margin-top: 5%; margin-right: 5px">
                                 <img src="img/icon_gold.svg" style="width: 100%">
                             </div>
+                            <div style="float:right; color: #000;font-size: 16px; margin-top: 12%; margin-right: 3%">
+                                500
+                            </div>
                         </div>
                     </div>
                 </div>
@@ -395,7 +404,7 @@
                         <em>&nbsp;充值</em>
                     </div>
                     <span style="height:100%;float: right;">
-                        <a style="border-radius:90px; width:90px; height: 40px; min-height: 30px; font-size:1.1em; padding: 0; line-height: 40px" class="button button-calm"  ng-click="supportDream()">发送</a>
+                        <a style="border-radius:90px; width:70px; height: 30px; min-height: 30px; font-size:1.1em; padding: 0; line-height: 24px; margin-top: 9px" class="button button-calm"  ng-click="supportDream()">发送</a>
                     </span>
                 </div>
             </div>

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

xqd
@@ -60,7 +60,7 @@
                             <div class="item mainitem" ng-repeat="item in index.dreams">
                                 <div class="row">
                                     <div class="col avatarCol">
-                                        <div class="fl" style="width: 30%">
+                                        <div class="fl" style="width: 27%">
                                             <img ng-src="{{item.user.avatar | avator}}" ng-click="toUserDetail(item.id)" />
                                         </div>
                                         <div class="myblock">

+ 1 - 1
miaomiao/www/templates/tabs.html

xqd
@@ -1,5 +1,5 @@
 <ion-tabs class="tabs-icon-top tabs-color-active-calm">
-    <ion-tab title="首页" icon-off="thsfont-icon_home_n" icon-on="thsfont-icon_home_h" ng-click="go('app.home')">
+    <ion-tab title="首页" class="tab-item-home" icon-off="thsfont-icon_home_n" icon-on="thsfont-icon_home_h" ng-click="go('app.home')">
         <ion-nav-view name="app-home"></ion-nav-view>
     </ion-tab>
     <ion-tab class="tab-item-add" ng-click="go('app.add')">