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