activityDetailNew.vue 20 KB

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