activityDetail.vue 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225
  1. <template>
  2. <block>
  3. <view class="container activity-detail" v-if="isUserBindingPhoneNumber">
  4. <is-track-follow :isShowFollowButton.sync="detailData.IsShowFollowButton" source="activity" :sourceId="detailData.ActivityId" :isFollowData.sync="detailData.IsFollowButton" />
  5. <view class="" v-if="haveAuth == 1">
  6. <block v-if="detailData.YidongActivityUrl">
  7. <web-view :src="detailData.YidongActivityUrl"></web-view>
  8. </block>
  9. <block v-else>
  10. <!-- 头部滚动显示 -->
  11. <view class="notice" v-if="detailData.IsLimitPeople">
  12. <van-notice-bar color="#FFFFFF" background="#FE9000" text="该活动参与名额有限,报名客户请按时参加,若不能按时参加请及时取消报名,爽约会影响您的后续报名资格" />
  13. </view>
  14. <!-- 内容部分 -->
  15. <view class="content">
  16. <view v-if="detailData.ActivityName" class="dialog-title brackets-title">{{ detailData.ActivityName }}</view>
  17. <block v-if="detailData.FileType == 1">
  18. <view class="audio-card" v-if="detailData.VoiceList && detailData.VoiceList.Url">
  19. <view class="slider-paly">
  20. <view style="flex: 1; padding-top: 20rpx">
  21. <slider
  22. activeColor="#3385FF"
  23. :max="detailData.VoiceList.PlaySeconds"
  24. :value="curTime"
  25. @touchstart="touchstartHandler"
  26. @change="handleAudioSliderChange($event)"
  27. @changing="handleAudioSliderChangeing($event)"
  28. block-size="16"
  29. class="slider"
  30. />
  31. <view class="card-time">
  32. <view class="time">{{ curTime | formatVoiceTime }}</view>
  33. <view class="time">{{ detailData.VoiceList.PlaySeconds | formatVoiceTime }}</view>
  34. </view>
  35. </view>
  36. <view class="is-paly-card">
  37. <image
  38. @click.stop="audioPlayBack"
  39. class=""
  40. :src="
  41. curVoiceId === detailData.ActivityId && !curAudioPaused
  42. ? 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/play_icon.gif'
  43. : 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/pause_icon.png'
  44. "
  45. ></image>
  46. </view>
  47. </view>
  48. <view class="fast-reverse">
  49. <image @click="speedReverseHandler('reverse')" class="speed-img" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/fastReverse_icon.png"></image>
  50. <block v-for="(item, index) in timesTheSpeed" :key="item.value">
  51. <view class="speed-button" v-if="isTimes == item.value" @click="isTimesHandler(index)">
  52. {{ item.name }}
  53. </view>
  54. </block>
  55. <image @click="speedReverseHandler('speed')" class="speed-img" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/speed_icon.png"></image>
  56. </view>
  57. <view class="card-title text_twoLine">
  58. {{ detailTitle(detailData.VoiceList.Name) }}
  59. <view class="title-image">
  60. <image @click="myLeavingMessageHandler" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/leaving_message.png"></image>
  61. <image
  62. @click="isCollectionHandeler"
  63. :src="
  64. detailData.IsCollect
  65. ? 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/collected_icon.png'
  66. : 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/not_collected.png'
  67. "
  68. ></image>
  69. </view>
  70. </view>
  71. </view>
  72. </block>
  73. <block v-if="detailData.FileType == 2">
  74. <view class="video-play" v-if="detailData.VideoDetail && detailData.VideoDetail.ResourceUrl">
  75. <video
  76. :id="detailData.ActivityId"
  77. :src="detailData.VideoDetail.ResourceUrl"
  78. enable-play-gesture
  79. :custom-cache="false"
  80. object-fit="contain"
  81. show-mute-btn
  82. @ended="handleVideoEnd"
  83. @play="handelVideoPlay"
  84. @loadedmetadata="loadedmetadataHandle"
  85. @timeupdate="handleVideoTimeUpdate"
  86. ></video>
  87. <view class="title text_twoLine">
  88. {{ detailTitle(detailData.VideoDetail.Title) }}
  89. <view class="title-image">
  90. <image @click="myLeavingMessageHandler" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/leaving_message.png"></image>
  91. <image
  92. @click="isCollectionHandeler"
  93. :src="
  94. detailData.IsCollect
  95. ? 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/collected_icon.png'
  96. : 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/not_collected.png'
  97. "
  98. ></image>
  99. </view>
  100. </view>
  101. </view>
  102. </block>
  103. <view class="city-box">
  104. <text class="network-left" v-if="detailData.ActivityTypeName">活动类型:</text>
  105. <view class="city">
  106. <text style="color: #333">
  107. <block v-if="detailData.ChartPermissionName !== '买方研选'">({{ detailData.ChartPermissionName }})</block>
  108. {{ detailData.ActivityTypeName }}
  109. </text>
  110. <view class="choose-limit" @click="strictSelection">
  111. <image v-if="detailData.ChartPermissionName.includes('研选')" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/purchaser.png" mode=""></image>
  112. <image v-if="detailData.IsShowSustainable" class="limit-img" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/limit_icon.png" mode=""></image>
  113. </view>
  114. <image v-if="detailData.City" style="margin-left: 15rpx" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/location.png" mode=""></image>
  115. <text v-if="detailData.City">{{ detailData.City }}</text>
  116. </view>
  117. </view>
  118. <view v-if="detailData.Listndustrial.length" class="network dustrial-ui">
  119. <view class="network-left">产业标签:</view>
  120. <view class="network-right dustrial-content">
  121. <view class="item" v-for="item in detailData.Listndustrial" :key="item.IndustrialManagementId">
  122. <view :class="['dustrial-li', item.IsJump && 'dustrial-item']" @click="goDustrialHandler(item)">{{ item.IndustryName }} </view>
  123. <image v-if="item.IndustryNewLabel" class="new_icon" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/new_report.png" mode=""></image>
  124. </view>
  125. </view>
  126. </view>
  127. <view v-if="detailData.ActivityTimeText" class="network">
  128. <view class="network-left">活动时间:</view>
  129. <view class="network-right">{{ detailData.ActivityTimeText }}</view>
  130. </view>
  131. <view v-if="detailData.DistinguishedGuest" class="network">
  132. <view class="network-left">嘉&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;宾:</view>
  133. <view class="network-right">{{ detailData.DistinguishedGuest }}</view>
  134. </view>
  135. <view v-if="detailData.Host" class="network">
  136. <view class="network-left">主&nbsp;&nbsp;持&nbsp;人:</view>
  137. <view class="network-right">{{ detailData.Host }}</view>
  138. </view>
  139. <view v-if="detailData.Speaker" class="network">
  140. <view class="network-left">主&nbsp;&nbsp;讲&nbsp;人:</view>
  141. <view class="network-right">{{ detailData.Speaker }}</view>
  142. </view>
  143. <view v-if="detailData.Expert" class="network">
  144. <view class="network-left">专家背景:</view>
  145. <view class="network-right">
  146. <rich-text :nodes="detailData.Expert"></rich-text>
  147. </view>
  148. </view>
  149. <view v-if="detailData.MainlandTell" class="network">
  150. <view class="network-left">大陆拨入:</view>
  151. <view class="network-right" style="color: #2c83ff" @click="phonebtn(detailData.MainlandTell)">{{ detailData.MainlandTell }}</view>
  152. </view>
  153. <view v-if="detailData.HongKongTell" class="network">
  154. <view class="network-left">香港拨入:</view>
  155. <view class="network-right" style="color: #2c83ff" @click="phonebtn(detailData.HongKongTell)">{{ detailData.HongKongTell }}</view>
  156. </view>
  157. <view v-if="detailData.TaiwanTell" class="network">
  158. <view class="network-left">台湾拨入:</view>
  159. <view class="network-right" style="color: #2c83ff" @click="phonebtn(detailData.TaiwanTell)">{{ detailData.TaiwanTell }}</view>
  160. </view>
  161. <view v-if="detailData.AmericaTell" class="network">
  162. <view class="network-left">美国拨入:</view>
  163. <view class="network-right" style="color: #2c83ff" @click="phonebtn(detailData.AmericaTell)">{{ detailData.AmericaTell }}</view>
  164. </view>
  165. <view v-if="detailData.ParticipationCode" class="network">
  166. <view class="network-left">拨入密码:</view>
  167. <view class="network-right">{{ [1, 2, 3].includes(detailData.ActivityTypeId) && detailData.IsLimitPeople && !detailData.IsSignup ? "请报名获取" : detailData.ParticipationCode }}</view>
  168. </view>
  169. <view class="network" v-if="detailData.OnlineParticipation">
  170. <view class="network-left">网络参会:</view>
  171. <view class="network-right network-link" v-if="[1, 2].includes(detailData.ActivityTypeId) && detailData.IsLimitPeople && !detailData.IsSignup"> 请报名获取 </view>
  172. <view class="network-right network-link" style="color: #2c83ff" v-else>
  173. <view class="">
  174. <text class="default text_oneLine" @click="networkBtn">{{ detailData.OnlineParticipation }}</text>
  175. <text class="default copy-link" @click="copyLink(1)">复制链接</text>
  176. </view>
  177. </view>
  178. </view>
  179. <view class="network" v-if="detailData.LinkParticipants">
  180. <view class="network-left">链接参会:</view>
  181. <view class="network-right network-zoom" style="color: #2c83ff">
  182. <view>
  183. <text class="default text_zoom">{{ detailData.LinkParticipants }}</text>
  184. <view> 点击<text class="default copy-link copy-zoom" @click="copyLink(1)">复制链接</text>在手机浏览器打开,并输入会议密码 </view>
  185. </view>
  186. </view>
  187. </view>
  188. <view v-if="detailData.AppAttendance" class="network">
  189. <view class="network-left">App参会: </view>
  190. <view class="network-right">
  191. <rich-text :nodes="detailData.AppAttendance"></rich-text>
  192. </view>
  193. </view>
  194. <view v-if="detailData.ConferencePassword" class="network">
  195. <view class="network-left">拨入密码:</view>
  196. <view class="network-right">{{
  197. detailData.ActivityTypeName == "公司调研电话会" && detailData.IsLimitPeople && !detailData.IsSignup ? "请报名获取" : detailData.ConferencePassword
  198. }}</view>
  199. </view>
  200. <view v-if="detailData.Address" class="network">
  201. <view class="network-left">活动地址:</view>
  202. <view class="network-right" v-if="!detailData.IsSignup && detailData.ActivityTypeName == '公司线下调研' && detailData.IsLimitPeople">请报名获取 </view>
  203. <view class="network-right" v-else>{{ detailData.Address }}</view>
  204. </view>
  205. <view v-if="detailData.Highlights" class="network">
  206. <view class="network-left">活动亮点: </view>
  207. <view class="network-right">
  208. <rich-text :nodes="detailData.Highlights"></rich-text>
  209. </view>
  210. </view>
  211. <view class="network" v-if="detailData.ArticleList.length">
  212. <view class="network-left">相关报告:</view>
  213. <view class="network-right look-link" style="color: #2c83ff" @click="articleLinkHandler"> 点击查看 </view>
  214. </view>
  215. <view class="network" v-if="detailData.TencentConferenceNumber">
  216. <view class="network-left">腾讯会议号:</view>
  217. <view class="network-right network-link" v-if="!detailData.IsSignup && (detailData.IsYidongConduct || detailData.IsLimitPeople)">请报名获取</view>
  218. <view class="network-right network-link" style="color: #2c83ff" v-else>
  219. <view class="">
  220. <text class="default tencent text_oneLine">{{ detailData.TencentConferenceNumber }}</text>
  221. <text class="default copy-link" @click="copyLink(2)">复制会议号</text>
  222. </view>
  223. </view>
  224. </view>
  225. <view v-if="detailData.Theme" class="network">
  226. <view class="network-left">主&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;题: </view>
  227. <view class="network-right">
  228. <rich-text :nodes="detailData.Theme"></rich-text>
  229. </view>
  230. </view>
  231. <view v-if="detailData.Remarks" class="network">
  232. <view class="network-left">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注: </view>
  233. <view class="network-right">
  234. <rich-text :nodes="detailData.Remarks"></rich-text>
  235. </view>
  236. </view>
  237. </view>
  238. <view class="" style="height: 50rpx"></view>
  239. <!-- 操作按钮部分 -->
  240. <view class="content-bottom">
  241. <block v-if="detailData.ActiveState == 1">
  242. <view class="make-outbound" @click="signupIsAddOfCancel(1)" v-if="detailData.IsShowOutboundCall">
  243. {{ detailData.LimitPeopleNum > 0 ? `${showOutboundCall}(${detailData.SignupNum}/${detailData.LimitPeopleNum})` : showOutboundCall }}
  244. </view>
  245. <view @click="meetingReminderCancel" class="make-conference" v-if="detailData.IsShowMeetingReminder">
  246. {{ detailData.IsCancelMeetingReminder == 1 ? "取消会议提醒" : "会议提醒" }}
  247. <text>(会前15分钟推送微信消息提醒)</text>
  248. </view>
  249. <view v-if="detailData.IsShowAppointment" @click="summaryIsHandel" class="make-generation make-conference">{{ detailData.IsAppointment == 1 ? "取消纪要" : "预约纪要" }}</view>
  250. <view v-if="detailData.IsShowHelpSsk" class="make-generation make-conference" @click="askingGo"> 帮我带问 </view>
  251. <view class="make-outbound" @click="wanttosignup" v-if="!detailData.IsSignup && detailData.IsShowSignup">
  252. {{ detailData.LimitPeopleNum > 0 ? `我要报名(${detailData.SignupNum}/${detailData.LimitPeopleNum})` : "我要报名" }}
  253. </view>
  254. <view v-if="detailData.IsSignup && detailData.IsShowSignup" class="make-outbound" @click="signupIsAddOfCancel(2)">
  255. {{ detailData.LimitPeopleNum > 0 ? `${showWay}(${detailData.SignupNum}/${detailData.LimitPeopleNum})` : showWay }}
  256. </view>
  257. </block>
  258. <view class="content-bottom" v-if="detailData.ActiveState == 2 && detailData.ActivityTypeId == 1">
  259. <view class="make-conference" @click="askingGo('提问')">
  260. 实时提问
  261. <text>会议过程中,分析师可替您提问专家</text>
  262. </view>
  263. </view>
  264. </view>
  265. </block>
  266. <!-- 参会方式的弹出层 -->
  267. <SelectPopup :selectShow.sync="selectShow" @signupIsAddOfCancel="signupIsAddOfCancel" :selectYdong="selectYdong" />
  268. <view class="select-box">
  269. <u-popup v-model="selectShowLink" mode="bottom">
  270. <view style="color: #2c83ff" class="text_oneLine article-title" @click="goDetail(item.ArticleId)" v-for="item in detailData.ArticleList" :key="item.ArticleId"> {{ item.Title }}</view>
  271. <view style="color: #a9afb8" @click="selectShowLink = false">取消</view>
  272. </u-popup>
  273. </view>
  274. <!-- 各种弹框部分 -->
  275. <modalDialog
  276. :isShow="isShow"
  277. :signupType="signupType"
  278. :goFollow="goFollow"
  279. :isCancelShow="isCancelShow"
  280. :idTypeCancel="idTypeCancel"
  281. :editIsShow="editIsShow"
  282. :countryCode="countryCode"
  283. :mobileEdit="mobileEdit"
  284. :goOnNextStep="goOnNextStep"
  285. :jurisdictionList="jurisdictionList"
  286. :mailboxBinding="mailboxBinding"
  287. />
  288. </view>
  289. <!-- 权限部分 -->
  290. <view v-else>
  291. <jurisdiction :idAct="id" :jurisdictionList="jurisdictionList"></jurisdiction>
  292. </view>
  293. <freeCharge class="free-charge" :isShowFreeBtn="isShowFree" />
  294. <view v-show="false">
  295. <audioModule ref="childrenAudio" :showAudioPop="showAudioPop" />
  296. </view>
  297. <suspenButton v-if="showSingInImg" :showSingInImg.sync="showSingInImg" type="活动详情">
  298. <template slot="center">
  299. <image mode="widthFix" style="height: 120rpx; width: 120rpx" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/sing_in_icon.png"> </image>
  300. </template>
  301. <template slot="top">
  302. <image @click.stop="isDlgImg = true" mode="widthFix" style="height: 120rpx; width: 120rpx" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/sign_in_img.png"> </image>
  303. </template>
  304. <template slot="left">
  305. <image @click.stop="goSingUpDetail" mode="widthFix" style="height: 120rpx; width: 120rpx" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/sing_up_details.png"> </image>
  306. </template>
  307. </suspenButton>
  308. <van-popup custom-class="custom-class-popup" :show="isDlgImg" @close="onCloseHandler">
  309. <view class="sign-in-img-box">
  310. <image :src="detailData.SigninImg"></image>
  311. <view class="button-box">
  312. <text @click="onCloseHandler">关闭</text>
  313. <text @click="downloadImage">保存图片</text>
  314. </view>
  315. </view>
  316. </van-popup>
  317. </view>
  318. <not-have-login v-else />
  319. </block>
  320. </template>
  321. <script>
  322. import { activity, User, Home } from "@/config/api.js";
  323. import modalDialog from "@/components/modalDialog.vue";
  324. import jurisdiction from "./jurisdiction/components.vue";
  325. import freeCharge from "@/components/freeCharge";
  326. import audioModule from "@/components/audioModule/index";
  327. import manageMixin from "./manageMixin";
  328. import IsTrackFollow from "@/components/isTrackFollow.vue";
  329. import SelectPopup from "@/components/activity/selectPopup";
  330. import NotHaveLogin from "@/components/notHaveLogin.vue";
  331. import suspenButton from "@/components/suspen_button.vue";
  332. let app = getApp({ allowDefault: true });
  333. export default {
  334. filters: {
  335. formatVoiceTime(e) {
  336. let m = parseInt(e / 60);
  337. let s = parseInt(e % 60);
  338. return `${m > 9 ? m : "0" + m}:${s > 9 ? s : "0" + s}`;
  339. },
  340. },
  341. data() {
  342. return {
  343. id: "",
  344. detailData: {},
  345. isShowJurisdiction: false,
  346. isGain: true,
  347. signupType: "", //关注类型
  348. goFollow: false, //是否关注公众号
  349. isShow: false, //弹框
  350. isCancelShow: false,
  351. idTypeCancel: {
  352. id: "",
  353. type: 1,
  354. cutId: "",
  355. state: "",
  356. },
  357. selectShow: false, // 参会方式的隐藏显示
  358. selectYdong: false, // 参会方式展示的文案
  359. haveAuth: "",
  360. jurisdictionList: {},
  361. editIsShow: false, //外呼莫泰框
  362. countryCode: "", //外呼区号
  363. mobileEdit: "", //外呼手机号
  364. goOnNextStep: "", //设置外呼号后弹出哪个
  365. mailboxBinding: false, //是否绑定邮箱
  366. play: false,
  367. timesTheSpeed: [
  368. { name: "倍速", value: 1 },
  369. { name: "1.25倍", value: 1.25 },
  370. { name: "1.5倍", value: 1.5 },
  371. { name: "2倍", value: 2 },
  372. ],
  373. curTime: 0,
  374. videoContext: null,
  375. isVideoPlay: false,
  376. selectShowLink: false,
  377. isSendWx: "",
  378. isDlgImg: false,
  379. showSingInImg: false,
  380. };
  381. },
  382. mixins: [manageMixin],
  383. computed: {
  384. curVoiceId() {
  385. //当前正在播放的音频id
  386. return this.$store.state.audioBg.activityId;
  387. },
  388. curAudioPaused() {
  389. //当前音频是否暂停状态
  390. return this.$store.state.audioBg.paused;
  391. },
  392. //视频的id
  393. activityVideoId() {
  394. return this.$store.state.videoPlay.playVideoActId;
  395. },
  396. //报名的显示
  397. showWay() {
  398. let text = this.detailData.SignupType == 1 ? "取消外呼" : "取消报名";
  399. return text;
  400. },
  401. showOutboundCall() {
  402. let text = this.detailData.IsSignup ? "取消外呼" : "预约外呼";
  403. return text;
  404. },
  405. //几倍的播放数度
  406. isTimes() {
  407. let isMultiple = this.curVoiceId === this.detailData.ActivityId ? this.$store.state.audioBg.multiple : 1;
  408. return isMultiple;
  409. },
  410. showAudioPop() {
  411. return this.$store.state.audioBg.show;
  412. },
  413. },
  414. components: {
  415. modalDialog,
  416. jurisdiction,
  417. freeCharge,
  418. audioModule,
  419. IsTrackFollow,
  420. SelectPopup,
  421. NotHaveLogin,
  422. suspenButton,
  423. },
  424. watch: {
  425. haveAuth: {
  426. handler() {
  427. if (this.haveAuth == 1) {
  428. this.$store.dispatch("statistics", { PageType: "ActivitParticulars", DetailId: this.id });
  429. }
  430. },
  431. immediate: true,
  432. },
  433. "$store.state.audioBg.curTime": {
  434. handler(newVal) {
  435. this.curTime = this.curVoiceId === this.detailData.ActivityId ? newVal : 0;
  436. },
  437. immediate: true,
  438. deep: true,
  439. },
  440. },
  441. methods: {
  442. downloadImage() {
  443. wx.downloadFile({
  444. url: this.detailData.SigninImg,
  445. success(res) {
  446. wx.saveImageToPhotosAlbum({
  447. filePath: res.tempFilePath,
  448. success(data) {
  449. wx.showModal({
  450. title: "提示",
  451. content: "保存成功",
  452. modalType: false,
  453. });
  454. },
  455. fail(err) {
  456. if (
  457. err.errMsg === "saveImageToPhotosAlbum:fail:auth denied" ||
  458. err.errMsg === "saveImageToPhotosAlbum:fail auth deny" ||
  459. err.errMsg === "saveImageToPhotosAlbum:fail authorize no response"
  460. ) {
  461. wx.showModal({
  462. title: "提示",
  463. content: "需要您授权保存相册",
  464. modalType: false,
  465. success: (modalSuccess) => {
  466. wx.openSetting({
  467. success(settingdata) {
  468. console.log("settingdata", settingdata);
  469. if (settingdata.authSetting["scope.writePhotosAlbum"]) {
  470. wx.showModal({
  471. title: "提示",
  472. content: "获取权限成功,再次点击图片即可保存",
  473. modalType: false,
  474. });
  475. } else {
  476. wx.showModal({
  477. title: "提示",
  478. content: "获取权限失败,将无法保存到相册哦~",
  479. modalType: false,
  480. });
  481. }
  482. },
  483. fail(failData) {
  484. console.log("failData", failData);
  485. },
  486. complete(finishData) {
  487. console.log("finishData", finishData);
  488. },
  489. });
  490. },
  491. });
  492. }
  493. },
  494. });
  495. },
  496. });
  497. },
  498. onCloseHandler() {
  499. this.isDlgImg = false;
  500. },
  501. // 获取详情
  502. getActivityDetail() {
  503. activity
  504. .getActivityDetail({
  505. ActivityId: this.id,
  506. PageRouter: this.$store.state.pageRouterActivity,
  507. IsSendWx: this.isSendWx,
  508. })
  509. .then((res) => {
  510. if (res.Ret == 200) {
  511. this.$store.commit("setRouterActivity", "活动详情");
  512. this.haveAuth = res.Data.HasPermission;
  513. this.jurisdictionList = res.Data;
  514. if (res.Data.HasPermission == 1) {
  515. this.detailData = res.Data.Detail;
  516. this.showSingInImg = this.detailData.IsShowSigninButton;
  517. this.synchronization();
  518. }
  519. }
  520. });
  521. },
  522. // 同步数据
  523. synchronization() {
  524. let pages = getCurrentPages();
  525. let prevPage = pages[pages.length - 2];
  526. let path = prevPage ? prevPage.$page.fullPath : "";
  527. if (path.includes("/activityPages/themeActivity/themeActivity") || path.includes("/pages-search/indedxSearch/indedxSearch?source=活动详情页面")) {
  528. const index = prevPage.$vm.collectList.findIndex((item) => item.ActivityId == this.id);
  529. prevPage.$vm.collectList[index].IsSignup = this.detailData.IsSignup;
  530. prevPage.$vm.collectList[index].SignupNum = this.detailData.SignupNum;
  531. prevPage.$vm.collectList[index].SignupType = this.detailData.SignupType;
  532. prevPage.$vm.collectList[index].IsAppointment = this.detailData.IsAppointment;
  533. prevPage.$vm.collectList[index].IsCancelMeetingReminder = this.detailData.IsCancelMeetingReminder;
  534. }
  535. },
  536. // 拨打电话
  537. phonebtn(phone) {
  538. uni.makePhoneCall({
  539. phoneNumber: phone,
  540. });
  541. },
  542. // 跳转新的小程序
  543. networkBtn() {
  544. if (this.detailData.OnlineParticipation.includes("http")) {
  545. uni.navigateTo({
  546. url: "/activityPages/networkAttend/networkAttend?url=" + this.detailData.OnlineParticipation,
  547. });
  548. } else {
  549. uni.navigateToMiniProgram({
  550. appId: "wxade30ff0c4ee757d",
  551. path: this.detailData.OnlineParticipation,
  552. });
  553. }
  554. },
  555. // 弹框的回调事件
  556. cancelEnsure() {
  557. this.getActivityDetail();
  558. },
  559. // 跳转
  560. goDetail(id) {
  561. uni.navigateTo({
  562. url: "/pageMy/reportDetail/reportDetail?id=" + id,
  563. });
  564. },
  565. // 提问
  566. async askingGo(type = "") {
  567. await activity.checkAskActivity({ ActivityId: Number(this.id), PageRouter: this.$store.state.pageRouterActivity });
  568. uni.navigateTo({
  569. url: "/activityPages/generationAsk/generationAsk?id=" + this.id + "&type=" + type,
  570. });
  571. },
  572. //点击了严选
  573. strictSelection() {
  574. activity.descriptionOfResearch().then((res) => {
  575. if (res.Ret == 200) {
  576. uni.showModal({
  577. content: res.Data.Item.ConfigValue,
  578. confirmText: "知道了",
  579. showCancel: false,
  580. confirmColor: "#3385FF",
  581. success: function (res) {},
  582. });
  583. }
  584. });
  585. },
  586. // 复制的操作
  587. copyLink(type) {
  588. uni.setClipboardData({
  589. data: type == 1 ? this.detailData.LinkParticipants || this.detailData.OnlineParticipation : this.detailData.TencentConferenceNumber,
  590. success: function () {
  591. uni.showToast({
  592. title: `复制成功${type == 1 ? ",可在浏览器打开" : ""}`,
  593. icon: "none",
  594. duration: 2000,
  595. });
  596. },
  597. });
  598. },
  599. // 跳转产业标签
  600. goDustrialHandler(item) {
  601. if (!item.IsJump) return;
  602. if (item.IsResearch) {
  603. //严选
  604. uni.navigateTo({ url: "/reportPages/researchTheme/researchTheme?id=" + item.IndustrialManagementId });
  605. } else {
  606. //非严选
  607. uni.navigateTo({ url: "/reportPages/IndustryReport/IndustryReport?id=" + item.IndustrialManagementId });
  608. }
  609. },
  610. // 音频点击暂停播放
  611. audioPlayBack() {
  612. if (this.$store.state.audioBg.activityId == this.detailData.ActivityId) {
  613. if (this.globalBgAudioManager.paused) {
  614. this.globalBgAudioManager.play();
  615. } else {
  616. this.globalBgAudioManager.pause();
  617. }
  618. } else {
  619. this.$store.commit("audioBg/addAudio", {
  620. list: this.detailData.VoiceList,
  621. activityId: this.detailData.ActivityId,
  622. activityTitle: this.detailData.ActivityName,
  623. });
  624. }
  625. },
  626. // 拖动进度条
  627. handleAudioSliderChangeing(e) {
  628. this.curTime = e.detail.value;
  629. },
  630. // 拖动进度条
  631. handleAudioSliderChange(e) {
  632. const value = e.detail.value;
  633. this.globalBgAudioManager.seek(value);
  634. this.$refs.childrenAudio.isRecord = false;
  635. setTimeout(() => {
  636. this.$store.commit("audioBg/setSlide", false);
  637. }, 300);
  638. },
  639. // 手指离开拖动进度条
  640. touchstartHandler() {
  641. this.$store.commit("audioBg/setSlide", true);
  642. },
  643. //倍速播放
  644. isTimesHandler(i) {
  645. if (this.$store.state.audioBg.activityId == this.detailData.ActivityId) {
  646. let index = i == 3 ? 0 : i + 1;
  647. this.$store.commit("audioBg/setMultiple", this.timesTheSpeed[index].value);
  648. this.globalBgAudioManager.playbackRate = this.isTimes;
  649. this.globalBgAudioManager.startTime = this.curTime;
  650. if (this.globalBgAudioManager.paused) {
  651. this.globalBgAudioManager.play();
  652. }
  653. } else {
  654. this.$store.commit("audioBg/removeAudio");
  655. this.$store.commit("audioBg/addAudio", {
  656. list: this.detailData.VoiceList,
  657. activityId: this.detailData.ActivityId,
  658. activityTitle: this.detailData.ActivityName,
  659. });
  660. }
  661. this.$refs.childrenAudio.isRecord = false;
  662. },
  663. //快进 快退
  664. speedReverseHandler(type) {
  665. let isTime = type == "reverse" ? this.curTime - 15 : this.curTime + 15;
  666. isTime = isTime <= 0 ? 0 : isTime >= this.detailData.VoiceList.PlaySeconds ? this.detailData.VoiceList.PlaySeconds - 1 : isTime;
  667. this.globalBgAudioManager.seek(isTime);
  668. this.$refs.childrenAudio.isRecord = false;
  669. },
  670. //视频元数据加载完成时触发
  671. loadedmetadataHandle() {
  672. this.videoContext = wx.createVideoContext(this.detailData.ActivityId.toString(), this);
  673. let curVideoTime = 0;
  674. if (this.activityVideoId == this.detailData.ActivityId) {
  675. curVideoTime = this.$store.state.videoPlay.palyCurrentTime;
  676. } else {
  677. this.$store.commit("videoPlay/playVideoActivity", this.detailData.ActivityId);
  678. }
  679. this.videoContext.seek(curVideoTime);
  680. },
  681. //视频播放结束
  682. handleVideoEnd() {
  683. // 此处因为如果不调用退出全屏方法 安卓和ios页面均会表现异常,安卓横屏不恢复竖屏,ios底部tabbar渲染异常
  684. this.videoContext.exitFullScreen();
  685. },
  686. //视频时间的更新
  687. handleVideoTimeUpdate(e) {
  688. let time = parseInt(e.detail.currentTime);
  689. this.$store.commit("videoPlay/palyTimeUpdate", time);
  690. },
  691. //视频的播放事件
  692. handelVideoPlay() {
  693. if (!this.isVideoPlay) {
  694. Home.microAideoHistoryAdd({ VideoId: this.detailData.ActivityId, SourceType: 2 });
  695. }
  696. this.isVideoPlay = true;
  697. },
  698. // 标题超出省略...
  699. detailTitle(val) {
  700. let str = val.length > 41 ? val.slice(0, 41) + "..." : val;
  701. return str;
  702. },
  703. // 微路演留言
  704. myLeavingMessageHandler() {
  705. let title = this.detailData.FileType == 1 ? this.detailData.VoiceList.Name : this.detailData.VideoDetail.Title;
  706. uni.navigateTo({
  707. url: "/activityPages/generationAsk/generationAsk?id=" + this.detailData.ActivityId + "&type=文章&roadshow=" + this.detailData.FileType + "&roadshowTitle=" + title,
  708. });
  709. },
  710. // 微路演收藏
  711. async isCollectionHandeler() {
  712. await this.$store.dispatch("showLoginModal");
  713. const res = await Home.microRoadshowCollect({
  714. Id: this.detailData.FileType == 1 ? this.detailData.VoiceList.ActivityVoiceId : this.detailData.VideoDetail.Id,
  715. SourceType: this.detailData.FileType,
  716. PageRouter: this.$store.state.pageRouterReport,
  717. });
  718. if (res.Ret === 200) {
  719. uni.showToast({
  720. title: res.Msg,
  721. duration: 2000,
  722. });
  723. this.detailData.IsCollect = !this.detailData.IsCollect;
  724. }
  725. },
  726. articleLinkHandler() {
  727. if (this.detailData.ArticleList.length === 1) {
  728. uni.navigateTo({
  729. url: "/pageMy/reportDetail/reportDetail?id=" + this.detailData.ArticleList[0].ArticleId,
  730. });
  731. } else {
  732. this.selectShowLink = true;
  733. }
  734. },
  735. // 去往报名详情
  736. goSingUpDetail() {
  737. uni.navigateTo({
  738. url: "/pages-message/activityTemplate/activityTemplate?id=" + this.id,
  739. });
  740. },
  741. },
  742. onLoad(option) {
  743. this.id = option.id || "";
  744. this.isSendWx = option.IsSendWx || "";
  745. // 详情页面不写路径
  746. },
  747. onShow() {
  748. if (!this.$store.state.isAuth && !this.$store.state.isBind) {
  749. //已授权已绑定
  750. this.getActivityDetail();
  751. }
  752. this.$store.commit("setRouterReport", "活动详情");
  753. },
  754. /**
  755. * 用户点击分享
  756. */
  757. onShareAppMessage: function (res) {
  758. return {
  759. title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : "活动详情",
  760. path: "/activityPages/activityDetail/activityDetail?id=" + this.id,
  761. success: (res) => {},
  762. fail: (err) => {},
  763. };
  764. },
  765. };
  766. </script>
  767. <style lang="scss">
  768. .activity-detail {
  769. padding-bottom: 100rpx;
  770. .notice {
  771. height: 60rpx;
  772. width: 100%;
  773. }
  774. .content {
  775. padding: 34rpx 34rpx 0rpx;
  776. margin-bottom: -20rpx;
  777. color: #333333;
  778. font-size: 28rpx;
  779. view {
  780. padding-left: 20rpx;
  781. }
  782. text {
  783. line-height: 80rpx;
  784. padding-left: 20rpx;
  785. }
  786. .phone {
  787. padding: 0;
  788. display: inline-block;
  789. color: #2c83ff;
  790. }
  791. .new_icon {
  792. width: 60rpx;
  793. height: 30rpx;
  794. margin: 0 20rpx 20rpx 0;
  795. }
  796. .dialog-title {
  797. width: 682rpx;
  798. padding: 20rpx;
  799. background: #f2f2f2;
  800. opacity: 0.8;
  801. font-size: 30rpx;
  802. font-weight: bold;
  803. margin-bottom: 15rpx;
  804. color: #000;
  805. }
  806. .brackets-title {
  807. padding-left: 20rpx;
  808. }
  809. .city-box {
  810. display: flex;
  811. align-items: center;
  812. .network-left {
  813. width: 170rpx;
  814. text-align-last: justify;
  815. text-align: justify;
  816. }
  817. text {
  818. padding: 0;
  819. }
  820. .city {
  821. display: flex;
  822. color: #2088ff;
  823. align-items: center;
  824. image {
  825. width: 27rpx;
  826. height: 32rpx;
  827. margin-right: 12rpx;
  828. }
  829. .choose-limit {
  830. position: relative;
  831. display: flex;
  832. align-items: center;
  833. margin-right: 20rpx;
  834. image {
  835. width: 130rpx;
  836. height: 38rpx;
  837. }
  838. .limit-img {
  839. position: absolute;
  840. top: -13rpx;
  841. right: -30rpx;
  842. width: 46rpx;
  843. height: 26rpx;
  844. }
  845. }
  846. }
  847. }
  848. }
  849. .network {
  850. margin-bottom: 30rpx;
  851. padding: 0 !important;
  852. display: flex;
  853. .network-left {
  854. width: 190rpx;
  855. text-align-last: justify;
  856. text-align: justify;
  857. flex-shrink: 0;
  858. }
  859. .network-right {
  860. width: 480rpx;
  861. }
  862. .dustrial-content {
  863. display: flex;
  864. flex-wrap: wrap;
  865. .item {
  866. display: flex;
  867. align-items: center;
  868. padding-left: 0;
  869. margin-left: 0;
  870. }
  871. }
  872. .network-zoom {
  873. .text_zoom {
  874. width: 100%;
  875. word-break: break-all;
  876. color: #333333;
  877. }
  878. view {
  879. padding: 0 !important;
  880. margin: 0 !important;
  881. }
  882. .copy-zoom {
  883. display: inline-block;
  884. padding: 5rpx 17rpx !important;
  885. border-radius: 34rpx;
  886. background-color: #ebf4ff;
  887. font-size: 24rpx;
  888. color: #2c83ff;
  889. margin: 0 10rpx;
  890. margin-top: 30rpx;
  891. }
  892. }
  893. .network-link {
  894. width: 520rpx !important;
  895. view {
  896. padding: 0 !important;
  897. margin: 0 !important;
  898. width: 100%;
  899. display: flex;
  900. justify-content: space-between;
  901. :first-child {
  902. width: 350rpx;
  903. }
  904. .tencent {
  905. width: 320rpx;
  906. }
  907. .copy-link {
  908. flex-shrink: 0;
  909. padding: 5rpx 17rpx !important;
  910. border-radius: 34rpx;
  911. background-color: #ebf4ff;
  912. font-size: 24rpx;
  913. color: #2c83ff;
  914. }
  915. }
  916. }
  917. }
  918. .default {
  919. // padding: 0 !important;
  920. // margin: 0;
  921. padding-left: 0 !important;
  922. line-height: 40rpx !important;
  923. }
  924. .content-bottom {
  925. margin: 50rpx 0 30rpx;
  926. .make-outbound {
  927. margin: 0 auto;
  928. width: 368rpx;
  929. height: 80rpx;
  930. background: linear-gradient(268deg, #2ddbff 0%, #1599ff 49%, #005eff 100%);
  931. opacity: 1;
  932. border-radius: 4rpx;
  933. color: #ffffff;
  934. font-size: 34rpx;
  935. line-height: 80rpx;
  936. text-align: center;
  937. }
  938. .make-generation {
  939. padding-top: 0rpx !important;
  940. line-height: 76rpx;
  941. }
  942. .make-conference {
  943. margin: 30rpx auto;
  944. width: 368rpx;
  945. height: 80rpx;
  946. border: 2px solid #2c83ff;
  947. opacity: 1;
  948. border-radius: 4rpx;
  949. padding-top: 5rpx;
  950. text-align: center;
  951. color: #2c83ff;
  952. font-size: 30rpx;
  953. text {
  954. font-size: 16rpx;
  955. }
  956. }
  957. }
  958. .bottom-env {
  959. position: fixed;
  960. bottom: 0;
  961. padding-bottom: constant(safe-area-inset-bottom);
  962. padding-bottom: env(safe-area-inset-bottom);
  963. left: 0;
  964. width: 100%;
  965. background-color: #ffffff;
  966. }
  967. .apply-box {
  968. width: 100%;
  969. height: 100rpx;
  970. display: flex;
  971. font-size: 32rpx;
  972. color: #333333;
  973. line-height: 100rpx;
  974. .cancel-apply {
  975. display: flex;
  976. padding-left: 50rpx;
  977. flex: 1;
  978. border: 2rpx solid #005eff;
  979. background-color: #fff;
  980. text {
  981. color: #005eff;
  982. }
  983. }
  984. .ok-apply {
  985. flex: 1;
  986. background: linear-gradient(268deg, #2ddbff 0%, #1599ff 49%, #005eff 100%);
  987. text-align: center;
  988. color: #ffffff;
  989. }
  990. }
  991. .select-box {
  992. width: 100%;
  993. view {
  994. height: 95prx;
  995. line-height: 95rpx;
  996. text-align: center;
  997. font-size: 32rpx;
  998. border-bottom: 1rpx solid #ebebeb;
  999. }
  1000. }
  1001. .dustrial-ui {
  1002. margin-bottom: 10rpx !important;
  1003. }
  1004. .dustrial-li {
  1005. display: flex;
  1006. align-items: center;
  1007. padding: 0 13rpx;
  1008. margin: 0 20rpx 20rpx 0;
  1009. }
  1010. .dustrial-item {
  1011. background: #edf4ff;
  1012. border: 1px solid #3385ff;
  1013. border-radius: 4rpx;
  1014. color: #3385ff;
  1015. }
  1016. .audio-card {
  1017. width: 100%;
  1018. height: 334rpx;
  1019. background: #fff;
  1020. box-shadow: 0px 3rpx 8rpx 0rpx rgba(0, 0, 0, 0.05);
  1021. border-radius: 8rpx;
  1022. margin: 0 auto;
  1023. padding: 30rpx;
  1024. padding-left: 30rpx;
  1025. view {
  1026. padding-left: 0;
  1027. }
  1028. .slider {
  1029. width: 100%;
  1030. margin: 0;
  1031. }
  1032. .slider-paly {
  1033. display: flex;
  1034. height: 80rpx;
  1035. align-items: center;
  1036. padding-left: 20rpx;
  1037. }
  1038. .card-title {
  1039. margin-top: 20rpx;
  1040. font-size: 28rpx;
  1041. padding: 15rpx 0 0 15rpx;
  1042. line-height: 44rpx;
  1043. height: 100rpx;
  1044. position: relative;
  1045. }
  1046. .card-time {
  1047. display: flex;
  1048. justify-content: space-between;
  1049. color: #999999;
  1050. font-size: 20rpx;
  1051. }
  1052. .title-image {
  1053. position: absolute;
  1054. bottom: 0;
  1055. right: 0;
  1056. width: 150rpx;
  1057. height: 40rpx;
  1058. padding-left: 15rpx;
  1059. display: flex;
  1060. justify-content: space-between;
  1061. image {
  1062. width: 40rpx;
  1063. height: 40rpx;
  1064. }
  1065. }
  1066. .is-paly-card {
  1067. width: 70rpx;
  1068. height: 70rpx;
  1069. flex-shrink: 0;
  1070. margin-left: 30rpx;
  1071. image {
  1072. width: 70rpx;
  1073. height: 70rpx;
  1074. }
  1075. }
  1076. .fast-reverse {
  1077. display: flex;
  1078. align-items: center;
  1079. justify-content: center;
  1080. margin-top: 30rpx;
  1081. .speed-button {
  1082. width: 96rpx;
  1083. height: 47rpx;
  1084. background: #eaeaea;
  1085. border-radius: 8rpx;
  1086. text-align: center;
  1087. line-height: 47rpx;
  1088. margin: 0 70rpx;
  1089. padding-left: 0;
  1090. }
  1091. .speed-img {
  1092. width: 50rpx;
  1093. height: 50rpx;
  1094. }
  1095. }
  1096. }
  1097. .video-play {
  1098. width: 100%;
  1099. padding-left: 0rpx !important;
  1100. padding-bottom: 15rpx;
  1101. height: 470rpx;
  1102. border-radius: 8rpx;
  1103. overflow: hidden;
  1104. box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.05);
  1105. font-size: 28rpx;
  1106. color: #333333;
  1107. margin-top: 20rpx;
  1108. video {
  1109. height: 340rpx;
  1110. width: 100%;
  1111. }
  1112. .title {
  1113. padding: 15rpx 0 0 15rpx !important;
  1114. font-size: 28rpx;
  1115. line-height: 44rpx;
  1116. height: 100rpx;
  1117. position: relative;
  1118. .title-flat {
  1119. float: right;
  1120. width: 150rpx;
  1121. height: 40rpx;
  1122. margin-top: -36rpx;
  1123. background-color: #f00;
  1124. }
  1125. .title-image {
  1126. position: absolute;
  1127. bottom: 0;
  1128. right: 0;
  1129. width: 150rpx;
  1130. height: 40rpx;
  1131. padding-left: 15rpx;
  1132. display: flex;
  1133. justify-content: space-between;
  1134. image {
  1135. width: 40rpx;
  1136. height: 40rpx;
  1137. }
  1138. }
  1139. }
  1140. }
  1141. .select-box {
  1142. width: 100%;
  1143. .box {
  1144. height: 95prx;
  1145. line-height: 95rpx;
  1146. text-align: center;
  1147. font-size: 32rpx;
  1148. border-bottom: 1rpx solid #ebebeb;
  1149. }
  1150. .box-bottom {
  1151. border-bottom: none !important;
  1152. }
  1153. }
  1154. .article-title {
  1155. padding: 0 20rpx;
  1156. }
  1157. .look-link {
  1158. background: #3385ff;
  1159. border-radius: 4rpx;
  1160. color: #fff !important;
  1161. width: 160rpx !important;
  1162. height: 40rpx;
  1163. text-align: center;
  1164. line-height: 40rpx;
  1165. margin-left: 20rpx;
  1166. padding-left: 0 !important;
  1167. }
  1168. .sign-in-img-box {
  1169. width: 704rpx;
  1170. height: 1121rpx;
  1171. background-color: #fff;
  1172. border-radius: 8rpx;
  1173. overflow: hidden;
  1174. image {
  1175. width: 100%;
  1176. height: calc(100% - 108rpx);
  1177. }
  1178. .button-box {
  1179. display: flex;
  1180. align-items: center;
  1181. height: 102rpx;
  1182. border-top: 1rpx solid #f0f0f0;
  1183. text {
  1184. flex: 1;
  1185. height: 100%;
  1186. display: flex;
  1187. align-items: center;
  1188. justify-content: center;
  1189. }
  1190. text:last-child {
  1191. border-left: 1rpx solid #f0f0f0;
  1192. color: #3385ff;
  1193. }
  1194. }
  1195. }
  1196. .custom-class-popup {
  1197. border-radius: 8rpx;
  1198. overflow: hidden;
  1199. }
  1200. }
  1201. </style>