activityDetailNew.vue 19 KB

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