lion 2 years ago
parent 8454d04c8c
commit 26c836d136

@ -15,8 +15,7 @@
<view class="activityBox-row">
<text class="icon-shijian iconfont"></text>
<text>活动时间{{timeFormat(numberlist.start_time,"yyyy年MM月DD日")}}
{{getHm(numberlist.start_time)}}-{{getHm(numberlist.end_time)}}</text>
<text>活动时间{{timeFormat(numberlist.start_time,"yyyy年MM月DD日")}}{{getHm(numberlist.start_time)}}-{{getHm(numberlist.end_time)}}</text>
</view>
<!-- <view class="activityBox-row">
@ -58,7 +57,7 @@
<u-form-item v-else label="人数" labelWidth="120" prop="total" ref="total">
{{form.total}} 请添加参与名单
</u-form-item>
<view class="box-tips" v-if="type=='team'">
<view class="box-tips">
<text class="box-tips-txt"
v-if="type=='user'">每单限购{{list.person_max_count}}同一身份证当天限购1张</text>
<text class="box-tips-txt"
@ -647,7 +646,7 @@
if (this.form.details_list.length != this.form.total) {
uni.showToast({
icon: "none",
title: "请正确添加观众数量"
title: "请正确添加观众信息"
})
return false;
}

@ -3,7 +3,8 @@
<view class="listActivity">
<u-empty mode="list" text="暂无活动" marginTop="50" v-if="list.length==0&&!isloading"></u-empty>
<view class="activityBox" v-for="(item,index) in list" :key="index" @click="openInfo(item)">
<view :class="!item.isCanBook?'activityBox-top gray100':'activityBox-top'">
<view :class="!item.isCanBook?'gray100':''"></view>
<view class="activityBox-top">
<image :src='item.cover_upload.url' style="width: 100%;height: 333rpx;"></image>
<!-- <view class="book-status">
{{item.rate_name}}
@ -177,15 +178,25 @@
page {
background-color: #f7f6f4;
}
.activityBox{
position: relative;
}
.activityBox-top{
font-size: 0;
}
.activityBox-top.gray100{
.gray100{
width:100%;
height:333rpx;
position: absolute;
top:0;
left:0;
background-color: rgba(0,0,0,0.5);
z-index:999;
/* opacity: 50%;
filter: grayscale(100%); */
filter: grayscale(100%);
opacity: 50%;
/* -webkit-filter: blackscale(100%); */
filter: brightness(0.2);
-webkit-filter: blackscale(100%);
filter: brightness(0.2); */
}
.activityBox_time {
/* height: 70rpx; */

@ -72,7 +72,7 @@
限制人数{{item.total==0?'不限':item.total}}
</text>
<text>
已报{{item.has_total}}
已报{{item.has_total}}
</text>
</view>
@ -88,7 +88,7 @@
<text class="infoBox-titletxt">活动详情</text>
</view>
<view class="infoBox-content">
<u-parse v-if='showContent' :content="list.content?list.content:''"/>
<u-parse v-if='showContent' :content="list.content?list.content:' '"/>
<!-- <rich-text style="text-indent: 2em;font-size: 28rpx;" :nodes="list.content"></rich-text> -->
</view>
</view>
@ -190,7 +190,7 @@
numChange(item) {
if (item.disabled) {
this.util.alert("您选择的场次不可预约!");
this.isCanBook = false
// this.isCanBook = false
return;
};
// var nt = new Date();
@ -261,14 +261,18 @@
numberArr.push(m);
if (!m.disabled) {
m.checked = i == 0;
chkMod=m;
if(chkMod===null){chkMod=m;}
i++;
that.isCanBook = true
}
}
//console.log("numberArr[0].id", numberArr[0].id);
if (chkMod)
if (chkMod){
that.activity_number_id = chkMod.id
that.isCanBook = true
}
that.numbers = numberArr
wx.setStorage({
key: 'activityinfo',

@ -52,7 +52,7 @@
<view class='bg40'></view>
<view class='detail'>
<u-parse v-if='showContent' :content="info.content?info.content:''"/>
<u-parse v-if='showContent' :content="info.content?info.content:' '"/>
</view>
<tabbar :current-page="3"></tabbar>
</view>

@ -201,9 +201,11 @@
background-color: #f8ebdb;
border-radius: 10rpx;
color: #dea166;
font-size: 30rpx;
font-size: 26rpx;
padding: 6rpx 20rpx;
display: inline-block;
width: 120rpx;
text-align: center;
}
.exhibit_item view.state span.finish {

@ -324,4 +324,11 @@
padding: 0 20rpx !important;
padding-right: 0 !important;
}
.u-form-item__body__left__content__required{
margin-left: 18rpx!important;
}
.u-form-item__body__left__content__label{
margin-left: 30rpx!important;
width:200rpx;
}
</style>

@ -42,7 +42,7 @@
<view class="orderBoxFooter flex-row flex_end">
<view class="fbtn cancel" v-if="item.status==1" style="margin-right: 23rpx;"
@click.stop="tocancel(item.id)">取消</view>
@click.stop="tocancel(item.id)">取消活动</view>
<view class="fbtn" :class="{'cancel':item.status!=1}" @click.stop="toinfo(item.id)">查看详情</view>
</view>
</view>
@ -97,7 +97,7 @@
tocancel(id) {
var that = this;
uni.showModal({
title: '确认要取消预约',
title: '确认要取消活动',
success: function(res) {
if (res.confirm) {
that.util.request({

@ -30,8 +30,8 @@
</view>
<view class="orderBoxFooter flex-row flex_end">
<view class="fbtn" @click="toinfo(item.id)" style="margin-right: 23rpx;">查看详情</view>
<view class="fbtn cancel" @click.stop="tocancel(item.id)" v-if="item.status==1"></view>
<view class="fbtn" @click="toinfo(item.id)" style="margin-right: 23rpx;">查看详情</view>
</view>
</view>
</block>

@ -19,7 +19,7 @@
<!-- <text class="iconfont icon-youkexuzhi"></text> -->
<!-- <text class="orderBoxInfoRowTxt">
订单信息{{timeFormat(item.date, 'MM月DD日')}}{{item.time}}{{item.details_count}} 位观众</text> -->
<text class="orderBoxInfoRowTxt">预约时间{{timeFormat(item.date, 'MM月DD日')}}{{item.time}}</text>
<text class="orderBoxInfoRowTxt">预约时间{{timeFormat(item.date, 'MM月DD日')}}{{item.time?item.time:''}}</text>
</view>
<view class="orderBoxInfoRow flex-row" style="margin-top: 20rpx;">
<text class="orderBoxInfoRowTxt">入馆人数{{item.total}} 位观众</text>

@ -9,7 +9,7 @@
</view>
<!-- <view class='bg40'></view> -->
<view class='detail'>
<u-parse v-if="showContent" :content="info.content?info.content:''"/>
<u-parse v-if="showContent" :content="info.content?info.content:' '"/>
</view>
</view>
</template>

Loading…
Cancel
Save