zs 3 years ago
parent
commit
91c5074907

+ 0 - 1
commpents/mobile-frame/foot.wxss

@@ -1,7 +1,6 @@
 .foot {
   float: left;
   width: 100%;
-  background-color: #ffffff;
 }
 .iocn{
   text-align: center;

+ 2 - 2
commpents/mobile-frame/mobile-main.wxss

@@ -1,7 +1,7 @@
 .main {
   float: left;
   width: 100%;
-  background-color: #ffffff;
+  background-color: #f1f1f1;
 }
 
 .main .one {
@@ -13,7 +13,7 @@
   float: left;
   width: 100%;
   overflow-y: auto;
-  background-color: #ffffff;
+  background-color: #f1f1f1;
 }
 
 .main .foot {

BIN
image/zan.png


+ 31 - 12
pages/administration/index.js

@@ -17,27 +17,46 @@ Page({
     infoHeight: '',
     list: [
       {
-        id: '1', name: '朝阳区乒乓球比赛', head2: '/image/head2.png', head1: '/image/head1.png',fraction2: '1', groupname2: '马尼拉老年组', group: '第一组', fraction1: '2', groupname1: '哈拉海队幼儿园', match: '循环赛', week: '星期五', time: '13:00',
-        state: '进行中', date: '2022.01.15', address: '吉林省长春市远创国际A座'
+        id: '1', name: '朝阳区乒乓球比赛',week: '星期五', time: '13:00',
+        state: '进行中', listbisai: [
+          {
+            id: '1', head2: '/image/head2.png', head1: '/image/head1.png', fraction2: '1', groupname2: '马尼拉老年组', group: '第一组', fraction1: '2', groupname1: '哈拉海队幼儿园', match: '循环赛'
+          }
+        ], date: '2022.01.15', address: '吉林省长春市远创国际A座'
       },
-      { id: '1', name: '经开区足球比赛', fraction2: '1', groupname2: '马尼拉老年组', group: '第二组', fraction1: '2', groupname1: '哈拉海队幼儿园', match: '循环赛',
-       week: '星期一', head2: '/image/head2.png', head1: '/image/head1.png', time: '09:00', state: '进行中', date: '2022.01.20', address: '吉林省长春市远创国际A座' },
+      {
+        id: '1', name: '经开区足球比赛',
+        week: '星期一', listbisai: [
+          {
+            id: '1', head2: '/image/head2.png', head1: '/image/head1.png', fraction2: '1', groupname2: '马尼拉老年组', group: '第一组', fraction1: '2', groupname1: '哈拉海队幼儿园', match: '循环赛'
+          }
+        ], time: '09:00', state: '进行中', date: '2022.01.20', address: '吉林省长春市远创国际A座'
+      },
+
     ],
     liststart: [
       {
-        id: '1', name: '朝阳区乒乓球比赛', head2: '/image/head2.png', head1: '/image/head1.png',fraction2: '1', groupname2: '马尼拉老年组', group: '第一组', fraction1: '2', groupname1: '哈拉海队幼儿园', match: '循环赛', week: '星期五', time: '13:00',
-        state: '待比赛', date: '2022.01.15', address: '吉林省长春市远创国际A座'
+        id: '1', name: '朝阳区乒乓球比赛', week: '星期五', time: '13:00',
+        state: '待比赛', listbisai: [
+          {
+            id: '1', head2: '/image/head2.png', head1: '/image/head1.png', fraction2: '0', groupname2: '马尼拉老年组', group: '第一组', fraction1: '0', groupname1: '哈拉海队幼儿园', match: '循环赛'
+          }
+        ], date: '2022.01.15', address: '吉林省长春市远创国际A座'
+      },
+      {
+        id: '1', name: '经开区足球比赛',
+        week: '星期一', listbisai: [], time: '09:00', state: '待比赛', date: '2022.01.20', address: '吉林省长春市远创国际A座'
       },
-      { id: '1', name: '经开区足球比赛', fraction2: '1', groupname2: '马尼拉老年组', group: '第二组', fraction1: '2', groupname1: '哈拉海队幼儿园', match: '循环赛',
-       week: '星期一', head2: '/image/head2.png', head1: '/image/head1.png', time: '09:00', state: '待比赛', date: '2022.01.20', address: '吉林省长春市远创国际A座' },
     ],
     listend: [
       {
-        id: '1', name: '朝阳区乒乓球比赛', head2: '/image/head2.png', head1: '/image/head1.png',fraction2: '1', groupname2: '马尼拉老年组', group: '第一组', fraction1: '2', groupname1: '哈拉海队幼儿园', match: '循环赛', week: '星期五', time: '13:00',
-        state: '已结束', date: '2022.01.15', address: '吉林省长春市远创国际A座'
+        id: '1', name: '朝阳区乒乓球比赛', week: '星期五', time: '13:00',
+        state: '已结束', listbisai: [], date: '2022.01.15', address: '吉林省长春市远创国际A座'
+      },
+      {
+        id: '1', name: '经开区足球比赛',
+        week: '星期一', time: '09:00', state: '已结束', date: '2022.01.20', listbisai: [], address: '吉林省长春市远创国际A座'
       },
-      { id: '1', name: '经开区足球比赛', fraction2: '1', groupname2: '马尼拉老年组', group: '第二组', fraction1: '2', groupname1: '哈拉海队幼儿园', match: '循环赛',
-       week: '星期一', head2: '/image/head2.png', head1: '/image/head1.png', time: '09:00', state: '已结束', date: '2022.01.20', address: '吉林省长春市远创国际A座' },
     ],
   },
   tabPath(e) {

+ 93 - 89
pages/administration/index.wxml

@@ -24,105 +24,109 @@
       <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>
-        <button class="button" size="mini">{{item.state}}</button>
-        <view class="left1">
-          <view class="otherInfo">
-            <text class="text1">{{item.date}}</text>
-            <text class="text1">{{item.week}}</text>
-            <text class="text1">{{item.time}}</text>
-          </view>
-          <view class="otherInfo textOver"><text class="text3">{{item.address}}</text></view>
-        </view>
-        <view class="right1">
-          <view class="right1_1">
-            <text class="text4">{{item.match}}</text>
-            <text class="text4">{{item.group}}</text>
-          </view>
-          <view class="right1_2">
-            <view class="right1_2o">
-              <image src="{{item.head1}}"></image>
-            </view>
-            <view class="right1_2t"><text>{{item.groupname1}}</text></view>
-            <view class="right1_2i">
-              <text class="text6">{{item.fraction1}}</text>
-              <text class="text8">:</text>
-              <text class="text7">{{item.fraction2}}</text>
+            <view class="name">{{item.name}}</view>
+            <button class="button" size="mini">{{item.state}}</button>
+            <view class="left1">
+              <view class="otherInfo">
+                <text class="text1">{{item.date}}</text>
+                <text class="text1">{{item.week}}</text>
+                <text class="text1">{{item.time}}</text>
+              </view>
+              <view class="otherInfo textOver"><text class="text3">{{item.address}}</text></view>
             </view>
-            <view class="right1_2t"><text>{{item.groupname2}}</text></view>
-            <view class="right1_2o">
-              <image src="{{item.head2}}"></image>
+            <view class="right1" wx:if="{{item.listbisai}}" wx:for="{{item.listbisai}}" wx:for-item="items">
+              <view class="right1_1">
+                <text class="text4">{{items.match}}</text>
+                <text class="text4">{{items.group}}</text>
+              </view>
+              <view class="right1_2">
+                <view class="right1_2o">
+                  <image src="{{items.head1}}"></image>
+                </view>
+                <view class="right1_2t"><text>{{items.groupname1}}</text></view>
+                <view class="right1_2i">
+                  <text class="text6">{{items.fraction1}}</text>
+                  <text class="text8">:</text>
+                  <text class="text7">{{items.fraction2}}</text>
+                </view>
+                <view class="right1_2t"><text>{{items.groupname2}}</text></view>
+                <view class="right1_2o">
+                  <image src="{{items.head2}}"></image>
+                </view>
+              </view>
             </view>
           </view>
-        </view>
-      </view>
         </van-tab>
-        <van-tab title="未开始">  <view class="list" wx:key="item" wx:for="{{liststart}}">
-        <view class="name">{{item.name}}</view>
-        <button class="buttonstart" size="mini">{{item.state}}</button>
-        <view class="left1">
-          <view class="otherInfo">
-            <text class="text1">{{item.date}}</text>
-            <text class="text1">{{item.week}}</text>
-            <text class="text1">{{item.time}}</text>
-          </view>
-          <view class="otherInfo textOver"><text class="text3">{{item.address}}</text></view>
-        </view>
-        <view class="right1">
-          <view class="right1_1">
-            <text class="text4">{{item.match}}</text>
-            <text class="text4">{{item.group}}</text>
-          </view>
-          <view class="right1_2">
-            <view class="right1_2o">
-              <image src="{{item.head1}}"></image>
+        <van-tab title="未开始">
+          <view class="list" wx:key="item" wx:for="{{liststart}}">
+            <view class="name">{{item.name}}</view>
+            <button class="buttonstart" size="mini">{{item.state}}</button>
+            <view class="left1">
+              <view class="otherInfo">
+                <text class="text1">{{item.date}}</text>
+                <text class="text1">{{item.week}}</text>
+                <text class="text1">{{item.time}}</text>
+              </view>
+              <view class="otherInfo textOver"><text class="text3">{{item.address}}</text></view>
             </view>
-            <view class="right1_2t"><text>{{item.groupname1}}</text></view>
-            <view class="right1_2i">
-              <text class="text6">{{item.fraction1}}</text>
-              <text class="text8">:</text>
-              <text class="text7">{{item.fraction2}}</text>
+            <view class="right1" wx:if="{{item.listbisai}}" wx:for="{{item.listbisai}}" wx:for-item="items">
+              <view class="right1_1">
+                <text class="text4">{{items.match}}</text>
+                <text class="text4">{{items.group}}</text>
+              </view>
+              <view class="right1_2">
+                <view class="right1_2o">
+                  <image src="{{items.head1}}"></image>
+                </view>
+                <view class="right1_2t"><text>{{items.groupname1}}</text></view>
+                <view class="right1_2i">
+                  <text class="text6">{{items.fraction1}}</text>
+                  <text class="text8">:</text>
+                  <text class="text7">{{items.fraction2}}</text>
+                </view>
+                <view class="right1_2t"><text>{{items.groupname2}}</text></view>
+                <view class="right1_2o">
+                  <image src="{{items.head2}}"></image>
+                </view>
+              </view>
             </view>
-            <view class="right1_2t"><text>{{item.groupname2}}</text></view>
-            <view class="right1_2o">
-              <image src="{{item.head2}}"></image>
-            </view>
-          </view>
-        </view>
-      </view></van-tab>
-        <van-tab title="已结束">  <view class="list" wx:key="item" wx:for="{{listend}}">
-        <view class="name">{{item.name}}</view>
-        <button class="buttonend" size="mini">{{item.state}}</button>
-        <view class="left1">
-          <view class="otherInfo">
-            <text class="text1">{{item.date}}</text>
-            <text class="text1">{{item.week}}</text>
-            <text class="text1">{{item.time}}</text>
-          </view>
-          <view class="otherInfo textOver"><text class="text3">{{item.address}}</text></view>
-        </view>
-        <view class="right1">
-          <view class="right1_1">
-            <text class="text4">{{item.match}}</text>
-            <text class="text4">{{item.group}}</text>
           </view>
-          <view class="right1_2">
-            <view class="right1_2o">
-              <image src="{{item.head1}}"></image>
-            </view>
-            <view class="right1_2t"><text>{{item.groupname1}}</text></view>
-            <view class="right1_2i">
-              <text class="text6">{{item.fraction1}}</text>
-              <text class="text8">:</text>
-              <text class="text7">{{item.fraction2}}</text>
+        </van-tab>
+        <van-tab title="已结束">
+          <view class="list" wx:key="item" wx:for="{{listend}}">
+            <view class="name">{{item.name}}</view>
+            <button class="buttonend" size="mini">{{item.state}}</button>
+            <view class="left1">
+              <view class="otherInfo">
+                <text class="text1">{{item.date}}</text>
+                <text class="text1">{{item.week}}</text>
+                <text class="text1">{{item.time}}</text>
+              </view>
+              <view class="otherInfo textOver"><text class="text3">{{item.address}}</text></view>
             </view>
-            <view class="right1_2t"><text>{{item.groupname2}}</text></view>
-            <view class="right1_2o">
-              <image src="{{item.head2}}"></image>
+            <view class="right1" wx:if="{{item.listbisai}}" wx:for="{{item.listbisai}}" wx:for-item="items">
+              <view class="right1_1">
+                <text class="text4">{{items.match}}</text>
+                <text class="text4">{{items.group}}</text>
+              </view>
+              <view class="right1_2">
+                <view class="right1_2o">
+                  <image src="{{items.head1}}"></image>
+                </view>
+                <view class="right1_2t"><text>{{items.groupname1}}</text></view>
+                <view class="right1_2i">
+                  <text class="text6">{{items.fraction1}}</text>
+                  <text class="text8">:</text>
+                  <text class="text7">{{items.fraction2}}</text>
+                </view>
+                <view class="right1_2t"><text>{{items.groupname2}}</text></view>
+                <view class="right1_2o">
+                  <image src="{{items.head2}}"></image>
+                </view>
+              </view>
             </view>
           </view>
-        </view>
-      </view></van-tab>
+        </van-tab>
       </van-tabs>
     </view>
 

+ 7 - 8
pages/administration/index.wxss

@@ -1,15 +1,17 @@
 .main {
   position: relative;
   width: 100%;
-  background-color: #f1f1f1;
 }
 .van-tabs__wrap {
   background-color: #f1f1f1 !important;
 }
+.van-tabs__line {
+  background-color: blue !important;
+}
 
 .theme {
   position: absolute;
-  margin-top: 13%;
+  margin-top: 8%;
   color: #fff;
   text-align: center;
   width: 100%;
@@ -45,8 +47,8 @@
 }
 .thr{
   position: absolute;
-  top: 42%;
-  left: 2%;
+  top: 43%;
+  left: 1.5%;
   float: left;
   width: 100%;
   border-radius: 15px;
@@ -57,10 +59,6 @@
   width: 46%;
   margin-right: 3%;
 }
-.van-tabs__line {
-  background-color: blue !important;
-}
-
 .right {
   float: left;
   width: 46%;
@@ -139,6 +137,7 @@
 .list{
   background-color: #fff;
   margin-bottom: 10px;
+  border-radius: 10px;
 }
 .text3 {
   font-size: 13px;

+ 9 - 3
pages/me/index.js

@@ -9,12 +9,18 @@ Page({
   data: {
     src: '/image/fen.jpg',
     src3: '/image/huang.png',
+    src4: '/image/zan.png',
     frameStyle: { useTop: false, name: '我的', leftArrow: false, useBar: true },
     // 主体高度
     infoHeight: '',
     list: [
       {
-        id: '1', start: '未开始', date: '01-15', time: '15:00', name: '张爽', company: '福瑞科技有限公司', gender: '女', src: '/image/tou.png', address: '马利克克海拉队', team: '队员' ,head2: '/image/head2.png', head1: '/image/head1.png',fraction2: '0', groupname2: '马尼拉老年组', fraction1: '0', groupname1: '哈拉海队幼儿园',
+        id: '1', listbisai: [
+          {
+            head2: '/image/head2.png', head1: '/image/head1.png', fraction2: '0', groupname2: '马尼拉组', fraction1: '0', site: '第一场', groupname1: '哈拉海组',week: '星期五', time: '13:00',
+            state: '已结束', date: '2022.01.15',start:'未开始'
+          }
+        ], name: '张爽', company: '福瑞科技有限公司', gender: '女', src: '/image/tou.png', address: '马利克克海拉队', team: '队员',
       },
     ],
     list2: [
@@ -24,10 +30,10 @@ Page({
     ],
     list3: [
       {
-        id: '1', head: '/image/head1.png', group: '哈拉海队', time: '08:30', ball: '足球', grade: 'c', date: '2022.01.15', person: '10', 
+        id: '1', head: '/image/head1.png', group: '哈拉海队', time: '08:30', ball: '足球', grade: 'c', date: '2022.01.15', person: '10',
       },
       {
-        id: '2', head: '/image/head1.png', group: '尼奥尔队', time: '08:30', ball: '球', grade: 'c', date: '2022.01.15', person: '9', 
+        id: '2', head: '/image/head1.png', group: '尼奥尔队', time: '08:30', ball: '球', grade: 'c', date: '2022.01.15', person: '9',
       },
     ],
   },

+ 24 - 15
pages/me/index.wxml

@@ -37,39 +37,47 @@
         <button class="buttons" size="mini">上传比分</button>
       </view>
     </view>
-    <view class="four">
+    <view class="four" wx:if="{{item.listbisai.length !=0}}" wx:key="item" wx:for="{{list}}">
       <image src="{{src3}}" class="huang"></image>
-      <view class="list1" wx:key="item" wx:for="{{list}}">
+      <view class="list1" wx:for="{{item.listbisai}}" wx:for-item="items">
         <view class="left3">
-          <text class="text5">{{item.start}}</text>
+          <text class="text5">{{items.start}}</text>
         </view>
         <view class="right3">
-          <text class="text6">{{item.date}}</text>
-          <text class="text6">{{item.time}}</text>
+          <text class="text6">{{items.date}}</text>
+          <text class="text6">{{items.time}}</text>
         </view>
         <view class="right4">
           <view class="right1_1">
-            <text class="text4-1">{{item.match}}</text>
-            <text class="text4-1">{{item.group}}</text>
+            <text class="text4-1">{{items.match}}</text>
+            <text class="text4-1">{{items.group}}</text>
           </view>
           <view class="right1_2">
             <view class="right1_2o">
-              <image src="{{item.head1}}"></image>
+              <image src="{{items.head1}}"></image>
             </view>
-            <view class="right1_2t"><text>{{item.groupname1}}</text></view>
+            <view class="right1_2t"><text>{{items.groupname1}}</text></view>
             <view class="right1_2i">
-              <text class="text6-1">{{item.fraction1}}</text>
+              <text class="text6-1">{{items.fraction1}}</text>
               <text class="text8-1">:</text>
-              <text class="text7-1">{{item.fraction2}}</text>
+              <text class="text7-1">{{items.fraction2}}</text>
             </view>
-            <view class="right1_2t"><text>{{item.groupname2}}</text></view>
+            <view class="right1_2t"><text>{{items.groupname2}}</text></view>
             <view class="right1_2o">
-              <image src="{{item.head2}}"></image>
+              <image src="{{items.head2}}"></image>
             </view>
           </view>
         </view>
       </view>
     </view>
+    <view class="four-zan" wx:if="{{item.listbisai.length ==0}}" wx:key="item" wx:for="{{list}}"> 
+      <view class="zan-left">
+        <text>暂无比赛</text>
+      </view>
+      <view class="zan-right">
+        <image src="{{src4}}" class="zan"></image>
+      </view>
+    </view>
     <view class="five">
       <view class="list" wx:key="item" wx:for="{{list2}}">
         <text class="tuan">我的团队</text>
@@ -80,7 +88,8 @@
         <view class="dui-left">
           <image src="{{item.head}}" class="dui-image"></image>
           <text class="group">{{item.group}}</text>
-          <button class="ball" size="mini">{{item.ball}}</button>
+          <button class="ball" size="mini" wx:if="{{item.ball=='篮球'}}" style="background-color: rgb(245, 172, 63);;" >{{item.ball}}</button>
+          <button class="ball" size="mini" wx:if="{{item.ball=='足球'}}" style="background-color: rgb(63, 127, 245);" >{{item.ball}}</button>
           <button class="grade" size="mini">{{item.grade}}</button>
           <text class="date">{{item.date}}</text>
           <text class="date">{{item.time}}创建</text>
@@ -91,7 +100,7 @@
       </view>
     </view>
     <view class="six">
-    <view class="six-11"><text>我的服务</text></view>
+      <view class="six-11"><text>我的服务</text></view>
       <view class="six-0">
         <view class="six-left">
           <text class=" icon iconfont icon-shangchuanzhaopian"></text>

+ 23 - 3
pages/me/index.wxss

@@ -126,7 +126,7 @@
 
 .right3 {
   float: right;
-  width: 35%;
+  width: 42%;
 }
 
 .list1 {
@@ -156,6 +156,27 @@
   width: 100%;
   height: 120px;
 }
+.four-zan {
+  position: relative;
+  top: 12%;
+  width: 91%;
+  text-align: center;
+  height: 70px;
+  border-radius: 8px;
+  left: 4.5%;
+  background-color: white;
+}
+.zan-left{
+  margin-top: 20px;
+  float: left;
+  width: 60%;
+  color: rgb(139, 139, 139);
+}
+.zan {
+  margin-top: 10px;
+  width: 80px;
+  height: 50px;
+}
 
 .text4-1 {
   font-size: 14px;
@@ -213,7 +234,7 @@
 
 .right1_2 .right1_2t {
   float: left;
-  width: 28%;
+  width: 25%;
   text-align: center;
   padding: 10px 0;
 }
@@ -305,7 +326,6 @@
 .ball {
   margin-top: 7px;
   margin-right: 2px;
-  background-color: rgb(63, 127, 245);
   border-radius: 10px;
   font-size: 12px !important;
   color: #fff;

+ 2 - 4
pages/search/index.wxml

@@ -6,10 +6,8 @@
           <van-tab title="待参加" name="a" style="font-weight: 500;">
             <view class="list" wx:key="item" wx:for="{{list}}">
               <view class="left1">
-                <view class="otherInfo">
-                  <text class="text1">{{item.date}}</text>
-                  <text class="text1">{{item.week}}</text>
-                </view>
+                <text class="text1">{{item.date}}</text>
+                <text class="text1">{{item.week}}</text>
               </view>
               <view class="right1">
                 <view class="right1_1">

+ 43 - 24
pages/search/index.wxss

@@ -8,15 +8,18 @@
   margin-top: 32px;
   font-weight: 500;
 }
-.one-2{
-margin-top: -10px;
+
+.one-2 {
+  margin-top: -33px;
 }
+
 .van-tabs__line {
   margin-left: 27px !important;
   width: 38.800003px !important;
   background-color: blue !important;
 }
-.lists{
+
+.lists {
   margin-top: 10px;
   background-color: white;
 }
@@ -25,21 +28,25 @@ margin-top: -10px;
   float: left;
   width: 100%;
 }
+
 .right1 {
   float: left;
   width: 100%;
   background-color: #fff;
 }
-.text1{
+
+.text1 {
   margin-right: 5px;
   font-size: 13px;
   color: rgb(185, 185, 185);
 }
-.text4{
+
+.text4 {
   margin-right: 5px;
   font-size: 13px;
   color: rgb(185, 185, 185);
 }
+
 .text6 {
   font-size: 23px;
   color: rgb(46, 46, 245);
@@ -51,23 +58,27 @@ margin-top: -10px;
   color: rgb(243, 19, 19);
   font-weight: 500;
 }
+
 .text8 {
   font-size: 23px;
   font-weight: 500;
   margin-right: 5px;
   margin-left: 5px;
 }
-.text9{
+
+.text9 {
   font-size: 13px;
   margin-left: 10px;
   color: rgb(92, 92, 92);
 }
-.text10{
+
+.text10 {
   font-size: 13px;
   margin-left: 2px;
   color: rgb(92, 92, 92);
 }
-.right1_1{
+
+.right1_1 {
   float: left;
   width: 40%;
   margin-left: 15px;
@@ -76,21 +87,25 @@ margin-top: -10px;
   margin-bottom: 5px;
   margin-right: 5px;
 }
+
 .left1 {
   margin-left: 15px;
   text-align: left;
   font-size: 13px;
   color: rgb(185, 185, 185);
 }
-.img{
+
+.img {
   margin-top: 5px;
   margin-left: 5px;
   width: 44px;
   height: 36px;
 }
-.name{
+
+.name {
   font-size: 15px;
 }
+
 .names {
   float: left;
   width: 38%;
@@ -99,56 +114,60 @@ margin-top: -10px;
   color: #0034cf;
   font-weight: bold;
 }
+
 button {
   margin-top: 7px;
-  background-color:rgb(238, 88, 28);
+  background-color: rgb(238, 88, 28);
   border-radius: 15px;
   font-size: 13px !important;
   color: #fff;
 }
-.buttonend{
+
+.buttonend {
   margin-top: 7px;
   background-color: rgb(136, 136, 136);
   border-radius: 15px;
   font-size: 13px !important;
   color: #fff;
 }
+
 .leftmueen {
   margin: 5px;
   border-radius: 25px;
 }
-.right1_2{
+
+.right1_2 {
   float: left;
   width: 50%;
 }
-.otherInfo {
-  margin-top: 2px;
-  position: relative;
-  width: 60%;
-  text-align: left;
-}
+
 .text3 {
   margin-left: 10px;
   margin-bottom: 10px;
   font-size: 13px;
   color: #adadad;
 }
-.beijing{
+
+.beijing {
   margin-top: 90px;
 }
-.right1_2t{
+
+.right1_2t {
   font-size: 14px;
   color: rgb(122, 122, 122);
 }
-.right1_2o{
+
+.right1_2o {
   float: left;
   width: 30%;
 }
-.right1_2os{
+
+.right1_2os {
   float: left;
   width: 30%;
 }
-.right1_2i{
+
+.right1_2i {
   float: left;
   padding: 15px;
   width: 20%;

+ 1 - 1
pages/team/index.js

@@ -7,7 +7,7 @@ Page({
    * 页面的初始数据
    */
   data: {
-    frameStyle: { useTop: false, name: '我的团队', leftArrow: false, useBar: true },
+    frameStyle: { useTop: true, name: '我的团队', leftArrow: false, useBar: true },
     // 主体高度
     infoHeight: '',
     src: '/image/team.png',

+ 0 - 3
pages/team/index.wxml

@@ -1,8 +1,5 @@
 <mobile-main frameStyle="{{frameStyle}}" bind:tabPath="tabPath">
   <view slot="info" class="main" style="height:{{infoHeight}}px;">
-    <view class="one">
-      <text class="theme">我的团队</text>
-    </view>
     <view class="two">
       <van-search v-model="value" placeholder="搜索团队名称" />
     </view>

+ 0 - 1
pages/team/index.wxss

@@ -14,7 +14,6 @@
 
 .two {
   position: absolute;
-  top: 15%;
   width: 100%;
 }