Bläddra i källkod

Merge branch 'master' of http://git.cc-lotus.info/ball-court/court-badminton

guhongwei 2 år sedan
förälder
incheckning
65595d77da

+ 1 - 1
pages/usermysign/index.wxml

@@ -7,7 +7,7 @@
             <scroll-view scroll-y="true" class="scroll-view">
                 <view class="list-scroll-view">
                     <view class="list" wx:for="{{list}}" wx:key="item">
-                        <view class="name textOver">{{item.match_name}}</view>
+                        <view class="name">{{item.match_name}}</view>
                         <view class="other">
                             <view class="other_1">
                                 <text>是否支付报名费:</text>

+ 8 - 4
pages/usermyteam/add.js

@@ -1,20 +1,24 @@
-// pages/usermyteam/add.js
+const app = getApp()
 Page({
 
     /**
      * 页面的初始数据
      */
     data: {
-
+        frameStyle: { useTop: true, name: '话题', leftArrow: false, useBar: true },
+    },
+    // 跳转菜单
+    tabPath(e) {
+        let { route } = e.detail.detail;
+        if (route) wx.redirectTo({ url: `/${route}` })
     },
-
     /**
      * 生命周期函数--监听页面加载
      */
     onLoad: function (options) {
+        const that = this;
 
     },
-
     /**
      * 生命周期函数--监听页面初次渲染完成
      */

+ 4 - 1
pages/usermyteam/add.json

@@ -1,3 +1,6 @@
 {
-  "usingComponents": {}
+  "component": true,
+  "usingComponents": {
+    "mobile-main": "/commpents/mobile-frame/index"
+  }
 }

+ 4 - 0
pages/usermyteam/add.less

@@ -0,0 +1,4 @@
+.main {
+    height: 80.8vh;
+    background-color: #ff0000;
+}

+ 5 - 2
pages/usermyteam/add.wxml

@@ -1,2 +1,5 @@
-<!--pages/usermyteam/add.wxml-->
-<text>pages/usermyteam/add.wxml</text>
+<mobile-main frameStyle="{{frameStyle}}" bind:back="back" bind:tabPath="tabPath">
+    <view slot="info" class="container main">
+        话题
+    </view>
+</mobile-main>

+ 4 - 1
pages/usermyteam/add.wxss

@@ -1 +1,4 @@
-/* pages/usermyteam/add.wxss */
+.main {
+  height: 80.8vh;
+  background-color: #ff0000;
+}

+ 8 - 4
pages/usermyteam/index.js

@@ -1,20 +1,24 @@
-// pages/usermyteam/index.js
+const app = getApp()
 Page({
 
     /**
      * 页面的初始数据
      */
     data: {
-
+        frameStyle: { useTop: true, name: '话题', leftArrow: false, useBar: true },
+    },
+    // 跳转菜单
+    tabPath(e) {
+        let { route } = e.detail.detail;
+        if (route) wx.redirectTo({ url: `/${route}` })
     },
-
     /**
      * 生命周期函数--监听页面加载
      */
     onLoad: function (options) {
+        const that = this;
 
     },
-
     /**
      * 生命周期函数--监听页面初次渲染完成
      */

+ 4 - 1
pages/usermyteam/index.json

@@ -1,3 +1,6 @@
 {
-  "usingComponents": {}
+  "component": true,
+  "usingComponents": {
+    "mobile-main": "/commpents/mobile-frame/index"
+  }
 }

+ 4 - 0
pages/usermyteam/index.less

@@ -0,0 +1,4 @@
+.main {
+    height: 80.8vh;
+    background-color: #ff0000;
+}

+ 5 - 2
pages/usermyteam/index.wxml

@@ -1,2 +1,5 @@
-<!--pages/usermyteam/index.wxml-->
-<text>pages/usermyteam/index.wxml</text>
+<mobile-main frameStyle="{{frameStyle}}" bind:back="back" bind:tabPath="tabPath">
+    <view slot="info" class="container main">
+        话题
+    </view>
+</mobile-main>

+ 4 - 1
pages/usermyteam/index.wxss

@@ -1 +1,4 @@
-/* pages/usermyteam/index.wxss */
+.main {
+  height: 80.8vh;
+  background-color: #ff0000;
+}