activityDetailNew.vue 20 KB

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