Mike 6 년 전
부모
커밋
1a952a0193
5개의 변경된 파일23개의 추가작업 그리고 8개의 파일을 삭제
  1. 1 1
      wechat/app.json
  2. 2 2
      wechat/pages/bind-phone/index.wxml
  3. 9 3
      wechat/pages/form/index.js
  4. 10 1
      wechat/pages/index/index.js
  5. 1 1
      wechat/pages/my-log/my-log.wxml

+ 1 - 1
wechat/app.json

xqd
@@ -1,7 +1,7 @@
 {
   "pages": [
-    "pages/article/article",
     "pages/index/index",
+    "pages/article/article",
     "pages/announce/announce",
     "pages/announce-detail/index",
     "pages/article-detail/index",

+ 2 - 2
wechat/pages/bind-phone/index.wxml

xqd
@@ -20,8 +20,8 @@
         </zan-col>
       </view>
     </zan-row>
-    <view class="btn-area">
-      <button formType="submit" type='primary' class='bind-phone-btn'>绑定手机号</button>
+    <view class="btn-area"> 
+      <button formType="submit" type='primary' class='submit-btn'>绑定手机号</button>
     </view>
   </form>
 </view>

+ 9 - 3
wechat/pages/form/index.js

xqd
@@ -163,7 +163,13 @@ Page({
   /**
    * 用户点击右上角分享
    */
-  onShareAppMessage: function () {
-  
-  }
+  onShareAppMessage: function (t) {
+    var a = this;
+    return {
+      path: "/pages/index/index",
+      success: function (t) {
+      },
+      title:"钢琴时间打卡"
+    };
+  },
 })

+ 10 - 1
wechat/pages/index/index.js

xqd
@@ -303,6 +303,15 @@ Page({
         })
       }
     })
-  }
+  },
+  onShareAppMessage: function (t) {
+    var a = this;
+    return {
+      path: "/pages/index/index",
+      success: function (t) {
+      },
+      title: "钢琴时间打卡"
+    };
+  },
   
 })

+ 1 - 1
wechat/pages/my-log/my-log.wxml

xqd
@@ -1,4 +1,4 @@
-<view>
+<view style="margin-top:20px">
   <calendar
     bindprevMonth="prevDate"
     bindnextMonth="nextDate"