Jelajahi Sumber

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

YY 3 tahun lalu
induk
melakukan
b706479e40

+ 5 - 0
app.json

@@ -1,6 +1,9 @@
 {
   "pages": [
+<<<<<<< HEAD
    
+=======
+>>>>>>> cee58df8b145ecdc862faa94d4104d54ac77e77f
     "pages/home/index",
     "pages/login/index",
     "pages/search/index",
@@ -13,6 +16,8 @@
     "pages/ranking/index",
     "pages/me/index",
     "pages/information/index",
+    "pages/match/index",
+    "pages/match/detail",
     "pages/score/index",
     "pages/index/index",
     "pages/register/index",

+ 10 - 0
pages/administration/index.js

@@ -63,11 +63,21 @@ Page({
     let query = e.detail.detail;
     if (query) wx.redirectTo({ url: `/pages/${query}/index` })
   },
+  tiao: function () {
+    wx.navigateTo({
+      url: '/pages/match/index',
+    })
+  },
   jump:function(){
     wx.navigateTo({
      url: `/pages/competition/index`,
     })
    },
+   xun:function(){
+    wx.navigateTo({
+     url: `/pages/match/detail`,
+    })
+   },
    tuan:function(){
     wx.navigateTo({
      url: `/pages/ranking/index`,

+ 5 - 5
pages/administration/index.wxml

@@ -24,7 +24,7 @@
       <van-tabs v-model:active="active" class="van">
         <van-tab title="进行中">
           <view class="list" wx:key="item" wx:for="{{list}}">
-            <view class="name">{{item.name}}</view>
+            <view class="name" bindtap="tiao" >{{item.name}}</view>
             <button class="button" size="mini">{{item.state}}</button>
             <view class="left1">
               <view class="otherInfos">
@@ -35,7 +35,7 @@
               <view class="otherInfo textOver"><text class="text3">{{item.address}}</text></view>
             </view>
             <view class="right1" wx:if="{{item.listbisai}}" wx:for="{{item.listbisai}}" wx:for-item="items">
-              <view class="right1_1">
+              <view class="right1_1" bindtap="xun">
                 <text class="text4">{{items.match}}</text>
                 <text class="text4">{{items.group}}</text>
               </view>
@@ -59,7 +59,7 @@
         </van-tab>
         <van-tab title="未开始">
           <view class="list" wx:key="item" wx:for="{{liststart}}">
-            <view class="name">{{item.name}}</view>
+            <view class="name" bindtap="tiao" >{{item.name}}</view>
             <button class="buttonstart" size="mini">{{item.state}}</button>
             <view class="left1">
               <view class="otherInfos">
@@ -70,7 +70,7 @@
               <view class="otherInfo textOver"><text class="text3">{{item.address}}</text></view>
             </view>
             <view class="right1" wx:if="{{item.listbisai}}" wx:for="{{item.listbisai}}" wx:for-item="items">
-              <view class="right1_1">
+              <view class="right1_1" bindtap="xun" >
                 <text class="text4">{{items.match}}</text>
                 <text class="text4">{{items.group}}</text>
               </view>
@@ -94,7 +94,7 @@
         </van-tab>
         <van-tab title="已结束">
           <view class="list" wx:key="item" wx:for="{{listend}}">
-            <view class="name">{{item.name}}</view>
+            <view class="name" bindtap="tiao" >{{item.name}}</view>
             <button class="buttonend" size="mini">{{item.state}}</button>
             <view class="left1">
               <view class="otherInfos">

+ 5 - 6
pages/competition/index.js

@@ -50,12 +50,11 @@ Page({
   },
   //删除
   toDel: function (e) {
-    const that=this;
-    let list=that.data.szList;
-    let value =e.currentTarget.dataset.index;
-    let data=list.filter((i,index)=>index!=value)
-    this.setData({szList:data})
-
+    const that = this;
+    let list = that.data.szList;
+    let value = e.currentTarget.dataset.index;
+    let data = list.filter((i,index) => index != value)
+    this.setData({ szList: data })
   },
   search: function () {
     const that = this;

+ 10 - 1
pages/home/index.js

@@ -34,7 +34,16 @@ Page({
       },
     ],
   },
-
+  tiao: function () {
+    wx.navigateTo({
+      url: '/pages/match/index',
+    })
+  },
+  xun: function () {
+    wx.navigateTo({
+      url: '/pages/match/detail',
+    })
+  },
   tabPath(e) {
     let query = e.detail.detail;
     if (query) wx.redirectTo({ url: `/pages/${query}/index` })

+ 2 - 2
pages/home/index.wxml

@@ -6,7 +6,7 @@
     <view class="two">
       <view class="list" wx:key="item" wx:for="{{list}}">
         <view class="listtou">
-          <view class="name">{{item.name}}</view>
+          <view class="name" bindtap="tiao">{{item.name}}</view>
           <view class="listbut"> <button class="button" size="mini" style="background:rgb(238, 147, 28);" wx:if="{{item.state == '进行中'}}">{{item.state}}</button>
             <button class="button" size="mini" style="background:rgb(238, 88, 28);" wx:if="{{item.state == '待比赛'}}">{{item.state}}</button>
             <button class="button" size="mini" style="background:rgb(54, 233, 48)" wx:if="{{item.state == '报名中'}}">{{item.state}}</button>
@@ -22,7 +22,7 @@
           <view class="otherInfo textOver"><text class="text3">{{item.address}}</text></view>
         </view>
         <view class="right1" wx:if="{{item.listbisai}}" wx:for="{{item.listbisai}}" wx:for-item="items">
-          <view class="right1_1">
+          <view class="right1_1" bindtap="xun">
             <text class="text4">{{items.match}}</text>
             <text class="text4">{{items.group}}</text>
           </view>

+ 167 - 0
pages/match/detail.js

@@ -0,0 +1,167 @@
+// pages/login/login.js
+import WxValidate from '../../utils/wxValidate'
+const app = getApp()
+Page({
+
+  /**
+   * 页面的初始数据
+   */
+  data: {
+    src: '/image/detail.jpg',
+    src1: '/image/head1.png',
+    fileList: '',
+    frameStyle: { useTop: true, name: '比赛信息', leftArrow: true, useBar: false },
+    // 主体高度
+    infoHeight: '',
+    listb: [
+      {
+          time: '1-15 15:00',
+          ranks1: '哈拉海队幼儿园组',
+          score1: '2',
+          score2: '1',
+          ranks2: '马尼拉老年组',
+          state: '未开始'
+      }
+  ],
+    lists: [
+      {
+        id: '1', name: '老头1', head: '/image/tou.png'
+      },
+      {
+        id: '1', name: '老头2', head: '/image/tou.png'
+      },
+      {
+        id: '1', name: '老头3', head: '/image/tou.png'
+      },
+      {
+        id: '1', name: '老头4', head: '/image/tou.png'
+      },
+      {
+        id: '1', name: '老头5', head: '/image/tou.png'
+      }
+    ],
+    list: [
+      {
+        id: '1', name: '老头1', head: '/image/tou.png'
+      },
+      {
+        id: '1', name: '老头2', head: '/image/tou.png'
+      },
+      {
+        id: '1', name: '老头3', head: '/image/tou.png'
+      },
+      {
+        id: '1', name: '老头4', head: '/image/tou.png'
+      },
+      {
+        id: '1', name: '老头5', head: '/image/tou.png'
+      },
+      {
+        id: '1', name: '老头6', head: '/image/tou.png'
+      },
+      {
+        id: '1', name: '老头7', head: '/image/tou.png'
+      },
+
+      {
+        id: '1', name: '老头8', head: '/image/tou.png'
+      },
+      {
+        id: '1', name: '老头9', head: '/image/tou.png'
+      },
+      {
+        id: '1', name: '老头10', head: '/image/tou.png'
+      }
+    ],
+  },
+   //上传图片
+  afterRead: function (event) {
+    const { file } = event.detail;
+    // 当设置 mutiple 为 true 时, file 为数组格式,否则为对象格式app.globalData.fileUrl:
+    wx.uploadFile({
+      url: "http://broadcast.waityou24.cn/files" + '/baoan/elimg/upload',
+      filePath: file.url,
+      name: 'file',
+      formData: {},
+      success: (res) => {
+        console.log(res);
+        if (res.statusCode == '200') {
+          this.setData({ 'el_img': JSON.parse(res.data).uri })
+          let data = [{ name: JSON.parse(res.data).name, url: `${app.globalData.imageUrl}` + JSON.parse(res.data).uri }]
+          this.setData({ fileList: data })
+        } else {
+          wx.showToast({ title: `${res.data.errmsg}`, icon: 'fail', duration: 2000 })
+        }
+      },
+    });
+  },
+  back: function () {
+    wx.navigateBack({ url: '/pages/home/index' })
+  },
+  /**
+   * 生命周期函数--监听页面加载
+   */
+  onLoad: function (options) {
+    // 计算高度
+    this.searchHeight()
+  },
+  // 计算高度
+  searchHeight: function () {
+    let frameStyle = this.data.frameStyle;
+    let client = app.globalData.client;
+    // 减去状态栏
+    let infoHeight = client.windowHeight - (client.statusBarHeight + client.getMenu.height + (client.getMenu.top - client.statusBarHeight) * 2);
+    // 是否减去底部菜单
+    if (frameStyle.useBar) infoHeight = infoHeight - 50;
+    if (infoHeight) this.setData({ infoHeight: infoHeight })
+  },
+
+  /**
+   * 生命周期函数--监听页面初次渲染完成
+   */
+  onReady: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面显示
+   */
+  onShow: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面隐藏
+   */
+  onHide: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面卸载
+   */
+  onUnload: function () {
+
+  },
+
+  /**
+   * 页面相关事件处理函数--监听用户下拉动作
+   */
+  onPullDownRefresh: function () {
+
+  },
+
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom: function () {
+
+  },
+
+  /**
+   * 用户点击右上角分享
+   */
+  onShareAppMessage: function () {
+
+  }
+})

+ 6 - 0
pages/match/detail.json

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

+ 72 - 0
pages/match/detail.wxml

@@ -0,0 +1,72 @@
+<mobile-main frameStyle="{{frameStyle}}" bind:back="back">
+  <view slot="info" class="main" style="height:{{infoHeight}}px;">
+    <view class="ones">
+      <view class="one" wx:key="item" wx:for="{{listb}}">
+        <view class="one_1">
+          <view class="one_1_img">
+            <image class="one_logo1" src="/image/logo1.png"></image>
+          </view>
+          <view class="one_1_text">{{item.ranks1}}</view>
+        </view>
+        <view class="one_2">
+          <view class="one_2_1">
+            <text class="time">{{item.time}}</text>
+          </view>
+          <view class="one_2_2">
+            <text class="text1">{{item.score1}}</text>
+            <text class="text2">:</text>
+            <text class="text3">{{item.score2}}</text>
+          </view>
+          <view class="one_2_2">
+            <text class="text">{{item.state}}</text>
+          </view>
+        </view>
+        <view class="one_3">
+          <view class="one_3_img">
+            <image class="one_logo2" src="/image/logo2.png"></image>
+          </view>
+          <view class="one_3_text">{{item.ranks2}}</view>
+        </view>
+        <view class="one_4">第二届老年组小区板王比赛</view>
+      </view>
+    </view>
+    <view class="two">
+      <view class="two1"><text class="twos">参赛阵容</text></view>
+      <view class="tworight">
+        <view class="two-1">
+          <image class="imgs" src="{{src1}}"></image>
+        </view>
+        <view class="two-2" wx:key="item" wx:for="{{lists}}">
+          <view class="two2">
+            <view class="two-left">
+              <image class="img" src="{{item.head}}"></image>
+            </view>
+            <view class="two-right"><text class="name">{{item.name}}</text> </view>
+          </view>
+        </view>
+      </view>
+    </view>
+    <view class="thr">
+      <view class="thrright">
+        <view class="thrleft"><text class="thrss">马尼拉队</text></view>
+        <view class="thr-1" wx:key="item" wx:for="{{list}}">
+          <view class="thr1">
+            <view class="thr-left">
+              <image class="img" src="{{item.head}}"></image>
+            </view>
+            <view class="thr-right"><text class="names">{{item.name}}</text> </view>
+          </view>
+        </view>
+      </view>
+
+    </view>
+    <view class="four">
+      <view class="four1"><text class="fours">现场照片</text>
+        <van-uploader file-list="{{fileList}}" bind:after-read="afterRead" />
+      </view>
+    </view>
+    <view class="five">
+      <button class="button" form-type="submit">待通过</button>
+    </view>
+  </view>
+</mobile-main>

+ 244 - 0
pages/match/detail.wxss

@@ -0,0 +1,244 @@
+.main {
+  position: relative;
+  width: 100%;
+}
+.two{
+  background-color: #ffffff;
+  padding-top: 15px;
+}
+.two1{
+  width: 100%;
+  margin-left: 3%;
+  font-size: 15px;
+  font-weight: 550;
+}
+.tworight{
+  width: 100%;
+  float: left;
+  padding: 2%;
+  background-color: #ffffff;
+  margin-bottom: 0.5%;
+}
+.two-left{
+  width: 90%;
+  height: 50.64px;
+  background-color: #eeeeee;
+}
+.imgs{
+  width: 85%;
+  height: 40.83px; 
+}
+.img{
+  width: 100%;
+  height: 50.64px; 
+}
+.two-1{
+  padding-top: 17px;
+  padding-left: 5px;
+  float: left;
+  width: 15%;
+  background-color: #ffffff;
+}
+.two2{
+  background-color: #ffffff;
+}
+.two-2{
+  padding-top: 10px;
+  padding-left: 5px;
+  float: left;
+  width: 15%;
+  height: 75px;
+  background-color: #ffffff;
+  /* border: 1px solid red; */
+}
+.name{
+  margin-left: 10px;
+  font-size: 13px;
+  color: #727272;
+}
+.thr-left{
+  width: 90%;
+  height: 50.64px;
+  background-color: #eeeeee;
+}
+.img{
+  width: 100%;
+  height: 50.64px; 
+}
+.thr{
+  background-color: #ffffff;
+}
+.thrright{
+  background-color: #ffffff;
+  margin-bottom: 2%;
+}
+.thr-1{
+  padding-top: 10px;
+  padding-left: 6.5px;
+  float: left;
+  width: 14.5%;
+  background-color: #ffffff;
+  padding-bottom: 5px;
+}
+.thr1{
+  background-color: #ffffff;
+}
+.thr-2{
+  padding-top: 10px;
+  padding-left: 8px;
+  float: left;
+  width: 18%;
+  height: 75px;
+  background-color: #ffffff;
+  /* border: 1px solid red; */
+}
+.thr2{
+  float: left;
+  width: 50px;
+  height: 50px;
+  border: 2px solid #dddcdc;
+}
+.names{
+  margin-left: 7px;
+  font-size: 13px;
+  color: #727272;
+}
+.thrss{
+  font-size: 14px;
+  font-weight: 500;
+}
+.thrleft{
+  float: left;
+  height: 100px;
+  padding-top: 73px;
+  padding-left: 10px;
+  padding-right: 2px;
+  background-color: #ffffff;
+  margin-bottom: 2%;
+}
+.one {
+  position: relative;
+  background-color: #ffffff;
+  height: 150px;
+  margin-bottom: 5%;
+  padding: 10px 20px;
+}
+.onea{
+  font-weight: 600;
+  position: absolute;
+  top: 5%;
+  left: 2%;
+}
+.back {
+  width: 40rpx;
+  height: 40rpx;
+  left: 15px;
+  width: 40rpx;
+  height: 40rpx;
+}
+.four{
+  position: absolute;
+  bottom: 12%;
+  left: 2%;
+  font-weight: 550;
+  font-size: 15px;
+  background-color: #ffffff;
+}
+.five{
+  position: absolute;
+  bottom: 3%;
+  left: 10%;
+  font-weight: 550;
+  font-size: 15px;
+  background-color: #ffffff;
+}
+.button{
+  margin-top: 5px !important;
+  width: 300px !important;
+  height: 35px;
+  background-color: rgb(247, 89, 16);
+  background-image: linear-gradient(to right, rgb(245, 122, 65) , rgb(247, 89, 41));
+  border-radius: 30px; 
+  color:#ffffff; 
+  font-size: 13px;
+}
+.one_1 {
+  position: relative;
+  width: 35%;
+  float: left;
+}
+.one_1_text {
+  text-align: center;
+  font-size: 14px;
+}
+.one_3_text {
+  text-align: center;
+  font-size: 14px;
+}
+.one_2 {
+  position: relative;
+  width: 30%;
+  float: left;
+  height: 102px;
+}
+.one_2_1 {
+  text-align: center;
+  margin-bottom: 5px;
+}
+.one_2_2 {
+  text-align: center;
+}
+.text1 {
+  background-color: rgb(209, 209, 209);
+  text-align: center;
+  color: #00427b;
+  font-size: 30px;
+  font-weight: bold;
+  text-decoration: line-through;
+  text-decoration-color: #fff;
+}
+.text2 {
+  font-size: 25px;
+  font-weight: bold;
+  margin: 0 5px;
+}
+.text {
+  font-size: 15px;
+  position: relative;
+  top: 9px;
+  text-align: center;
+}
+.text3 {
+  background-color: rgb(209, 209, 209);
+  text-align: center;
+  color: #e70000;
+  font-size: 30px;
+  font-weight: bold;
+  text-decoration: line-through;
+  text-decoration-color: #fff;
+}
+.one_3 {
+  position: relative;
+  width: 35%;
+  float: right;
+}
+.one_4 {
+  margin-top: 4%;
+  float: left;
+  width: 100%;
+  font-size: 14px;
+  color: #999;
+  text-align: center;
+}
+.one_logo1 {
+  width: 90px;
+  height: 80px;
+}
+.one_3_img{
+    padding: 0 15px;
+}
+.one_logo2 {
+  align-items: center;
+  width: 90px;
+  height: 80px;
+}

+ 4 - 4
pages/match/index.js

@@ -9,7 +9,7 @@ Page({
   data: {
     src: '/image/detail.jpg',
     src1: '/image/head1.png',
-    fileList: '/image/head1.png',
+    fileList: '',
     frameStyle: { useTop: false, name: '参赛阵容', leftArrow: false, useBar: false },
     // 主体高度
     infoHeight: '',
@@ -64,12 +64,12 @@ Page({
       }
     ],
   },
-  // 上传图片
+   //上传图片
   afterRead: function (event) {
     const { file } = event.detail;
-    // 当设置 mutiple 为 true 时, file 为数组格式,否则为对象格式
+    // 当设置 mutiple 为 true 时, file 为数组格式,否则为对象格式app.globalData.fileUrl:
     wx.uploadFile({
-      url: app.globalData.fileUrl + '/baoan/elimg/upload',
+      url: "http://broadcast.waityou24.cn/files" + '/baoan/elimg/upload',
       filePath: file.url,
       name: 'file',
       formData: {},

+ 6 - 0
pages/match/index.wxml

@@ -1,6 +1,9 @@
 <mobile-main frameStyle="{{frameStyle}}" bind:back="back">
   <view slot="info" class="main" style="height:{{infoHeight}}px;">
     <view class="one">
+      <view class="onea">
+          <cover-image src='/image/back.png' class="back" bindtap='back'></cover-image>
+        </view>
       <image style="width: 100%; height: 250px; background-color: #eeeeee;" src="{{src}}"></image>
     </view>
     <view class="two">
@@ -38,5 +41,8 @@
         <van-uploader file-list="{{fileList}}" bind:after-read="afterRead" />
       </view>
     </view>
+    <view class="five">
+      <button class="button" form-type="submit">待通过</button>
+    </view>
   </view>
 </mobile-main>

+ 38 - 2
pages/match/index.wxss

@@ -33,7 +33,7 @@
   height: 50.64px; 
 }
 .two-1{
-  padding-top: 15px;
+  padding-top: 17px;
   padding-left: 5px;
   float: left;
   width: 15%;
@@ -116,6 +116,42 @@
   background-color: #ffffff;
   margin-bottom: 2%;
 }
+.onea{
+  font-weight: 600;
+  position: absolute;
+  top: 5%;
+  left: 2%;
+}
+.back {
+  width: 40rpx;
+  height: 40rpx;
+  left: 15px;
+  width: 40rpx;
+  height: 40rpx;
+}
 .four{
-
+  position: absolute;
+  bottom: 2%;
+  left: 2%;
+  font-weight: 550;
+  font-size: 15px;
+  background-color: #ffffff;
+}
+.five{
+  position: absolute;
+  bottom: -20%;
+  left: 10%;
+  font-weight: 550;
+  font-size: 15px;
+  background-color: #ffffff;
+}
+.button{
+  margin-top: 5px !important;
+  width: 300px !important;
+  height: 35px;
+  background-color: rgb(247, 89, 16);
+  background-image: linear-gradient(to right, rgb(245, 122, 65) , rgb(247, 89, 41));
+  border-radius: 30px; 
+  color:#ffffff; 
+  font-size: 13px;
 }

+ 5 - 0
pages/search/index.js

@@ -24,6 +24,11 @@ Page({
       }
     ],
   },
+  tiao: function () {
+    wx.navigateTo({
+      url: '/pages/match/index',
+    })
+  },
   //标签页
   setup() {
     const activeName = ref('a');

+ 8 - 8
pages/search/index.wxml

@@ -4,7 +4,7 @@
       <view class="one-2">
         <van-tabs v-model:active="activeName">
           <van-tab title="待参加" name="a" style="font-weight: 500;">
-            <view class="list" wx:key="item" wx:for="{{list}}">
+            <!-- <view class="list" wx:key="item" wx:for="{{list}}">
               <view class="left1">
                 <text class="text1">{{item.date}}</text>
                 <text class="text1">{{item.week}}</text>
@@ -33,14 +33,14 @@
                   </view>
                 </view>
               </view>
-            </view>
+            </view> -->
             <view class="beijing1" wx:key="item" wx:for="{{list}}">
-              <view style="margin-left: 10px;">
+              <view style="margin-left: 10px;margin-top: 2%;">
                 <text class="text1">{{item.date}}</text>
                 <text class="text1">{{item.week}}</text>
               </view>
               <view class="list1">
-                <view class="names">{{item.name}}</view>
+                <view class="names" bindtap="tiao">{{item.name}}</view>
                 <button class="button" size="mini">{{item.state}}</button>
                 <view class="leftmueen">
                   <view class="otherInfos">
@@ -54,7 +54,7 @@
             </view>
           </van-tab>
           <van-tab title="历史比赛" name="b" style="font-weight: 500;">
-            <view class="list" wx:key="item" wx:for="{{listend}}">
+            <!-- <view class="list" wx:key="item" wx:for="{{listend}}">
               <view class="left1">
                 <view class="otherInfoss">
                   <text class="text1">{{item.date}}</text>
@@ -85,14 +85,14 @@
                   </view>
                 </view>
               </view>
-            </view>
+            </view> -->
             <view class="beijing1" wx:key="item" wx:for="{{listend}}">
-              <view style="margin-left: 10px;">
+              <view style="margin-left: 10px;margin-top: 2%;">
                 <text class="text1">{{item.date}}</text>
                 <text class="text1">{{item.week}}</text>
               </view>
               <view class="list1">
-                <view class="names">{{item.name}}</view>
+                <view class="names" bindtap="tiao">{{item.name}}</view>
                 <button class="buttonend" size="mini">{{item.state}}</button>
                 <view class="leftmueen">
                   <view class="otherInfos">

+ 1 - 0
pages/search/index.wxss

@@ -35,6 +35,7 @@
 }
 
 .text1 {
+  margin-top: 3%;
   margin-right: 5px;
   font-size: 13px;
   color: rgb(185, 185, 185);

+ 3 - 0
pages/team/apply.js

@@ -49,6 +49,9 @@ Page({
     let query = e.detail.detail;
     if (query) wx.redirectTo({ url: `/pages/${query}/index` })
   },
+  back: function () {
+    wx.navigateBack({ url: '/pages/home/index' })
+  },
   out(){
     wx.showModal({
      title: '',

+ 10 - 0
pages/team/index.js

@@ -30,6 +30,16 @@ Page({
     let query = e.detail.detail;
     if (query) wx.redirectTo({ url: `/pages/${query}/index` })
   },
+  tiao: function () {
+    wx.navigateTo({
+      url: '/pages/team/examine',
+    })
+  },
+  jump: function () {
+    wx.navigateTo({
+      url: '/pages/team/apply',
+    })
+  },
   /**
    * 生命周期函数--监听页面加载
    */

+ 2 - 2
pages/team/index.wxml

@@ -17,13 +17,13 @@
       <view class="two">
         <view class="left">
           <image class="head" src="{{item.head}}"></image>
-          <text class="group">{{item.group}}</text>
+          <text class="group" bindtap="tiao" >{{item.group}}</text>
           <text class="person">共{{item.person}}人</text>
           <view class="fou"><text>创建人:{{item.Founder}}</text></view>
           <view class="time"><text class="date">{{item.date}}</text><text>{{item.time}}创建</text></view>
         </view>
         <view class="right">
-          <button class="button" form-type="submit">加入</button>
+          <button class="button" form-type="submit" bindtap="jump" >加入</button>
         </view>
       </view>
     </view>