|
@@ -144,7 +144,7 @@
|
|
|
<view class="item">
|
|
|
<view class="item-text" @click="goDetail(item)">
|
|
|
<text class="activity-title"> {{ item.ActivityName }} </text>
|
|
|
- <text class="text_twoLine" v-if="item.ActivityTypeName == '专家电话会' || item.ActivityTypeName == '专家线下沙龙'">专家背景:{{ item.Expert }} </text>
|
|
|
+ <text class="text_twoLine" v-if="item.ActivityTypeName == '专家电话会' || item.ActivityTypeName == '专家线下沙龙' || item.ActivityTypeName == '研选电话会'">专家背景:{{ item.Expert }} </text>
|
|
|
<text class="text_twoLine" v-if="item.ActivityTypeName == '公司调研电话会' || item.ActivityTypeName == '公司线下调研'">嘉宾:{{ item.DistinguishedGuest }} </text>
|
|
|
<text class="text_twoLine" v-if="item.ActivityTypeName == '分析师电话会' || item.ActivityTypeName == '分析师线下沙龙'">主讲人:{{ item.Speaker }}</text>
|
|
|
</view>
|
|
@@ -159,7 +159,7 @@
|
|
|
</view>
|
|
|
<view class="bottom-box" v-else-if="item.ActivityType == 1">
|
|
|
<view class="" style="width:130rpx">
|
|
|
- <text v-if="item.ActivityTypeId == 1" @click="askingGo(item)">帮我代问</text>
|
|
|
+ <text v-if="item.ActivityTypeId == 1" @click="askingGo(item)">帮我带问</text>
|
|
|
</view>
|
|
|
<text @click="meetingReminderAdd(item.ActivityId)" v-if="item.IsCancelMeetingReminder == 0">会议提醒</text>
|
|
|
<text @click="meetingReminderCancel(item.ActivityId)" v-else>取消提醒</text>
|
|
@@ -176,12 +176,15 @@
|
|
|
</view>
|
|
|
</block>
|
|
|
<block v-else>
|
|
|
- <view v-if="item.City" class="bottom-box city">
|
|
|
+ <view class="bottom-box city" v-if="item.City">
|
|
|
<view class="city-img">
|
|
|
<image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/location.png" />
|
|
|
{{ item.City }}
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view>
|
|
|
+ <view class="bottom-box real-time" v-if="item.ActiveState == 2 && item.ActivityTypeId == 1">
|
|
|
+ <text class="button" @click="askingGo(item,'提问')">实时提问</text>
|
|
|
+ </view>
|
|
|
</block>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -373,6 +376,7 @@ export default {
|
|
|
//搜索记录进来
|
|
|
searchHandle() {
|
|
|
if (this.searchTxt) {
|
|
|
+ this.page_no = 1;
|
|
|
//添加搜索记录
|
|
|
if (!this.historySearchList.includes(this.searchTxt)) {
|
|
|
this.historySearchList.unshift(this.searchTxt);
|
|
@@ -497,105 +501,6 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- // //取消弹框的确认事件
|
|
|
- // cancelEnsure(obj, type, unm) {
|
|
|
- // this.init()
|
|
|
- // if (obj.cutId == 0 || obj.name == 'conference') return
|
|
|
- // this.modification(obj.cutId, 'IsSignup', obj.state)
|
|
|
- // this.collectList.forEach(item => {
|
|
|
- // if (obj.cutId == item.ActivityId) {
|
|
|
- // item.IsSignup = obj.state
|
|
|
- // if (unm) {
|
|
|
- // item.SignupNum = item.SignupNum - 1
|
|
|
- // this.modification(obj.cutId, 'SignupNum', item.SignupNum > 0 ? item.SignupNum - 1 : 0)
|
|
|
- // } else {
|
|
|
- // this.modification(obj.cutId, 'SignupNum', item.SignupNum + 1)
|
|
|
- // item.SignupNum = item.SignupNum + 1
|
|
|
- // }
|
|
|
- // }
|
|
|
- // })
|
|
|
- // },
|
|
|
- // //添加会议提醒接口
|
|
|
- // meetingReminderAdd(id) {
|
|
|
- //
|
|
|
- // uni.navigateTo({
|
|
|
- // url: '/pageMy/login/login'
|
|
|
- // })
|
|
|
- // return
|
|
|
- // }
|
|
|
- // activity.meetingReminderAdd({
|
|
|
- // ActivityId: id
|
|
|
- // }).then(res => {
|
|
|
- // if (res.Ret == 200) {
|
|
|
- // this.hasPermission = res.Data.HasPermission
|
|
|
- // if (this.hasPermission == 1) {
|
|
|
- // if (res.Data.GoFollow && res.Data.SignupStatus !== 'Success' || !res.Data
|
|
|
- // .GoFollow) {
|
|
|
- // this.isShow = true
|
|
|
- // } else {
|
|
|
- // this.goFollow = res.Data.GoFollow
|
|
|
- // }
|
|
|
- // this.signupType = 999
|
|
|
- // this.signupStatus = res.Data.SignupStatus
|
|
|
- // this.idTypeCancel = {
|
|
|
- // cutId: res.Data.ActivityId,
|
|
|
- // state: 1,
|
|
|
- // name: 'conference'
|
|
|
- // }
|
|
|
- // this.collectList.forEach(item => {
|
|
|
- // if (id == item.ActivityId) {
|
|
|
- // item.IsCancelMeetingReminder = 1
|
|
|
- // }
|
|
|
- // this.modification(id, 'IsCancelMeetingReminder', 1)
|
|
|
- // })
|
|
|
- // } else if (this.hasPermission == 2) {
|
|
|
- // this.jurisdictionList.SellerMobile = res.Data.SellerMobile
|
|
|
- // this.jurisdictionList.PopupMsg = res.Data.PopupMsg
|
|
|
- // this.isShowhasPermission = true
|
|
|
- // } else if (this.hasPermission == 3 || this.hasPermission == 4) {
|
|
|
- // this.jurisdictionList.PopupMsg = res.Data.PopupMsg
|
|
|
- // this.applyForIsShow = true
|
|
|
- // }
|
|
|
-
|
|
|
- // }
|
|
|
- // })
|
|
|
- // },
|
|
|
- // //取消会议提醒接口
|
|
|
- // meetingReminderCancel(id) {
|
|
|
- // activity.meetingReminderCancel({
|
|
|
- // ActivityId: id
|
|
|
- // }).then(res => {
|
|
|
- // if (res.Ret == 200) {
|
|
|
- // uni.showModal({
|
|
|
- // confirmText: '知道了',
|
|
|
- // confirmColor: '#3385FF',
|
|
|
- // content: res.Msg,
|
|
|
- // showCancel: false,
|
|
|
- // success: (res) => {
|
|
|
- // if (res.confirm) {
|
|
|
- // this.collectList.forEach(item => {
|
|
|
- // if (id == item.ActivityId) {
|
|
|
- // item.IsCancelMeetingReminder = 0
|
|
|
- // }
|
|
|
- // this.modification(id, 'IsCancelMeetingReminder', 0)
|
|
|
- // })
|
|
|
- // }
|
|
|
- // }
|
|
|
- // })
|
|
|
- // }
|
|
|
- // })
|
|
|
- // },
|
|
|
- //状态变化了同步活动页面的状态
|
|
|
- // modification(id, type, num) {
|
|
|
- // let pages = getCurrentPages()
|
|
|
- // let prevPage = pages[pages.length - 2]
|
|
|
- // if (prevPage.$page.fullPath == "/pages/activity/activity") {
|
|
|
- // const index = prevPage.$vm.collectList.findIndex(item => item.ActivityId == id)
|
|
|
- // if(index>=0) {
|
|
|
- // prevPage.$vm.collectList[index][type] = num
|
|
|
- // }
|
|
|
- // }
|
|
|
- // }
|
|
|
},
|
|
|
onShow() {
|
|
|
this.countryCcode(); //判断是否加区号
|