activityDetailNew.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836
  1. <template>
  2. <!-- 教研室详情 -->
  3. <view class="activityDetailNew">
  4. <statusBar :item="navbar"></statusBar>
  5. <!-- 消息提示 -->
  6. <msgPop></msgPop>
  7. <view class="top">
  8. <image class="img1" src="https://teacherapi.cocorobo.cn/teaching-file/static/yym/Rectangle25.png"
  9. mode="widthFix">
  10. </image>
  11. <image class="img2" src="../../static/Dropdown.png" mode="widthFix"></image>
  12. </view>
  13. <view class="decontent">
  14. <view class="actit">
  15. {{actItemList.acName}}
  16. </view>
  17. <view class="footer">
  18. <view class="">
  19. {{actItemList.create_at}}
  20. </view>
  21. <view class="">
  22. 阅读量:{{actItemList.views}}
  23. </view>
  24. </view>
  25. <view class="avaList">
  26. <view class="ava" @click="gotoMorePer">
  27. <u-avatar-group :urls="applyUserlist" maxCount='6' showMore size="35" :extraValue='stuNum'
  28. gap="0.4"></u-avatar-group>
  29. <view
  30. style="font-size: 24rpx;
  31. font-weight: 400;
  32. width: 200rpx;
  33. color:rgba(0, 0, 0, 0.6);
  34. margin-left: 20rpx;">
  35. {{!applyUserlist.length?'暂无报名':'已报名'}}
  36. </view>
  37. </view>
  38. <view class="cost">
  39. <!-- ¥<text style="font-size: 48rpx;">{{actItemList.cost}}</text> -->
  40. </view>
  41. </view>
  42. <view class="acinfo">
  43. <view class="acinfoAddress">
  44. <view class="acinfoTit">
  45. <text>时</text>
  46. <text>间</text>
  47. </view>:
  48. <text class="inf">{{actItemList.begin_at}}</text>
  49. </view>
  50. <!-- <view class="acinfoAddress">
  51. 地点:<text class="inf">{{actItemList.address}}</text>
  52. </view> -->
  53. <!-- <view class="">
  54. 主办单位:<text class="inf">暂无字段</text>
  55. </view> -->
  56. <view class="acinfoAddress">
  57. <view class="acinfoTit">
  58. <text>活</text>
  59. <text>动</text>
  60. <text>形</text>
  61. <text>式</text>
  62. </view>: <text style="color:rgba(0, 86, 168, 1) ;">{{actItemList.acshape}}</text>
  63. </view>
  64. </view>
  65. <!-- 活动介绍 -->
  66. <view class="acbrief">
  67. <view class="britit">
  68. 活动介绍
  69. </view>
  70. <!-- <web-view :src="actItemList.link" webview-styles="{'height': '700rpx';}"></web-view> -->
  71. <!-- <br /> -->
  72. <view class="bricon">
  73. <!-- <rich-text :nodes="">{{actItemList.brief}}</rich-text> -->
  74. <rich-text style="white-space:pre-wrap;" :nodes="actItemList.brief"></rich-text>
  75. <!-- <view style="color: blue;display: inline-block;" :data-link="actItemList.link" @click="gotoLink">
  76. <u-icon name="arrow-right" labelSize='14' size='14' labelColor='blue' space='2' color='blue' labelPos='left' label='查看更多'></u-icon>
  77. </view> -->
  78. </view>
  79. <!-- <image class="briImg" :src="actItemList.pic" mode="widthFix"></image> -->
  80. </view>
  81. </view>
  82. <!-- 按钮 -->
  83. <view class="btnBlock">
  84. <view class="icos">
  85. <view class="ico">
  86. <view class="imgBlock" @click="coll">
  87. <image class="icoimg"
  88. :src="collArr.includes(actItemList.acId) ? pic_coll2 : '../../static/Starhhh.png'"
  89. mode="aspectFill"></image>
  90. </view>
  91. <text class="icotxt">收藏</text>
  92. </view>
  93. <!-- <view class="ico" style="position: relative;" @click="share"> -->
  94. <view class="ico" style="position: relative;">
  95. <view class="imgBlock">
  96. <image class="icoimg" style="height: 70%;width: 65%;" src="../../static/union.png"
  97. mode="aspectFill"></image>
  98. </view>
  99. <button open-type="share"
  100. style="background-color: aquamarine;opacity: 0; position: absolute;left: 0;width: 100%;height: 100%;"></button>
  101. <text class="icotxt">分享</text>
  102. </view>
  103. </view>
  104. <view class="rightBtn">
  105. <view class="btnt1" v-if="actItemList.openid==oid">本人创建,暂不支持加入</view>
  106. <view class="btnt" v-else-if="!isSign" @click="applyAdd">立即报名</view>
  107. <view class="btnt" v-else-if="isSign" @click="cancelAdd">取消报名</view>
  108. <!-- <view class="btnt1" v-else-if="actItemList.bnum>=actItemList.pers">人数已满</view> -->
  109. <!-- <view class="btnt1" v-else-if="isSign && actItemList.openid!=oid">已报名</view> -->
  110. </view>
  111. </view>
  112. <!-- 弹窗 -->
  113. <view>
  114. <view class="mask" v-show="showPopup" @click="showPopup = false"></view>
  115. <view class="popup-container" v-show="showPopup">
  116. <view class="popup">
  117. <view class="header">
  118. <text v-if="!isAdd">确认报名</text>
  119. <text v-else>是否取消报名</text>
  120. </view>
  121. <view class="footer">
  122. <view class="cancel-btn" @click="showPopup=false">取消</view>
  123. <view class="confirm-btn" v-if="!isAdd" @click="conf">确认</view>
  124. <view class="confirm-btn" v-else @click="canc">确认</view>
  125. </view>
  126. </view>
  127. </view>
  128. </view>
  129. <view>
  130. <view class="popup-container2" style="height: 175px;" v-show="showPopupConfirm">
  131. <view class="popup">
  132. <view class="header" style="margin-top: 15px;">
  133. <view class="imgShade">
  134. <image src="../../static/mine/gou3.png" mode="aspectFill">
  135. </view>
  136. </image>
  137. <text style="margin-bottom: 24px;">报名成功</text>
  138. </view>
  139. </view>
  140. </view>
  141. </view>
  142. <view class="" style="height: 170rpx;width: 750rpx;">
  143. <!-- 占位的 -->
  144. </view>
  145. <u-loading-page :loading="uLoading"></u-loading-page>
  146. </view>
  147. </template>
  148. <script>
  149. export default {
  150. data() {
  151. return {
  152. navbar: {
  153. title: '活动详情',
  154. btn: 1
  155. },
  156. // 用户openid
  157. oid: '',
  158. // 活动id
  159. acId: '',
  160. stuNum: 0,
  161. // 页面数据
  162. actItemList: {},
  163. // 用户收藏列表
  164. collArr: [],
  165. //报名成功弹窗
  166. showPopupConfirm: false,
  167. // 用户订阅列表
  168. // subArr: [],
  169. uLoading: false,
  170. // 收藏按钮节流
  171. stopTimer: 0,
  172. //控制弹窗
  173. showPopup: false,
  174. // 是否已加入
  175. isSign: 0,
  176. // 判断显示报名弹窗还是取消报名弹窗
  177. isAdd: 0,
  178. // 报名列表
  179. applyUserlist: [],
  180. pic_coll2: 'https://teacherapi.cocorobo.cn/teaching-file/static/mine/Collect_yellow.png',
  181. nodes: [{
  182. name: 'div',
  183. attrs: {
  184. class: 'div-class',
  185. style: 'line-height: 60px; color: red; text-align:center;'
  186. },
  187. children: [{
  188. type: 'text',
  189. text: 'Hello&nbsp;uni-app!'
  190. }]
  191. }],
  192. strings: '<div style="text-align:center;"><img src="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni@2x.png"/></div>'
  193. // pic_sub: 'https://teacherapi.cocorobo.cn/teaching-file/static/yym/Vector (Stroke) (1).png',
  194. // pic_sub2: 'https://teacherapi.cocorobo.cn/teaching-file/static/dingyue_blue.png',
  195. };
  196. },
  197. // 分享
  198. onShareAppMessage() {
  199. uni.share({
  200. provider: "weixin",
  201. scene: "WXSceneSession",
  202. type: 1,
  203. summary: "我正在使用HBuilderX开发uni-app,赶紧跟我一起来体验!",
  204. success: function(res) {
  205. console.log("success:" + JSON.stringify(res));
  206. },
  207. fail: function(err) {
  208. console.log("fail:" + JSON.stringify(err));
  209. }
  210. });
  211. },
  212. // onUnload() {
  213. // this.$store.dispatch('asyncDelAll')
  214. // },
  215. methods: {
  216. //跳转到第三方链接
  217. gotoLink(e) {
  218. let link = e.currentTarget.dataset.link;
  219. uni.navigateTo({
  220. url: "/pages/skipone/skipone?url=" + encodeURIComponent(link),
  221. });
  222. },
  223. share() {
  224. // onShareAppMessage() {
  225. uni.showToast({
  226. title: '暂未开发,还不能分享哦',
  227. icon: 'none'
  228. })
  229. },
  230. // 获取页面数据
  231. getdata() {
  232. this.uLoading = true
  233. let data = {
  234. oid: this.$store.state.user.openid,
  235. acId: this.acId,
  236. }
  237. this.$request('/selectActivityID', "POST", data).then(res => {
  238. // console.log('页面数据', res[0][0]);
  239. this.uLoading = false
  240. this.actItemList = res[0][0]
  241. this.actItemList.brief = this.actItemList.brief.replace(/<img/gi,
  242. '<img style="max-width:100%;height:auto;margin:0 auto;display:block"')
  243. })
  244. },
  245. // 申请加入弹窗
  246. applyAdd() {
  247. // console.log('报名');
  248. this.isAdd = 0
  249. this.showPopup = true
  250. },
  251. //显示取消报名弹窗
  252. cancelAdd() {
  253. this.isAdd = 1
  254. this.showPopup = true
  255. },
  256. // 确认取消报名操作
  257. canc() {
  258. let data = {
  259. oid: this.$store.state.user.openid, //用户id
  260. acid: this.acId,
  261. }
  262. this.$request('/deleteApply', "POST", data).then(res => {
  263. console.log('取消报名返回', res);
  264. this.btnEnroll()
  265. this.getUsers()
  266. // 弹窗关闭
  267. this.showPopup = false
  268. uni.showToast({
  269. title: '已取消报名',
  270. icon: 'none',
  271. })
  272. })
  273. },
  274. // 确认报名操作
  275. conf() {
  276. this.showPopup = false
  277. let data = {
  278. oid: this.$store.state.user.openid, //用户id
  279. acid: this.acId,
  280. ty: 2,
  281. }
  282. this.$request('/insertSignup', "POST", data).then(res => {
  283. console.log('报名返回', res);
  284. // 添加消息页面系统通知提示报名成功
  285. this.addMessage()
  286. this.showPopupConfirm = true
  287. this.btnEnroll()
  288. this.getUsers()
  289. setTimeout(() => {
  290. this.showPopupConfirm = false
  291. // this.getData()
  292. }, 1500)
  293. // 弹窗关闭
  294. // uni.reLaunch({
  295. // url: '/pages/Sign/Sign',
  296. // })
  297. })
  298. // this.showPopup = false;
  299. // this.showPopupConfirm = true
  300. // 做最后判断防止同一时间进入报名页面都报名成功
  301. // this.$request('/selectIntercept', "POST", {
  302. // oid: this.$store.state.user.openid,
  303. // acid: this.acId
  304. // }).then(res => {
  305. // let c = res[0][0]
  306. // console.log('报名人数', res[0][0]);
  307. // console.log(c.bnum >= c.pers * 1);
  308. // if (c.bnum >= c.pers * 1) {
  309. // return uni.showToast({
  310. // title: '已有人先您一步报名,名额已满',
  311. // icon: "none"
  312. // })
  313. // } else {
  314. // let data = {
  315. // oid: this.$store.state.user.openid, //用户id
  316. // acid: this.acId,
  317. // ty: 2,
  318. // }
  319. // this.$request('/insertSignup', "POST", data).then(res => {
  320. // console.log('报名返回', res);
  321. // // 添加消息页面系统通知提示报名成功
  322. // this.addMessage()
  323. // // 弹窗关闭
  324. // this.showPopup = false
  325. // uni.reLaunch({
  326. // url: '/pages/Sign/Sign',
  327. // })
  328. // })
  329. // }
  330. // })
  331. },
  332. // 添加消息页面系统通知提示报名成功
  333. addMessage() {
  334. let data = {
  335. oid: this.$store.state.user.openid,
  336. acid: this.acId,
  337. type: 0,
  338. }
  339. this.$request('/insertMessage', "POST", data).then(res => {
  340. console.log('添加消息页面系统通知提示报名成功', res);
  341. })
  342. },
  343. // 查看更多报名同学
  344. gotoMorePer() {
  345. uni.navigateTo({
  346. url: `/pages/dy/dy?acId=${this.acId}`
  347. })
  348. },
  349. //获取是否报名
  350. btnEnroll() {
  351. let data = {
  352. oid: this.$store.state.user.openid, //用户id
  353. aid: this.acId,
  354. type: 2
  355. }
  356. this.$request('/selectSignup', 'POST', data).then(res => {
  357. // console.log('获取报名', res[0][0]);
  358. this.isSign = res[0][0].num
  359. })
  360. },
  361. // 收藏事件
  362. coll() {
  363. // this.stopTimer=0
  364. if (this.stopTimer) return uni.showToast({
  365. icon: 'none',
  366. title: '点击过快'
  367. })
  368. this.stopTimer = 1
  369. setTimeout(() => {
  370. this.stopTimer = 0
  371. }, 500)
  372. //判断是否收藏
  373. let iscoll = null
  374. // 查询是否收藏过
  375. let data = {
  376. acid: this.acId,
  377. oid: this.$store.state.user.openid, //用户id
  378. ty: 0
  379. }
  380. this.$request('/selectOneOperator', 'POST', data).then(res => {
  381. // console.log('查询是否收藏过',res);
  382. res[0].length ? iscoll = true : iscoll = false;
  383. // iscoll为true表示已经收藏过,执行删除 为true则收藏
  384. if (iscoll) {
  385. this.$store.dispatch('asyncUpdatemsg', {
  386. collAoff: 0
  387. })
  388. console.log('执行删除');
  389. this.$request('/deleteOperator', 'POST', data).then(res => {
  390. // console.log(res);
  391. this.getColl()
  392. setTimeout(() => {
  393. this.$store.dispatch('asyncDelMsg')
  394. }, 1500)
  395. })
  396. } else {
  397. this.$store.dispatch('asyncUpdatemsg', {
  398. collAoff: 1
  399. })
  400. console.log('执行添加');
  401. this.$request('/insertOperator', 'POST', data).then(res => {
  402. // console.log(res);
  403. this.getColl()
  404. setTimeout(() => {
  405. this.$store.dispatch('asyncDelMsg')
  406. }, 1500)
  407. })
  408. }
  409. })
  410. },
  411. //获取是否收藏
  412. getColl() {
  413. let data = {
  414. oid: this.$store.state.user.openid, //用户id
  415. type: 0
  416. }
  417. this.$request('/selectOperator', 'POST', data).then(res => {
  418. // console.log('获取收藏', res);
  419. // 每次调用前清零,防止push叠加错误
  420. this.collArr = []
  421. // 将acid遍历到collArr中
  422. res[0].forEach(i => {
  423. this.collArr.push(i.acId)
  424. })
  425. })
  426. },
  427. // 获取报名用户
  428. getUsers() {
  429. let data = {
  430. oid: this.$store.state.user.openid, //用户id
  431. aid: this.acId,
  432. type: 2,
  433. page: 1, //下拉获取更多的备用字段
  434. lim: 6 //一次获取多少数据
  435. }
  436. this.$request('/selectApplyUser', 'POST', data).then(res => {
  437. console.log('获取报名用户列表', res[0]);
  438. this.stuNum = res[0].length
  439. this.applyUserlist = []
  440. let arr=res[0]
  441. arr=arr.slice(0,6)
  442. arr.forEach(e => {
  443. this.applyUserlist.push(e.avatar)
  444. })
  445. // this.applyUserlist = res[0]
  446. })
  447. }
  448. },
  449. onLoad(e) {
  450. // this.stopTimer=0
  451. // console.log('接收参数',e);
  452. this.acId = e.acId
  453. this.oid = this.$store.state.user.openid
  454. // 获取是否报名
  455. this.btnEnroll()
  456. // WebviewObject plus.webview.create( url, id, styles, extras );
  457. // this.getActivity()
  458. // 获取页面数据
  459. this.getdata()
  460. // 获取是否收藏
  461. this.getColl()
  462. // 获取是否订阅
  463. // this.getSub()
  464. // 获取报名人名单
  465. this.getUsers()
  466. }
  467. }
  468. </script>
  469. <style lang="scss">
  470. .activityDetailNew {
  471. background-color: #fff;
  472. .popup-container2 {
  473. position: fixed;
  474. top: 50%;
  475. left: 50%;
  476. transform: translate(-50%, -50%);
  477. width: 520rpx;
  478. height: 260rpx;
  479. z-index: 1000;
  480. border-radius: 16rpx;
  481. // display: none;
  482. box-shadow: 0rpx 3rpx 10rpx 5rpx rgba(0, 0, 0, .1);
  483. overflow: hidden;
  484. .popup {
  485. width: 100%;
  486. height: 100%;
  487. display: flex;
  488. flex-direction: column;
  489. background-color: #fff;
  490. border-radius: 16rpx;
  491. overflow: hidden;
  492. .header {
  493. flex: 1;
  494. display: flex;
  495. justify-content: center;
  496. align-items: center;
  497. flex-direction: column;
  498. margin-top: 24px;
  499. font-size: 34rpx;
  500. font-weight: 600;
  501. .imgShade {
  502. width: 170rpx;
  503. height: 170rpx;
  504. display: flex;
  505. justify-content: center;
  506. align-items: center;
  507. border: 10rpx #0056A8 solid;
  508. border-radius: 50%;
  509. box-shadow: 0 0 10rpx #0056A8;
  510. margin-bottom: 10rpx;
  511. }
  512. image {
  513. width: 150rpx;
  514. height: 150rpx;
  515. margin-top: 15px;
  516. margin-bottom: 15px;
  517. }
  518. }
  519. .footer {
  520. width: 100%;
  521. display: flex;
  522. overflow: hidden;
  523. .cancel-btn {
  524. width: 50%;
  525. height: 100rpx;
  526. background-color: #F7F7F7;
  527. color: #000;
  528. font-size: 34rpx;
  529. text-align: center;
  530. border-bottom-left-radius: 16rpx;
  531. line-height: 50px;
  532. }
  533. .confirm-btn {
  534. width: 50%;
  535. height: 100rpx;
  536. background-color: #0081FE;
  537. color: #fff;
  538. font-size: 34rpx;
  539. text-align: center;
  540. line-height: 50px;
  541. }
  542. }
  543. }
  544. }
  545. .top {
  546. width: 750rpx;
  547. position: relative;
  548. .img1 {
  549. display: block;
  550. margin: auto;
  551. width: 750rpx;
  552. }
  553. .img2 {
  554. position: absolute;
  555. width: 100%;
  556. left: 0;
  557. bottom: 0;
  558. }
  559. }
  560. .decontent {
  561. width: 750rpx;
  562. border-top-right-radius: 30rpx;
  563. border-top-left-radius: 30rpx;
  564. background-color: #fff;
  565. padding: 32rpx;
  566. display: flex;
  567. flex-direction: column;
  568. justify-content: flex-start;
  569. border-bottom: 1rpx rgba(231, 231, 231, 1) solid;
  570. .actit {
  571. font-weight: 600;
  572. font-size: 40rpx;
  573. color: rgba(0, 0, 0, 0.8);
  574. line-height: 56rpx;
  575. display: -webkit-box;
  576. word-break: break-all;
  577. text-overflow: ellipsis;
  578. overflow: hidden;
  579. -webkit-box-orient: vertical;
  580. -webkit-line-clamp: 2;
  581. }
  582. .footer {
  583. display: flex;
  584. justify-content: space-between;
  585. color: rgba(0, 0, 0, 0.4);
  586. font-size: 24rpx;
  587. // height: 32rpx;
  588. // line-height: 32rpx;
  589. font-weight: 400;
  590. padding: 20rpx 0;
  591. padding-bottom: 0;
  592. }
  593. .avaList {
  594. display: flex;
  595. justify-content: space-between;
  596. width: 100%;
  597. align-items: center;
  598. padding: 30rpx 0;
  599. border-bottom: 1rpx rgba(231, 231, 231, 1) solid;
  600. margin-bottom: 20rpx;
  601. .ava {
  602. // width: 353rpx;
  603. display: flex;
  604. align-items: center;
  605. }
  606. .cost {
  607. flex: 1;
  608. text-align: right;
  609. font-weight: 700;
  610. font-size: 40rpx;
  611. color: rgba(246, 135, 23, 1);
  612. }
  613. }
  614. .acinfo {
  615. width: 100%;
  616. display: flex;
  617. flex-direction: column;
  618. justify-content: space-between;
  619. font-size: 28rpx;
  620. font-weight: 400;
  621. color: rgba(0, 0, 0, 0.6);
  622. border-bottom: 1rpx rgba(231, 231, 231, 1) solid;
  623. // padding-bottom: 30rpx;
  624. .acinfoAddress {
  625. // padding: 20rpx 0;
  626. display: flex;
  627. padding-bottom: 20rpx;
  628. .acinfoTit {
  629. width: 150rpx;
  630. display: flex;
  631. justify-content: space-between;
  632. // text-align: justify;
  633. .justified-text {
  634. text-align: justify;
  635. text-justify: inter-word;
  636. /* 兼容性写法,用于处理中英文混排时的对齐效果 */
  637. }
  638. }
  639. }
  640. .inf {
  641. color: rgba(0, 0, 0, 0.8);
  642. }
  643. }
  644. .acbrief {
  645. width: 100%;
  646. .britit {
  647. width: 100%;
  648. height: 48rpx;
  649. font-weight: 600;
  650. line-height: 48rpx;
  651. font-size: 32rpx;
  652. color: rgba(0, 0, 0, 0.8);
  653. margin: 30rpx 0;
  654. }
  655. .bricon {
  656. font-weight: 400;
  657. font-size: 28rpx;
  658. line-height: 44rpx;
  659. color: (0, 0, 0, 0.8);
  660. margin-bottom: 30rpx;
  661. }
  662. .briImg {
  663. width: 100%;
  664. }
  665. }
  666. }
  667. .btnBlock {
  668. position: fixed;
  669. bottom: 0;
  670. left: 0;
  671. width: 750rpx;
  672. height: 175rpx;
  673. background-color: #fff;
  674. display: flex;
  675. justify-content: flex-start;
  676. align-items: center;
  677. padding: 30rpx 30rpx;
  678. padding-bottom: 40rpx;
  679. border-top: 1rpx rgba(231, 231, 231, 1) solid;
  680. // padding-bottom: 78rpx;
  681. .icos {
  682. width: 200rpx;
  683. height: 96rpx;
  684. flex-shrink: 0;
  685. margin-right: 30rpx;
  686. display: flex;
  687. justify-content: space-between;
  688. .ico {
  689. width: 100rpx;
  690. display: flex;
  691. flex-direction: column;
  692. justify-content: space-between;
  693. align-items: center;
  694. .imgBlock {
  695. width: 48rpx;
  696. height: 48rpx;
  697. display: flex;
  698. align-items: center;
  699. justify-content: center;
  700. .icoimg {
  701. width: 42rpx;
  702. height: 40rpx;
  703. }
  704. }
  705. .icotxt {
  706. font-size: 24rpx;
  707. height: 40rpx;
  708. line-height: 40rpx;
  709. color: rgba(4, 0, 0, 1);
  710. }
  711. }
  712. }
  713. .rightBtn {
  714. flex: 1;
  715. display: flex;
  716. justify-content: center;
  717. align-items: center;
  718. .btnt {
  719. width: 454rpx;
  720. color: #fff;
  721. // font-weight: 600;
  722. height: 96rpx;
  723. background-color: rgba(0, 86, 168, 1);
  724. display: flex;
  725. justify-content: center;
  726. align-items: center;
  727. border-radius: 10rpx;
  728. }
  729. .btnt1 {
  730. width: 454rpx;
  731. color: #fff;
  732. // font-weight: 600;
  733. height: 96rpx;
  734. background-color: rgba(139, 190, 255, 1);
  735. display: flex;
  736. justify-content: center;
  737. align-items: center;
  738. border-radius: 10rpx;
  739. }
  740. }
  741. }
  742. }
  743. </style>