activityDetail.vue 45 KB

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