activityDetailNew.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864
  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" @click="handleCoverClick">
  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. handleCoverClick(event) {
  212. // 处理点击事件
  213. console.log('rich-text clicked', event);
  214. },
  215. //跳转到第三方链接
  216. gotoLink(e) {
  217. let link = e.currentTarget.dataset.link;
  218. uni.navigateTo({
  219. url: "/pages/skipone/skipone?url=" + encodeURIComponent(link),
  220. });
  221. },
  222. // 获取页面数据
  223. getdata() {
  224. this.uLoading = true
  225. let data = {
  226. oid: this.$store.state.user.openid,
  227. acId: this.acId,
  228. }
  229. this.$request('/selectActivityID', "POST", data).then(res => {
  230. // console.log('页面数据', res[0][0]);
  231. this.uLoading = false
  232. this.actItemList = res[0][0]
  233. this.actItemList.brief = this.actItemList.brief.replace(/<img/gi,
  234. '<img :show-menu-by-longpress="true" style="max-width:100%;height:auto;margin:0 auto;display:block"'
  235. )
  236. })
  237. },
  238. // 申请加入弹窗
  239. applyAdd() {
  240. const value = this.$store.state.user.openid;
  241. if (!value) {
  242. uni.showToast({
  243. title: '未登录,请登录',
  244. icon: 'none'
  245. })
  246. setTimeout(() => {
  247. this.goLog()
  248. }, 1000)
  249. return
  250. }
  251. // console.log('报名');
  252. this.isAdd = 0
  253. this.showPopup = true
  254. },
  255. //显示取消报名弹窗
  256. cancelAdd() {
  257. this.isAdd = 1
  258. this.showPopup = true
  259. },
  260. // 确认取消报名操作
  261. canc() {
  262. let data = {
  263. oid: this.$store.state.user.openid, //用户id
  264. acid: this.acId,
  265. }
  266. this.$request('/deleteApply', "POST", data).then(res => {
  267. console.log('取消报名返回', res);
  268. this.btnEnroll()
  269. this.getUsers()
  270. // 弹窗关闭
  271. this.showPopup = false
  272. uni.showToast({
  273. title: '已取消报名',
  274. icon: 'none',
  275. })
  276. })
  277. },
  278. // 确认报名操作
  279. conf() {
  280. this.showPopup = false
  281. let data = {
  282. oid: this.$store.state.user.openid, //用户id
  283. acid: this.acId,
  284. ty: 2,
  285. }
  286. this.$request('/insertSignup', "POST", data).then(res => {
  287. console.log('报名返回', res);
  288. // 添加消息页面系统通知提示报名成功
  289. this.addMessage()
  290. this.showPopupConfirm = true
  291. this.btnEnroll()
  292. this.getUsers()
  293. setTimeout(() => {
  294. this.showPopupConfirm = false
  295. // this.getData()
  296. }, 1500)
  297. // 弹窗关闭
  298. // uni.reLaunch({
  299. // url: '/pages/Sign/Sign',
  300. // })
  301. })
  302. // this.showPopup = false;
  303. // this.showPopupConfirm = true
  304. // 做最后判断防止同一时间进入报名页面都报名成功
  305. // this.$request('/selectIntercept', "POST", {
  306. // oid: this.$store.state.user.openid,
  307. // acid: this.acId
  308. // }).then(res => {
  309. // let c = res[0][0]
  310. // console.log('报名人数', res[0][0]);
  311. // console.log(c.bnum >= c.pers * 1);
  312. // if (c.bnum >= c.pers * 1) {
  313. // return uni.showToast({
  314. // title: '已有人先您一步报名,名额已满',
  315. // icon: "none"
  316. // })
  317. // } else {
  318. // let data = {
  319. // oid: this.$store.state.user.openid, //用户id
  320. // acid: this.acId,
  321. // ty: 2,
  322. // }
  323. // this.$request('/insertSignup', "POST", data).then(res => {
  324. // console.log('报名返回', res);
  325. // // 添加消息页面系统通知提示报名成功
  326. // this.addMessage()
  327. // // 弹窗关闭
  328. // this.showPopup = false
  329. // uni.reLaunch({
  330. // url: '/pages/Sign/Sign',
  331. // })
  332. // })
  333. // }
  334. // })
  335. },
  336. // 添加消息页面系统通知提示报名成功
  337. addMessage() {
  338. let data = {
  339. oid: this.$store.state.user.openid,
  340. acid: this.acId,
  341. type: 0,
  342. }
  343. this.$request('/insertMessage', "POST", data).then(res => {
  344. console.log('添加消息页面系统通知提示报名成功', res);
  345. })
  346. },
  347. // 查看更多报名同学
  348. gotoMorePer() {
  349. uni.navigateTo({
  350. url: `/pages/dy/dy?acId=${this.acId}`
  351. })
  352. },
  353. goLog() {
  354. uni.navigateTo({
  355. url: "/pages/login_Wechat/login_Wechat",
  356. });
  357. },
  358. //获取是否报名
  359. btnEnroll() {
  360. let data = {
  361. oid: this.$store.state.user.openid, //用户id
  362. aid: this.acId,
  363. type: 2
  364. }
  365. this.$request('/selectSignup', 'POST', data).then(res => {
  366. // console.log('获取报名', res[0][0]);
  367. this.isSign = res[0][0].num
  368. })
  369. },
  370. // 收藏事件
  371. coll() {
  372. const value = this.$store.state.user.openid;
  373. if (!value) {
  374. uni.showToast({
  375. title: '未登录,请登录',
  376. icon: 'none'
  377. })
  378. setTimeout(() => {
  379. this.goLog()
  380. }, 1000)
  381. return
  382. }
  383. // this.stopTimer=0
  384. if (this.stopTimer) return uni.showToast({
  385. icon: 'none',
  386. title: '点击过快'
  387. })
  388. this.stopTimer = 1
  389. setTimeout(() => {
  390. this.stopTimer = 0
  391. }, 500)
  392. //判断是否收藏
  393. let iscoll = null
  394. // 查询是否收藏过
  395. let data = {
  396. acid: this.acId,
  397. oid: this.$store.state.user.openid, //用户id
  398. ty: 0
  399. }
  400. this.$request('/selectOneOperator', 'POST', data).then(res => {
  401. // console.log('查询是否收藏过',res);
  402. res[0].length ? iscoll = true : iscoll = false;
  403. // iscoll为true表示已经收藏过,执行删除 为true则收藏
  404. if (iscoll) {
  405. this.$store.dispatch('asyncUpdatemsg', {
  406. collAoff: 0
  407. })
  408. console.log('执行删除');
  409. this.$request('/deleteOperator', 'POST', data).then(res => {
  410. // console.log(res);
  411. this.getColl()
  412. setTimeout(() => {
  413. this.$store.dispatch('asyncDelMsg')
  414. }, 1500)
  415. })
  416. } else {
  417. this.$store.dispatch('asyncUpdatemsg', {
  418. collAoff: 1
  419. })
  420. console.log('执行添加');
  421. this.$request('/insertOperator', 'POST', data).then(res => {
  422. // console.log(res);
  423. this.getColl()
  424. setTimeout(() => {
  425. this.$store.dispatch('asyncDelMsg')
  426. }, 1500)
  427. })
  428. }
  429. })
  430. },
  431. //获取是否收藏
  432. getColl() {
  433. let data = {
  434. oid: this.$store.state.user.openid, //用户id
  435. type: 0
  436. }
  437. this.$request('/selectOperator', 'POST', data).then(res => {
  438. // console.log('获取收藏', res);
  439. // 每次调用前清零,防止push叠加错误
  440. this.collArr = []
  441. // 将acid遍历到collArr中
  442. res[0].forEach(i => {
  443. this.collArr.push(i.acId)
  444. })
  445. })
  446. },
  447. // 获取报名用户
  448. getUsers() {
  449. let data = {
  450. oid: this.$store.state.user.openid, //用户id
  451. aid: this.acId,
  452. type: 2,
  453. page: 1, //下拉获取更多的备用字段
  454. lim: 6 //一次获取多少数据
  455. }
  456. this.$request('/selectApplyUser', 'POST', data).then(res => {
  457. // console.log('获取报名用户列表', res[0]);
  458. this.stuNum = res[0].length
  459. this.applyUserlist = []
  460. let arr = res[0]
  461. arr = arr.slice(0, 6)
  462. arr.forEach(e => {
  463. this.applyUserlist.push(e.avatar)
  464. })
  465. // this.applyUserlist = res[0]
  466. })
  467. }
  468. },
  469. onLoad(e) {
  470. // this.stopTimer=0
  471. // console.log('接收参数',e);
  472. this.acId = e.acId
  473. this.oid = this.$store.state.user.openid
  474. // 获取是否报名
  475. this.btnEnroll()
  476. // this.getActivity()
  477. // 获取页面数据
  478. this.getdata()
  479. // 获取是否收藏
  480. this.getColl()
  481. // 获取是否订阅
  482. // this.getSub()
  483. // 获取报名人名单
  484. this.getUsers()
  485. let curRoute = this.$mp.page.route //获取当前页面的路由信息
  486. let routes = getCurrentPages(); // 获取当前打开过的页面路由数组
  487. console.log('routes', routes);
  488. if (routes.length == 1) {
  489. this.navbar.btn = 2
  490. } else {
  491. this.navbar.btn = 1
  492. }
  493. }
  494. }
  495. </script>
  496. <style lang="scss">
  497. .activityDetailNew {
  498. background-color: #fff;
  499. .popup-container2 {
  500. position: fixed;
  501. top: 50%;
  502. left: 50%;
  503. transform: translate(-50%, -50%);
  504. width: 520rpx;
  505. height: 260rpx;
  506. z-index: 1000;
  507. border-radius: 16rpx;
  508. // display: none;
  509. box-shadow: 0rpx 3rpx 10rpx 5rpx rgba(0, 0, 0, .1);
  510. overflow: hidden;
  511. .popup {
  512. width: 100%;
  513. height: 100%;
  514. display: flex;
  515. flex-direction: column;
  516. background-color: #fff;
  517. border-radius: 16rpx;
  518. overflow: hidden;
  519. .header {
  520. flex: 1;
  521. display: flex;
  522. justify-content: center;
  523. align-items: center;
  524. flex-direction: column;
  525. margin-top: 24px;
  526. font-size: 34rpx;
  527. font-weight: 600;
  528. .imgShade {
  529. width: 170rpx;
  530. height: 170rpx;
  531. display: flex;
  532. justify-content: center;
  533. align-items: center;
  534. border: 10rpx #0056A8 solid;
  535. border-radius: 50%;
  536. box-shadow: 0 0 10rpx #0056A8;
  537. margin-bottom: 10rpx;
  538. }
  539. image {
  540. width: 150rpx;
  541. height: 150rpx;
  542. margin-top: 15px;
  543. margin-bottom: 15px;
  544. }
  545. }
  546. .footer {
  547. width: 100%;
  548. display: flex;
  549. overflow: hidden;
  550. .cancel-btn {
  551. width: 50%;
  552. height: 100rpx;
  553. background-color: #F7F7F7;
  554. color: #000;
  555. font-size: 34rpx;
  556. text-align: center;
  557. border-bottom-left-radius: 16rpx;
  558. line-height: 50px;
  559. }
  560. .confirm-btn {
  561. width: 50%;
  562. height: 100rpx;
  563. background-color: #0081FE;
  564. color: #fff;
  565. font-size: 34rpx;
  566. text-align: center;
  567. line-height: 50px;
  568. }
  569. }
  570. }
  571. }
  572. .top {
  573. width: 750rpx;
  574. position: relative;
  575. .img1 {
  576. display: block;
  577. margin: auto;
  578. width: 750rpx;
  579. }
  580. .img2 {
  581. position: absolute;
  582. width: 100%;
  583. left: 0;
  584. bottom: 0;
  585. }
  586. }
  587. .decontent {
  588. width: 750rpx;
  589. border-top-right-radius: 30rpx;
  590. border-top-left-radius: 30rpx;
  591. background-color: #fff;
  592. padding: 32rpx;
  593. display: flex;
  594. flex-direction: column;
  595. justify-content: flex-start;
  596. border-bottom: 1rpx rgba(231, 231, 231, 1) solid;
  597. .actit {
  598. font-weight: 600;
  599. font-size: 40rpx;
  600. color: rgba(0, 0, 0, 0.8);
  601. line-height: 56rpx;
  602. display: -webkit-box;
  603. word-break: break-all;
  604. text-overflow: ellipsis;
  605. overflow: hidden;
  606. -webkit-box-orient: vertical;
  607. -webkit-line-clamp: 2;
  608. }
  609. .footer {
  610. display: flex;
  611. justify-content: space-between;
  612. color: rgba(0, 0, 0, 0.4);
  613. font-size: 24rpx;
  614. // height: 32rpx;
  615. // line-height: 32rpx;
  616. font-weight: 400;
  617. padding: 20rpx 0;
  618. padding-bottom: 0;
  619. }
  620. .avaList {
  621. display: flex;
  622. justify-content: space-between;
  623. width: 100%;
  624. align-items: center;
  625. padding: 30rpx 0;
  626. border-bottom: 1rpx rgba(231, 231, 231, 1) solid;
  627. margin-bottom: 20rpx;
  628. .ava {
  629. // width: 353rpx;
  630. display: flex;
  631. align-items: center;
  632. }
  633. .cost {
  634. flex: 1;
  635. text-align: right;
  636. font-weight: 700;
  637. font-size: 40rpx;
  638. color: rgba(246, 135, 23, 1);
  639. }
  640. }
  641. .acinfo {
  642. width: 100%;
  643. display: flex;
  644. flex-direction: column;
  645. justify-content: space-between;
  646. font-size: 28rpx;
  647. font-weight: 400;
  648. color: rgba(0, 0, 0, 0.6);
  649. border-bottom: 1rpx rgba(231, 231, 231, 1) solid;
  650. // padding-bottom: 30rpx;
  651. .acinfoAddress {
  652. // padding: 20rpx 0;
  653. display: flex;
  654. padding-bottom: 20rpx;
  655. .acinfoTit {
  656. width: 150rpx;
  657. display: flex;
  658. justify-content: space-between;
  659. // text-align: justify;
  660. .justified-text {
  661. text-align: justify;
  662. text-justify: inter-word;
  663. /* 兼容性写法,用于处理中英文混排时的对齐效果 */
  664. }
  665. }
  666. }
  667. .inf {
  668. color: rgba(0, 0, 0, 0.8);
  669. }
  670. }
  671. .acbrief {
  672. width: 100%;
  673. .britit {
  674. width: 100%;
  675. height: 48rpx;
  676. font-weight: 600;
  677. line-height: 48rpx;
  678. font-size: 32rpx;
  679. color: rgba(0, 0, 0, 0.8);
  680. margin: 30rpx 0;
  681. }
  682. .bricon {
  683. font-weight: 400;
  684. font-size: 28rpx;
  685. line-height: 44rpx;
  686. color: (0, 0, 0, 0.8);
  687. margin-bottom: 30rpx;
  688. }
  689. .briImg {
  690. width: 100%;
  691. }
  692. }
  693. }
  694. .btnBlock {
  695. position: fixed;
  696. bottom: 0;
  697. left: 0;
  698. width: 750rpx;
  699. height: 175rpx;
  700. background-color: #fff;
  701. display: flex;
  702. justify-content: flex-start;
  703. align-items: center;
  704. padding: 30rpx 30rpx;
  705. padding-bottom: 40rpx;
  706. border-top: 1rpx rgba(231, 231, 231, 1) solid;
  707. // padding-bottom: 78rpx;
  708. .icos {
  709. width: 200rpx;
  710. height: 96rpx;
  711. flex-shrink: 0;
  712. margin-right: 30rpx;
  713. display: flex;
  714. justify-content: space-between;
  715. .ico {
  716. width: 100rpx;
  717. display: flex;
  718. flex-direction: column;
  719. justify-content: space-between;
  720. align-items: center;
  721. .imgBlock {
  722. width: 48rpx;
  723. height: 48rpx;
  724. display: flex;
  725. align-items: center;
  726. justify-content: center;
  727. .icoimg {
  728. width: 42rpx;
  729. height: 40rpx;
  730. }
  731. }
  732. .icotxt {
  733. font-size: 24rpx;
  734. height: 40rpx;
  735. line-height: 40rpx;
  736. color: rgba(4, 0, 0, 1);
  737. }
  738. }
  739. }
  740. .rightBtn {
  741. flex: 1;
  742. display: flex;
  743. justify-content: center;
  744. align-items: center;
  745. .btnt {
  746. width: 454rpx;
  747. color: #fff;
  748. // font-weight: 600;
  749. height: 96rpx;
  750. background-color: rgba(0, 86, 168, 1);
  751. display: flex;
  752. justify-content: center;
  753. align-items: center;
  754. border-radius: 10rpx;
  755. }
  756. .btnt1 {
  757. width: 454rpx;
  758. color: #fff;
  759. // font-weight: 600;
  760. height: 96rpx;
  761. background-color: rgba(139, 190, 255, 1);
  762. display: flex;
  763. justify-content: center;
  764. align-items: center;
  765. border-radius: 10rpx;
  766. }
  767. }
  768. }
  769. }
  770. </style>