|
@@ -11,10 +11,10 @@
|
|
|
<view class="two">
|
|
|
<view class="two_1">
|
|
|
<picker mode="selector" bindchange="typeChange" value="{{searchInfo.type}}" name="type" range-key='label' range="{{typeList}}">
|
|
|
- <view class="input">{{searchInfo.type=='0'?'其他':searchInfo.type=='1'?'羽毛球':searchInfo.type=='2'?'篮球':searchInfo.type=='3'?'足球':'请选择运动类型'}}</view>
|
|
|
+ <view class="input">{{typeList[searchInfo.type].label||'请选择运动类型'}}</view>
|
|
|
</picker>
|
|
|
<picker mode="selector" bindchange="statusChange" value="{{searchInfo.status}}" name="status" range-key='label' range="{{statusList}}">
|
|
|
- <view class="input">{{searchInfo.status=='0'?'计划中':searchInfo.status=='1'?'报名中':searchInfo.status=='2'?'进行中':searchInfo.status=='3'?'已结束':'请选择比赛状态'}}</view>
|
|
|
+ <view class="input">{{statusList[searchInfo.status].label||'请选择比赛状态'}}</view>
|
|
|
</picker>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -30,10 +30,10 @@
|
|
|
<view class="one_2">
|
|
|
<view class="title">{{item.title}}</view>
|
|
|
<view class="other">
|
|
|
- <view class="other_1">时间:{{item.time}}</view>
|
|
|
- <view class="other_1">等级:{{item.grade}}</view>
|
|
|
- <view class="other_1">类型:{{item.type=='0'?'其他':item.type=='1'?'羽毛球':item.type=='2'?'篮球':'足球'}}</view>
|
|
|
- <view class="other_1">地点:{{item.address}}</view>
|
|
|
+ <view class="other_1 textOver">时间:{{item.time}}</view>
|
|
|
+ <view class="other_1 textOver">等级:{{item.grade}}</view>
|
|
|
+ <view class="other_1 textOver">类型:{{item.type=='0'?'其他':item.type=='1'?'羽毛球':item.type=='2'?'篮球':'足球'}}</view>
|
|
|
+ <view class="other_1 textOver">地点:{{item.address}}</view>
|
|
|
</view>
|
|
|
<view class="status">
|
|
|
<text class="text color{{item.status}}">{{item.status=='0'?'计划中':item.status=='1'?'报名中':item.status=='2'?'进行中':'已结束'}}</text>
|