|
@@ -19,12 +19,12 @@
|
|
<view class="right1">
|
|
<view class="right1">
|
|
<image src="{{icon}}" class="tou"></image>
|
|
<image src="{{icon}}" class="tou"></image>
|
|
</view>
|
|
</view>
|
|
- <view class="otherInfo textOver">
|
|
|
|
|
|
+ <view class="otherInfo1 textOver">
|
|
<view class="biao">
|
|
<view class="biao">
|
|
- <text class=" icon iconfont icon-qi"></text>
|
|
|
|
|
|
+ <text class=" icon iconfont icon-qi" wx:if="{{item1.name}}"></text>
|
|
</view>
|
|
</view>
|
|
<view class="qian">
|
|
<view class="qian">
|
|
- <text class="text3" wx:if="{{item1.type=='2'||item1.type=='3'}}">{{item1.name}}</text>
|
|
|
|
|
|
+ <text class="text3" wx:if="{{item1.type=='1'||item1.type=='2'}}">{{item1.name}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="icon_arrow" bindtap="modify">
|
|
<view class="icon_arrow" bindtap="modify">
|
|
<van-icon name="arrow" color="rgb(177, 177, 177)" />
|
|
<van-icon name="arrow" color="rgb(177, 177, 177)" />
|
|
@@ -32,15 +32,16 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="thr">
|
|
|
|
- <view class="left2">
|
|
|
|
- <text class="text4">可对正在进行的比赛上次比分</text>
|
|
|
|
- </view>
|
|
|
|
- <view class="right2" bindtap="upload">
|
|
|
|
- <button class="buttons" size="mini">上传比分</button>
|
|
|
|
|
|
+
|
|
|
|
+ <view class="four" wx:if="{{item1.type=='1'}}">
|
|
|
|
+ <view class="thr">
|
|
|
|
+ <view class="left2">
|
|
|
|
+ <text class="text4">可对正在进行的比赛上次比分</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="right2" bindtap="upload">
|
|
|
|
+ <button class="buttons" size="mini">上传比分</button>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class="four" wx:if="{{listbisai.length!=0}}">
|
|
|
|
<image src="{{src3}}" class="huang"></image>
|
|
<image src="{{src3}}" class="huang"></image>
|
|
<view class="list1">
|
|
<view class="list1">
|
|
<view class="left3">
|
|
<view class="left3">
|
|
@@ -82,26 +83,26 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="five">
|
|
<view class="five">
|
|
- <view class="listtuan" wx:if="{{total!=''}}">
|
|
|
|
|
|
+ <view class="listtuan" wx:if="{{item1.type=='1'||item1.type=='2'}}">
|
|
<view class="otherInfo">
|
|
<view class="otherInfo">
|
|
- <text class="tuan">我的团队</text>
|
|
|
|
- <text class="total">共参加{{list3.length||0}}个队伍</text>
|
|
|
|
- <text class="chuang" bindtap="create" wx:if="{{list3.length<1||item1.type=='1'}}">创建团队</text>
|
|
|
|
|
|
+ <view class="otherInfo_1">
|
|
|
|
+ <text class="tuan">我的团队</text>
|
|
|
|
+ <text class="total">共参加{{list3.length||0}}个队伍</text>
|
|
|
|
+ <text class="chuang" bindtap="create" wx:if="{{list3.length<1&&item1.type=='1'}}">创建团队</text>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
<view class="weui-cells mgt-0 {{!showMore? 'hiddenmore' : 'showmore'}}">
|
|
<view class="weui-cells mgt-0 {{!showMore? 'hiddenmore' : 'showmore'}}">
|
|
- <view wx:key="item" wx:for="{{list3}}" wx:for-index="idx" wx:key="key" class="list3 {{idx>1 ? 'more-item' : ''}}">
|
|
|
|
|
|
+ <view wx:key="item" wx:for="{{list3}}" wx:for-index="idx" wx:key="key" class="list3 {{idx>1 ? 'more-item' : ''}}">
|
|
<view class="dui-left">
|
|
<view class="dui-left">
|
|
<view class="dui-left1">
|
|
<view class="dui-left1">
|
|
<image src="{{item.logo[0].url}}" class="dui-image"></image>
|
|
<image src="{{item.logo[0].url}}" class="dui-image"></image>
|
|
</view>
|
|
</view>
|
|
- <view class="dui-right1 textOver" >
|
|
|
|
|
|
+ <view class="dui-right1 textOver">
|
|
<text class="group" bindtap="ToDetails" data-id="{{item._id}}">{{item.name}}</text>
|
|
<text class="group" bindtap="ToDetails" data-id="{{item._id}}">{{item.name}}</text>
|
|
</view>
|
|
</view>
|
|
<button class="ball" size="mini" wx:if="{{item.type=='0'}}" style="background-color:rgb(63, 127, 245);">乒乓球</button>
|
|
<button class="ball" size="mini" wx:if="{{item.type=='0'}}" style="background-color:rgb(63, 127, 245);">乒乓球</button>
|
|
<button class="ball" size="mini" wx:if="{{item.type=='1'}}" style="background-color:rgb(245, 172, 63);">足球</button>
|
|
<button class="ball" size="mini" wx:if="{{item.type=='1'}}" style="background-color:rgb(245, 172, 63);">足球</button>
|
|
<button class="ball" size="mini" wx:if="{{item.type=='2'}}" style="background-color:rgb(241, 95, 127);">篮球</button>
|
|
<button class="ball" size="mini" wx:if="{{item.type=='2'}}" style="background-color:rgb(241, 95, 127);">篮球</button>
|
|
- <!-- <text class=" icon iconfont icon-C1" wx:if="{{item.grade}}"></text>
|
|
|
|
- <button class="grade" size="mini">c</button> -->
|
|
|
|
</view>
|
|
</view>
|
|
<view class="dui-right"><text class="person">
|
|
<view class="dui-right"><text class="person">
|
|
共{{item.members.length||0}}人
|
|
共{{item.members.length||0}}人
|
|
@@ -120,14 +121,14 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
</view>
|
|
</view>
|
|
- <view class="list0" wx:if="{{total==''}}">
|
|
|
|
|
|
+ <view class="list0" wx:if="{{item1.type=='0'}}">
|
|
<view class="otherInfo">
|
|
<view class="otherInfo">
|
|
<text class="tuan">我的团队</text>
|
|
<text class="tuan">我的团队</text>
|
|
<text class="total1">暂无加入任何团队</text>
|
|
<text class="total1">暂无加入任何团队</text>
|
|
- <text class="chuang">创建团队</text>
|
|
|
|
|
|
+ <!-- <text class="chuang">创建团队</text> -->
|
|
</view>
|
|
</view>
|
|
<view class="jian">
|
|
<view class="jian">
|
|
- <view class="viewjian"><text class="jiantext">创建或加入一个团队进行比赛</text></view>
|
|
|
|
|
|
+ <view class="viewjian"><text class="jiantext">该账号无法加入或创建团队</text></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -149,7 +150,7 @@
|
|
<text class="six-text">修改密码</text>
|
|
<text class="six-text">修改密码</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="six-2" bindtap="examine">
|
|
|
|
|
|
+ <view class="six-2" bindtap="examine" wx:if="{{item1.type=='1'}}">
|
|
<view class="six-left">
|
|
<view class="six-left">
|
|
<text class=" icon iconfont icon-shenhe"></text>
|
|
<text class=" icon iconfont icon-shenhe"></text>
|
|
</view>
|
|
</view>
|
|
@@ -157,7 +158,7 @@
|
|
<text class="six-text">审核队员</text>
|
|
<text class="six-text">审核队员</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="six-3" bindtap="clickme">
|
|
|
|
|
|
+ <view class="six-3" bindtap="clickme" wx:if="{{item1.type=='1'}}">
|
|
<view class="six-left">
|
|
<view class="six-left">
|
|
<text class=" icon iconfont icon-ren_jiesantuandui_line"></text>
|
|
<text class=" icon iconfont icon-ren_jiesantuandui_line"></text>
|
|
</view>
|
|
</view>
|
|
@@ -173,12 +174,20 @@
|
|
<text class="six-text">退出登录</text>
|
|
<text class="six-text">退出登录</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view class="six-5">
|
|
|
|
+ <view class="six-left">
|
|
|
|
+ <text class=" icon iconfont icon-bisaiguanli"></text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="six-right">
|
|
|
|
+ <text class="six-text">比赛管理</text>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
<view class="mask" catchtouchmove="preventTouchMove" wx:if="{{showModal}}"></view>
|
|
<view class="mask" catchtouchmove="preventTouchMove" wx:if="{{showModal}}"></view>
|
|
<view class="modalDlg" wx:if="{{showModal}}">
|
|
<view class="modalDlg" wx:if="{{showModal}}">
|
|
<text class="modal_text1">解散团队</text>
|
|
<text class="modal_text1">解散团队</text>
|
|
<text class="modal_text2">{{list3[0].name}}</text>
|
|
<text class="modal_text2">{{list3[0].name}}</text>
|
|
<text class="modal_text3">解散的团队不可恢复</text>
|
|
<text class="modal_text3">解散的团队不可恢复</text>
|
|
- <button bindtap="apply" data-id="{{list3[0]._id}}"class="modal_button">解散申请</button>
|
|
|
|
|
|
+ <button bindtap="apply" data-id="{{list3[0]._id}}" class="modal_button">解散申请</button>
|
|
<text bindtap="go" class="modal_text4">取消</text>
|
|
<text bindtap="go" class="modal_text4">取消</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|