刘翔宇-旅管家 3 years ago
parent 3c9ff0d9f5
commit fd1e3f5686

@ -21,9 +21,16 @@
<view class="tag tag_green activityBox_btn">
<text>{{isUnde(item.type_name)}}</text>
</view>
<view class="tag" :class="{activityBox_btn:item.isCanBook}">
<text>{{item.isCanBook?"立即报名":"不可报名"}}</text>
</view>
<block v-if="item.orders_count==item.total">
<view class="tag">
<text>已约满</text>
</view>
</block>
<block v-else>
<view class="tag" :class="{activityBox_btn:item.isCanBook}">
<text>{{item.isCanBook?"立即报名":"不可报名"}}</text>
</view>
</block>
</view>
<view class="activityBox-row">

@ -63,7 +63,7 @@
<rich-text style="text-indent: 2em;font-size: 28rpx;" :nodes="list.content"></rich-text>
</view>
</view>
<view class="infofooter flex-row" v-if="list.isCanBook">
<view class="infofooter flex-row" v-if="list.isCanBook&&list.total!=list.orders_total">
<view style="margin-right: 14rpx;flex: 1;">
<u-button type="primary" @click="tobook('team')"></u-button>
</view>

@ -10,13 +10,17 @@
<view class="orderBox" :class="{'cancelBox':item.status==0}" @click="toinfo(item.id)">
<view class="orderBoxTitle flex-row">
<text class="orderBoxTitleTxt">{{item.type==1?"团队预约":"个人预约"}}</text>
<view
:class="item.status!=1?'cancelStatus orderBoxStatus':'orderBoxStatus'">{{item.status_name}}
<view :class="item.status!=1?'cancelStatus orderBoxStatus':'orderBoxStatus'">
{{item.status_name}}
</view>
</view>
<view class="orderBoxInfo flex-col">
<view class="orderBoxInfoRow flex-row">
<text class="iconfont icon-youkexuzhi"></text>
<text class="orderBoxInfoRowTxt">活动名称{{item.activity.name||"加载中..."}}</text>
</view>
<view class="orderBoxInfoRow flex-row" style="margin-top: 20rpx;">
<text class="iconfont icon-youkexuzhi"></text>
<text class="orderBoxInfoRowTxt">
订单信息{{timeFormat(item.activity.created_at, 'MM月DD日')}}{{getHm(item.activity.start_time)}}-{{getHm(item.activity.end_time)}}{{item.total}}位观众</text>
@ -138,7 +142,7 @@
},
getHm(val) {
if (val) {
return this.$moment(val).format("hh:MM")
return this.$moment(val).format("HH:mm")
} else return "";
},
timeFormat(val, format) {

@ -66,10 +66,10 @@
<view class="imgsname">
<text class="orderBoxTitleTxt">{{item.name}}</text>
<text class="orderBoxTitleTxt" style="font-size: 28rpx;" v-if="item.is_open==1">
使用身份证
凭身份证参加活动
</text>
<text style="font-size: 28rpx;" class="orderBoxTitleTxt" v-if="item.is_open==0">
不可使用身份证
可凭二维码参加活动
</text>
</view>

Loading…
Cancel
Save