|
@@ -2,12 +2,15 @@
|
|
|
<view class="container-activity-item" @click="goDetail(list)">
|
|
|
<view class="content-sign">
|
|
|
<view :class="[list.ActivityType === 0 ? 'is-down' : 'is-up', 'is-up-down']">{{ list.ActivityType === 0 ? "线下" : "线上" }}</view>
|
|
|
- <view :class="[list.ActiveState === 1 ? 'is-down-state' : list.ActiveState === 2 ? 'is-up-state' : 'is-end', 'is-up-down', 'state']">
|
|
|
- {{ list.ActiveState === 1 ? "未开始" : list.ActiveState === 2 ? "进行中" : "已结束" }}
|
|
|
+ <view v-if="list.ActiveState == 1 || list.ActiveState == 2" :class="[list.ActiveState == 1 ? 'is-down-state' : 'is-up-state', 'is-up-down', 'state']">
|
|
|
+ {{ list.ActiveState == 1 ? "未开始" : "进行中" }}
|
|
|
</view>
|
|
|
+ <block v-else>
|
|
|
+ <view v-if="list.TripStatus != 1" :class="['is-end', 'is-up-down', 'state']"> 已结束 </view>
|
|
|
+ </block>
|
|
|
</view>
|
|
|
<view class="content-type"> {{ list.ActivityTypeName || "专项产业调研" }}</view>
|
|
|
- <view :class="['content-title', 'text-Line' ,list.ResearchTheme && 'content-min-hight']" v-if="list.ActivityName || list.ResearchTheme">
|
|
|
+ <view :class="['content-title', 'text-Line', list.ResearchTheme && 'content-min-hight']" v-if="list.ActivityName || list.ResearchTheme">
|
|
|
{{ list.ActivityName || list.ResearchTheme }}
|
|
|
</view>
|
|
|
<view style="display: flex" class="content-text content-min-hight text_twoLine" v-if="list.ActivityTimeText && list.SourceType !== 1">
|
|
@@ -15,8 +18,8 @@
|
|
|
<text> {{ list.ActivityTimeText }}</text>
|
|
|
</view>
|
|
|
<view class="content-text text-Line" v-else>
|
|
|
- {{ list.Host ? "主持人:" : list.Expert ? "专家背景:" : "" }}
|
|
|
- {{ list.Host ? list.Host : list.Expert ? list.Expert : "" }}
|
|
|
+ {{ list.Host ? "主持人:" : list.Expert ? "专家背景:" : list.Speaker ? "主讲人:" : list.DistinguishedGuest ? "嘉宾:" : "" }}
|
|
|
+ {{ list.Host ? list.Host : list.Expert ? list.Expert : list.Speaker ? list.Speaker : list.DistinguishedGuest ? list.DistinguishedGuest : "" }}
|
|
|
</view>
|
|
|
<view class="content-time" v-if="list.SourceType == 1">
|
|
|
{{ list.ActivityTimeText }}
|
|
@@ -38,7 +41,9 @@
|
|
|
<view class="item-btn" v-if="list.IsShowHelpSsk" style="width: 130rpx">
|
|
|
<text @click.stop="askingGo(list)">帮我带问</text>
|
|
|
</view>
|
|
|
- <text class="item-btn" v-if="list.IsShowOutboundCall && list.ActivityTypeId != 1" @click.stop="signupIsAddOfCancel(list, 1)">{{ list.IsSignup == 1 ? "取消外呼" : "预约外呼" }}</text>
|
|
|
+ <text class="item-btn btn-solid" v-if="list.IsShowOutboundCall && list.ActivityTypeId != 1" @click.stop="signupIsAddOfCancel(list, 1)">{{
|
|
|
+ list.IsSignup == 1 ? "取消外呼" : "预约外呼"
|
|
|
+ }}</text>
|
|
|
<text class="item-btn" v-if="list.IsShowDetails" @click.stop="goDetail(list)">查看详情</text>
|
|
|
<block v-if="list.IsShowSignup">
|
|
|
<block v-if="list.IsCClassMeeting">
|
|
@@ -50,7 +55,7 @@
|
|
|
</block>
|
|
|
</block>
|
|
|
</block>
|
|
|
- <text v-if="list.IsShowHelpSsk && list.ActiveState == 2" class="item-btn" @click="askingGo(list, '提问')">实时提问</text>
|
|
|
+ <text v-if="list.IsShowHelpSsk && list.ActiveState == 2" class="item-btn" @click.stop="askingGo(list, '提问')">实时提问</text>
|
|
|
</block>
|
|
|
<view class="bottom-box real-time" v-else>
|
|
|
<view class="bottom-box">
|
|
@@ -591,10 +596,10 @@ export default {
|
|
|
background: linear-gradient(90deg, #0151ff 0%, #01b9ff 100%);
|
|
|
}
|
|
|
.is-up-state {
|
|
|
- background-color: #01a7ff;
|
|
|
+ background: #ff9110;
|
|
|
}
|
|
|
.is-down-state {
|
|
|
- background: #ff9110;
|
|
|
+ background-color: #01a7ff;
|
|
|
}
|
|
|
.is-down {
|
|
|
background: linear-gradient(90deg, #ff8a05 0%, #ffb74d 100%);
|
|
@@ -650,9 +655,7 @@ export default {
|
|
|
width: 205rpx;
|
|
|
height: 119rpx;
|
|
|
}
|
|
|
- .content-min-hight {
|
|
|
- min-height: 88rpx;
|
|
|
- }
|
|
|
+
|
|
|
.content-btn {
|
|
|
display: flex;
|
|
|
overflow: hidden;
|
|
@@ -706,5 +709,17 @@ export default {
|
|
|
border-bottom: 1rpx solid #ebebeb;
|
|
|
}
|
|
|
}
|
|
|
+ .content-min-hight {
|
|
|
+ min-height: 88rpx;
|
|
|
+ text-overflow: -o-ellipsis-lastline;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ word-wrap: break-word;
|
|
|
+ word-break: break-all;
|
|
|
+ -webkit-line-clamp: 2 !important;
|
|
|
+ line-clamp: 2 !important;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|