activityDetailNew.vue 19 KB

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